Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
urxvtcd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
urxvtcd
4y ago
While I _think_ I understand monads on some rudimentary level through how join and bind operate, your "just sequencing" doesn't tell me anything. And this is a problem with a lot of these texts. Maybe that's trivial to t
62.
▲
by
urxvtcd
4y ago
I did try this mode some time ago and found it really inconvenient. Also I'm not a person to dismiss IDEs, and I never recommend Vim to anyone I know as a better way of coding. No hard feelings, I see how you might have read that from
63.
▲
by
urxvtcd
4y ago
Heavy shell and vim user here, but I simply cannot imagine how this might be convenient. A bunch of readline-style shortcuts will do the job just fine. And they are everywhere. SSH, database prompts, even login screens support them.
64.
▲
by
urxvtcd
4y ago
The better phrase might be the "tar pit of immediacy", from the Unix chainsaw talk by Gary Bernhardt. Highly recommend: https://www.youtube.com/watch?v=ZQnyApKysg4
65.
▲
by
urxvtcd
4y ago
I think the GP is aware of that, and just decided it's too much of a hassle. I used pass for few years, and have recently switched to bitwarden. I know my way around git well, but I just never remembered to push the new passwords from
66.
▲
by
urxvtcd
4y ago
I once forgot root password to my FreeBSD installation, I spent a lot of time trying to remember it but failed. So I did a reinstall, and obviously recalled it when prompted to come up with a new one.
67.
▲
by
urxvtcd
4y ago
I always do L like Elisabeth and N like Enigma.
68.
▲
by
urxvtcd
5y ago
You just want to merge the repositories, there are plenty of guides online. You need to realize that git has pretty simple internals, so the procedure looks like this: 1. Inside one repository you add a reference to the other repository wit
69.
▲
by
urxvtcd
5y ago
I like to include the following line in my template: # Co-authored-by: Firstname Lastname <f.lastname@company.com> so I can quickly uncomment this and fill in the name of the person that helped to author the change. It even i
70.
▲
by
urxvtcd
5y ago
I have capslock configured to act as control when held down, and as escape when tapped. Best thing since sliced bread.
71.
▲
by
urxvtcd
5y ago
So the dash in `-czf` if optional? Which reminds me: why does ps have two sets of options again?
72.
▲
by
urxvtcd
5y ago
openssl reminded me of gpg, wow, this one is horrible, and manuals don't help at all.
73.
▲
by
urxvtcd
5y ago
Nearly everything that packs or unpacks stuff. tar, gunzip, and else. I can never remember if they are going to unpack everything into a subdirectory or spill everything into my home, and conversely I never know if after zipping there'
74.
▲
by
urxvtcd
5y ago
Ironic that the lines on the page are well over 200 characters.
75.
▲
by
urxvtcd
5y ago
Not a blog post, but a piece of Kurt Vonnegut's talk randomly found on youtube had an impact on me: https://www.youtube.com/watch?v=GOGru_4z1Vc
76.
▲
by
urxvtcd
5y ago
I'll risk giving an impression of being set in my superior ways: just type Ctrl-D as it suggests? It works for every readline-like environment, like shell, ssh session, redis cli, and so on.
77.
▲
by
urxvtcd
5y ago
Just remember that --force-with-lease only protects you from overriding commits you have not yet fetched.
78.
▲
by
urxvtcd
5y ago
It's also possible (if difficult) to recover files which have been git-added and not commited. The only files git can't recover are the ones that it hasn't registered in the first place.
79.
▲
by
urxvtcd
5y ago
> And if I push without first pulling I think I know git well, but you got me confused. I've never heard of pushes causing merges. Surely you are talking about pulls, right?
80.
▲
by
urxvtcd
5y ago
I just looked it up and found this pdf[0] on some technique for divers I didn't bother to understand, but it contains an instruction (Step 3: Learn to control the soft palate) how to get a feel for this. It's not really nostrils,
81.
▲
by
urxvtcd
5y ago
Hand grinders are quite nice return of investment, for the same quality of grind you can pay a lot less, because there is no engine etc. Also hand grinders have much less of a problem with retention.
82.
▲
by
urxvtcd
5y ago
You can also use part of commit message to find that commit, so if you want to fixup "Refactor foo", you can run git commit --fixup :/foo
83.
▲
by
urxvtcd
5y ago
I always wondered why anyone would do this. IMHO modality and shells just don't get along well. Besides that, readline-like bindings are both good enough and you're likely to encounter them in the wild when working with ssh, datab
84.
▲
by
urxvtcd
6y ago
Not sure why you are being downvoted. You actually can use merge commits this way, by viewing the diff produced by git diff $merge_commit^...$merge_commit^2 when interested in whole change-set introduced by a branch or looking at i
85.
▲
by
urxvtcd
6y ago
I'd disagree. The longer the branch to rebase the larger the chance of conflicts occuring.
86.
▲
by
urxvtcd
6y ago
I mean, yeah, maybe that's the reason, I don't know. Still, I see no reason why you'd split features and limitations into two distinct sets. In Rust it's difficult to mess with memory: it's a limitation but also a f
87.
▲
by
urxvtcd
6y ago
No multiline lambda is a feature. It is convenient enough to use it like in sort(items, key=lambda x: x.size) but really anything much bigger should have a name stamped on it dammit. I find JS largely unintelligible due to lambda o
88.
▲
by
urxvtcd
6y ago
It's been a while since I last tried Vim emulation, so I don't remember the details, but I remember feeling impaired. :g and :v commands were missing, which is a big deal for serious vim users, I think? Though comments under yeste
89.
▲
by
urxvtcd
6y ago
The author has a series on youtube where he explains the basics of astronomy in a very passionate manner. First episode here: https://www.youtube.com/watch?v=0rHUDWjR5gg
90.
▲
by
urxvtcd
6y ago
I wrote a very simple soup content downloader some time ago, you can get it here: https://github.com/urxvtcd/soup-io-downloader It has some shortcomings, mainly content is saved under random file name without extension
More ›