« first day (2838 days earlier)      last day (2336 days later) » 

16:00
the more I use async, the worse it looks like :(
it simply doesnt work with the rest of the language
it defies inheritance, it hates generics, it doesnt like higher order functions, it will refuse to work with the execute around pattern, etc
you would have to make your entire codebase for sync processing and the same thing again for async processing
and then hope that nothing will interfere at compiling
16:24
@LeeButler Heh I was trying to set that up
But again I was told to debug local
Everything works local FFS
Whyyyy
Maybe the pdb is not the same version as the code?
I've been trying to debug issues which only happens at weird times, so if I want to fix it I need to attach a debugger while it's running remotely
Nah, if anything, other assemblies which have changed loaded fine, but the one which hasn't changed at all in about a year is the one that's failing
Lol are you my external contact by some luck?
We just discussed static paths for unknown endpoints
And that too
Would be really fun to meet someone here that I'm working with and shares my deep hatred
That would be awkward. You're both such huge nerds.
16:33
says the guy that works at Bli$$ard
I went up to Rudi's office on Friday actually
Psh, as if Blizzard games are nerdy ...
Oh of course not. Every game publisher holds their own yearly Gamescom-like convention where people compete to see who can best imitate the undead dance, or dress like Sargeras with full detail
Blizzard is definitely not full of nerds.
Obviously ... didn't you see the ... Candy Crush one?
Yeah the purple candy with cream and topping was killer.
BTW Night elf are OP in 1.30
16:38
He really nailed the exploding in a row dance
They added 15 damage to glaives
:OOOOO
@WilliamMariager HAHAHAHA
divine
They also buffed T1 massively, I no longer need to fast tech.
I can even t2 push with enhanced glaives
the cherry on the top would be a Warden with better attack speed, so it's not DH first every time.
Save the cheese
Cos I only use warden when I play VS human
Does anyone here even play WC3?
Ah nevermind I'm out
what is actually preventing a program from continuing execution when an exception occurs?
its not like the processor is going to explode, why can't it just continue running
because the code decided that you are not allowed to
in basic words, it is like a goto
Depends what you mean by continue
What makes you think it wont explode?
16:44
except... this goto can move to a different method
what code? say I try to index a string position that is outside range
(pls tell me the goto in C# cannot move between methods)
It doesn't just stop or anything, it jumps to some other code for handling errors
If you continue after something like a null reference exception you're just executing random, possibly invalid, instructions.
@erotavlas behind the screen, there is code that will check if you are within bounds
if you are not, it throws an exception
if you were, it would return data that would be next to the bytes of your array
16:45
ok what if that code wasn't there
@erotavlas If you don't throw an exception when that happens, you'll get garbage data, potentially sensitive data, or an access violation
those bytes could be simply jibberish
52 secs ago, by William Mariager
If you continue after something like a null reference exception you're just executing random, possibly invalid, instructions.
You'll just have the CPU going crazy, possibly locking up your machine and more.
and then... it explodes
cool :)
16:47
If you only have 1GB of RAM and you tell the computer to read the 5 billionth byte, what else do you suggest it do?
what would happen if it tried to?
@KendallFrey that is impossibru
a 1GB ram computer surely must be a 32 bits machine
@erotavlas What do you mean tried? There's nothing there to even try to read
and a 32 bits machine cannot tell it to read the 5 billionth byte
but you could send it that instruction cant you?
16:48
because that doesnt fit in a 32 bit int
@erotavlas Well yes, that's my question
what could it possibly do besides throw an error?
@erotavlas but the compiler and the bytecode would prevent you
maybe you couldn't even program that instruction to begin with...there is no value to enter for the 5billionth byte
if they wouldnt, what William said would happen
@erotavlas For god's sake, you're the one that brought it up...
6 mins ago, by erotavlas
what is actually preventing a program from continuing execution when an exception occurs?
16:49
I guess I never thought about it before
exceptions aren't intended to be used in situations where "I could continue just fine, but I'm not going to."
More like "If I continue, I have no way of knowing what will happen, and that is unacceptable."
You mean like, an exceptional situation?
although I am curious to see what would happen, see it mangle up my entire machine until it crashes with a blue screen of death
> and that is unacceptable
uhm...
that is not what my colleagues would say
@erotavlas, there are too many safety measures in place.
If you did get it to start doing things it shouldn't, the virtual memory all modern OS'es uses will prompt windows to kill the program and tell you it's been bad.
16:53
@erotavlas Most exceptions, if you remove them, will lead to another, more dangerous exception
Testing what will happen if you execute random assembly is easy enough btw.
Just alloc some executable memory, fill it with random bytes and call into it.
If you keep removing exceptions, you'll probably end up with corrupted state, hardware failure, or bypass all the kernel's security and end up with the biggest breach of all time.
@erotavlas See, the BSOD is itself an exception. The logical conclusion is, what if that didn't happen?
there's a nontrivial chance you could brick your PC
interesting
 
1 hour later…
18:08
if the universe was actually a giant computer simulation and an exception occurred, would we notice?....hmm
If the entire simulation was shut down, we wouldn't notice
How the hell do people use VS Code
maybe black holes are actually exceptions, like a kind of stack overflow of gravity
@LeeButler Quite nicely
@erotavlas let's not go all god of the gaps here
18:11
I have to say, vscode is one of my favourite bits of software ever
I mean it's nice sure
But I couldn't see myself working on .net projects in it
How do I load a project?
I wouldn't use it for .net projects
why would you?
Maybe I just want to quickly try somwthing, or don't have VS installed
(or both, my current situation)
@LeeButler vscode is not a vs replacement
but isnt it a vs alternative?
what do you do with vscode then?
not write code?
18:27
@Wietlol Write TS/JS, Haskell, etc.
More of a ST3 alternative
18:56
i thought vscode was a jack of all trades IDE
19:08
is it possible to ignore a reference after compiling your project?
like inject some other version of the referenced assembly and by pass the one you were originally referencing
19:21
@Wietlol It's the base for one. You can use/write plugins to do pretty much anything, but natively it doesn't support much.
most of the interesting functionality is achieved by shelling out to existing tools for example
So in theory it could support all the stuff VS does, but that's essentially reimplementing VS, and it's a lot of stuff
19:48
@erotavlas There are ways to do reference redirection, yes. Usually they're implemented by the assembly loading the assembly who has dependencies that need redirection.
There's also some ability to do them with .config files?
the fuck is dis bullshit???
You can dig into some of redirection here: docs.microsoft.com/en-us/windows/desktop/sbscs/…
if I copy my AppData folder from my C drive to my D drive, and then remove the C drive, why cant I open the copied AppData folder???
@Zarenor thanks
Doing it when loading assemblies is pretty involved and complicated. It's not something I could walk you through, you'll have to do some deep digging.
Sure
19:53
we have this asp.net app that's using a library I wrote, asp.net app is referencing another library X, and I'm also doing the same thing...but we are each using it for different reasons......dev for asp.net app wants to consolidate library X to one copy, so his app and my library both point to the same dll's
personally I don't see an issue having two sets of the same library
and they are separate solutions....so when he builds his, library x gets bundled...when I build mine, I bundle my pwn library X
20:12
meh, the easiest would be to just include all projects into a single solution
really if they are being built from the same source control then there shouldn't be a problem
20:45
Why wouldn't you use VS Code for .NET Core Projects?
i think they were referring to .net framework
awww fair enough
i think .net core is more VSCode friendly
I only use VS Code now for Core
I went back to VS 2017 the other day to try out some MR stuff. Its got better perf wise, but I do love VS Code.
21:16
i could never get into vs code....so used to vs
 
1 hour later…
22:29
Is there a way to give a refresh token to ADAL? I have a Teams compose extension, where you let Teams do the sign-in flow and it gives your code an ID token and a refresh token. I can give the ID token to ADAL, but it expires in an hour. How do I get ADAL to automatically refresh the token?

« first day (2838 days earlier)      last day (2336 days later) »