News for hackers. Stuff that matters.

dvlsg

My Hyundai likes to auto slam on the brakes when cars in front of me turn off the road, even when I definitely won't hit them. It's almost caused collisions with cars behind me.
Re:RTX 5090 and M4 MacBook Air: Can It Game? on Thursday May 14, 2026 @01:59PM (#48138882)
> ruining HN with 10 articles on the front page per day about how software engineering is dead.

Even this article, which is theoretically about playing games on a MacBook and not about AI, has devolved into AI discussions. It's honestly kind of tiring.

I suppose the article invites it by putting an AI blurb up top, and I suppose I'm also not helping by adding my own comment, but _still_.

Re:The Onion to Take over InfoWars on Thursday April 23, 2026 @11:46AM (#47877183)
It's honestly kind of chilling just how effective smear campaigns can be.

I don't think there's any reasonable person who could read the full medical description of the injuries sustained and think "yeah 2.7 mill was too much".

Re:Boy I was wrong about the Fediverse on Saturday March 07, 2026 @10:05AM (#47288278)
Yeah, I also don't understand their take. HN also dictates what their users can and can't read. There's tons of stuff that can't be posted here without being removed. That's a good thing.
Re:This is not the future on Tuesday December 16, 2025 @10:57AM (#46290142)
Wood smoke can go beyond your own home and land on your neighbors, depending on where you live.
Re:Heavy metal is healing teens on the Blackfeet Nation on Sunday December 14, 2025 @11:13AM (#46264097)
There's plenty of smaller metal and hardcore bands with a DIY and community first mentality that often barely break even to travel and play shows.
Re:Surnames from nicknames nobody has any more on Monday February 10, 2025 @03:13PM (#43004626)
One of my favorite jokes relies on this.

Q: Where does a general keep his armies?

A: In his sleevies!

Re:JavaScript Structs on Friday October 11, 2024 @03:36PM (#41812804)
There's technically a proposal to add immutable lists and records floating around somewhere. I think it's kind of old at this point. I'm still hoping it makes it through, though.
FromSoft, potentially. Even if you only start counting years at Demon's Souls (2009), that still gets them to 15 years.
Yeah, it feels like the replacement is the issue, not necessarily the destruction.

I don't want to just program a song on an iPad. I would like to perform it on a piano, which means I can't crush my piano and replace it with an iPad.

Re:Ask HN: How to do simple heartbeat monitoring? on Monday May 06, 2024 @01:22PM (#40277017)
Depending on your expected traffic patterns and volume, no responses to report for an extended period of time is its own data point.
Re:Power Metal: is it really about dragons? (2018) on Sunday February 25, 2024 @12:22AM (#39497925)
Fleshgod Apocalypse has a classically trained opera singer.

I often hear the joke that Beethoven wrote the best guitar solos. Moonlight Sonata's 3rd movement on guitar is a fun listen .

Re:Deno in 2023 on Monday February 05, 2024 @03:23PM (#39266597)
> Node, as far as I know, has none.

Atomics are probably the closest. https://v8.dev/features/atomics

Re:Shouldn't FROM come before SELECT in SQL? (2011) on Thursday January 25, 2024 @01:42PM (#39133072)
Oh for sure. This is definitely one of those "inherited some weird & inconsistent legacy system" situations.

Honestly, it didn't even register as a potential issue in my mind until I had a chance to use LINQ query syntax in C#, and thought it was kind of nice to have the `from` up front. It's a minor annoyance at most, at any rate.

Re:Shouldn't FROM come before SELECT in SQL? (2011) on Thursday January 25, 2024 @12:06PM (#39131843)
I'm not sure. I think it's fairly common for something like "Now was the column name on this table description_primary or primary_description? I can't remember... Oh well, I'll just SELECT * and figure it out later" to happen. Starting with FROM would at least eliminate that backtracking.
Re:Every Programmer Should Know #1: Idempotency on Monday December 11, 2023 @01:35PM (#38603523)
Interestingly, the mathematical definition (and functional programming definition) of idempotency is slightly different. Or I've seen it used slightly differently, anyways - specifically, a function is idempotent if the result of f(x) is the same result as f(f(x)).

I've seen this lead to some confusing back and forth between software engineers, where one engineer means one definition, and the other engineer meant the other definition.

Re:Return to office is 'dead,' Stanford economist says on Friday December 01, 2023 @12:21PM (#38489338)
An interesting choice of words. "I don't have the data to back it up" seems to want to imply "we don't have the data at all". But I don't buy that Amazon, of all companies, doesn't have the data. I assume they have it, and it doesn't back what they're trying to push.
Can't speak for every case, but local concerts usually only made a bit of money when we were the ones hosting the show somewhere, inviting other bands, and selling tickets. Even then it was a bit of a gamble. More than a few lost us money.

Otherwise, if we weren't hosting, the money we were paid for playing wasn't even enough to cover band expenses (instrument maintenance, travel costs, etc). Selling merch helped. Selling LPs / EPs was usually just an attempt to make back the cost of recording them in the first place.

If the band was signed, things were different depending on their specific deal. But those bands probably don't count as just "local" anymore, at that point.

Re:Redis Insight: GUI App for Redis on Friday October 20, 2023 @02:19PM (#37959624)
It's in `brew` as well, looks like.

https://formulae.brew.sh/cask/redisinsight

Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? on Tuesday September 19, 2023 @03:00PM (#37574656)
Technically you can have noticeable differences before you even make it to 1 cent. For example, if you're trying to determine if a result of a calculation is negative, 0, or positive for whatever reason. With floats/doubles, you would probably need to consider "0" to actually be "a number sufficiently close to 0, if not 0 exactly" and then remember to handle that everywhere.

It can also be noticeable if you're just trying to calculate something like "is the invoice paid off". Maybe your view layer is showing $0.00 balance to the end user, but the backend hasn't correctly rounded off those extra bits from a floating point calculation, so your backend logic is now saying the invoice is not actually fully paid off, even if the end user has no idea what they could possibly still owe.

Re:You Don't Need UUID on Monday September 11, 2023 @02:02PM (#37471067)
I don't think it's a matter of not being able to index on it, but that mostly random UUIDs (like v4) can lead to some interesting index fragmentation you have to stay on top of somehow.
Re:VS Code as a dependency for an npm module on Monday August 28, 2023 @11:09AM (#37295311)
I think it's technically just the build tools too, not all of visual studio or anything like that. https://github.com/felixrieseberg/windows-build-tools used to be an option for downloading them with relatively little pain. Looks like it should be unnecessary now, though.
Re:Pdftool.org: modify pdfs offline in the browser on Monday August 14, 2023 @12:19AM (#37117418)
They kind of do. You can add signatures to pdfs with edge, oddly enough.
It should be. It supports LAN connections as well.
Re:GitHub merge queue is generally available on Thursday July 13, 2023 @11:31AM (#36710805)
What happens if someone wants to merge when the queue is already running CI? Does it interrupt CI and start over, or does it run CI to the end and then kick CI off again with every new merge added to the queue since the last CI kickoff? Or does it merge on a successful CI and put together a new queue with those new waiting merges right after?
Re:TypeScript 5.2's New Keyword: 'using' on Monday June 19, 2023 @01:24PM (#36393844)
Yeah, there's a number of cases that use the Symbol pattern. They're all relatively new, but that's at least in part due to Symbols themselves being relatively new.

Symbol.iterator comes to mind as a decent example.

Re:Guide to Finding Lemmy Communities (Subreddits) on Wednesday June 14, 2023 @11:46AM (#36327706)
I think the main thing I'm missing from Lemmy is the ability to work backwards to find a community.

For example, a less-mainstream band I liked posted a new pair of songs last night. With reddit, I could search (via Google most likely) to find a subreddit where this news was posted, and use that to determine that yes, I would like to join this subreddit.

Is there a way to do this with Lemmy?

Re:Software Bugs That Cause Real-World Harm on Monday May 29, 2023 @11:53PM (#36120965)
I have one slider for "ring & notification volume" on mine. I also have media, call, and alarm volume as 3 other sliders, for a total of 4.
Re:All you need is data and functions on Tuesday April 04, 2023 @11:21AM (#35441125)
> Why did someone create Gleam

I can only speak for myself, and I am not involved in the creation of Gleam. But I have to say, an ML style language on top of the Erlang VM (BEAM) is a very enticing combination to me.

I'm also not using it in production at ${dayJob}, so take that for what it's worth. Maybe some day I'll get the opportunity.

Re:How Python virtual environments work on Monday March 13, 2023 @02:15PM (#35139987)
Cargo (Rust) is pretty solid. Most of my minor complaints (like being unable to add packages from the CLI) have been resolved with time, as well.

Older »