« first day (1418 days earlier)      last day (3533 days later) » 

3:03 PM
I'm not sure why the XML designer is so crappy. Didn't they learn from how awesome the winforms designer was?
 
uhhhhhhhhhh..
 
Xaml*
Hi sippy lol
 
hiya
 
I'm on my iPad ATM . Trying to sleep cause I have an ultrasound appointment in the morning. I have to fast for it. Why can't they find a way to account for food and drinks so u don't have to fast? If they were programmers that would be the first thing they'd do I reckon lol
 
@baeltazor are you smoking crack. I would take XAML designer > winforms designer any day
drag and drop and tell me where the control is going to show up on different resolutions.
 
3:09 PM
@NETscape just admit it... Ur a closet guy lol... It's OK to come out u know... We won't tease u for loving winforms. No need to pretend with us :)
 
i'd love killing winforms
 
Lol
 
@baeltazor Do you know how ultrasound works? :P
tl;dr you can't work around it xD
 
I've had one before but don't know how it works lol why?
 
It fires sound waves into the tissues of your body and builds images based on how long it takes for those waves to bounce back
So if you have food in your stomach it bounces back off the food :P
 
3:13 PM
Fucking hell
I was gonna have half a sammich before I go lol
 
Naughty!
 
If I eat something right before I have the ultrasound will really matter? Even just a bit of food lol? What about water?
Or coca cola?
 
Just take food with you and eat after is the safest bet
It won't break the machine by any means, but it could result in your ultrasound being inconclusive
Where if you hadn't eaten they might've seen something.
 
Oh... What could they see?
 
The reason why you're having an ultrasound? xD
 
3:16 PM
Oh
Lmao
 
As far as I know you can drink water up to a few hours beforehand
 
Mkay
 
Shit I ran outta desk chocolate
 
Lol
Have some dried almonds... Pretty filling.. They have protein lol
 
omg serious bug in production, panic on
 
3:18 PM
I have a tub full of cadbury misshapes
It's a kilo of chocolate for £4
 
Yay what is de bugs?
 
blocking all outgoing sms traffic to new customers
wholy shit
 
@RoelvanUden ...
 
ya that sucks
 
How the fuck did you manage that.
 
3:19 PM
@Sippy a KILO of chocolate?
 
Yes.
It took me 2 weeks to eat it.
Hahaha
 
@Roel don't u just wish u could hit Undo right now lol?
 
Meh, he has version control anyway :P
 
Far out man that's crazy lol @Sippy have u tried ovaltines lol?
 
@RoelvanUden u da masta
Go throw shit at your colleague :D
@baeltazor Uhhh no. Are they like saltines?
 
3:23 PM
Lol. Peanut butter coloured shit
 
Tactical remove of reason. We had very, very little down-time, thankfully. I've now pushed out all the stalled 10 minute old crap. Damn though! DAMN!
 
gents and ladies
 
@RoelvanUden Hahaha, fuck gaming, we get a rush from pushing broken solutions into production and seeing how fast we can fix em!
 
say I have a DataSet in C# try block. What is more advisable? call an explicit Dispose or let the GC collect it at a later time?
 
@baeltazor Looks ewy
 
3:24 PM
Urmmm no idea how to describe it... It's like um... Little brown tablet things... They're kinda chocolaty and have caffeine,. Oh and the texture is a bit rough and dry but when u chew them they're a bit sticky
 
@Darek Depends on how efficient you want your application to be :P
 
I want it to be extremely fast and somewhat efficient
 
@Sippy Hah! Yeah almost! I prefer the game though! No raging customers!
 
@RoelvanUden Lololol
 
Just dispose when u can.
 
3:25 PM
15 secs ago, by baeltazor
Just dispose when u can.
 
wouldn't Dispose block?
 
finally block
 
the DataSet is inside try, not outside @juanvan
 
ya but dispose of when the try is finally done
 
@Darek There's almost never a good reason to let the GC dispose something you created.
 
3:26 PM
Why can't it be defined outside?
 
Care to share some pointers @KendallFrey
I am a ferocious reader
 
0xCA087198, 0xCA087824, 0xCA088618, 0xCA08D0B8
there you go
 
I had a bet on.
That you would do that.
 
@Darek are you worried that disposing right away will decrease performance?
 
@Sippy :D
 
3:30 PM
:P
 
