🔗 The Frustration Loop

The Frustration Loop | ᕕ( ᐛ )ᕗ Herman’s blog This lead me to an idea: The Frustration Loop The premise is simple. When spam is detected, instead of blocking the blog, fake system error or failure in the most frustrating way possible. Waste their time and make them give up. I got the idea from The Password Game which I highly recommend checking out. Since implementing The Frustration Loop the amount of spam has dropped from about 30% of new blogs, to less than 5% (nothing is perfect)....

November 25, 2023 · 1 min · 105 words

🔗 HTML First

HTML First HTML First is a set of principles that aims to make building web software easier, faster, more inclusive, and more maintainable by… Leveraging the default capabilities of modern web browsers. Leveraging the extreme simplicity of HTML’s attribute syntax. Leveraging the web’s ViewSource affordance. Principles Prefer Vanilla approaches Use HTML attributes for styling and behaviour Use libraries that leverage HTML attributes Avoid Build Steps Prefer Naked HTML Be View-Source Friendly

November 14, 2023 · 1 min · 71 words

🔗 Approval Tests

Approval Tests - Home Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed. Interesting approach to testing using Combination Approvals: @Test public void upateQuality() throws Exception { CombinationApprovals.verifyAllCombinations( this::doUpdateQuality, new String []{"foo", "bar", "baz"}, new Integer []{-1, 0, 11}, new Integer[0, 1, 49, 50}); } private String doUpdateQuality(String name, int sellIn, int quality) { /*....

November 6, 2023 · 1 min · 115 words

🏞 How Big Tech does Quality Assurance (QA)

The pernicious effect of having a separate testing team: How Big Tech does Quality Assurance (QA) - by Gergely Orosz The change in the number and type of tests the Visual Studio Team Services experienced after merging the dev and the test teams. Before the merge: end-to-end tests dominated, but unit and integration tests were rare. This flipped after the merge. (Microsoft Dev Blogs) In 2 years, almost all “old” tests from when test was separate from dev, were gone....

September 20, 2023 · 1 min · 91 words

🔗 Google Style Guides

Google Style Guides This project (google/styleguide) links to the style guidelines we use for Google code. AngularJS Style Guide Common Lisp Style Guide C++ Style Guide C# Style Guide Go Style Guide HTML/CSS Style Guide JavaScript Style Guide Java Style Guide Objective-C Style Guide Python Style Guide R Style Guide Shell Style Guide Swift Style Guide TypeScript Style Guide Vim script Style Guide

September 17, 2023 · 1 min · 63 words

🔗 The Tyranny of the Marginal User

The Tyranny of the Marginal User - by Ivan Vendrov How is it possible that software gets worse, not better, over time, despite billions of dollars of R&D and rapid progress in tooling and AI? What evil force, more powerful than Innovation and Progress, is at work here? … I call this force the Tyranny of the Marginal User. … a company with a billion-user product doesn’t actually care about its billion existing users....

September 15, 2023 · 1 min · 155 words

🔗 The exponential horn of testing

The exponential horn of testing · GitHub The actual model that more closely resembles what we need should have the bare minimum of E2E tests, quite a number of service tests and the vast majority should be unit tests. Exponential model: x = 10^hy So if the height h goes from 1 to 2 to 3 then we have 1 E2E test to 100 service tests to 10,000 unit tests....

September 14, 2023 · 1 min · 85 words

📜 Software companies

Your company may not be in the software business, but eventually, a software company will be in your business. — Naval on Twitter

September 10, 2023 · 1 min · 23 words

🔗 PNGme: An Intermediate Rust Project

Introduction - PNGme: An Intermediate Rust Project This guide is intended to fill the gap between heavily directed beginner tutorials and working on your own projects. The primary goal here is to get you writing code. The secondary goal is to get you reading documentation. If you haven’t read The Rust Programming Language yet, I highly encourage you to do so before attempting this project. This guide does not cover any language features....

September 7, 2023 · 1 min · 73 words

🏞 SQL Iceberg Meme Explanation

“SQL Iceberg Meme” (Avestura’s Blog) Explaining The Postgres Meme One of the best ways to learn something is to explain it, and this blog post aims to do exactly that. Let’s review and explain every part of this meme, while unraveling its meaning and secrets.

September 6, 2023 · 1 min · 45 words