frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A shell exclamation mark is not for yelling. Be lazy

https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark
24•refp•5d ago

Comments

Terr_•29m ago
Rather than a sense of "cool" or "useful" somehow I end up just feeling despair at how organically convoluted it is to determine what something on a command-line really does. To be fair, I've always been biased towards "only the simplest scripts should be in shell languages."

This also adds an intriguing new dimensions to reviewing/verifying shell commands as benign and correct... How long until LLMs start (ab)using the trick in little requests they want me to approve?

RMPR•27m ago
If you really want to be lazy, use a terminal file manager (I prefer lf[0]) it helps avoiding the cd && ls dance. That way, your history only contains commands you actually would want to rerun.

0: https://github.com/gokcehan/lf

Joker_vD•27m ago
sigh The usability of ! versus Ctrl+R in a shell is pretty much the same as the usability of ed versus vi, or moving files around using cp/mv versus using Midnight Commander or the like: in the first case, you have to accurately remember the past (which for many people is pretty difficult); in the second case, you don't have to, because you always have an immediate view of the state of the system and the preview of the effect you're about to incur.

And yeah, I've done editing with ed; it definitely beats "cat >file.txt" and copying parts around with head/tail and retyping the corrections manually, sure, and it works in every environment that can take line-oriented input from the user (so, literally everywhere), but that's about as much praise as I can give it.

Terr_•21m ago
> in the first case, you have to accurately remember the past

Right, as a matter of (relatively trivial) cybernetics between man and machine, it rests on the weaker parts of the human.

TBF, it'd make a lot more sense if every command on screen (or given the timescale perhaps teletype paper prinout) was already labeled with the necessary number.

userbinator•24m ago
Every time someone brings this up, I think "oh right, I could do that" and then immediately forget. Especially if you can type quickly, it's easier to just "drive straight ahead" with the command you want, than add another "mental branch" to interrupt the flow. For the same reason I'll often Ctrl+C and start again instead of trying to backspace and correct.

The hardest working font in Manhattan (2025)

https://aresluna.org/the-hardest-working-font-in-manhattan/
149•dcminter•5d ago•19 comments

Compression is prediction

https://ngrok.com/blog/compression-is-prediction
463•nikolay•11h ago•197 comments

llama.cpp

https://llama.app
128•kristianpaul•2h ago•60 comments

WorldClaw Agentic 3D open-world generation at scale

https://tencent-hunyuan.github.io/Hunyuan3D-WorldClaw/
198•EwanG•9h ago•58 comments

The lifesaving secret hidden inside a horseshoe crab's blue blood

https://whdh.com/news/the-lifesaving-secret-hidden-inside-a-horseshoe-crabs-blue-blood-and-the-ra...
68•andsoitis•5h ago•19 comments

The Human Is the Loop

https://brentfitzgerald.com/posts/the-human-is-the-loop/
72•burnto•5h ago•27 comments

A shell exclamation mark is not for yelling. Be lazy

https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark
25•refp•5d ago•5 comments

Nvidia Nemotron 3.5 Lightning and NeMo Switchyard

https://blogs.nvidia.com/blog/nemotron-lightning-switchyard-rtx-dgx/
216•droidjj•11h ago•111 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://stolen-thoughts.com/
596•quantumgarbage•17h ago•269 comments

Mojo 1.0

https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here
368•dayanruben•14h ago•170 comments

OpenAI’s head of ethics leaves less than a year after joining

https://www.ft.com/content/e49dfb75-f841-4466-a577-f7aaff8779a0
393•ilamont•18h ago•396 comments

Dropbox is an obvious PE Target?

https://s-1.vercel.app/posts/why-dropbox-is-a-obvious-pe-target/
38•Taikhoom10•2h ago•43 comments

Grok Bot

https://x.ai/bot
252•rvz•13h ago•203 comments

DARPA heavy lift challenge ends with winner at a 3.84:1 payload to weight ratio

https://dronexl.co/2026/08/10/darpa-lift-challenge-results-avidrone/
16•daau•3h ago•2 comments

Making holograms with a pen plotter

https://blog.jordan.matelsky.com/Penplotter-holography/
151•DemiGuru•12h ago•15 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
262•sajomes•3d ago•243 comments

Flatworms, Ion Channels, and Burning Mouths

https://www.science.org/content/blog-post/flatworms-ion-channels-and-burning-mouths
24•surprisetalk•1d ago•1 comments

Show HN: Tamron Lens Utility Alternative on Linux

https://github.com/yikerman/tamron-lens-control
57•xiaoyu2006•4d ago•0 comments

Show HN: Line9 – A Mermaid rendering engine with its own layout

https://line9.ai/diagram
63•jumpalongjim•5d ago•14 comments

Retire the Abstractions

https://hazyresearch.stanford.edu/blog/2026-08-05-retire-the-abstractions
37•convexstrictly•6d ago•46 comments

Go is an ideal language for AI-assisted software engineering

https://developers.googleblog.com/why-go-is-an-ideal-language-for-ai-assisted-software-engineering/
340•0xedb•14h ago•403 comments

Jolt: Clojure compiler implemented with Chez Scheme

https://jolt-lang.github.io
186•mark_l_watson•3d ago•63 comments

England set to be one of the first countries to eliminate hepatitis C

https://www.bbc.com/news/articles/c75gk620r22o
524•stevekemp•18h ago•374 comments

Neutrinos from Deep Inside Earth Provide a New Picture of the Mantle

https://www.quantamagazine.org/neutrinos-from-deep-inside-earth-provide-a-new-picture-of-the-mant...
33•rbanffy•17h ago•2 comments

London Underground begins scanning passengers' faces

https://www.btp.police.uk/news/btp/news/england/btp-expands-live-facial-recognition-lfr-trial-int...
299•BlueBerry2001•21h ago•319 comments

CVE-2026-53361 AF_Unix GC vs. MSG_PEEK use-after-free container escape

https://github.com/sgkdev/bad_garbage
10•eyberg•3h ago•0 comments

How we used to get jobs: A newspaper classifieds story

https://ironicsans.ghost.io/how-we-used-to-get-jobs/
136•speckx•13h ago•105 comments

Manus will return to operating as an independent company

https://manus.im/blog/a-note-to-our-users
153•thm•17h ago•75 comments

CSS properties you should know for better text designs

https://master.dev/blog/typographic-css-tricks/
108•ibobev•14h ago•15 comments

Ethical Cold Outreach

https://blog.val.town/ethical-cold-outreach
38•stevekrouse•13h ago•54 comments