HNHacker News
TopNewBestAskShowJobs

vandahm

212 karma · joined November 5, 2007

I'm a software developer in Minneapolis.
submissionscomments
vandahm··on What ORMs have taught me: just learn SQL (2014)
I generally like ORMs but recognize that they have a lot of problems. The most common problem that I've seen is when an ORM makes it easy to select records in a way that looks efficient but really is not. Strictly speaking, this isn't a failure of the ORM itself -- it's the fault of the developer who is using the ORM and also the developer that didn't catch it in code review. But it's a case where the ORM is making work for everyone and obscuring legibility into the code instead of saving time and providing clarity.

I've written complicated stuff where an ORM isn't appropriate, but if I'm honest, a large fraction of what I've done in my career is just making boring software to automate menial clerical work, and ORMs are good enough for those kinds of projects.

vandahm··on Why I email complete strangers
I think the last time I emailed a stranger when I had no business reason to do so was to thank someone for creating an excellent set of instructions for running OpenBSD on the exact model of laptop I wanted to use. I didn't expect a response and I didn't receive a response. I just thought he should know that something he did helped someone else, and now he knows.
vandahm··on French-Iranian author Marjane Satrapi, author of 'Persepolis', dies at 56
I read Persepolis in French, and I don't speak French as a native language, so I worry that I missed some of the art and the nuance of it. But, even so, I thought it was beautiful. She was an extremely talented storyteller, and I'm sad that she left us so soon.
vandahm··on Snowboard Kids 2 is 100% Decompiled
This is what the internet is for. I only remember playing this game once or twice on a friend's N64, so I don't have any nostalgia for it, but the idea that someone chose this as their strange, impractical personal project is really satisfying.
vandahm··on Ask HN: Any interesting niche hobbies?
I build ukuleles and guitars from scratch. That's not as niche as what a lot of people do -- it's just woodworking -- but I do software for a living and enjoy making durable, physical things in my free time.
vandahm··on I Don't Like Magic
I've used React on projects and understand its usefulness, but also React has killed my love of frontend development. And now that everyone is using it to build huge, clunky SPAs instead of normal websites that just work, React has all but killed my love of using the web, too.
vandahm··on Wikipedia loses challenge against Online Safety Act
What are the consequences of simply disregarding the UK ruling? Does Wikipedia have British employees, offices, or financial assets?
vandahm··on Show HN: I built an app to get daily wisdom from Mr. Worldwide
I wish I had thought of this.
vandahm··on Apple pulls data protection tool after UK government security row
But if you don't trust Apple, how to you get the key into the Secure Enclave to begin with? Doesn't Apple control the software on your device that provides the interface into the Secure Enclave from outside of it?
vandahm··on Disco Elysium Explorer
I love the game, but I know a lot of people who don't, for a variety of reasons. They were very opinionated about what kind of game they were trying to make, so you'd expect it to resonate strongly with some people and not at all with others.
vandahm··on Be Aware of the Makefile Effect
Honestly, my .zshrc file started out as a .kshrc file that was passed down to me by an older developer about 20 years ago, when I was still in university. I've added and removed a lot of things over the years, but there are still a few parts of it that I don't totally understand, simply because they work and I've never had a reason to think about them. The guy I got it from, in turn, got his from someone else.

In the old days, I had a .fvwm2rc config file that I got from my boss in the university computing center. I had no idea how it worked! And neither did he -- he got it from a professor when he was in university.

vandahm··on My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
Your kid is awesome and, even with help from adults, this is an impressive accomplishment.
vandahm··on Were RNNs all we needed?
I made a RNN for a college project because I was interested in obsolete historical technology and I thought I needed to seize the opportunity while it lasted, because once I was out of school, I'd never hear about neural networks ever again.

Mine worked, but it was very simple and dog slow, running on my old laptop. Nothing was ever going to run fast on that thing, but I remember my RNN being substantially slower than a feed-forward network would have been.

I was so confident that this was dead technology -- an academic curiosity from the 1980s and 1990s. It was bizarre to see how quickly that changed.

vandahm··on Taming the beast that is the Django ORM – An introduction
> Will there be additional parts that cover how to create GROUP BY queries in the ORM? I find even seasoned Django developers struggle with these.

The last time I needed to do that, I ended up crying "uncle" and writing manual SQL. I wasn't happy about doing it, but I was happy that the framework left me an escape hatch so that I could.

vandahm··on Taming the beast that is the Django ORM – An introduction
I used Doctrine for a few years, and I remember thinking that it was about 50% awesome and 50% terrible. I wonder what I would think if I came back to it today.
vandahm··on Taming the beast that is the Django ORM – An introduction
I used Django a lot from about 2007 to 2010 and, then, went for several years without using it at all. When I came back to it, I was delighted to find that everything still worked like it was supposed to, just better. Congrats on getting it right on the first try. That's...not something that happens very often in software.
vandahm··on Gentoo Linux Drops IA-64 (Itanium) Support – Gentoo Linux
Aren't we all?
vandahm··on Grace Version Control System
I don't develop offline, but I've developed the habit of making lots of tiny commits, then rebasing them into a single commit before pushing. To me, a commit is for something I might want to undo and a push is for something that I either want to share or am afraid of losing. I'm not suggesting this is the best way to use version control or even a good way -- just that it's a habit I've developed and don't really want to unlearn.
vandahm··on Why I hate your Single Page App (2016)
I think that, in 2024, a lot of these problems aren't as bad as they once were, but when this article was written in 2016, SPAs really were a mess. Since then, people have mostly solved the URL problem and the back-button problem, and I think that if your organization has the headcount to support it, there are advantages to having the kind of very clean separation between your backend and your user interface that an SPA can provide. For instance, They can be developed by different teams, on different release schedules. Or, you can replatform your backend without rewriting your frontend.

Even so, I kind of wish that most websites still used old-school server-rendered HTML. I still run into all kinds of glitches that just could not possibly happen on a server-rendered site. As an example, I like to visit the Deutsche Welle website to catch up on European news stories that don't make their way to the US, and sometimes their site just flat-out doesn't load, because of some caching problem that I don't care about, because it isn't my problem as someone who just wants to read the news. Since the best DW's SPA architecture can possibly do is to make it look like server-rendered HTML, it's just nothing but downside to me personally. It might make sense for Deutsche Welle itself, but I don't work for DW, and I don't get paid to care about their problems.

In the end, I think the overall message of the article still resonates in 2024, even if it doesn't resonate as strongly now as it did when it was written. I think SPAs are good technology when they are used in the right way for the right reasons. But there's a kind of dogma surrounding heavyweight JavaScript frameworks, and I think it pays to be a little skeptical as a result.

vandahm··on Blue Ball Machine
Variation on a theme: https://hardsafety.ytmnd.com/
vandahm··on Blue Ball Machine
https://lukecompany.ytmnd.com/

Edit: Two more personal favorites from back in the day:

https://vaderholidayspecial.ytmnd.com/

https://bondfreaksout.ytmnd.com/

vandahm··on Two-thirds of young Dutch say influencers affect their financial decisions
Not necessarily worse, but different. I think that's what makes this newsworthy.
vandahm··on Ask HN: Slow thinkers, how do you compensate for your lack of quick-wittedness?
One thing I learned -- I think it was from The Pragmatic Programmer -- that helps me when I feel forced into making a quick decision is this three-part answer:

1. I don't know, 2. It depends, 3. I'll get back to you.

If people don't accept that, I'll follow with some variation of "Do you want me to guess or do you want me to lie? Either way, I'd be feeding you bullshit, and you deserve better than that. Give me a little bit of time to collect my thoughts."

vandahm··on Choose the browser that best suits your privacy needs
I've had a similar experience. I've been using Firefox since it was Phoenix and I can count on my fingers the times when the browser actually crashed.
vandahm··on Web designers should get good training in typography (2006)
He explained this once, but it's been years and years and I don't have a source link. His argument for using the large fonts hinges on the fact that you keep your desktop monitor farther from your eyes than you do printed materials like books and magazines. Accounting for these distances, a 16-pixel or 18-pixel font size on screen is similar to an 11-point or 12-point font on printed material. Somewhere on his site, I think he has a demonstration with a photograph of a book in front of his monitor that illustrates this, and it looked pretty convincing.
vandahm··on My elderly parents can't resist answering the phone
What is it going to be for us, when we get that old?
vandahm··on Early 1980s Datsun/Nissan Voice Alert phonograph unit [video]
When I was a small child, my dad drove a 1983 Datsun Maxima that had this. As cheesy at it seems today, it felt magical and impossibly high-tech at the time, especially to me.
vandahm··on Europe’s CEOs Eye Shift in Spending Plans Toward North America
https://archive.is/tbcO6
vandahm··on Previous: A NeXT Computer Emulator
On desktop, you can use the top navigation to get to the substance of the site. On mobile, it hides the nav so you can't see it. Try these:

https://previous.unixdude.net/about.html

https://previous.unixdude.net/screenshots.html

https://previous.unixdude.net/download.html

https://previous.unixdude.net/version-history.html

vandahm··on Previous: A NeXT Computer Emulator
> For running Previous you need a copy of the NeXT ROM.

I have an old NeXT machine that works and has NeXTstep running on it. How can I extract the ROM from it and use it to run this emulator?

Page 1 of 3Next →