Programming Digest #458: What's in a good error message?
#458 — February 07, 2022 | View in browser |
Programming Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
Free and open source Code Quality and Code Security
SonarQube has thousands of automated Static Code Analysis rules, protecting your app on multiple fronts, and guiding your team - now for 29 programming languages. Easily detect Security Vulnerabilities and Security Hotspots during your code review. Download for free.
this week's favorite
What's in a good error message?
As software developers, we’ve all come across those annoying, not-so-useful error messages when using some library or framework: "Couldn’t parse config file", "Lacking permission for this operation", etc. Ok, ok, so something went wrong apparently; but what exactly? What config file? Which permissions? And what should you do about it? Error messages lacking this kind of information quickly create a feeling of frustration and helplessness.
Technical time travel: On vintage programming books
What if we turn that lens backward, toward the yesteryear innovations of our shared past? Not in an effort to gain some competitive edge in the present - although the insight of historical context can be piercing - but simply to satisfy intellectual curiosity. To scratch that innocent itch for understanding how things work. Or, given hindsight, why they didn't.
Prefer to change the code rather than write a workaround
I can't count how many times I've heard programmers talking about writing some new piece of code to work around the behavior of some other code which they don't want to change. You are a programmer - you are allowed to change code! In fact, it's your job! Just change the code to do what you want! Fix the bug! Change the behavior! Add the feature!
Networking of a turn-based game
There is a lot to say about how it works but this blog post will focus on how I’ve designed the networking part of the game. I’ll first describe the problem in a more formal way. I’ll continue by explaining how it’s solved in S&R, as well as describe other possible solutions that I’ve discovered or imagined.
How and why the relational model works for databases
This is a note on, the Turing Award laureate, Ted Codd's revolutionary paper — A Relational Model of Data for Large Shared Data Banks. In this post, I will review the paper and add my comments with a perspective from modern distributed databases.
newsletters
Older messages
Programming Digest #457: There’s no such thing as clean code
Sunday, January 30, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #457 — January 31, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #456: GPS
Sunday, January 23, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #456 — January 24, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #455: Programming in 1987 versus today
Sunday, January 16, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #455 — January 17, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #454: Finding your home in game graphics programming
Sunday, January 9, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #454 — January 10, 2022 View in browser Programming Digest Spread the word, build the community, share
Programming Digest #453: Databases in 2021: A year in review
Sunday, January 2, 2022
And more news, tutorials and articles about programming and technology in this week's issue. #453 — January 03, 2022 View in browser Programming Digest Spread the word, build the community, share
You Might Also Like
🤳🏻 We Need More High-End Small Phones — Linux Terminal Setup Tips
Sunday, November 24, 2024
Also: Why I Switched From Google Maps to Apple Maps, and More! How-To Geek Logo November 24, 2024 Did You Know Medieval moats didn't just protect castles from invaders approaching over land, but
JSK Daily for Nov 24, 2024
Sunday, November 24, 2024
JSK Daily for Nov 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
OpenAI's turbulent early years - Sync #494
Sunday, November 24, 2024
Plus: Anthropic and xAI raise billions of dollars; can a fluffy robot replace a living pet; Chinese reasoning model DeepSeek R1; robot-dog runs full marathon; a $12000 surgery to change eye colour ͏ ͏
Daily Coding Problem: Problem #1618 [Easy]
Sunday, November 24, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Zillow. Let's define a "sevenish" number to be one which is either a power
PD#602 How Netflix Built Self-Healing System to Survive Concurrency Bug
Sunday, November 24, 2024
CPUs were dying, the bug was temporarily un-fixable, and they had no viable path forward
RD#602 What are React Portals?
Sunday, November 24, 2024
A powerful feature that allows rendering components outside their parent component's DOM hierarchy
C#533 What's new in C# 13
Sunday, November 24, 2024
Params collections support, a new Lock type and others
⚙️ Smaller but deeper: Writer’s secret weapon to better AI
Sunday, November 24, 2024
November 24, 2024 | Read Online Ian Krietzberg Good morning. I sat down recently with Waseem Alshikh, the co-founder and CTO of enterprise AI firm Writer. Writer recently made waves with the release of
Sunday Digest | Featuring 'How Often People Go to the Doctor, by Country' 📊
Sunday, November 24, 2024
Every visualization published this week, in one place. Nov 24, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week we visualized the GDP per capita
Android Weekly #650 🤖
Sunday, November 24, 2024
View in web browser 650 November 24th, 2024 Articles & Tutorials Sponsored Why your mobile releases are a black box “What's the status of the release?” Who knows. Uncover the unseen challenges