« first day (1599 days earlier)      last day (3363 days later) » 

2:00 PM
the seattle office does
but not for the space craft
internal apps i read
 
I would be scared if my rocket was controlled by a .NET app :3
 
lol i know right
 
and they have an opening too
one of you should apply
and get me in, in a few years
 
holy shit you're not wrong
TBH if I were single I would totally apply for that.
 
2:05 PM
I'm not qualified :(
 
yeah i wasn't kidding
 
> AJAX/JAVAScript
lol
JAVAScript
emphasize the important bits?
 
i'd apply to it, but i've only been at my company for a year, and i wouldn't want to be like 'hey, thanks for paying me to train me, and when i learn the systems i'm just going to take off', because these people (and company ) are awesome (my current place i mean)
 
@Steve You could apply now, get rejected, and work on the feedback though.
 
oh thats not a bad idea
 
2:09 PM
What if you get accepted?
 
lol, idk
 
@Steve I plan to build rockets this summer
 
i wouldn't get rejected, my resume is tits
 
Haha, I don't think that's a bad outcome, getting accepted right away
 
in your pants?
 
2:10 PM
Note I didn't say "spacecraft"
 
sweet
so, i have a tc build
 
but sugar rockets look like an awesome project
 
and it says
well, fuck it
 
it does?
odd
 
lmao
System.UnauthorizedAccessException: Access to the path 'some.config' is denied.
but the build worked before, without me changing anything to do with the config, or anything else really
so what the fuck
lol
during deploy, none of you will be able to help, i'm just ranting
 
2:13 PM
Laptop for work is wonderful.
I think my HDD is dying :D
 
@BenjaminDiele Backup like crazy
 
@RoelvanUden Hah, that'll probably kill it
Hah right, I can't use Onedrive because I'm using Win8 and my account is from AD.
gg ms, gg
On a scale of 1 to DOOM III, how doomed am i?
It says "OK" for everything, but I don't think having read errors is a good thing.
 
Probably a Wolfenstein 3D.
 
@Squiggle So I'm Hitler'd?
 
Nerds!
 
2:26 PM
No but seriously, how bad is that SMART result?
 
Probably not /that/ bad?
then again I'm a software guy
 
these values are wiered
 
If they are all close to worst why are they OK
 
@juanvan That's my confusion as well
 
check some other tool
 
2:32 PM
Hmm, if I look at this table, it seems that I'm pretty fucked (see the big pink row) en.wikipedia.org/wiki/…
 
control panel> hardisk stuff... to see the heath of the disk
even if its messed up hdds are cheap :/
 
worst is the normalized value
 
lol i just say the table columns now
*saw
 
in C# is Int64 required to handle numbers like 1000000433
 
in C# a boolean contains true or false
 
2:40 PM
my code errors with a cast error on smaller numbers
// set parentCompanyID
Int64 parentID = 0;
if (parentDT.Rows.Count > 0)
{
parentID = parentDT.Rows[0].Field<Int64>(2);
}
 
is there something special about 1000000433?
 
It is not 42
 
why not tryparse?
 
Specified cast is not valid.
 
like sebastian use tryparse
 
2:43 PM
what would that look like?
 
Does anyone have any good examples of file rotation? Trying to output data from an application I am working on every so often but only want 5-10 files at a time. The only examples I have found of other people asking was in regards for logs and the suggestion was using a better logging system like Log4Net, however, that doesn't work in my situation since I am outputting other data.
 
@7H3LaughingMan Eh? What are you asking?
 
heh. Mentioned the SpaceX thing to my gf. She was, like "only moving to LA if we can get a beach house".
Priorities++
 
@Jojo
 
wouldnt i only need TryParse for an int value if somehow the DataTable column was not an int?
im confused
 
2:51 PM
Whenever I need to output the data it would create a file called for example "temp.zip", if that file exists rename the old file temp.1.zip. Rinse and repeat with 2, 3, 4, 5, and etc. until you get to 9 where it will delete that file.
 
@JoJo Int64.Parse( parentDT.Rows[0].Field... );
@JoJo is the field of type DateTime?
then u should use .toInt64() function on that object
 
ok sir, lemme look..
 
@JoJo nope it doesn,t works... No builtin work around for DateTime to integer
you can concatenate dateTimeObj.Day + ...Month + ...Year and then convert it into integer.
 
Yay, firefox crashed because my display driver crashed. What a wonderful world!
 
hmm wiered
why would the display driver crrash?
 
3:06 PM
Also, I am not sure but I have a feeling that somehow missed a portion of the chat.
 
@Rusty I think because my laptop is a POS.
 
definitely
 
3:20 PM
Good morning everyone.
 
afternoon here :D
 
Good morning/afternoon/etc.
 
Good Morning Erryone
 
I'M SO BOOOOORED
 
3:38 PM
hi
@Sippy
 
Don't ping random people.
I don't know you.
 
@Steve
 
@KendallFrey
 
@Sippy
 
@Steve
 
3:41 PM
@Sippy: need help!
 
@Donkey!
 
this car sales guy called me because he could get me great savings, thousands of dollars less
well guy, its still 2.5k above market value, so no
 
@Squiggle You win +1 internets.
 
@Squiggle: hey hw r u ?
 
@Sippy Man, way to wake up on the wrong side of the bed. Did you forget to take a sip of you nice beverage? See what I did there?
 
3:42 PM
What's sleep?
I did warn him
All he's gonna do when he comes back in a minute is badger people saying "I NEED HELP"
 
@MangeshGhotage hi nl ty, g.
 
@Squiggle: i'm trying to make a theme changer for my WPF
@Sippy Thanks! ******
@Squiggle: I have styles defined in xaml. now i need to change their values dynamically. how is it possible?
 
I haven't a clue. I don't do WPF :)
 
oops!
 
@MangeshGhotage Are you using DynamicResource? If you are, you should be able to replace resources at runtime
 
3:54 PM
@KendallFrey: currently i'm using static resource. i'm new to wpf & don't know much about binding.
 
Theming is something common in WPF, you should be able to find plenty of tutorials.
generally you use DynamicResource and swap out resource dictionaries at runtime
 
what can i do to change the theme logically? i'm planning to have a new class "ThemeChanger" as an intermediate between all windows and styles
 
"between"?
 
any tutorial suggestion ?
 
I'm sure Google has plenty
 
3:56 PM
let me see
 
Nice visualisation:
 
black-on-black text sucks
 
4:09 PM
@KendallFrey: what is standard approach of theming? any idea?
 
Nothing like showing up to work 10 minutes before presenting only to find two of your screens won't turn on.
Oh and windows is too stupid to realize when they've been disconnected so good luck trying to see any programs that were left on that area of the desktop!
>_<
I disconnected the dock
No change. :P
It's working now. I'm pretty sure there was a windows update to the display driver.
Reboot cleared everything up.
 
Would you rather lose 10 pounds in a week or learn a new programming language in a day?
 
... which language?
 
10 pounds is a bit excessive.
 
@SpencerRuport ummmm... Ruby
 
4:20 PM
10 pounds haha
 
It's both torture, but losing the 10 pounds seems like the lesser health hazard.
 
Haha
 
I lose 10 pounds in one drink from time to time
or close to that
 
new programming language
then I will know more
 
If I learned a new programming language in a day I'd probably suck at it
So to be safe, never learn anything
 
4:24 PM
29 mins ago, by Kendall Frey
generally you use DynamicResource and swap out resource dictionaries at runtime
 
@TomW But you can learn Lua in a day!
 
If I could learn C++ in a day that would be super convenient.
 
Losing 10 pounds would do me good
 
It would border on unhealthy for me. :-P
 
I'd be sad if I lost 10 pounds :( I'd rather gain em :D
 
4:34 PM
Why does GM hate people =/ There were 6 different types of bolts on my alternator
 
So there are a bunch of skinny programmers here. C sharpers breaking stereo types FTW.
 
