Better HN
topnewbestaskshowjobs
Log inSign up

dhosek

10,150 karma · joined Oct 22, 2010 (16y ago) · 4,065 submissions

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

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

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

Submissions

comment 1d ago · link · parent

I still have occasional nightmares about that. Once I got a 32-bit C/C++ compiler for DOS, I never looked back.

comment 1d ago · link · parent

I was having a hard time visualizing the dimensions, but it looks like it’s roughly the size of Holy Name Cathedral in Chicago (albeit a touch shorter and a touch wider so probably a bit larger in terms of area).

https://geojson.io/?map=19.88/41.89597/-87.6275

comment 3d ago · link · parent

Well it would have to because it’s bounded (must be less than 1¹) but continuously increasing.

⸻

1. That’s a weak upper bound. I hesitate to give a strong bound because from this view of the discussion, I can’t even see what I wrote and I’m too lazy to deal with it. This sort of thing is covered first in Calc II (or Calculus BC if you were fortunate enough to have it at your high school—I was a snotty kid and took the BC test and passed it even though I only had an AB class, so this is one of many weaknesses I have mathematically) and then again, assuming you take it in either real analysis or mathematical analysis.²

2. Fun fact, I did my undergraduate at the Claremont Colleges where what would be 100 classes are numbered 1–49, 200 classes 50–99, 300 classes 100–149 and 400 classes 150–199 with graduate level classes being 200+. My first undergraduate class, was titled “Fundamentals of Mathematics” and numbered 103 and my grad school advisor thought it was a remedial class and not the in-depth introduction to advanced mathematical proof techniques that it was.

comment 4d ago · link · parent

There was some movement that way, but it was a skunkworks project and not part of the official plan, as I recall.

comment 4d ago · link · parent

Indeed, until I saw the top comment identifying Alpoge (and after skimming over the post), I was thinking this was a mathematically-inclined Anthropic employee, not a full PhD research mathematician with a wide track record of accomplishment in the field.

comment 4d ago · link · parent

No, that’s not the definition of the … in a repeating decimal. The definition is the limit of the sequence .9, .99, .999, … as the number of digits reaches infinity.

comment 4d ago · link · parent

But will you get there? After all 0.012345… also satisfies your statement but is clearly not 1.

comment 4d ago · link · parent

31 in base 2 is 3*2+1=7. Digits retain their meanings from base 10, but place values change.

Likewise AB in base 10 is A*10(=10*10)+B(=11)=111.

comment 1w ago · link · parent

In 2006–7, knowing HTML and CSS could get you $30/hour still which was years after the dotcom collapse.

comment 1w ago · link · parent

Given that ratings are by backlinks, and from my experiences battling linkspam on a mediawiki site, I would guess that it’s a site that was directed to by backlink spam.

comment 1w ago · link · parent

At age 7, my son had taught himself enough computing that he figured out how to rewrite a program he’d done in Scratch to the same program in Python.

comment 1w ago · link · parent

Type 3 are PS programs, Type 1 are a special format whose format was not published outside of Adobe until the late 80s when they published the “black book” which had the format description covered in it. It’s a more compact format, with more limited capabilities (strictly splines and hinting information for each character) which I have only a vague recollection of now since it’s many decades since I dealt with data at that level.

PDF began life as a simplified PS, stripping out the programmability aspects of the language and then gradually adding in new complications along the way because, it seems, any document specification language eventually evolves into a Turing-complete programming language.

comment 1w ago · link · parent

I find it amusing that so many of the comments were surprised about hand-assembling 6502 code. When I came to the Apple ][, assemblers were relatively more accessible, but even at around $200, it was well beyond my financial means so I would write code longhand in spiral bound graph paper notebooks in four columns: Addresses, labels, hex codes (up to three bytes per opcode) and then the assembly code.

And that $200 being out of bounds went pretty low: for the first couple years of my programming life, floppy disks were beyond my means, so any code I wrote lived in its official version as hand-written code and would have to be retyped any time I wanted it.

comment 1w ago · link · parent

I got to watch traffic shift from cloud IPs to residential proxies in real time after I blocked the cloud IPs. It’s endless whack-a-mole.

What really pisses me off was Meta’s bots ignoring robots.txt when I tried to prevent high levels of traffic hitting meaningless URL variants on a Mediawiki site. Everybody else stopped hitting those URLs but not Meta which was flooding me with so much traffic it was impacting site performance. There source IPs and user agents are now banned.

comment 1w ago · link · parent

Unless you’re being ironic, the claimed intent was that coverage would stay stable or increase and employment would increase.

comment 2w ago · link · parent

I’ve found that while vibe coding can be effective, anything with complexity takes more than a 1-shot prompt to get there. The amount of work that comprises a single scrum story is about the right amount to do with a single prompt and even that requires some review and revision. So 1-shot your payment system, hell no, but writing a payment system without writing code is possible although I would think it still would take enough time that I wouldn’t choose that over a reasonably priced SaaS.

comment 2w ago · link · parent

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).

comment 2w ago · link · parent

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.

comment 2w ago · link · parent

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.

comment 3w ago · link · parent

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...

comment 3w ago · link · parent

“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.

comment 4w ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

And no one mentions the Monty Python sketch about woody and tinny words? https://www.youtube.com/watch?v=-gwXJsWHupg

comment 1mo ago · link · parent

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).

comment 1mo ago · link · parent

Costco made a decision a few years back that they were going to only sell books as part of their Christmas seasonal offerings.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

(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.)
12345
136