1 May 2024

40 links · Wednesday

Optimizing Data Manipulation with LINQ

The content explores using LINQ in .NET to query and manipulate data from various sources. It highlights benefits like integration into C# and VB.NET, type safety, composition of operations, and su…

LLMs Can't Do Probability - Brainsteam

I built an experiment to show what happens when you ask an LLM to behave in a certain way a certain percentage of the time.

MAP_SHARED and RSS/SHR

Recently we were debugging a memory leak on an experimental debugging branch. It turned out to be a false alarm due to adding tokio-console to a component to debug something. However, while investigating we noticed a higher than expected RES / SHR reported by …

The Disappearance of Lived Time

The Power of ‘No’: Reclaiming Leisure from the Commodification of Time in an Age of Hyperactivity

Tracking the Wins

Stay motivated and avoid burnout

Why should I pay for an open-source app? - Jonathan Garelick

I recently made the decision to start charging $2 for my open-source app, SoundSeer. This was a tough choice for me; after all, why should someone pay for something they can get for free? What’s in it for you The core value proposition of SoundSeer is that it …

On Programming Languages

While it is true that most of the time while developing software, we just pick either C++, Java, Python, etc. and start coding simply because A these languages are already well-established and have a lot of libraries and B we are already familiar with them. Ye…

I Reviewed 1,000s of Opinions on HTMX

HTMX is a new technology that is causing a lot of controversy. I reviewed 1,000s of opinions on HTMX to understand what developers think about it. Here is what I found.

Applied abstraction

The right level of abstraction is a tradeoff between power and mental costs. Gratuitous abstraction pursues generality past diminishing return.

Collection Performance

These articles delves into performance optimization for collections in .NET, covering topics like looping, sorting, and utilizing different types of objects. The author identified performance varia…

Better & Faster Large Language Models via Multi-token Prediction

Large language models such as GPT and Llama are trained with a next-token prediction loss. In this work, we suggest that training language models to predict multiple future tokens at once results in higher sample efficiency. More specifically, at each position…

run0

run0 — Elevate privileges

General Performance Tip: Optimizing Enum Value Name Retrieval

The article delves into the optimization of Enum value name retrieval in .NET, comparing three approaches. It demonstrates that one of these methods is 16.13 times more efficient, with no memory al…

Marten, Metrics, and Open Telemetry Support

Marten 7.10 was released today, and (finally) brings some built in support for monitoring Marten performance by exporting Open Telemetry and Metrics about Marten activity and performance within you…

Metalama Status Update, April 2024

In this update, we cover the general availability of Metalama 2024.1 and PostSharp 2024.1, the release of Metalama 2024.2 preview builds, the introduction of the Metalama Email Course, and our roadmap for the coming months.

Some more C# 12 | Red Hat Developer

Explore C# 12 advanced features, including inline arrays, optional params and params in lambda expressions, ref readonly parameters, aliasing any type, and the

Working with Rust Libraries from C# .NET Applications

I’ve been on a Rust learning journey lately, and it’s had me thinking about how I can consume Rust libraries from existing .NET applications. The .NET team has done much work regarding interoperability during the .NET 6 to .NET 8 era, and .NET 9 seems poised t…