I was getting migraines from exercise for about 6 months so I am not in the best shape atm :( Been working it off every day though
 
@Breems Not skinny, but way too little muscle :( 1m75 - 85kg here
 
@Breems I'll have you know that there are numerous brogrammers here.
 
BROS! BROS! BROS!
 
4:37 PM
More so in js room
 
@Sippy Did you just coin a term?
 
what are "brogrammers"?
 
!!urban brogrammer
 
@TomW brogrammer A programmer who breaks the usual expectations of quiet nerdiness and opts instead for the usual trappings of a frat-boy: popped collars, bad beer, and calling everybody "bro". Despised by everyone, especially other programmers.
 
@Breems I did not. Such terms are well founded, especially in the JS room.
@CapricaSix Whoever wrote that sounds really, really salty.
 
4:38 PM
Yeah, sounds pretty jealous :D
 
Most of urban is salty
 
I really hate the phrase "bad beer"
Excuse me for enjoying the drink in my hand.
 
Everything's bigger in texas
 
!!youtube girly drinks
 
4:40 PM
var peers = db.Peers.OrderBy(m=>m.Type == "Bro").ThenBy(m=>m.Type == "Hoe");
 
Ugh! More snow!
 
Quite a few of the chat regs are into gym etc IIRC
 
@KendallFrey - ?
 
and not because obese. Not anymore, anyway
 
@Sippy I hate when people do that
 
4:40 PM
Inb4 invisible white boat joke.
@KendallFrey What, ThenBy?
 
@TravisJ I just thought it was funny and slightly relevant
@Sippy no, orderby ==
 
@KendallFrey - I didn't realize there was a suffix to the name
 
@KendallFrey What should people use then?
 
Yeah just the type will order
 
@KendallFrey Oh yeah, I only did that cos the type order was explicit :(
 
4:41 PM
@BenjaminDiele normal code
 
Is there a better way to do that?
 
IComparable
 
No bitch with orderby
!!1
 
@Sippy That didn't make much sense. Maybe you meant: d, π, !
 
Lol shut up caprica
fite u
 
4:43 PM
@KendallFrey - IComparable doesn't translate to sql though
 
Using == is like saying "I was too lazy to actually define how my enumeration is ordered, so I do it manually everywhere"
 
orderby == with string is weird anyway, what use could that be?
 
@KendallFrey - And how would you order an IQueryable?
 
not with ==
 
OrderBy(x => x.Name)
 
4:45 PM
Well yeah
 
Adding the equals makes very little sense
 
I agree
But you would still use OrderBy
 
of course
I didn't suggest otherwise
 
wasn't immediately obvious
I thought you might have had some alternative to it
 
.OrderBy(x => x.Type == "Bro" ? 0 : 1)
 
4:46 PM
lol
 
No one has actually explained what the alternative would be yet
 
4 mins ago, by Kendall Frey
IComparable
 
.OrderBy(x => x.Type)
 
If you had Ants, Bees and Caterpillars and you wanted Bees to come first
What choice have you got?
 
When would you ever want that?
 
4:47 PM
Define your enum in order
 
That is entirely not the point.
 
What real world use case could that possibly have?
 
.OrderBy( x => list.Contains(x.Type) ? list.Last() : list:First() )
 
enum FML { Bees, Ants, Caterpillars }
 
Dangerousness.
 
4:47 PM
Why does it have to be real world?
 
Bees, Ants, Caterpillars
 
"Order this list of animals where Bee comes first, and anything else comes after that"
 
@CharlieBrown - "Sales asked for it"
2
 
AND WHAT
Who cares if it's real world lol
@SpencerRuport And that, ofc.
 
Nobody's buying caterpillars anymore
 
4:48 PM
Yeah, fire ants are now all the rage
 
All about JCBs now ey
 
And genetically engineered silk spiders.
 
@TravisJ Fire ants can kill you.
 
Just saying it only matches for Bee, then its fuck all after that. If you wanted a specific order, dont hard code it, use an orderByIndex property on the class
 
@Breems - No they can't, my reflexes are too fast. I would catch them with my hand.
 
4:49 PM
@TravisJ You have to be allergic and then fall asleep next to one of their mounds.
 
posted on March 03, 2015 by Visual Studio Blog

As a step on the path of enabling software for all audiences and abilities, we’re happy to share a new Visual Studio extension that leverages Tenon’s HTML accessibility checker service. With this extension, we’ve made it easier for developers to detect and resolve common HTML-based user interface accessibility issues. Unlike some other web-based accessibility checking service

 
{ name: "Hoes", order: 1 }, { name: "Bros", order: 0 }
 
I can catch flies with my hand
 
Lol
 
@KendallFrey Can you do it with chopsticks?
 
4:49 PM
.OrderBy(x => x.order)
 
@Breems I haven't failed
@CharlieBrown normalization FTW
 
VAR PEERS = CONTEXT.PEERS.WHERE(X=>X.TYPE=="BRO" || X.TYPE=="HOE").ORDERBY(X=>X.TYPE);
 
@CharlieBrown - Can EF do that?
 
Y'ALL HAPPY YET?
 
WHY ARE WE YELLING
 
4:50 PM
of course it can
 
WHY ARE WE YELLING?*
 
:P I was just curious. Seems pretty impressive it can translate that into SQL equivalent code.
 
I'm literally debugging code that uses OrderBy/== right now
 
fite u
 
227 chars per line FTW
 
4:53 PM
Better Call Saul
 
@KendallFrey wat
why
ew
 
Because fuck readability, that's why
This code would have been so much nicer if the developer had known what a priority queue is
 
How many times per week can someone clip their nails?
 
I haven't clipped my nails in maybe 10 years
 
@SpencerRuport - I've seen people chew on their nails every hour. urgh
 
4:56 PM
Not only does this person clip their nails in the office
They seem to find it necessary to do every day.
 
BTW, @Steve the code is also while (true) { Stuff(); if (foobar) { MoarStuff(); } else { break; } }
I know how much you like code like that
 
In the office? I would stamp that out if it were one of our employees.
 
haha
 
Yep. Surprised me too.
 
do {

} while( break )
 
4:58 PM
@steve
 

« first day (1599 days earlier)      last day (3363 days later) »