« first day (1151 days earlier)      last day (3814 days later) » 

2:02 PM
HI ANY ONE KNOW ABOUT WCF
 
know about caps lock?
 
i need help....unable to create wcf
 
user1804599
If you want help, you should certainly not scream for it.
 
@DaImTo how do you know he wasn't holding the shift key ;)
 
@KendallFrey Hi
i have some error in wcf. can u help me pls
 
2:08 PM
@RoelvanUden btw, you mentoined to use the Task feature
to check if the task is Completed or not
but a thread can be checked to see if it is still alive
by using Thread.Alive boolean
 
Morning everyone
 
heya @JLott
it's noon here :p
 
Get in a better time zone
 
2:23 PM
Anyone know how to use special property names (e.g. Guid) in dynamic LINQ expressions?
 
Has google not returned anything?
(That was not meant to sound rude)
 
hey all
is it possible to have non clustered non unique index in sql
 
@JLott Nothing that I found helpful
 
@JLott why should I get in a better timezone? :O
 
2:38 PM
Because it is 8:30 here
And that is a bummer @KendallFrey :(
 
it's 15:38 here
 
0
Q: Using special property names in Dynamic LINQ

Kendall FreyI'm constructing a Dynamic LINQ query like this: "Guid=Guid(\"" + entityId + "\")" This is eventually passed into a .Where() query, somewhere in the code that I call. I'm getting this error: ParseException: '.' or '(' expected This seems to be because it doesn't find the Guid property, ...

 
Anyone how should I ideally add references to dll in my Console app or WinForms app? Actually in Java it is usually done by creating lib folder and dropping JARs in it and then adding those JARs to build paths, is similar possible in .NET - encapsulating DLLs in project?
 
For anyone who cares
 
@RaZor you get rep for edits?
 
2:39 PM
@Mahesha999 Just add a reference. What's your question?
 
@DaImTo dunno why
 
i just got 2 points not sure why
@RaZor +2 1 min ago edit Visual Studio 2005 Deployment of cube
 
that could be someone upvoting your comment on a question
 
all i did was add a tag on the question.
 
Then what if I package project, will that dll also be packaged?
 
2:40 PM
then yes you get points for edit :p
 
@RaZor your so helpful
 
since adding ref does not add copy of dll inside project folder
 
@RaZor Yes, but a thread is much slower than a Task
 
@DaImTo haha your welcome hun :)
 
@Mahesha999 It should put it in the output folder
 
2:41 PM
@RoelvanUden ah okay, but if I use task, should I dispose or release it when the method is finished?
or when the Task is finished?
 
ohkay... never tried actually to package project
 
@RaZor No, there is no need for that.
 
@RoelvanUden but why does it take more time for the Task to be ready, then the UI to be ready?
cuz if I use the Task the UI is done quicker then the task itself,
 
@RaZor Because the UI is naturally faster than requesting stuff from a database or whatever. If you wanted to ensure for some awkward reason that the UI does not update until the task is done, dont use a task in the first place. Just block the UI.
 
k, I'll try and figure some things out. I'll let you know if I succeed trying to fix my problem :)
Thanks for helping me out!
 
3:03 PM
hi everybody
 
heya @FrancescoDS
 
anybody can help me with object copy? I need to create a copy of an object because I want to perform a sort of rollback of modification
I've read somewhere that it is possible to use the ICloneable interface
but that it is deprecated
in MSDN it seems not deprecated...
 
I don't think the issue is that it's deprecated but rather than you can't signal as to whether you want a deep copy or a shallow copy.
 
It's not deprecated, just discouraged.
Just implement a Clone method. That should be sufficient.
 
Anyone here worked with FreeSwitch.Managed.dll
?
 
