August 4th, 2024

Written by a 16 year old, a book on how computers work

The "RAM-a-thon" GitHub repository aims to clarify misconceptions about computers, sharing the creator's personal learning journey and insights into technology, making it accessible for interested users.

Read original articleLink Icon
Written by a 16 year old, a book on how computers work

The GitHub repository "RAM-a-thon" is designed to provide a comprehensive and engaging explanation of computers. The creator's motivation stems from a desire to better understand the technology they use daily, which led to extensive research and the development of this project. The repository aims to clarify common misconceptions about computers and offers insights into their functionality. It features a banner image that visually represents the project's theme. Additionally, the creator shares their personal learning journey, humorously recounting their discoveries and frustrations encountered along the way. The project is accessible online for those interested in exploring its content.

Related

Show HN: R2R V2 – A open source RAG engine with prod features

Show HN: R2R V2 – A open source RAG engine with prod features

The R2R GitHub repository offers an open-source RAG answer engine for scalable systems, featuring multimodal support, hybrid search, and a RESTful API. It includes installation guides, a dashboard, and community support. Developers benefit from configurable functionalities and resources for integration. Full documentation is available on the repository for exploration and contribution.

Rp2040-psram: A header-only C library for access to SPI PSRAM via PIO on RP2040

Rp2040-psram: A header-only C library for access to SPI PSRAM via PIO on RP2040

The GitHub repository offers a header-only C library for RP2040 microcontroller to access SPI PSRAM via PIO, enhancing data transfer speed. Compatible with various PSRAM chips. Find details at https://github.com/polpo/rp2040-psram.

From the Transistor to the Web Browser, a rough outline for a 12 week course

From the Transistor to the Web Browser, a rough outline for a 12 week course

A GitHub course titled "From the Transistor to the Web Browser" covers topics like transistors, hardware coding, processors, compilers, operating systems, browsers, and real hardware execution. It provides a comprehensive understanding of the computer stack.

Debugging an evil Go runtime bug: From heat guns to kernel compiler flags

Debugging an evil Go runtime bug: From heat guns to kernel compiler flags

Encountered crashes in node_exporter on laptop traced to single bad RAM bit. Importance of ECC RAM for server reliability emphasized. Bad RAM block marked, GRUB 2 feature used. Heating RAM tested for stress behavior.

Minimal 64x4 – DIY computer with 4x the processing power of a C64 or Apple II

Minimal 64x4 – DIY computer with 4x the processing power of a C64 or Apple II

The GitHub repository offers assembly code for the 'Minimal 64x4 Home Computer', including an operating system, tool-chain, games, and demos, with users encouraged to ask for specific details.

Link Icon 21 comments
By @k310 - 9 months
What a commendable effort! I come from the days of KIM-1 and cpu and memory boards where the function of every chip was discernable.

At the time, I told my boss to learn these things while they were still comprehensible.

Knowing "what goes on inside" is fun.

By @itsmemattchung - 9 months
Hats off! Wish I had the the grit and determination at 16 to write something like this

> A 'special' CPU register that holds the memory address of the next instruction

Though it's been years since (grad school) I dealt with any assembly, for some reason I recall this being the EIP register? These days, I rarely touch low level language and yet, I have such a deep and profound love for them.

By @Cyph0n - 9 months
Awesome work! As always, there is an opportunity to “extend” this down/up a few layers :)

Also, are you Algerian by any chance? I am Tunisian - it’s always nice to see North Africans (and Africans in general) on HN!

By @butterisgood - 9 months
I keep thinking someday I’ll write something but my life has been such a mess lately and my inspiration is about as low as it’s ever been.
By @ernestrc - 9 months
This is beyond brilliant! So well written. Love the gen Z tone. I’m bookmarking it for my kids.
By @wizerno - 9 months
They have an equally impressive post [1] about CPUs!

[1] https://cpu.land

By @bitwize - 9 months
This gives me very old-internet vibes. Like somebody mashed together an introductory guide to how computers work with Real Ultimate Power: https://www.realultimatepower.net/ninja/ninja2.htm

I don't know how to feel about it as an effective instructional guide, but it sure is creative. If it helped its author understand computers through the act of collecting, organizing, and presenting the information, I suppose it was worth it in the end.

By @markhahn - 9 months
I'm curious whether this helps anyone - why and how.

I suppose there's some value in minimizing the "cultural impedence mismatch" - using genz terms/style/jokes.

But the quality is not as good as "normal/longform" (let me coin "oldsplaining") coverage on the subject. And really, shouldn't we all aspire to do a good job, rather than just a meh job that's comfortable?

This is the TT of explanations: not entirely accurate, relatively shallow, aimed at being quickly scroll-through-able to obtain a facile sense of knowing. For people who find Blinkist too slow-old-fashioned. You can survive on Pizza Pops, but you really shouldn't.

By @icholy - 9 months
A byte is the smallest addressable unit, not a bit.
By @iwontberude - 9 months
This article could maybe use something about Dell having a partnership with Rambus proliferating the world with those modules RD-RAM for a year or two. It was more than just a concept which never saw light. It was a spectacular failure.
By @asdf6969 - 9 months
It’s a cool project. You’ll have fun writing a compiler
By @Charon77 - 8 months
Love the cute writing style it's actually more fun to read compare to boring textbooks
By @interludead - 9 months
It’s inspiring. Just wanted to write it.
By @ILyesMk2 - 9 months
Greetings! This is coming from a.. as the title says, a 16 year old who wrote a mini-book on how computers operate internally focusing on RAM and CPU aspects, respectively. Because almost all of us (if not all) use computers and similar devices on a daily basis without an ACTUAL idea on how they work, even though you might have a brief view of your system. You get my point.

Just the fact that I've been using something and not knowing the way it really works, made me go insane. And that's exactly why i stepped up and taught myself all of it, from start to finish, While Apparently my coding knowledge didn't undermine me from writing this in a way of "Im teaching you what i learned" rather than "learning and writing" that took nearly 6 months to finish completely!

If you're the background person.. fine, some acknowledgments you might want: Something that made me crazier? web-dev, no disrespect to you folks out there but i had to add some extra time to the writing (which is exhausting in itself) just to code a (yet) simple HTML/CSS/JS website for the book. But since then, i fell in love with web-design and styling after using Figma to draw all the illustrations seen throughout the segments. Also I had the idea to initiate this project when i was 15! So i think it's pretty safe to say that this article went through a draft-phase of randomly collecting technical information.

And i'm finally happy to share it with the globe! to put it in simple Hacker News fashion, any feedback and/or suggestion(s) is greatly appreciated hoping this becomes a learning material. Check it out and i guarantee you will learn a thing or two: https://github.com/hackclub/RAM-a-thon

By @metabagel - 9 months
I like how you highlight key terms. I think that helps a lot with readability.

I also like the irreverent tone.

By @Mathnerd314 - 9 months
> Unexpected tidbit: If you abbreviate the term 'interrupt descriptor table'. Then reverse it - You get 'TDI', which stands for Turbo Charged Diesel Injection, an engine developed by Volkswagen fo- Okay. Ethically, believe it or not but computers emit more CO2 than cars.

Does this really help people learn the material? I am doing a presentation on networking in a week or two for a high school group. Certainly I could include stuff like this, but to me it seems more like a distraction. If I was writing this I would rather include something like a sample table of how IDT's were used by old DOS video games. (Disclaimer: I'm 30)