[Last Week in .NET #55] – Squabbling Trillionaires. Releases 🔮 Magick.NET 8.2.0 has been released which is an image manipulation library for .NET. 📢 Windows App SDK 1.0.0-experimental has been releasedand Kevin Gallo attended the App Development Com…
Wasserstein Distance Using C# and Python -- Visual Studio Magazine Dr. James McCaffrey of Microsoft Research shows how to compute the Wasserstein distance and explains why it is often preferable to alternative distance functions, used to measure the distance between two probability distributions in machine learning proje...
Living With Flare | by Brian Koberlein The stellar flares of red dwarfs are mostly directed from their poles, which is good news for potentially habitable planets.
Can We Please Stop Calling Everyone “Addicted”? Social media can be addictive, but not as much as you think, and it doesn't help to label people as addicts. Here's what you need to know.
Why Did So Many Startups Choose MongoDB? NoSQL databases were the future. MongoDB was the database for 'modern' web engineers and used by countless startups. What happened?
API Development: The Complete Guide for Building APIs Without Code The term “API” gets thrown around a lot these days, but what does it mean? What can you use an API for? Do you have to have a developer on your tea...
A Programmer’s Introduction to Mathematics I’ve come to be somewhat known as a “math guy” in creative coding. It’s one of my impostor syndrome items because I’m really not any kind of expert in the field. I took Algebra and some Precalculus…
.NET Core 2.1 container images will be deleted from Docker Hub Starting on August 21st, .NET Core 2.1 Docker container images will no longer be available on Docker Hub, but exclusively on Microsoft Container Registry (MCR). This change was previously announced with dotnet/dotnet-docker #2848. If you are reliant on .N...
Automate commit co-authors when pairing — Alex Blackie Pairing is a fantastic way to quickly bounce ideas around, get help with something, or even as a tool for mentoring and growth. In recent times, most Git-based tools have adopted the Co-Authored-By trailer to identify when there are multiple authors to...
Stop Using ../../../ While Importing Components, Instead Use This Method When you go to GitHub and see some other developers code, most of them are importing their components like this
iOS is worse than Android | PorchLab Surprisingly basic iOS functionality is somehow worse than Android.
Alba v5.0 is out! Easy recipes for integration testing ASP.Net web services Alba is a small library to facilitate easier integration testing of web services built on the ASP.Net Core platform. It’s more or less a wrapper around the ASP.Net TestServer, but does a lot …
GitHub - minimaxir/big-list-of-naughty-strings: The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. - GitHub - minimaxir/big-list-of-naughty-strings: The Big List of ...
GitHub - SimonCropp/NaughtyStrings: Provides a strong typed .NET API for the Big List of Naughty Strings https://github.com/minimaxir/big-list-of-naughty-strings Provides a strong typed .NET API for the Big List of Naughty Strings https://github.com/minimaxir/big-list-of-naughty-strings - GitHub - SimonCropp/NaughtyStrings: Provides a strong typed .NET API ...
Many Americans aren't aware they're being tracked with facial recognition while shopping You're not just on camera, you're also being tracked
Tutorial Alda is a text-based programming language for music composition. It allows you to write and play back music using only a text editor and the command line.
Securing your GitHub account with two-factor authentication | The GitHub Blog The benefits of multifactor authentication are widely documented, and there are a number of options for using 2FA on GitHub.
Reddit Interview Problems: The Game of Life These days, I'm an engineering manager at Reddit, where I lead the Advertiser Optimization team. I was recently invited by the /r/RedditEng team to share an interview problem I previously used to screen candidates. It was published here, but I've reposted...
An amazing error message if you put more than 2^24 items in a JS Map object One of the fun things about working with big data is that you can often hit weird limits with a system. I was personally trying to load every "common" single nucleotide polymorphism for the human...
Challenges for code-based problems This page is dedicated to the syndrome decoding problem for random binary linear codes, in the range of parameters similar to the Goppa-McEliece cryptosystem.
Introducing DevOps-friendly EF Core Migration Bundles EF Core's new migration bundles provide build artifacts to deploy schema and data changes to your database as part of your DevOps pipeline.
Beautiful and compact Web APIs revisited – with C# 10 and .NET 6 Preview 7 Back in 2012, when the Roslyn compiler was still closes source and its early CTP stages, I blogged about using its C# scripting capabilities to wire up an ASP.NET Web API server in just a few lines of code, with minimal ceremony. In 2014 I built an OWIN-b...
The .NET Docs Show - Xamarin Community Toolkit Update In this weeks, show, Gerald Versluis joins the panel to give us a look at what's new and interesting in Xamarin Community Toolkit and where it's going next.F...
Bite-Size C# 10 - Const Interpolated Strings We can make our code a bit more concise by using interpolated strings ($) on const strings!
Loops and Conditionals in Python - while Loop, for Loop & if Statement | Pro Code Guide In this article, we will learn about loops and conditionals in Python. We will learn about for loop, while loop and if statement that helps us control the
Playing with System.Text.Json Source Generators - Steve Gordon - Code with Steve In this post, I explore code which uses System.Text.Json source generators to optimise serialisation of types being indexed to Elasticsearch.
What are these dire multithreading consequences that the GetFullPathName documentation is trying to warn me about? The documentation for the GetFullPathName function contains this dire warning: Multithreaded applications and shared library code should not use the GetFullPathName function and should avoid using relative path names. The current directory state writte...
Prevent refreshing the UI after an event in Blazor - Gérald Barré In this post, I describe how to prevent rendering of a component after an event handler in an ASP.NET Core Blazor application.
Reference equality for dictionaries in Python Implementing a unit of work in Python can be an interesting challenge. Consider the following code:This is about as simple a code as possible, to associate a...
Nerds Don't Respond To Marketing; Try Technical Documentation Instead | Hacker Noon Technical documentation is the key to marketing to web developers. Developer relations use documentation all the time as a way to connect to their community.
Introducing Shadow IT Discovery With Cloudflare for Teams, Administrators can allow their users to securely access applications with Cloudflare Access and explicitly block users from visiting various applications with Cloudflare Gateway.
Email Authenticity 101: DKIM, DMARC, and SPF Email is critical infrastructure and needs to be trustyworthy. Learn how to set up DKIM, SPF, and DMARC to secure your email domains.
Azure BLOB Storage with ASP.NET Core and Angular - Code Maze In this article, we are going to take a look at the Azure Storage Platform and learn how to work with Azure BLOB Storage.
AutoML with FLAML & Python: Machine Learning in 15 Seconds In this article, we explore the fast and lightweight library FLAML. We apply it to Palmer Penguins Dataset and use its many features.
267: Hacking Onewheel Bluetooth Frank is at it again with a new and awesome Bluetooth application, this time for the Apple Watch that displays his Onewheel information in real time! He breaks down the inspiration and how he got it working!
Creating parameterised tests in xUnit with [InlineData], [ClassData], and [MemberData] In this post I describe how to create parameterised tests using xUnit's [Theory], [InlineData], [ClassData], and [MemberData] attributes.
Improving application security in ASP.NET Core Razor Pages using HTTP headers – Part 1 This article shows how to improve the security of an ASP.NET Core Razor Page application by adding security headers to all HTTP Razor Page responses. The security headers are added using the NetEsc…
Azure Functions with F# using .NET 5 Serverless computing promises to make it "easier" to just write some code, sling it at the cloud and...
fsharp-presentations/notes-on-learning-fsharp-1.md at master · dsyme/fsharp-presentations F# presentations and notes. Contribute to dsyme/fsharp-presentations development by creating an account on GitHub.
TypeScript 4.4 and more readable code | I CAN MAKE THIS WORK An exciting feature is shipping with TypeScript 4.4. It has the name "Control Flow Analysis of Aliased Conditions" which is quite a mouthful. This post unpacks what this feature is, and demonstrates the contribution it makes to improving the readability o...
I figured out how DMARC works, and it almost broke me How to use SPF, DKIM, and DMARC to improve your domain's email security and limit spoofing - but written for humans.
Publish Azure Static Web Apps with Bicep and Azure DevOps | I CAN MAKE THIS WORK This post demonstrates how to deploy Azure Static Web Apps using Bicep and Azure DevOps. It includes a workaround for the "Provider is invalid. Cannot change the Provider. Please detach your static site first if you wish to use to another deployment prov...
Announcing TypeScript 4.4 RC Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.4! Between now and the stable release of TypeScript 4.4, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet,
Cascadia Code Font For many years, I’ve wanted to use real mathematical notation in computer programs for code that is mathematical in nature. The document UnicodeMath discusses this in some detail in Section 6. Using UnicodeMath in Programming Languages. Over the years, so...
OpenAI's Codex as a Chrome extension This is real. OpenAI's Codex is phenomenal, and it clearly already knows the DOM layout of many popular websites. All I did was wrap it in a Chrome extension...
Are Microservices … for real? We decide to dig into the details of what makes a microservice and do we really understand them as Joe tells us why we really want microservices, Allen incorrectly answers the survey, and Michael breaks down in real time.