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
Weekend Reading — More time to write
Sunday, November 24, 2024
More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People
🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?
Saturday, November 23, 2024
Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the
JSK Daily for Nov 23, 2024
Saturday, November 23, 2024
JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component
Not Ready For The Camera 📸
Saturday, November 23, 2024
What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video
Daily Coding Problem: Problem #1617 [Easy]
Saturday, November 23, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.
Ranked | The Tallest and Shortest Countries, by Average Height 📏
Saturday, November 23, 2024
These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3
⚙️ Your own Personal AI Agent, for Everything
Saturday, November 23, 2024
November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital
Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?
Saturday, November 23, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon
🐍 New Python tutorials on Real Python
Saturday, November 23, 2024
Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black
Re: Hackers may have stolen everyone's SSN!
Saturday, November 23, 2024
I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for