@KirillOsenkov@mastodon.social
@KirillOsenkov@mastodon.social avatar

KirillOsenkov

@KirillOsenkov@mastodon.social

(Unofficial) VP of Developer Productivity at Microsoft. Developer tools, engineering systems. .NET, C#, Roslyn, Visual Studio, Editor, WPF, Avalonia, MSBuild.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

If you're in Seattle area, get outside and look up!

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

I'm announcing a bounty: I'll wire or venmo $100 to whoever fixes this:
https://github.com/dotnet/msbuild/issues/7988

I'm angry that such an impactful bug has been sitting open for a year and a half, and I absolutely don't have time to fix it myself, otherwise I would have fixed it long ago. I just can't do it all myself.

So, if anyone wants an extra green benjamin, it would be very helpful!

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh @davidwengier yeah, don't do that...

bradwilson, to random
@bradwilson@mastodon.social avatar

Windows Terminal seems to have its own font renderer, and sometimes it's just plain worse than what's built in.

Compare these two prompts from CONHOST (darker, left) and Windows Terminal (lighter, right). Same text, same font, but the Windows Terminal rendering frequently gets the shape and size of the diagonal blocks wrong, which causes artifacts like color bleed and/or misaligned edges. Worse, which artifacts you see changes with the font size.

image/png

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson I also can't unsee this stuff:

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson oops, realized these are what you meant. I thought originally the rendering/antialiasing on the 'sh' is not the same in both, but of course the diagonal artifacts are a bigger problem

mcc, to random
@mcc@mastodon.social avatar

For maximum security, your passwords should always be long strings of the characters "l" and "I" exclusively. That way, any attacker who gets hold of your password will be so confused trying to type it in they will not be able to gain access. For additional security, add an occasional numeral 1

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
noondlyt, to random
@noondlyt@mastodon.social avatar

Can I Lick It?

Repost for Alt Text
OP: @sjvn

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@noondlyt @sjvn you can lick any element, but the green ones you can lick more than once

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

Reminder that I made https://quickinfo.io where you can quickly look up answers to certain classes of questions instead of googling and wading through bad results full of ads and spam.

Demo: https://quickinfo.io/?demo

Usages: https://quickinfo.io/?%3F

Many people still google em dash, shrug, degree sign, etc. They open a website from results, it is slow and full of ads. It shows a cookie banner. There is a better way.

bradwilson, to vscode
@bradwilson@mastodon.social avatar

I am extraordinarily annoyed by the fact that appears to be enabled by default now in and I can't find any way to turn it off.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson do you mostly use it on Linux?

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

With the help of @slang25 I learned some interesting stuff today.

🧵↓

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bitbonk @slang25 15% on average

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

Someone can't build a .sqlproj in VS because this area has been historically underfunded, but hey, don't fret, VS now has two Copilots and IntelliCode.

bradwilson, to random
@bradwilson@mastodon.social avatar

I've been organizing my dependencies for @xunit v3 so I can minimize them (anything that doesn't ship in .NET itself is a potential compatibility clash with library versions that developers want to use).

I'm not that worried about System.Collections.Immutable or IAsyncDisposable having breaking changes across major versions. System.Text.Json, on the other hand, feels like potential danger territory. The alternative of writing even a very feature-limited JSON parser makes me uncomfortable.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
Sadsquatch, to random
@Sadsquatch@mastodon.social avatar
KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@Sadsquatch @Migueldeicaza as a connoisseur of fine writing you'll really appreciate the text

"Tesla, a future case study for securities law classes across America, had to stop delivering Cybertrucks this past weekend. No, not because the hundred-thousand–dollar medium-duty pickup, which is only any of those things in the loosest interpretive sense"

xoofx, to dotnet
@xoofx@mastodon.social avatar

As spotted by @mzikmund https://www.youtube.com/watch?v=wzMMclD8QsI there is a potential new slnx format coming to Visual Studio, which is very welcome, but it might not be MSBuild based which is quite an unexpected and unproductive solution (haha 😁)

So, just shared my comment on the issue directly https://developercommunity.visualstudio.com/t/Clean-up-sln-VisualStudio-solution-fil/988209#T-N10636836 📢

Note that, it's not like I love MSBuild, but it is what we have today for authoring and building projects in VS/cmdline and so, let's not repeat the project.json mistake. 👀

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@davidwengier @khalidabuhakmeh @nietras @xoofx @mzikmund when you say "use msbuild is not an option" I really fail to see why

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

@vcsjones who do I bribe at GitHub to make this splitter resizeable in PR diff view?

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Thanks to Martin Zikmund making this video about the new proposed slnx solution format.

It's about time to kill the .sln format.

https://youtu.be/wzMMclD8QsI?si=BXB2nVrQDhiT7fcw

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh It will be trivial for Rider to implement support for Traversal projects, but if they invent a custom format you guys are going to have to write support for it from scratch.

And then they'll discover that users want folders! Users want globs! Users want solution-level files! Users want conditions! Users want solution-level NuGet packages! Users want editorconfigs! Slowly their format will evolve into a bad, ad-hoc, poorly designed subset of MSBuild.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh basically they just need to take Traversal projects as-is and stop reinventing the wheel.

bradwilson, to CSharp
@bradwilson@mastodon.social avatar

I want to see if it's possible to replace runtime reflection in @xunit v3 with source generators (for better performance and to support NativeAOT), but I think I've already hit the first blocking point: no support for ? Only and ?

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson @xunit instead of Roslyn source generators you can have a regular MSBuild code generator that generates code during the build, and it can be any code and support C# and F# equally well. I often find that people use Roslyn source generators when all they want is any code generator.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson @xunit hmm I don't know enough about your usage, and how you were planning to use Source Generators, just wanted to point out that in many cases where you don't really need to analyze the C# source you can get by without Roslyn. But in your case having access to the compilation and syntax trees might be required I think?

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@mihamarkic @bradwilson @xunit yes, not running on every keystroke in the IDE and not having access to the compilation and syntax trees/documents/semantic models

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@mihamarkic @bradwilson @xunit sure, or any other inputs you need. Granted, Roslyn Source Generators are great when you need to understand the .cs files, but in many cases I've seen them abused to just generate .cs files out of say .xml or .json, without the need to understand .cs. If you want to generate C# you may not need source generators, but if you want to read or understand C# you probably need them (unless you host Roslyn yourself and pay the perf penalty of reading the project twice)

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@bradwilson @mhutch @mihamarkic @xunit or perhaps you can run a task after Csc and reflect over the output binary at build time, then serialize your findings. This way you can support F# too.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • rosin
  • slotface
  • ngwrru68w68
  • InstantRegret
  • PowerRangers
  • kavyap
  • tsrsr
  • DreamBathrooms
  • tester
  • everett
  • hgfsjryuu7
  • khanakhh
  • GTA5RPClips
  • vwfavf
  • Durango
  • cubers
  • tacticalgear
  • ethstaker
  • cisconetworking
  • normalnudes
  • modclub
  • anitta
  • All magazines