frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Some Things Just Take Time

https://lucumr.pocoo.org/2026/3/20/some-things-just-take-time/
88•vaylian•2h ago•39 comments

Grafeo – A fast, lean, embeddable graph database built in Rust

https://grafeo.dev/
56•0x1997•2h ago•12 comments

Iran launched unsuccessful attack on UK's Diego Garcia

https://www.bbc.com/news/articles/c5yljdgwppzo
48•alephnerd•2h ago•24 comments

OpenCode – Open source AI coding agent

https://opencode.ai/
1097•rbanffy•20h ago•542 comments

404 Deno CEO not found

https://dbushell.com/2026/03/20/denos-decline-and-layoffs/
134•WhyNotHugo•2h ago•95 comments

ZJIT removes redundant object loads and stores

https://railsatscale.com/2026-03-18-how-zjit-removes-redundant-object-loads-and-stores/
21•tekknolagi•2d ago•0 comments

Show HN: AI SDLC Scaffold, repo template for AI-assisted software development

https://github.com/pangon/ai-sdlc-scaffold/
8•pangon•4h ago•2 comments

Meta's Omnilingual MT for 1,600 Languages

https://ai.meta.com/research/publications/omnilingual-mt-machine-translation-for-1600-languages/?...
78•j0e1•3d ago•21 comments

Mamba-3

https://www.together.ai/blog/mamba-3
228•matt_d•3d ago•44 comments

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

https://pbxscience.com/ubuntu-26-04-ends-46-years-of-silent-sudo-passwords/
149•akersten•12h ago•169 comments

Books of the Century by Le Monde

https://standardebooks.org/collections/le-mondes-100-books-of-the-century
35•zlu•2d ago•12 comments

A Japanese glossary of chopsticks faux pas (2022)

https://www.nippon.com/en/japan-data/h01362/
393•cainxinth•20h ago•300 comments

Blocking Internet Archive Won't Stop AI, but Will Erase Web's Historical Record

https://www.eff.org/deeplinks/2026/03/blocking-internet-archive-wont-stop-ai-it-will-erase-webs-h...
332•pabs3•9h ago•95 comments

FFmpeg 101 (2024)

https://blogs.igalia.com/llepage/ffmpeg-101/
171•vinhnx•14h ago•7 comments

Senior European journalist suspended over AI-generated quotes

https://www.theguardian.com/technology/2026/mar/20/mediahuis-suspends-senior-journalist-over-ai-g...
34•Brajeshwar•2h ago•8 comments

Molly guard in reverse

https://unsung.aresluna.org/molly-guard-in-reverse/
177•surprisetalk•1d ago•75 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
123•notcodingtoday•2d ago•44 comments

How we give every user SQL access to a shared ClickHouse cluster

https://trigger.dev/blog/how-trql-works
42•eallam•4d ago•55 comments

Ghostling

https://github.com/ghostty-org/ghostling
275•bjornroberg•19h ago•58 comments

An industrial piping contractor on Claude Code [video]

https://twitter.com/toddsaunders/status/2034243420147859716
94•mighty-fine•2d ago•53 comments

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition)

https://github.com/arnoldrobbins/LinuxByExample-2e
139•teleforce•17h ago•18 comments

The Story of Marina Abramovic and Ulay (2020)

https://www.sydney-yaeko.com/artsandculture/marina-and-ulay
36•NaOH•2d ago•20 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
194•andsoitis•3d ago•92 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
216•GaggiX•22h ago•29 comments

We rewrote our Rust WASM parser in TypeScript and it got faster

https://www.openui.com/blog/rust-wasm-parser
266•zahlekhan•19h ago•172 comments

Padel Chess – tactical simulator for padel

https://www.padelchess.me/
64•AlexGerasim•3d ago•38 comments

Cryptography in Home Entertainment (2004)

https://mathweb.ucsd.edu/~crypto/Projects/MarkBarry/
70•rvnx•2d ago•40 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
121•FormerLabFred•19h ago•72 comments

How HN: Ironkernel – Python expressions, Rust parallel

https://github.com/YuminosukeSato/ironkernel
26•acc_10000•2d ago•9 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
609•MrDresden•1d ago•486 comments
Open in hackernews

Path is a utility for working with paths

https://gitlab.com/SpyrjaGaldr/path
60•spyrja•10mo ago
A recent post here got me thinking about my own personal gripes with OS path handling offerings. So I've basically spent the passed couple of days working on a little project in an attempt to rectify the situation somewhat (in the spirit of cross-platform development). It should also work pretty well with existing tools. Let me know what you think, and feel free to open an issue or a pull-request if you have any problems getting it running it on your system. Enjoy!

