« first day (2039 days earlier)      last day (2911 days later) » 

8:00 PM
@ReedCopsey the burners in the Chinese restaurant I worked at were insane
 
@mikeTheLiar yep - real wok burners are incredibly hot
 
user2743227
You can get non-stick woks, but they are really heavy
 
using a wok in a normal home kitchen just stews stuff - you can't get it hot enough
 
something like this: mrslinskitchen.com/6183.html
 
user2743227
8:00 PM
@mikeTheLiar @ReedCopsey Chinese cooking in general requires high heat.
 
@Chi-YoungJeffreyLii And that pretty much guarantees you can't cook hot enough :p
yes
it's all about heat and oil usage
very tough (really impossible) without the right equipment
 
@Amy my parents got me a set for christmas from costco. about $150 and works well for almost everything
 
@Codeman not flat bottom, but yes
 
user2743227
@ReedCopsey tell me your opinion on purging the int data type from the world and replacing it with the superior double data type?
 
@Codeman if you want a wok honestly just go to Chinatown
 
If it's anything like Chinatown in Boston there will be a ton of kitchen supply stores and it'll be dirty cheap
 
@Chi-YoungJeffreyLii Int serves perfectly good purposes -
 
@ReedCopsey yeah this. I've never met any non-stick surface that could tolerate being that hot. Then again I wouldn't want anything that hot in my kitchen, I'm not attentive enough
 
user47589
i prefer crock pot cooking. its like async in the kitchen
2
 
user2743227
8:04 PM
@ReedCopsey other than index/references? If you try to use int for calculations you'll hit a lot of problems with very large/small numbers
 
@TomW teflon does not like being very hot
 
user47589
I've heard that teflon is highly toxic if ingested.
 
user47589
so don't eat your pan
 
And don't scrub it. Or use metal in it.
 
I've burnt a teflon surface partially off a non-stick pan before. That stuff smells rank.
 
8:05 PM
there's a pretty big chinatown in seattle. It's mostly tea shops and antiques and restaurants though
 
@TomW I'd love to have something I can get that hot, but I'd want proper ventilation, which isn't exactly easy in a home kitchen without spending about $30K on applicances :p
 
Mmm cancery.
 
I much prefer anodized aluminum over teflon, I can cut things on it with knives and it doesn't lose it's non-stickiness
 
@Amy pulled pork in the crockpot works out well :)
 
@ReedCopsey yeah like I said, I don't even have a hood above my stove. I have to take down the smoke detectors when I cook a steak
 
8:06 PM
@codeman use your chimney starter out back :p
works great
 
user47589
@Michael yup
 
@Codeman, same here
 
Ohhh pulled pork. Yeees.
 
@Codeman I'd start with Dong Vinh Inc
 
user47589
we should rename this room the Cooking Sharp room
 
8:07 PM
I did pulled pork shoulder on the BBQ two weekends ago.
8 hours on the grill. Came out almost perfect; never done real BBQ before
 
user47589
wow
 
I used to have a smoker - loved it
was really nice (and easy)
 
@TomW your could pull it after grilling??
 
user47589
i've never grilled anything for more than 30 minutes.
 
Could have stayed there longer but we were getting pretty hungry, and it could have done with a more flavourful rub, but still really good
 
8:08 PM
@Michael slow roast.
 
im too hungry
 
@ReedCopsey turns out weber kettle grills also work really well as smokers, the vents give enough control to keep the temperature stable - and low
 
yeah
 
I had both fully closed and kept it at 250-270 the entire time
 
@ReedCopsey my dad smokes his own salmon and sausage and such, he does a really nice job
 
8:09 PM
my smoker was awesome, though - I could keep things anywhere from 170-325, and it was electric, so zero watching
 
@ReedCopsey, always good to have a nice hot smoker around AND easy.
 
user2743227
but how much does one cost...
 
lol "hot smoker"
here i thought we were talking about whether smokers were attractive
 
Oh yeah, a downside was that it needed attention around once an hour as well as being watched constantly. Which meant I had no choice but to lounge around in the garden in the sun from 7:30 onwards
 
@Jeremy mmm, licking an ash tray, gotta love it
 
8:10 PM
We suffer for our craft..
 
user47589
New from mcdonalds, ashtray burgers
 
@TomW I've got a west facing garden :D unfortunately it's covered by all the houses around me... lol
 
