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
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your