- A Byte of Coding
- Posts
- A Byte of Coding Issue 381
A Byte of Coding Issue 381
A Byte of Coding Issue 381
Hey-yo,
Have fun to whoever is going to see the eclipse today! Unfortunately I won’t be able to, but I’ll live vicariously through you. Let me know how it goes and if you have anything special planned! :)
Published: 7 April 2024
Tags: python
In theme with the day, Erik Bernhardsson demonstrates an implementation in python for predicting solar eclipses.
Some highlights:
uses astropy package
optimizations for parallelizing code execution
partial list of past and future eclipses
Published: 30 March 2024
Tags: business, management, cicd
Maciej (MJ) Jedrzejewski wrote a concise article on key metrics that can help convince business stake holders of the importance of implementing / improving CI/CD pipelines.
Some highlights:
divided into 4 areas: deployment frequency, lead time for changes, time to restore service, and change failure rate
each area tied back to how it benefits the business
focus during the conversation should be on why changes are important for the business, not just for the technical side of things
Published: 28 June 2021
Tags: sponsored, auth, web
WorkOS has published an extensive guide on how one-time passwords work, their benefits, and implementation details.
Some highlights:
“OTPs come in three different forms, and each form works differently: time-synchronized OTPs, lockstep synchronized OTPs, or transmission-based OTPs”
OTPs are more secure than static passwords, but can create a frustrating user experience due to potential delays
Pros and cons for OTPs
Published: 29 March 2024
Tags: tdd, philosophy
Kent Beck illuminates an essential skill that he believes is required for effective test-driven development (tdd).
Some highlights:
“The ability to break a big complicated behavior into pieces,”
“In such a way that implementing & verifying those pieces implies that the whole behavior acts as expected,”
“And the confidence to work this process.”
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.