user47589
im lovin' it
 
@Chi-YoungJeffreyLii I saw one at Home Depot recently for ~$200. So not too bad
 
Lol, I'm glad I could bring that here.
 
8:11 PM
have you guys seen the new BK hot dogs?
 
gross
 
@Codeman oh, a west facing garden, cool. I'm sure that's nice those 10 sunny days
 
user47589
i've only seen used bk hot dogs
 
someone here ate one and didn't die
 
8:11 PM
@Jeremy it's been incredibly nice lately
 
I knoooowwww
My parents are freaking out about it
 
@Chi-YoungJeffreyLii You can get them for around $300 - really good ones are about $700
 
my dad welded his own smoker years ago, lol.
 
Honestly with that stunning success I don't want anything else, that Weber is my pride and joy now.
 
I think he just bought one at costco more recently
 
8:12 PM
Only issue is size.
It won't take a chicken standing up - no beer can chicken for you
 
user47589
will it take a chicken sitting down
 
@Amy you shut your dirty mouth
:D
 
@Amy sitting down is not the issue here
 
@Codeman I prefer electric ones to gas - they have better temp control
 
user47589
8:13 PM
opens her mouth wide open
 
user2743227
eh... still not worth it... I like cooking but I'll never use a smoker =/ I'll put it on my bucket list i guess.
 
!!tell amy lenny
 
@amy ( Í¡° ͜ʖ Í¡°)
 
I'd buy an outdoor pizza oven before I bought a smoker, personally
 
@Jeremy My dad just built one
 
8:16 PM
@Jeremy why not both ¯_(ツ)_/¯
 
I haven't seen it yet- but it looks pretty nice
 
user47589
@Michael you forgot this \
 
@Amy actually i didnt. SO chat is chopping off arms today
 
user47589
ಠ_ಠ
 
user47589
so... SO chat isn't free. it costs an arm.
 
8:19 PM
'E's 'armless
 
(ಠ)_(ಠ)
 
user2743227
¯_(ツ)_/¯
 
user2743227
¯\_(ツ)_/¯
 
user2743227
double \\ seems to work
 
!!shrug
 
8:19 PM
¯\_(ツ)_/¯
 
who needs an arm if you can have a floating hand anyways
 
^ this is all I want to do with my life
 
@Jeremy reminds me of blaze pizza
@Amy I think it worked!!!
 
user47589
@Michael woohooo
 
user47589
8:21 PM
good job
 
I think... I'm so far from done with this query but I think i see a glimpse of sunlight
thank you
 
user47589
anytime
 
amytime
 
mytime
 
user47589
amy time is related to normal time via the Lorentz transformation. just assume the speed of light equals the speed of friendship and solve for x.
 
Given classes A, B, C where A : B and B : C, is it possible for a virtual method overridden in A to call base.Foo() and have it refer to the method in C, not the method in B?
 
user47589
i dont think so.
 
me either
 
user47589
have to call B's function, which will then call C's function
 
^
Amy beat me to it
 
8:30 PM
ok thanks
@Amy in this case it won't
 
@KendallFrey - If you want to enforce a base method execution then do: private void SomeMethod() { SomeVirtualMethod(); // other code... }
And just make the virtual method blank.
 
huh?
oh
no
 
because the base class needs an implementation
 
@Jeremy GF makes awesome pizza :)
 
8:36 PM
@Codeman All i want is neapolitan pizza
always and forever
every meal
dying a couple decades early would be k
 
@KendallFrey I believe you can do it in C++/CLI
by calling C::Foo()
 
yay for C++
 
(works in normal C++ that way :p - pretty sure C++/CLI does it on the CLR too)
 
@TomW so much little detail
 
@CuddleBunny I know right
The youtube channel looks like it shows making a lot of the tools he uses as well
 
8:40 PM
sometimes I wish I had time to do this sorta thing
 
@TomW @CuddleBunny the meticulous detail does bother you?
 
I just like the tricky ways the detail gets added
 
Show me on the carelessly slapped together doll where the meticulous detail touched you
 
like the requirement to be near perfect
 
The rest of the build is considerably more beautiful than the parts there, in that chapter
 
8:42 PM
I'm sure you already know this feels weird, but... Eric answer!
 
Eric doesn't need to tell me our code sucks
I know that already
 
