HNHacker News
TopNewBestAskShowJobs

vsnf

1,814 karma · joined October 26, 2018

submissionscomments
vsnf··on Don't Return Err in Go
Given how pointedly opinionated Go is about how codebases should look like (unused variables are a compiler error!?), I'm somewhat surprised that `if err != nil return err` isn't some kind of built in warning. I do think Go as a language encourages this bad behavior.
vsnf··on One dead as London-Singapore flight hit by turbulence
This behavior is reflected in car attitudes too. Many Japanese drive with a detached seatbelt. Not even the presence of children changes this calculus.
vsnf··on Google announces Firebase Genkit with Ollama support
Didn’t llama have a 700 million user clause that was widely interpreted to specifically exclude the FAANGs? How does that figure into this official Google release?
vsnf··on UK to introduce new offence of causing death or injury by dangerous cycling
Me too, but I suspect we have differing reasons. I’ve been very nearly mowed down by cyclists, on the sidewalk, on numerous occasions, multiple of which looked like acts of attempted assault. Cyclists are insane, and between their negligence or their malice, are a clear and present danger to my safety as a pedestrian. Not to throw all of them under the bus, and surely cars cause far more suffering, but cyclists have proven to be enough of an issue that I’d like to see them chill out, or be forced to chill out somehow.
vsnf··on Migrating Uber's ledger data from DynamoDB to LedgerStore
While your broader point is well taken, isn’t Uber a famous Go shop?
vsnf··on Llama3 implemented from scratch
Security programmers and dev-ops people too. Two areas famously disproportionately represented by furries and co.
vsnf··on Llama3 implemented from scratch
Indeed. In my company Slack, our primary professional communications tool, I can count a few people with anime avatars. Not very many, but it counts.
vsnf··on Elicit – AI Research Assistant
elicit

transitive verb

1: to call forth or draw out (something, such as information or a response) her remarks elicited cheers

2: to draw forth or bring out (something latent or potential) hypnotism elicited his hidden fears

https://www.merriam-webster.com/dictionary/elicit

vsnf··on Raspberry Pi Ltd is considering an IPO
I’ve tried so many times but I just can’t come up with any compelling use for a raspberry pi. It seems well suited for making a NAS or plex server, but other than that, idk. Everything else I want to experiment with is better served by an arduino.
vsnf··on How did authorities identify the alleged LockBit boss?
As far as intelligence agencies go, the treasury department is massively underrated.
vsnf··on Australian man says border force made him hand over phone passcode
> Still, the victims' families should be taken into consideration. I'm sure you wouldn't want to be scrolling through Twitter and come across a video of someone you know being murdered.

Maybe so, but I don't want you in charge of determining my feelings on the matter, and I want to be subject to your censorious ideas even less. We may agree on many things, but inevitably we'll disagree on others and then my life becomes worse because of your judgement. Just leaving it alone is probably the least harmful thing.

vsnf··on Australian man says border force made him hand over phone passcode
> They are re-victimized when the videos are shared

> Same thing with murder videos

Philosophically, can a dead person be re-victimized?

vsnf··on Australian man says border force made him hand over phone passcode
> If anyone has suggestions how to prepare for this in advance, let me know.

Backup your phone to cloud storage prior to travel, wipe it, hand border agents a nearly empty phone, restore once across the border.

vsnf··on It’s an age of marvels
Fair enough, the chant as we learned it was “no taxation without representation”, so you win this one. But my point was that it wasn’t just childish tantrums about taxes, it was also about being forced to buy into a monopoly, not getting any say in the matter, having local business blockaded, etc.
vsnf··on It’s an age of marvels
Not having a representative vote in parliament was kind of annoying, but what do I know
vsnf··on NPM package is-even has over 140k weekly downloads
I don't quite know what you mean by "rely on" here, but the isEmpty fields are implemented on the iterator interface, so any of the standard container types implement it by default, including lists, sets, and maps.

Also to address other posts in the thread, while I don't think this specific example is worth indicting JS developers over, I do think the culture of infinite dependencies common to JS developers is. This shouldn't be an entire additional dependency. Just implement the modulo operation, or as parent suggests, make a nicely named utility function that wraps the modulo operation. But when the culture strongly encourages downloading micro packages for every little thing, I can hardly blame them for adding this into the pile of yet more things they've downloaded.

vsnf··on NPM package is-even has over 140k weekly downloads
To me? No. But its extra characters that I need to scan and process, it's syntax that can't be autocompleted by my LSP/IDE, and it's at least one mental leap away from what I really want to do. I am interested in the even-ness, not the remainder.

The simpler programming can be made to be, the better. I'm not going to die on the anti-modulo hill, I don't care that much about it. But I think it's silly to pretend that it's not overly complicated (even if only a little) for the task most commonly at hand.

