« first day (1592 days earlier)      last day (3361 days later) » 

9:00 PM
ahhhh
dah to me
 
Is that JS? I can barely recognize it through all the unnecessary stuff
 
@Pinky - I found this video from one of the employees demoing some STOIC features youtube.com/watch?v=qsjKUyG7axE
@Pinky - And this one as well youtube.com/watch?v=SsSNKXVUYdg
 
@TravisJ Sweet! your beyond awesome!
 
@NETscape Nice title.
0
Q: What do masters really know about their slaves?

NETscapeI have my devices in Master/Slave configuration and I'm developing a WPF/MVVM application. I have a COM objects (all which implement IDevice) which represent the state of a external device/Modbus network and is attached to something like SerialPort or Socket. What this means is that, after id...

@ton.yeung What you been up to?
 
9:21 PM
:)
 
finished online javascript test. dislike those things
 
@Greg lol i laughed too
 
@Jeremy We commit those because we typically have the same warning/severity settings as a team
@Jeremy We're just recently looking into having some settings as teamwide
 
@CharlieBrown - How'd you do?
 
i.e. in a file rather than happenstance identical config
 
9:25 PM
@SpencerRuport no score given at the end, no idea.
 
@CharlieBrown - Ah bummer.
 
you only have 60 seconds on some questions, and its like read 10lines of logic
 
I believe that if you put some resharper settings xml in a file named [the solution file name.sln].DotSettings, then ReSharper will use that for that solution, and you can override things with not-committed per-user settings if you wish.
 
or oddball api related questions you have 3min. "When would you use EncodeUriComponent VS EncodeUri"
@MikeAsdf correct
 
@CharlieBrown - Yeah I got an online .Net/C# test a while back and it felt the same.
Like "uhhh whichever one does what I need it to?"
 
9:29 PM
@Jeremy Our team shares global settings.
Because we want to be strict in checks, formatting, etc.
 
20 floors of stairs, like a baus
 
I can do 1 without shortness of breath
 
i can make it up a step or two, then i give up and get drunk
 
lol
and then you forget how to read
 
lol
i can't believe i did that, like 20 times
ds.Tables.Count;
 
9:34 PM
ty
 
np
 
I was wondering
I had to go to MSDN to make sure I wasn't insane
 
lol
 
except my internet is slow and it didn't load
 
@ton.yeung Sounds like that is painful.
 
9:37 PM
In a MVC 5 project, I am using Forms authentication on account.domain.com. If I have another app runnings on app1.domain.com which uses forms authentication, could the authentication cookie get mixed up in anyway, if say I had two tabs open with each site
Ideally, I want the authentication to remain seperate
 
@SpencerRuport I always want to ask "So, during the normal course of business, are we not allowed to use documentation like MSDN?" Or must we memorize the entire framework
 
@CharlieBrown - Exactly. It doesn't say a whole lot about someone's dev abilities.
 
I don't know if I can ask this type of question, but I'm going to throw it in here anyway ;). I have malwarebytes as my anti - malware. Today I got on and it said that a scan had failed and that malicious website detection was disabled; however, settings says that I do have it enabled. Any thoughts? And if this is an "illegal" question lemme know :)
 
@KendallFrey what does ?. do?
 
@Ethan - That's more of a superuser question: superuser.com
 
9:43 PM
@Steve C# 6 things
 
it's a hidden file if i remember right
 
@KendallFrey built in null check?
 
@Ethan - Run task manager, for all users, and google search the .exe name of every process running to see if you have a virus.
 
googlign that sucks, because ?. returns something useful
 
@Steve it's related to nulls, yes
 
9:43 PM
If you have the superbug hd infectinator then there is nothing that you can do.
 
A?.B is like A == null ? null : A.B
 
thanks
 
?? is the null coallece coalesce right
 
Anyone >> In a MVC 5 project, I am using Forms authentication on account.domain.com. If I have another app runnings on app1.domain.com which uses forms authentication, could the authentication cookie get mixed up in anyway, if say I had two tabs open with each site
Ideally, I want the authentication to remain seperate
 
9:45 PM
@TravisJ - thanks, I'll try that
 
@Nathvi coalesce, yes
loltypo
 
Damn, SO is getting a half million new questions every month.
 
yeah i saw that
@KendallFrey,
 
