452: Numbers on Computers Are Weird

Embedded.fm · 15 Jun 2023 · 1h 11m · Episode 452

What this episode covers

Julia Evans, creator of Wizard Zines, explains how computers represent numbers, covering the binary structure of 64-bit floating-point numbers, the trade-offs between range and precision, and the implementation of two's complement for signed integers. She discusses the practical implications of these representations, such as the inexact nature of decimal fractions in binary, the complexity of printing floating-point values, and the use of fixed-point arithmetic (Q numbers) in embedded systems lacking hardware FPUs. The conversation also touches on her career transition to full-time technical writing, her use of tools like Affinity Designer and GDB, and her interactive 'playgrounds' like Memory Spy and messwithdns.com.

Mentioned

Companies
Volta Labs
Products
Wizard Zines, Memory Spy, messwithdns.com, float.exposed, integer.exposed
Chips
Cortex-M0, Cortex-M4
Tools
Affinity Designer, GDB, OpenCV, TensorFlow

Other shows on the same ground, closest first.

  • The Amp Hour · 1h 42m

    An Interview with Elecia White - Wirewove Worshipping Wookieist?

    Elecia White, founder of Logical Elegance and host of the Making Embedded Systems podcast, discusses her O'Reilly book and her career as an embedded software consultant. She shares insights on bare-metal programming, the pitfalls of using floating-point math in interrupts, and the importance of power optimization in wearable devices like Fitbit. White also reflects on her past work at LeapFrog, the challenges of hiring engineers, and her vision for future haptic feedback technology.

  • Unnamed Reverse Engineering Podcast · 1h 21m

    045 - Rizin and Cutter

    Florian Märkl and Itay Cohen, core developers of the open-source reverse engineering tools Rizin and Cutter, discuss the project's history, technical architecture, and community governance. They explain how Rizin, a fork of radare2, provides a command-line framework while Cutter offers a graphical interface, detailing workflows for static analysis, decompilation, and binary patching. The conversation covers the technical rationale for the fork, including stability and community toxicity issues, and highlights features like emulation, plugin-based architecture, and support for diverse processor architectures.

  • The Amp Hour · 1h 03m

    It Works With Option Number 5

    Dave Jones and Chris Gammell discuss a useless wrist-worn multimeter, the educational value of visual tools like Blender and quantum diamonds, and the pitfalls of camera review content. They detail Dave's struggles with a DI hybrid solar inverter's drifting internal clock and Chris's hack day project implementing a remote shell for Zephyr OS devices using Golioth. The conversation concludes with a comparison of Australian and US electrical systems and a lesson on hysteresis from a car's low-temperature warning.

  • The Amp Hour · 1h 18m

    FPGA, Xess, 32 Bit - Quirky Qualitative Questions

    Hosts Dave Jones and Chris Gammell answer user-submitted questions covering solar energy economics, the viability of open-source hardware companies like MakerBot, and the challenges of designing for subzero temperatures. They discuss the technical causes of power supply buzzing, including transformer laminates and capacitor microphonics, and debate the career value of learning FPGAs versus 32-bit ARM microcontrollers. The conversation concludes with advice for hobbyists and students on learning practical electronics, emphasizing hands-on projects and resources like the DSO Nano and Art of Electronics.

  • Hackaday Podcast · 58m

    Ep 193: Found Computers, Internet Over WhatsApp, Two-Factor C64, Shifting Cars, and Self-Shooting Fighter Planes

    Editors Elliot Williams and Dan Maloney review a week of hacks, including tunneling IP over WhatsApp, generating 2FA codes on a Commodore 64, and emulating ISA cards with an FPGA. They discuss the security of a Zap Tech EV charger, the prevalence of Linux in scavenged smart TVs, and repurposing 3D printers for lab automation. The episode concludes with a discussion on the F-11 Tiger's self-shooting incident and the importance of physical modeling in engineering.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by Embedded.fm. The episode itself belongs to its publisher.