22 October 2021

49 links ยท Friday

Collection Performance: Looping Over Other Collection Types

This article shows benchmark results for adding items to a List collection by using AddRange() and for().

Learn From Errors: Overlapping Instances

In this article, we'll look at the overlapping instances error. We'll try to understand the many variants of it, and what the error means in each of those cases.

A mathematical analysis of Squid Game, game 5

A spoiler-free look at your probability of death if you were forced to play a mathematically idealized version of the game from the hit K-drama series.

Post 44: What’s Stopping You? — Neel Nanda

On agency - the mindset of being able to look past defaults and constraints, and find ways to take action to achieve your goals. Examining what’s holding you back, understanding what agency feels like, and concrete advice on how to cultivate it.

Every organization needs a CTO

Recently I was shown a product marketing itself as providing geological data layer for apps. A sketchy product at a glance and maybe scammy in the worst case. The developer is unable to provide direct answers and finding it difficult to provide details on how …

Mediocratopia: 12

A key insight recently struck me, and it is one that I should have worked out and written up earlier, but I didn’t think of — one of the biggest reasons mediocrity gets a bad rap is con…

SRP is Now Deprecated - TobTu

Firstly I'm not able to declare the deprecation of SRP, but you should consider all versions of SRP to be deprecated.

DotVVM @ .NET Conf 2021 (2021-11-12)

We'll recap the .NET 6 news from .NET Conf 2021 and show some demos of the new features we are preparing for DotVVM 4.0.This session is run by the the DotVVM...

Making Your Life Easier with C# Scripting -- Visual Studio Magazine

Test projects give you a way to exercise your code to see if it works but they're also part of your project's 'permanent record.' If all you want to do is try something out with some throwaway code, C# Scripting in Visual Studio might be a better choice.

Locking conversations - GitHub Docs

Repository owners and collaborators, and people with write access to a repository, can lock conversations on issues, pull requests, and commits permanently or temporarily to defuse a heated interaction.

Home

We're building the ultimate GraphQL platform

Cloudflare for SaaS for All, now Generally Available!

We are very excited to announce that Cloudflare for SaaS is generally available, so that every customer, big and small, can use Cloudflare for SaaS to continue scaling and building their SaaS business.

How is Bamboo Lumber Made?

Bamboo is a renewable resource that has become one of the most important alternatives to tropical hardwoods in recent years. Upon seeing bamboo flooring, kitchen cabinets or cutting boards you might wonder how round hollow bamboo stems are processed into solid…

Code Maze Weekly #98 - Code Maze

Issue #98 of the Code Maze weekly. Check out what’s new this week and enjoy the read. .NET and C# Bulk Import Records Into SQLite With C# [khalidabuhakmeh.com] Seeding SQLite with EF Core can be useful in many scenarios in real life like quick demos and presen…

Episode 85 - Clean Code in C# With Jason Alls

In this episode of the .NET Core Podcast we talked with Jason Alls about his recent book Clean Code in C#, what Clean Code means to him, and some of his top tips for keeping your code bases clean

IMG_0823.HEIC

Shared with Dropbox

String Performance: Checking For an Empty String

This article discusses the proper way to check for empty strings in C#.

There is no 'printf'.

In C, 'main' returns an int. What happens when you don't explicitly return a value, though? C99 provides a return value of 0, but C89... well, that's undefined, my favorite kind of behavior.

Released: Microsoft.Data.SqlClient 4.0 Preview 3

Microsoft.Data.SqlClient 4.0 Preview 3 has been released. This release contains improvements and updates to the Microsoft.Data.SqlClient data provider for SQL Server. Our plan is to provide GA releases twice a year with two or more preview releases in between.…

Pipeline oriented programming

(Video and code at https://fsharpforfunandprofit.com/pipeline/) Passing data through a pipeline of transformations is an alternative approach to classic OOP. …

Transitioning an existing project to a new edition

Rust includes tooling to automatically transition a project from one edition to the next. It will update your source code so that it is compatible with the next edition. Briefly, the steps to update to the next edition are: