A Byte of Coding Issue 353

A Byte of Coding Issue 353

A Byte of Coding

Hello,

Hope you all had a nice weekend. Here’s the issue.

Published: 11 February 2024

Tags: reverse engineering, hardware, history

Ken Shirriff dissects “the Bendix Central Air Data Computer (CADC)”, which was used “to compute airspeed, Mach number, and other ‘air data’” in fighter planes from the 1950s.

Some highlights:

  • Aircraft have determined airspeed from air pressure for over a century", by determining the ratio of air pressure between the “static” pressure and the air pressure created by the outside air being pushed into a tube

  • all calculations are done via mechanical means, using gears and cams

  • “The CADC performs nonlinear calculations that seem way too complicated to solve with mechanical gearing”

Published: 18 February 2024

Tags: php, architecture

Terence Eden implemented a Fediverse server in one php file.

Some highlights:

  • outlines the criteria for the design

  • walks through the different parts of the server

  • mostly useful as an educational tool

Published: 16 February 2024

Tags: javascript, testing

Wesley Aptekar-Cassels demonstrates a simple method for testing email sending / receiving, using nodejs.

Some highlights:

  • uses a SMTP and HTTP server

  • 39 lines of javascript

  • some tips on using playwright for end-to-end testing for web apps

Thanks for your Support!

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.