Skip to Content
Cooking for Geeks
book

Cooking for Geeks

by Jeff Potter
August 2010
Intermediate to advanced
431 pages
18h 49m
English
O'Reilly Media, Inc.
Content preview from Cooking for Geeks

Appendix B. Afterword

CURIOSITY AND THE JOY OF DISCOVERING HOW SOMETHING WORKS ARE TWO OF A GEEK’S DEFINING CHARACTERISTICS. I can think of very few other things that have brought me as much joy as learning to cook and providing for others. It scratches the same neurons that solving a puzzle or producing a brilliant piece of code does, but tastes better and often takes less time—not to mention that you can do it for other people and make them happy, too!

Speaking of puzzles, here’s how to solve the 12-coin problem I gave in the first chapter. Start with coins 1–4 on the left side and 5–8 on the right side. If the scale registers them as equal, place 9 and 10 on the left and 11 and 1 on the right side. If equal, 12 is the bad one. If not equal, remove 11 and 1 and move 10 to where 11 was. If the scale remains in the same unbalanced position, 9 is the bad one. If the scale is balanced, 11 is the bad one. And if the scale flips to the other side, 10 is the bad one. The trick is to realize that a balance scale can give you not two but three bits of information: <, =, and >, as opposed to = and !=. I’ll leave solving the problem of the starting positions of 1–4 and 5–8 being unequal for you.

I hope that by now the puzzle that is learning to cook has been replaced with the joy of understanding the basic mechanics of the system. True, there are still many more puzzles left to understand, but the core principles of cooking can actually be summed up in a single page (see next page).

Whatever ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Cooking for Geeks, 2nd Edition

Cooking for Geeks, 2nd Edition

Jeff Potter
Fitness for Geeks

Fitness for Geeks

Bruce W. Perry
The Goal

The Goal

Eliyahu M. Goldratt, Jeff Cox

Publisher Resources

ISBN: 9781449389543Errata Page