vsnf··on NPM package is-even has over 140k weekly downloads
Dart has a lot of built-in methods similar to this. Yes, that includes `$n.isEven` and `$n.isOdd`. It's especially nice with iterables that have `.isEmpty` and `.isNotEmpty`. I make regular use of all four. It cuts down on clutter and makes the intent unmistakably clear. I think these JS packages, and Dart's inclusion of them in the stdlib are indicative of a clear need among programmers for unambiguous intention. Also, I suspect a lot of people, especially JS programmers, of whom a large percent is certainly made up of non-formally educated people, likely don't know that testing for even-ness can be done with modulo.

All of this is to say, instead of this being an indictment of the JS ecosystem and its programmers, its more indicative of a stdlib function that should exist but doesn't.

vsnf··on Mindfulness interventions for teens decrease mindfulness, study finds
I find this continues to be true in my adulthood. With the blessing of remote work (or failing that, an office culture that doesn't mind), I'm very happy to take a midday walk and enjoy the outdoors. I'm very certain that if I had compatriots with me now like I did during school recess that we'd definitely find some sticks and swordfight with them, or climb rocks and trees, age be damned.
vsnf··on [dead]
This will further contribute to the already profound difference in quality of life between the red and blue states. But because this and the other confounding issues are emotional ones, the affected populaces will not vote to change anything, and will instead choose to watch their lives deteriorate even further.

I’m not very sympathetic to their situation, but I am concerned with the effects of their growing resentment of their neighboring, less decayed states.

vsnf··on 23% of bachelor's degrees and 43% of master's degrees have a negative ROI
> Junior in 2019, was one promo away from principal when I left in 2023

I'm broadly unfamiliar with Microsoft's promotion culture, but this strikes me as incredible. But in the "something seems incorrect" sense of the word. Were you hired at an incorrectly low level, were you a one-in-a-million talent, or is there huge title inflation at Microsoft now?

vsnf··on Garbage Collectors Are Scary
This is how I write my compilers. Indeed, it's how I write all my software.
vsnf··on Show HN: Attempt to bring a cinematic experience in 256 bytes (WASM)
> or click the following link if you have the FireFox browser (Chrome’s implementation of WebAssembly has much worse performance).

Now that is interesting. I've been on the FireFox train for 20 years but I haven't seen a "best viewed in FireFox" tag in a long time. It's a pleasant surprise, but I'm also curious how Chrome has managed to be bad at this.

vsnf··on Show HN: Attempt to bring a cinematic experience in 256 bytes (WASM)
> Modern website developers should learn a thing or two about optimization from this.

I'm just as anti-bloat as the next HN'er, but optimizing websites is almost certainly not a business interest, therefore not an imperative, and therefore not going to happen. Instead of just wishing web developers were better, it would be more productive to find a way to align website optimization with business interests.

After all, how many people, really, would stop using websites or apps because they're slow? They can be frustrating, but most of the non-tech people I know just deal with it. That's hardly a recipe for changing the way websites are built. Basically, I posit to you that website, webapp, and mobile app optimization is a revealed preference [0], where the preference is that it's not actually important.

[0] https://en.wikipedia.org/wiki/Revealed_preference

vsnf··on Streaming Is Cable Now
Because it's not about the acting, it's about the celebrity. It also explains why some of the biggest earners always play themselves, and the character actors earn less.
vsnf··on Ask HN: Should HN black bar become community driven?
No, but it would be nice if the bar had some kind of tooltip associated with it denoting who it's for.
vsnf··on Americans are choking on surging fast-food prices. "I can't justify the expense"
A good burger will run you $25 in Boston. Wages are generally higher, but still. It's kind of insane. That being said, I noticed probably even 10+ years ago that fast food prices were a pretty bad deal.
vsnf··on Unix and Multics (2019)
Yes, except for the "defining them upfront" part, which sounds similar in theory to checked exceptions in Java. I'm very partial to this, especially in Go, where nobody ever bothers to propagate errors properly and instead just bubbles up the same `err` object all the way to the top.
vsnf··on Microsoft's $1M Vote of Confidence in Rust's Future
I guess that’s my point though. What is desirable about Visual Studio itself these days that one would need Rust support in it? I don’t see it as having much of an edge, especially in areas where tight Windows integration isn’t necessary.
vsnf··on Jim Simons has died
From Wikipedia: “Employees: Classified (est. 30,000–40,000)”

Obviously the number of people working on the super secret stuff is smaller, not to mentioned each project has a compartmentalized staff, but keeping secrets at this size is going to be a tough ask. They seem to do a pretty good job, but we know they’re not infallible at it. I imagine RenTech at 1/100th the size would have a vastly easier time.

← PreviousPage 3 of 15Next →