Patrik Svensson (@patriksvensson@mstdn.social) Profile Banner
Patrik Svensson (@patriksvensson@mstdn.social) Profile
Patrik Svensson (@[email protected])

@firstdrafthell

Followers
7,455
Following
1,142
Media
2,501
Statuses
28,587

Father. Husband. Programmer. Microsoft MVP. GitHub Star alumni . Likes OSS, compilers, programming. Cake, Spectre.Console. Ally ✊🏾🏳️‍🌈🏳️‍⚧️♀️(He/Him)

Stockholm archipelago, Sweden
Joined August 2007
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've released version 0.4 of Errata 🎉 New in this version is support for label priorities.
Tweet media one
15
4
143
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Thank you @github ! This is going to look great on my office wall!
Tweet media one
20
12
785
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've added support for indeterminate progress bars in Spectre.Console. The pulse animation is ported from 'Rich' which I think looks really good!
17
63
721
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
The best programmer I know of doesn't interact. He's not replying on Twitter, Facebook, or TikTok. He doesn't have a blog. No webpage. Still, he's building great software every day. Look beyond the bubble.
27
54
668
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
My bank is a house owner now! Big congratulations to my bank! 🏠
Tweet media one
Tweet media two
39
5
605
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've just published Errata, a library that makes it easy to create and display diagnostics of different kinds. 🎉 It's still in early preview, but take it for a spin if you dare, and if you like it, give it a star!
Tweet media one
14
74
531
@firstdrafthell
Patrik Svensson (@[email protected])
10 months
Behold the beauty of @htmx_org : The following snippet will fetch the HTML from the endpoint and replace everything within the element "table" with the result. Tada! A paging component that doesn't need to update the whole page, and I don't have to write yucky javascript.
Tweet media one
40
32
509
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Xbox -> Xbox 360 -> Xbox One -> Xbox Series X .NET Framework -> .NET Core -> .NET Microsoft needs to fire all the people responsible for naming things and start over.
40
42
476
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
My car was a bit slow, so I removed about 20% of the stuff slowing it down (windshield, rearview mirrors, brakes). I know a thing or two about cars...
18
71
425
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
During my 11 years at Twitter as CTO, I've never heard anything as outrageous as this!
@compound248
Compound248 💰
1 year
I literally was the Head of Strategy at Twitter. Not even kidding. Anyone who followed me last year knows this is true - @elonmusk can verify.
1K
12K
75K
21
40
421
@firstdrafthell
Patrik Svensson (@[email protected])
8 months
My daughter woke up this morning, hugged me while I was sleeping and said "love" 😭 It might not be a big thing for most parents but my daughter is autistic and has a speech disorder.
15
0
387
@firstdrafthell
Patrik Svensson (@[email protected])
6 months
@GNCordova @devnetsecops The United States? They have a long history of incarcerating children.
2
2
347
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Tweet media one
15
57
334
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Pair programming today!
Tweet media one
13
4
335
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
Clippy was never the same after being fired from @Microsoft .
Tweet media one
12
48
321
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
A not so hot take: There is a 99.9% chance you don't need microservices or Kubernetes 🙂
24
34
307
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I'm doing some prototyping tonight with Spectre.Console, inspired by Ariadne and CodeSpan. Would something like this be useful in .NET applications?
Tweet media one
18
23
308
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Why is auth in ASPNET Core such a horrible experience? I'm 10 seconds away from creating a user table and just storing the state in a session.
64
19
279
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Please, please, please, submit a minimal reproducible example with your bug reports for open-source software. When you don't, it steals a lot of time from the maintainers that could be used towards something more constructive than playing detective.
16
31
270
@firstdrafthell
Patrik Svensson (@[email protected])
11 months
Tweet media one
6
30
266
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Other than null, inheritance was probably the next billion-dollar mistake made in programming.
40
32
263
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
Updated my HTMX dashboard so it will show if it loses connection with the server. So easy 😍
Tweet media one
10
7
251
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
Thank you open source.
Tweet media one
@DeniTechh
Deni | denitech.dev
9 months
Thank you Javascript.
Tweet media one
462
1K
20K
4
11
248
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
Would anyone be interested if I distributed a NuGet package with a dashboard like this (showing registered Core health checks) and some other things for visualizing running tasks?
Tweet media one
16
8
242
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
I accidentally wrote *wank-wank* instead of *wink-wink* in an email today, and now I'm contemplating moving to a cave. How is your day going?
32
3
237
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
I've noticed that a lot of .NET devs doesn't seem to care about compiler warnings. At almost every client I've been at, there has been anything from 15 to 300 warnings when compiling the "main" project. Just me having bad luck, or have you noticed this as well? Why is that?
97
17
235
@firstdrafthell
Patrik Svensson (@[email protected])
16 days
Wtf GitHub?
Tweet media one
37
6
223
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
I just noticed that Spectre.Console has passed 5000 stars on @github . I know, I know, it's a vanity metric. But a fun vanity metric!
Tweet media one
17
6
221
@firstdrafthell
Patrik Svensson (@[email protected])
4 years
I just found this wonderful extension to VSCode.
Tweet media one
9
52
213
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Sometimes I don't "get" the .NET community. There was a question today from one of the PMs on the .NET team about additions/improvements to the core libraries, and people straight up asked them to build things like "PDF library", "SQLite for .NET", and "Polly by Microsoft".
24
14
209
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
I have this crazy idea that I want to write a Mastodon server in C# or Rust. I'm pretty good with following through stupid ideas (just check my GitHub!), but question is if this idea is so bonkers that I should skip it.
69
12
209
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
God, I hate JIRA so much.
22
11
196
@firstdrafthell
Patrik Svensson (@[email protected])
5 years
Technology advances so fast that I’m not even sure about what is true or not anymore...
@neurosocialself
neuro.social.self
5 years
Germany: A nanobot picks up a sperm by the tail and inseminates an egg with it | Inst for Integrative Nanosciences
19
100
249
13
32
184
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Today, I'm leaving my job as a programmer to focus 100% on web3 and blockchain research. As part of this decision, Spectre.Console will now pivot to be a library for minting NFTs.
28
3
192
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Anyone who uses Serilog should read this blog post by @benfosterdev : I'm currently reworking logging in an application at a client, and there is so much good advice in this article that I cannot recommend it enough.
6
36
191
@firstdrafthell
Patrik Svensson (@[email protected])
2 months
I want to publicly thank every single person on the .NET team for creating a fantastic, and CONSISTENT API. After working in Java/Kotlin the last month I have a completely new appreciation for the hard work...
3
15
187
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
What an incredible honor. I'm humbled, and I don't know what to say...
Tweet media one
Tweet media two
30
5
185
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
I wonder how disconnected from reality you are if you suggest someone use LaTeX instead of Word for writing documents and letters...
28
7
176
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
I really dislike dependency injection.
50
4
179
@firstdrafthell
Patrik Svensson (@[email protected])
2 months
Having a child with special needs is time-consuming, and I think I got a sign tonight that I should stop spending time on open source. Been stretching myself thin between my child's needs, open source, and my regular job the last couple of years. Now might be a good time to stop.
29
1
178
@firstdrafthell
Patrik Svensson (@[email protected])
4 months
The only correct date format is of course YYYY-MM-DD.
@danielcranney
Daniel Cranney 🇬🇧
4 months
Programmers, which date format do you use? ⚪️ DDMMYYYY 🔴 MMDDYYYY
Tweet media one
624
106
2K
10
5
174
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Some things I would want: * Discriminated unions (pleeeeease) * WASM compiler target * Extension properties * a proper terminal abstraction * Improve on source package experience * A sane alternative/replacement to .sln files
16
7
172
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Chair has arrived! 🙏
Tweet media one
24
2
168
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
After being developed for a long time in my spare time and serving as a learning project for me, I've made Ghostly open-source. 🎈🎉 Ghostly is a @github notification client for Windows 10/11 that works offline. #oss #dotnet #uwp #Windows10 #Windows11
Tweet media one
5
31
170
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
@JackPosobiec What if, instead of cars, we would have these rectangles with wheels attached, powered by some kind of engine running on either gasoline, diesel, or electricity, that would propel us forward? I’m just thinking out loud here.
2
3
157
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Quiz time: Did this happen in production 10 minutes ago?
Tweet media one
18
10
165
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Remember: People who don’t get vaccinated are the same people who would hide a zombie bite.
6
29
160
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Spectre.Console has applied to be part of the .NET Foundation.
4
5
159
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Spinners. Yay or nay? 🤔
18
3
153
@firstdrafthell
Patrik Svensson (@[email protected])
6 years
I released Jarvis yesterday, and it can be downloaded here: Keep in mind that this is the first release and might contain bugs and/or performance problems since it's only been tested on two different computers, but together we can make it awesome! 😀
15
65
150
@firstdrafthell
Patrik Svensson (@[email protected])
4 years
I've released version 0.27.0 of Spectre.Console, which should be available on NuGet shortly. 🎉 In this version, I've added support for table footers, table alignment, and table captions. There is also a new widget to render horizontal rules.
14
27
152
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
I guess it's official now: 🎉 cc: @Philco78 , @nils_andresen
12
12
150
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Tweet media one
@XDevelopers
Developers
1 year
Starting February 9, we will no longer support free access to the Twitter API, both v2 and v1.1. A paid basic tier will be available instead 🧵
11K
17K
21K
1
17
141
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've released 1.3.1 of "dotnet example". Now with better support for F#! 🎉
4
18
140
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I know that many people have been asking for live update of widgets in Spectre.Console, so we've been working on adding support for that. It turned out pretty nice, if I may say so myself.
16
17
142
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Wow! I've been awarded the @github star for a third year. Thank you!
Tweet media one
13
0
141
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
This comment by the System.CommandLine team made me very happy to read 💖
Tweet media one
2
3
141
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I hate kubectl so much that I wrote a small CLI wrapper that lets me omit things like namespaces and pod id:s and instead leverage Spectre.Console to let me select them.
10
22
135
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've just released version 0.37 of Spectre.Console! New in this version is selection prompts, a tree widget, and a lot of bug fixes. * Tree API: * Single selection prompt: * Multi-selection prompt:
11
20
137
@firstdrafthell
Patrik Svensson (@[email protected])
4 months
Confession: I have a folder on my computer with screenshots of all the nice things people said about me or my open-source projects. Sometimes, when I'm sad, I look at them and feel a bit better 🥰
5
1
135
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Coming soon to Spectre.Console: bar graphs!
Tweet media one
7
5
130
@firstdrafthell
Patrik Svensson (@[email protected])
5 years
@classiclib3ral Here is me getting murdered in Stockholm earlier today. Send help.
Tweet media one
3
6
124
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Couldn't sleep, so started adding new text prompts (selection and multiselection) to Spectre.Console. Kind of happy with the result so far, but it requires a bit more work.
8
8
128
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Marriage anniversary today. Six years!
Tweet media one
16
0
124
@firstdrafthell
Patrik Svensson (@[email protected])
8 months
It's 2053, and C# still doesn't have discriminated unions.
Tweet media one
14
3
122
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
One day I'm going to figure out why some programmers think it's okay to have 800 build warnings, making the terminal look like a christmas tree, but today is not that day.
19
14
121
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Turning 40 today and still got no urge to get a Porche and/or divorce 😄
41
1
119
@firstdrafthell
Patrik Svensson (@[email protected])
4 years
I managed to figure out how to do double buffering in a console, so ported the Rich table "movie" to Spectre.Console to figure out what features are missing. It has come a long way since I started building it!
7
11
122
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
🎶 12 nullable references left, 12 nullable references left. Take one down, run a compile, 131 nullable references left. 🎵 fml
4
8
120
@firstdrafthell
Patrik Svensson (@[email protected])
1 month
PSA: It's super easy to stitch together HTMX with JavaScript. The table is 100% rendered on the server.
5
6
120
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
A decade in open source.
Tweet media one
9
1
119
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
And this is the updated (fake) C# compiler error report. Still need some work, for example, collapsing white space and displaying context around lines.
Tweet media one
4
20
120
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
Mew has a logo! I know it's a bit overkill, but things like this keep the motivation up for me.
Tweet media one
8
1
119
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I need a name for my diagnostics/error reporting library. Any suggestions? Any suggestions are welcome!
Tweet media one
48
9
116
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I spent 16 months building a UWP application because this was supposed to be the way forward, and now they’re like,”lol, migrate to WinUI 3/MAUI”. I can guarantee you that the latest cool UI stuff will be deprecated in 5-10 years. The only viable alternative forward is Win32.
21
3
117
@firstdrafthell
Patrik Svensson (@[email protected])
10 months
Tweet media one
2
32
115
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
We've just released version 0.46 of Spectre.Console 🎉 There are many new things in this release, such as .NET 7 support, a layout widget, JSON rendering support, a lot of bug fixes, and new documentation. Check it out!
1
23
115
@firstdrafthell
Patrik Svensson (@[email protected])
2 months
Things like this make me unreasonably happy to read.
@davidfowl
David Fowler
2 months
Spectre.Console is such a nice library #dotnet
30
69
728
3
1
116
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I have a pretty decent PDF "debugger" in place now that lets me inspect every single part of a document. It made my life so much easier so far. #dotnet
Tweet media one
Tweet media two
Tweet media three
8
5
114
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Here is a small update on the line editor thing I'm building for Spectre.Console. All updates and rendering are done via VT/ANSI codes. It's far from done, but it's a fun project and something I have wanted myself for a while.
6
16
113
@firstdrafthell
Patrik Svensson (@[email protected])
4 years
I've just released version 0.19 of Spectre.Console. Now with support for rendering arbitrary data into columns. 🎉
Tweet media one
10
19
113
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
Spectre.Console 0.32 has been released with support for displaying progress for long-running operations. 🎉 Documentation can be found at
5
12
112
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
An alternative to "Dev Home" is my project "Cupboard", which I started a couple of years ago, and I use it to set up my dev machines. It brings the computer to a desired state using your favorite .NET language, with an API inspired by Puppet et al.
Tweet media one
Tweet media two
Tweet media three
8
18
112
@firstdrafthell
Patrik Svensson (@[email protected])
8 months
I'm on the Developer's Day gala and one of the finalists in the "Open Source Contributor of the Year" category. I don't think that I will win, but it's super exciting being here!
Tweet media one
11
1
113
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
Tweet media one
3
7
112
@firstdrafthell
Patrik Svensson (@[email protected])
9 months
I just got my third edition of @andrewlocknet 's " Core in action". I notice that there have been some (!) additions from the previous edition 😁
Tweet media one
7
7
110
@firstdrafthell
Patrik Svensson (@[email protected])
2 years
All of these things, of course, already exist and are battle proven. But for some reason, some people still need their libraries to come from Microsoft.
16
0
109
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
@Skolinkvisition Tagen i Gustavsberg på Värmdö där Engelska Skolan precis slog upp portarna med skön subventionerad hyra. Känns som diskussionen har gått full cirkel…
Tweet media one
4
26
107
@firstdrafthell
Patrik Svensson (@[email protected])
7 months
I'm so sick of all streaming providers. My daughter's favorite episode was just removed because the streaming rights expired, and of course, there is no way to buy it legally. I see this over and over again. I miss VHS and DVDs. The way we consume media now is shit.
23
8
109
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
I've implemented autocomplete support for my ANSI/VT code-based line "editor". Features so far: * Fully asynchronous * Multiline * Horizontal scrolling * Syntax highlighting * Autocomplete Any other features it should support?
11
18
108
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
. @Philco78 and I just released version 0.39 of Spectre.Console! 🎉 New in this release is support for indeterminate progress, more prompt functionality, and a lot of performance improvements.
2
18
107
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
This is what the new multi-select prompt looks like. It will hopefully be available in the next version of Spectre.Console.
2
8
109
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
What a difference some colors can make!
Tweet media one
4
3
105
@firstdrafthell
Patrik Svensson (@[email protected])
3 years
More Spectre.Console shenanigans tonight. Wanted a break from the ReadLine implementation I'm building, so I started adding a new hierarchical selection prompt as requested by @psluaces . It's far from done, but it's a start.
4
12
107
@firstdrafthell
Patrik Svensson (@[email protected])
11 months
Not bad for an old programmer like me who is a front-end illiterate. I want to thank the academy #tailwind and #htmx for all the support.
Tweet media one
11
3
106
@firstdrafthell
Patrik Svensson (@[email protected])
1 year
I'm so sick and tired about reading about "AI" everywhere.
35
4
99