@Botler no that's different. The opened apps I'm referring to are those that have GUI and in the same desktop. Windows 11 have it but it's not as fancy as the one on Mac
@Squirrelkiller ah yeah, win+tab is too much work for me =P
@Michael The usual APIs make sure you don't have to care about what kind of device is being used. Just call WebAuthn from your website and trust in the OS handling it.
Yubikey is nice because it's a mobile passkey, you can just plug it into another computer and login to github or whatever there.
It's a private key that is actually wrapped in a key :D
You can even take the results from the list you get from WhenAll: var results = await Task.WhenAll(...); var (r1, r2,...) = (results[0], results[1], ...);
if each task has its own try-catch and in the catch does some logging before throwing the exception, you get more logging if you wait for all of them to complete
I have 3 tasks:
private async Task<Cat> FeedCat() {}
private async Task<House> SellHouse() {}
private async Task<Tesla> BuyCar() {}
They all need to run before my code can continue and I need the results from each as well. None of the results have anything in common with each other
How do I c...
hmm yeah. I think gathering as much info as possible is good in some cases. One example I could think of is that, the reason why t1 fails is due to t2, but since t1 is the only thing we have an info, it might need more investigation and might not be clear that t2 was the reason that caused it.
then, assuming t1 fails, it should also be because of OOM
regardless of if t2 failed or succeeded, t1 is its own process and if it fails, it has its own reason
maybe it is caused by other processes on the same machine eating up all the memory, but there is no distinction between t2 or Windows Updater running on the background and eating all the ram
Ah, those Visual Studio suggestions can sometimes be spot-on and other times, well, they just give you a starting point for a refactor of your own. It's great to see how the IDE keeps evolving and trying to help us write cleaner and more efficient code. Cheers to the Visual Studio team for the nifty tools and features they churn out! And remember, while automated suggestions can provide quick fixes, nothing beats a meticulous human eye, especially on the lookout for those pesky "magic numbers" and making sure the code remains clear and maintainable. Keep rocking that code! 🎉🔥
Absolutely, that sounds like a blast! Advent of Code is a series of festive programming puzzles that many developers around the world participate in every December. It not only challenges your coding skills but also provides a great opportunity to learn and have some holiday fun with the programming community. Whether you're tackling the problems using good old functional programming practices or leveraging the full range of features in .NET 6, it's the perfect way to get in the holiday spirit and maybe even show off some of those hardcore `Func<T, T>` skills!
@Squirrelkiller I'm considering using it at work. We used to be able to verify via internal phone extensions but that has been flakey lately. Looking for a solution that doesn't require a phone. Thinking of giving a Yubikey to each department for multiple staff to share.
the people in our org who are technically responsible for this sort of thing aren't always that competent, so you often have to take matters in your own hands
Before they gave us phones I used a company gmail address I made, i.e. [email protected] and I've used that as the second auth factor. After working in my previous company I've learned to completely separate my private stuff vs work stuff. This is my rule ever since
I'm also quite sensitive when it comes to privacy but that's just me, some people just don't care and that's fine with me as long as they don't impose anything on me
@Darj Yep. I'm a bit annoyed that I need to have 2FA on my own phone right now. But that's the only thing. I even set up an entirely separate Firefox sync profile for work. I don't need to mix my own history/bookmarks with work ones.
@Darj One of the senior engineers we have does dislike open source. However, for a lot more practical reason than just blind panic. It's the tragedy of the commons that open source software might be left unmaintained because nobody bothers with it. Which is a real problem to be wary of. However, he also recognises when OSS is indeed the best solution to a problem, so we do have such dependencies around. He merely grumbles a bit when an issue shows up in one of those.
Moreover that guy wanted to use SQL server jobs to add a new job instead of using already implemented Hangfire and his reasoning was: Hangfire is a magic blackbox
I couldn't stop laughing on how you can call a magic blackbox a project that is fully open sourced and documented
To set the record straight - yes, you're absolutely correct - if an open source project isn't maintained then it can pose a security risk but sometimes there's just no better alternatives
@Wietlol lol well, this one is several years old and most of the people in it are either inactive or not part of this room
I feel like the main benefit to having MFA at the place where I work is that it prevents random attackers on the internet from getting into our accounts if they get a hold of an account's password.
I suppose that's the main point of MFA though lol
It's hard to stop people from re-using passwords and they can fall for phishing emails.
@CaptainObvious I see a lot on the Microsoft Store, but I don't know how trustworthy they are.
@Wietlol Because (a) our landline work phones don't always work with MFA and (b) some people don't have cell phones or don't want to use their personal device.
Thank you for your response, your suggestion can solve the problem, so I set your answer as a correct answer, but we fixed it using another way, following this article:
https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh124553(v=office.14)
To force sharepoint t...