frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rhythms the Compendium: Life aboard an aircraft carrier (2021)

https://thelexicans.wordpress.com/2020/04/05/38223/
2•cwillu•1m ago•0 comments

Head of Claude Code: What happens after "coding is solved" [audio]

https://www.lennysnewsletter.com/p/head-of-claude-code-what-happens
1•ftchd•3m ago•1 comments

Aesthetics of single threading

https://ta.fo/aesthetics-of-single-threading/
2•todsacerdoti•3m ago•0 comments

MeshTNC is a tool for turning consumer grade LoRa radios into KISS TNC compatib

https://github.com/datapartyjs/MeshTNC
1•todsacerdoti•4m ago•0 comments

EDuke32 – Duke Nukem 3D (Open-Source)

https://www.eduke32.com/
2•reconnecting•7m ago•0 comments

Show HN: See – searchable JSON compression (offline 10-min demo)

https://gitlab.com/kodomonocch1/see_proto
1•Tetsuro•11m ago•0 comments

5.25-inch floppy disks expected to help run San Francisco trains until 2030

https://arstechnica.com/gadgets/2024/04/5-25-inch-floppy-disks-expected-to-help-run-san-francisco...
2•adunk•11m ago•0 comments

Ace is a complete BASIC compiler for the Amiga computer platform

https://github.com/mdbergmann/ACEBasic
2•doener•12m ago•0 comments

Show HN: Visual Plan Mode for Pi Coding Agent

https://www.youtube.com/watch?v=XqFun9XCXPw
1•ramoz•12m ago•0 comments

Graphic Designer (Amiga) – Beta 5 Released

https://lifeschool22.itch.io/graphic-designer-amiga/devlog/1386833/graphic-designer-amiga-beta-5-...
1•doener•14m ago•0 comments

Building a Solar-Powered Bird Station

https://alec.is/posts/building-a-solar-powered-bird-station/
1•arm32•15m ago•0 comments

We've Been Fighting the Wrong Transportation Fight – Strong Towns

https://www.strongtowns.org/journal/2026-2-16-weve-been-fighting-the-wrong-transportation-fight
1•pkaeding•17m ago•0 comments

Coding like in the matrix learn scene

https://github.com/yotamarker/LivinGrimoire
1•mr_meeseeks•17m ago•0 comments

Show HN: Winslop – De-Slop Windows

https://github.com/builtbybel/Winslop
2•guilamu•21m ago•0 comments

Ask HN: How do you test your MyBatis dynamic SQL queries?

1•allegorist•25m ago•0 comments

Show HN: AI Agent for SEO

https://usefox.ai/
1•Creator-io•26m ago•0 comments

Toggle: A simple and keyboard friendly graphics drawing tool

https://github.com/Protyasha-Roy/toggle
2•zynovex•26m ago•0 comments

Tracing Chinese Immigration Through Food (2023)

https://sundaylongread.com/2023/11/17/chasing-chop-suey-tracing-chinese-immigration-through-food/
4•NaOH•35m ago•0 comments

Inputlag.science – Repository of knowledge about input lag in gaming

https://inputlag.science
10•akyuu•36m ago•0 comments

I quit my job to run EpsteinExposed.com full time

https://old.reddit.com/r/Epstein/comments/1ra6yw0/i_quit_my_job_to_run_epsteinexposedcom_full_time/
5•Betelbuddy•37m ago•1 comments

Parse, Don't Validate and Type-Driven Design in Rust

https://www.harudagondi.space/blog/parse-dont-validate-and-type-driven-design-in-rust/
11•todsacerdoti•38m ago•0 comments

Identity Theft 2.0

https://rekt.news/identity-theft-2
2•eustoria•42m ago•0 comments

New Technical Briefing: Digital Fingerprinting

https://blog.citp.princeton.edu/2026/02/20/new-technical-briefing-digital-fingerprinting/
2•eustoria•42m ago•0 comments

Ask HN: Do You Love My "Assess Idea" (AI) Robo-Reply Side Project Idea?

1•burnerToBetOut•43m ago•0 comments

Epstein files reveal how the rich fuel climate denialism

https://www.fastcompany.com/91490280/epstein-files-how-ultra-wealthy-peddle-climate-denialism
9•cdrnsf•44m ago•0 comments

Kubernetes Deployment Strategies for Zero Downtime

https://dixken.de/blog/kubernetes-deployment-strategies
1•mooreds•44m ago•0 comments

Measuring Claude Code ROI and Adoption in Honeycomb

https://www.honeycomb.io/blog/measuring-claude-code-roi-adoption-honeycomb
1•mooreds•45m ago•0 comments

Experimental pill dramatically reduces 'bad' cholesterol

https://medicalxpress.com/news/2026-02-experimental-pill-bad-cholesterol.html
1•PaulHoule•47m ago•1 comments

The Power of Constraints

https://collabfund.com/blog/the-power-of-constraints/
2•mooreds•49m ago•0 comments

BJJBench – tracking AI video model progress on Brazilian Jiu Jitsu techniques

https://bricee98.github.io/bjjbench/
1•bricee98•49m ago•1 comments
Open in hackernews

We Are Doing Files Wrong (2021)

https://simonsafar.com/2021/we_are_doing_files_wrong/
5•Expurple•10mo ago

Comments

