5 ms·
it's fascinating me that all of HSP's articles are manually justified monospace text. Pages and pages of it. That's quite hard to do? There's not a lot of doubl
by bazzargh 3y ago
it's fascinating me that all of HSP's articles are manually justified monospace text. Pages and pages of it. That's quite hard to do? There's not a lot of double-spaces or unusual punctuation so it's mostly achieved by word choice. I did wonder if there was some subtle css justification going on but apparently not; and you can see in articles from other authors on the site that the style is ragged right, but HSP never writes like that.
- danielheath 3y agoI always found it quite satisfying to do; many codebases I've worked on have mid-length block comments that are manually justified that way.
- nanna 3y ago> That's quite hard to do? Wouldn't that just be done by a text editor? Eg in emacs C-u 70 M-x fill-region. (There's probably a better way)
- nix0n 3y agoThere's no spaces at the end of the line. Every thing lines up exactly.
- sbierwagen 3y agoThere's no spaces at the end of the line. Every thing lines up exactly.
- ChainOfFools 3y agoHowever I have noticed that when he is posting as USER, in the context of conversing with chatgpt, he does not make an attempt to do this. or perhaps more accurately there is no way to do it without going back and editing text that had already been fed to the bot and thereby misrepresenting the prompts it was responding to.
- gwern 3y agoThis is a classic textfiles thing to do, yeah. It's one of the few ways to really be a virtuous with the typography. In part, it's because it's a proof-of-work - there's no way to automatically do it. I've been musing about using word embeddings + dynamic programming to do just that, however: you take a list of all possible synonyms with their embeddings, and calculate every rewrite that results in lining up exactly, and then choose the ones with the minimum cumulative embedding distance between the original words & their replacement.
- jml7c5 3y agoReminds me of this Super Metroid FAQ: https://gamefaqs.gamespot.com/snes/588741-super-metroid/faqs/10114 https://gamefaqs.gamespot.com/snes/588741-super-metroid/faqs...