« first day (4715 days earlier)      last day (88 days later) » 

12:02 AM
@PaulWhite yeah
 
😩
 
It's like the system trace on 'roids lol
 
No HK 4 u
Quite a sneaky limitation
 
12:27 AM
I was quite taken aback by the sitchiation
Probably going to disable the EN while we POC the in-mem thing
 
12:41 AM
@HannahVernon 🤮🤮🤮
 
I'm starting to feel dolphin-like
 
@PaulWhite you're right, it does warrant a better explanation. The gist is that exceptions thrown from async void methods won't be caught by try catch blocks in the method that called them. So even though it looks like you're protected from unhandled exceptions, you're really not.
> The caller of a void-returning async method can't catch exceptions thrown from the method. Such unhandled exceptions are likely to cause your application to fail.
Because the exception is essentially being thrown on a different thread from the one that called the method.
 
1:00 AM
Oh so it’s like when my wife sends me to the store
 
Hello everyone! It's been 10 years now since I worked extensively with SQL, but you know, the things I learned during that time still inform and shape my software development career. Learning to think about operations in a set-based way was hugely helpful in wielding C# Linq-to-objects when I was doing that (also many years ago).
5
It's fun to go back to some old questions of mine when they get upvotes anew, and see how they've fared on the site. And unsurprisingly, look at the excellence of @PaulWhite's answer, so long ago! Wizard that he is.
I do notice that I can still wrangle SQL pretty well when I get the rare chance to. I was a database developer for 7 years. Every now and then that hidden talent gets a chance to show up and it's fun to watch people who do SQL for a living realize that I just might know it better than they do...
Though the last version of SQL Server I worked with much was 2012, so I'm probably so very far behind on some things.
Heck, just learning nested loops, hash matches, and merge joins helps in leet-code exercises and once in a while even comes in to day-to-day real enterprise software development! It was a hugely valuable experience to get into the data that deep for so long. There are many other ways the database experience has benefited me in any language or task.
Anyway, I'll shut up now. Just wanted to say hi to people, some of whom might or might not remember me (fondly or not!).
 
1:27 AM
@JoshDarnell That helps, thanks. But don't you say adding a try catch is a potential fix in the post? Also, I'm not clear on why returning void is part of the problem rather than just being async. Perhaps I will read the docs link now
@ErikDarling also like a parcel trying to escape the USA
The link did explain it. With a void return, there is nothing to attach an exception to. Makes sense
I really dislike hidden details like that. Convenience features are great when they're convenient but a nightmare when something goes wrong. I don't know how many of them pay for themselves overall
 
1:53 AM
@ErikE yes hello.
@PaulWhite it has escaped from New York, Cincinnati, and Los Angeles.
@PaulWhite sort of like when my wife sends me to the store.
 
2:06 AM
@PaulWhite I meant adding a try catch inside the async void method (exception handling will work then, since it's all on the same thread / context).
@PaulWhite yeah, that's the absolute worst thing about the whole async void thing!
I want to write another post about the return semantics with those too.
It's best just to avoid them entirely.
 
@ErikDarling Not escaped LA just yet. Enjoyed Cincinnati for a day or two
@JoshDarnell Ah
17.5 hours
 
 
1 hour later…
3:22 AM
@ErikE Welcome back. I still do SQL daily, but I decided to do AdventOfCode in Powershell this year since I've repeatedly been re-educated the last few weeks about the wacky stuff Powershell does with native objects versus .NET objects and iterators and things while I have been doing work with JSON and XML in PowerBI and Tableau file internals.
 
@PaulWhite well next time you can come pick it up then
 
 
3 hours later…
6:11 AM
Wordle 896 3/6*

🟩⬛⬛🟨⬛
🟩🟨🟨🟨🟨
🟩🟩🟩🟩🟩
 
 
3 hours later…
9:21 AM
Morning
@ErikE Welcome back :-)
@SeanGallardy I installed it when it became all the hype and thought Yuck.
I went back to Fedora
Essentially tried CentOS, Debian, Fedora and Ubuntu Desktop. Only really enjoyed everything else except Ubuntu. I have a Mac Air and a Surface Pro for things. And my current gaming machine is running Windows 10. Been using Windows since 3.1 and only missed out on ME. In summary: Linux is good for things, and Mac OS is ok for office work, but Windows is the most enjoyable allrounder.
 
 
5 hours later…
 
4 hours later…
6:00 PM
Still in Los Angeles
 
6:25 PM
@PaulWhite escaped!
 
🎉
 
 
2 hours later…
8:26 PM
@PaulWhite Pretty well known among C# devs these days, but the way anoymous lambdas can generate an async void without telling you is just egregious. I think Resharper and other tools will warn you of stuff like this, warnings like "this call is not awaited" etc.
async await is cool, but there's so much magic happening under the hood that I worry people just don't understand it well enough to use it safely. But over the years there's been a lot of good work: Stephen Toub and Stephen Cleary are both great on this front, giving very useful advice about what to do and what to avoid.
See also this interesting post
5
Q: When talking about programming languages, what is the definition of Magic?

dsimchaThe word "magic" gets thrown around a lot here in contexts like "language X just has too much magic", or "platform Y generally avoids magic". However, it seems the term is pretty poorly defined, something people know when they see it. For example, Java is reputed to contain very little magic, b...

 
 
3 hours later…
11:42 PM
@JohnK.N. Yeah I also started on Fedora
 

« first day (4715 days earlier)      last day (88 days later) »