jll29•10mo ago
That's one of the few times I've read about a proposed innovation "in the spirit of UNIX" that was not already present in the original UNIX or one of its descendants.

  UNIX: Everything is a file.
  => A directory is a file.

  Parent post: Everything is a directory.
  A file is a directory.
I.e., a switch from "There are files and special files called directories that are handled differently." to the recursive definition "There are files, which are made up of 0..n files (blobs) and 0..n subdirectories" - so file versus directory is just a VIEW.

Makes sense & would make writing traversal code for files wiht internal structure much easier to read and write.

Expurple•10mo ago
> to the recursive definition "There are files, which are made up of 0..n files (blobs) and 0..n subdirectories"

I think, it's more like "a file node contains metadata, a binary blob of data (may be empty), and 0..n child files".

Agreed that this idea is very elegant and removes special cases, nodes become uniform. And the argument for reusing the OS(FS)-provided tree abstraction is compelling.

Although, I can imagine some performance concerns in the real world. If implemented naively and similarly to the existing Unixes, this model results in a lot of small fragmented blocks and separate syscalls+descriptors for dealing with each small file. Also, when the "tree" is actually a sequential array of nameless elements, there's some extra overhead involved with writing and storing made-up file names, as well as sorting by name when reading. This could be remedied by some new API. And a single tree implementation reused by everything could be more cache-friendly than having a userland parser for every "old" format in every application.

Anyway, this mental model is useful and I'd like to see and try out the "automounting" that the author describes.

Expurple•10mo ago
Can't edit the parent comment anymore, so I'll append my other thoughts here.

I remembered that the "automounting" already exists in some forms, and I really like these instances. When you click on an archive in a good file manager, it opens a "folder" view with the archive contents. The difference between an archive and a folder is arbitrary. It shouldn't exist and only complicates things for everybody. I assume that many applications today hand-code the logic for "if the user drags and drops a folder, we need to zip it before sending". Or they don't, and the user has to zip manually :)

One could say that storing program data as "transparent" folders instead of "opaque" binary files is too much detail for the user. And users can accidentally damage something (e.g. delete one of the files inside) more easily. But I have a few counter-points:

1. Many applications already use folders, but they're doing fine.

2. File managers already open many filetypes in an editor by default (e.g. plain text, office docs), but these files are doing fine.

3. A good file manager should recognize most file types and do the more reasonable and safe thing. If JPEG is reimplemented as a folder, clicking on a JPEG should still open the image viewer instead of the folder view. That's already the case with Mac OS app bundles (the example from the original post).

4. Actually, now that folders have a "data" field, it can be used for storing arbitrary metadata. This is extremely powerful and can be used for HIDING extra details from casual users! E.g. there could be a standartized metadata header that hints to the file manager that it should treat the folder as an "opaque" file and not show the user the contents. Now, old applications that already used folders for their internal state, can mark these folders as "opaque" and prevent casual users from messing with the contents! While still allowing to see, move and delete the folder as a whole (unlike hidden folders). And while providing uniform FS access to applications and advanced users.

Man, I really like this idea of arbitrary metadata for folders... It's not as necessary for files, because in practice you can just put the "metadata header" in the beginning of the main "data" (as many file formats do).

Expurple•9mo ago
> I can imagine some performance concerns in the real world.

A friend has pointed out that, for performance reasons, games already tend to sidestep the filesystem and bundle everything into container/archive files, like .pak [1]. It also reminded me of how compile times are often noticeably faster on Linux vs Windows, because its filesystem is better optimized for handling many small files.

Honestly, it's weird and makes me kind of sad. Filesystems are such an important, convenient and (mostly) standardized and portable abstraction. But to this day, it's often a bottleneck and too slow for some domains. It seems like there's a lot of missed opportunity here.

> when the "tree" is actually a sequential array of nameless elements, there's some extra overhead involved with writing and storing made-up file names, as well as sorting by name when reading. This could be remedied by some new API.

As I keep thinking about it, the fastest approach is still a sequential binary blob. It avoids indirection, fragmentation and needlessly storing separate metadata for each element. A VFS mount could still be implemented on top, for accessing elements through a filesystem interface (something like `my_array_file/0`, reporting the same medatata as the parent).

But if storing separate FS-level metadata for each element is actually desirable and indirection+fragmentation isn't a critical problem, we could use folders for arrays. As a partial optimization, we could introduce a special "ordered" folder type. It requires explicitly ordering the subfiles on write, so that later listing the children is sorted and fast by default.

Option 1. The ordering is a separate metadata in the folder. Subfiles still have unique names that are not related to the ordering. This could be useful for the app, or could be unnecessary. POSIX apps (that don't know about "sorted folders") would still re-sort the subfiles by name and could get a different ordering as the result.

Option 2. The subfiles don't have user-provided names. For POSIX-compatibility, the VFS supports "artificial" file names like 0000000, 0000001, 0000002 (the number of digits according to the FS limits, sorts as text correctly) or 0, 1, 2 (prettier, independent of the FS limits and portable, but doesn't sort correctly as text).

In some sense, this special folder type is against the spirit of the original article. It has special write restrictions that prevent treating every inode the same way (as an arbitratily writetable folder). But it's still in the spirit of the original in the sense of reusing the standard FS abstractions and features as much as possible.

[1] https://quakewiki.org/wiki/.pak