C#

General discussions about the c# language, Squirrels | gist.gi...
Oct 23 19:34
crap how'd I not know about that?
Oct 23 19:34
well huh, "for await continuations it always gets unwrapped as its first inner exception, by design" stackoverflow.com/a/62607500/251011
Oct 23 19:08
And now can't find good guidance on the web other then Task.WhenAll / WhenAny
Oct 23 19:07
I've been used to the paranoia of catch(AggregateException ex) ... ex.Handle(...) but got questioned by a coworker recursively asking "but why" and now my beliefs are shattered
Oct 23 19:04
how am i supposed to trust whether or not a library's async methods are going to do regular typed exceptions or AggregateException if I'm interested in a particular exception type
Aug 29 15:14
so partial classes aren't an option due to dojo fits?
Aug 26 15:57
wow 57.6 million
Aug 26 15:56
@OakBot how many rocks should I eat per day?
Aug 23 21:49
It's like that first guy tried to make things as difficult as possible and I'm glad he's no longer poisoning things here
Aug 23 21:48
looks at teams messages Oh yeah, he said there were also extensive directory differences
Aug 23 21:47
I did tell the coworker primarily looking into it to guesstimate a good baseline based on date of initial commit and release dates of old versions.
Aug 23 21:45
software libraries often have multiple versions over time
Aug 23 21:44
@Darj which base version? :)
Aug 22 21:06
I sure as hell don't wanna dig into that messy corner of our code basement.
Aug 22 21:06
someone no longer with the company added SharpCompress to our own source code back in TFVC days, years before we migrated to git, and made some modifications to it. And today no one knows exactly what special snowflake fixes he made in there or even what version he copied from.
Aug 12 16:44
in song! 🎵🎵
Aug 12 16:40
And azure has yet to give us an elegant copy-entire-storage-account dump api
Aug 12 16:39
it's not the sheer data bulk that's the problem, but the fact that there's over 5 million itty bitty files
Aug 12 16:38
yeah, sadly we have a couple hundred TB of azure blobs that thwart non-azure offsite backup approaches, and I'm pondering what the heck can be done
Aug 12 16:35
this guy's vivid reenactment graphics take time
Aug 12 16:26
^my favorite comment
Aug 12 16:26
Aug 12 16:23
"oopsie poopsie, ur cloud all gone" youtube.com/watch?v=3GOAUyipnM4
Jun 28 19:14
Jun 28 19:13
Apr 29 15:21
God bless MSFT for lowering the glibc requirement in 8.0 compared to 7.0
Apr 29 15:20
Ah yep, that linked victim encountered a glibc version-too-small issue, something I knew of but am currently unaffected by. But all the debugging posts up to that point might still be valuable techniques.
Apr 29 15:16
Apr 29 15:15
"...if you could connect remotely from lldb to the gdb server..." Such magic exists???
Apr 29 15:14
@ntohl looks like a nice read, thanks
Apr 29 14:29
So I guess I'll try to collab with the resident linux gurus to try and get lldb available on this lil' device, as well as maybe try to put full-fledged debian install onto ARM32 qemu emulator and hope it's a "similar enough" environment for analysis.
Apr 29 14:21
So I don't even have the power of apt-get to fulfill dependencies
Apr 29 14:21
Seems like most of the non-VS prescribed approaches involve running lldb or dotnet-dump analyze on the same platform as what produced the crash, which is problematic here since it's a wacky custom yocto linux someone in the company set up for IoT-ish devices.
Apr 29 14:15
I'm starting to wonder if the reason VS refuses to do anything with it is because it came from a single-file executable, rather than an environment with a nicely compartmentalized dotnet system libraries folder.
Apr 29 14:13
I wanna view the stack trace(s) of a crash dump that happened on a dotnet 8 app on ARM 32 linux. How screwed am I?
Mar 7, 2019 20:46
<👌> 😏 </👌>
Mar 7, 2019 20:42
Mar 7, 2019 20:42
just randomly show this to the user:
Mar 7, 2019 20:41
So not a map of the code, but something that will help a user navigate a labyrinth of menus and dialogs?
Mar 7, 2019 20:39
You're trying to create a map of the code? Like what methods call other methods?
Jan 29, 2018 16:54
Jan 29, 2018 16:43
I seem to recall that HttpClient requires some special initialization to enable gzip
Jan 29, 2018 16:42
Or are you using a programmatic non-browser client on the client side?
Jan 29, 2018 16:41
in the requests? the things controlled by the browser and not the server?
May 17, 2017 23:38
What's the best way to associate an image with a code comment? Imgur link? Base64? Link to the corporate wiki?
 
Apr 12, 2017 19:38
same problem with both
Apr 12, 2017 19:38
I have 2 ipads, one on latest ios and one old ipad on I think ios 8.3.
Apr 12, 2017 19:37
yes
Apr 12, 2017 18:58
@ShobhakarTiwari I haven't rebooted in the last four hours but I assume I still have the problem