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 cal...
Binary Ninja - Introducing Tantō: Slicing Functions for Faster Finds Binary Ninja is a modern reverse engineering platform with a scriptable and extensible decompiler.
Sharing Deep Learning Research Models with Lightning Part 2: Leveraging the Cloud In this article, we will deploy a Super-Resolution App on the cloud using Lightning. The primary goal here is to see how easy it is to create and share a res...
Why do developers experience so much imposter syndrome? · Chris Gregori Is there anything you can do about it?
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 minim...
The Size of an Atom: How Scientists First Guessed It’s About Quantum Physics Atoms are all about a tenth of a billionth of a meter wide (give or take a factor of 2). What determines an atom’s size? This was on the minds of scientists at the turn of the 20th century. T…
Moving A Laravel Webpack Project To Vite Vite is the new front-end tooling for Laravel. Let's see how we can move a given Laravel project to Vite together.
How to redirect from server side in HTMX HTMX works like Ajax request but in this blog post I have explained a way to redirect the user from server side.
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...
Find programming work by increasing luck surface area Find programming work by increasing luck surface area
Martingale Project Timing The previous introduction was pretty arcane, so this one should be a little less.
Video Content Round Up: June 2022 Update on the Youtube channel reboot and details on the 4 new videos that I've posted!
Cancelation token is a security risk · Discussion #71503 · dotnet/runtime You put Cancelation token all over your branches, but you didn't write the implementation of Cancelation token yourself, it's possible that people from dotnet can brick your app on the requ...
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.
Java on Visual Studio Code Furthers Big Spring Boot Push -- Visual Studio Magazine Dev team improves functionality of Spring Boot dashboard, gives it separate view.
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 feat...
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 ag...
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 c...
Render Emails Using Razor Templating Learn how to use different open-source Razor engines to render Razor templates to strings for sending emails.
Learning HTML was too hard so I made a compiler instead This is the 10-year story of how I struggled to learn how to code.
Azure DevOps Podcast: Andrew Lock: Web Applications in .NET6 - Episode 198 Andrew Lock is a senior software engineer at Datadog, working out of Devon, in the UK. He is a Microsoft MVP, Author of Core in Action, and has an active blog all about his experience working with .NET and Core. Topics of Discussion: [3:35] Andre...
Improve Git monorepo performance with a file system monitor | The GitHub Blog Monorepo performance can suffer due to the sheer number of files in your working directory. Git’s new builtin file system monitor makes it easy to speed up monorepo performance.
Integrating Google Places Autocomplete API in a React App Let’s see how to use one of the libraries provided by the Google Maps platform—Places API—and how it’s used to add autocomplete functionality to a React app.
Telerik UI for .NET MAUI Goes GA: 50+ Controls! Telerik UI for .NET MAUI is officially out of the preview and experimental stage and a production-ready UI component library: Telerik UI for .NET MAUI 1.0.0!
TypeScript Vaults Ahead of Java to Crack Stack Overflow Top 5 -- Visual Studio Magazine Microsoft's TypeScript programming language over the past few years has been steadily climbing the popularity rankings in Stack Overflow's huge annual developer survey, this year knocking off Java to crack the top five.
Microservices with Benefits - The Blinking Caret How you can use microservices with event-sourcing and CQRS to achieve the true benefits attributed to microservices
Important Update on Email Vendor Security Incident - OpenSea Blog Discover unique NFTs and receive news, updates, tips, and tricks on the world’s first and largest NFT marketplace. Welcome to the OpenSea’s Blog.
Atlassian is 20 years old and unprofitable — the market has its valuation all wrong, says Adam Schwab Atlassian has somehow become the Benjamin Button of the tech sector — profitable as a startup and loss making as it has matured.
Visual Studio 2022 Preview Allows Code Editing in Search Results -- Visual Studio Magazine In the latest Visual Studio 2022 preview, developers can edit source code from within All-In-One Search results.
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...
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…
Minimal API Route Handler Filters An introduction to IRouteHandlerFilter for ASP.NET Core Minimal APIs
Top 8 Most Demanded Programming Languages in 2022 Ever wondered which is the most demanded programming language in 2022? Although there are more than 200+ programming languages, only few of them are used in the real world industry. Knowing this information is essential to succeed in the developer job ind...
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...
Avoiding Batch Jobs by a message in the FUTURE Batch jobs run periodically to perform work. They can be a nightmare if there is a failure. Avoid them with reminders for the future!
The only true answer to 'tabs vs spaces' Generalist developer writing about fullstack development, system administration and free software.
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 Se...
Getting Started with DevOps and .NET MAUI Want to add DevOps to your .NET MAUI project? This post shows how to implement a starter pipeline using GitHub Actions and Azure DevOps.
Program - WeAreDevelopers World Congress The WeAreDevelopers World Congress is the world's largest gathering of developers, software architects, IT specialists and tech decision-makers. Join now!
High performance .NET: Building a Redis Clone – skipping strings One of the high costs that we have right now in my Redis Clone is strings. That is actually a bit misleading, take a look here: Strings take 12.57% of the...
Managed Transforms: templated HTTP header modifications Customize multiple HTTP headers with a single click using Cloudflare Managed Transforms
Lambda Expressions in C# - Code Maze In this article, we're going to learn what Lambda Expressions in C# are in detail with some examples for the most common usages.
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.
What is Razor Templating, really? Take a peek behind the scenes of Razor, and learn really happens when you render that web page from a Razor template.
A Simple Example of Using the Memory Cache in .NET 6 with API Endpoints | no dogma blog I have used the Microsoft memory cache many times in the past, but didn't know how to use it with .NET 6 endpoints, so here is a blog post that should save you a little time if you haven't done it before.
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.
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... C...
Using Refit to Consume APIs in C# - Code Maze We are going to explore the type-safe wrapper for interacting with HTTP-based APIs, Refit, and how we use it to consume APIs in C#.
GitHub - Webreaper/CentralisedPackageConverter: Converts a project to use Centralised Package Management Converts a project to use Centralised Package Management - GitHub - Webreaper/CentralisedPackageConverter: Converts a project to use Centralised Package Management
Skip X.509 extension copies where possible by vcsjones · Pull Request #70589 · dotnet/runtime There are a few places where we take a strongly typed object for an X509Extension, serialize it to bytes, and then pass it to a base constructor, which copies it. This PR introduces an internal con...
Understanding your middleware pipeline in .NET 6 with the Middleware Analysis package In this post I introduce the Microsoft.AspNetCore.MiddlewareAnalysis package and show how to use it to visualise the middleware in your .NET 6 apps.
GitHub - Zaid-Ajaj/pulumi-csharp-analyzer: Roslyn-based static code analysis for pulumi programs written in C# Roslyn-based static code analysis for pulumi programs written in C# - GitHub - Zaid-Ajaj/pulumi-csharp-analyzer: Roslyn-based static code analysis for pulumi programs written in C#
Uno Platform 4.4 – Wasm Threading+Exception Handling, Rich Animations, GamePad APIs and more Pixel-Perfect Multi-Platform Applications with C# and WinUI for Windows, WebAssembly, iOS, macOS, Android and Linux
Faster Guid comparisons using Vectors (SIMD) in .NET - Gérald Barré In this post, I describe how to use SIMD instructions through Vector in .NET to improve performance of Guid comparisons.
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:
csharplang/low-level-struct-improvements.md at main · dotnet/csharplang The official repo for the design of the C# programming language - csharplang/low-level-struct-improvements.md at main · dotnet/csharplang
The Best C# .NET Web Application Tech Stack: Choosing The Back End - Michael's Coding Spot Did you notice that Microsoft announces a new and amazing web framework each year? As the years go by, we get more and more technologies. It's getting hard to keep track of them. In this article series, we'll go over all the ways to build a web applicatio...
Handling localStorage errors (such as quota exceeded errors) Using JavaScript to determine whether the browser supports localStorage & sessionStorage and if they have free space available
GitHub - nettlep/magic: Scanner for decks of cards with bar codes printed on card edges Scanner for decks of cards with bar codes printed on card edges - GitHub - nettlep/magic: Scanner for decks of cards with bar codes printed on card edges
Uno Platform Does WebAssembly Threading Months Ahead of .NET 7 -- Visual Studio Magazine Uno Platform has beaten Microsoft to the punch when it comes to multi-threading in WebAssembly, the tech behind Microsoft's client-side Blazor web-dev framework.
How To Simplify C# Unit Testing With a Mocking Framework The quickest way to take your unit testing to the next level is with a mocking framework. Let’s see how they work together.
Raspberry Pi Pico W: your $6 IoT platform - Raspberry Pi Today, we’re launching three new members of the Raspberry Pi Pico family: Raspberry Pi Pico W ($6), Pico H ($5) and Pico WH ($7).
How to Use Span in C# to Improve Application Performance - Code Maze In this article, we are going to learn how we can use Span in C#, to replace strings and collections to improve our application's performance
Diving Into Unity – A Quick Start for C# Developers – Webinar Recording | The .NET Tools Blog The recording for our webinar, Diving Into Unity - A Quick Start for C# Developers with technical author Andrew Stellman, is now available. Subscribe to our community newsletter to receive notificatio
Running .NET Core Applications as a Windows Service - Code Maze In this article, we are going to learn how to create a .NET Core application as a Windows Service and install and configure it.
Hosting PowerShell in a Python script How to use Python to call the PowerShell engine without running the PowerShell executable
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 course...
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 ...
Reduce some allocations parsing certificates on Windows by vcsjones · Pull Request #71102 · dotnet/runtime More "reduce creating arrays because defensive copies are going to be made anyway". Secondarily, some small changes to use AsnValueReader.
Micro Frontends in Action With ASP.NET Core - Server-Side Routing via YARP in Azure Container Apps This post describes implementation of server-side routing sample from Micro Frontends in Action with ASP.NET Core, YARP, and Azure Container Apps.
Fund OSS through package managers - Dusted Codes Open source software has become an integral part of our lives. Personally I don’t know a single app...