frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: The Magic of Code – book about the wonders and weirdness of computation

https://themagicofcode.com/sample/
112•arbesman•6mo ago
I recently published a book called “The Magic of Code” which is about the delights of the computational world, examining computing as a kind of “humanistic liberal art” that connects to so many topics, from art and biology to philosophy and language. The link I’ve shared is to a page on my book’s website where you can download a pdf of the introduction, to give HN readers a taste of what is inside.

Right now there is so much worry and concern around technology that I feel like some people—though not the folks here—have forgotten how much fun that code and computation can also be. So I wanted to rekindle some of that sense of wonder.

But, as I’ve written elsewhere, this is also the kind of book I wish I had when I was younger and getting interested in computers. I’ve always enjoyed the kinds of writing that talks about computing but in the context of so many other big ideas, especially ones I’ve explored at various points in my own life, from evolution to simulation. And that’s what I tried to do.

But while “The Magic of Code” is certainly for a wide audience, and for people who are unfamiliar with programming and code, I’ve also (hopefully!) designed it to be of interest to those who are more expert in this realm, with lots of rabbit holes and strange ideas to pursue. And if there exists a genre of book to explain to outsiders why you love a topic, this is in that genre, for computing and code. I think the HN community will really enjoy it.

Comments

arbesman•6mo ago
Author here! Happy to answer any questions about the book, the ideas in it, or even book writing more generally!
vegadw•6mo ago
The intro is well written and captivating, but is an intro. Unfortunately, it leaves me less wanting to read and experience the meat of the book and more curious what that meat even is. With a target audience that doesn't know how to code already, where is it going? That's not generally a mystery I want in this kind of book. If I'm going to have something bubble up high enough on my to-read pile I'll ever get to it, I need to have some prior idea of whats in it.
arbesman•6mo ago
Glad you enjoyed the intro! In terms of the meat, there’s only so much that can be provided in an introduction, but I did step through the chapters at the end, explaining a bit of what is to come (though obviously not the meat itself: that’s found in the chapters themselves!).

But in terms of code itself, I do my best to convey how programming (and the world of code) feels. Admittedly, this is hard to do, but I talk about everything from different programming languages and what they are all about (and their vibes) to the unexpected power of global variables.

There is also a ton of computing history to be found in the book, which I think is vital for understanding the tech world (and building whatever comes next). We often see a certain amount of historical ignorance in tech, and that feels like a recipe for missing context, or unnecessary reinvention, or just plain not understanding the path dependence of this world. So I really try to explore that a lot.

albumen•6mo ago
"Show, don't tell". Why not post a bit of the meat, say chapters 2 and 3?
arbesman•6mo ago
I want to give people a sense of the breadth of the book, hence the introduction (and I had thought that it might be too confusing, jumping into the middle of things...). But reasonable point.
Upvoter33•6mo ago
rather, why not also post one "content" chapter? I think it will help sell the book better, fwiw
shervinafshar•6mo ago
Ditto about the quality of intro. One way to show that "meat" without sharing some arbitrary number of chapters could have been to also include some of the back matter of the book (index, bibliography, etc.) in the sample. For example, I'm reading this:

> If coding really is like sorcery, what does this mean for how we think about computers?

and wondering whether Abelson/Sussman sort of wizardry makes an appearance or not.

etbebl•6mo ago
I will second and say that for me, when a book is about a topic I've thought about a fair bit already, I don't want to read it unless I'm convinced that the author has thought about it more deeply or from some different perspective than I have. And it's hard to tell that from an intro and table of contents.
handedness•6mo ago
Previous: https://news.ycombinator.com/from?site=themagicofcode.com
dang•6mo ago
A small number of reposts is ok if an article hasn't had significant attention yet. This is in the FAQ: https://news.ycombinator.com/newsfaq.html#reposts.

