frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

ESA's Moonlight programme: Pioneering the path for lunar exploration

https://www.esa.int/Applications/Connectivity_and_Secure_Communications/ESA_s_Moonlight_programme_Pioneering_the_path_for_lunar_exploration
35•nullhole•2d ago•6 comments

FOSS4G Europe 2025 Live Streaming

https://2025.europe.foss4g.org/livestream/
14•altilunium•1h ago•0 comments

Wttr: Console-oriented weather forecast service

https://github.com/chubin/wttr.in
96•saikatsg•4h ago•47 comments

“Reading Rainbow” was created to combat summer reading slumps

https://www.smithsonianmag.com/smithsonian-institution/to-combat-summer-reading-slumps-this-timeless-childrens-television-show-tried-to-bridge-the-literacy-gap-with-the-magic-of-stories-180986984/
184•arbesman•10h ago•73 comments

Ex-Waymo engineers launch Bedrock Robotics to automate construction

https://techcrunch.com/2025/07/16/ex-waymo-engineers-launch-bedrock-robotics-with-80m-to-automate-construction/
352•boulos•18h ago•255 comments

Code Execution Through Email: How I Used Claude to Hack Itself

https://www.pynt.io/blog/llm-security-blogs/code-execution-through-email-how-i-used-claude-mcp-to-hack-itself
51•nonvibecoding•4h ago•24 comments

I want an iPhone Mini-sized Android phone (2022)

https://smallandroidphone.com/
277•asimops•13h ago•389 comments

New battery has life so long you may never have to recharge

https://www.neowin.net/news/this-amazing-new-battery-has-life-so-long-you-may-never-have-to-recharge/
22•Bluestein•51m ago•13 comments

Altermagnets: The first new type of magnet in nearly a century

https://www.newscientist.com/article/2487013-weve-discovered-a-new-kind-of-magnetism-what-can-we-do-with-it/
357•Brajeshwar•19h ago•91 comments

Original Xbox Hacks: The A20 CPU Gate (2021)

https://connortumbleson.com/2021/07/19/the-xbox-and-a20-line/
63•mattweinberg•7h ago•12 comments

Metaflow: Build, Manage and Deploy AI/ML Systems

https://github.com/Netflix/metaflow
50•plokker•14h ago•4 comments

I was wrong about robots.txt

https://evgeniipendragon.com/posts/i-was-wrong-about-robots-txt/
101•EPendragon•10h ago•92 comments

Economists made a model of the U.S. economy. Our debt crashed the model

https://www.marketplace.org/story/2025/07/14/how-our-debt-crashed-a-model-of-the-us-economy
9•hhs•43m ago•1 comments

Inside the box: Everything I did with an Arduino starter kit

https://lopespm.com/hardware/2025/07/15/arduino.html
88•lopespm•2d ago•8 comments

A Tale of Two Red-Bearded Visionaries

https://nemanjatrifunovic.substack.com/p/a-tale-of-two-red-bearded-visionaries
4•whobre•2d ago•1 comments

Show HN: A 'Choose Your Own Adventure' written in Emacs Org Mode

https://tendollaradventure.com/sample/
125•dskhatri•12h ago•17 comments

NINA: Rebuilding the original AIM, AOL Desktop, Yahoo and ICQ platforms

https://nina.chat/
14•ecliptik•3h ago•2 comments

Mistakes Microsoft made in the Xbox security system (2005)

https://xboxdevwiki.net/17_Mistakes_Microsoft_Made_in_the_Xbox_Security_System
68•davikr•10h ago•30 comments

Pgactive: Postgres active-active replication extension

https://github.com/aws/pgactive
308•ForHackernews•1d ago•78 comments

Intel's retreat is unlike anything it's done before in Oregon

https://www.oregonlive.com/silicon-forest/2025/07/intels-retreat-is-unlike-anything-its-done-before-in-oregon.html
170•cbzbc•15h ago•257 comments

A 1960s schools experiment that created a new alphabet

