Jimmy Kumblad
banner
jimmykumblad.bsky.social
Jimmy Kumblad
@jimmykumblad.bsky.social
TDD Developer. C#, dotnet, Blazor. Consultant at 13|37
Digging around in code I wrote 10-15 years ago to find a bug in a rare edge case. Two conflicting thoughts go through my mind.

1. This code shouldn't work at all, in any case.
2. This bug should not exist, it should work just like any other case.
February 4, 2025 at 6:41 PM
Getting rejected at talking at a conference was actually more of a relief than a disappointment.
December 4, 2024 at 6:11 PM
Nothing kills the development flow more than large code files with a lot of indentation going on.

Nothing is more fun to refactor either.
November 28, 2024 at 3:10 PM
Won't lie, nearly gave up!

But — I got it!
We’ve got another stumper! No one has gotten this one right yet…

How well do you know .NET and Localization? We’ve got a puzzle with localizing some text this week..

And no one can solve it!
It's the #Blazor Puzzle youtu.be/HuRoKQcajvU episode 57 with @csharpfritz.com and myself premiering Friday, November 22 at 2PM ET
November 25, 2024 at 7:05 AM
I'm wondering how many imposter syndrome spirals are actually starting with a simple typo.

Went down the valley of despair because of mistyping localhost with locatlost. Well, that's my morning gone.
November 21, 2024 at 10:01 AM
Adding .HasShadowId() to my entities in ModelBuilder reverted to old behavior
EF Core 9, using CosmosDB, seems to have an undocumented breaking change 😟

Previously, when I used the Id property as a partition key, the partition key was "/Id". Now in EF Core 9, it lower cases the Id and becomes "/id". Application breaks.

If you know a workaround, I'm happy to hear it.
November 18, 2024 at 6:58 AM
I solved the USB problem a few years ago, when I discovered they have faces.
The side that makes the happy face goes up.

But that's not always the case, it depends on how the circuit board is installed in its case, but usually it's happy face up.
November 17, 2024 at 5:40 PM
EF Core 9, using CosmosDB, seems to have an undocumented breaking change 😟

Previously, when I used the Id property as a partition key, the partition key was "/Id". Now in EF Core 9, it lower cases the Id and becomes "/id". Application breaks.

If you know a workaround, I'm happy to hear it.
November 15, 2024 at 1:45 PM
Upgraded to .NET 9 and my application went from starting in 3 seconds to 3 tenths of a second!!!
a man in a brown jacket looks out over a highway with trees in the background
ALT: a man in a brown jacket looks out over a highway with trees in the background
media.tenor.com
November 15, 2024 at 11:32 AM
Dammit! A null error caused 20k RU to be used in CosmosDB.
November 15, 2024 at 9:58 AM
What’s the benefit of having a separate repository for IaC, with a separate pipeline from the application pipeline, when the application depends on the infrastructure to run?
November 14, 2024 at 8:29 PM
How to use discriminators (my favorite topic when coming to EF) to add revision support to your entities.

dev.to/greenfieldco...
Adding Revision Support to Entities in Entity Framework Core
This article explains how to add revision support to entities in Entity Framework Core. It outlines a step-by-step approach to refactor a basic entity into a revisioned model using discriminators.
dev.to
November 13, 2024 at 10:02 AM
This week's #BlazorPuzzle (56) was really fun to dig into! I have already won the mug and t-shirt, if you haven't, give it a go at Blazorpuzzle.com
The Blazor Puzzle
Carl Franklin and Jeff Fritz offer Blazor coding challenges and bug hunts, and give away prizes.
Blazorpuzzle.com
November 12, 2024 at 4:31 AM
Brain: the code will be thrown away, you can do it without TDD, it's simple.

*Writes two lines of code*

Brain: Oh f*ck. Abort! Add test, add test!
November 11, 2024 at 8:51 AM
LLM's are just Autocorrect on steroids.
November 1, 2024 at 4:14 AM
Blogging is a gateway drug to public speaking. Dare to say no to blogging! I'm a lost soul, I have to be careful to not start with really heavy stuff, such as podcasting.
October 24, 2024 at 8:02 PM