Programming Digest #493: Facts about State Machines
#493 — October 10, 2022 | View in browser |
Programming Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
The open source Product OS. Built on the modern data stack.
PostHog's open source platform has everything engineering teams need in one place. Product Analytics, Session Recording, Funnels, Feature Flags, Experimentation and more — all seamlessly integrated. And you can self-host, so user data never leaves your infrastructure.
this week's favorite
They're all over the place. Think of all the web apps, all the electronic devices, all the household appliances, all the industrial machines that people interact with every day. For each one of them, we can formulate a state machine that describes its reactive behaviour with a great degree of precision.
Want cleaner code? Use the rule of six
Everyone wants to write clean code. There are whole books about it! But you don't need to read a book to write cleaner code right now. There's one "trick" that every coder can learn to make their code less confusing.
Software engineering practices
Gergely Orosz started a Twitter conversation asking about recommended “software engineering practices” for development teams. I decided to flesh some of my replies out into a longer post.
Storing UTC is not a silver bullet
This blog post is intended to provide a counterpoint to that advice. I’m certainly not saying storing UTC is always the wrong thing to do, but it’s not always the right thing to do either.
Performance Benefits of Using Huge Pages for Code.
Many people know about performance benefits of using Huge Pages for data, but not many of them know that Huge Pages can be used for code as well. In this article, I show how to speed up source code compilation for the clang compiler by 5% if you allocate its code section on Huge Pages. If it seems small to you to justify the effort, I can say that all major cloud service providers care about every 1% they could optimize since it translates into immense cost savings. And hey, why leave performance on the table?
projects
Time series data: Do you need a purpose-built database?
Is time series data just any dataset with a timestamp field? How do time series workloads differ from OLTP or full text search? And what does it mean for your choice of database? Get all the answers in this technical e-book from the creators of InfluxDB. Download PDF.
how did you like this issue?
newsletters
Older messages
Programming Digest #492: Aging programmer
Sunday, October 2, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #492 — October 03, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #491: How I’m a Productive Programmer With a Memory of a Fruit Fly
Sunday, September 25, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #491 — September 26, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #490: Senior Engineers are Living in the Future
Sunday, September 18, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #490 — September 19, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #489: What Distinguishes Great Software Engineers?
Sunday, September 11, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #489 — September 12, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #488: The silent majority
Sunday, September 4, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #488 — September 05, 2022 View in browser Programming Digest Spread the word, build the community, share
You Might Also Like
Mapped | The Income Needed to Join the Top 1% in Every U.S. State 💰
Thursday, January 2, 2025
This graphic illustrates the income needed to be in the top 1% of earners in each state, and it ranges from $420000 to $1.2 million. View Online | Subscribe | Download Our App FEATURED STORY The Income
Issue 346 - Putting FSD safety to the test
Thursday, January 2, 2025
View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 346 -
Divisible By 5 🫠
Thursday, January 2, 2025
Feeling a little dread about 2025? Join the club. Here's a version for your browser. Hunting for the end of the long tail • January 02, 2025 Today in Tedium: If you let me get my Zager and Evans on
Unreleased Microsoft keyboard rolls out
Thursday, January 2, 2025
🪙 My wild Bitcoin ride; CES 2025; Security cam tips -- ZDNET ZDNET Tech Today - US January 2, 2025 Incase Compact Ergonomic Keyboard Exclusive: Incase announces new keyboard that Microsoft designed (
wpmail.me issue#700
Thursday, January 2, 2025
wpMail.me wpmail.me issue#700 - The weekly WordPress newsletter. No spam, no nonsense. - January 2, 2025 Is this email not displaying correctly? View it in your browser. News & Articles 10 Proven
Post from Syncfusion Blogs on 01/02/2025
Thursday, January 2, 2025
New blogs from Syncfusion Transform JSON into Stunning Charts: Auto-Generate Visuals with Syncfusion ® .NET MAUI Toolkit By Saravanan Madheswaran This blog explains how to auto-generate stunning charts
⚙️ Microsoft and OpenAI's AGI
Thursday, January 2, 2025
Plus: xAI's $12 billion
Are You Prepared for 2025’s Most Impactful Challenges?
Thursday, January 2, 2025
Stay ahead with insights and strategies for this year's biggest cybersecurity challenges. The Hacker News Cyber threats evolve fast, and 2025's threats will be no exception. Familiar challenges
Malicious Obfuscated NPM Package Disguised as an Ethereum Tool Deploys Quasar RAT
Thursday, January 2, 2025
THN Daily Updates Newsletter cover Full Stack Web Development ($54.99 Value) FREE for a Limited Time This book offers a comprehensive guide to full stack web development, covering everything from core
Re: This took me 10 minutes and protects my privacy
Thursday, January 2, 2025
My New Year's resolution is to do a better job of protecting my identity online. Last year, billions of personal records were compromised due to data breaches. That's why I wanted to tell you