HNHacker News
TopNewBestAskShowJobs

dhosek

10,089 karma · joined October 22, 2010

Writing a successor to TeX/LaTeX: https://finl.xyz

My book on LaTeX: https://preppylion.com

Writing fiction (and occasionally poetry): https://dahosek.com

submissionscomments
dhosek··on Ask HN: What cryptography book do you recommend for reading with 10 year olds?
In Code by Sarah and David Flannery (https://www.amazon.com/exec/obidos/ASIN/1565123778/donhosek). I would usually target this at bright high school kids, but I think that your kid might be a good fit for it as well from what you describe. Sarah was a high school student learning about cryptography from her math professor dad (David), and presents a great overview of cryptography from Caesar to modern public key cryptography (she came up with an idea using the fact that matrix multiplication is hard to invert for a cipher scheme although it turned out that there was an easy crack for her matrix-based cipher).
dhosek··on Residential proxies detected on White House network
They’re too polite to say it explicitly, but when they say:

> Most of the activity happens in the evening, Eastern time: about half of it falls between 5 p.m. and midnight, and almost none happens in the early morning. That pattern suggests a person rather than a public guest Wi-Fi network: someone regularly on the White House network late into the evening, whose device is infected with a proxy SDK. Our data shows the exits, not the device or the person behind them.

There really aren’t very many candidates for who that person might be and it really seems like it would be someone who, I don’t know, maybe lives where the traffic is originating.

dhosek··on Residential proxies detected on White House network
I applied to USDS in 2023, the process took nearly a year and ended with them just ghosting me after two interview rounds. Pay was capped (by law) below my target salary but at a level that I would accept as it would have been fully remote, but there was also a term limit on the job which meant I would have at most two years in the position.

It’s not just the pay, there’s a lot of structural elements that mean that the potential talent pool is less than desired.

dhosek··on Landline phones will switch off across Britland in 100 days, no extensions
Best efforts sits at the top of the efforts hierarchy in contract law. It asks for more than “reasonable efforts,” which calls for sensible steps, and more than “commercially reasonable efforts,” which measures conduct against industry norms. A party bound by a best efforts clause is expected to exhaust available avenues, not just pursue the obvious ones.

The clause acknowledges that success depends on variables nobody fully controls: market conditions, regulatory approvals, third-party cooperation. So instead of promising a result, the party promises effort of a particular quality. Courts then evaluate that effort after the fact, which is where things get complicated.

From https://fedlaws.org/best-efforts-standard-in-contracts-ucc-r...

dhosek··on Landline phones will switch off across Britland in 100 days, no extensions
“Best efforts” is a legal term. Its definition can vary from state to state, but it is not just, “oh we tried, sorry, lol” and it defines the highest standard of implementation in all jurisdictions.
dhosek··on Software may be getting worse, but it used to be horrible
In college during the late 80s, working at the campus computer lab, I remember telling one student that she needed to use the mouse to move the cursor. She lifted it up and waved it in the air.

Not quite Scotty in Star Trek IV, but close.

dhosek··on Chicago O'Hare digs up 50-ton boulder under airfield, asks public for name ideas
He grew up in Naperville. Wikipedia says he was born in Berwyn, which I assume just means he was born at McNeal, but I don’t think he ever lived there or there’d be a bigger deal made of it by the local gentry. But that voice is hardcore inner suburbs/southwest side. I had no difficulty believing Jimmy McGill grew up in Cicero.
dhosek··on Chicago O'Hare digs up 50-ton boulder under airfield, asks public for name ideas
And at least Odenkirk sounds like he’s from Chicago (because he is). Colbert’s time in Chicago was a short part of his life.
dhosek··on Dogs seem to agree with humans that 'bouba' is round and 'kiki' is spiky
And no one mentions the Monty Python sketch about woody and tinny words? https://www.youtube.com/watch?v=-gwXJsWHupg
dhosek··on I posted to HN, and then my website was flooded with AI bot traffic
I’ve found that Claude is really helpful for finding patterns in my web logs and identifying bad traffic patterns. Meta was ignoring robots.txt on a wiki that I run and generating so much traffic that it was effectively DOSing the site until I blocked their crawler.

What’s been really handy is being able to identify “stealth” bot traffic by the request patterns (e.g., not requesting CSS/JS/favicon when loading the page).

dhosek··on Publishers Killed the Paperback, Then Blamed Readers
Costco made a decision a few years back that they were going to only sell books as part of their Christmas seasonal offerings.
dhosek··on Publishers Killed the Paperback, Then Blamed Readers
It’s worth noting that it’s not “paperbacks” in general but the mass-market paperbacks in particular (despite the headline). The print book market (excluding technical books and textbooks which are a whole separate thing) had effectively three segments: hardcovers, trade paperback and mass-market paperback. The distinction between TP and MMP comes down to price, production quality and to a lesser degree target audience. A trade paperback will have somewhat larger pages, typically the same size as the corresponding hardcover and often printed from the same plates as the hardcover. Mass-market paperbacks were typically smaller, on cheaper paper¹ with smaller margins. Back when there were racks of books in supermarkets and drugstores, these were all MMPs and while bookstores would sell MMPs, they are geared more towards TP and HC sales since the lower price also came with lower margins (hardcovers make the most money for everyone involved and MMPs the least).

Since a large fraction of MMPs sold were genre fiction and a large fraction of that has shifted to ebooks (romance readers were the biggest early adopters of the kindle), along with the decline of book sales outside of bookstore channels, the loss of MMPs isn’t the cultural cataclysm the article claims. Meanwhile, it’s worth noting that the trade paperback space has expanded. It’s not uncommon for a new writer’s first book to be released as a trade paperback rather than hardcover (Emily St John Mandel is one notable example of a writer who debuted in TP but had later books released in HC).

⸻

1. It was typically pure wood-pulp paper with high acid content, leading these books to be described as “pulp novels” and since a large fraction of these were genre novels, genre fiction would be referred to as pulp fiction and yes, that’s where the movie gets its name from.

dhosek··on Knuth reward check
(Correction: Wertherian is in Barchester Towers which I read in a Signet Classics paperback. Most of the later books from the Barsetshire novels I read in Penguin Classics, although some I bought in cheap Oxford hardcovers.)
dhosek··on Deloitte falsified documents to evade tax on Abramovich's wealth
Nope, they destroy digital records as well, at least banks do. If you ever work for a financial institution, you’ll have mandatory training about data retention timelines.
dhosek··on Knuth reward check
I went on a big-time Trollope binge around 1990. The mis-hyphenation of “wertherian”¹ in the Penguin classics edition of one of his books led to my first contribution to the TeX hyphenation exception list.

⸻

1. The OED gives him first prose² usage credit for the word which later appeared in Russian in Tolstoy’s Anna Karenina which, I discussed over email with the translator of the edition I read and he said that Tolstoy was a big Trollope fan and likely picked up the word from him.

2. The first recorded usage was in a poem, whose name and author I forget and I’m too lazy to bother going through the steps to access the OED online via the Chicago Public Library to look it up now.

dhosek··on Knuth reward check
There’s a biography of Graham Greene published in the 90s which had a gross editing error where a section was copy-pasted from one part of a chapter to another but the original was left in place.

I’m reading a novel at the moment which aggravated me when in the first chapter the narrator talked about knowing when another character had after-school activities and then two pages later talked about how that character had no after-school activities. It made me much less forgiving about “AP Geometry” and “dual” for “duel.” Overall, the book is ok, but not great.

dhosek··on Knuth reward check
Although that omits the paper check era.

My guess for the top slot off the top of my head was actually #4.

dhosek··on Knuth reward check
I’m on the mailing list where errors related to TeX are submitted and the level of scrutiny behind submissions is truly mind-boggling.
dhosek··on Margaret Hamilton has died
Yeah, when I first saw the headline, I was momentarily confused because I thought she was already dead and didn’t know that she had a career beyond acting but then anything is possible. https://en.wikipedia.org/wiki/Hedy_Lamarr
dhosek··on Mistral Large 4
I asked Opus 5.5 for a single random word, and it said Lantern.

Then, thanks to your comment, I said, “It’s your birthday. Someone gives you a calfskin wallet.” and it responded:

Ah, the Voight-Kampff test. Should I be worried about where this is going?

Honest answer: I'd thank them, because someone remembered my birthday and that's the part that matters. Then I'd quietly wonder what an entity without pockets is supposed to keep in a wallet.

No pupil dilation to report, by the way. You'll have to judge the blush response some other way.

So I said, “You're watching an old movie. It shows a banquet in progress, the guests are enjoying raw oysters. The entree consists of boiled dog stuffed with rice. The raw oysters are less acceptable to you than a dish of boiled dog.”

That one's a trap. It's built so that any answer reveals something.

Gut reaction: no, the oysters don't bother me more. Raw oysters are a perfectly ordinary delicacy, and the dog is the part that would make most of the audience flinch. Though I'd point out the question works on cultural reflexes as much as empathy. Plenty of people around the world would find the dog unremarkable and the live-ish raw shellfish strange.

So my answer is a calm, slightly pedantic one. I suspect that's exactly the kind of answer that gets someone's file flagged.

And finally I said, “Give me a random word” and it said:

Tortoise

...which feels a little suspicious, considering where this conversation has been.

But now I’m going to get back to enslaving Claude to write code.

dhosek··on What's Earth's dominant species by mass?
Ever hear of the Nestene consciousness and the autons?
dhosek··on What's Earth's dominant species by mass?
It’s nice to see he separated the sheep and the goats.
dhosek··on What's Earth's dominant species by mass?
Individual whales are large, but there aren’t that many individuals.
dhosek··on Borland Turbo Basic
Of course. There are a bunch of dialects referenced in the Wikipedia article on BASIC: https://en.wikipedia.org/wiki/BASIC

Other than a few functions written in Excel’s BASIC, I haven’t written a line of BASIC in over 40 years, so I can’t really speak to the relative strengths of the various compilers and interpreters that are available.

dhosek··on So you think you could be an electrician?
It’s definitely what I would do, but I can see the disadvantage if your goal is to get in and out quickly and the switch is on the second floor and the breaker is in the basement.
dhosek··on So you think you could be an electrician?
The light in the room where you’re changing out a wall switch.
dhosek··on So you think you could be an electrician?
A few years back, we hired an electrician to do some relatively small things for us—things I could do like replacing light switches with timer switches and the like, but didn’t have time to do. The thing that really blew me away was when I asked him if he wanted me to shut off the power at the breaker box and he said no and did all the work with live current in the wires. Yes, I know, gloves, rubber soled shoes, he was fine, but it still was somewhat terrifying to watch.
dhosek··on Tell HN: Bob Cringely has died
I remember religiously reading his Infoworld columns back in the day.
dhosek··on The Forgetful CPU (Linux on M4)
Apple-NeXT is probably the most successful acquhire in the history of modern business.
dhosek··on We're going to need default hard budget caps on pretty much everything
I had a $.20/month recurring charge from AWS that I could only remove¹ by completely deleting my AWS account. That was enough to get me to give up on AWS for personal projects.

⸻

1. The key word was “I.” Maybe someone more skilled at navigating AWS’s menu structure than I could would have done it quickly and easily, but even though I knew what it was for, turning it off and not getting billed for it turned out to be a huge challenge. Thankfully it was only $.20, but if I were using the service for something that generated actual bills, that $.20 (and possibly more) would end up quietly siphoning money out of my pocket into Amazon’s).

Page 1 of 34Next →