frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The open-source release of Microsoft Fabric Extension for VS Code

https://blog.fabric.microsoft.com/en-us/blog/announcing-the-open-source-release-of-microsoft-fabr...
1•cchristensendev•2m ago•0 comments

New SpacemiT K3 RISC-V Chip Beats Raspberry Pi 5 in Early Benchmarks

https://www.cnx-software.com/2026/01/23/spacemit-k3-16-core-risc-v-soc-system-information-and-ear...
1•pojntfx•3m ago•0 comments

The abhorrent power of the photograph of a 5-year-old held by ICE

https://www.washingtonpost.com/style/2026/01/22/photo-minnesota-ice/
1•KnuthIsGod•6m ago•0 comments

ClickHouse PostgreSQL Powered by Ubicloud

https://www.ubicloud.com/blog/clickhouse-postgresql-powered-by-ubicloud
1•gouthamve•10m ago•0 comments

Show HN: Vibe coding with TDD and runtime traces with n8n style canvas on Cursor

https://github.com/zd8899/TDAD
2•zd8899•12m ago•0 comments

Selectively Disabling HTTP/1.0 and HTTP/1.1

https://markmcb.com/web/selectively_disabling_http_1/
1•todsacerdoti•19m ago•0 comments

BU-808: How to Prolong Lithium-based Batteries (2023)

https://www.batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries/
1•eswat•21m ago•0 comments

Show HN: Wake – Terminal Session Context for Claude Code via MCP

https://github.com/joemckenney/wake
1•baobabmeeko•23m ago•0 comments

Exposing a Multi-Stage Malware Campaign on Windows Systems

https://thecyberedition.com/exposing-a-multi-stage-malware-campaign-on-windows-systems/
2•thehacknews•24m ago•1 comments

Roo Code 3.42.0 – ChatGPT usage tracking – Grey Screen Fix and more

https://docs.roocode.com/update-notes/v3.42.0
1•hrudolph•24m ago•1 comments

EmulatorJS

https://github.com/EmulatorJS/EmulatorJS
1•avaer•29m ago•0 comments

Financing the AI boom: from cash flows to debt

https://www.bis.org/publ/bisbull120.htm
1•gmays•32m ago•0 comments

Llanux, a "Boot to Llama" OS

https://github.com/telepath-computer/llanux
2•stlhood•33m ago•1 comments

eBay bans illicit automated shopping amid rapid rise of AI agents

https://arstechnica.com/information-technology/2026/01/ebay-bans-illicit-automated-shopping-amid-...
1•petethomas•34m ago•0 comments

Agentic Memory Is Still an Unsolved Problem

2•manthangupta109•35m ago•0 comments

What will tech jobs look like in 2026?

https://restofworld.org/2026/tech-jobs-2026-ai-layoffs-hybrid-work/
1•Brajeshwar•36m ago•0 comments

100% AI Coded Game on Steam – Full Dev Log

https://web3dev1337.github.io/epic-survivors-architecture/
2•BlueShrimpGames•41m ago•1 comments

Mail: RFC822:Address: regexp-based address validation (2012)

https://pdw.ex-parrot.com/Mail-RFC822-Address.html
1•vismit2000•41m ago•0 comments

Quantum physicists create largest ever 'superposition'

https://www.nature.com/articles/d41586-026-00177-9
1•typeofhuman•42m ago•0 comments

Show HN: A condo review site for Bangkok renters to avoid deposit scams

https://condoreviewsthailand.com
3•digi_wares•45m ago•0 comments

Finland sets tougher guidelines: No social media or smartphones for under-13s

https://yle.fi/a/74-20205877
1•brylie•52m ago•0 comments

Amazon Gears Up to Ax Thousands More Corporate Employees

https://finance.yahoo.com/news/amazon-gears-ax-thousands-more-224656699.html
2•_____k•53m ago•0 comments

Workplace rights agency scraps anti-harassment guidance

https://apnews.com/article/eeoc-harassment-workplace-gender-trump-lucas-lgbtq-0ac048763668ae4f894...
1•petethomas•58m ago•0 comments

Vibe Coding Kills Open Source

https://arxiv.org/abs/2601.15494
3•50kIters•58m ago•1 comments

Why External AI Reasoning Breaks Articles 12 and 61 by Default

https://www.aivojournal.org/why-external-ai-reasoning-breaks-articles-12-and-61-by-default/
1•businessmate•59m ago•1 comments

Show HN: ChartScout – Crypto chart pattern detection under 20 seconds

https://chartscout.io
1•chartscout•59m ago•0 comments

The Universal Pattern Popping Up in Math, Physics and Biology

https://www.quantamagazine.org/in-mysterious-pattern-math-and-nature-converge-20130205/
2•kerim-ca•1h ago•0 comments

From Sketch to Masterpiece: Understanding Stable Diffusion Img2Img

2•bozhou•1h ago•0 comments

How do I fight 250 duplicate Amazon listings with fake reviews?

https://travelhead.medium.com/amazons-dirty-secret-the-chinese-marketplace-manipulation-destroyin...
2•travelhead•1h ago•1 comments

ClaudePad

https://github.com/marshallrichards/ClaudePad
2•ray__•1h ago•0 comments
Open in hackernews

We Are Doing Files Wrong (2021)

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

Comments

jll29•9mo 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•9mo 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•9mo 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•8mo 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