3:07 PM
You could make your own interface with two methods: ShallowCopy and DeepCopy or something. (Or just the one you'd like)
 
So you suggest me to create a Clone method on my own...is it right?
 
no way to have something that do it automatically?
 
uhhh reflection, but that is suboptimal
 
recurse constructor
 
3:19 PM
Hi
   var dateString = ApptResultCopy[i].ApptTime.replace(/\D/g, "");
   var ApptDateTime = new Date(parseInt(dateString));
dateString gives me 20131211080000 , but ApptDateTime gives me a different date and time. like year becomes 2067. why ?
 
@ton.yeung I don't have finals :D
 
milliseconds since 1970ish
 
awww..how do i get correct date then ?
 
looks like a problem with converting from c# => js
 
ParseInt is the failure strategy here. any other way to convert it into a date time like
 
3:23 PM
Depends on where it is coming from. I think you need to provide a wee bit more context.
"Final" projects?
 
@ton.yeung Yep. Just projects. I presented my game yesterday.
 
What game?
 
@TravisJ 2013-12-11T08:00:00 Its ApptTime value which i replace and get datestring
 
@ton.yeung Sexist much? :P
 
@ton.yeung I actually presented a game I made lol
 
3:25 PM
Nvm ha
 
@LewsTherin It was a little driving game. I made it red neck as heck for comedic value
 
Any way to optimize this?
.Where(f => f.ChildList.SelectMany(cl => cl.GrandChildList).Any(gc => gc.DateCompleted != null) && f.ChildList.SelectMany(cl => cl.GrandChildList).Any(gc => gc.DateCompleted == null))
 
@JLott Redneck as in, kill all blacks on the road?
 
my object is composed of a lot of other objects...create a copy on my own is so long...
 
@TravisJ Wow
Read it wrong
 
3:27 PM
@Lews - Heh, you should see the complicated ones :P
 
show us one @TravisJ
 
@TravisJ

var dateString = ApptResultCopy[i].ApptTime.replace(/\D/g, "");
var ApptDateTime = new Date(parseInt(dateString));
//ApptTime = 2013-12-11T08:00:00
// DateString = 20131211080000
// ApptDateTime = ApptDateTime: Mon Dec 07 2607 22:04:40 GMT-0500 (Eastern Standard Time)
allDay: true
curDate: Tue Dec 10 2013 10:23:48 GMT-0500 (Eastern Standard Time)
 
Linq can get hard to read fast :(
 
what about MemberwiseClone ()?
 
Plays Hot Rod Lincoln... images of Larry the Cable Guy, shotguns... etc..
 
3:28 PM
@ton.yeung True. I stand corrected
@TravisJ So you are getting GrandChildList where DateCompleted is and isn't null? :S
If so, why not use ||?
 
@Lews - I am getting the grandparent when their grandchild contains both an element which has a null completed date and contains an element which has a completed date which isn't null
@Lews - || would bring back the entire set
 
Is that linq anywhere related to me ?
 
I had to step away for a second
@codebrain - Nope :)
 
okay..
 
Ugh, I see
 
3:33 PM
@codebrain - The DateString you compose is not really a datestring as much as it is a compacted date. Note that 20131211080000 is really 2013, December 11th, 8 am. You cannot really use that as a constructor. You should probably parse it and then manually create the date using the month, year, and day.
@Lews - Indeed =/
@JLott - You know you are a redneck when you pimp your ride with Larry the Cable Guy :P
 
@ton.yeung I couldn't use the song :(
 
@JLott Is it a 2d game?
 
I'm not that worried about it either lol. @LewsTherin Yes
We got new stand up desks at work
 
Any special effects?
 
I dance a lot lol
 
3:35 PM
I noticed that when I was in the States :O
 
on your desk?
 
@LewsTherin It is very simple collision based games lol
 
How do you code all day standing up?
 
@TravisJ Not quite
 
@TravisJ yeah ! Thanks i ll do that.
 
3:37 PM
@LewsTherin Code while not sitting? That's almost like walking, which is pretty much blasphemous as well!
 
I can't imagine what life would be like if I had to sit down and not dance on my desk while coding
 
@RoelvanUden Americans do it though
 
@LewsTherin AMERICANS WALK?!
 
No! I mean yes! I mean, they stand up while coding!
That, I cannot comprehend
 
Americans don't walk. They sit in chairs and then shoot guns to propel themselves.
12
 
3:40 PM
This wasn't even pair programming. Normal day at work
@TravisJ Like in AoT?
 
Standing up is actually really nice
I enjoy it
 
I usually stand before I start walking.
Standing while coding is a mind fuck.
 
It is healthier to stand
 
@TravisJ lol
 
I think most of you would like it..
 
3:41 PM
I wish we had those desks that alternate between standing and sitting.
 
I have been standing for like 2 hours
 
so I could choose
 
@JoshVarty That is what we have
 
Yeah that'd be nice, because while I don't want to stand for 10 hours a day, I'd like to stretch my legs for a few hours
 
@ton.yeung It was our boss
To my knowledge it was him lol
 
3:42 PM
Why is it healthy to stand and code anyway?
 
He asked who wanted one and we sent him an email if we did.
Sitting kills you
 
Other than killing your legs and back
 
@ton.yeung That would be awesome
 
@ton.yeung Rofl
@JLott Working up a sweat while coding.. I can easily imagine why that'd be awesome
 
I have been stepping around to music so I am kinda getting the effect
Walking would not work up a sweat
 
3:43 PM
I was referring to the treadmill
 
Being sedentary is not ideal.
 
@LewsTherin You walk on it lol
 
What? I thought people jogged on it?
 
@ton.yeung I have already had a few comments on how happy I look lol
Good job
 
@ton.yeung Please say it anyway
 
3:45 PM
I can tell the girl next to me is trying to outstand me lol
 
Its a standoff!
 
She usually will only stand for a half hour
I would destroy her lol
 
Quick @JLott - Do a barrel roll
 
You'll score extra for Barrel Rolls
Barrel Rolls are awesome :)
 