@Tommassiov by default, forms will set the cookie on the full host name
in theory, the user could edit their cookie and have it be valid for both sites
to avoid this, you'll have to set a different machine key for the different applications in web.config
or you could also add the app name to the userdata of the auth cookie and validate it in code
 
the use of the ?? is like:
var a = a ?? b ?? c
if a and b are null, then a = c correct
 
9:47 PM
well that shouldn't compile
 
^
 
wierd question, has there been any attempt to run Java in Visual Studio?
 
@drch thanks for this.
 
if you say var x = a ?? b ?? c, then yes, the rest of what you said is true
 
9:48 PM
opps... sorry yes that is what i meant @drch
?? is basically the same as ? except it checks for null, correct?
 
not exactly
 
@Nathvi a ?? b is shorthand for (a != null) ? a : b
 
@Nathvi - x ?? y === x != null ? x : y
 
except for the shortcut part
 
@
 
9:51 PM
x is only evaluated once
@Steve cyclops, high out of his mind
 
huh
 
oh my gawd
 
@ton.yeung Which phone are you looking at?
 
> The city of Edmonton is considering adding an eleven kilometer (seven mile) 'freezeway' that will allow residents to skate to work, with a pilot project planned for as early as next winter.
partly think thats cool, partly think that it would suck to live in a place so cold that its possible
 
9:53 PM
that is actually cool
 
too many cook
 
stfu you saw nothing
 
@SpencerRuport, what does the === operator do?
 
@drch - Is it just a regular walkway during the summer?
 
@Nathvi it's not a real thing
 
9:54 PM
@Nathvi it's shorthand for the English statement "it be the same thang as"
 
@Nathvi - It just means "is logically equivalent to". But as Kendall pointed out they're not exactly the same.
 
not sure
btw, these already exist
> The long ice corridor would be comparable to Ottawa's 8km Rideau Canal and Winnipeg's 9km The Forks on the Red River, except that the Freezeway would be an artificial skating trail.
 
I love skating the Canal
 
municipal sled dogs when?
 
so it's the same thing as ==
 
9:55 PM
@Nathvi no, == is a thing in c#. === isn't
 
@Nathvi it's made up
 
it exists in javascript though
=== ==== ==
 
right, but it shouldn't
 
AND PHP
 
@Nathvi == just refers to the value not the logical makeup
 
9:56 PM
equality should be = imho
 
@SpencerRuport, right...
 
and assignment := ?
 
yeah or <-
 
@SpencerRuport, what do you mean "logical makeup" ?
 
i think end of statement should be either ;) or :D
 
9:57 PM
@Nathvi binary eyeshadow
 
lol
 
We're getting into subject matter I don't really know much about. :P
Just vague concepts I remember going over in college.
 
"=== would translate to .Equals()" is that true?
 
@SpencerRuport Thanks for the Link!
Anyone tried writing java code in VS?
 
9:59 PM
=== is easier to write than ≡
 
≡ means they mean the same thing, = means they have the same value
 
≡ means hamburger
 
hamburger means :)
 
Fuck your hamburger! ╯‵Д′)╯彡
 
fuck your fuckage of my hamburger (>^o^)>≡
om nom nom nom
 
