Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_TwoFinger
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_TwoFinger
3y ago
Not PP, but I used to work for an automotive subcontractor company, and I've heard a few stories about fatal car accidents that lead to lawsuits, which proved that the car design was the reason for the accident, yet the car manufacture
2.
▲
Pagan Origins of the Christ Myth
(pocm.info)
13 points
by
_TwoFinger
3y ago
|
4 comments
3.
▲
by
_TwoFinger
3y ago
Your Indonesian is pretty good, sir. Have an upvote.
4.
▲
by
_TwoFinger
3y ago
For prose, it probably is the best, but have you tried it for programming? I find that my keyboard usage is dominated by text-editing shortcuts and punctuation characters. Not sure how well stenography would fit in. On a similar note, thoug
5.
▲
by
_TwoFinger
3y ago
Just want to mention sticky keys[1], as it seems often overlooked. Instead of holding the modifier key(s) when activating a shortcut, you can press and release each modifier sequentially. It does come with some of the fancy keyboards'
6.
▲
by
_TwoFinger
3y ago
Emphasis on "also". If you optimize a shell feature for general-purpose programming, interactivity will suffer (increased verboseness, usually), and vice versa. If we try to bring shells closer to the real PLs, instead of just usi
7.
▲
by
_TwoFinger
3y ago
> So, bash is a programming language, right? No, it's a shell that lets you interact with the OS. All the "clasical" UNIX shells were created with interactive use in mind and optimized for it, but happen to be good enough
8.
▲
by
_TwoFinger
3y ago
Ah, we are really just one smart kid away from extinction. Something something boson something neutron, and the Earth goes kaboom. Children can be very dangerous.
9.
▲
by
_TwoFinger
3y ago
> Missing semicolon. It's not missing. PP is making a point about "single-command variables."
10.
▲
by
_TwoFinger
3y ago
> I had to [...] and set my shell to bash/zsh Most likely a command in your script (or one source-d into it) makes an assumption about your $SHELL or login shell that is true for bash/zsh but not for fish. Merely adding a sheba
11.
▲
by
_TwoFinger
3y ago
> having to retype the whole filepath when using mv can lead to errors. If you use bash, or any readline-based command line (in emacs mode): mv long.file.name |^W^Y^Y results in mv long.file.name long.file.name | (| is the
12.
▲
by
_TwoFinger
3y ago
> we effectively have infinite vertical space It's only infinite if you scroll for infinitely long time . I think the author's point was about how much code you have on the screen at any given instant. Without having to scroll
13.
▲
by
_TwoFinger
3y ago
And to https://community.signalusers.org/
14.
▲
by
_TwoFinger
3y ago
I don't use the tiling at all. I use the multiple desktops feature a lot, though. Some programs are pinned to a dedicated desktop and run all day. Others I start in (or move to, later) a numbered desktop, and switch to them by changing
15.
▲
by
_TwoFinger
3y ago
Just an idea, if you find yourself unable to warm up to tiling: for_window [all] floating enable It's stupid, but I've been using this for a couple of years now.
16.
▲
by
_TwoFinger
3y ago
> If you're talking about Indonesians refererring to Indonesian in an English language context, yeah yes, my only source for my previous comment was a passport control officer asking me "do you speak bahasa" at the airport
17.
▲
by
_TwoFinger
3y ago
Indonesians themselves call it "bahasa". I guess the user you responded to is either Indonesian, or has been there.
18.
▲
by
_TwoFinger
3y ago
Your command doesn't sort, only inverses the initial order. It's equivalent to :1,5 !tac
19.
▲
by
_TwoFinger
3y ago
They mention history expansion, but only briefly. It is a favorite of mine. Learning the full syntax probably doesn't give good ROI these days of mice, but I think the following shortcut notations are worth knowing: Everything but the
20.
▲
by
_TwoFinger
3y ago
I think M-C-f and M-C-b do that.
21.
▲
by
_TwoFinger
3y ago
Here is my current keyd configuration (on US QWERTY hardware): https://dpaste.org/aGp3o/slim (I'm not entirely happy with it, though.) The one thing I wanted the most was to avoid any long presses. Everything that
22.
▲
by
_TwoFinger
3y ago
ADM-3A also has - the : key to the right of the 0 on the number row, no Shift needed. - the Enter key to the right of the P. I've made both changes to my keyboard layout and, not surprisingly, it's quite convenient. Downside is, y
23.
▲
by
_TwoFinger
4y ago
You can still do it with awk, but with different "ergonomics": awk -F= '$2 ~ /[0-9]+/ { print $2 }' With imaginative choice of FS and RS you can push it very far. Whether other people having to deal wi
24.
▲
by
_TwoFinger
4y ago
I remember one of the projects I was part of, in a big company. It was called Voyager, and was about porting the company's software, that was currently running on SunOS/SPARC, to Linux/x86. (As SPARC was about to be EOL'
25.
▲
by
_TwoFinger
5y ago
> it has poor handling of strings and I don't know how that fares with an editor extension language. I guess the parent refers to Lua treating strings as simple byte arrays, whereas a text editor has to deal with characters in vario
26.
▲
by
_TwoFinger
5y ago
I used actual toilet paper to write programs on for the first year or two after I started programming. (I just had no computer of my own.) This was not the kind of toilet paper you would see nowadays, though. It was not in a roll, but a dec
27.
▲
by
_TwoFinger
5y ago
> Not sure I will write my Makefile generator, since my project is also not that big. gcc has a family of command-line options starting with -M than can generate dependencies as a byproduct during compilation. The generated files are in
28.
▲
by
_TwoFinger
6y ago
> Uggghhhh, I loath being asked that. Some of them hate asking you too. Sometimes it's a policy forced on them by management, and they are to be fined if they skipped a customer. Overheard this in the bus, a cashier was complaining
29.
▲
by
_TwoFinger
6y ago
> The second then tried to imitate that manner, failing pathetically. Your comment reminded me of a similar experience of mine, but in reverse. I was washing my hands in the restrooms at work, and decided to drink some water. I bent over
30.
▲
by
_TwoFinger
7y ago
They might have falsified the statistics in order to boost people's morale, but they were also very serious about actually progressing. Bulgaria was under USSR's wing when I was a kid, and I have first-hand experience about that.
More ›