Github link: https://github.com/SpyrjaGaldr/path

https://simonsafar.com/2025/path_as_system_call/

https://news.ycombinator.com/item?id=43788728

Comments

vesinisa•10mo ago
What can this do that standard Unix find can not do?
autobodie•10mo ago
cross platform support, according to the description.
indemnity•10mo ago
fd exists https://github.com/sharkdp/fd
spyrja•10mo ago
Looks like it has a pretty good interface as well. It does however seem a just a bit too top-heavy (lot's of dependencies) not to mention a few more bugs than I particularly care for. But sheesh, 37K stars, it must be good for something!
blooalien•10mo ago
> ... "it must be good for something!"

It's good for finding files fast, and piping the resulting file paths into other tools for further action / handling. It does what it claims to do and does it well. :)

spyrja•10mo ago
I would say the default behaviour just isn't very ergonomic. Suppressing warnings for example requires piping to /dev/null (whereas `path` supresses permission warnings by default), if you want to limit the number of results you have to pipe the output to another command, getting xargs-like behaviour (obviously), or putting quotes around lines with embedded spaces, there are simply more hoops to jump through. It's much easier to type "path -sf .jpg .jpeg .png" than whatever would be required to get the `find` utility to do the same. (Or, say, finding all node_modules folders with "path -z n_m", it's just so much more satisfying.) But yes, these are mostly just syntactic-sugar kinds of issues. Aside from that (and perhaps the lack of cross-platform compatibility), I would say there is nothing inherently deficient about the `find` command. It's a work-horse which probably has more features than `path` does. But the latter really is growing on me. It is actually quite fun to use, if I may say so myself!
jimbokun•10mo ago
“A more ergonomic find command” is a nice elevator pitch.
pimlottc•10mo ago
From the name and description, I expected this to perform operations on file path strings, like convert relative to absolute (and vice versa), expand symlinks, convert unix paths to dos, etc. This is more like a find command.
spyrja•10mo ago
I don't see why it necessarily couldn't, my only question would be if there are really many actual use cases for such things? As far as symlinks go, I suppose being able to expand them (but not following them!) might be somewhat useful. But converting to DOS paths and vice-versa? That just doesn't seem very useful. Nevermind converting to-and-fro relative and absolute paths, I can't even imagine what the point of that would be. But perhaps I'm just not seeing the forest for the trees, as they say.
qrobit•10mo ago
As a rule of thumb I always make paths absolute when handling files in scripts. But then sometimes I need to copy a directory tree relative to $CWD somewhere else, so I convert them back to relative

Fish, being a great shell, provides this via `path` command[0]

[0]: https://fishshell.com/docs/current/cmds/path.html

jl6•10mo ago
> for the primary purpose of helping other programs know where to find stuff

Potential footgun to make a program rely on this to locate, say, a shared library (as in one of the examples), if there’s a possibility that someone has smuggled a malware’d version of it into, say, /tmp, since it defaults to searching the root directory.

spyrja•10mo ago
Kind of, but also kind of not. I mean if someone can smuggle a file into some random directory, chances are they have enough access to write directly to the "correct" folder to begin with. Personally I wouldn't execute or otherwise load any sort of executable content from a non-root directory (although certainly there are many people who wouldn't even think twice before doing such a thing). So it really just boils down to having a sane security-policy. Restrict searches with something like "path -d /usr *" and you are guaranteed not to scoop-up something that was world-writable in the first place. In fact in the example given in the README, that is precisely how that would have worked. Both /lib32 and /lib64 are owned by "root" and hence not a concern.
jl6•10mo ago
Naturally every footgun is guaranteed to be safe as long as you use it right :)

I wonder if a safer default would be to start searches at the current directory rather than the root directory?

spyrja•10mo ago
I did actually consider that at one point, but eventually decided against it because I felt would have meant a sacrifice in performance; first you'd do the local search, then start at the very top and recurse back down, checking every single entry against the local path to be sure that you don't do the local traversal all over again. Fortunately the code base is very clean and straight-forward, so it would be a fairly trivial excercise to just fork the repo and make those changes yourself to get that kind of behaviour.
spyrja•10mo ago
Well I ran a bunch of tests and it turns out that the performance wasn't actually impacted very much after all. So the changes are official. I also made some other adjustments to the default behaviour; if no pattern is specified then it just matches everything. In other words, "path -f" prints every regular file in the filesystem (starting in the current one). Anyway, thanks for the suggestion, otherwise I may not gone down that (decidedly satisfying) rabbit-hole!
account-5•10mo ago
I've been finding nushell's `ls` with a where clause is pretty good for this. There's also the `find` command too.