HNHacker News
TopNewBestAskShowJobs

dvlsg

563 karma · joined June 19, 2015

submissionscomments
dvlsg··on Every new car sold in the European Union must include a driver monitoring camera
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.
dvlsg··on RTX 5090 and M4 MacBook Air: Can It Game?
> 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_.

dvlsg··on The Onion to Take over InfoWars
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".

dvlsg··on Boy I was wrong about the Fediverse
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.
dvlsg··on This is not the future
Wood smoke can go beyond your own home and land on your neighbors, depending on where you live.
dvlsg··on Heavy metal is healing teens on the Blackfeet Nation
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.
dvlsg··on Surnames from nicknames nobody has any more
One of my favorite jokes relies on this.

Q: Where does a general keep his armies?

A: In his sleevies!

dvlsg··on Proposal: JavaScript Structs
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.
dvlsg··on Kim Dotcom's extradition to the U.S. given green light by New Zealand
FromSoft, potentially. Even if you only start counting years at Demon's Souls (2009), that still gets them to 15 years.
dvlsg··on Apple apologizes for iPad 'Crush' ad that 'missed the mark'
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.

dvlsg··on Ask HN: How to do simple heartbeat monitoring?
Depending on your expected traffic patterns and volume, no responses to report for an extended period of time is its own data point.
dvlsg··on Power Metal: is it really about dragons? (2018)
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 .

dvlsg··on Deno in 2023
> Node, as far as I know, has none.

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

dvlsg··on Shouldn't FROM come before SELECT in SQL? (2011)
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.

dvlsg··on Shouldn't FROM come before SELECT in SQL? (2011)
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.
dvlsg··on Idempotency
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.

dvlsg··on Return to office is 'dead,' Stanford economist says
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.
dvlsg··on Spotify will end service in Uruguay due to bill requiring fair pay for artists
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.

dvlsg··on Redis Insight: GUI App for Redis
It's in `brew` as well, looks like.

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

dvlsg··on 64-bit bank balances ‘ought to be enough for anybody’?
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.

dvlsg··on You Don't Need UUID
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.
dvlsg··on VS Code as a dependency for an npm module
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.
dvlsg··on PDF Tool – Modify PDFs in the browser without uploading
They kind of do. You can add signatures to pdfs with edge, oddly enough.
dvlsg··on ‘Baldur’s Gate 3’ Prepared for 100k Concurrent Players, They’ve Gotten 700K
It should be. It supports LAN connections as well.
dvlsg··on GitHub merge queue is generally available
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?
dvlsg··on TypeScript 5.2's new keyword: 'Using'
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.

dvlsg··on Guide to Finding Lemmy Communities (Subreddits)
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?

dvlsg··on Software bugs that cause real-world harm
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.
dvlsg··on All you need is data and functions
> 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.

dvlsg··on How Python virtual environments work
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.
Page 1 of 11Next →