Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

All news
Technology

Inside πFS: The Mind-Bending File System That Stores Files in the Digits of Pi!

June 11, 20263 min read

Explore πFS, a hilarious and brilliant GitHub project that 'stores' data by finding its exact coordinates inside the infinite digits of Pi.

Share this post:
hdd, hard drive, hard disk, disk, drive, pc, saved, hard, hardware, hdd, hdd, hdd, hdd, hdd, hard drive, hard drive, hard drive, hard drive, hard disk, hard disk, hard disk
Nguồn gốc: https://coding4food.com/post/pifs-storing-files-in-pi. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/pifs-storing-files-in-pi. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/pifs-storing-files-in-piNguồn gốc: https://coding4food.com/post/pifs-storing-files-in-pi. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/pifs-storing-files-in-pi. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/pifs-storing-files-in-pi
Nguồn gốc: https://coding4food.com/post/pifs-storing-files-in-pi. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/pifs-storing-files-in-pi. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/pifs-storing-files-in-piNguồn gốc: https://coding4food.com/post/pifs-storing-files-in-pi. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/pifs-storing-files-in-pi. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/pifs-storing-files-in-pi
pifspi file systemhe thong filetroll github
Share this post:

Bình luận

Related posts

binary, binary system, data, amount of data, word, flood of data, database, bulk data, collect, evaluate, data volume, data retention, data storage, market research, records, data processing, complex, data collection, computer, binary code, one, zero, programming, web, network, bullet, computer science, internet, communication, www, transfer, digital, networking, webdesign, world wide web, online, office, database, database, database, database, database, market research
TechnologyCode to Cash

Job Postings API: 1.8M Active US Jobs For Free, Or Just Another Dirty Scraping Trap?

A pragmatic dev's review of the newly launched Job Postings API on Product Hunt. 1.8M+ listings, 30+ ATS integrated. Is it actually worth your time?

Jun 83 min read
Read more →
laptop, hands, gadgets, iphone, apple, lens, macbook, mobile phone, smartphone, typing, blogging, flat lay, workspace, laptop, laptop, typing, typing, typing, typing, typing, blogging, blogging, blogging
TechnologyDev Life

Social Media is Dead, Long Live the Feed: How Algorithms Killed Our Friendships

Remember when social media was actually about friends and not just brain-melting algorithmic fads? Here is how the 'social' part got brutally murdered.

Jun 93 min read
Read more →
speech icon, voice, talking, audio, speech, communication, icon, sound, person speaking, alexa, siri, blue community, blue communication, blue talk, blue talking, voice, voice, voice, voice, voice, talking, talking, speech, speech, communication, alexa
AI & AutomationTechnology

Vaani: The Frame-Accurate AI Dubbing Tool Shaking Up Product Hunt

Discover Vaani, a voice-preserving AI dubbing tool with frame-accurate lip-syncing that is turning heads on Product Hunt.

Jun 93 min read
Read more →
code, coding, computer, data, developing, development, ethernet, html, programmer, programming, screen, software, technology, work, code, code, coding, coding, coding, coding, coding, computer, computer, computer, computer, data, programming, programming, programming, software, software, technology, technology, technology, technology
Dev LifeIT Drama

"LLMs Are Eating My Career" - A Dev's Existential Crisis on Hacker News

A trending Hacker News post reveals mid-career panic as devs feel LLMs are taking over. Are AI tools ending software engineering or just evolving it?

Jun 73 min read
Read more →
alcatraz, jail, san francisco, cell tract, alcatraz, jail, jail, jail, jail, jail
Dev LifeCode to Cash

From Prison to Senior Dev: The Mind-Blowing Redemption of Gavin Ray

The inspiring and raw story of Gavin Ray, who rebuilt his life from severe drug addiction, jail time, and a felony record to become a top software engineer.

Jun 83 min read
Read more →
ai generated, cloud computing, mining, gpu, server, blockchain, artificial intelligence, machine learning, data center, gpu, gpu, data center, data center, data center, data center, data center
TechnologyAI & Automation

Claude Fable 5 Dropped: Legit Next-Gen Tech or Just Another Benchmark Flex?

Anthropic quietly dropped the System Card for Claude Fable 5, scoring over 2100 points on Hacker News. Is this the AGI moment or just pure marketing?

Jun 103 min read
Read more →

Infinite storage capacity without using a single byte of hard drive space? Sounds like a shady cryptocurrency scheme, but this GitHub repo is actually a legendary mathematical joke that just grabbed over 700 upvotes on Hacker News.

Welcome back, fellow coders. Today, let's talk about a project that completely breaks the laws of physics and common sense: πFS (Pi File System). It is hands down one of the most brilliant, useless, and borderline psychotic pieces of engineering you'll ever see.

How on Earth Does πFS Work?

Normally, when you want to store a file, you dump its binary data onto an SSD. Simple. But πFS creator Philip Lantz decided that was too mainstream.

Mathematics tells us that Pi is an infinite, non-repeating decimal. It is widely conjectured to be a 'normal number', meaning that every possible finite sequence of digits will eventually appear somewhere in its decimal expansion.

In plain English: Your favorite meme, the source code of Cyberpunk 2077, and every single PDF on the internet already exist inside Pi. They have been there since the beginning of time. We don't need to 'create' files; we just need to 'find' them.

Here is the πFS workflow:

  1. You feed a file to πFS (e.g., my_secret_code.zip).
  2. πFS searches through the digits of Pi until it finds the exact byte sequence of your file.
  3. Once found, it records two things: the Offset (where the sequence starts) and the Size (how long it is).
  4. It deletes the original file, leaving you with just the metadata (Offset + Size).
  5. Need your file back? πFS just jumps to that Offset in Pi, reads the bytes, and reconstructs your file. Boom! Zero bytes wasted!

Hacker News Reacts: The Infinite Metadata Trap

Naturally, the big brains on Hacker News had a field day breaking down why this beautiful concept is a practical nightmare.

  • The metadata is too damn high: To find a 1MB file in Pi, the starting index (the offset) might be a number that is... 10MB long. Yes, storing the address of the file takes up more space than the file itself. Peak compression engineering!
  • CPU torture chamber: The computing power required to find even a simple text file's offset is so massive that the heat death of the universe would likely happen before your search completes.

If you are actually brave enough to run this and want to watch some CPU cores melt, do not do it on your local machine. Grab a Free $300 to test VPS on Vultr and let their cloud servers do the heavy lifting instead.

The Coding4Food Verdict

Is πFS practical? Absolutely not. It is an glorious, over-engineered joke.

But that is exactly why we love it. Projects like πFS remind us why we got into coding in the first place—to build weird stuff, push logical boundaries, and laugh at the absurdity of theoretical computer science.

So instead of grinding another LeetCode problem today, maybe go write something completely useless. You might just end up trending on Hacker News.

Source: GitHub - philipl/pifs