Figured :)
 
user47589
It's nice to hear it from Eric anyway.
 
@Amy I wish I was wealthy enough for async driving :(
 
What is async driving?
 
user47589
8:48 PM
I would happily take a ride from a fully-automated vehicle
 
same
 
some day, I will get myself a self-driving tesla... some day
 
that is my goal, for my current vehicle to last long enough for the next to be all electric and autonomous
 
user47589
Google is starting self-driving car trials in AZ, paying people to ride in their cars.
 
@SpencerRuport self-driving cars. or taxis. or public transportation. I'm priced out of the first two, and there's no viable public option for the third that doesn't block the UI thread for as long as I'd be driving anyway.
 
8:51 PM
ha
 
friend is asking me for help with an arduino project. I'm like "uhhh... if you are using ARM, sure... but you should be able to figure out Arduino yourself. God help you if you can't" :P
 
user47589
arduino is pretty easy to code for. the problem is some of the components you buy for arduino aren't written that well. i was working with a LED strip that can do lots of different colors/patterns, and a call into the strip's code blocked execution until it was done with a cycle. was difficult to work with.
 
I should get my Arduino kit out again. I played around with a bit but never got really serious.
 
user47589
it was for a metroid gun arm thing for a cosplayer friend. it works, but the button won't do anything during a light cycle.
 
I like the idea of building a immersion circulator myself
 
8:58 PM
he is just hooking up a temp sensor to turn a light bulb on an off. I told him the hardest part would be wiring up the relay for the lightbulb.
 
user47589
 
user47589
is that Lord Ramsay Bolton from Game of Thrones?
 
user47589
I hope he wins the Game of Thrones. He deserves it.
 
Hello again! Why does my Order.ReturnId throw an exception in this case? Any idea
TOO LONG moving to gist
 
user47589
what exception? on what line?
 
9:23 PM
Line 10, posting error to gist
 
user47589
your code is strange. you test to see if returnDetails is null, but what's the point? you're referencing it after the IF block
 
An exception of type 'System.NullReferenceException' occurred in T-shirt Company v3.dll but was not handled in user code

Additional information: Object reference not set to an instance of an object.
 
user47589
okay, you have a null reference, just like the error says
 
user47589
so set a breakpoint on that line. something is null
 
yeah but Im not sure why, also my code is a bit fritzy, still learning
 
user47589
9:24 PM
you're only dereferencing two objects on line 10.
 
I have a bp on it, isn't telling me what is null though
 
user47589
figure out which one is null
 
Its the order.*returnID* that is null
its meant to be null, im trying to set it to the second part
 
user47589
On line 10, either order is null, or returnDetails is null. Those are the two options that would throw that error.
 
Order is null then, damn
 
user47589
9:25 PM
...
 
I've passed the order through in the parameters though, why would that be null?
 
Because null is being passed in to the method
 
user47589
order hasn't been instantiated.
 
Testicles!
 
Anyone know how to load dependency DLLs from a different folder from the application's folder? E.g. instead of "C:\...\MyApplication\*.dll" use "C:\...\MyApplication\bin\*.dl"

Previous attempts from:
https://msdn.microsoft.com/en-us/library/4191fzwb(v=vs.110).aspx
 
user47589
9:27 PM
use the debugger. the watch window and locals window are your friends.
 
people in this room be like
 
In another class i use to create a new order, I used "var order = new Order();" now how would I use the same method to get the order im adding a return to instead of a new one then? I tried passing it through the parameter but rather badly
I understand what im doing wrong now, just not sure how to fix it
 
Hi Guys, when using entity framework, code first in a test driven development environment I have found myself writing tests like The_Database_Should_Exist() and The_Departments_Table_Should_Exist(). I have read that you should not hit the database during tests unless absolutely required. Is this one of those exceptional circumstances?
 
I don't think so. Unit tests are supposed to find problems in your code, not your configuration.
 
But surely the first test is...
TheDatabaseShouldExist
otherwise when do you start actual TDD?
 
9:34 PM
@PrimeByDesign There are many kinds of tests. Unit tests are supposed to be lightning fast so that you can just run them all without thinking about it or waiting much - so you can write a lot of them whenever you have a piece of logic that you want to have tests for.
I've found some value in doing tests with disk/network I/O, but those aren't quick enough to be run as/considered to be "unit tests".
That doesn't mean they don't have value.
 
@Jeremy would you consider these integration tests?
Would you still write these as part of TDD?
Essentially my thinking is that in a code first environment for the most part the configuration is your code.
 
!!google types of tests unit tests integration tests bvts
 
or is that the wrong way to think about it?
 
stupid googles
 
If one of your tests failed, would it be because of an error in the method you have under test?
 
9:36 PM
@PrimeByDesign google that ^
 
Nevermind... figured it out:
If you want to load dependency DLLs from a different directory you can change that via the <probing> element by adding it into your application's config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Dependencies;"/>
</assemblyBinding>
</runtime>
</configuration>

You need to also copy the *.config output file to your application's directory too.... Works.
 
@Jeremy there is no specific method under test it's simply testing that the database exists
perhaps that's the answer then... if you're not strictly testing the SUT
 
hey
 
then you're not actually doing TDD?
This is more testing the environment on the other hand... You might want these in there to ensure that the configuration hasn't been accidentally tampered with?
 
Have you ever been in a situation where you have to deliver a project in a short timescale and end up with poor code?
 
9:40 PM
those are called "projects"
 
Every production project ever?
 
I really want to do things right, but ended up hacking a nice part of the project together so far
 
Brian are you using TDD?
 
@PrimeByDesign I think you're right about everything, but you need to change "you might want..." to "I want to test _________".
 
but I guess if it works that's the main thing
 
9:41 PM
@Jeremy you're simply saying I should be more sure of myself?
 
@PrimeByDesign That, and you need to approach it from the other angle. What do you actually want to put under test? What's valuable?
 
@PrimeByDesign is that short for Titty.Dong.Dong?
 
Test Driven Design
 
^
 
9:43 PM
Test Driven Development
 
ok then no :P
 
You should check it out
 
Yeah I think "Development" is the correct term. I forget though.
 
yeah writing unit tests would be nice
if I had a spare second
 
Unit testing doesn't need to be a chore and it also means that you get a better design. Your development will actually speed up
And when things change... you will instantly know what is broken
 
9:44 PM
maybe...next project
 
have a look on youtube there are a lot guides about
it's really good stuff and it will change the way you think about development
you'll love it I'm sure
 
may well just do that
 
When I first looked into it... it blew my mind
 
my experience in the past has been that writing the tests takes longer than writing the functional code
 
@PrimeByDesign sounds like you're thinking of BVTs. BVTs are typically used to deploy an environment and test if the automated deployment worked.
 
9:45 PM
things just got so easy
BVT
 
TDD is more typically used with unit tests... sometimes integration tests, but mostly unit tests.
 
I'll look into that... what does it stand for?
 
google it :)
 
