Recent submissions

Comment · 2 years ago
>Haskell doesn't prevent endless recursion. (try e.g. `main = main`)

Do you mean to say Haskell hasn't solved the halting problem yet?

Comment · 2 years ago
The 'one weird trick' could've been spotted in a graphical bundle analyser. But are they not caching npm packages somewhere, seems like an awful waste downloading from the npm registry over and over? I would think it would be parsing four different versions of the AWS sdk that was so slow.
Comment · 2 years ago
Can you do the same but in Wayland next?
Comment · 2 years ago
No worries, it's still broken by the way, I have an enterprise SAML log in for figma, not sure if that helps. I did want to demo this to my company, but maybe you are not ready for prime time just yet?
Comment · 2 years ago
> The main reason why developers do rewrites is because it is easier to read your own code than it is to read somebody else's code.

Did you read the article? He says what you wrote explicitly, in fact there is an entire section on it.

Comment · 2 years ago
I think as always in software, "it depends". The author appears to be assuming there are no tests on all of these paths that we will apparently miss when we migrate the code over. If so that is a problem with testing rather than migration.

Also how messy are we talking? I've seen code at a bank where a junior contractor implemented, in reams of code, his own database locking primitives, apparently unaware that the db could handle concurrent accesses on its own.

Rewrites aren't such a big issue these days, this seems a little dated. The real issue where we get painted into a corner now is architectural, say if you went really hard down the microservices route and tried to back up out of it.

Comment · 2 years ago
Comment · 2 years ago
I would like tuples in js, first class, not the crappy [i,j] which could be the head of an array with no sensible equality definition. Pretty please.
Comment · 2 years ago
Hopefully he does better at this than Chinese.
Comment · 3 years ago
They don't need to talk past the laid off people to the stock market. The stock market loves layoffs.
Comment · 3 years ago
How to formally verify a single page web application?
Comment · 3 years ago
It was about maybe late last year/Jan this year. When you say intermediate language, do you mean PHP has a bytecode interpreter instead of AST? At the time I looked at it, to convince myself there was no issue with Ruby, I actually hooked up the same table/query to PHP and used PHP's excellent profiling tools, then compared those to the Rails profiler. There wasn't a great difference. PHP was faster sure, but there was definitely no knocking Ruby's speed.
Comment · 3 years ago
Python is slower than ruby.
Comment · 3 years ago
I'd like to see coffeescript make a comeback.
Comment · 3 years ago
I'd like to use haml on the front end rather than ugly ternary ridden JSX. I always thought haml was very tasteful.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton