frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A disk is a bunch of bits (2023)

https://www.cyberdemon.org/2023/07/19/bunch-of-bits.html
31•rrampage•3d ago

Comments

addaon•5h ago
An okay overview of some high level context for on-disk storage, but it's perhaps more useful to say that disk hardware (and memory hardware) present an abstraction of a bunch of bits. Even for DRAM, there isn't a one-to-one mapping between capacitors the fab etches into the silicon and bits that your software can access at a given physical address. At the lowest level, defective rows are bypassed and remapped. At the next level up, ECC means that a single bit can never be (reliably) pointed at on its own -- instead, the data of, say, 64 bits is smeared across 72 capacitors. For disks, this gets even worse, both because the hardware itself is less reliable and because the slow speed allows more and more tricks to be played. A bunch of bits get mapped to a bunch of blocks, but blocks get remapped, bits within blocks get error corrected, multiple bits are stored in a single physical element, etc.
yapyap•4h ago
I imagine the OPs article is pointed at people more novice to the world of computers and his approach of bits while not perfect is good enough, better than confusing the reader IMO. While this would probably be useful for people more deeply already into the world of computers, I doubt the people who get what you are talking about would need a reminder of what’s on their disks. It’s handy to keep in mind who is being written for.
analog31•2h ago
My advice to the novice is to learn architecture at the level of something like an 8-bit PC, and to think of more advanced features as solutions to problems inherent in the systems of that era. Alternatively, an 8-bit microcontroller such as an 8051 has a similarly primitive architecture.
stevetron•5h ago
A disk is circular.
Liftyee•4h ago
For my previously-shallow level of understanding, this was an insightful article that showed me a little of how the filesystem actually works. I'm vaguely aware of abstractions at the hardware level (especially with solid state memory controllers, wear-levelling...) but that's another layer of abstraction down from that explained here. I'll learn the magic of working around nanoscale physics another day.

The author seems to have a number of explanations of this quality. I've put the one about git submodules on my reading list.

ggm•1h ago
Most of the complications can be learned after you get comfortable with a basic model. It is entirely true things have got more complicated but the key concepts and most importantly (to me) the language of what disks are comes from their history. The whole block/sector/inner/outer and cache/written and addressing models, comes from the realities of spinning objects. We didn't inherit very many concepts from mercury delay lines in the longer term, but we did from core memory because addressing models "made sense" in the X/Y plane model they exposed and we carried some of that into the future, and into disk sector/block models.

Shingled, SMR, CVR, checksums, RAID, RAM backed, the impact of VM models, L1 and L2 cache, unified file buffer caches.. its all addons which assume you have the basic language around disk "concepts"

Veo 3 and Imagen 4, and a new tool for filmmaking called Flow

https://blog.google/technology/ai/generative-media-models-io-2025/
506•youssefarizk•10h ago•302 comments

Writing into Uninitialized Buffers in Rust

https://blog.sunfishcode.online/writingintouninitializedbuffersinrust/
25•luu•1d ago•4 comments

Litestream: Revamped

https://fly.io/blog/litestream-revamped/
256•usrme•7h ago•57 comments

“ZLinq”, a Zero-Allocation LINQ Library for .NET

https://neuecc.medium.com/zlinq-a-zero-allocation-linq-library-for-net-1bb0a3e5c749
99•cempaka•5h ago•31 comments

Gemma 3n preview: Mobile-first AI

https://developers.googleblog.com/en/introducing-gemma-3n/
250•meetpateltech•9h ago•86 comments

A Secret Trove of Rare Guitars Heads to the Met

https://www.newyorker.com/magazine/2025/05/26/a-secret-trove-of-rare-guitars-heads-to-the-met
32•bookofjoe•1h ago•5 comments

The NSA Selector

https://github.com/wenzellabs/the_NSA_selector
195•anigbrowl•9h ago•59 comments

Deep Learning Is Applied Topology

https://theahura.substack.com/p/deep-learning-is-applied-topology
370•theahura•14h ago•157 comments

Magic of software; what makes a good engineer also makes a good engineering org

https://moxie.org/2024/09/23/a-good-engineer.html
76•kiyanwang•1d ago•15 comments

Semantic search engine for ArXiv, biorxiv and medrxiv

https://arxivxplorer.com/
80•0101111101•6h ago•12 comments

Instagram Addiction

https://blog.greg.technology/2025/05/19/on-instagram-addiction.html
58•gregsadetsky•5h ago•32 comments

Clojuring the web application stack: Meditation One

https://www.evalapply.org/posts/clojure-web-app-from-scratch/index.html
10•adityaathalye•14h ago•3 comments

Red Programming Language

https://www.red-lang.org/p/about.html
123•hotpocket777•9h ago•59 comments

Show HN: apply.coop - Matching people with jobs that fit their values & passions

https://apply.coop
14•blainsmith•3h ago•1 comments

What if Vintage and Modern got together

https://www.jaydip.me/
3•jdsane•51m ago•0 comments

My favourite fonts to use with LaTeX (2022)

https://www.lfe.pt/latex/fonts/typography/2022/11/21/latex-fonts-part1.html
78•todsacerdoti•4d ago•21 comments

Show HN: 90s.dev – Game maker that runs on the web

https://90s.dev/blog/finally-releasing-90s-dev.html
242•90s_dev•12h ago•94 comments

Show HN: A Tiling Window Manager for Windows, Written in Janet

https://agent-kilo.github.io/jwno/
214•agentkilo•12h ago•72 comments

AI's energy footprint

https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/
128•pseudolus•17h ago•139 comments

Why does the U.S. always run a trade deficit?

https://libertystreeteconomics.newyorkfed.org/2025/05/why-does-the-u-s-always-run-a-trade-deficit/
200•jnord•16h ago•416 comments

Robin: A multi-agent system for automating scientific discovery

https://arxiv.org/abs/2505.13400
122•nopinsight•11h ago•17 comments

New stem cell model sheds light on human amniotic sac development

https://www.crick.ac.uk/news/2025-05-15_new-stem-cell-model-sheds-light-on-human-amniotic-sac-development
24•gmays•4d ago•1 comments

The Dawn of Nvidia's Technology

https://blog.dshr.org/2025/05/the-dawn-of-nvidias-technology.html
138•wmf•10h ago•42 comments

The Value Isn't in the Code

https://jonayre.uk/blog/2022/10/30/the-real-value-isnt-in-the-code/
82•fragmede•4h ago•46 comments

Ashby (YC W19) Is Hiring Engineering Managers

https://www.ashbyhq.com/careers?utm_source=hn&ashby_jid=933570bc-a3d6-4fcc-991d-dc399c53a58a
1•abhikp•10h ago

Show HN: TitleBridge - A FinalCut Workflow Plugin

https://bustin.tech/apps/titlebridge/
7•_morph3ous•2h ago•1 comments

Linguists find proof of sweeping language pattern once deemed a 'hoax'

https://www.scientificamerican.com/article/linguists-find-proof-of-sweeping-language-pattern-once-deemed-a-hoax/
72•bryanrasmussen•1d ago•58 comments

Gail Wellington, former Commodore executive, has died

https://www.legacy.com/us/obituaries/name/gail-wellington-obituary?id=58418580
84•erickhill•3d ago•32 comments

Magnus Carlsen forced into a draw by more than 143000 people playing against him

https://apnews.com/article/chess-magnus-carlsen-match-world-freestyle-grandmaster-963a977765fa02d05a14d701666dfcd7
21•namanyayg•1h ago•6 comments

Ask HN: Conversational AI to Learn a Language

28•edweis•3d ago•14 comments