@Code would you say BDD is more about integration testing?
 
I like TDD sometimes, but I don't think it's a silver bullet
And I also think there are times where TDD can hurt you more than help you
 
9:46 PM
TDD is really nice for greenfield projects and simple bug fixes
it's incredibly impractical for projects in existing codebases
 
@Codeman I guess you're right.. it's a fact that is often overlooked
 
And TDD for a lot of UI stuff is a total mess/waste of time
 
yup
 
@Jeremy what about frameworks like selenium?
They make testing the UI do-able right?
 
@PrimeByDesign "do-able" is being nice about it
It's still a total pain
 
9:48 PM
well that's true
 
and you're hosed if you're doing non-web work
 
Anyone know how to tell a Visual Studio project to only output the compiled assembly for that project rather than all of the dependencies as well?
 
@CodeWarrior how and why would you do that?
 
And, UI design is moving so quickly that your tests might just be tossed out in ~3-4 years
 
perhaps that why they have dedicated automation testers in larger compaines
 
9:49 PM
@Jeremy or 3 months :P
 
Yeah, you can ask @Codeman himself about that
 
@PrimeByDesign I work at microsoft. We do not have testers any more. :)
 
No more testers?
 
Automated UI testing makes almost no sense.
 
@Codeman I am writing a TFS custom build activity and all of the dependencies will be on the build controller already.
 
9:49 PM
@Codeman Well, that's not true. Your testers are "early adopters".
 
sounds like a dream come true
 
;)
 
@Jeremy ssshhh...
 
where I used to work... I'd call them "The Disfunctional Testers"
 
