
Principal Software Engineer @ .NET Engineering / Microsoft · Opinions are probably stolen
Prague
Joined October 2021
- Tweets474
- Following109
- Followers88
- Likes2.3K
Přemek Vysoký retweeted
the problem with "spec driven development" is that most software can't be spec'd up front
software is a creative act, where you figure out what you're building as you build it
you need to get your hands dirty in the details, and react to incremental versions
it's telling that all the examples of spec driven development are sorting a list or porting thoroughly tested code (like a js runtime or browser engine), which are the exception, not the rule. the vast majority of software doesn't have a spec – or if it does, the spec was created *after*
Přemek Vysoký retweeted
We merged an early C# 15 preview feature into .NET 11 preview 5: closed class hierarchies.
Allows a `closed` modifier on a `class` declaration.
A `closed` class prevents direct inheritance from other assemblies, so pattern matching can treat its derived types as a complete set.
Přemek Vysoký retweeted
We merged an early C# 15 preview feature into .NET 11 preview 3: unions.
Adds union declarations (`union Pet(Cat, Dog, Bird) { ... }`) and union types (attributed with `[Union]`).
They can be treated by pattern matching/switch expressions as a closed set for exhaustiveness.
Přemek Vysoký retweeted
.NET’s build system gets a major upgrade! Unified Build = faster releases, less complexity, more flexibility. Learn how it works:
🔗 msft.it/6012teNeE
#dotNET #UnifiedBuild
Přemek Vysoký retweeted
Blogged: Exploring the .NET boot process via host tracing
andrewlock.net/exploring-the…
In this post we enable host tracing and use that to understand how a .NET app boots up via the dotnet muxer, hostfxr, and hostpolicy.dll
#dotnet
Přemek Vysoký retweeted
🚀.NET 10 is here!
✅ LTS release
⚡ Faster: JIT, NativeAOT, AVX10.2
🔐 Post-quantum crypto + AES KeyWrap
🛠 File-based apps (run main.cs directly!)
🤖 AI Agent Framework + MCP
🌐 Blazor upgrades, OpenAPI
💻 C# 14: field-backed properties
devblogs.microsoft.com/dotne…
#dotnetconf
Přemek Vysoký retweeted
I've blogged about ZLinq, my new OSS for C# and Unity. It is a Zero-Allocation LINQ Library for .NET and covers all .NET 10 LINQ methods.
neuecc.medium.com/zlinq-a-ze…
Přemek Vysoký retweeted
🎥Recording of #UPDATECONFERENCE 2022 | Look at the discusion with #dotNET team of @Microsoft.
We invited several .NET team members from different feature areas who were happy to answer questions about .NET 7 and the projects they are working on.
🎤 Speakers:
Ilona Tomkowicz | Software Developer at Microsoft
Marek Šafář | Engineering Manager at Microsoft
Přemek Vysoký @premun_ | Senior Software Engineer at Microsoft
Vít Karas | Software Development Engineer at Microsoft
Vlada Shubina |Software Engineer at @Microsoft_CZ
🔔 Update YouTube channel 👉youtu.be/DzZ46HUxjKk
Přemek Vysoký retweeted
We have a bunch of awesome #dotnet news, updates, & announcements from #MSBuild!
C# 13, Blazor, AI, .NET MAUI, .NET 9 Preview 4, and so much more!
devblogs.microsoft.com/dotne…
#dotnetmaui #aspnetcore #blazor #visualstudio #dotnetaspire #csharp
Přemek Vysoký retweeted
A GitHub flaw lets attackers upload executables that appear to be hosted on a company's official repo, such as Microsoft's—without the repo owner knowing anything about it.
The following URLs, for example, make it seem like these ZIPs are present on Microsoft's source code repo:
https://github[.]com/microsoft/vcpkg/files/14125503/Cheat.Lab.2.7.2.zip
https://github[.]com/microsoft/STL/files/14432565/Cheater.Pro.1.6.0.zip
But they are not. These ZIPs are #malware.
An attacker, while commenting on any GitHub commit/PR, can "attach" a file that gets assigned a URL slug containing the name of the repo where the comment was made. Even if the comment is never actually posted or later deleted by the attacker, the link to the file remains live!
And, the repo owner (Microsoft in this case) would have no knowledge of or control over such files.
Threat actors have been abusing this flaw to distribute malicious executables under the false pretense that these are coming from credible organizations' code repos.
Přemek Vysoký retweeted
.NET 8 v .NET 9 Exception Handling benchmarks
Have just ran these on preview 3, wow ❤.
76% faster handling in .NET 9 for the benchmark code I ran (in the 2nd tweet below).
#dotnet
Přemek Vysoký retweeted
There are a couple of #fsharp positions in Serbia (or people willing to relocate) I saw on one of our local F# chats:
docs.google.com/document/d/1…
docs.google.com/document/d/1…
Will be grateful for reposting.
Přemek Vysoký retweeted
Replying to @thdxr
most of you never used gmail as a queue and it shows
- 99.99+% uptime (beat that!)
- use + emails and filters as queues
- IMAP IDLE = real time events
- Comes with a GUI! Drag & drop messages from DLQ back to main queue
- Use trash for archiving processed messages upto 30 days
Přemek Vysoký retweeted
Today I learned that you can use Fibonacci numbers to convert from miles to kilometers. 😲
Přemek Vysoký retweeted
Isn't the future great?
I built "Roast my Website" using the newly announced OpenAI APIs.
GPT4 Vision analyzes the screenshot and roasts it, while the new text-to-speech API returns it as audio.
Check it out (with audio to hear the roast) 🌶️
Přemek Vysoký retweeted
I always wondered how adblockers for YouTube worked, this post nicely explains it. Also, the cat-and-mouse chase between YouTube and adblockers. A fascinating read
![Some Background Here’s how adblockers (used to) block YouTube ads. Before playing a video, YouTube would check its API, and the server would send back something like this: { "video": "something.mp4", "ads": [ad1, ad2, ad3], "etc": { ... } } And the adblockers would override JSON.parse and Response.json to make it return this instead: { "video": "something.mp4", "ads": [], "etc": { ... } } This trick worked for a few years. But earlier this year, YouTube started making fake requests to see if the responses were changed. If the responses were changed, it meant the user was using an adblocker.](https://pbs.twimg.com/media/F9vJ_1BbIAA7wKN.jpg?name=small&format=webp)
ALT Some Background Here’s how adblockers (used to) block YouTube ads. Before playing a video, YouTube would check its API, and the server would send back something like this: { "video": "something.mp4", "ads": [ad1, ad2, ad3], "etc": { ... } } And the adblockers would override JSON.parse and Response.json to make it return this instead: { "video": "something.mp4", "ads": [], "etc": { ... } } This trick worked for a few years. But earlier this year, YouTube started making fake requests to see if the responses were changed. If the responses were changed, it meant the user was using an adblocker.
Přemek Vysoký retweeted
We're thrilled to announce the general availability of C# Dev Kit, a #VisualStudio @Code extension that brings an improved editor-first C# development experience to #Linux, #macOS, and Windows.
Learn more here ⤵️ msft.it/60129IIY2






















