Přemek Vysoký

418 posts

Přemek Vysoký banner
Přemek Vysoký

Přemek Vysoký

@premun_

Principal Software Engineer @ .NET Engineering / Microsoft · Opinions are probably stolen

Prague Katılım Ekim 2021
104 Takip Edilen87 Takipçiler
Přemek Vysoký
Přemek Vysoký@premun_·
@KooKiz This is probably because NUnit's setup methods are not ctors. So while your test will have your field initialized, the C# analyzer doesn't know that. You'd either have to make it nullable and if over it totally or.. do this. NUnit is not very C#ey unfortunately.
English
0
0
0
83
Kevin Gosse
Kevin Gosse@KooKiz·
I'm trying GPT-5.4 and scratching my head when seeing the generated code. What reasoning process could lead to explicitly initializing to null a property, _and_ using the null-forgiving operator.
GIF
Kevin Gosse tweet media
English
7
0
14
2.6K
Přemek Vysoký retweetledi
Julien Couvreur
Julien Couvreur@jcouv·
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.
English
16
97
482
62.9K
Přemek Vysoký
Přemek Vysoký@premun_·
@devinbgoble @McClellandRuss Can you estimate your team's velocity? Do you know how much you get done in a month? Do you know how fast people on your team work? If you do all of the above, why not just get these numbers out cheaply by chunking your work by time?
English
0
0
0
7
Devin Goble
Devin Goble@devinbgoble·
@McClellandRuss Some people seem to need the structure. What they're getting out of it, I don't know. We triage issues, refine stories, do some rough estimation, etc. I think we generally get value out of those activities. Our workflow does not benefit from sprints.
English
1
0
0
18
Devin Goble
Devin Goble@devinbgoble·
Somebody just started talking about sprint this and sprint that. TBH, I haven't paid attention to sprints in a couple of years. I just do work.
English
1
0
5
278
Přemek Vysoký
Přemek Vysoký@premun_·
@avrldotdev @Adriksh Do you mean the part where you can point at any address and pretend that it contains whatever you feel like or the parts with undefined compiler behavior?
English
0
0
10
229
avrl ☘
avrl ☘@avrldotdev·
@Adriksh It's not strict per how you want to write code, the strictness comes from how you manipulate memory & how you handle the basics of computer hardware, it's not C that is strict, it's the underlying stuff that it is built upon
English
4
0
80
13.4K
Adriksh
Adriksh@Adriksh·
People think C is a strict language. C lets you casually weave a switch statement inside a while loop, break spacetime, and it compiles perfectly. Don't show this to Python developers, they will cry.
Adriksh tweet media
English
161
109
2.4K
212.8K
Přemek Vysoký retweetledi
Obie Fernandez
Obie Fernandez@obie·
Software craftsmanship is over. The industrial age of programming is here.
English
91
90
914
110.2K
Přemek Vysoký
Přemek Vysoký@premun_·
@KooKiz It's so refreshing to hear about examples of direct benefits of using the right data structures in the right situations when it actually matters
English
0
0
0
155
Kevin Gosse
Kevin Gosse@KooKiz·
A lot of performance issues come from incorrect assumptions. ReSharper has a GetModuleReference method which iterates over the references of a project to find a specific module. The underlying storage is a list. It seems reasonable at first: how many references can there be in a typical project? 10? 20? Well, it turns out that a simple aspnetcore project, created with 'dotnet new webapi', has 309 references before even adding any external library! Because of this oversight, GetModuleReference was responsible for up to 4% of total CPU usage during Visual Studio startup in some of our performance tests. Replacing the storage with a map brought it down to 0.5%.
Kevin Gosse tweet mediaKevin Gosse tweet media
English
4
3
82
5.6K
Demetree Kallergis
Demetree Kallergis@DemetreeKaller1·
@JonathanPeppers Sounds fancy. Why so soon though? 10 just came out a couple of months ago. My 18 month old product started on version 8…
English
2
0
1
133
Přemek Vysoký
Přemek Vysoký@premun_·
Just a regular day at work these days
GIF
English
0
0
0
23
Přemek Vysoký
Přemek Vysoký@premun_·
Is there a way to trim the list of startup projects in VS? Most of there are libraries and test projects which I will never want to launch. It's a bit tiresome to fish for the one or two CLI/API projects in a sea of non-runnables @mkristensen?
Přemek Vysoký tweet media
English
1
0
0
40
Přemek Vysoký
Přemek Vysoký@premun_·
@GodOfTweets Criticizing, sure. Disregarding while there's millions of counterexamples of it being useful, I don't know..
English
0
0
1
223
God Of Tweets
God Of Tweets@GodOfTweets·
@premun_ It's definitely true of bad devs. Bad employees in general blame everything else. Their tools, their co-workers, the customer, even. But it's also not the case that anyone criticizing a tool or disregarding it is automatically incapable of using it.
English
1
0
1
271
Přemek Vysoký
Přemek Vysoký@premun_·
My whole career I've been meeting devs with strong edgy negative opinions about tools they've been using. I always thought they had some innate insight and saw through something. Today, I'm of the opinion they just couldn't utilize tools to their max including their weak spots.
notch@notch

