frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Google DeepMind Releases AlphaGenome Atlas

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/alphagenome-atlas/
172•utiiiD•2h ago•36 comments

DaVinci Resolve 21.1

https://www.blackmagicdesign.com/media/release/20260908-03
209•tosh•3h ago•86 comments

Benchmarking Qwen3.8 27B quantizations: 4-bit holds up, 1-bit collapses

https://quesma.com/blog/qwen38-27b-quantizations-benchmarked/
64•stared•2h ago•34 comments

The Helicopter with Radioactive Blades

https://hackaday.com/2026/09/07/the-helicopter-with-radioactive-blades/
43•zdw•23h ago•6 comments

Show HN: Copperhead – Hardware as Fast as Software

https://copperhead.sh/
130•animeshchouhan•3h ago•50 comments

C*: Unifying Programming and Verification in C

https://arxiv.org/abs/2504.02246
17•rramadass•1h ago•9 comments

ZX Spectrum: Experimenting with 1-Bit Sound

https://bumbershootsoft.wordpress.com/2026/09/05/zx-spectrum-experimenting-with-1-bit-sound/
40•ibobev•2h ago•13 comments

The two Christian saints who are the Buddha

https://signoregalilei.com/2026/08/30/the-two-christian-saints-who-are-secretly-the-buddha/
85•surprisetalk•2h ago•27 comments

Connecting the Machines

https://herdr.dev/blog/connecting-the-machines/
6•collinmanderson•17m ago•0 comments

I-have-ADHD: A skill to stop coding agents from burying the answer

https://github.com/ayghri/i-have-adhd
63•domhudson•2h ago•56 comments

AlphaGenome Atlas predictive map of every DNA letter change in the human genome

https://deepmind.google/blog/alphagenome-atlas-a-predictive-map-of-every-possible-dna-letter-chan...
32•fady0•2h ago•3 comments

LG TVs caught spying even when offline or on standby

https://www.theverge.com/tech/991190/lg-tv-spying-standby-recording-wi-fi-scanning-gamers-nexus
64•sbulaev•54m ago•13 comments

Paramount Caught Using 'Astroturf' Group to Drum Up Fake Support for Merger

https://www.techdirt.com/2026/09/08/paramount-caught-using-astroturf-group-to-drum-up-fake-suppor...
149•hn_acker•2h ago•45 comments

DHS 'Predictive Policing' Unit Is Analyzing Americans' Financial Habits

https://www.404media.co/a-secretive-dhs-predictive-policing-unit-is-analyzing-americans-financial...
166•abraham•2h ago•62 comments

Antiquated HTML Snippets and Artefacts

https://vale.rocks/posts/html-relics
182•patadune•7h ago•57 comments

The 92-Year-Old Mathematician and the Teenage Apprentice

https://www.nytimes.com/2026/09/06/science/92-year-old-mathematician-apprentice.html
23•robinhouston•1d ago•2 comments

Getting your hands dirty is good for you

https://www.bbc.com/future/article/20260904-how-getting-your-hands-dirty-boosts-your-health-withi...
151•HatchedLake721•7h ago•134 comments

Extracting Steering Vectors from J space

https://darshanmakwana412.github.io/2026/09/extracting-steering-vectors-from-j-space/
47•martianvoid•2d ago•11 comments

Disappointed Optimists

https://cwodtke.com/disappointed-optimists/
26•adrianhoward•1h ago•2 comments

Onionspector – now let's see what The Onion knows about you

https://0ut3r.space/2026/09/06/onionspector/
5•h0ek•2d ago•2 comments

There's a new "Google Jail" for independent wikis

https://weirdgloop.org/blog/google-jail
420•pizzaiolo•15h ago•174 comments

I've factored the RSA keys of a Certificate Authority from the 90s

https://mcpherrin.ca/2026/09/07/rsa.html
459•ahlCVA•15h ago•105 comments

Reverse engineering the 2008 LogiCola, a logic drill program

https://logicola.org/blog/the-new-logicola
13•kotk•2h ago•0 comments

Navier-Stokes – Tristan Buckmaster [pdf]

https://cims.nyu.edu/~tristanb/statement.pdf
447•procedurecall•11h ago•268 comments

FreeBSD 14.5-Release

https://www.freebsd.org/releases/14.5R/announce/
30•joshcsimmons•4h ago•3 comments

Why I'm Not Excited About the Graphene OS and Motorola Partnership

https://podcast.switchedtolinux.com/@tehankorage/episodes/why-im-not-excited-about-the-graphene-o...
16•summm•54m ago•6 comments

Mistral raises €3B

https://mistral.ai/news/mistral-makes-sovereign-open-weight-ai-to-frontier/
720•kuberwastaken•11h ago•520 comments

LibreOffice breaks download records after declaring it has no AI features

https://manualdousuario.net/en/libreoffice-download-record-no-ai/
559•rpgbr•2h ago•183 comments

Picolibrary: A Small Press

https://novalis.org/blog/2026-08-31-picolibrary-a-very-small-press.html
42•luu•3d ago•9 comments

Ask HN: Are others seeing Google's reCAPTCHA rejecting Firefox users?

207•Animats•4d ago•91 comments
Open in hackernews

Path is a utility for working with paths

https://gitlab.com/SpyrjaGaldr/path
60•spyrja•1y 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•1y ago
What can this do that standard Unix find can not do?
autobodie•1y ago
cross platform support, according to the description.
indemnity•1y ago
fd exists https://github.com/sharkdp/fd
spyrja•1y 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•1y 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•1y 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•1y ago
“A more ergonomic find command” is a nice elevator pitch.
pimlottc•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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.
account-5•1y ago
I've been finding nushell's `ls` with a where clause is pretty good for this. There's also the `find` command too.
spyrja•1y 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!