Yes
That is my concern @baeltazor
@KendallFrey That was funny, I don't care where you are from, that was truly funny.
 
@Darek The GC is not magic. It requires resources to run too.
@Darek Good, because it's an old joke.
 
Google suggests not bothering.
135
Q: Should I Dispose() DataSet and DataTable?

mbeckishDataSet and DataTable both implement IDisposable, so, by conventional best practices, I should call their Dispose() methods. However, from what I've read so far, DataSet and DataTable don't actually have any unmanaged resources, so Dispose() doesn't actually do much. Plus, I can't just use usin...

 
OK, I can buy that. I mena I always prefer using blocks for IDisposables over just letting GC to do its bidding
 
If there truly are no unmanaged resources, definitely call Dispose
 
3:32 PM
i dunt git it
 
It will be faster, since the GC won't have to run a useless finalizer
 
Thanks, @KendallFrey. Would you say that calling Dispose() is equally optimal to a using block?
 
(Presuming of course that Dispose is implemented sensibly)
@Darek They're the same thing, save for the finally part
 
@NETscape Do you TFS it?
 
finally part?
 
3:34 PM
kno
 
Has anyone ever heard of Betterment?
 
@Darek Yeah, in using
 
I see.
 
I suggest u read the accepted answer here @Darek stackoverflow.com/questions/538060/…
 
This @KendallFrey guy, he is quite smart.
 
3:37 PM
I don't believe it @Darek. This @KendallFrey guy is just odd. :-P
 
One does not exclude the other, @RoelvanUden. He is both.
Thank @Sippy amd @baeltazor for the links
quite enlightening
 
yw
I learned from them as well :D
That's why I like being in here.
 
Could we hold hands and sing cumbaya now?
not sure how to spell it
 
@RoelvanUden might want to
 
coombaya ?
coumbaya
 
3:39 PM
kumbaya ;)
 
:D
 
"Kumbaya" or "Kumbayah" or "Cumbaya"
Says Wikipedia.
 
Mmmmmm cucumber
 
I was always taught it as kum ba yah
Goin' home, later dudes
 
@Sippy noooooo
U can't go home lol
 
3:43 PM
2 BAD SIR
 
I think he's gone lol
Oh uh still here lol
 
@Greg Saw where you talked about that video on here the other day haha
 
@JLott no u didn't lol
 
@baeltazor Definitely did.
and @Darek... don't encourage @KendallFrey....
 
@JLott Yeah.
 
3:47 PM
I think it would do some people here some good to watch it :P
Typically I have found that the males have no idea that they are actually belittling women. It is very interesting honestly.
 
@JLott lol
 
I'm trying to avoid starting back on the ESRI stuff.. I have kind of enjoyed doing some of the backend dev on our main software lately. :(
 
@JLott, what video is that?
 
@JLott Yeah, hm.
 
3:51 PM
It isn't about development... but same principle.
 
I am an active groupie of @KendallFrey, @JLott
 
And I know that all men are not guilty of this! But some of my closest friends have a habit of saying some of these things without thinking about it.
@Darek I'm sorry...
 
I follow you too, @JLott. You both are outstanding contributors, with a quirky sense of humor, which I enjoy.
 
:P
If only @KendallFrey wasn't Canadian....
 
Don't ask me to unleash my real humour. Don't.
 
3:54 PM
I dare you @KendallFrey
 
@JLott What do you have against maple syrup and poutine?
 
don't dare him, it'll become extremely dry in here.
 
OMG I meant to tell you I had poutine the other day @KendallFrey!
 
Please do make up for the discontinuation of Beer laced with Caffeine
 
3:55 PM
was it a good one?
 
what was it called again?
Loved it
it was short klived though
 
I thought of you haha. It was pretty good... I wish I could actually find cheese curds here
 
came in alluminum bottle
 
@Darek Probably ford loco
 
3:55 PM
@Darek i hope its not what you're thinking of
 
pretty sure it's not jagerbomb, that's like, whisky and redbull or something?
 
lol @baeltazor
 
@Darek four loko?
 
That is jager and redbull @KendallFrey lol
 
@JLott Most poutines here just go for grated cheese too. It's hard to find a real original
 
3:56 PM
four loko... not ford lol
 
What is the name of the Canadian made beer? <...
M....
 
molson?
there is more than one
 
That's the one, Molson Kick I think it was caleld
 
@KendallFrey Well I was able to find a traditional one in St. Louis the other day. Along with Lamb Sliders :))) MMmmmm
 
