frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

LIGO detects most massive black hole merger to date

https://www.caltech.edu/about/news/ligo-detects-most-massive-black-hole-merger-to-date
43•Eduard•1h ago•18 comments

Kiro: A new agentic IDE

https://kiro.dev/blog/introducing-kiro/
544•QuinnyPig•6h ago•236 comments

Cognition (Devin AI) to Acquire Windsurf

https://cognition.ai/blog/windsurf
273•alazsengul•3h ago•202 comments

NeuralOS: An operating system powered by neural networks

https://neural-os.com/
21•yuntian•1h ago•5 comments

Replicube: 3D shader puzzle game, online demo

https://replicube.xyz/staging/
42•inktype•3d ago•5 comments

Building Modular Rails Applications: A Deep Dive into Rails Engines

https://www.panasiti.me/blog/modular-rails-applications-rails-engines-active-storage-dashboard/
105•giovapanasiti•5h ago•24 comments

Cidco MailStation as a Z80 Development Platform (2019)

https://jcs.org/2019/05/03/mailstation
25•robin_reala•2h ago•1 comments

Embedding user-defined indexes in Apache Parquet

https://datafusion.apache.org/blog/2025/07/14/user-defined-parquet-indexes/
62•jasim•4h ago•6 comments

Strategies for Fast Lexers

https://xnacly.me/posts/2025/fast-lexer-strategies/
106•xnacly•6h ago•40 comments

Japanese grandparents create life-size Totoro with bus stop for grandkids (2020)

https://mymodernmet.com/totoro-sculpture-bus-stop/
186•NaOH•5h ago•43 comments

SQLite async connection pool for high-performance

https://github.com/slaily/aiosqlitepool
13•slaily•3d ago•5 comments

Lightning Detector Circuits

https://techlib.com/electronics/lightningnew.htm
49•nateb2022•6h ago•31 comments

The Corset X-Rays of Dr Ludovic O'Followell (1908)

https://publicdomainreview.org/collection/the-corset-x-rays-of-dr-ludovic-o-followell-1908/
12•healsdata•3d ago•1 comments

Meticulous (YC S21) is hiring in UK to redefine software dev

https://tinyurl.com/join-meticulous
1•Gabriel_h•4h ago

Data brokers are selling flight information to CBP and ICE

https://www.eff.org/deeplinks/2025/07/data-brokers-are-selling-your-flight-information-cbp-and-ice
332•exiguus•5h ago•152 comments

Two guys hated using Comcast, so they built their own fiber ISP

https://arstechnica.com/tech-policy/2025/07/two-guys-hated-using-comcast-so-they-built-their-own-fiber-isp/
217•LorenDB•5h ago•134 comments

Anthropic signs a $200M deal with the Department of Defense

https://www.anthropic.com/news/anthropic-and-the-department-of-defense-to-advance-responsible-ai-in-defense-operations
58•wavelander•32m ago•55 comments

Grok 4 Heavy ($300/mo) returns its surname and no other text: "Hitler"

https://twitter.com/goodside/status/1944266466875826617
20•spenvo•35m ago•0 comments

It took 45 years, but spreadsheet legend Mitch Kapor finally got his MIT degree

https://www.bostonglobe.com/2025/06/24/business/mitch-kapor-mit-degree-bill-aulet/
127•bookofjoe•3d ago•11 comments

Impacts of adding PV solar system to internal combustion engine vehicles

https://www.jstor.org/stable/26169128
90•red369•10h ago•202 comments

Show HN: Refine – A Local Alternative to Grammarly

https://refine.sh
356•runjuu•15h ago•181 comments

Tandy Corporation, Part 3 Becoming IBM Compatible

https://www.abortretry.fail/p/tandy-corporation-part-3
40•klelatti•3d ago•12 comments

M.2 SSD Can Self-Destruct by Giving Itself a Burst of Voltage

https://uk.pcmag.com/storage/159074/this-m2-ssd-can-self-destruct-by-giving-itself-a-burst-of-voltage
10•austinallegro•46m ago•2 comments

East Asian aerosol cleanup has likely contributed to global warming

https://www.nature.com/articles/s43247-025-02527-3
117•defrost•11h ago•126 comments

Lossless Float Image Compression

https://aras-p.info/blog/2025/07/08/Lossless-Float-Image-Compression/
79•ingve•4d ago•7 comments

Six Game Devs Speak to Computer Games Mag (1984)

https://computeradsfromthepast.substack.com/p/six-game-devs-speak-to-computer-games
46•rbanffy•3d ago•11 comments

Show HN: Ten years of running every day, visualized

https://nodaysoff.run
839•friggeri•4d ago•427 comments

A Century of Quantum Mechanics

https://home.cern/news/news/physics/century-quantum-mechanics
86•bookofjoe•4d ago•75 comments

Why random selection is necessary to create stable meritocratic institutions

https://assemblingamerica.substack.com/p/there-is-no-meritocracy-without-lottocracy
160•namlem•5h ago•150 comments

You Are in a Box

https://jyn.dev/you-are-in-a-box/
103•todsacerdoti•6h ago•101 comments
Open in hackernews

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

https://github.com/alex-moon/ban
25•alex-moon•3d ago

Comments

samrus•6h 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•6h ago
On window managers like i3 or sway, you launch programs (including GUI applications) via their shell command in an autocompleting micro-menu.
hk1337•5h ago
Ban yourself from vim so you don't get stuck in it for hours?
kjkjadksj•3h ago
Some people get distracted by work and not social media during their down time
ABU_ALLIL_123•2h ago
Lvoe
accoil•2h 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•6h 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•6h ago
I assume it's meant to work for programs that aren't being launched from the terminal
xunil2ycom•3h 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•6h 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•5h 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•5h ago
I'm addicted to sl. I love those trains.
z_open•4h ago
I am. Every time I cd I ls even though I know what's in there.
zamadatix•4h 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•3h 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•3h 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•2h ago
For that I use Git Cola[1], it is quite nice.

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

zahlman•1h ago
Come to think of it, I would probably benefit from rate-limiting myself on `git status`.
zamadatix•2h 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•3h 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•3h 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•5h ago
Haha, this is fun
nikolayasdf123•5h ago
kind of cool. like "App/Time Limits" in Apple
foxinsocks5•5h ago
What if I ban rm too?
johnisgood•4h 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•5h 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•4h ago
> ban ban
teddyh•4h 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•3h ago
Yes. It's still helpful.

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

nektro•3h 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•3h ago
oh i see, it installs a bash script in a PATH thats a higher priority than the real one.
autoexec•1h 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•1h ago
What if I ban ban