frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

France's homegrown open source online office suite

https://github.com/suitenumerique
352•nar001•3h ago•174 comments

British drivers over 70 to face eye tests every three years

https://www.bbc.com/news/articles/c205nxy0p31o
86•bookofjoe•1h ago•78 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
410•theblazehen•2d ago•151 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
76•AlexeyBrin•4h ago•15 comments

Leisure Suit Larry's Al Lowe on model trains, funny deaths and Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
10•thelok•1h ago•0 comments

First Proof

https://arxiv.org/abs/2602.05192
32•samasblack•1h ago•18 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
767•klaussilveira•19h ago•240 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
49•onurkanbkrc•4h ago•3 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
24•vinhnx•2h ago•3 comments

Show HN: I'm 15 and built a free tool for reading ancient texts.

https://the-lexicon-project.netlify.app/
5•breadwithjam•32m ago•2 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1019•xnx•1d ago•580 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
154•alainrk•4h ago•189 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
156•jesperordrup•9h ago•56 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
6•marklit•5d ago•0 comments

Software Factories and the Agentic Moment

https://factory.strongdm.ai/
9•mellosouls•2h ago•6 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
15•rbanffy•4d ago•0 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
100•videotopia•4d ago•26 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
7•simonw•1h ago•0 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
152•matheusalmeida•2d ago•41 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
260•isitcontent•19h ago•33 comments

Ga68, a GNU Algol 68 Compiler

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
34•matt_d•4d ago•9 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
273•dmpetrov•19h ago•145 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
15•sandGorgon•2d ago•3 comments

Google staff call for firm to cut ties with ICE

https://www.bbc.com/news/articles/cvgjg98vmzjo
98•tartoran•1h ago•22 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
544•todsacerdoti•1d ago•262 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
415•ostacke•1d ago•108 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
361•vecti•21h ago•161 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
61•helloplanets•4d ago•63 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
332•eljojo•22h ago•204 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
455•lstoll•1d ago•298 comments
Open in hackernews

Show HN: rm-safely – A shell alias that moves files to trash instead of deleting

https://github.com/zdk/rm-safely
14•zdkaster•5mo ago
I made rm-safely, a simple shell wrapper that moves files to trash instead of permanently deleting them. It prevents accidental deletions from autocomplete mishaps or hasty rm -rf commands.

Should work as a drop-in replacement for rm but safer.

Would appreciate any feedback!

Comments

Leftium•5mo ago
This moves files to the actual OS system trash/recycle bin: https://www.npmjs.com/package/trash-cli

- Working great on MacOS!

- For some reason the latest versions occasionally didn't work on Windows 11. (I forgot the actual reason...)

I aliased rm=trash and RM=rm so I could still access the real rm when needed.

spacebuffer•5mo ago
I don't think aliasing rm is a good idea because you might get used to rm=safe and cause a problem on an ssh server where this utility isn't installed
Leftium•5mo ago
Good point~

I use fish shell abbreviations, now.

`rm` expands into `trash` so I know it's been "aliased."

I don't ssh into servers often, but hopefully I'd notice `rm` didn't expand.

--

On a similar note, I used to alias `cd` to zoxide. But now I just use the default `j` to avoid confusion with `cd`

zdkaster•5mo ago
For some rarely use server, this could be the case. However, any frequently used servers that will always be some base configuration via ansible, dotfiles etc. that can add the base alias to the shell.
fn-mote•5mo ago
Technical comments: I don’t think Unix style should mix multiple purposes into one executable. I would keep save, restore, and list functions as separate executables.

I hope it was fun.

In case you were wondering, this is at least four decades late on the invention front.

zdkaster•5mo ago
Thanks for your feedback. Let me think through the interface a bit more.
mixmastamyk•5mo ago
trash-cli has existed for a while, although it may not work on MacOS. A feature comparison might be useful.
jasonhemann•5mo ago
There is indeed a similar, maybe even same, trash that works on MacOS and available on brew. Users are covered there too.
zdkaster•5mo ago
Similar, rm-safely is just a simple shell function though. you don't need to really install another specialty command, just copy over rm() function put them in your shell rc.
frontierkodiak•5mo ago
Rip2 is another useful alternative: https://github.com/MilesCranmer/rip2

I have a small wrapper around rip2, aliased to `recycle`; files go to a `graveyard` zfs dataset. I deny `rm` usage for agents, a simple (global) instruction pointing to recycle seems to do the trick for Claude.

Seems like a quick win to remove some downside risk and make me a bit more comfortable letting agents run wild in local workspaces.

faangguyindia•5mo ago
I just run stuff in seatbelt sandbox, it seems decent.
LegionMammal978•5mo ago
At least for me, over 90% of unintentional file deletions (not counting ill-considered deletions) are due to mv and cp rather than rm. Being careless with them can easily end up overwriting a file's contents with another. For instance, once I was typing out a few commands of form "cp foo.txt bar.txt baz/", but I inadvertently hit Enter before writing "baz/", causing bar.txt to get overwritten with foo.txt. I don't know of any good solution for this issue, apart from my current rule of thumb never to use more than two arguments at a time.
scbrg•5mo ago
If you're using the GNU implementations; --no-clobber, --backup or --update. Can be aliased too.
danillonunes•5mo ago
I don't know exactly what's the logic but sometimes I need to confirm a rm operation with an "y". Maybe cp and mv should have the same behavior for destructive operations.
setopt•5mo ago
> I don't know exactly what's the logic but sometimes I need to confirm a rm operation with an "y".

I believe some Linux distributions alias rm to either rm -i or -I in their default shell config.

kazinator•5mo ago

   $ > important-file-1.txt

   $ cp crap.txt important-file-2.txt

   $ ln -sf blah important-file-3.txt

   $ mv crap.txt important-file-4.txt

Now what?

Editor backups, git, real backups.

BrenBarn•5mo ago
My main fear with things like this is that using it will get me into a pattern of thinking I'm safe, so that then when I'm doing something on another system that doesn't have this, I'll accidentally make a mistake and won't be able to undo it. This is a fundamental problem with nearly all attempts to make things easier or safer. A lot of what makes things safe or unsafe has to do with our level of attention to what we're doing; conveniences that allow us to reduce our attention can paradoxically make things less safe unless they're baked in at the very lowest level.
zdkaster•5mo ago
Great point. Actually rm -i should be baked in our workflow so we can be a little bit more aware.
dvh•5mo ago
For the opposite there is "wipe" command but I'm not sure if it works on SSD too or only on classic magnetic disks.
emmelaich•5mo ago
You throw away stderr a few times: "2>/dev/null"; at worst this could hide real problems, at best it's not very helpful to the user.
bdhcuidbebe•5mo ago
Many apps already exist in this category.

They usually also follow XDG, and some are cross os.

I’m currently using https://github.com/Byron/trash-rs

Supports windows, macOS and Linux.

rini17•5mo ago
I muchly prefer btrfs snapshots with snapper. Protects against all kinds of mistakes, not only rm.