News for hackers. Stuff that matters.
Re:Pwn.college by xavdid on Friday November 06, 2026 @03:45AM (#50389755)
Not sure if the devs are here, but please don't justify your text! It makes the lines all have huge spaces in the middle. It's much harder to read as a result.
Re:Pwn.college by Groxx on Friday November 06, 2026 @04:00AM (#50389873)
[delayed]
Re:Pwn.college by mnkyokyfrnd on Friday November 06, 2026 @07:01AM (#50391350)
rivers, contextual word splits, compound noun splits, awkward pauses, there is so many downsides to mindless text justification. Only editorialised and hand crafted justified text is nice. Everything else ends up forceful and ugly.
Re:Pwn.college by cubefox on Friday November 06, 2026 @08:24AM (#50392011)
Strange that online it fell out of favor, because text justification was the default for centuries. It's still around in PDF though, e.g. in research papers.
Re:Pwn.college by Georgelemental on Friday November 06, 2026 @09:24AM (#50392634)
When there was a person physically typesetting every line, the justification wasn't generally "mindless"
Re:Pwn.college by cubefox on Friday November 06, 2026 @10:08AM (#50393250)
I suspect the print typesetting has largely been automatized for several decades.
Re:Pwn.college by jonhohle on Friday November 06, 2026 @11:35AM (#50394631)
Is there a difference between the rules TeX uses and HTML renderers?
Re:Pwn.college by deathanatos on Friday November 06, 2026 @12:03PM (#50395042)
AIUI, yes, most browsers use greedy line breaking by default. E.g., FF does not do Knuth style[1].

This led to the CSS `text-wrap` property, and `text-wrap: pretty`[2], but pretty is not supported in FF yet, and the value `pretty` doesn't mandate Knuth's algorithm.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=630181

[2]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...

Re:Pwn.college by behringer on Friday November 06, 2026 @06:38AM (#50391132)
Don't listen to this. Justified text is much much easier to read.
Re:Pwn.college by kccqzy on Friday November 06, 2026 @08:23AM (#50391999)
[delayed]
Re:Pwn.college by cubefox on Friday November 06, 2026 @08:31AM (#50392072)
The text justification would look a lot better with CSS "hyphens: auto".
Re:Pwn.college by adamdoupe on Friday November 06, 2026 @09:50AM (#50392995)
Man I said this years ago and was overruled. Many your comment will help convince them!