Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lyall
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
lyall
5d ago
I'm surprised that articles like this that are pretty clearly AI-generated get any sort of traction here. Is it because people think the topic is interesting but don't actually care about the content? > Three Japanese words, th
2.
▲
by
lyall
1mo ago
> Go to restaurant > Order food > Food comes out as raw, unprepared ingredients > Complain to chef > Tells me to go cook it myself > wtf, I'm not here to do work for free > "Is doing something for yourself rea
3.
▲
PrintingFilms.com
(printingfilms.com)
2 points
by
lyall
1mo ago
|
0 comments
4.
▲
by
lyall
2mo ago
There might be something valuable in this article, but if the you couldn't be bothered to write it yourself, why should we be bothered to read it?
5.
▲
by
lyall
2mo ago
Good call. I've updated to release script to always include the SRI hash in the README sample.
6.
▲
by
lyall
2mo ago
Yes! Just added support for them today after another HN user’s request: https://github.com/lyallcooper/justif/issues/3
7.
▲
by
lyall
2mo ago
Good eye! The space in "No. 12" would traditionally get a thin space [0] in professionally typeset documents, which is smaller than the standard space used for inter-word and inter-sentence spacing. The solution here is to fix the
8.
▲
by
lyall
2mo ago
It should be when the screen width is less than 456 css px with the current configuration.
9.
▲
by
lyall
2mo ago
Thankfully the unit it operates on is a paragraph, not the whole body of text. Also thankfully computers are very fast these days! I added the “Alice in Wonderland (long)” text sample to the demo as a stress test, but its paragraphs are sti
10.
▲
by
lyall
2mo ago
The layout is done entirely in DOM. The layout engine calculates the line breaks, tracking, expansion, etc. then applies the layout using HTML spans with the appropriate attributes applied. There’s generally one span per line, but that can
11.
▲
by
lyall
2mo ago
That's not something justif supports directly right now. It currently targets rectangular blocks, not arbitrary edge shapes. But the underlying line-breaking approach could accommodate per-line widths, so it would be plausible to add I
12.
▲
by
lyall
2mo ago
It is the default if you open the demo on a narrow screen! It has a more striking difference between browser and justif layouts at narrow widths than the Alice sample. But maybe you’re right and it should be the default for everyone.
13.
▲
by
lyall
2mo ago
Hyphenation: yes, justif does its own hyphenation. It ships with TeX’s hyphenation dictionaries for a bunch of languages, but supports custom dictionaries as well! See https://github.com/lyallcooper/justif#hyphenation
14.
▲
by
lyall
2mo ago
Yes, there is something to be said for this argument. Debit card and cash users pay slightly higher prices than they might otherwise, which do subsidize the rewards of credit card users. But this is distinct from the argument presented in t
15.
▲
by
lyall
2mo ago
You hear this argument pretty often, but it's not true. Credit card companies do make a lot of money off of interest. But they also make a lot of money off of interchange fees. Businesses want wealthy customers because they spend more
16.
▲
by
lyall
2mo ago
Thank you! And yes by default TeX doesn't do tracking or expansion, but the microtype [0] package does. And I did struggle a bit with deciding how best to do the comparison to native browser rendering. I wanted it to be an apples-to-ap
17.
▲
Show HN: Justif – Knuth-Plass justification and microtypography for the web
(justif.lyall.co)
198 points
by
lyall
2mo ago
|
40 comments
18.
▲
Show HN: Justif – publication-grade text justification for the web
(justif.lyall.co)
5 points
by
lyall
2mo ago
|
0 comments
19.
▲
by
lyall
2mo ago
If you saw TFA and thought "hmmm yes, I know some of those words", then I can recommend the author's own lecture series on YouTube [0]. It's an intro to and overview of category theory aimed at programmers, with the requ
20.
▲
Toto: From Toilets to E-Chucks [video]
(youtube.com)
1 points
by
lyall
3mo ago
|
0 comments
21.
▲
by
lyall
3mo ago
Agree with many other comments. Backrest is good and works well for me, though it certainly has its UI/UX quirks that hold it back from being truly great.
22.
▲
by
lyall
7mo ago
I’m going through something similar but with English instead of Spanish. That’s why I added the “kana readable” and “kana faithful” dimensions.
23.
▲
by
lyall
7mo ago
I don’t have a way to check built in right now. But you can look at the 2020 data here: https://raw.githubusercontent.com/hackerb9/ssa-baby-names/re... If your name is on there it’s probably included in namex. I c
24.
▲
by
lyall
7mo ago
If you’ve got a name that is very rare in the US then it’s possible! Any name that had at least 15 registered births over the last three years in the SSA data is included.
25.
▲
Show HN: I made a static site for exploring names
(namex.lyall.co)
4 points
by
lyall
7mo ago
|
8 comments
26.
▲
by
lyall
11mo ago
I agree, the worst part about climate change is motorcyclists riding past this guy's house.
27.
▲
Careful Communication
(blog.lyall.co)
3 points
by
lyall
1y ago
|
0 comments
28.
▲
by
lyall
1y ago
Yeah I agree. I way over-indexed on learning kanji (via WaniKani) at the beginning of my Japanese learning journey. I got about halfway through before realizing it was silly that I could read 健忘症 but didn't know many very basic hiragan
29.
▲
by
lyall
1y ago
When learning Japanese, I purposely chose to _not_ learn how to write any of it by hand. As the author notes, writing (by hand) is in fact a separate skill from reading. So I decided I would not invest my limited time, motivation, or brain
30.
▲
by
lyall
1y ago
I’m in the exact same situation. I’d like to drop emacs for Zed but magit keeps me coming back. That and Zed’s vim emulation isn’t quite up to par yet.
More ›