HNHacker News
TopNewBestAskShowJobs

throwthrow5643

16 karma · joined September 25, 2023

submissionscomments
throwthrow5643··on Why Haskell?
>Haskell doesn't prevent endless recursion. (try e.g. `main = main`)

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

throwthrow5643··on Saving months of compute time with a single Grafana query
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.
throwthrow5643··on Opening Windows in Linux with sockets, bare hands and 200 lines of C
Can you do the same but in Wayland next?
throwthrow5643··on Show HN: Functional UI Kit – twin Figma and React component libraries
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?
throwthrow5643··on Things You Should Never Do, Part I (2000)
> 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.

throwthrow5643··on Things You Should Never Do, Part I (2000)
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.

throwthrow5643··on Show HN: Functional UI Kit – twin Figma and React component libraries
I'm getting file not found on the figma designs in the story book, here for example: https://functional-ui.github.io/functional-ui-kit/?path=/sto...
throwthrow5643··on Union, intersection, difference, and more are coming to JavaScript Sets
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.
throwthrow5643··on Mark Zuckerberg’s new goal is creating artificial general intelligence
Hopefully he does better at this than Chinese.
throwthrow5643··on Flexport will lay off 20% of the company starting Friday, leaked memo says
They don't need to talk past the laid off people to the stock market. The stock market loves layoffs.
throwthrow5643··on The deep link equating math proofs and computer programs
How to formally verify a single page web application?
throwthrow5643··on Rails 7.1 Released
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.
throwthrow5643··on Rails 7.1 Released
Python is slower than ruby.
throwthrow5643··on Rails 7.1 Released
I'd like to see coffeescript make a comeback.
throwthrow5643··on Rails 7.1 Released
I'd like to use haml on the front end rather than ugly ternary ridden JSX. I always thought haml was very tasteful.
throwthrow5643··on Rails 7.1 Released
> It's that serializers in Rails are the most prominent place where you'll have cpu-bound performance made visible.

Sorry, what other interpreted language has significantly better serializiation/deserialization performance than Ruby?

throwthrow5643··on Rails 7.1 Released
I remember looking at BSON de/serializers for some perceived performance issue a while back, ruby was only marginally slower than PHP for the same task, which was just pulling big record sets back from the db. Can you elaborate?
throwthrow5643··on I'm Loud Quitting My Job Due to RTO Policy, Bad Company Culture
I find now even in the office, people are so busy switching between being glued to their Slack or or video chat, then switching back to work, that it is harder to walk up to people and interrupt them casually. So I don't feel the quick bounce of an idea off someone is as smooth as it used to be, in my case, where my workplace has one thousand slack channels going all day. Also we don't have telephones, which I believe makes communication harder.
throwthrow5643··on 25% of the 13 minute journey from Whitechapel to Paddington is spent not moving
Are they a separate union to the platform staff?
throwthrow5643··on 25% of the 13 minute journey from Whitechapel to Paddington is spent not moving
New to London. London transport is good when it works. One thing I don't get, compared to my home country, is why when the train employees strike, they cancel services? Back home they just refuse to collect fares, and open the turnstyles. That way the unions don't offside the public.
throwthrow5643··on 25% of the 13 minute journey from Whitechapel to Paddington is spent not moving
Did you want to trade the British work environment and culture for its Japanese counterpart too?