Simulating Fluids, Fire, and Smoke in Real-Time Notes on the math, algorithms, and methods involved in simulating fluids like fire and smoke in real-time.
@stevekrouse.compress_response Compress Response Isn't it cool that browsers can natively decompress stuff? There are a couple of supported compression algorithms: gzip (used below), compress , deflate , br . Learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...
Discovering copy-on-write in R This is the story of how I wrote an absurdly inefficient algorithm to solve a cool problem in R, learned about copy-on-write semantics, and then came up with something much faster. This debacle has definitely made me a better R programmer.
Security and Crashing with Modal Logic Modal logic is a beautiful field of logic that can be applied to computer science in a few ways, one of which we explore in this post. It can elucidate security concepts and how and why to crash software.
The Systemic Racism of the Electoral College, Revisited The concept of one-person-one-vote is central to democracy. No person’s vote should have more power or influence than anyone else’s. In a 1964 case Wesberry v. Sanders, the Supreme Court stated this explicitly: “As nearly as practicable, one man’s vote in...
Microsoft's Semantic Kernel SDK Ships with AI Agents, Plugins, Planners and Personas -- Visual Studio Magazine Microsoft's Semantic Kernel AI SDK has new documentation to explain its capability to create AI agents that can interact with users, answer questions, call existing code, automate processes and perform various other tasks.
My failed attempt at using a closet as an office My partner and I both work from home. I'm very thankful for that as we have two young children and a commute would take up the same time we ...
Build your own RAG and run it locally: Langchain + Ollama + Streamlit Let's simplify RAG and LLM application development. This post guides you on how to build your own RAG-enabled LLM application and run it locally with a super easy tech stack.
Fsync and k8s pvc snapshots IntroductionMy last post was about waiting for k8s to finish taking the PVC snapshot before using it for restoration. Well, like most things in software development, the restore didn’t work. Why?Why n
SVD Image Compression Singular Value Decomposition (SVD) is a fundamental concept in linear algebra, and it is particularly important in the field of machine learning for tasks such as dimensionality reduction, data compression, and noise reduction.
s/acc: Safe Accelerationism Manifesto Accelerate. Fast, Safe and Fair. Technology has been a transformative force for our civilisation and it is poised to play an increasing role going forward. Recent progress in Artificial Intelligence spurred discussions about how we should approach the de...
Improving Emacs isearch Usability with Transient Emacs incremental search (isearch) has an embarrassingly rich feature set. That said, I rarely use isearch beyond its basics for the twofold reasons: There are many isearch commands that are...
Building a custom Shopify storefront I rebuilt my wife's Shopify store and wanted to share what I've learned during the process.
Maybe We Don’t Need UUIDv7 After All In the last weeks, the topic of interest seemed to be UUIDv7 identifiers and how they solve DB index problems caused by random identifiers such as UUIDv4 IDs.
What's New in C# 12 | .NET Conf 2023 A new .NET means a new C#! Dustin and Mads will take you through the new features in C# 12, including collection expressions and primary constructors.Chapter...
Coffee and Open Source Conversation - Jim Bennett Jim is a Principal Developer Advocate at liblab focusing on skilling and inspiring developers, especially helping API developers deliver high-quality SDKs. H...
Coffee and Open Source Conversation - Jim Bennett Jim is a Principal Developer Advocate at liblab focusing on skilling and inspiring developers, especially helping API developers deliver high-quality SDKs. H...
Using Meadow and .NET to send log IoT events to Meadow.Cloud Jorge shows us how easily you can integrate Meadow.Cloud in your Meadow projects and send sensor data with event logs with a few lines of code.Chapters:00:00...
My cat water fountain comes with a spicy USB power adapter It turns out that you can't trust any USB type A power adapter to be within spec.
9 UI Frameworks for .NET Desktop App Development [2024] The landscape of different user interface frameworks for .NET desktop development offers many choices.What's great for the ecosystem and experienced develope...
Microspeak: Locked and loaded - The Old New Thing Armed and ready, with the suggestion that no further changes will be needed (or accepted).
Migrating an application from Razor Pages to Blazor Powered by Restream https://restream.ioFritz works on the TagzApp open source application. You can find it at https://github.com/FritzAndFriends/TagzApp
No More Magic String Navigation in .NET MAUI Shell with this Plugin! When you're using Shell in .NET MAUI, you're probably familiar with the URL navigation. What if I told you that this plugin can make things a lot easier? I g...
Finite-sample Gaussian efficiency: Shamos vs. Rousseeuw-Croux Qn scale estimators Previously, we compared the finite-sample Gaussian efficiency of the Rousseeuw-Croux scale estimators and the QAD estimator. In this post, we compare the finite-sample Gaussian efficiency of the Shamos scale estimator and the Rousseeuw-Croux (Q_n) scale e...
Querying MongoDB With ObjectId in C# - Code Maze In this article, we took a deep dive into the various ways in which we can query MongoDB with ObjectId in C#
I Handled All Exceptions in 5 min! 💙 .NET 8 Watch as I show you how to catch all of your exceptions in .NET 8.💎 Be a Patreon to get the source code: https://patreon.com/gsferreira🚨 KEY LINKS🤝 Suppor...
Release dotnet-1.0.1 · microsoft/semantic-kernel Changes: e560c3c .Net: Upgrade to v1.0.1 (#4311) 95a621a .Net: BugFix Serializing and Deserializing ChatHistory with ToolCalling details Update OpenAI Connector to use FunctionToolCallsProperty an...
Introducing Route Generator for .NET Learn to avoid navigation hell by having Routes auto-generated for you in your .NET frontend application
Validating appsettings becomes much faster with .NET 8 .NET 8 allows for a faster way to validate the option values in appsettings.json in an ASP.NET Core Web API using data annotations.
Top 6 Performance Tips when dealing with strings in C# 12 and .NET 8 Small changes sometimes make a huge difference. Learn these 6 tips to improve the performance of your application just by handling strings correctly.
Validate NuGet packages before publishing from GitHub Actions Using a couple of available tools you can validate NuGet packages before publishing to nuget.org. Learn how to set it up on GitHub Actions.
I Love Ruby I've done a lot in my career. From working on business support software to big backend systems and even robotics. If there's been a consistent through-line to my career, it's the Ruby programming language.
Christmas Countdown: #5 Sure, our servers are locked up tight in the basement! Securing your website is as important a topic as it is large and complex. In this post I will not go into too many details, but highlight a few problems I often see in Optimizely/EPiServer CMS implementations.
Providing HTML Content Using Htmx author, Laurence Isla,. This how-to shows a way to return HTML content and use the htmx library to handle the AJAX requests. Htmx expects an HTML response and uses it to replace an element inside the DOM (see the htmx introduction in the docs). Preparator...
3Blue1Brown Mathematics with a distinct visual perspective. Linear algebra, calculus, neural networks, topology, and more.
Ardalis is Steve Smith - ardalis Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.
How to Use Async/Await in JavaScript – Explained with Code Examples Hello friends! In this article, I'm going to show you how to use the “async/await” special syntax when handling JavaScript Promises. If you don't know or need a refresher on JavaScript promises, you can read my previous article: How JavaScript Promises Wo...
Naming Made Easy: AI-Powered Rename Suggestions - Visual Studio Blog Ever struggled to name a variable, method, or class—finding that perfect balance between expressiveness and conciseness? You’re not alone. We’ve tackled this universal challenge in the latest Visual Studio Preview via our GitHub Copilot Chat extension (su...
People in Space! (2023 .NET Advent) My entry for the 2023 .NET Advent - Finding out who is in space with C# with Spectre.Console with a special shout-out to The Muppet Show!
Azure Static Web Apps – VS Code extension As a follow-up on the presentation I did at CloudBrew about Azure Static Web Apps I want to write a series of blog posts. In this first p...
Discriminated Unions in C# This blog post is a very gentle introduction to how you can simulate Discriminated Unions today in C# whilst you wait for them to be added to the C# Language. We'll look at one of the less popular reasons for wanting their introduction: Domain Modelling.
React-Native Push Notifications with Firebase Cloud Messaging Dive into React Native push notifications with Firebase Cloud Messaging and Notifee. From setup nuances to advanced features, this guide equips developers to engage users effectively.
Unbricking my MacBook took an email to Tim Cook After my lost MacBook was returned to me with an Activation Lock on it, Apple refused to unlock it. Only after emailing Tim Cook could I get it unlocked.
Flipboard Steps Back from Tweeting We have decided to suspend our activity on Twitter/X. While we’ve enjoyed connecting with many of our community members there, we believe…
Subscribe to Techmeme's Daily Newsletter Sign up for Techmeme's Daily Newsletter, and never miss a story.
Building planet scale .NET apps with Azure Cosmos DB | .NET Conf 2023 Building planet scale applications requires a database that can remain highly performant while seamlessly scaling as your needs grow. Azure Cosmos DB is a fu...
Spectral Data Clustering from Scratch Using C# -- Visual Studio Magazine Spectral clustering is quite complex, but it can reveal patterns in data that aren't revealed by other clustering techniques.
Progress toward a GCC-based Rust compiler The gccrs project is an ambitious effort started in 2014 to implement a Rust compiler within The GNU Compiler Collection (GCC). Even though the task is far from complete, progress has been made since LWN's previous coverage, according to reports from the...
NDepend 2023.2 - This Time On Mac! It's been a while since I checked in on new NDepend features, and I've never looked from the Mac perspective, so it's time to do a refresher!