frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
1•todsacerdoti•1m ago•0 comments

Show HN: Cymatica – an experimental, meditative audiovisual app

https://apps.apple.com/us/app/cymatica-sounds-visualizer/id6748863721
1•_august•2m ago•0 comments

GitBlack: Tracing America's Foundation

https://gitblack.vercel.app/
1•martialg•2m ago•0 comments

Horizon-LM: A RAM-Centric Architecture for LLM Training

https://arxiv.org/abs/2602.04816
1•chrsw•3m ago•0 comments

We just ordered shawarma and fries from Cursor [video]

https://www.youtube.com/shorts/WALQOiugbWc
1•jeffreyjin•3m ago•1 comments

Correctio

https://rhetoric.byu.edu/Figures/C/correctio.htm
1•grantpitt•3m ago•0 comments

Trying to make an Automated Ecologist: A first pass through the Biotime dataset

https://chillphysicsenjoyer.substack.com/p/trying-to-make-an-automated-ecologist
1•crescit_eundo•8m ago•0 comments

Watch Ukraine's Minigun-Firing, Drone-Hunting Turboprop in Action

https://www.twz.com/air/watch-ukraines-minigun-firing-drone-hunting-turboprop-in-action
1•breve•8m ago•0 comments

Free Trial: AI Interviewer

https://ai-interviewer.nuvoice.ai/
1•sijain2•9m ago•0 comments

FDA Intends to Take Action Against Non-FDA-Approved GLP-1 Drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
5•randycupertino•10m ago•1 comments

Supernote e-ink devices for writing like paper

https://supernote.eu/choose-your-product/
2•janandonly•12m ago•0 comments

We are QA Engineers now

https://serce.me/posts/2026-02-05-we-are-qa-engineers-now
1•SerCe•13m ago•0 comments

Show HN: Measuring how AI agent teams improve issue resolution on SWE-Verified

https://arxiv.org/abs/2602.01465
2•NBenkovich•13m ago•0 comments

Adversarial Reasoning: Multiagent World Models for Closing the Simulation Gap

https://www.latent.space/p/adversarial-reasoning
1•swyx•13m ago•0 comments

Show HN: Poddley.com – Follow people, not podcasts

https://poddley.com/guests/ana-kasparian/episodes
1•onesandofgrain•21m ago•0 comments

Layoffs Surge 118% in January – The Highest Since 2009

https://www.cnbc.com/2026/02/05/layoff-and-hiring-announcements-hit-their-worst-january-levels-si...
7•karakoram•21m ago•0 comments

Papyrus 114: Homer's Iliad

https://p114.homemade.systems/
1•mwenge•21m ago•1 comments

DicePit – Real-time multiplayer Knucklebones in the browser

https://dicepit.pages.dev/
1•r1z4•21m ago•1 comments

Turn-Based Structural Triggers: Prompt-Free Backdoors in Multi-Turn LLMs

https://arxiv.org/abs/2601.14340
2•PaulHoule•23m ago•0 comments

Show HN: AI Agent Tool That Keeps You in the Loop

https://github.com/dshearer/misatay
2•dshearer•24m ago•0 comments

Why Every R Package Wrapping External Tools Needs a Sitrep() Function

https://drmowinckels.io/blog/2026/sitrep-functions/
1•todsacerdoti•25m ago•0 comments

Achieving Ultra-Fast AI Chat Widgets

https://www.cjroth.com/blog/2026-02-06-chat-widgets
1•thoughtfulchris•27m ago•0 comments

Show HN: Runtime Fence – Kill switch for AI agents

https://github.com/RunTimeAdmin/ai-agent-killswitch
1•ccie14019•29m ago•1 comments

Researchers surprised by the brain benefits of cannabis usage in adults over 40

https://nypost.com/2026/02/07/health/cannabis-may-benefit-aging-brains-study-finds/
1•SirLJ•31m ago•0 comments

