Better HN
topnewbestaskshowjobs
Log inSign up

raddan

1,304 karma · joined Jul 12, 2017 (9y ago) · 500 submissions

Submissions

comment 3d ago · link · parent

Aside from mathematics, which I use professionally on a daily basis, the most impactful lessons I learned in high school were in home economics. I’m not sure that’s not even taught anymore, which is a shame. I learned how to run a kitchen and keep it clean, how to plan a personal budget, how to do basic clothing repair, sewing, and so on. It all sounds mundane but I grew up in a house where some of those things (cleaning in particular) did not happen and it was a real revelation to me. I don’t think 14-year-old-me would have chosen to take those classes, but I am so glad that I did.

comment 5d ago · link · parent

The parent poster’s argument is not entirely true, because wages did outpace inflation for awhile around the pandemic. But it’s truthy. Wages have been sliding lately, and that sliding is the longer term trend.

https://www.marketplace.org/story/2026/09/04/wage-growth-can...

Obviously, the above is talking about labor generally, not just SWEs. But speaking as a professional computer scientist at a place with decent salaries and excellent benefits, my raises over the last 5 years have barely outpaced inflation. It’s pretty annoying to realize that I probably would have earned a lot more money had I NOT gone back to school for a PhD. Not that I would make a different decision given the choice again, but money is much more abstract in your 20s than it is in your 40s.

comment 1w ago · link · parent

Annoyingly I literally just bought one. I haven’t even taken it out of the packaging yet. I wish I had seen these posts 1 week ago.

comment 1w ago · link · parent

My supicion is that the northeast area does not already have established cattle ranchers or goatherds. Raising sheep (for wool) has a long tradition in the northeast.

comment 1w ago · link · parent

If you run `strace` you can get a hint at why `touch` (and any modern, compiled C binary) might be big: it is doing way more than you think it does, and you definitely _want_ a lot of that. For example, any program that uses the C standard library needs to have that code available-- since virtually every C program is going to use it, it will be loaded and mmap'ped into some region of memory. The stack needs to be set up, memory protection bits will be set, a random value is read to be used as a stack canary, etc, etc. I count on the order of 50+ system calls.

Watching `mv` do its thing is even better. About 100 system calls, including playing nice with SELinux in case it happens to be installed, just to issue a single `renameat2` system call.

Don't forget that we're running on a 64-bit machine. MS-DOS in 1986 was a 16-bit machine? The word size on a modern machine is bigger because we have a bigger address space, more registers, and more instructions.

We want speed and security and convenience and pleasant error messages. All of this is put here by the compiler to ensure that we have nice things. It sounds awesome to have such a small Pascal compiler, and it makes the modern state of binaries seem bloated, but all those extra bytes are paying for things that we want. There's probably a little bloat, but really, there is not much bloat.

comment 1w ago · link · parent

I have colleagues at institutions who teach LISP-like languages (Scheme, Racket) to incoming first-year students. They name the same benefits you do, and trust me, I am onboard for functional programming as a first PL generally. But I am curious whether you know how successful your program was in "outreach". Our CS1 course uses Python, and students implement a game (inspired by Pokemon). They find it very exciting, and for a lot of them, the "computer very literally does what you say" is a revelation to them. I would worry about losing some of that switching to Haskell. I'm not saying that it's an impossibility. The main obstacle in my department would be that only a handful of the faculty even know more than a few languages.

comment 1w ago · link · parent

It's challenging to keep running experiments. In a perfect world, we would run our experiments again and update the results. But some experiments are expensive, and some experiments are inherently difficult to reproduce. I have a paper nearing completion that involves interaction between trained (human) professionals and a model. It was a logistical challenge to bring those people together (also, we had to pay them), and the roleplaying that we asked LLMs to do can't be done anymore--they refuse for safety reasons. Stuff like this is pretty common.

I am hopeful that we can eventually move to open weights models, but at the time we did the experiments, the open weights models did not have the capabilities we needed. The ever-shifting sands of frontier models makes reproducibility difficult, and not just for scientists.

comment 1w ago · link · parent

I can only speak from my own experience, but expressing a program as a composition of pure functions, where effects are carefully managed, is a challenging way of thinking at first. The imperative approach really is simpler to wrap one's head around _until you start worrying about correctness_. I think many developers never really care that deeply, so Haskell never appeals to them. You really do have to take a mathematical approach to program construction. I personally think that the mathematical perspective is liberating, but it's not an easy one to cultivate.

comment 1w ago · link · parent

I've loved this video for years, primarily because of SPJ's willingness (and excitement, even) to talk about Haskell's shortcomings. I think SPJ and other important people in the Haskell community are keenly aware that Haskell appeals to a specific demographic and that, to survive as more than just a research plaything, that they need to broaden participation.

The famously friendly "Learn You a Haskell" book features its first "helloworld" program deep into the middle of the book, _after_ functors and (if I recall correctly) monads. It takes a very special beginner programmer to push that far through, working in the REPL, before they can write programs that do basic I/O.

I teach functional programming to college sophomores and juniors, and I would love to teach them Haskell. But I have to meet them where they are, and it would be difficult to do in Haskell. This is why we have taught either F#, Scala, or LISP over the years. F# in particular has a lot of the aesthetic qualities of Haskell while allowing impurity or mutability escape hatches without too much trouble. If somebody has truly beginner-friendly Haskell resources, I would love to hear about it-- I'm apparently not smart enough to chart that path myself.

comment 1w ago · link · parent

Finally, a Polymarket bet I can get behind!

https://polymarket.com/event/how-many-jensen-huang-affairs-w...

comment 2w ago · link · parent

Where did you read that? His Wikipedia page says that his father died when he was young but never states his name. [1]

