HackerLangs
TopNewTrendsCommentsPastAskShowJobs

returningfory2

2,393 karmajoined 6 lat temu

Submissions

Show HN: Hyphenate.dev: illustration of TeX's hyphenation algorithm

hyphenate.dev
5 points·by returningfory2·w zeszłym miesiącu·2 comments

[untitled]

1 points·by returningfory2·2 miesiące temu·0 comments

comments

returningfory2
·6 godzin temu·discuss
This information about the NYT is out of date; it's now easy to unsubscribe from anywhere.
returningfory2
·przedwczoraj·discuss
Same with leap days though?

The point is that it's weird that we handle a day every 4 years off in a different way to a couple of second being off.
returningfory2
·przedwczoraj·discuss
As one HN comment said years ago: I feel leap seconds have always lived in the wrong abstraction layer.

They should live in the same abstraction layer that does leap days and daylight savings: the time zones.
returningfory2
·11 dni temu·discuss
Fair point. Mainly I agree with the sibling comment: the revealed preference of many people around the world, including many people from the richest countries in Europe, is to move the United States and then settle permanently. I think that means a lot.

Obviously you can also say that the US is geopolitically successful because of its global military and diplomatic dominance, but I account zero value to this.
returningfory2
·11 dni temu·discuss
But the success hasn't ended since the unused land became taken; in fact, the US became a superpower after the westward expansion era. My point is that looking at conditions today, the US still continues to succeed (by some definition of success) and other countries should try to emulate the aspects of the country that leads to that success. IMO one of the big factors is how well immigrants assimilate in the country, and birthright citizenship is a part of that.

I do agree with you that US success in the 19th century was due to many factors that are not relevant today.
returningfory2
·11 dni temu·discuss
Given the US is one of the most (the most?) successful countries in recent human history, shouldn't it be the other way around? Shouldn't the 95% be looking at the US and seeing what to copy?
returningfory2
·26 dni temu·discuss
I've been building a bunch of UIs for my project Texcraft: https://hyphenate.dev and https://ligkern.dev.

Texcraft is an attempt to re-implement TeX with a modular/LLVM software architecture. These UIs take the same code in Texcraft that has identical behavior to TeX, and illustrates some of the inner workings of TeX. The lig/kern one is missing instructions :)

I have also found at least one bug in Knuth's TeX recently and am currently writing it up.
returningfory2
·29 dni temu·discuss
Thank for the suggestion, implemented it! Now all suggestions have at least one hyphen and one position where the patterns disagree (one pattern says hyphenate, another to not hyphenate). I discovered you don't necessarily need long words to get "interesting" hyphenation results; e.g. https://hyphenate.dev/zero.
returningfory2
·w zeszłym miesiącu·discuss
This product is for Postgres deployments that are so large they need to be sharded. For these use cases, I think 20TB is about normal.
returningfory2
·w zeszłym miesiącu·discuss
Recently the Supreme Court has curtailed these nationwide injuctions: https://www.scotusblog.com/2025/06/supreme-court-sides-with-...
returningfory2
·2 miesiące temu·discuss
Thanks for this great comment!

The motivation behind METAFONT is amusing to me because it seems to have some of the same hubris of the most extreme AI proponents nowadays: we can replace art by technology. I'm fascinated with TeX (and have spent a lot of my life rewriting it http://github.com/jamespfennell/texcraft) but I always found the situation with fonts in the TeX ecosystem a bit odd. There are people in our society whose vocation is font design (e.g. https://en.wikipedia.org/wiki/Robert_Slimbach). But the TeX ecosystem landed in a place where we use fonts created by computer scientists rather than font designers.
returningfory2
·2 miesiące temu·discuss
Your annoyance is understandable, but it's worth remembering: he is not your slave. He does not exist to do things for you. His providing you with something good for a time does not obligate him to provide it to you forever. Because he is not your slave.
returningfory2
·3 miesiące temu·discuss
In my experience turning off my phone solves the temptation to check it. The friction of having to turn on my phone is small but apparently enough.
returningfory2
·4 miesiące temu·discuss
Or old code referencing the bucket _writes_ data to it, and the attacker can now read it.
returningfory2
·5 miesięcy temu·discuss
No, Karen overstayed previously by 4 years when visiting Bill, that's why she had B-2.
returningfory2
·5 miesięcy temu·discuss
These stories usually have some non-trivial factor that is missing in the article. In this case there's a small visible red flag: the two tourists are British but traveling on B visas, rather than using the visa waiver program. Why? Well according the DHS they both have multi-year overstays in the US.

This doesn't justify the detention they went through. But it also means the lesson of the story is not "random tourists are being detained".
returningfory2
·6 miesięcy temu·discuss
Isn't it well known that the "protestors are foreign agents" line is just extremely transparent bs that governments use to silence dissent?
returningfory2
·7 miesięcy temu·discuss
Yes: E-2 visa. Though I suspect the investment amount has to be much higher than the Dutch requirement of ~$5k.
returningfory2
·7 miesięcy temu·discuss
I hope your wife is also glad!
returningfory2
·8 miesięcy temu·discuss
There's a whole subfield of economics that studies clustering in cities ("agglomeration"): https://en.wikipedia.org/wiki/Economies_of_agglomeration There are lots of benefits.

Also, my own take is that the high rent in NYC is sort of proof that the quality of life is high. Or at least, NYC is desirable. People are willing to pay a premium to live there, which is a strong signal of their preference.