29 April 2024

44 links · Monday

basysKom GmbH | How To Use Modern QML Tooling in Practice

Qt 5.15 introduced “Automatic Type Registration”. With it, a C++ class can be marked as “QML_ELEMENT” to be automatically registered to the QML engine. Qt 6 takes this to the next level and builds all of its tooling around the so-called QML Modules. Let’s talk…

Five ways to pass parameters to Apache APISIX

I recently read 6 Ways To Pass Parameters to Spring REST API. Though the title is a bit misleading, as it’s unrelated to REST, it does an excellent job listing all ways to send parameters to a Spring application. I want to do the same for Apache APISIX; it’s b…

Calendar types in Watches

Mechanical watches that can show a date correctly are pretty rare, and the ones that do are very expensive (starting at $10k). But why? Let me explain.

Home Run Modeling Part 1: Base Model

Why home runs? Some of the best moments in baseball games are home runs. Something about hitting the ball out of the park is satisfying. Since baseball season just started, I wanted to model a part of the game. I decided to model home runs since they are prett…

The case for API-driven Design 🦄

While they come from the software industry, we can use APIs as a mental model to bake better design into our products right from the start.

Product-Market Fit Framework for B2B Startups

Finding product-market fit (PMF) is arguably the most critical challenge faced by startups. Navigating the path to PMF can often feel like m...

Can we RAG the whole web?

RAG, or Retrieval-Augmented Generation, is a method where a language model such as ChatGPT first searches for useful information in a large database and then uses this information to improve its responses.

1000x the telemetry at 0.01x the cost

This is my third post in a series on a different take on modern observability. In my first post I talked about why modern observability is so expensive. In my second post I talked about whether we rea

the Stabilizer Problem

Stabilizers have long been the great unsolved problem in the world of keyboards. Their function is straightforward; they prevent longer keys (such as the spacebar) from seesawing upward at one end when the opposite end is pressed down. Current solutions serve …

Power of Libraries

The Home Doctor – Practical Medicine for Every Household – is a 304 page doctor written and approved guide on how to manage most health situations when help is not on the way. The …

The Metaverse is Dead

The Metaverse trend has declined due to practical issues, while AI continues to grow in significant areas such as enterprise software, demonstrating its broader utility and long-term viability.

Webb captures iconic Horsehead Nebula in unprecedented detail

The NASA/ESA/CSA James Webb Space Telescope has captured the sharpest infrared images to date of one of the most distinctive objects in our skies, the Horsehead Nebula. These observations show a part of the iconic nebula in a whole new light, capturing its com…

Atomic Nucleus Excited with Laser: A Breakthrough after Decades

The "thorium transition", which physicists have been looking for for decades, has now been excited for the first time with lasers. This paves the way for revolutionary high precision technologies, including nuclear clocks.

Collection Performance: Detecting Items in a ConcurrentBag<>

The comparison between using the Count property and the IsEmpty() method in a ConcurrentBag reveals that IsEmpty() is 2.95 times more efficient based on benchmark results. This indicates a signific…

How does a List know that you changed it while enumerating it?

Everyone falls for that and tries to change a list while enumerating it greated by the System.InvalidOperationException: Collection was modified; enumeration operation may not execute. message. But how does the List know that you changed it? Let's find out.

Announcing TypeScript 5.5 Beta - TypeScript

Today we are excited to announce the availability of TypeScript 5.5 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescript@beta Here’s a quick list of what’s new in TypeScript 5.…

React 19 Beta Released!

Exciting news: React 19 Beta is now available! It’s been on the horizon for quite some time now, so it’s thrilling to finally get our hands on it.

Google hates this one weird trick for having NO bugs!

Every once in a while Google For Developers pops up on my Instagram feed. They often present small programming-related challenges. This one jumped out to me in particular: View this post on Instagram A post shared by Google for Developers (@googlefordevs) The …

Unleashing GitHub Copilot for Infrastructure as Code

  Introduction In the ever-evolving landscape of infrastructure management, the demand for efficient, scalable, and reliable solutions has never been higher...

Phi-3-mini in 30 lines of C# with ONNX Runtime GenAI

As part of the Phi-3 launch Microsoft has released optimized ONNX models as detailed in ONNX Runtime supports Phi-3 mini models across platforms and devices and published the models on HuggingFace 🤗 at Phi-3 Mini-4K-Instruct ONNX models for consumption in for…