frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

California DMV approves map increase in Waymo driverless operations

https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/autonomous-vehicle-te...
143•NullHypothesist•2h ago•86 comments

Childhood Friends, Not Moms, Shape Attachment Styles Most

https://nautil.us/childhood-friends-not-moms-shape-attachment-styles-most-1247316/
92•dnetesn•1w ago•39 comments

Helping Valve to power up Steam devices

https://www.igalia.com/2025/11/helpingvalve.html
408•TingPing•7h ago•125 comments

Show HN: Wealthfolio 2.0- Open source investment tracker. Now Mobile and Docker

https://wealthfolio.app/?v=2.0
426•a-fadil•8h ago•147 comments

Samsung's 60% DRAM price hike signals a new phase of global memory tightening

https://www.buysellram.com/blog/samsungs-memory-price-surge-sends-shockwaves-through-the-global-d...
124•redohmy•6d ago•86 comments

Personal blogs are back, should niche blogs be next?

https://disassociated.com/personal-blogs-back-niche-blogs-next/
59•gnabgib•2h ago•41 comments

Arduino published updated terms and conditions: no longer an open commons

https://www.molecularist.com/2025/11/did-qualcomm-kill-arduino-for-good.html
307•felineflock•9h ago•101 comments

Pixar: The Early Days A never-before-seen 1996 interview

https://stevejobsarchive.com/stories/pixar-early-days
70•sanj•4h ago•3 comments

You only live once, self host a NAT Gateway

https://www.awsistoohard.com/blog/self-hosting-nat-gateway
36•veryrealsid•4d ago•17 comments

We should all be using dependency cooldowns

https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
269•todsacerdoti•10h ago•185 comments

Explaining, at some length, Techmeme's 20 years of consistency

https://news.techmeme.com/250912/20-years
12•nhf•1h ago•1 comments

You can make PS2 games in JavaScript

https://jslegenddev.substack.com/p/you-can-now-make-ps2-games-in-javascript
222•tosh•8h ago•53 comments

I learned Vulkan and wrote a small game engine with it

https://edw.is/learning-vulkan/
15•jakogut•1h ago•5 comments

Is Matrix Multiplication Ugly?

https://mathenchant.wordpress.com/2025/11/21/is-matrix-multiplication-ugly/
24•jamespropp•3h ago•13 comments

Tuxedo Computers Cancels Snapdragon X1 Linux Laptop

https://www.tuxedocomputers.com/en/Discontinuation-of-ARM-notebooks-with-Snapdragon-X-Elite-SoC.t...
68•Venn1•5h ago•18 comments

RRules (yes handling RSCALE) using only PL/pgSQL

https://github.com/sirrodgepodge/rrule_plpgsql
10•sirrodgepodge•1w ago•1 comments

Building a Durable Execution Engine with SQLite

https://www.morling.dev/blog/building-durable-execution-engine-with-sqlite/
102•ingve•1d ago•34 comments

Shop Sans is a typeface for curved text paths

https://www.futurefonts.com/hex/shop-sans
107•tobr•1w ago•32 comments

The Untold History of Arduino (2016)

https://arduinohistory.github.io/
54•davikr•3h ago•4 comments

The Afterlife of Hilma Af Klint, Painting's Posthumous Star

https://www.newyorker.com/magazine/2025/11/24/the-strange-afterlife-of-hilma-af-klint-paintings-p...
3•FinnLobsien•4d ago•0 comments

3D printing with unconventional vase mode

https://vorpal.se/posts/2025/jun/23/3d-printing-with-unconventional-vase-mode/
9•dgroshev•2h ago•1 comments

Prozac 'no better than placebo' for treating children with depression, experts

https://www.theguardian.com/society/2025/nov/20/prozac-no-better-than-placebo-for-treating-childr...
192•pseudolus•1d ago•283 comments

Pivot Robotics (YC W24) Is Hiring for an Industrial Automation Hardware Engineer

https://www.ycombinator.com/companies/pivot-robotics/jobs/7xG9Dc6-mechanical-engineer-controls
1•vigneshrajmohan•8h ago

Solving Fizz Buzz with Cosines

https://susam.net/fizz-buzz-with-cosines.html
114•hprotagonist•7h ago•29 comments

FAWK: LLMs can write a language interpreter

https://martin.janiczek.cz/2025/11/21/fawk-llms-can-write-a-language-interpreter.html
201•todsacerdoti•14h ago•178 comments

Olmo 3: Charting a path through the model flow to lead open-source AI

https://allenai.org/blog/olmo3
355•mseri•18h ago•119 comments

Boom, bubble, bust, boom. Why should AI be different?

https://crazystupidtech.com/2025/11/21/boom-bubble-bust-boom-why-should-ai-be-different/
97•speckx•4h ago•132 comments

Homeschooling hits record numbers

https://reason.com/2025/11/19/homeschooling-hits-record-numbers/
180•bilsbie•1d ago•512 comments

Making a Small RPG

https://jslegenddev.substack.com/p/making-a-small-rpg
169•ibobev•11h ago•30 comments

We remain alive also in a dead internet

https://slavoj.substack.com/p/why-we-remain-alive-also-in-a-dead-954
63•achierius•4h ago•54 comments
Open in hackernews

Path is a utility for working with paths

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