Peter Thiel warns the Antichrist, apocalypse linked to the 'end of modernity'

https://fortune.com/2026/02/04/peter-thiel-antichrist-greta-thunberg-end-of-modernity-billionaires/
3•randycupertino•32m ago•2 comments

USS Preble Used Helios Laser to Zap Four Drones in Expanding Testing

https://www.twz.com/sea/uss-preble-used-helios-laser-to-zap-four-drones-in-expanding-testing
3•breve•37m ago•0 comments

Show HN: Animated beach scene, made with CSS

https://ahmed-machine.github.io/beach-scene/
1•ahmedoo•38m ago•0 comments

An update on unredacting select Epstein files – DBC12.pdf liberated

https://neosmart.net/blog/efta00400459-has-been-cracked-dbc12-pdf-liberated/
3•ks2048•38m ago•0 comments

Was going to share my work

1•hiddenarchitect•41m ago•0 comments

Pitchfork: A devilishly good process manager for developers

https://pitchfork.jdx.dev/
1•ahamez•41m ago•0 comments
Open in hackernews

Self-imposed ban – a lightweight bash script to block commands

https://github.com/alex-moon/ban
34•alex-moon•7mo ago

Comments

samrus•6mo ago
Why? I use the terminal but i have no idea how cli commands would get so distracting you have to parental lock yourself out of them like its entertainment or social media
haiku2077•6mo ago
On window managers like i3 or sway, you launch programs (including GUI applications) via their shell command in an autocompleting micro-menu.
hk1337•6mo ago
Ban yourself from vim so you don't get stuck in it for hours?
kjkjadksj•6mo ago
Some people get distracted by work and not social media during their down time
ABU_ALLIL_123•6mo ago
Lvoe
accoil•6mo ago
I have a small post command hook in fish that looks at arg0 and prints out any associated reminder for the program I just used. I use it to remind myself that I'm testing an alternative (e.g I used grep today, and it printed out a reminder that I have rg installed). I guess it could be used as a harsher version of that.
jmholla•6mo ago
Why have a dependency on Zenity instead of displaying the message in the terminal? Seems weirdly limiting to have a GUI dependency for a terminal application thus making this unusable on headless systems. I think you could make it optional and use STDERR if Zenity's not around.
yjftsjthsd-h•6mo ago
I assume it's meant to work for programs that aren't being launched from the terminal
xunil2ycom•6mo ago
My question exactly, minus the optional part. If it's a command-line tool, it should not require any GUI elements at all.
ramses0•6mo ago
So, I love that the README is nearly as long as the code itself.

Shorthand:

    PATH=$HOME/.bans:$PATH  # (prefix path with "banned" cmd-dir)
    printf "echo 'bad!'" > "$HOME/bans/some-cmd"  # (make `some-cmd` run `echo 'bad!'`)
...and then some goodies around tracking, reasons, etc... some niftiness around "auto-expiring" the banned command (self-deletes the "bad" shell script that's shadowing the actual command usage).

As to the sibling "why?" ... it's trivial to circumvent: `ban ls "I run it too much..."`, `/bin/ls` is still unaffected, `rm ~/.bans/ls`, etc... but I _do_ like the pause to allow a return to rationality, eg: "Hey, maybe I do run `ls` too much..." and then deciding how to proceed.

It'd probably be nicer if it did something like `(Bad) Chrome.app/*` on OSX, but as an exercise in shell gymnastics, I'm kindof all here for it! :-)

samrus•6mo ago
> "Hey, maybe I do run `ls` too much..."

This cant be a though someone has ever had. Your telling me people are getting addicted to the ls command?

lupusreal•6mo ago
I'm addicted to sl. I love those trains.
z_open•6mo ago
I am. Every time I cd I ls even though I know what's in there.
zamadatix•6mo ago
I think it's more an example of a "why did I just cd ls cd ls cd ls that directory tree instead of leveraging tab completion" type thing than "man, I gotta get over my ls addiction or I won't be able to provide for my family".

