Patrik Svensson's Avatar

Patrik Svensson

@patriksvensson.se.bsky.social

Father. Husband. Programmer. Microsoft MVP. GitHub Star alumni. Likes OSS, compilers, programming. Cake, Spectre.Console. Ally βœŠπŸΎπŸ³οΈβ€πŸŒˆπŸ³οΈβ€βš§οΈβ™€οΈ(He/Him) @patriksvensson@mstdn.social Stockholm archipelago, Sweden

1,133 Followers  |  350 Following  |  1,260 Posts  |  Joined: 25.04.2023  |  1.6616

Latest posts by patriksvensson.se on Bluesky

Should it be "way defore" in the comic, or is that a typo?

05.08.2025 17:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes

05.08.2025 15:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Once the companies make more than $1 of every $100 spent, I will consider it. Right now it's subsidized by VC which should tell us all something.

05.08.2025 15:12 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Thomas Dohmke: "The evidence is clear: Either you embrace Al, or get out of this career."

Thomas Dohmke: "The evidence is clear: Either you embrace Al, or get out of this career."

I didn't expect this kind of gatekeeping from the CEO of GitHub.

What a clown.

05.08.2025 15:07 β€” πŸ‘ 18    πŸ” 3    πŸ’¬ 4    πŸ“Œ 0
β€œSHCOOL” painted on roadway leading to buildings ahead.

β€œSHCOOL” painted on roadway leading to buildings ahead.

sean connery’s alma mater

05.08.2025 00:48 β€” πŸ‘ 283    πŸ” 53    πŸ’¬ 7    πŸ“Œ 0

The underlying code handles null, so the suppression is OK, but planning on sending a PR to the project adding support for NRT.

04.08.2025 13:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes, correct.

04.08.2025 13:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Post image

It’s CS8604 (possible null ref arg for param β€˜left’) and CS8625 (cannot convert null lit to non-nullable ref type).

The cause seems to be operator overloading of ==, which do not take nullable reference types into account.

04.08.2025 12:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It is but that has nothing to do with it.

04.08.2025 11:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
C# code:

var expression = _expression.Value;
if (expression! == null!) {
   // omitted
}

C# code: var expression = _expression.Value; if (expression! == null!) { // omitted }

Can anyone guess why this is necessary?

04.08.2025 11:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
Palestine Emergency Appeal Help Save Lives in Palestine β€” Islamic Relief Is on the Ground Providing Life-Saving Aid. Support vulnerable families today

I have 45 signed copies of the DevOps Handbook to give away. DM me with a receipt for US$100 or more (any currency!) to any of the following charities supporting Palestinians dated today with your address.

projecthope.org
islamic-relief.org/appeals/pale...
unrwa.org
pcrf.net
palestinercs.org/en

03.08.2025 18:00 β€” πŸ‘ 13    πŸ” 8    πŸ’¬ 1    πŸ“Œ 1

Det dΓ€r var nog den sjukaste och mest oempatiska konversationen jag sett. HjΓ€rntvΓ€tten Γ€r total. Att dom inte skΓ€ms.

03.08.2025 12:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I normally put them in Properties/Usings.cs

03.08.2025 11:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I would just move all the "using System.Linq;" to a Usings.cs somewhere and forget about it.

03.08.2025 11:43 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

No. And nowadays with global usings, it's not deterministic either.

03.08.2025 11:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

I need to replay it on the SteamDeck as well. My GOAT game πŸ™‚

02.08.2025 22:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Are you playing it on an emulator or is it the Steam version?

02.08.2025 22:06 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I really hope that's not your liquor cabinet.

02.08.2025 12:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Say what you will about MP3s, but at least WinAmp's founder didn’t funnel his fortune into autonomous weapons.

You all need to stop giving Spotify money and stop using their software.

02.08.2025 10:41 β€” πŸ‘ 31    πŸ” 7    πŸ’¬ 1    πŸ“Œ 0
Post image 01.08.2025 18:50 β€” πŸ‘ 305    πŸ” 82    πŸ’¬ 14    πŸ“Œ 8

Bara om man Γ€r homofob. Vi andra svarar bara "nej, jag Γ€r straight"

01.08.2025 14:30 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Me too buddy. Me too.

31.07.2025 18:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If I didn't know better, I would say it's not intelligent.

31.07.2025 12:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

10% of the time watching The Wire is looking up words on Urban Dictionary.

30.07.2025 22:12 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Since I have no idea what that is, go for it! 😁

30.07.2025 19:36 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Eskil Steenberg – I've had it with the security orthodoxy. – BSC 2025
YouTube video by Better Software Conference Eskil Steenberg – I've had it with the security orthodoxy. – BSC 2025

A lot of bad takes in this one.

I especially like the "What Java software do we run today? Nothing!". I guess it's easy to lose your grip on reality if you're stuck in game development land.

www.youtube.com/watch?v=SbeN...

30.07.2025 15:20 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

I really want to have a 0.1 draft ready before my vacation ends...

29.07.2025 23:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - spectreconsole/open-cli: The OpenCLI specification (OCS) defines a standard, platform and language agnostic interface to CLI applications which allows both humans and computers to understand ... The OpenCLI specification (OCS) defines a standard, platform and language agnostic interface to CLI applications which allows both humans and computers to understand how a CLI tool should be invoke...

I spent my whole evening (my precious "me time") writing a lot of text because I decided to build #opencli by gathering feedback instead of YOLOing it. I could have been watching The Wire instead, so I hope it was worth it.

github.com/spectreconso...

29.07.2025 23:32 β€” πŸ‘ 19    πŸ” 3    πŸ’¬ 2    πŸ“Œ 1
Preview
a bowl with a piece of butter in it sits on top of a lego table ALT: a bowl with a piece of butter in it sits on top of a lego table

Great indicator though...

29.07.2025 22:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

wtf...

29.07.2025 21:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@patriksvensson.se is following 20 prominent accounts