30 June 2022

90 links · Thursday

What Metric to Use When Benchmarking?

What is the right metric to use when measuring a program's performance? There are various possibilities, from memory usage to branch prediction hit rates, but I'm going to pick on two that I see widely used: CPU instructions executed (what modern CPUs call "in…

RSS/Atom, Emacs and elfeed - blog.dornea.nu

In my last post I wrote about RSS/Atom and how these technologies can be used to declutter your digital life and reduce your exposure to the attention economy. Emacs (and all the amazing packages) taught me ORG mode, some basic Elisp and how to be a minimalist…

Investigating man-db internals

Investigating man-db internals From time-to-time I get nerd-snipped into understanding the internals of some system, library or any technology I use. This time, man was the target. I’ve discovered that man-db uses a DB (maybe that’s why there is DB in the name…

Incentives

Understand the why.

Implementing paging in ASP.NET Core MVC

This post is about how to implement paging in ASP.NET Core MVC applications. For the implementation I am using a nuget package - X.PagedList.Mvc.Core. In the controller action method we need to set the page as the argument like this.

C# vNext - What could come

C# 11 is in front of our doorsteps. A lot of the features are know, so let us have a look at the future. We will discover some features which could be included in C# 12 or later. Base for this is the csharplang-repository. So let's discover brand new features …

Give Up GitHub: The Time Has Come!

Those who forget history often inadvertently repeat it. Some of us recall that twenty-one years ago, the most popular code hosting site, a fully Free and Open Source (FOSS) site called SourceForge, proprietarized all their code — never to make it FOSS again. …

Implementing Breadcrumbs in ASP.NET Core

This post is about how to implement breadcrumbs in ASP.NET MVC Core. A breadcrumb is a type of secondary navigation that shows a user’s current location in the website as well as the “history” of how he got there. In this post I am using a nuget package called…

Armchair Architects: Using Chaos Engineering to plan for specific failure conditions

Chaos Engineering: What is it? Who should do it? What can you learn? How do you get started? Armchair Architects, Uli Homann and Eric Charran, joined David Blank-Edelman for a lively discussion of Chaos Engineering from an architect’s point-of-view on the Azur…

Charter Houses

I. There are a lot of really big houses (6+ bedrooms) on the market for around a million dollars, or sometimes less. Like this three-story, seven-bedroom house just outside Albany, NY, which recent…

Test Double clocks

A short exploration of replacing the system clock with Test Doubles.

Some Funny Interviews I Have Done

I never interview anymore, but the handful of times I have miraculously produced some funny stories. (cont.) I transitioned to development/engineering from a successful telecom sales career. The process was a little rocky, but after I had my feet under me (but…

Home

Shrugs.app 🤷‍♀️ The native Slack client for macOS

June 28, 2022

June 28, 2022 - The Old New Thing

Monsters Weekly 255 - IEnumerable Visualizer in Visual Studio

The new IEnumerable Debugger Visualizer in Visual Studio makes it easy to display (and even export) large collections when debugging your code. https://devblogs.microsoft.com/visualstudio/view-net-col

Sneak Peek and Edit Your Code While You Search

Throughout Visual Studio 2022 Previews, we’ve been releasing a series of changes to the way you go about searching code in the IDE using the new All-In-One Search: VS 2022 17.1 Preview 1: Indexed Find in Files VS 2022 17.2 Preview 3: The New All-In-One Search …

Introducing Mimic 3 by Mycroft

Mycroft’s newer, better, privacy-focused neural text-to-speech (TTS) engine. In human terms, that means it can run completely offline and sounds great.

Fuck Motivation

Motivation can make doing a task deeply fulfilling, but it is a fleeting, fickle bitch not to be relied upon.

Building a side-project

So I decided to build a utility SaaS that automates the whole process of generating images with a single line of drop-in code.

June 27, 2022

Why stop at denial of service when you have remote code execution?

Challenge: Find the stack smash bug…

The following code is something that we run into yesterday, under some conditions, this code will fail with a stack overflow. More specifically, the process ...

Manning on Twitch Calendar - Live Author Appearances - Manning

manning.com Manning on Twitch Tech Authors Stream Their Expertise Did you know? Manning streams live on Twitch! Every week, you have the chance to join your favorite Manning authors as they write code, answer your questions, and demonstrate tech they... Contin…

Everything You Need to Know About Bug Reports

Did you know that not all bug reports are created equal? Explore bug reporting approaches, the do’s, and don’ts to deliver quality reports while saving time.

I kind of understand Clojure macros

Looks like I have understood about macros in Clojure (a bit). So whats a macro? Lets say you want to add 2 and 3 and you will write it like this:

Nondestructive Mutation and Records in C#

In this article, we will discuss nondestructive mutation: What does it mean to mutate an object without destroying it, and how do we implement it using records or classes that are not records in C#. You can learn more about this topic from my video courses pub…

How to Use Next.js Middleware • CTNicholas

With the release of Next.js 12, Vercel Edge Functions have been announced, allowing for super speedy edge-optimised functions. They can also be used as helpful Next.js middleware functions. In this article I'll explain what they are & how to use them,…