A Java Geek weekly 61

Different kinds of testing

The subject of testing is vast. It may seem simple from outside, but it’s not. For example, one may define testing as checking that the software is fit for its purpose. But it encompasses a lot more: for example, mutation testing verifies that assertions do actually assert. In this post, I’d like to touch some testing flavors, what’s their purpose and how they compare to each other.

Constraints are Good: Python’s Metadata Dilemma

Another Python-meets-reality fun fact.

Weaponizing SSO for profit

This article looks at the practice of SaaS vendors placing Single Sign-On, SSO, capabilities behind premium pricing tiers, effectively turning a fundamental security feature into a premium offering

Trace Context: MQTT protocol

I didn’t know there was a specification to propagate the OpenTelemetry context across MQTT. Yet, I implemented it exactly in my OpenTelemetry demo.

Unusual Git IDs

A bit of fun for once.

How Much Memory Do You Need in 2024 to Run 1 Million Concurrent Tasks?
  • Rust is great, as expected
  • C#, even though it runs on a VM, is quite close
  • When it has been compiled to AOT, it’s amazing!
  • Go is quite disappointing
Function Properties in Data Classes are Code Smells

A Kotlin-focused short post.

Should you run PostgreSQL on Kubernetes?

Do you hate it when articles don’t get straight to the point? I definitely do.

So if you’re in a hurry, here’s the answer: Yes! Running a PostgreSQL database cluster on Kubernetes is a viable, production-ready method for hosting database workloads. But it wasn’t always that straightforward.

Dead Simple: When to Use Async in FastAPI

FastAPI seems to be trending in the Python world. The post explains when and how to use the async keyword on FastAPI endpoints.

A Comprehensive Guide to RAG Implementations

I believe that most developers know about RAG nowadays. This post goes beyond to provide a typology of more useful and complex approaches.

https://medium.com/pythoneers/debugging-in-python-replace-print-with-ic-and-do-it-like-a-pro-18f330c863cbåDebugging in Python: Replace print() with ic() and Do It Like a Pro^]

TL;DR: Check IceCream.

New "Laws" Announced at iSAQB Software Architecture Gathering

I love Gregor’s Law because I’ve witnessed it many times in my career:

Excess complexity is nature’s punishment for organizations that can’t make decisions.

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 61
Share this