All software sucks (2007) (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
IMHO we should reach for that golden middle path.
Replies (3)
For remarks about nostalgia, this website wasn't updated in a long time, so it's pretty dated (but still relevant IMO).
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
Many people from my circles prefer plain neovim/vim over VScode. I get why people would not choose to use ed. But there are - usable, simple and still powerful text editors like vis[1] or mg[2].
For me, I find that less software I use, both in terms of size and quantity, the saner my computer usage is, the less I want to spend time on fiddling with settings, fixing broken things and move on to do stuff. Which is the whole point.
1: https://github.com/martanne/vis
2: https://github.com/troglobit/mg
Replies (2)
And while I agree with that, I want to reduce accidental complexity¹ from software. TFA & its author want to reduce essential complexity, as well, i.e., they want to remove code that, to me, solves the entire problem we wanted solved. The result is "simpler" code, yes, but code that does not meet the requirements that I, as a user, have.
And that's how TFA ends up recommending "ed". Or, when I read an eBook, I do not want to have to deal with the PDF-on-mobile syndrome of zoom in, zoom out, pan, zoom in, zoom out, pan … because the document isn't formatted for my device's screen. But again: that's the recommendation (DjVu over ePub), because rendering a pre-rendered fixed page is less complex — but not useful.
¹See Out of the Tar Pit, §6, for the definitions I'm using for these: https://curtclifton.net/papers/MoseleyMarks06a.pdf
Replies (1)
They don't. Let's say you want to quickly edit some text. What does nano brings over from ed that is essential? Nothing much (if at all) and the codebase is very much bigger. Same thing with epub. The only book I've seen that is the size of a phone is the pocket bible (same width but shorter than an iPhone 13). Portrait mode should be roughly A7 while in landscape you can easily display A6. If you have the source file, it would be quite easy to produce a ps file formatted for A5 (tablet), A6, and A7. That would be quite transparent for the user, while dev dealing with the formats will have an easier time (instead of having to unzip, then parse an index file, then parse the html and css file, loading fonts and what not). Most viewer just embed a full web engine for the latter.
Replies (1)
because simple and elegant code is really more reliable and easier to maintain than complex code, also it's not just about simplicity but unix philosophy of "do one thing well"
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
you seem to be confusing the amount of code to do the same thing vs the scope of the whole program / application, vim/emacs clearly do more than simple text editing, this isn't a fair example, it's like comparing tetris and GTA VI because "both are video games"
Replies (1)
Replies (1)
Replies (2)
For some reason, the Ubuntu-systemd-tmpfs-whatever fell over and even after force-remounting root read-write (which succeeded) and opening /etc/fstab to remove the offending option, sudo vim failed due to a tmp file allocation failing. It couldn't display the file on the system console!
Using ed(1) worked and the offending line in /etc/fstab was fixed with a crude `s///` command.
Never thought a machine could be bricked so hard that ed(1) kept working after vim failed on a Ctrl-F1 Linux terminal. But Ubuntu managed that.
Replies (1)
sh$ screen rlwrap ed file.asm ;
4135
H
P
*g/syscall/n
*wq
Replies (2)