HNHacker News
TopNewBestAskShowJobs

dhosek

10,129 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 Harmony Explained: Progress Towards a Scientific Theory of Music (2012)
In the 00s, I sang in the Holy Name Cathedral choir and we did a lot of 20th/21st century choral works with harmonies that strayed very far from the classical tonal vocabulary to the point where when I was doing my own composition work, I realized that I didn’t hear dissonance any more.
dhosek··on How real are real numbers? (2004)
One could make the argument that the only numbers that actually “exist” are the natural numbers, but the question ultimately is can you model any real number in the physical universe. Modeling ½ is simply a question of picking a unit to be 1 and finding its midpoint (or for that matter, declaring two apples to be “1” and thus a single apple would be “½”, although it’s a bit of a challenge to use apples to model (2-√3)/5
dhosek··on How real are real numbers? (2004)
Except that you’re assuming that 1 must necessarily correspond to that minimum distance. Keeping that situation, we can just say that 1 corresponds to two inches and then realize 1/2 as that number.

Classical geometry (a la Euclid) allows for constructing a lot of numbers. We get natural numbers pretty cheaply, negative integers through adding in a concept of directionality (zero is a bit of an imaginative leap which is why it was absent from Western mathematics for so long). Constructing arbitrary ratios is possible through similar triangles and square roots through right triangles, but some basic algebraic numbers like cube roots cannot be constructed with a ruler and straight edge (which raises the question of whether, in a quantized universe, whether irrational cube roots actually exist). Of course there’s no guarantee that the quantization is going to be uniform and we also have the ɣ factor of special relativity (1/sqrt(1-v²/c²)) which gives us a non-Euclidean space to complicate things, but it’s not clear that if you can find a value for 1 that allows you to get a measurement for every irrational number.

dhosek··on How real are real numbers? (2004)
I’ve had this paper downloaded for about a decade and haven’t gotten around to reading it, but thinking about it, especially if space and time are quantized (an undetermined question last I checked and almost certainly still so), there would exist numbers in ℝ that cannot be expressed as physical quantities, even with an infinite universe. It’s possible that even the algebraic numbers include numbers that are non-physical (although it might be a larger subset of numbers than the constructible numbers depending on the structure of space-time’s quantization).
dhosek··on The Birth of the American 12-string Guitar (2013)
I was being loose with terminology, but yes, oud/lute family is more accurate.
dhosek··on The Birth of the American 12-string Guitar (2013)
I’m a bit skeptical of the claims given that multi-course tunings are almost as old as guitar-family instruments.
dhosek··on Shay Locomotives
This is one of those things that I learned about in my youth when I was a bit obsessed with model railroading (although that obsession only extended as far as dreaming and not actual building). I remember reading an article about Shays in one of the 70s model railroading magazines and I think had instructions for kitbashing one from existing model railroad parts.
dhosek··on Writing by hand is good for your brain
A musician friend used to actually do recording with garageband on an iPad. I use mine for sheet music a lot and even sprang for the external foot pedal for page turns. There was one rehearsal where I didn’t have a chance to scan everything in advance and was playing from printed music for one song and I kept stepping on the pedal to turn the page and nothing happened.

I’ve not done it, but it seems it could be a good alternative to a laptop for digital synth stuff.

dhosek··on My security camera shipped a GitHub admin token in its login page
I learned the correct pronunciation when someone laughed at me at a TeX conference in the 80s when I made a reference to the You-ler fonts. In my single semester of high school German I was either never taught or ignored the teacher when the pronunciation of eu was given (or perhaps I just never connected it with Euler).
dhosek··on My security camera shipped a GitHub admin token in its login page
Just as a pedantic aside, people often use Venn diagram when they mean Euler diagram. A Venn diagram always has the overlapping circles and use shading or labeling describe the set relation. Euler diagrams let the circles describe the relation so two non intersecting sets in a Venn diagram might share the left circle green, the right blue and leave the intersection blank or grey. An Euler diagram will have two disjoint circles.
dhosek··on Writing by hand is good for your brain
On the gadget front, I really love the paperlike screen protector for the iPad. This combined with the Apple Pencil made a huge difference in the usability of my iPad for writing/drawing. I still prefer to write on paper, but it’s really great for things like my writing group where we generally meet over zoom & I can give the author a marked up manuscript (with multicolor notes).

I’m also opposed to getting too precious about writing tools. So many people have drawers full of fancy notebooks with something on the first few pages and the rest empty. Get something and use it. Don’t matter if it’s a dollar-store spiral notebook or a fancy Leuchturm 1917 notebook, just as long as you use it. Same with the writing utensil. Pencil? Ballpoint pen? Whatever. I find these days I prefer to write using a cheap mechanical pencil (the kind they sell in bags of 20 at the supermarket), but I’ll use whatever.

I used to be really precious about these things. I only used college-ruled 9½×6 150-page spiral bound notebooks and wrote in 0.4mm fine-point felt tip pen. Did all my first drafts by hand. It ended up being an excuse to not finish stuff. I do most of my first drafts typing now, because it lets me get s⸻ done (although I still take notes by hand because that helps me remember what I took notes on better).

I don’t buy the cursive thing, mostly because I write slower in cursive than in print (although I have a handful of ligatures and abbreviations I use to speed up some things).

dhosek··on 10 REM"_(C2SLFF4
On an Apple ][, you couldn’t necessarily assume your BASIC code was going to start from the same location, thanks to the LOMEM command. I remember one of the things I wrote back in the day was a relocatable Assembly loader that would allow a bit of assembly code to be loaded to an arbitrary address in available memory and all the internal addresses (for, e.g., JSR or JMP or even some LD* commands, as I recall) would be rewritten to the correct location. I don’t really want to go back to writing code for 8-bit computers, but the challenges were certainly fun.
dhosek··on 10 REM"_(C2SLFF4
Indeed, even though I’ve never done this, when I saw a REM statement at the head of the file with random characters in it, I immediately assumed it was a bit of in-line assembly.
dhosek··on LG to ban residential proxies from smart TV apps
When I had Comcast internet, I could get on those, but it required a network profile to actually connect to the internet. That said, I wouldn’t put it past TV makers and Comcast to collude on using this to allow backdoor network exfiltration.
dhosek··on Flock Credibility Lost as It Repeatedly Lies to City Councils, Police, & Public
Why not both?
dhosek··on The Zilog Z80 has turned 50
I had no idea about the Exxon connection to Zilog. That was wild.
dhosek··on $100 AI Music Video: Claude Fable 5 vs. GPT-5.6 Sol
There was an interesting recent 99% invisible episode about the creation of videos for Karaoke in the 90s, which talked about videos created on very low budgets for songs with tight constraints. Even adjusting for inflation, their budgets would be well below a million dollars by today’s standards (and some costs would likely be lower thanks to digital video removing the cost of purchasing and processing film stock and making editing cheaper).
dhosek··on First atmosphere found on Earth-like planet in habitable zone of distant star
This is where English’s defective subjunctive makes life harder: The point wasn’t about the practicality of the probe from a scientific position, but rather pointing out that even in a best-case scientific scenario, the political-economic-cultural forces are against us.
dhosek··on Jurassic Park computers in excruciating detail
“It’s a Unix system. I know this.” was definitely the line from the movie most quoted in online spaces in the 90s.
dhosek··on Cursor 0day: When Full Disclosure Becomes the Only Protection Left
Isn’t this a Windows flaw where it effectively treats the current directory as the head of the path? (I remember the naïve olden days of people’s Unix Path starting with .) Or is Cursor going out of its way to execute a git.exe in the current directory?
dhosek··on Backtrack-Free Cursive
In California at the high school level, I think it’s only 1 or 2 years of PE.
dhosek··on Backtrack-Free Cursive
Illinois still requires cursive as part of their elementary education curriculum (although it’s an outlier in that it also requires PE in every year of K-12 education and also for public university degrees¹ (maybe also private?) as well as speech in both high school and again for a public university degree.

⸻

1. Typically this would only apply or a bachelor’s and maybe associate’s degree, but when I got my teaching credential/MS, because I had an out of state private college BA, I had to take undergraduate courses for state requirements including US Government, Biology, Speech and 2 PE classes. An ancient AP test score spared me having to take US History.

dhosek··on Old and new apps, via modern coding agents
The rest of my 6-person team (ranging in age from 20s to late 50s maybe early 60s) has been very reluctant to embrace AI despite the push from our manager to do so. I was very much on their side initially, but creating a few little tools to ease some of my burdens sold me on the possibilities. It does feel like cheating and I have to admit that for one of the tools I built,¹ I haven’t even looked at the code, but rather did a few rounds of back and forth with Claude to make the thing do what I needed and to address bugs that showed up as a result of putting it through some real-world usage.

⸻

1. A Mac menu-bar app to make it easier to know when I need to either do a PR or look at someone’s feedback on my own PR. Clicking the icon shows a list of all open PRs that I’ve created or that my review has been requested on (and clicking an item there will open the PR so I can act on it). If there’s a PR that I’ve not left comments on or approved, or if there are unreplied/unclosed comments on my PR or it’s been approved, a badge is added to the menu bar icon.

dhosek··on Designing and assembling my first PCB
OK, so people are ordering a custom PCB from China for a one-off? Whatever happened to making them at home? I remember my brothers doing this in the bathroom sink with a board coated with copper¹, some special markers to draw the circuit on the board and chemicals to wash off the extra copper. I’m guessing they might have used our dad’s electric drill to put some holes in the board as well, but looking at the article, this doesn’t seem like an order from China need.

⸻

1. Some details may be incorrect as I was 10, this was the late 70s and I only saw the results, not the process.

dhosek··on Old and new apps, via modern coding agents
Having started using Claude Code at work, I think coding as we now know it will probably no longer be a career path in 5 years at the outside.

I’m old. If I had to, I could retire tomorrow, albeit on a restricted budget. But I worry about the younger folks (like my 25-year-old nephew) who haven’t built up the resources to survive without working who are in the field right now. There’s going to be a mega disruption and writing code is going to go the way of calculating square roots by hand or hot metal typesetting. There will still people doing it, but it will very much be a niche endeavor.

dhosek··on Old and new apps, via modern coding agents
You could trust it to be probably correct but he wouldn’t have tried compiling it.
dhosek··on Billions of Sketches Reveal Hidden Cultural Variation in Human Concepts
The phone cluster was especially amusing to see in the context of visiting a small history museum in Ohio earlier today with my kids (12 years old) and explaining to them about how a rotary dial phone worked.

(The added bonus comes from watching Monsters and Minions with them yesterday and during a scene where the director is informed that they ran out of film, my daughter turned to me and asked, “What’s film?”)

dhosek··on The footgun of right-to-left decorative characters
This is true, but even in print, properly typeset, mixed LR/RL texts can end up having ambiguities thanks to line breaks.
dhosek··on The footgun of right-to-left decorative characters
The millions of people who write in RL languages would like a word…
dhosek··on The footgun of right-to-left decorative characters
Mixing R-L and L-R scripts (as has been discussed here on many occasions) is a ripe arena for mysterious behavior. Given that even monolingual texts in R-L scripts will often include L-R characters, it can get hairy quickly. A desire to try to avoid having visible markers in text around the transitions is partly why the Unicode spec around bidi text is so complicated.
← PreviousPage 5 of 34Next →