maple syrup?
 
3:57 PM
good stuff
 
@JLott what brought you to STL?
 
Now I want a poutine with maple syrup
 
@NETscape I went to a ZZ Top concert and visited the Schlafly brewery :)
 
 
3:58 PM
@Darek Don't get me started on beer...
 
Is there something wrong with it @JLott ?
 
@JLott i went to STL once, definitely nothing I thought it was going to be
 
a particular brand perhaps?
 
@Darek It is my hobby
 
Gutt, Besser, Clausthaler
:P
German commercial
 
3:59 PM
@NETscape It is the best city to drive downtown ever... No one is there lol.
 
And you live in STL? Expect some company this weekend
:P
 
I am also a cards fan... and it is only a few hours away..
 
@Jlott that's what I didn't like. where is everyone? and at night it gets scary
+.0001 for liking a good ball club
 
@NETscape It was odd haha. We walked to a couple of bars downtown around 10... and no one was there...
 
I like cards, especially hold 'em.
 
4:00 PM
More of a slap jack girl myself
 
never heard of it
 
:O
 
I know what blackjack is...?
 
You toss cards down until you see a jack and then you SMACK it!
Winner is the one with all of the cards at the end hahaha
 
ಠ_ಠ
what kind of game is that
 
4:01 PM
I just loled..
The best game ever...
 
no, that's hockey
 
its violent
 
hockey is too
 
so they are comparable
 
@NETscape Have you played slapjack? I feel like it is everyone's favorite childhood card game.
 
4:02 PM
@JLott definitely, when go fish got old
now both of those are old... and only blackjack and drinking games are played...
 
Holy heck. I want to play some freaking go fish now.
 
My favourite game was Cowboy, or 52 Pickup.
 
posted on September 03, 2014 by ericlippert

I’m back! As always, I had a delightful August visiting friends and relatives in Canada. It was even more fun than usual because I’ve got a new boat. That is, a new-to-me boat; the boat is almost as old as … Continue reading →

 
@NETscape Kings Cup has destroyed me many times.
 
my gf and I were asked for money 4 times in 5 hours in STL first one at 5PM...
 
4:03 PM
@KendallFrey Cowboy??
 
@JLott very simple game
 
@NETscape We thankfully avoided all of the panhandlers.
 
throw cards, say "round em up", walk away
 
Fuck never mind that link it's broken
 
4:04 PM
the last guy followed us with his ~2 year old, asking us to help him out cause he had no money for the shelter.
one guy fell asleep talking to us... piss stained pants and all... stopped us as we walked up to a restaurant. and yes, the downtown life was dumb.
 
@NETscape That is horrible..
All of STL's attractions are outside of STL lol.
 
I wish I had more money too.
 
the highlights of that city were busch stadium, city museum was okay, and we saw a pilot in the grocery store
 
> we saw a pilot in the grocery store
how is that even
 
@JLott, sorry, I guess I don't see that at my company
guess it's different elsewhere
 
4:06 PM
@NETscape Schlafly was what we were excited about and it was awesome...
 
went to the bud tour, $25 wasted.
3 ~8 ounce pours of what i can buy in the store... psh
and Busch stadium gift shop closed on the weekends during off season... really shows there is no body in that city, my hometown of 50k has more people outside than stl
and if you find your way back and want a nice meal, giovannisonthehill.com
 
I guess that's not the norm, to not harass the female employees
 
@NETscape I can't stand Budweiser..
 
My home town has <10 people
I don't have a home town
 
I am the only house within a mile where I live :P
 
4:09 PM
oh crap I thought I lived in the sticks
 
@Nathvi These jerks here harass me everyday....
jk
 
how do you even have internet
 
@KendallFrey Freaking Satellite... I don't want to talk about it..
 
$90 a month... my ping is like 5...
 
4:10 PM
When the corn gets tall, the internet signal gets really flaky #ruralproblems
 
what jerks?
 
That's us
@JLott like 5 what
surely not seconds
 
@NETscape I was saying that you all harass me.. It was a joke though :P
@KendallFrey It is 705ms
 
16.23Mbps which isn't tooo bad.....
 
4:12 PM
well, still hope you don't plan on playing online games
 
and then upload is 3.32Mbps which is great, but I almost think speedtest is lying lol.
 
Anybody know if it's possible to write assembler in visual studio?
 
