Advertisement · 728 × 90

Posts by Tomas Karban

Post image

Monday night Richard Campbell and I recorded the 2000th episode of .NET Rocks!, a podcast I started in 2002!

4 weeks ago 41 4 2 0

so it's actually very interesting...

CFexpress is actually just an NVMe SSD wrapped up into a different form factor

The NVMe spec itself *requires* reporting of S.M.A.R.T / health data...so CFexpress inherited that property for free

if you look at it in software, it's the Percentage Used field

4 weeks ago 11 1 1 0
Post image Post image

The way SD cards fail is…gross.


Anyone that does heavy photography or video work knows they’ll gradually get slow; often without outright failing.


I blame the SD association.

The storage controller isn't required to report *any* health information to the host!

4 weeks ago 95 13 5 1
An excerpt from the 2024 book Play Nice: The Rise, Fall, and Future of Blizzard Entertainment, telling the story of how author Andy Weir was fired from Blizzard

An excerpt from the 2024 book Play Nice: The Rise, Fall, and Future of Blizzard Entertainment, telling the story of how author Andy Weir was fired from Blizzard

This past weekend, the new movie Project Hail Mary was a smash hit, bringing in nearly $141 million at the box office.

But many years ago, before he was writing novels adapted into mega-hit films, Andy Weir was fired from his dream job... at Blizzard Entertainment. Excerpt from my latest book:

4 weeks ago 1854 229 41 13

Similar in C# & .NET 10 single-file app

"var rnd = new Random();while (true){Console.Write(rnd.Next(2) == 0 ? '╱' : '╲');}"|dotnet run -

#dotnet #csharp

3 months ago 5 2 1 0
Rory Sutherland - Alchemy: The Surprising Power of Ideas That Don't Make Sense
Rory Sutherland - Alchemy: The Surprising Power of Ideas That Don't Make Sense Rory Sutherland, Vice Chairman of Ogilvy UK, co-founded its behavioural science practice, uncovering “unseen opportunities” in consumer behaviour - often small contextual changes which can have enormous effects on the decisions people make. A former copywriter and creative director, he’s a bestselli

Proof is overrated.

This is a brilliant talk by Rory Sutherland: [youtu.be/lhlS-Wds02M...] where he makes two essential points. First, it's a huge problem when "rational" people get veto power over creative, innovative, "irrational" people.
1/11

3 months ago 37 13 6 0

Gosh, Stack Overflow seems to be down. Let's check whether it's just me...

<heads for downdetector>

Oh.

4 months ago 10 2 1 0

I think you are looking for `interface IB<out T> where T : IA`; it is called covariance.

8 months ago 0 0 1 0

Without that, people seem to get caught up in the conventions of their first language, thinking that it's the best way, because it's the only way they know.

It's the same reason that people who've spent time in other countries and cultures have a better time navigating new social situations.

9 months ago 1 1 1 0
Advertisement

I've started to come around to the thinking that every programmer needs to spend a significant amount of time creating something "real" in at least 2 other languages than their favourite.

Not a play project, something you've deployed, that ends up being used, that you have to support and update.

9 months ago 5 1 1 0
Compiler Explorer Cost Transparency — Matt Godbolt’s blog In which I try and show how we spend your kind Patreon donations

I'm frequently asked "how much does @compiler-explorer.com cost to run". I've done some digging and posted xania.org/202506/compi... which is a high-level breakdown of the costs (and revenue); and links to a more in depth report if you want all the gory details.

10 months ago 52 14 1 0

One useful think to do: when you read a take on software engineering, understand where the person making it is coming from. Are they building a side project? Is it indie hacking? Mid-sized team? VC-funded? Academia? Etc

Context makes a massive difference is stuff that “works”!

10 months ago 26 2 2 0

#Synology breaks my heart. I guess there will be something else after my DS1522+, I am hoping it will last a decade though (owned since February 2023). It is a great home NAS.

arstechnica.com/gadgets/2025/04/synology...

1 year ago 0 1 0 0
Original post on techhub.social

Perhaps there is still hope for reasonably modern and safe C++. I always considered undefined behavior (UB) as a C++ standard sloppiness introduced because of pre-existing compiler differences, weird CPU architectures, memory consistency models, etc. Herb says (in the appendix) UB is for […]

1 year ago 0 1 0 0
Original post on techhub.social

Isn't it sad that you have to set all these C++ compiler settings to achieve a decent level of sanity for your code? I mean, most of these should be the default setting. Why are the latest versions of GCC and Clang still so lenient and forgiving in 2025? […]

1 year ago 0 1 0 0
Using Claude 3.7 Sonnet with GitHub Copilot in Visual Studio
Using Claude 3.7 Sonnet with GitHub Copilot in Visual Studio YouTube video by Microsoft Visual Studio

Did you know that Claude 3.5 AND 3.7 Sonnet are available in @visualstudio.com for GitHub Copilot?!?!

www.youtube.com/watch?v=S-Ur...

#visualstudio #githubcopilot #dotnet

1 year ago 18 7 0 1

Are you using FluentAssertions in non-OSS projects?

Are you planning to pay for the new license or are you planning on moving away from it?

1 year ago 14 3 30 0
Code written with box characters used on old old software to make fake UIs

Code written with box characters used on old old software to make fake UIs

You’re still arguing about tabs vs. spaces? May I present…

1 year ago 5290 1278 157 145

Biggest problem with brainstorming with LLMs is that you have to go out of your way to make them disagree with you 😬

1 year ago 48 4 6 0
Advertisement

I want to see this picture where the cookies are actually proportionate. If the worker on the right has one cookie (let's say $100K to be generous), a billionaire with $10B will have 100,000 cookies, which is probably several truckloads.

1 year ago 4 1 0 0

I imagine a world in which NO APP can just add some BS process that auto-starts when I sign in to Windows. And that these apps must ASK me first. EVERY TIME.

And my answer will always be the same. NO. A million times no.

Screw you, Spotify, Discord, Xbox, Teams & so many more.

1 year ago 57 7 10 3
How Much Memory Do You Need in 2024 to Run 1 Million Concurrent Tasks?

How Much Memory Do You Need in 2024 to Run 1 Million Concurrent Tasks?

hez2010.github.io/async-runtim...

1 year ago 169 25 20 7

Thanks to LLMs, I no longer have to ever relearn regex. That alone is worth $20/month.

1 year ago 505 52 46 15

TIL, you can get Roslyn to create really confusing error messages *or crash* using weird #line pragmas in C# code:

#line 100 ":invalid:"

... causes Roslyn to crash if there are any subsequent errors.

#line 100 ".."

... causes Roslyn to report any subsequent errors as from a parent directory.

1 year ago 13 1 1 0

I think it would be nice to unify on target frameworks.

If you're targeting .NET Framework, target net472.

If you're targeting .NET Standard, target netstandard2.0.

If you're target .NET, target netX.0 or whatever is the latest.

I don't see the point of net48, net461, netstandard2.1 etc

1 year ago 19 1 8 0