@PrimeByDesign you'd think that. Until you realize you have to do the testing yourself
 
9:50 PM
In my experience it's advocated for people who heard about 100% code coverage and don't know wtf they're talking about
 
I don't really like testing
I am happy to test my own code and I generally release well tested code
 
First round of testing is called "dogfooding", second round called "early adopters"
 
@Jeremy we have all that stuff built in :)
 
@Codeman and as to how, that is what I am asking.
 
I would recommend against that
go google "GAC hell" if you wanna know why
 
9:53 PM
I am not putting this into GAC. The GAC is Whack as my boss used to say.
 
I'm aware but you'll face many of the same problems if you don't include your dependencies in the project
 
All of the TFS Build assemblies are installed with TFS and are in the Program Files\Team Foundation folder. I don't need additional copies of them.
 
hot sauce is hot
 
a tautology is a tautology
 
1 message moved to Trash can
 
9:56 PM
I'm not even sure what that was supposed to mean
 
lol
 
@Nathvi dude what
 
Was it really that bad? :p
 
...yes...
 
lol, ok.
 
9:57 PM
if it's not appropriate to say to your coworkers, it's not appropriate to say here
 
even when we're crude in here, we're very rarely malicious
 
@Codeman, my coworkers wouldn't give a poop honestly.
 
@Nathvi get a new job
 
k
don't say that sort of thing here
 
@Jeremy, why?
 
9:58 PM
@Codeman you weren't here earlier
 
@mikeTheLiar you're correct, I'm not here 24/7
lol
 
@Codeman it was a veritable fuckstorm in here
 
really
i missed all the fun
 
Showing class with all Panini in your asshole!?
Get real
 
10:01 PM
i figure, if donald trump can say it on prime time tv, i can say it in here, right?
 
donald trump is not an example of a good role model
 
and yet, he won the republican nomination, whats that say about republicans?
 
10:18 PM
Donald Trump is a moron.
I'm sorry everybody. Didn't mean to offend anyone.
 
grudges give you colon cancer
i r hungry, chicken cordon bleu is cookin
 
user47589
11:10 PM
awooga, awooga
 
user47589
This is a test of the Emergency Pony System.
 
squiggletail best pony reporting in
 
user47589
This is only a test. If this had been an actual emergency, something something
 
11:33 PM
Portal reporting in
 
user47589
What is your status, Portal?
 
Cake transfer at 100%
 
@SpencerRuport Ruportal, even
 
user47589
Acknowledged. You may proceed, Portal.
 
@SteveG - It's taken me way too long to realize but technically we're a portal pair.
 
11:35 PM
his avatar always bugs me because he forgot the alpha channel
 
That explains the constant aftertaste of cheap whiskey.
 
lol
:D
 
user47589
lol
 
11:47 PM
hi, I want to figure out my add method
    public void Add(int value)
    {
        if (IsEmpty())
        {
            Root = new BinarySearchTreeNode(value);
        }
        var newNode = AddRecursively(Root, value);
        Count++;
    }
    private BinarySearchTreeNode AddRecursively(BinarySearchTreeNode node, int value)
    {
        if (node == null)
        {
            node = new BinarySearchTreeNode(value);
        }
        else if (node.Value == value)
        {
            // do nothing
        }
        else if (node.IsGreaterThan(value))
 
user47589
figure it out?
 
yeah, I have to add a node as the left child or the right child of an existing node
 
if node == null, where are you actually attaching the new node to the tree?
 
I've done this before but I can't figure it out now
@SteveG yeah so I created a new node but I can't figure out how to attach it to the tree
I've sort of lost track of my parent when I get to a child.
 
it's been a while since i've done this, and i did it in c++, but, a way you could get it to work, is check here if LeftChild is null, if it is, theres no point in adding resursively again...
else if (node.IsGreaterThan(value))
        {
            return AddRecursively(node.LeftChild, value);
        }
same with islessthan
 
11:57 PM
I live in the US (I was born there) and I suddenly had to take a 10 month semi-vacation where I still have to code MVC and since the internet over here in Mexico is shit in the outskirts, I thought I would use some cellular hotspots but they do cost, so my question is: How much data would checking in/checking out and synchronizing project files on different devices, would take up on cellular data? What's your experience using TFS over seas?
 
runnin from the law
 

« first day (2039 days earlier)      last day (2911 days later) »