A Java Geek weekly 20

From Go to Rust: The Two Types of Readable Code

Awesome post that explains that the word readability is overused and that different languages mean two different things.

The text file that runs the internet

The AI "revolution" doesn’t care much about the old Web netiquette and doesn’t respect the old robots.txt file.

announcing freenginx.org

One of the main nginx developers just decided to fork it because he disagrees with F5’s direction. Huge.

The (almost) interesting history of Port Numbers

Interesting indeed. I learned quite a few "standard" ports.

The Pleasure of Pattern

Pattern recognition is indeed an important part of the brain.

Pattern recognition is not only crucial to humans, but to other animals as well. Even koalas, who possess less-developed thinking abilities, use pattern recognition to find and consume eucalyptus leaves. The human brain has developed more, but holds similarities to the brains of birds and lower mammals. The development of neural networks in the outer layer of the brain in humans has allowed for better processing of visual and auditory patterns. Spatial positioning in the environment, remembering findings, and detecting hazards and resources to increase chances of survival are examples of the application of pattern recognition for humans and animals.

The history of HTTP and the (some) stories behind status codes

I learned about a couple of standard and non-standard HTTP status codes.

No one cares about open-source, until …

It’s all about risk management. And most people underestimate risks, not to mention organizations.

Air Canada must honor refund policy invented by airline’s chatbot

Air Canada appears to have quietly killed its costly chatbot support.

Air Canada argued that because the chatbot response elsewhere linked to a page with the actual bereavement travel policy, Moffatt should have known bereavement rates could not be requested retroactively. Instead of a refund, the best Air Canada would do was to promise to update the chatbot and offer Moffatt a $200 coupon to use on a future flight.

Imagine if the court had ruled that entities were not liable for their chatbots. Every company would have created chatbots, regardless of their accuracy, and put the blame on them in any lawsuit.

What Does the ^M Character Mean in Vim?

I don’t know how many people are still using Windows for IT-related purposes. I switched a bit less than 10 years ago and never went back.

Performance Roulette: The Luck of Code Alignment

For low-level performance geeks.

Serving a Website From a Git Repo Without Cloning It

I love these useless experiments, which teach how things work under the hood.

In case you’re interested to improve your coding skills, I’ve written in the past a whole series focused on the book "Exercises in Programming Style"

Exercises in Programming Style is a book based on a pretty simple, but very interesting idea: there is a problem to solve with code - search for the 25 most common words in a text file. But here’s a twist: there’s a set of constraints that the code needs to conform to, each chapter having a different set of such constraints. Each post in this focus is dedicated to a chapter, and tries to solve the code in Kotlin.

I encourage you to do the same with your favorite language as it deepens your understanding of the language, its limitations, and the concepts described in the chapter. Perhaps I should do it again in Rust?

Nicolas Fränkel

Nicolas Fränkel

Developer Advocate with 15+ years experience consulting for many different customers, in a wide range of contexts (such as telecoms, banking, insurances, large retail and public sector). Usually working on Java/Java EE and Spring technologies, but with focused interests like Rich Internet Applications, Testing, CI/CD and DevOps. Also double as a trainer and triples as a book author.

Read More
A Java Geek weekly 20
Share this