In this case, we invited the author to redo his Show HN along with a sample chapter, since that is the Show HN convention for "sharing one's work" (https://news.ycombinator.com/showhn.html) when the work is a book.

handedness•6mo ago
Thanks. I'm aware of the policy but good policy always bears restating/reminding.

I also appreciate the additional background. Having said that, the author only posted the ToC and Intro, which meant it came off much more as trying to Show HN readership something to buy, rather than sharing any of his actual work with HN. Hence why I posted all of the prior attempts.

dang•6mo ago
I agree that it would have been better to share a technical chapter!
ngruhn•6mo ago
That's a very cool cover.
arbesman•6mo ago
Thanks so much!
babblingfish•6mo ago
This looks cool! There's been so many books with a utopian or dystopian take on technology, it's refreshing to see someone tapping into the wonder. I've certainly experienced wonder with my programming journey.
arbesman•6mo ago
I really appreciate this! Thanks. I think focusing on wonder might be the way of providing a kind of healthy medium between those extreme utopian and dystopian approaches.
47282847•6mo ago
+1!
vegadw•6mo ago
Maybe a hot take, but for a modern overview of the way people at large interact with computers, I find it almost disingenuous to paint it in a positive light - wonder included - without also showing the dark sides. The gray area only exists because the machines themselves are so capable when removed from the realities of how they're used.

It's as if we have the cure for cancer, but we only give it to people that are willing to watch 1 hour of ads every day. Like, yeah, the technology is great, but that social implication is terrifying.

To me, a book strictly about the wonder - ignoring these realities - feels.. vapid? dishonest? I don't want a word quite so loaded, but I'm struggling to find a better one.

This does hit home for me though. I'm currently working on a re-write of my pages on this subject on my website [0], where the current public version there really is overly complain-y and really misses the mark. The new version I'm working on explicitly alternates between negatives and positives, with sections that alternate between dark with light text and light with dark text to indicate the shift in tone and as much as I think that's beneficial for a reader, it's even more so for me as the author, to recognize when I'm writing too much in the "dark" section.

At the same time, I don't want to fall into the fallacy of moderation. If one side says climate change isn't real and one side does, it's not as if truth is somewhere in the middle. It's real. It's bad. Same for anything about computers. If I say right to repair, the DMCA, enshitification, etc. etc. are huge problems and pretend we're doing enough to fix them, that's just as dishonest.

Writing this has convinced me to pick up OP's book and read it, if for no other reason than to be inspired by the meta, the framing that I'm talking about - though I'm sure it'll be a good read in its own right. (Even if my prior, top-level comment about being unsure of the meat still holds)

[0] https://opguides.info/other/hci2/intro/

layer8•6mo ago
> Right now there is so much worry and concern around technology that I feel like some people—though not the folks here—have forgotten how much fun that code and computation can also be.

I believe that future generations will continue to re-discover the wonders and merits of computer code and writing programs. Similar to subjects like math and physics, the appreciation won’t be going away for those who have an affinity for it.

lukyanovic•6mo ago
I like the book’s premise. Aside from a longstanding propensity for popular science fiction, I’ve often felt that programmers tend to overlook the humanities. I’m curious to see how your book bridges that gap. I just bought a copy.
arbesman•6mo ago
Thanks so much! I hope you enjoy it.
elwell•6mo ago
Have you read "Code: The Hidden Language of Computer Hardware and Software"? I enjoyed it.
arbesman•6mo ago
Fantastic recommendation! This is a great book (and the second edition is on my shelf).
maxverse•6mo ago
Saw your talk at the Recurse Center, and really appreciated it. I'm looking forward to reading this book!
arbesman•6mo ago
Oh awesome! Glad you enjoyed that.
upghost•6mo ago
Wow. Delightful. I'm reaching that jaded mid-career stage where software DEFINITELY does not seem magical anymore -- more like a collection of broken promises about the magic that could have been -- and this was a great reminder that, yeah, hey, it is kinda magical anyway, isn't it?

Congrats for writing something that is both accessible to a wide audience and yet still meaningful to grumpy audience.

I will certainly be picking this up!

arbesman•6mo ago
Thank you!
rramadass•6mo ago
How does your book compare with Daniel Shiffman's The Nature of Code ? - https://natureofcode.com/

France's homegrown open source online office suite

https://github.com/suitenumerique
202•nar001•2h ago•110 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
374•theblazehen•2d ago•134 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
65•AlexeyBrin•3h ago•12 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
40•onurkanbkrc•3h ago•2 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
749•klaussilveira•18h ago•234 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
108•alainrk•2h ago•116 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1001•xnx•23h ago•569 comments

Show HN: One-click AI employee with its own cloud desktop

https://cloudbot-ai.com
7•fainir•59m ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
11•samasblack•32m ago•4 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
6•vinhnx•1h ago•1 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
132•jesperordrup•8h ago•55 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
91•videotopia•4d ago•20 comments

Ga68, a GNU Algol 68 Compiler

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
30•matt_d•4d ago•6 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
148•matheusalmeida•2d ago•40 comments

Reputation Scores for GitHub Accounts

https://shkspr.mobi/blog/2026/02/reputation-scores-for-github-accounts/
6•edent•2h ago•0 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
253•isitcontent•18h ago•27 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
266•dmpetrov•18h ago•142 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
6•rbanffy•3d ago•0 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
10•sandGorgon•2d ago•2 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
530•todsacerdoti•1d ago•257 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
409•ostacke•1d ago•105 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
353•vecti•20h ago•159 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
321•eljojo•21h ago•198 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
448•lstoll•1d ago•296 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
54•helloplanets•4d ago•54 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
6•andmarios•4d ago•1 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
365•aktau•1d ago•190 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
292•i5heu•21h ago•246 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
103•quibono•4d ago•29 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
53•gmays•13h ago•22 comments