I've found myself doing similar hints to nudge more efficient-but-less-exercised things into my day to day usage. E.g. making /etc/crontab a comment to get more used to creating systemd timers instead. Otherwise I'd just do it without thinking.

zahlman•6mo ago
> why did I just cd ls cd ls cd ls that directory tree instead of leveraging tab completion

Sometimes I find myself repeatedly ls'ing even though I'm making good use of tab completion. There's something about seeing the names that helps with remembering what I was going to do.

hombre_fatal•6mo ago
This is why I like GUIs. Seeing the files that are modified in my git gui reminds me of what Im doing instead of running git status. And seeing all the available things I could do is more stimulating than having to keep coming up with the text commands to type.
johnisgood•6mo ago
For that I use Git Cola[1], it is quite nice.

[1] https://git-cola.github.io/

zahlman•6mo ago
Come to think of it, I would probably benefit from rate-limiting myself on `git status`.
zamadatix•6mo ago

  cd /etc/c<tab><tab>...
can list the names similar to

  cd /etc/<enter>ls c*<enter>cd c...
but there will always end up being times an actual ls is the right call, just not necessarily as ones default method.
max-privatevoid•6mo ago
Bad habits do happen. I forced myself out of `sudo su` and into `sudo -i` by configuring my sudo rule to allow any command except `su`.
ofalkaed•6mo ago
This popped up on HN last week: https://github.com/mieubrisse/cmdk I don't really get it but apparently some people really have issues with ls and cd and feel they use them too much.
skeptrune•6mo ago
Haha, this is fun
nikolayasdf123•6mo ago
kind of cool. like "App/Time Limits" in Apple
foxinsocks5•6mo ago
What if I ban rm too?
johnisgood•6mo ago
You will not be able to use the command. I am not sure if other scripts could, however. I have not checked the implementation.
msgodel•6mo ago
I wrote a similar piece of software but it just limits time spent on certain web sites per day.

It's amazing how much something so simple can change your life if you have a problem with that. I'd highly recommend everyone enable it. I think iOS has something like that built in too so you don't even need my stuff unless you're on eg Linux.

RS-232•6mo ago
> ban ban
teddyh•6mo ago
Frog put the cookies in a box. “There,” he said. “Now we will not any more cookies.”

“But we can open the box,” said Toad.

“That is true,” said Frog.

zahlman•6mo ago
Yes. It's still helpful.

The same arguments apply to, for example, leading-underscore names in Python code.

haiku2077•6mo ago
"That is true," replied a commenter. "But it has successfully worked for breaking my bad habits in the past."
nektro•6mo ago
wish the README showed an example of what trying to use a banned command looked like.

rather than this being useful to stop "distracting" commands i see this being useful in stopping agents from calling `rm` for example

nektro•6mo ago
oh i see, it installs a bash script in a PATH thats a higher priority than the real one.
autoexec•6mo ago
> i see this being useful in stopping agents from calling `rm` for example

I used to do that kind of thing a long time ago. MS-DOS wouldn't ask for confirmation when deleting files, so I'd use a hex editor to rename the del command, then create a batch file named del.bat that would ask if you really wanted to remove the file. Even had something like the recycle bin at one point to prevent accidental deletes.

You could even set up some very weak security by renaming commands like ls/dir and it could keep some casual snoops out of your system or prank/annoy someone else by replacing their commands to make them do funny things.

priyashpatil•6mo ago
What if I ban ban
SlightlyLeftPad•6mo ago
Yeah I’ve used this strategy simply to avoid accidents. If not for me, but also for others. On an old source control server, backed up of course, avoiding an errant “rm” or something else stupid can still save me hours of restore work, the outage and the RCA.
alex-moon•6mo ago
Woah thanks for all the comments everyone! To answer a recurring question: this is to prevent things from being called from bemenu (and its ilk) - definitely could have made that clearer in the README. Hopefully that clears up a lot of things.