A Byte of Coding Issue 385

A Byte of Coding Issue 385

A Byte of Coding

Hey,

Some of you might’ve noticed that there was no issue yesterday. My apologies, I ran a software update in the morning (as I was writing the newsletter) that ended up breaking the display manager on my machine. I then had to spend the whole day fixing the issue. Spoiler, it ended up being a corrupted xorg server package. My laptop froze and had to be shutdown mid system update, which is what caused the issue. Fun stuff.

Anyway, here’s the issue.

Made possible through generous sponsorship by:

Published: 13 April 2024

Tags: ast, inko

Yorick Peterse wrote an extensive explanation on how to implement a code prettier for inko.

Some highlights:

  • based on prettier (javascript code formatter)

  • goes through each step required for a formatter

  • includes code examples

Published: 11 February 2018

Tags: windows, optimization, memory

Bruce Dawson explores what zombie processes are and how they consume a bunch of ram.

Some highlights:

  • a zombie process is a process that has shut down but is kept around because some other still-running process holds a handle to it”

  • zombie processes consumed up to 32gb of memory for Bruce

  • for Bruce, caused by distributed building of chrome for windows (creating 10,000s of processes)

Published: 25 March 2024

Tags: sponsored, auth

WorkOS published an extensive guide on building modern day user management, diving into various auth topics like SSO, MFA, and even user provisioning.

Some highlights:

  • Session management is a foundational piece of user management but is complex to build. Devs need to consider cookie-based vs. JWT-based auth and how to persist login state information for users that are part of multiple orgs

  • At the 201 level, things like bot detection and org auth policies become more relevant

  • 301 topics include invitation flows, email verification, and more

Published: 12 April 2024

Tags: email, dns, networking

Jan Schaumann shares a thorough reference on what dns records are relevant to different parts of email dns verification.

Some highlights:

  • includes MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DANE, BIMI

  • brief explanations and examples for each record type

  • useful for when you’re adding / updating email records for domains

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.