Profile avatar
kevingosse.net
Software developer at Datadog, passionate about .NET, performance, and debugging. Microsoft MVP. Co-author of Pro .NET Memory Management (2nd edition)
1,219 posts 939 followers 734 following
Regular Contributor
Active Commenter
comment in response to post
Yeah the wording is unfortunate. It's not that it won't fit, but rather that the allocator used internally by the runtime has this arbitrary limitation.
comment in response to post
If you allocate your own frozen segments (see minidump.net/exploring-fr...), I'm fairly sure you can store objects of any arbitrary size.
comment in response to post
I believe this is a limitation of the FrozenObjectHeapManager (used by the runtime to allocate in frozen segments) rather than the NonGC heap itself. I looked at the comment in github.com/dotnet/runti... and it really seems like the only explanation is "it's an optimization so let's not bother"
comment in response to post
Yes, they're the same thing 😉 Frozen segments were renamed into NonGC heap github.com/dotnet/runti...
comment in response to post
In the end, this was linked to the version of Windows. Looks like they changed the jscript engine: learn.microsoft.com/en-us/answer...
comment in response to post
Ok. Well, this is getting more and mysterious. Thanks for the help.
comment in response to post
So you have the same behavior as my work laptop, interesting. On Twitter one person tested with W11 and didn't see that behavior. I'm wondering, what security solution are you using? Would it be SentinelOne by any chance?
comment in response to post
I don't know if this difference of behavior is caused by the different version of Windows, or some security settings on my work computer, or something else entirely. I need more data-points. Thanks!
comment in response to post
On my work computer (Windows 11), the script displays "Is index 0 enumerable? No" and fails to enumerate the array On my home computer (Windows 10), the script displays "Is index 0 enumerable? Yes" and enumerates the array.
comment in response to post
Good catch. Apparently it was accidentally changed for .NET Core: github.com/dotnet/runti...
comment in response to post
Well we definitely didn't communicate enough 🙈
comment in response to post
It's available already 🙂
comment in response to post
Lego has a 70% gross margin. Even if they reflect the full tariffs on their prices, the impact would be *much* lower than 25%. Tariffs are a major issue for instance for food, where margins are low, but I really wouldn't worry about Lego.
comment in response to post
I confirm this works great: github.com/kevingosse/M... Thanks again!
comment in response to post
I was too lazy to look into the msbuild pipeline, but if you serve it on a plate like that I guess I'll write a follow-up article 😅 Thanks!
comment in response to post
Yeah I asked Konrad a few times but he seems quite busy. He's the only one who can update the website.
comment in response to post
The source code of the article: github.com/kevingosse/S... And the source code of Silhouette: github.com/kevingosse/s...
comment in response to post
Yeah, I'm almost tempted to install a keylogger to find out if it's a me problem or an OS problem
comment in response to post
My biggest ask for the shell team right now is "give back the ability to put the taskbar to the side"
comment in response to post
What I want to prevent is when you fail to copy something, switch to another app, press ctrl+v and realize you didn't actually copy. I guess win+v prevents you from pasting the wrong thing, but you still have to switch back to the other app and copy again.
comment in response to post
Yeah I expect I'll have something shareable by the end of the week.
comment in response to post
I'm still trying to find the right visual effect. I want it to be subtle to not be distracting, yet noticeable. I considered briefly changing the mouse cursor, but it's not necessarily around when you copy stuff.
comment in response to post
It's 7 weeks for most people. Basically we're supposed to work 35 hours per week but it's not practical for many businesses so we work 38/40 hours and get extra days (typically 10) in compensation.
comment in response to post
They say a 1/100 chance to happen, but it definitely happened much more often to me
comment in response to post
Yeah 😅 I wonder if they're using a code generator, or maybe obfuscated code, but unfortunately I have no way to find out (the crash was reported automatically through telemetry so I only have limited context)
comment in response to post
Complaining about videogames quality nowadays sounds crazy to me. Indie gaming has never been so strong, there is an incredible variety of original and great quality games out there, and often cheap.
comment in response to post
I was looking for something short and sweet to code and completely forgot Advent of Code had started. Thanks for the reminder.
comment in response to post
First draft is out Fiddler - Mistakes and Happy Accidents textslashplain.com/2024/11/24/f...
comment in response to post
Amazon and link.springer.com
comment in response to post
Yeah, the book is available now, I need to motivate Konrad to update the website 😅