31 July 2023

58 links · Monday

Shamir Secret Sharing

It’s 3am. Paul, the head of PayPal database administration carefully enters his elaborate passphrase at a keyboard in a darkened cubicle of 1840 Embarcadero Road in East Palo Alto, for the fifth time....

Binary Heap | Concurrency Deep Dives

Implementing a binary heap from scratch, so that you understand how it works internally. These are used in schedulers/timers.

The next step: PostOwl

In April, Nils and I released the proof of concept of Home, Not Alone, a social network made out of independent websites, that can talk to one another. We didn’t develop this further since, because for something like HNA to exist in the real world, we’d need t…

Toggles suck! | Axess Lab

You’ve all seen them, tiny switches that let you toggle a setting. And maybe, just like me, you sometimes pause, thinking “...Is it on or…

Poll Working

Today I was a poll worker in New Jersey’s Primary election. I was the only brown person, and one of 2 people below the age of 55. The other person was middle aged. Suffice it to say, almost everyone involved in the process was basically a retiree. It was a mas…

Tribal Knowledge

In my last post, I alluded briefly to the concept of “tribal knowledge” when developing software. I’ve heard this term defined in various contexts, but for the sake of discussion here, I’m going to define this as knowledge about how to accomplish a task that i…

Cachelines and Striped Locks — ~ngp

As part of a larger project, MehDB, I developed multiple implementations of a striped locking mechanism in both Rust and Golang (blog post on that soon?).

Socialized Proof of Work

There’s an increasing obsession with “humanness” these days: https://worldcoin.org/blog/engineering/humanness-in-the-age-of-ai https://ne...

So, you want to deploy on the edge?

Application developers often deploy their apps into a single area, generally represented by a handful of AZs in a single region. No matter where their users make requests from, those requests get served by the region where the developers’ apps run. If a user m…

I Paid Off $194k in Student Loans in Six Years. It Wasn’t Easy. - BJL

Table of Contents Disbelief In which I accomplish a long sought after financial goal and determine the need to reflect on how it came to be. Adventures in Aliens and Castration In which I discuss a ruined scheme to bypass a formal education. "Deer", Dear Frien…

An optimal-stopping quant riddle - Emir's blog

I happened upon a post by Gwern discussing, in some detail, various solutions to riddle #14 from Nigel Coldwell’s list of quant riddles. I initially got as far as the problem description in Gwern’s article and avoided reading further so I could first solve it …

A comprehensive guide to Redux for beginners

Redux is a very popular but perceived to be hard to understand React library that is becoming increasingly popular. In this guide I explain what is the purpose of this library and how to understand it in the perspective of a new developer.

Don Syme Live at fsharpConf 2023

Don Syme stops by fsharpConf 2023 to discuss the past, present, and future of F# and the F# community.Resources: https://aka.ms/fsharpconf2023fsharpConf is a...

Amanda (@Pandamoanimum@mstdn.social)

Attached: 1 video I saw this advert from 1956 on Instagram and can’t work out how a fridge from nearly 70 years ago basically has better features than the fridge I own now.

The proposal to enhance Go's HTTP router

A brief look at the proposed enhancements to the Go standard library HTTP request router, net/http.ServeMux: matching on HTTP method, and supporting wildcards in matched paths.

The NEW Way of Validating Settings in .NET 8

Check out my courses: https://dometrain.comBecome a Patreon and get source code access: https://www.patreon.com/nickchapsasHello everybody, I'm Nick, and in ...

Microsoft Releases .NET 8 Preview 6

Earlier this month, Microsoft released the sixth preview of .NET 8. The new version of the framework, expected to be released later this year, will be a Long Term Support (LTS) release. This preview brings performance improvements and features such as a new WA…

Modular Monoliths with Layla Porter

Listen to this episode from .NET Rocks! on Spotify. Microservices or Monoliths? Carl and Richard talk to Layla Porter about choosing a middle ground between microservices and monoliths, with modular monoliths. Layla talks about the pushback from the community …

Conduit - Your own chat server

Conduit is a simple, fast and reliable chat server powered by Matrix. Conduit is an alternative to Synapse and tries to be lightweight and easy to install, but it is still in development.

Introduction of Auth0 Templates for .NET

Auth0 Templates for .NET offers pre-built project templates with integrated Auth0 support for authentication and authorization. The development process is simplified, enabling the creation of Auth0-integrated .NET projects through familiar approaches from buil…

Happy 30th Birthday Windows Server!

Stroll down memory lane and celebrate 30 years of Windows Server innovation

How to Use TypeScript Generics with Functional React Components

In this article, we will explore the powerful synergy between TypeScript generics and functional React components. Generics allow you to define flexible components that can adapt to different data structures and enforce type safety throughout your codebase. By…

Let’s look at Wolfenstein 3D in F#

Introduction If you have seen some of my other blog posts you know I always find an excuse to talk about games made in F#, so once I saw James Randall's talk at fsharpConf about his F# port of Wolfstein 3D I knew I had to talk about it in this blog post. Overv…