Programming Digest #493: Facts about State Machines

And more news, tutorials and articles about programming and technology in this week's issue.

#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

Facts about State Machines

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

© 2022 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

Key phrases

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

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.