I know I would give a barrel roll extra points.
 
3:46 PM
I'm wondering if I walk away if she would sit down haha
 
@ton.yeung Barrel Roll Z or R twice!
 
I could stand all day..
 
hahaha
@ton - It is a starfox reference
 
Plus I am dancing so I automatically win
 
@ton.yeung CapricaSix is our ChatBot :)
 
3:47 PM
rofl!
 
lol
 
That is the best barrel roll I have ever seen
 
@ton.yeung kk
 
Oddly enough I want to try that
 
@LewsTherin That would be painful
 
3:48 PM
XD
 
On a side note, how come you can only use a nested projection in a linq select but in Any, All, or Count?
 
@ton.yeung is all about making money today
 
@TravisJ You mean "but not"?
 
@ton.yeung I will be doing that in a year or so probably
 
@Lews - I mean you cannot nest a projection in an any, all, or count clause
 
3:49 PM
@TravisJ Any, All returns a bool afaik. Not x in items afaik
@TravisJ Oh?
Did you try the query syntax?
 
@TravisJ Is this a SQL question?
 
I believe it is Linq
 
@LewsTherin I know that
 
As in,
good:
Where(f => f.ChildList.SelectMany(cl => cl.GrandChildList).Any(gc => gc.DateCompleted == null))
bad:
.Where(f.ChildList.Any(cl=> cl.GrandChildList.Any(gc=> gc.DateCompleted == null)))
The nested projection causes errors
 
The Where is wrong?
 
3:52 PM
^
indeed
 
ah, yes it is missing the predicate, copy paste error
assume it is f => f. in the where clause
 
I knew it'd'n't be that simple with you :)
 
:)
 
it'd'n't?
 
3:54 PM
It wouldn't.
 
Are you having a stroke?
 
I'm lazy -> f u
 
lol
 
@LewsTherin Hilarious xD
 
3:55 PM
^_^
 
So... we haven't seen the error yet
 
It may be a sql provider issue.
The method or operation is not implemented.
MySql.Data.Entity.SelectStatement.Accept(SqlFragmentVisitor visitor) +59
 
I KNEW IT
 
Sure you did
 
7 mins ago, by Kendall Frey
@TravisJ Is this a SQL question?
I called it
7 minutes ago
 
3:57 PM
If you unwind the visitor it ends up starting the exception here I think
MySql.Data.Entity.SqlGenerator.FuseSelectWithInnerSelect(SelectStatement outer, SelectStatement inner) +460
@Kendall - linq to objects are no fun, of course it is a linq to sql question :P
 
LINQ To Objects isn't just fun, it's arousing.
 
haha
 
Anyone know about this problem?
 
Well I could rant about the mysql provider but that is too played out
@Martea - Shouldn't you be writing to the actual response instead of a memory stream?
@Martea - You are including the content instead of writing to the response in my opinion. You need to take the constructed response from the HttpResponseBase class that is injected, set up the headers, and then use .Write directly on the actual response, not one which was instantiated locally.
 
4:06 PM
Is the issues that it doesn't download the file, it just displays it in the browser?
 
Just won the standoff
 
booyeah
What was the prize?
 
pride
 
Bob shoulda just manned up with the reduce function
 
4:21 PM
@JLott Molto bene
 
He's a quitter, that's for sure.
 
Work...
I am taking a week off for Christmas which will be nice
Go to my parents, go to Sean's parents, and relax
I enjoy going to his parents
 
@JLott You starting fights at your office Jessica!
 
Silent ones haha
Everyone knows it...
@KendallFrey Used it the other day
 
@ton.yeung She told people her name was Jessica, also- JLott. Hm, what names begin with J?
 
4:29 PM
I wanted to be doing this but more than likely I will just be more relaxed since I broke my toe
 
@TravisJ I have a kitchen again, it is almost done!
 
@Greg - sweet :D
 
I should have become a carpenter.
 
I'm off, see you all tommorow!
 
My father is a carpenter
 
4:30 PM
@ton - It is only painful if you land wrong :D
 
@RaZor Bye!
 
@JLott seeya
 
@JLott So how have you been, by the way I just bought a bad ass Springform Pan. I can bake some awesome Cheesecakes now!
@JLott Really?
 
@ton - Yeah. I did it playing volleyball of all things. I was diving for the ball after my 2s partner had just hit it, and I hit the bottom of his foot straight on with my toe as I was moving to jump.
 
I love Springform pans...
@ton.yeung gf's boyfriend?
@Greg And yep
 
4:31 PM
I. Am. Awesome.
 
Hahaha
 
@JLott You bake cheesecake before?
 
Reading the source code for ginormous libraries to answer my question FTW.
 
A springform pan is a type of bakeware that features sides that can be removed from the base. Springform refers to the construction style of this pan. The base and the sides are separate pieces that are held together when the base is aligned with a groove that rings the bottom of the walls. The pan is then secured by a latch on the exterior of the wall. This tightens the 'belt' that becomes the walls of the pan and secures the base into the groove at the base of the walls. Design The springform pan has a long history. The most common springform pan is the nine-inch round. However, sma...
 
@Greg Baking is a big deal to me
I do wedding cakes and such
Make homemade candies for xmas
 
4:33 PM
@JLott We are so alike, we will need to trade some recipes.
@JLott I take cheesecake very seriously!
 
I like my brownies baked just enough so that they don't pour anymore.
 
@ton.yeung I have done homemade ice cream cakes as well
@KendallFrey You would like my lava cakes :)
@Greg Sure, I have a lot. I experiment a lot.
 
@TravisJ @ton.yeung @JLott You all remember my kitchen I gutted.
@JLott So do I :)
This is how far I've gotten myself.
 
This weekend I made pumpkin choc chip pancakes by just throwing stuff in a box and then mixing then cooking it haha. They were amazing.
I also made a PBR syrup to accompany it.
@ton.yeung they are amazing and so easy to make with Ramekins.
 
 
4:35 PM
@ton.yeung The Gods of Wikipedia did not bless us
 
It is syrup made out of PBR beer hahahaha
 
A ramekin or ramequin, also known as a bouillon bowl, is a small glazed ceramic or glass serving bowl used for the preparation and serving of various food dishes. The word is from French (as ramequin), and before that Middle Dutch and Middle Low German – see ' for details. Details With a typical volume of , ramekins are commonly used for serving a variety of dishes such as crème brûlée, French onion soup, molten chocolate cake, moin moin, cheese or egg dishes, poi, potted shrimps, ice cream, soufflé, baked cocottes, crumbles, or scallops, or used to serve side garnishes and condiment...
 
@Greg Like it :)
 
@JLott I actually made a really awesome Rasberry, Blueberry, and Marionberry compote which I swirled inside my Cheesecake.
 
I feel so badass today.
 
4:36 PM
Thank you everyone.
 
@ton.yeung I make my own ice cream with my kitchenaid mixer as well :P
 
@KendallFrey Now you know how I feel everyday
 
With alot of hardwoork, I've managed to create a nice kitchen, still not done but getting there.
@JLott I make Ice Cream such an unconventional way.
 
@ton.yeung Nice!
@ton.yeung That reminds me of back in the day lol
It is easy in a kitchenaid mixer
They are on amazon lol
I have the ice cream maker attachment
 
@JoshVarty Did you read the source code for a full-blown expression parser to find out how to escape keywords? hm?
 
4:38 PM
Every day of my adult life.
Hahaha
Not once.
 
@JLott I have a giant aluminum bowl, then I placed a bigger aluminum bowl on the outside, welded the bottoms together. So they stay stationary inside of each other. Then adhered the aluminum outside bowl to a rubber bowl. Then I drilled a hole so I can quickly remove the outside bowl contents without affecting the inner bowl.
 
@JLott The reason, I put dry ice and antifreeze in the outside portion of the bowl, while the ice cream is in the inner bowl. The dry ice and antifreeze drop the temperature to -70 degrees Celsius.
 
@Greg Kinda like the attachment for the kitchenaid haha
 
4:40 PM
@JLott Yeah, my wife has one of those. She won't let me use it :(
 
You freeze the attachment bowl... then put all your ingredients in it... and start it mixing... The bowl is so cold that it makes ice cream
 
sigh now to wait 2 days to accept an answer
bowl + cream&shit + liquid N2 = yum
 
@JLott Yeah, but my way is more dangerous. Plus I got to Mcguyver that shit!
 
sigh This question has been deleted - no more answers will be accepted.
 
shit son
 
4:54 PM
effing eh
 
@KendallFrey My wife brought Liquid Nitrogen home for me one day when I was building a custom CPU Cooling experiment.
 

« first day (1151 days earlier)      last day (3814 days later) »