sure
you can write a sonnet in Visual Studio if you want
 
Thanks for your sarcasm (right word?) Kendell lol
@JLott ooooh thanx am looking now
 
4:15 PM
@baeltazor I answered your question. Did you mean to ask a different question? :P
I don't know that VS has an assembler, but you can write C with inline assembly.
 
I don't see how accusing someone of harassment is funny.
 
@Kendell lol
 
@Nathvi .......@KendallFrey has harassed me.. along with many others in here, but I have been able to find some humor in it.
A lot of females are not capable of finding humor in it so they are pushed out of tech professions.
 
@JLott As long as you don't change your mind
 
@KendallFrey I will always love all of you lol
 
4:22 PM
I wouldn't care if you were from Alpha Centauri. I respect you for your talents, skills, and wisdom, but foremost attitude towards people who can do no harm to you, @JLott
 
Man the ping times must be horrible from Alpha Centauri.
 
@Darek And I respect that.
 
If you don't hire someone because of skill/talent/personality, you are a moron.
 
@KendallFrey Just a little worse than Kentucky...
 
@JLott is using subspace channels @KendallFrey
 
4:25 PM
oh yes, remind me of the physics of that again?
 
@Kendell, I have an idea...
@Kendel, can I have 10,000 of your reputation lol? Just open a bounty and accept my answer lmao
 
But I'm trying for 20K...
 
@Kendell lol Okies... It was worth a try lol :P
 
Can I get some advice.
 
4:31 PM
Yep
 
Sure?
 
Pretty sure
 
If I call the stored procedure here, it returns a value. When .NET returns it, it always returns as null.
        private string DownloadPDF()
        {
            int id = 0;
            using(SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings[@"ECommerceDB"].ConnectionString))
                using(SqlCommand command = new SqlCommand(@"proc_SubmissionIDFromOrderID", connection))
                {
                    connection.Open();
                    command.CommandType = CommandType.StoredProcedure;
                    command.Parameters.AddWithValue("@OrderId", Request.QueryString[@"oid"].ToString());
So, when it cast the value to a string it always fails and becomes null. But if I call the proc it returns a valid value.
 
What is it returning before you cast it?
 
@KendallFrey Well, I can only check that in the database.
Which is valid.
 
4:38 PM
No, check what ExecuteScalar is returning
 
@KendallFrey What field am I looking for?
 
The return value of ExecuteScalar
before you go as string
 
I'm searching inside command for ExecuteScalar.
 
?
Just figure out what it returns
 
@KendallFrey It won't let me see what ExecuteScalar returns.
 
4:41 PM
perhaps assign it to a variable
or use the immediate window
 
An InvalidCastException.
 
wat
what did you do?
 
+ OutParamEventSink 'command.OutParamEventSink' threw an exception of type 'System.InvalidCastException' Microsoft.SqlServer.Server.SmiEventSink_DeferedPro‌​cessing {System.InvalidCastException}
I'm looking through the locals on it.
 
Oh fuck I just almost had a heart attack ;-(
 
did you change your code?
 
4:47 PM
The code above, is the code I'm using.
 
Does it throw an exception always, sometimes, or never?
 
I just dozed off while laying in bed and I randomly woke up and opened my eyes buy I couldn't see anything and somehow u managed to forget the lights were off so I thought I was dead!
 
> I thought I was dead
lol
 
I know right. How weird is it?
 
hey guys
 
4:49 PM
Well, it wasn't throwing any errors.
Now it always returns null
But if I call the stored proc with the id it works everytime.
 
before the cast, or after?
 
I honestly thought I had died. It took my brain like 4 seconds to realise 1) I'm thinking so I'm not dead and 2) I jumped up and felt my heart pounding
 
after
 
What is it before the cast?
@baeltazor "I'm thinking so I'm not dead" lmfao
 
Hey @Pheonix
 
4:51 PM
@KendallFrey ?
 
@Kendell lol
 
@Greg What does ExecuteScalar return, before you try to cast it to a string?
Might it be returning an int?
 
@KendallFrey Here we go
It is returning an int32
System.InvalidCastException was unhandled by user code
  HResult=-2147467262
  Message=Unable to cast object of type 'System.Int32' to type 'System.String'.
  Source=rscAdmin
  StackTrace:
       at rscAdmin.ViewOrder.DownloadPDF() in c:\Work\Code\RSCAdmin\rscAdmin\ViewOrder.aspx.cs:line 1011
       at rscAdmin.ViewOrder.hlViewPDF_Click(Object sender, EventArgs e) in c:\Work\Code\RSCAdmin\rscAdmin\ViewOrder.aspx.cs:line 1069
       at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
       at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
 
