Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
refp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
refp
1mo ago
FAQ updated: https://refp.se/articles/your-shell-and-the-lazy-exclamation... really appreciate the feedback, thanks a million!
2.
▲
by
refp
1mo ago
I think you are very much on point, I can definitely relate to the complexity of C++ turning it both into a wonderful adventure, but also a swamp where every step feels uncertain. Disclaimer; author of this post, and also https://
3.
▲
by
refp
1mo ago
Also, on the note of "you can do everything with Alt-<key>", I'd like to highlight that modifiers such as `:h` (directory part), `:t` (filename), and `:r` (strip extension) etc., is what the article was aimed at when sa
4.
▲
by
refp
1mo ago
Author here, thanks for reading and taking time to reply! --- You are very much correct that `Alt-.` with modifiers can do more than what has been described, it is however important to note that the behavior of `Alt-<key>` changes hea
5.
▲
by
refp
1mo ago
Your questions would be a great addition to the FAQ, thank you! -- > When I enter `sudo !!` will it be stored unchanged in the shell history, or stored after interpolation of `!!`? event-designators themselves do not end up in history,
6.
▲
by
refp
1mo ago
Worth noting that `ssh[up]` isn't available by default in bash nor zsh — though it wouldn't surprise me if helpers such as oh-my-zsh enables it for you. `ssh[up]` is certainly an awesome feature — though (perhaps sadly) not defa
7.
▲
by
refp
1mo ago
> you have to accurately remember the past From personal experience I rarely reach for event-designators beyond the current viewport of the terminal. Referring to a command beyond that is, as you very much correctly point out, an easy
8.
▲
by
refp
1mo ago
the "mixing of sudo"-example is using `!!`, which as explained is the immediately previous command, a little confused how that translates to the "execute command somewhere in the history" argument?
9.
▲
CVE-2026-56852: x/text/Unicode/norm infinite loop on invalid UTF-8 (DoS)
(pkg.go.dev)
2 points
by
refp
1mo ago
|
0 comments
10.
▲
by
refp
1mo ago
I wonder which language creator would be hired to figure that one out; are you creative enough to think of one on the spot?
11.
▲
High-frequency trading firm just hired Bjarne Stroustrup (creator of C++)
(efinancialcareers.com)
5 points
by
refp
1mo ago
|
3 comments
12.
▲
A shell exclamation mark is not for yelling. Be lazy
(refp.se)
170 points
by
refp
1mo ago
|
79 comments
13.
▲
My girlfriend broke up with me – This is my body's reaction to the news
(reddit.com)
7 points
by
refp
2mo ago
|
0 comments
14.
▲
by
refp
2mo ago
https://www.reddit.com/r/dataisbeautiful/comments/1v874lz/my... I submitted the above link, seems HN is rewriting it automatically. :-/
15.
▲
by
refp
2mo ago
> My girlfriend sat me down on June 20th and told me that she had been cheating on me and was choosing to be with "the other man". > This is my body's reaction to that news. > HR, Sleep, and Energy scores record
16.
▲
by
refp
2mo ago
I think you should take a deep breath and read this updated FAQ: https://refp.se/articles/your-shell-and-the-magic-colon#why-... I am not asking anyone to put this in production, it is a tongue-in-cheek/cute way o
17.
▲
by
refp
2mo ago
This question seems to pop up all over the place, so I took some time to answer it here: https://refp.se/articles/your-shell-and-the-magic-colon#why-...
18.
▲
by
refp
2mo ago
damn, nice one — definitely gonna use this myself (or variations thereof)!
19.
▲
by
refp
2mo ago
DUDE! I wrote my first real `.ps1` the other day for auto-installing all dependencies needed to run a `gitea`-runner on windows for windows builds; powershell - felt like the lover I never had. And the documentation in readable comments at
20.
▲
by
refp
2mo ago
I have never been in this situation before but I do agree with you, and honestly it feels very bad. I saw the comment when it was posted and, perhaps naively, thought "oh well, no one will care - its just another fluff comment". F
21.
▲
by
refp
2mo ago
They are NOT superflous, and all you need to prove it is `zsh` (but there are others that follow suit in similar fashions): zsh% echo "hello world" > data zsh% < data && echo "READABLE" # <- w
22.
▲
by
refp
2mo ago
First of all, I must salute you on the joke; well put haha! --- It is a (contrived) example of usage where a command is required and `:` can fill in the blanks. There are certainly scenarios where negating an expression becomes harder than
23.
▲
by
refp
2mo ago
Hey jiveturkey, author here! I agree with you, and for what it's worth the truncation snippet is very much tongue-in-cheek much like `( : >> output ) && echo "is writable"`. I wasn't expecting anyone to act
24.
▲
by
refp
2mo ago
Yo, author here. You are very much correct and I 100% agree with you, I have updated the first example to include a snippet where a proper env-var is used to show of the automatic diagnostic. Thanks for your feedback, much much appreciated!
25.
▲
by
refp
2mo ago
The comment in question is a joke; it was never intended to be read as actual advice.
26.
▲
by
refp
2mo ago
perhaps we better add a job to automatically order new IoT devices from amazon too; once a month is probably good enough not to suffer. I think we just invented Upgrades-As-A-Service.. only $50/month for freshly not-yet-known-to-be-b0r
27.
▲
OSS-SEC: 432 Linux kernel CVEs (in less than 32 hours)
(seclists.org)
23 points
by
refp
2mo ago
|
21 comments
28.
▲
by
refp
2mo ago
I remember when you were actually able to keep up with CVEs and you could (at least somewhat) prioritize patches while disregarding those which felt irrelevant. But now.. are we simply supposed to use our f̶a̶v̶o̶r̶i̶t̶e̶ package manager an
29.
▲
Why I stopped proofreading and started to listen
(refp.se)
2 points
by
refp
10mo ago
|
0 comments
30.
▲
Apple's fight with Europe continues as it removes iPhone feature in EU
(the-independent.com)
4 points
by
refp
10mo ago
|
0 comments
More ›