[1] https://en.wikipedia.org/wiki/M._John_Harrison

comment 2w ago · link · parent

163 novels in 6 months!!! How is that even possible? This sounds like a good formula for producing noisy reviews.

comment 2w ago · link · parent

You seem to be externalizing the cost of verifying that a thing is true. The cost is nontrivial.

Consider for a moment that all of science is, in some way or another, the search for truth. I have a hard time seeing that any one person—or even any one person with an amazing computer program—can substitute for generations of humans trying to achieve that goal. It is extremely difficult to know what is objectively true.

comment 2w ago · link · parent

This is not a new problem. I worked in corporate IT in the early 2000’s. Both attitudes existed even then, though of course there was no App Store back then. Nevertheless there was a strong preference among younger employees for paid software—the kind you get in boxes. The older generation viewed most software as suspect, but were willing to accept “official” solutions from Microsoft and other name brand software vendors. It seems comical now, but at the time Red Hat was viewed almost universally among my coworkers as a terrible idea. And forget about custom software. Rolling one’s own software was widely seen as crazy talk.

comment 2w ago · link · parent

Citation needed.

comment 2w ago · link · parent

The parent poster’s post is amusing because I did all of those things. I framed out an addition to my house. I demoed all of the living spaces, installed insulation, hung drywall, did the trim (which was difficult to learn!), installed windows. I also built a patio (with a shovel!), built a fence, planted an orchard, etc. I did these things because, although I have the money to pay others, it was 1) deeply satisfying and 2) I wanted it done right. I think lots of technical people think that we can’t do it right because it’s not our area but—if you care, you will do it right.

I hired somebody to do the toilets. Fuck that.

comment 2w ago · link · parent

Seconded. Also very easy to set up. I’ve been running it for years, along with webhooks to kick off testing and website deployment jobs. I especially like the swagger browser that generate API calls for you to try in curl. I use the API pretty extensively.

comment 3w ago · link · parent

Maybe smoking trends come in waves.

comment 3w ago · link · parent

Then really shouldn't it be "everything is about money"? After all, it's clear that the actual lie is convincing a big group of people that they don't share a common cause. Racism has many causes, but using it as a divide and conquer tactic has to be one of the most disgusting ones.

comment 3w ago · link · parent

Rare in the northeast US. In fact, I saw two students smoking on a college campus just last week and did a double take. I had not seen a single student smoking in at least a decade. Then I laughed remembering how when I was in college in the 90s, almost everybody smoked at least a little (often at parties), and seeing students smoking at the entrance to the dorm was pretty normal. I am an asthmatic so I've never smoked, and I remember my friends being stunned by this one night when we were out at a bar. Things have changed a lot around here.

comment 3w ago · link · parent

Sure, but what do you propose governments do to stop it?

comment 1mo ago · link · parent

Just a start.

https://www.ebay.com/sch/i.html?_nkw=dell+pentium+ii+mid+tow...

comment 1mo ago · link · parent

You should do it. But I recommend a book or two on compiler design. There are useful techniques (like SSA) that simplify program analysis if you decide you want to dip your toes into adding optimizer passes. Building stuff yourself, the hard way, is definitely the best way to learn. I wish I had unbounded time to do it…

Edit: I like the Appel compiler book. One of my students enjoyed “Writing a C compiler” by Nora Sandler. There are also a number of classic compiler books that feel more relevant once you are deep in the weeds.

comment 1mo ago · link · parent

Modern computers are exquisitely sensitive to spatial and temporal locality because many of the hardware features that speed your code up (for free!) take advantage of data or instructions that are “next to each other.” This can be a challenge in a functional program, because not only do you often have little control about where things go, the abstractions that make cool things possible (eg, closures, or lazy evaluation) naturally introduce indirection that hurts locality.

comment 1mo ago · link · parent

Whether code review is inportant or not probably depends on whether the problem someone is solving is important or not. But when it is important, I think we should be putting the onus on the person who filed the PR instead of burning our own neurons trying to understand volumes of stuff. Tell me what you asked the AI to do. Why is that a good idea? Once I hear that answer (because many junior programmer ideas don’t even get past that point), let’s look at the code together. Tell me why you think the code you submitted does what you say. Did you look at the code? Did you write tests? Did you check for test coverage? Maybe you’re a little smarter than that. Did you think through pre- and post-conditions? Corner cases? Are certain undesirable behaviors impossible? How do you enforce that? Types? State machines?

Even before slop coding good code review was hard, because verification is a hard problem. But we have many tools at our disposal to increase confidence without having to go full-on mathematical proof. Human understanding has always been the bottleneck, and as long as the thing you are doing is for humans, humans will have good reasons to want to understand it, so they will remain the bottleneck. This is ok. It’s ok for humans to be the rate-limiter. But don’t go it alone and fry your own brain.

comment 1mo ago · link · parent

Codex is interactive. This appears to be batch.

comment 1mo ago · link · parent

OpenBSD's errata list has recently started growing rapidly, and the scale is a real departure from the past. I have taken to running syspatch much more regularly than in the past. Anyway, it's clear that the project's stance on AI is "as long as reports are detailed and high-quality (and probably from a person with a record of such work) the project will act on it." See slide 17 here: https://events.eurobsdcon.org/media/2026/submissions/ZGDXQR/...

comment 1mo ago · link · parent

It's cute so I had to look it up. According to this guy [1], it's a poem from Graham Hutton's Haskell book [2]. I don't have the book so I can't check, but it sounds plausible.

[1] https://myotherpants.com/tag/test-first/

[2] https://www.amazon.com/Programming-Haskell-Graham-Hutton/dp/...

comment 1mo ago · link · parent

This literally makes no sense.
12345
17