My Toolchain for Building Programming Books

Undefined behavior, and the Sledgehammer Principle

Reverse-Engineering YouTube: Revisited

Issue #328



Hope you all had a lovely weekend.
Here's the issue.


Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.


My Toolchain for Building Programming Books

Published: 3 February 2023
Tags: javascript, ruby

Dave Copeland discusses the custom toolchain that he created in order to automate code samples, command-line invocations, screenshots, and diagrams for their self-published books.
Some highlights:

  • The toolchain is designed to keep the book updated as libraries and programming environments change
  • Dave describes the process of writing a programming book and how the toolchain simplifies the process
  • Good general outline on how to write technical books


Undefined behavior, and the Sledgehammer Principle

Published: 2 February 2023
Tags: c, c++, compiler, rust

JeanHeyd Meneide explains the implications of GCC optimizing code in a way that can result in undefined behavior.
Some highlights:

  • "Yodaiken argues in his blog that Undefined behavior being used for optimization is simply a “reading error”"
  • This is not the first time the C Language, implementations, or the C Standard came under flak for this kind of optimization
  • The issue is signed integers triggering undefined behavior on a left shift


Reverse-Engineering YouTube: Revisited

Published: 4 February 2023
Tags: javascript, reverse engineering, web

Oleksii Holub does a deep-dive on the YouTube API.
Some highlights:

  • There is currently a lull in updates for the API
  • Describes the meaning of different terms specific to the API
  • Ultimately it's even easier than before to download videos from YouTube


How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link

Your referrals:

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
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.

Stats (updated daily)

Sent: 3040

Opens: 1451

Clicks: 353

Link Clicks Clicks % Unique Clicks Unique Clicks %
My Toolchain for Building Programming Books 107 39.19% 117 39.53
Undefined behavior, and the Sledgehammer Principle 73 26.74% 80 27.03
Reverse-Engineering YouTube: Revisited 93 34.07% 99 33.45


Back to Issues