Daily Shaarli

All links of one day in a single page.

July 14, 2023

Create an advanced search engine with PostgreSQL
thumbnail

Yet another article on how you can do search straight in PostgreSQL. This one goes a bit further in how to put the pieces together though.

Software engineers hate code.
thumbnail

A bit sarcastic, but makes its point efficiently. It's important to realize that more code to maintain is definitely not what we need.

Snapshot Testing
thumbnail

Where does this style of tests shine? A few elements to consider.

Toot toot! Mastodon-powered Blog Comments
thumbnail

It's definitely tempting me to switch my blog comments to the fediverse as well.

pytest fixtures are magic!

A little article which serves as a good introduction to the pytest fixtures. They are indeed very useful I think.

Advice for Operating a Public-Facing API

Interesting list of advises. Most of it makes sense, I'm less convinced about avoiding the headers for the authentication mechanism though.

What is a Unit Test? (The Answer Might Surprise You)
thumbnail

This is about behavior and not structure indeed. Put the focus at the right place otherwise your tests will quickly become expensive to update.

Test Against Reality
thumbnail

Calls a bit too much everything mocks while the term test double would have done the job. Still it stresses fairly well the importance of being as close to reality as possible and the tradeoffs we have to make.

Be Open to Black: A Digital Design Tip

Black has been getting too much of a bad reputation in the last few years. This article makes a good job arguing for a more balanced view.

DisplayPort: A Better Video Interface | Hackaday
thumbnail

Interesting dive into the DisplayPort protocol and its advantages, looking forward to the next article in this series.

Comparing Queuing Strategies in Distributed Systems
thumbnail

Neat way to see how several queuing strategies behave. Picking the right one for your system is important.

Excellence is a habit, but so is failure

Habits indeed cut both ways...

The Most Powerful Law in Software
thumbnail

Nice little article about Conway's Law. Shows nicely all the ramifications it has.

Paint Drip People
thumbnail

Interesting alternative to the "T-shaped skills" metaphor.