https://www.theguardian.com/education/2025/jul/06/1960s-schools-experiment-created-new-alphabet-thousands-children-unable-to-spell
56•Hooke•1d ago•56 comments

Artisanal handcrafted Git repositories

https://drew.silcock.dev/blog/artisanal-git/
175•drewsberry•15h ago•44 comments

A bionic knee integrated into tissue can restore natural movement

https://news.mit.edu/2025/bionic-knee-integrated-into-tissue-can-restore-natural-movement-0710
38•gmays•2d ago•1 comments

Show HN: Improving search ranking with chess Elo scores

https://www.zeroentropy.dev/blog/improving-rag-with-elo-scores
159•ghita_•20h ago•53 comments

How and where will agents ship software?

https://www.instantdb.com/essays/agents
135•stopachka•17h ago•64 comments

Open, free, and ignored: the afterlife of Symbian

https://www.theregister.com/2025/07/17/symbian_forgotten_foss_phone_os/
27•mdp2021•2h ago•10 comments

A Rust shaped hole

https://mnvr.in/rust
100•vishnumohandas•1d ago•230 comments

Scanned piano rolls database

http://www.pianorollmusic.org/rolldatabase.php
61•bookofjoe•4d ago•14 comments

Roman dodecahedron: 12-sided object has baffled archaeologists for centuries

https://www.livescience.com/archaeology/romans/roman-dodecahedron-a-mysterious-12-sided-object-that-has-baffled-archaeologists-for-centuries
70•bookofjoe•2d ago•120 comments

Show HN: 0xDEAD//TYPE – A fast-paced typing shooter with retro vibes

https://0xdeadtype.theden.sh/
95•theden•4d ago•24 comments
Open in hackernews

Show HN: Linux CLI tool to provide mutex locks for long running bash ops

https://github.com/bigattichouse/waitlock
32•bigattichouse•5h ago
Been exploring claude and spec-based coding, I think it turned out fairly successful. It's just a simple unix-style tool that gives you a single command to use in bash scripts to simplify mutex or semaphore locking of execution.

Comments

asddfgg55•5h ago
Useful project, I love all things terminal, so I also enjoyed your project.
eddythompson80•3h ago
You enjoyed the project because you love the terminal?
sluongng•4h ago
Why not https://man7.org/linux/man-pages/man2/flock.2.html?
yjftsjthsd-h•4h ago
Nit: Probably https://man7.org/linux/man-pages/man1/flock.1.html (shell command, not the underlying libc function)
anitil•4h ago
This was my first thought and I suppose flock(1) could be used to recreate a lot of this. But it does come with some other quality-of-life improvements like being able to list all currently-used locks, having a lock holdable by N processes etc.
Zacru•4h ago
Because that's a syscall ;) https://man7.org/linux/man-pages/man1/flock.1.html is the command line manual.

I would say one good reason is that

  waitlock myapp &
  JOB_PID=$!
  # ... do exclusive work ...
  kill $JOB_PID
is a lot easier to use and remember than

  (; flock -n 9 || exit 1; # ... commands executed under lock ...; ) 9>/var/lock/mylockfile
yjftsjthsd-h•4h ago
Why

  (; flock -n 9
and not

  ( flock -n 9

?
apopapo•2h ago
It's a "for" loop.
permalac•3h ago
Flock can be used in a single line for example for cronjobs.

Flock -s file && script.

Pretty simple. (I forgot the argument, I think is -s..

ethan_smith•2h ago
flock is indeed built-in: `flock -xn /tmp/mylock.lock -c "echo running locked command"` does mutex locking in bash. Your tool might offer better ergonomics or features beyond flock's capabilities?
forrestthewoods•4h ago
I don’t know the exact threshold at which you should use a real programming language instead of a bash script. But this type of work definitely exceeds it.
anitil•4h ago
While in general I'd agree, this isn't necessarily just for bash scripts. It could just wrap the execution of another program allowing higher-level logic to handle concurrency and the low-level program to do it's one-at-a-time job
teddyh•1h ago
We already have lockfile: <https://manpages.debian.org/stable/procmail/lockfile.1.en.ht...>.