Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnubison
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
gnubison
4y ago
Counterpoints: * Asciinema text uses the user’s preferred font instead of whatever monstrosity of a Comic Code font the developer happens to like * Asciinema text can be selected and copied * You can zoom in on it and it’ll still be high qu
62.
▲
by
gnubison
4y ago
And preferably use fileinput for the stdin so that you can name files on the command line as well
63.
▲
by
gnubison
4y ago
But then what would we talk about? The update?
64.
▲
by
gnubison
4y ago
Well, it takes like 10 seconds to learn Subversion to a usable level. So you could argue that it is a superior system … everywhere it’s viable.
65.
▲
by
gnubison
4y ago
Are you sure? My impression from e.g. https://stackoverflow.com/questions/13210239/can-a-c-compile... is that it’s alright to cast between a pointer to a struct and a pointer to its first member.
66.
▲
by
gnubison
4y ago
Searching google for "toki pona dictionary online", in an incognito tab, brings up three dictionaries. One of them (the one on zrajm.github.io) is identical to the one in the book. You can also find a copy in the Toki Pona disco
67.
▲
by
gnubison
4y ago
Or something like printf '%s\n' '/pam_smartcard\.so/a' 'auth sufficient pam_tid.so' . wq | sudo ex -s /etc/pam.d/sudo
68.
▲
by
gnubison
4y ago
The dictionary is released into the public domain :)
69.
▲
by
gnubison
4y ago
I agree with the core idea of this, but have you personally watched 3B1B? It feels to me like a largely isolated case, and I hope “remote learning” does not become the norm, but … it is really amazing.
70.
▲
by
gnubison
4y ago
> The VI keyboard shortcuts only make logical sense on a specific Tektronix 4014 terminal that was popular at the time: 46 years ago. vi is more than hjkl, and those four non-mnemonic keybindings make up for it by being extremely easy to
71.
▲
by
gnubison
4y ago
Not sure how my comment is “exactly backwards” — it’s logically consistent with your (new) comment. My point was that, relative to you , ye makes a case distinction (nominative), and that relative to you , thou makes a number distinc
72.
▲
by
gnubison
4y ago
“Ye” is just the nominative case (like “I” vs. “me” being accusative), it has nothing to do with number. Thou/thee is the one with number.
73.
▲
by
gnubison
4y ago
It’s nice if you would prefer to use a custom allocator, or put small buffers on the stack. But yeah, it is more annoying to use.
74.
▲
by
gnubison
4y ago
They’re in wikitext, which looks to be considerably less semantic than the crawled data. I’m not sure that’s the reason, but it could be a reason.
75.
▲
by
gnubison
4y ago
> P.S. Now that I think of it, ssh implementations have to "sync" local and remote tty parameters or at least make it look sane for the user Hadn’t thought about this before, but I think only window size needs to be synced (may
76.
▲
by
gnubison
4y ago
Note that, although bash handles this case, the terminal never interprets ^C or backspace or ^U or anything like that. That’s all in the tty driver — see OpenBSD’s termios(4) for information on how to configure it. In general, “smart” progr
77.
▲
by
gnubison
4y ago
My guess: The ssh client on your local end receives a 0x03 byte directly from the terminal, because it has disabled ICANON and ISIG and whatnot, and forwards it to the remote connection. The remote sshd then feeds the 0x03 byte to the pseu
78.
▲
by
gnubison
4y ago
And, more importantly, for programs like vi and Emacs that want to handle rendering themselves.
79.
▲
by
gnubison
4y ago
Closer to toggling in the case of ^?.
80.
▲
by
gnubison
4y ago
More importantly, how do you know whether the keystrokes should be displayed at all? For example, take vi. When it starts up, it sets cc.c_lflag &= ~ECHO (basically like “stty -echo”) so that normal mode commands aren’t printed onscre
81.
▲
by
gnubison
4y ago
Perhaps those movies are next :) … and it seems to me you could make this argument about any positive action, if you wanted.
82.
▲
by
gnubison
4y ago
I think fish is the outlier here, not the norm. It’s specified in POSIX and most non-POSIX shells like zsh and rc support it.
83.
▲
by
gnubison
4y ago
From another perspective it’s more regular that position doesn’t matter. (This behavior works in all POSIX shells, zsh, rc, etc. But not fish :p)
84.
▲
by
gnubison
4y ago
‘<file.txt blah’ works just fine.
85.
▲
by
gnubison
4y ago
Or <file cmd, to preserve the order.
86.
▲
by
gnubison
4y ago
OpenBSD pledges aren’t normally used for child processes, they’re more for “okay this program has super well-defined needs, let’s make sure (in its own source code) that it won’t be able to do anything else”. So a wrapper program wouldn’t r
87.
▲
by
gnubison
4y ago
> YouTube videos that now always start with a ~5 seconds extract which spoils the entire video I vastly prefer this to the kind of “informational” video that’s designed to keep you watching a 10 minute video for the 10 second answer
88.
▲
by
gnubison
4y ago
I’d say it’s a kind of idiomatic phrase (?) — “great reads” where a “read” is a “thing to read” (like one could use “read” in “comfort read”). In other words: language
89.
▲
by
gnubison
4y ago
GP isn’t arguing for “we should behave like animals”, they are just using it to show inconsistencies in GGP’s argument.
90.
▲
by
gnubison
4y ago
In what way? Ed is interactive so you’d be able to act out your script line by line and check for mistakes, which seems easier to me. If you’re cognizant about the differences between ed and ex, you could even debug with vi.
More ›