in that case, don't convert it to a string and re-parse it
just use the int it returns
 
@KendallFrey If it fails it will throw an Invalid Cast. But if it returns a value it should always be valid correct?
 
4:57 PM
please clarify some of those "it"s
I don't know what the question is
 
How can I make sure submission is valid, just hope I don't get a Invalid Cast Exception?
 
Why would you be getting an invalid cast?
I don't see any potentially bad casting in your code
 
Well, I shouldn't as the object will always match. But how can I test that it has a valid value?
Or returned a valid value?
 
validation
What is a "valid value"?
 
Something that isn't 0
 
5:00 PM
We'll I'm off. Night everyone
 
@Greg in that case, check that it isn't 0
 
pastebin.com/imdfkYaH Is there a shorter way to do this? - Basically what it does is finds the most closest double to the given double, but lower. so if given .14, the shortest one will be .1314 in the code I posted
 
Any tips for viewing transparent icons? Explorer's background is of course white, and I fail at common sense on how to view this icon set.
 
@BenBeri a.Where(d => d < alpha).Max() perhaps
though don't expect better performance
 
what I have now is fine for performance?
 
5:09 PM
@Breems What does white have to do with it?
@BenBeri Yes, but I don't know what the index is for
 
@KendallFrey I need the index to get the final value, didnt really show the use of it in the example though
 
What final value?
 
I use the index to get the closest number, basically its in a method, and I do return a[index]
 
Why not return delta?
 
well you got me there, in my real usage I don't use the primitive double XD, it's basically an object o.getPercent() so then I return the object by the index
I just wanted to make the example more simple
 
5:13 PM
fair nuff
 
posted on September 03, 2014 by Visual Studio Blog

The first CTP for Visual Studio 2013 Update 4 is ready to download. Update 4 CTP 1 includes feature enhancements and bug fixes for Team Foundation Server and Visual C++. Checkout this detailed blog post for more info on Team Foundation Server enhancements. To learn about bug fixes check out the release notes. As a reminder, these CTPs are not supported in production environments but are meant f

 
5:35 PM
anybody experience issue with source tree, it won't recognize new files i added to repository only modified files. I tried deleting .gitignore didn't make a difference
 
@jaminator Did you just create the file, or did you actually add it to git?
 
Why if I copy `url` value straight out of Visual Studio does it download in a browser.  But in it makes the `TransmitFile` call it errors:

            string url = DownloadPDF();
            if (string.IsNullOrEmpty(url))
                return;

            HttpResponse response = HttpContext.Current.Response;
            response.ClearContent();
            response.Clear();
            response.ContentType = @"application/pdf";
            response.AddHeader("Content-Disposition", @"attachment; filename=ProofOfDelivery.pdf");
 
i created the file
 
With:
 
@jaminator so git add it
 
5:37 PM
'https:/www.gocanvas.com/apiv2/pdfs' is not a valid virtual path.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: 'https:/www.gocanvas.com/apiv2/pdfs' is not a valid virtual path.

Source Error:
 
@KendallFrey i created it, but i can't see it in working copy changes where usually every change/addition shows up
@KendallFrey ok i will try using command line to add it then
 
hmm, weird
yeah, try the command line
@Greg I'm pretty sure TransmitFile needs a real filename, not a URL
 
@KendallFrey it says The following paths are ignored by one of your .gitignore files
although i am pretty sure i deleted .gitignore file
it gave that message when i tried using command line to add the files
 
do you have a global .gitignore?
 
@KendallFrey Oh, I haven't downloaded the file yet. It is being downloaded from third party REST API.
 
5:43 PM
Don't bother saving it to a file ;)
@jaminator What is the filename, btw?
 
@KendallFrey ah found the problem
this pointed me to look for gitignore_global file
which had the com directory being ignore where my code was
i didn't eve knew there is a global file too
 
@KendallFrey So, what just Response.Rewrite?
@KendallFrey Eh, that will work.
 
@Greg I don't know
 
5:58 PM
@KendallFrey Do you do any financial investing?
 

« first day (1418 days earlier)      last day (3533 days later) »