Recent submissions

Comment · 3 years 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 manufacturer just payed "damages" to the relatives (or settled out of court, maybe) and never bothered to change the design. Apparently, it was more expensive to reconfigure their production pipelines than pay for an occasional death.

That said, this is probably what any big enough company would do. So your point still stands, maybe car manufacturers are no different.

Comment · 3 years ago
Your Indonesian is pretty good, sir. Have an upvote.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years 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 using those PLs when it matters, we'll lose some of things that made shells attractive in the first place.

Comment · 3 years ago
Comment · 3 years 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.

Comment · 3 years ago
> Missing semicolon.

It's not missing. PP is making a point about "single-command variables."

Comment · 3 years 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 shebang won't fix such a script.

Comment · 3 years 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 cursor). Then, you just edit the second copy of the filename. BTW, M-C-b/M-C-f will move by one whole "argument" (even if it contains escaped spaces).

edit: and if your filename has spaces, replace the ^W above with M-C-b C-k

Comment · 3 years 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 or jump.

Comment · 3 years ago
Comment · 3 years 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 the desktop. Often, most of the desktops contain only one window.

I once used i3 and sway the right way, of course. I guess I had one too many of those programs that were not designed to work at arbitrary window sizes, added the above rule and called it a day.

Comment · 3 years 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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton