What's enough Complexity for a Domain Model?
Using a domain model is a great way to manage complexity. But how do you know if you have enough domain complexity? Here's an example.
Using a domain model is a great way to manage complexity. But how do you know if you have enough domain complexity? Here's an example.
Universally composable (UC) security is the most widely used framework for analyzing the security of cryptographic protocols. Many variants and simplifications of the framework have been proposed and developed, nonetheless, many practitioners find UC proofs to…
Some examples on why I dislike shell scripting.
Many things surprise people about how differently we work at Podia, but one that comes up often is that we have absolutely zero product/project managers at our company of more than 30 people. Despite this — though I’ll argue below that it’s precisely because o…
Exactly-once is the message delivery guarantee the most developers want to achieve in their systems. In the most cases, the implementation of the set of rules backing it up should include the application layer. When it comes to messaging systems, exactly-once …
It's worth documenting and running through the process before disaster strikes while the stakes are low.
With the release of maven 3.9.0, it is now possible to leverage the maven-build-cache-extension to benefit from incremental builds in your maven project. This feature can improve build time (in your local workflow and your CI). It caches module builds, avoidin…
At a meeting some years ago of the Trinity Mathematical Society, Imre Leader and Thomas Forster gave introductory talks on “Does Mathematics need a Philosophy?” to a startlingly large audience, before a question-and-answer session. The topic is a very big one,…
Changing your lightbulbs just won't do
To improve website loading times, here are three quick tips. They all involve images, which have the biggest impact on page-load speed, and they’re all super easy to implement.
Gamers don’t care about tokenomics anymore.
When working with Smalltalk, you may wish to access functionality that exists in a specific library or technology that you do not want to recreate. In such cases, you have two options: creating an FFI bridge or extending the Smalltalk VM with new primitives. I…
The personal blog of Dave Rupert, web developer and podcaster from Austin, TX.
How to use an old analog video recorder to capture video straight to an SD card.
Wed, 15 Feb 2023
In the field of Data Engineering, the Apache Spark framework is one of the most known and powerful ways to extract and process data. It is well-trusted, and it is also very simple to use once you get the infrastructure set up. Understandably, most engineers wi…
I’m a professional computer programmer, but I don’t often do all that much computer programming. Instead I spend much of my time futzing around with config files, other people’s frameworks, and other people. This makes it easy to forget how much fun it is to w…
“A milestone for open protocols…” This is how Jack Dorsey, co-founder and former CEO of Twitter, announced the arrival of the Damus app, a Nostr protocol client, in the App Store/iOS. Nostr has generated buzz in developer groups, bitcoin addicts, and a crowd v…
Disclaimer: I work at dbt Labs, but the opinions here are strictly my own.
System.Text.Json.JsonSerializer has a weird quirk in regard to performance and memory management. So we will discuss what is "wrong" with this code: JsonSerializer.Serialize(myObject, new JsonSerializerOptions(...));.
Each .NET language is unique. C# is the most widely used language and the language most of .NET is written in. F# explores new language possibilities and the community provides a rich experience across platforms. We remain committed to Visual Basic and continu…
Password must not contain consecutive characters: keirenifuewiefwe
This post is about improving EF Core performance with Compiled queries. From EF Core 2.0 onwards, EF Core supports compiled queries, which helps developers to compile the queries in advance and executed when application executes the query. By default EF Core a…
The .NET Upgrade Assistant is now available as an experimental extension in Visual Studio to easily enable to update your apps and projects to the latest version of .NET.
This is a pretty big release, with a number of breaking changes. Release NotesMigration GuideBreaking changes include: Depending directly on IServiceProvider to resolve servicesMaking "void" request handlers return Task instead of UnitIRequest does not inherit…
It's to avoid a self-inflicted race condition.
Stephen Wolfram explores the broader picture of what's going on inside ChatGPT and why it produces meaningful text. Discusses models, training neural nets, embeddings, tokens, transformers, language syntax.
C# and F# are languages, each with growing user bases, that approach functional programming in fundamentally different ways. C# relies on object-oriented, imperative principles, and F# relies on functional principles. Some developers are using F# as a complem…
By using list patterns on an array or a list you can check whether a it contains the values you expect in a specific position.
Learn how to develop Visual Studio extensions with ease using Roslyn analyzers. This step-by-step guide will help you get started in no time!
Learn how to catch the FunctionTimeoutException in durable Azure Functions orchestrators using a try-catch block in C#.
We will learn about multipart requests and how to use multipart form-data in HttpClient with ASP.NET Core to send files.
Back in May of 2022 I transferred teams at Google to work on Fully Homomorphic Encryption (newsletter announcement). Since then I’ve been working on a variety of projects in the space, includ…
When working with databases, there are a few tenets to keep in mind to maximize your application's performance. First, reduce the number of network calls. Second, reduce the complexity of your queries
Dealing with async EventHandlers in C# can be very problematic. async void is a pattern causes headaches with exceptions. Check out this simple solution!
Convrt Trivia Night | Survive 7 live trivia questions, share the cash prize with other winners!
Brennan Build - Intel Core i7-13700K, GeForce RTX 4070 Ti, Fractal Design Pop XL Air ATX Full Tower
In this blog post I try to implement an ASP.NET Core Health Check that uses Polly CircuitBreaker that breaks if the number of errors reaches a limit within a specific period of time.
Last year, we brought a new feature to improve the way you assess target framework compatibility of a NuGet package through a new “Frameworks” tab. Today, we are announcing a new feature that will allow you to search by a target framework on NuGet.org.
I see this question pop up quite frequently in lots of different arenas - folks are curious as to what happened to Elm. As a former community member of Elm, I thought I'd act as a historian here and provide a write up covering the big pieces I see. Everything …
But for now I'm still the better programmer
Using Bogus to generate realistic fake data together with Entity Framework Core to set up your testing data in seconds!
by Yegor Tkachenko
I've worked a fair bit of my PM career leading the efforts in improving the API documentation experiences for developers. Nothing opens your eyes more to the pain of developers than actually building the tooling that makes API docs happen - you start encounter…
Let's run Solidity code inside SputnikVM inside Risc0.
Interconnected musings on behavior, products, and game design.
Today I read Alex Russell's post The Market for Lemons and I found myself compelled to write a rebuttal. I am a big fan of Alex's work in general but not of this post in particular, which is very long, so allow me to attempt to summarize it: JavaScript-heav…
Let me start with a question. Do you like solving Data Structure & Algorithms problems during interviews? If you’re like me the answer is hell no. I hated doing it at my school. I hated d…
It’s a well-known fact that our mobile devices come equipped with all kinds of sensors used for various features that we tend to take for granted. For example, a phone knows if it’s held in portrait or landscape orientation, it knows if you’re walking in a cer…
Can they inform computational complexity theory? Bill Gasarch and Christian Elsholtz both like primes and jokes and graphs and ways of sharing baked goods. Bill is a Professor of Computer Science a…
The case of desire against rationality.
I just had a power cut and wanted to check how long it would be out for. The UK Power Networks power outage tool is handy for that, but there’s a problem: I only had a 3G network connection and the…
The Blog of Mike Cann
An app that uses white noise, nature sounds, and focus features to boost your productivity. - GitHub - jenius-apps/ambie: An app that uses white noise, nature sounds, and focus features to boost yo...
Let's say you have a bunch of points in a space, like in the maps above. Someone asks you if some arbitrary point p is within your bunch of points. How can you find out if you have that point?
Thoughts and reflections on my six week batch.
Learn how to fake a long-exposure photo of earth at night using Photoshop and publically available satellite imagery.
I recently purchased a Mazda Miata. This car is interesting because instead of running on electricity, it is powered by a combustible liquid called gasoline. The vehicle has an engine that mixes the…
My take on the parametric heart shape concept.
This is a field guide on setting up and making use of SQLite in the strictest, least error-prone way possible. Examples are based on Python, which provides SQLite as part...
We are fucked. In fact, we are so fucked that Tom Scott conveniently released a new video talking about how fucked we are. Of course, he didn't actually say that we're fucked, because he's much nicer than I am. He uses soft and gentle words that disguise the r…