throwthrow5643
Re:Why Haskell?
on Friday September 13, 2024 @04:51AM (#41529319)
>Haskell doesn't prevent endless recursion. (try e.g. `main = main`)
Do you mean to say Haskell hasn't solved the halting problem yet?
Re:We saved $5k a month with a single Grafana query
on Friday July 12, 2024 @08:36AM (#40944961)
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.
Re:Opening Windows in Linux with sockets, bare hands and 200 lines of C
on Thursday May 09, 2024 @04:09AM (#40306246)
Can you do the same but in Wayland next?
Re:Show HN: Functional UI Kit – twin Figma and React component libraries
on Friday March 01, 2024 @10:07AM (#39562444)
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?
Re:Things You Should Never Do, Part I (2000)
on Friday March 01, 2024 @04:23AM (#39560115)
> 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.
Re:Things You Should Never Do, Part I (2000)
on Friday March 01, 2024 @04:00AM (#39559994)
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.
Re:Show HN: Functional UI Kit – twin Figma and React component libraries
on Monday February 26, 2024 @04:00AM (#39509037)
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...
Re:Union, intersection, difference, and more are coming to JavaScript ...
on Monday February 19, 2024 @12:25PM (#39432283)
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.
Re:Mark Zuckerberg’s new goal is creating artificial general intelligence
on Friday January 19, 2024 @04:15AM (#39053340)
Hopefully he does better at this than Chinese.
Re:Flexport will lay off 20% of the company starting Friday, leaked me...
on Friday October 13, 2023 @04:34AM (#37868243)
They don't need to talk past the laid off people to the stock market. The stock market loves layoffs.
Re:The Deep Link Equating Math Proofs and Computer Programs
on Thursday October 12, 2023 @08:16AM (#37856144)
How to formally verify a single page web application?
Re:Rails 7.1 Released
on Friday October 06, 2023 @11:10AM (#37791832)
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.
Re:Rails 7.1 Released
on Friday October 06, 2023 @06:22AM (#37788920)
Python is slower than ruby.
Re:Rails 7.1 Released
on Friday October 06, 2023 @06:18AM (#37788902)
I'd like to see coffeescript make a comeback.
Re:Rails 7.1 Released
on Friday October 06, 2023 @06:14AM (#37788884)
I'd like to use haml on the front end rather than ugly ternary ridden JSX. I always thought haml was very tasteful.
Re:Rails 7.1 Released
on Friday October 06, 2023 @06:06AM (#37788856)
> 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?
Re:Rails 7.1 Released
on Friday October 06, 2023 @03:59AM (#37788221)
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?
Re:I'm Loud Quitting My Job Due to RTO Policy, Bad Company Culture
on Wednesday October 04, 2023 @05:22AM (#37762782)
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.
Re:25% of the 13 minute journey from Whitechapel to Paddington is spen...
on Monday September 25, 2023 @08:52AM (#37642933)
Are they a separate union to the platform staff?
Re:25% of the 13 minute journey from Whitechapel to Paddington is spen...
on Monday September 25, 2023 @04:33AM (#37640923)
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.
Re:25% of the 13 minute journey from Whitechapel to Paddington is spen...
on Monday September 25, 2023 @04:30AM (#37640913)
Did you want to trade the British work environment and culture for its Japanese counterpart too?