Reminder that using AI to write code is an incredibly bad idea still, and anyone advocating for it is either incompetent or evil. It's just as dumb as letting AI write the laws. It's about logic, not about typing.

English
26
2
97
58.4K
Přemek Vysoký
Přemek Vysoký@premun_·
@Tynach @nickycakes @notch Thx for the explanation and also staying civil. I don't work on/know the story with Windows.. or how many bugs you can attribute to AI. I wouldn't say it's a lot. These are quite bold conclusions people jump to. A part of life, I guess? Not much to do with my claim though..
English
2
0
2
43
Tynach
Tynach@Tynach·
@nickycakes @premun_ @notch … find it very rare for anyone, myself included, to know why a currently held belief is being called dumb. Whether it's missing perspective, missing information, or just a lack of introspection and self-analysis, people rarely continue believing something they KNOW is dumb.
English
1
0
0
36
Přemek Vysoký
Přemek Vysoký@premun_·
@janivkk9138 @adam_almost @notch I never said that? I just know how to use AI. OP seemingly does not. Somehow he ends up calling me dumb. I only called out a pattern I've been observing for decades. Seems like it struck a chord with a possible insecurity of @notch
English
0
0
0
40
Přemek Vysoký
Přemek Vysoký@premun_·
@griimnak @TimWachter I think you're arguing a whole different argument. One on which I agree with you. You should still know your language if you want to be a good dev. I never said anywhere to offload everything to AI
English
0
0
1
31
Chase Bo Camp
Chase Bo Camp@chasebocamp·
@premun_ you’re not a dev if you rely on AI to do the work for you. Change my mind.
English
1
0
0
3
Přemek Vysoký
Přemek Vysoký@premun_·
@griimnak I've been a dev long before stackoverflow. Back then you had to read a book. Language was never the problem. In well established codebases, copying patterns gets you very far.
English
1
0
1
496
グリムナク
グリムナク@griimnak·
@premun_ Right so you sound like an experienced dev, so let me take you back to the stackoverflow days. If you were training a junior then, wouldn't you scold them about just blindly copy and pasting solutions into the codebase? You'd say "learn the language instead". That's the point
English
2
0
12
713
Přemek Vysoký
Přemek Vysoký@premun_·
@EvanElleRouss I give it well specified worked out sub tasks that I know it handles well. That's work. The important part of it. The scope of such tasks has been increasing, my productivity with it. I learned how to use it, built a feel for it, I use it as a tool.
English
1
0
3
644
Evan Rousselle
Evan Rousselle@EvanElleRouss·
@premun_ AI isn’t really tool in that sense, it’s something that does the work for you. whereas a tool is something that a person uses to assist them in doing the work.
English
1
0
7
724
Přemek Vysoký
Přemek Vysoký@premun_·
@synthnostate Not sure what fight you're fighting. I never called anyone retarded nor does being a billionaire qualify you for anything, nor I have known who this person is. I've used all kinds of OSes, I found all useful in ways. They are, again, tools.
English
0
0
3
114
Synthnostate
Synthnostate@synthnostate·
@premun_ You're the one calling a billionaire retarded. And I've *never* had Windows as my main OS in its 30+ years, so yeah, life's been good.
English
1
0
3
124
Vox Populi
Vox Populi@kalokagathos777·
@premun_ @notch I never said I blinldy disregard the tech, I just think you have to be smart about it. I have been tinkering with ai since before transformers/llms were a thing with earlier chatbot concepts
English
1
0
0
312