10:02 PM
(>^o^)>≡ლ(´ڡ`ლ)
 
room topic changed to C#: All hopped up on syntactic sugar ლ(´ڡ`ლ) [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
flagger Y U flag that
 
reported
 
Ok, so === means "if and only if" correct?
 
10:04 PM
=== depends on the context
when it was first mentioned, he just meant "is the same as" or "is logically equivelent too"
 
I'm looking at
http://whatis.techtarget.com/definition/logical-equivalence
 
now it means hamburger i think
 
@Nathvi um, no, nothing like that
=== is a made up thing that means two things mean the same thing
 
so 3 === 3 is correct
 
10:07 PM
logical equivelence is more about shit like: !(a & b) === !a || !b
 
3 === 1 + 2
 
no
thats EQUAL
not logical equivelent
 
what the fuck
 
in javascript, sure
in languages where ints dont represent truthiness, no
 
10:08 PM
Those are constants so they're logically equivalent.
 
@Nathvi more like x * 2 === x + x
 
in c#, 3 doesn't have a 'logical value'
3 == 3 === 4 == 4
but not 3 === 3
 
@KendallFrey, ok, so it is checking if two functions are equal
y^2 = y * y
 
no, it's not checking anything
 
@Nathvi - I'd recommend just reading more about it.
 
10:09 PM
it's just explaining that two things mean the same thing
 
if a === b, you can replace any occurrence of a with b
 
Clearly I opened a can of worms here.
I apologize.
 
Clearly we confused the fuck out of Nathvi
 
yarly
 
Mission accomplished!
 
10:10 PM
not hard to do :v
So, assuming only two genders
I am a man === I am not a woman
?
 
hermaphrodite
transgender
 
@Nathvi that's the idea, yeah
@drch "assuming only two genders"
 
I identify as a horsekin. privilege.check()
 
@drch hahaha So scary!
 
lol
Ok, so if you can derive one from the other, then that is proper use
 
10:16 PM
not always
 
if p then q does not necessarily mean if q then p
nor if !p then !q
 
WTF of the day:
72
Q: Why is UnhandledExceptionEventArgs.ExceptionObject an object and not an Exception?

SimonWhy is UnhandledExceptionEventArgs.ExceptionObject an object and not an Exception? I am attaching to AppDomain.UnhandledException. I would like to cast UnhandledExceptionEventArgs.ExceptionObject to an Exeption and interogate it. And with this in mind will it ever be null? The MSDN documentat...

 
>It's possible to throw objects in .Net that do not derive from System.Exception. This is not possible in C# or VB.Net but it is possible in other CLR based languages.
THE MORE YOU KNOW
 
wonder why
and wtf how would you catch that?
try { }
catch(Object exception) { }
 
10:19 PM
please tell me that compiles XD
 
nope
"The type caught or thrown must be derived from System.Exception"
 
dafuq
public class CatchMeIfYouCanException {}
 
Time to craft a library dll that throws non-exception objects on April 1...
 
@NETscape I looked at this for like ten minutes before I realized you pinged me from the c# room and this wasn't some crazy new syntax you were using for node
(I'm currently doing this all in Node, abandoned c#)
 
some guy playing around with throwing objects 9 years ago: jasonbock.net/News/Item/9d6dbbd00d294f6fa2fee35f03e56ae8
 
10:24 PM
because of that question, i looked up the CLI and it has comic sans in it
 
>[Since 2.0,] the runtime wraps anything that is thrown and does not derive from Exception into a RuntimeWrappedException. The thrown object is availabe via the WrappedException property.
 
aww
 
So that's how you catch the uncatchable
 
stop the unstoppable
row row, fight the power
 
10:26 PM
@drch do people get upset if the only options you put are "male", "female", "other"?
 
"We say that the statements r and s are logically equivalent if their truth tables are identical." Makes sense.
 
@Nathvi so in that example, p -> q, but not p === q
 
@Pheonixblade9 you need to have multiple floating-point sliders
 
p -> q means "p implies q"
or "if p then q"
 
10:28 PM
correct
@drch
!(!A) === A
because their truth table's are the same
 
yeah thats the double negation law
this stuff is actually useful, if only to make your if()'s less verbose :P
good ol boolean algebra
 
so really, == and === are kind of the same thing. Where == checks one value, === checks all possible outputs of the functions being compared
or at least, related
 
now you lost me
 
this can also help reduce complex if statements in legacy code
 
@MikeAsdf I asked an SDET I was interviewing once to write out a truth table for me. She couldn't do it. ...she didn't get the job
I know truth tables are university stuff, but it's so basic. I explained how to do it, and she still wasn't able to
I feel like that sort of logic is extremely important for a tester, especially one who claims to be an SDET (essentially a full-fledged dev who writes test code)
 
10:36 PM
@Pheonixblade9 Maybe it was nerves?
Faked resumé?
 
truth tables are pretty easy...
 
@Jeremy maybe nerves, but it was super easy
 
like A ^ B :v
 
I asked her to fill out a truth table for A && (B || C)
I even wrote it out
like...
 
lol,
 
10:37 PM
A | B | C | X
_________
0    0   0
0    0   1
etc...
 
P Q P&Q
0 0  0
1 0  0
0 1  0
1 1  1
 
i dont really like questions like that
 
@drch I felt like it was a reasonable question for an SDET
 
or when people ask 'can you swap two values without using a temp value'
 
@drch that's just bitwise mathematics bullshit
asking to fill out a truth table has a direct correlation to "build out these test cases"
 
10:39 PM
@MikeAsdf I'm never sure if reducing legacy predicates are really worth it. Sometimes, it feels like readability takes a hit, and the intent is harder to read
 
yeah but you can phrase it i a more generic way as well
 
Unless the predicates are grossly wasteful, or unreadable already, I guess. :)
 
we have x settings that can be either on or off. how would you build a test plan to thoroughly test all cases and what would it look like
as opposed to "build me a truth table for a NAND gate"
 
@drch right, but I wanna know that they understand the fundamentals
 
@drch Hehe, I'm fighting to restructure how we store our settings. I don't even know how to give a QA estimate
 
10:40 PM
I even gave a lookup for the functions
 
I'd expect someone who claims to be a dev to know how AND and OR work
 
30 settings on or off = 2^30 configurations to test, right?
 
XOR
yep
 
It's almost like we should have written unit tests... ;)
 
@Jeremy 2^30 permutations yeah
AND, OR, XOR are all extremely common test cases. "If one is set and one is not set" is XOR
 
10:41 PM
n! / (n-r)! right
 
@Nathvi This one's just 2^30
 
@Nathvi thats a choose b
 
@Nathvi n! is factorial. !n is "not n"
 
right
 
er wait no
whatever
 
10:42 PM
Yeah... heh
 
the number of permutations of n choose r = n! / (n-r)!
 
"There are 10 settings that can be on or off. How would you build a test plan to cover all cases"
 
@Nathvi oh, sorry. You're talking about nCr/nPr
 
If they throw the marker at your face, they get the job
 
@Nathvi That has nothing to do with xor, lol
 
10:43 PM
@KendallFrey, didn't say it did :v
 
@Nathvi yeah, that is permutations and (unordered) combinations
 
I'll give you that :(
 
combinatorics is fun stuff
 
@Jeremy we actually have like 30 flags that can be on or off in our app
 
xor is "output 1 when ONLY A or B is 1, not Both)
only one god damnit
 
10:44 PM
our QA guy just randomly clicks on shit and sees what breaks
works for me
 
I don't even want to count how many we have... :(
So many of them are completely undocumented too
 
Pretty sad when I'd be more surprised to hear that they are documented
 
Why is boolean algebra so hard ? :v
 
it isn't really once you know the laws
 
@Nathvi it's pretty easy once you learn the basics. DeMorgans, etc.
 
10:46 PM
@Nathvi - Because there are an unlimited number of wrong answers and a select few right answers.
 
i really liked that course. i liked logic puzzles as a kid so that course was right up my alley
 
@Pheonixblade9, isn't that "the not of ands is ors, and visa versa" ?
or something like it
 
i feel like Mike is running out of wiki pages for you to not read
 
I read today I should be drinking 1oz of water for every pound of body weight.
106 oz of water a day seems like a lot.
 
yeah thats bs
 
10:49 PM
@Nathvi demorgans is:

A AND B <=> ^A OR ^B
(sorry, formal logic uses ^ as not instead of !)
 
er no
 
actually in formal logic, ^ is AND and V is OR
 
^ is and
:P
SORRY GUYS DON'T WANNA GET TO FORMAL ON YOUR ASSES
 
!(P ^ Q) = !P + !Q
 
Class A has a public property called AllValueTypesWithTraitXYZ. It's public. Problem: in some codepaths, this property doesn't actually contain all value types with that trait. Proposed solution: create a public method called DoesValueTypeHaveTraitForObjectA.
 
10:51 PM
but ^ is commonly used because the ¬ character is not on keyboards
 
Am I right to be driven to madness by this solution?
 
@Jeremy rename it to "ProbablyMostTypesWithTraitXYZ"
 
god damnit
 
@Jeremy that does sound crazy. what is the purpose of the class? An IoC container might work better
@drch correction: I'm just too lazy to find the ASCII value for ¬
 
why don't these types implement an interface? or am i missing something
 
10:53 PM
@drch You're missing a lot. It's in our god class.
 
@Pheonixblade9 - So 2^30 is a lot of settings to test.
 
@rlemon ahh this is something you're doing currently? that's pretty sweet.
 
@Pheonixblade9 i have lots of keys here i never use
 
@drch I wanted to propose this during code review, but I don't need any more enemies.
 
°µ§
weird keyboard
 
10:56 PM
🈴
 
@Pheonixblade9 - 2^25 isn't so bad
But those last 5 are crazy
 
H̷̢̖̤̳͇͙̣̥̝͉͚̜̱̝̳̮E̷҉̞͉̣͎̖̼̪͓ ̧̛̮̭̗̟̲͈̘̱̝͙̕C̶̴̷̡̟͓̩̻̤͞O̷̴̴̱͎̖̲͓̮̰͚̭̝̼̦̠̭͓̟̻̣̺͠M̷̰̥̜͇̦̰̣͇̼̯̭͓̰̳͖͚͠͠ͅE̴̢̛͓̱̪͔̝̼͢‌​̣̗͖̟Ş̧͖̜̬̮̪̗̪̹̼̰͎͉͇̫̪̣̣̤͢
 
@TravisJ If ~33M test cases are workable for you, maybe you should be an SDET
 
room topic changed to C#: A͈͉͎͜l͓̟̜͈l̙͍̬͙̰̣ͅ ͍̱̮̰̣̳h̤̯̖̖ͅọ͓͕̪p̘̖̩̫̤p̹̩̳͇e̹͔̠͚̞͖͈d̙̬̗̼͟ ͇̹͇̱̰u̮̩̘̥p̤͉̹̼̤ o̬̖̘̖̥͇̹n ̧̟̳̭͕̖̦sy҉ǹta̱c̮͘t̮̺ị̲̟̟̟̤̣c̰͖͍͓̣ ̜̘̺͡s̘͚̖͍u̧̟ga͏͍̹̥̺̥̯̼r͇͓͕̯̮ [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
@Pheonixblade9 ͊ͯ̈͛̊͆̂́́̀͠͏̷͚̤͇͖͈̤͈͈͙͚͎̺̗̞̤͜Ẓ̼̙͇̞͎̎͐͐̎́͠A̵̱̼͕̞̦̼̤̮̱̘͇ͭ̔̌͒͒ͧ͛̋ͮ͘͢Lͩ̀̓ͦͬ͊ͯ̇̃͛͒̂̆‌​̍ͯ͋̃̎҉̡̨̛̫͕̦̪͕̥͚̜̳͇̕G̛̞̬̪̠̟̜̬̬̳̗ͧͣͭ͑̑̂̈͛̀͘͠Ǫ̧̗̤̹͉̈́ͯͯ̂̍̋ͥͤ̍ͣ̓́́͢͡!̔̅ͣ̆ͩ̏ͩͤ̋̂͋̊ͧͥ̚‌​̵̻̖͈̱͚͇̱̝́̕͡
 
10:59 PM
!!zalgo HE COMES
 
@KendallFrey H̔͑͑̊̍̋̏̚͏̱̙͔E̡͇̝̬̦̎ͤ͞ ̮̭̟̹͉̯̞͑̊͒C̢̖͖͖̺̗̹̺ͬͭ͒́͘Oͦ̎͏͔͈̺̯̭̙M̶̨̻͍̯̤͕̜̗̤̲ͩ̿ͦ͛̉̃ͦȨ̳̓̌͒͐ͯ̚S̸͈̘̼̖̭ͬ̅ͩ̍̊͒ͧͫ͢
 
W̪̖͓̗hy͚͕̻̠͖̰̻ ͏̪͖̱d͙o̥n͎̖̤͉̹͍ͅ'͎̲̤̻ͅt̘ͅ ҉̤̣̹͇̟̬y͓̠̠͖̙͕o̶͍̫͉̘̪̟u̪͎̼ ̥͎̱̮̮ͅt͓̬̪͝r̼͔̲̫y̳̱̼̜̞̩̰ ҉͚̬͖̬̣̻p̡͔͉á̳r̗̥͔̰̺̖sị͜n̟̖̬̭̕g͔̤̩ ̱̹͙̼̰͝s͕̞͎̪om͇͙͡e̢̟̞͖̞̟ ̧̞͕̹̳H̟͝Ṯ̵̼M̡̲̗̭̫͈͉̗L͕̜ ̧w͔̳̱̦̫i̠͜t͚h̺̙͍̫͕̰̤ ̳r̩̳̳̼̞̮e̡̩̣͎̱g͚͖̟̼̼͕͍u̷̯̙͉l̼a̤̟̠̰r̙͓̣͈ ̲̣̦͢e̡̮͓̥̘̠͚͉x̶̼͈̖̭͚̬p̘̯͔r̵͉̮͎͎è͖̩s̼̮͖͍s̼̗͚͓̻͓io̵n̢̺̼̱̘̳s̡͕͖͉͙̝ͅ?̳͙̥̥̦̳̺
 

« first day (1592 days earlier)      last day (3361 days later) »