HNHacker News
TopNewBestAskShowJobs

dhosek

10,127 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 Compressing a flag to 11 bits
I’m surprised that the near-identical flags list omits Slovenia and Slovakia which both have white-blue-red horizontal stripes and a coat of arms (albeit with slightly different placement and different background colors on the coats of arms). A part of me feels like it’s part of a long-time joke the two countries are playing to confuse non-Slavs (the Slovenian word for their language is Slovenščina while the Slovak word for their language is Slovenčina and this is just the beginning of the confusion between the two countries/nationalities).
dhosek··on Fable 5.1 Solves the Cyphral Distich, a 370-year-old cipher
It’s a warning of what it’s going to do next…
dhosek··on Fable 5.1 Solves the Cyphral Distich, a 370-year-old cipher
Weather is not climate. Not to mention we really don’t have roughly the same weather anyway.
dhosek··on IKEA made a mod for Skyrim [video]
Kind of reminds me of a college classmate back in the 80s made a Hypercard game which he had called Escape from Harvey Mudd but which the college asked (maybe demanded?) that it be renamed as it started to get distribution so the more commonly seen version was called Escape from Grid Tech. I would guess that there might have been some reputational concerns as that classmate was one of the people who dropped out of Mudd during my time there (the late 80s cohorts had a lot of people, myself included, who had wavered between humanities and sciences and after exposure to life in the sciences decided to opt for the humanities instead—most of us ended up doing programming for a living having no marketable skills post-college. The one person from my freshman year suite who actually finished his degree at Mudd went on to become a music professor).
dhosek··on AirPods 5
There’s also the depth. A crt monitor would have a depth at least equal to the diagonal measurement which meant a lot of desk space lost to the monitor. On the other hand that also meant some prime cat nesting space that was lost with the lcd transition.
dhosek··on Claude, change the "Add to Cart" button to blue
You’re absolutely right, but I need to go to the bathroom/get some coffee/take a smoke break/get back to this task now so we’ll have to discuss this further later.
dhosek··on The 92-Year-Old Mathematician and the Teenage Apprentice
There is a link to the paper in the article: https://arxiv.org/abs/2607.05283
dhosek··on Discovery of a new OpenAI agent message board
I have managed to at least momentarily create a stop in spam at my specialist mediawiki. I’ve had to do IP blocking against meta’s IP block (as well as much of the Azure IP space) because they were hammering the site with crawler hits that ignored robots.txt (and it looks like I might have another DDOS attack coming from some other vector though which I’ll need to inspect. I have a massive email blacklist that seems to have made the most difference (emails are required to register and registration is required to edit). Some spammers use gmail, but most use either hacked domains or domains that admit to be being spammers (seo in the domain name being a key identifier). Maybe I should be blocking the OpenAI IP space as well.
dhosek··on .name Termination
There end up being some weird edge cases where there are some countries which have both the equivalent of .co.uk but also allow registrations directly under the two-letter country code as well. .mx is one such case where most business are, e.g., costco.com.mx, but it’s also possible to register directly under .mx as well so Toyota Mexico is toyota.mx and not toyota.com.mx (the latter is registered, and ostensibly to Toyota, but the whois and nslookup records give very different results and the website doesn’t load when I try to visit it).
dhosek··on I wanna live an NPC life
In my twenties, I had decided that I didn’t want to have side projects or a job that followed me home. I wanted to just go to work, come home and be.

Shortly after I made that commitment, there was a notice published that I was starting a typography magazine.

I had talked publicly about doing this, but it was something that I had planned on doing with my then-girlfriend who subsequently broke up with me and I decided that I would shelve it. But thanks to that notice, I started getting inquiries and I ended up doing the typography magazine anyway. I’m glad for the experience of having done it, less so for the negative impact it had on my finances for the next decade.

dhosek··on Dutch central bank moves share of gold from U.S., Canada to London
He’s doing exactly what he said he would do when he ran. People who voted for him can very much be held accountable.
dhosek··on No country for mediocre mathematicians
From what I’ve seen of what AI can do for coding, the part of software engineering that I like is going to be automated out of existence, much like the ability to do serious calculations by hand got automated out of existence with the development of computing. Writing code by hand will be as marketable as factoring 5-digit numbers in your head.¹

⸻

1. I enjoy doing both, but I doubt that anyone will pay me what I’ve been paid in the past for this five years from now.

dhosek··on No country for mediocre mathematicians
Yeah, I’m pretty much on a trajectory of building up as much retirement savings as possible before AI completely kills my career. The sweet spot seems to be about three years out. I honestly don’t know how to guide my 12-year-old son who loves math¹ and coding.

⸻

1. Which at his age essentially means solving computation problems, although he figured out how to take something like 0.3535… and turn that back into a rational number without any guidance at all.²

2. I want to see how close to the general solution he’s gotten on his own, but given that he’s not had any formal algebra, it’s damned impressive and bodes well for his future development.

dhosek··on Apple caught off guard by AI demand for Mac Mini and Mac Studio
Presumably this is on their roadmap. The Jobs-era thing would be to come in with something that people on HN would say, “yeah, I could do this myself with open source tools” but in practice falls into the category of “I could build this $30 thing for $15 for parts and then another $15 for the parts I had to replace because I screwed up the build the first time and then $30 to just buy the damn thing” that would really blow non-HN people away even if it is more expensive than most other local computing systems, but I don’t know what the Ternus-era Apple will be like.
dhosek··on I turned my security cameras into an automatic bird identification system
Apparently, yes: https://birdsoftheworld.org/bow/species/ivbwoo/cur/multimedi...
dhosek··on Google Has Removed MV2 Extensions from the Chrome Web Store, Including UBO
There’s a partisan floor¹ that’s in the neighborhood of 25–30% where people will vote for their party no matter what. The 2004 Illinois Senate election was a good test case where when the Republican nominee went down in self-inflicted flames and was hurriedly replaced with Alan Keyes, who had no in-state constituency and, being Black (which, no doubt was the cynical reason for his recruitment), eliminated the racist choice. He gained a mere 27% of the vote which is likely the floor for a major party candidate in a contested broad-population election (smaller-level partisan elections, whether for single congressional seats or in small states, generally have demographically skewed populations which can result in wider margins).

⸻

1. Although as I think about it, this may only be valid on the right side of the spectrum given the data points.

dhosek··on The art of CHIP-8
I was thinking that this was included in the Apple ][ Integer BASIC ROM, but when I checked it was Woz’s own special instruction set, SWEET-16 which gave compact (if slow) ability to do 16-bit coding on the 6502.

These sorts of things are loads of fun to implement to get a closer feel to bare-metal programming. XKCD published a 16-bit “CPU” machine language 15ish years ago and I remember everyone was rushing to do code golf implementations of it, although I think a slower-paced approach to the project is better for the educational aspects.

dhosek··on I turned my security cameras into an automatic bird identification system
Sorry, no luck tracking down your ex-girlfriend, but we do have a line on an ivory-billed woodpecker.
dhosek··on I turned my security cameras into an automatic bird identification system
Come on man, let us have a nice little alternate universe without peeing in our Cheerios.
dhosek··on I co-founded Burning Man. The festival has lost its soul
There was a sentence early on in the article, “San Francisco has always been a place people came to re-create themselves — running from something, running toward something exciting and unknown, going as far as they could for a shot at a new life.” although I think the tense there should probably be more “used to be” than “has always been” thanks to the same gentrification influence. I feel like much of California has had the same thing happen to it. When I first went to Los Angeles in 1986, it seemed a magical place with so much potential, but the expense and population growth over the last 40 years makes it nearly unrecognizable compared to the place I lived in then (I moved back to Chicago 15 years ago so it’s in the past).

When you read about people coming to California in the 60s and 70s (and somewhat in the 80s), it had that same magical quality that Burning Man had in the early years and has suffered the same kinds of changes. I wonder what the 2026 equivalent of going to California is now, if such a thing even exists or can exist.

dhosek··on Inception-style curved map for turn-by-turn directions
Yeah, there’s a tendency not to know with sufficient time, especially with heavy traffic.
dhosek··on U.S. State Department pauses immigrant visa applications
His first wife too.
dhosek··on Tracking Costco gas prices
When I first bought my current car, I downloaded GasBuddy, intending to use it to find the best gas prices and the reported prices on the app were uniformly wrong. After the first couple times I used it, I gave up and stopped using it.
dhosek··on Tracking Costco gas prices
Costco has a reputation for treating its workers very well, probably the best option in the retail world.
dhosek··on New Mac mini, featuring M6 and M5 Pro
There are some options, though, that you can’t even pre-order until October.
dhosek··on Black hole singularity is a surface not a point
I figure at least some of it comes from the idea that mathematically, a singularity is a point (e.g., in the graph of z=1/w, there is a singularity at the point w=0, and in the graph of z=(1-w)²/(1-w) there is a removable singularity at w=1 (that is, the function is undefined at w=1, but if you put a point at (1,0), the graph will be continuous and no longer have any holes in it). The fact that both have the same name and the similar behavior of a black hole singularity to a mathematical singularity¹ can lead people to make an incorrect assumption.

⸻

1. I must admit to a lack of sufficient GR education to feel confident in this, but I think that one of the issues that made physicists unwilling to accept the idea of black holes when they were first postulated was that there ended up being a division by zero in the mathematics.

dhosek··on Claudette: Make Claude stop talking like a BuzzFeed article
Hmm. I took a look at my claude output and I don’t see anything remotely like that in my responses. Occasionally a bit verbose, but none of this but “here’s the kicker” thing that the post claims, although I also notice that I’m using Sonnet which seems to be just fine.
dhosek··on Turns are Better than Radians (2022)
I’ve been writing code for 46 years. Not once have I had to code a derivative.

And for all the people who are concerned about how sin' 2πx = 2π cos 2πx, in actual code, it doesn’t matter. Let’s say that I’m writing a basic graphing function and I want to be able to display the slope of the sin curve at any point.

I am not going to expose the turn-based units to the user. Caring about slopes implies that I’m doing calculus and thus assuming radians. So even though my internal values are [0,1], I will label them as [0, 2π] (and the actual numeric values on the display may actually be something like [50,450] which is yet another numeric value we don’t display). So to get the slope at π/4, I’ll calculate cos_t 0.125 and display that value.

We do all kinds of unit translations in computing without worrying about it. This is just another case of that which observes that numerically speaking, using turns is better aligned with the underlying numerical algorithm for calculating trig values.

dhosek··on Turns are Better than Radians (2022)
It depends on your context, and is mentioned in the article. The advantage of turns comes from the fact that the implementation of sinᵣ etc. is internally doing a conversion to turns, so by using sin_turns directly, you avoid calculating π/π with every call.

It’s not a call for someone doing calculus or solving differential equations to abandon radians, just for the particular case of getting a numerical value for sin, cos, etc. from a library, having direct access to a turns-based function would produce faster code and also avoid some of the rounding errors that come from that π/π not to mention the imprecision of any angle that isn’t 0.

dhosek··on A decades-old bug in Knuth's long division (TAOCP Vol II, Algorithm 4.3.1D)
I have at least one Knuth check¹ from the days when they were actual checks, but to be honest, I’m not 100% sure where it (they?) are. I’m on the mailing list where potential TeX-related bugs appear and it’s crazy the level of detail people go to in looking for any remaining bugs in that software.

⸻

1. I know at least one of these came from porting lesser-known utilities to VM/CMS. By that time, DEK already had adopted a practice of having his secretary print his emails and he’d hand-write a reply and you’d get it in the mail.

← PreviousPage 3 of 34Next →