« first day (807 days earlier)      last day (4367 days later) » 

13:02
Wheeee the bossanovaaaa
@RudiVisser link?
Easy listening seems like a good fit for today
Easy listening & hard coding!
So I've got an array of objects which I bind to a GridView control (ASP.NET this is). How can I configure the columns to display (i.e. the properties to display)?
I'm clueless when it comes to web, sry.
@RudiVisser any idea?
Or is ASP.NET too ancient for you already :P
Ya I'm MVC :D
@JohanLarsson It's just the GT5 soundtrack I've got on here :D I can link you if you want, the Bossanova stuff is just 100MB or the whole thing is 1.8GB :P
13:10
@ActionHank One way of doing it could be iterating through the columns after .Databind() and set Visible = false.
@RudiVisser doesthis look right?
@ActionHank and another way could be binding to the RowCreated event and hide the cells there
@Mario thanks! However I found another solution: BoundFields
On SO no less!
3
Q: Only Display Certain List Object Properties in GridView

JTolandI've got a GridView control which is bound to a List of custom objects. The objects have 5 properties, however, I don't want to generate a column in the GridView for all the properties, only for certain ones. I know how to turn off 'AutoGenerateColumns', however, I'm not sure how to then only di...

@ActionHank That would work to, hehe =)
13:13
@JohanLarsson The BossaNova stuff is by Taroma Koshida, Seigen Tokuzawa and Yasuo Sakou
ty, ty I'll do the whole thing
@Mario also I can control the way a column is shown more, like for instance putting multiple items in a field
But there are all sorts of Jazz/Classic/Lounge mixed in, then some Dance/Rock too :D
@ActionHank Yeah, I'd use that too =)
Damn it's raining like it's the end of the world here
13:19
What @JohanLarsson/
?
@EhsanSajjad I'm going to listen to all tracks in the playlist he linked :)
@JohanLarsson My gf gets very stressed out by jazz/loungey music so I've just put it all on my phone for the car when I pick her up from work later :)
Why does not math pow have an int, int overload?
God knows what she's expecting at the Hilton tonight either, David Guetta?!
@RudiVisser [x] xpert
13:21
ok @JohanLarsson
Yea she can't relax :P
In times when I listen to much music I find myself wanting jazz in the end, cleaning my ears kind of.
I can relate to that
13:38
,
Afternoon folks
afternoon where?
In great countries
13:46
well, I'm from germany ;)
you wouldn't think that after seeing the times i'm online
I can relate^ :)
thats true
I'm writing something stupid btw
Oh thank christ, the new quarter at school did not start today.
13:51
Holy shit I am so hungry
I just went through and starred all things Skeet wrote that were even remotely interesting, suggest you do the same :)
He should be at the top of the leaderboard by the end of this day imo
I should be :(
BTW, where are our hats for starred chats on NYE
That won't happen, because you'll keep staring me @JohanLarsson.
13:53
@JohanLarsson Jon Skeet never was on chat.
@Billdr yeah, I star you rudi and travis very frequently
Crap, Canada is invading
2
Canadian*s*?
@KendallFrey we have reason to believe he was
@KendallFrey I'm curious as to why you haven't made me a room owner yet, I'm perfect owner material
13:55
I'm not sure why that got a star, but I'm not complaining.
Skeet was here for 5 minutes and got it!
@Billdr you know what the * is called in that context?
@JohanLarsson Failed bold?
Do tell
Holy shit, SKEET WAS HERE.
AND I MISSED IT.
13:56
He scribbled his name on the bathroom wall and everything.
That's what you get for being Canadian
Why was he here?
Nobody knows
To talk to some irregular about a question on SO I think.
68
Q: What the #$@&%*! is that called?

LarsTechIs there a name for the use of symbols in place of curse words, for example #$@&%*!?

13:57
That's not what I was doing. I was adding emphasis to a particular letter.
@Billdr Grawlix or something, looking it up
<- failing at a high frequency now
YIL Skeet works on the backend of Google Offers.
@KendallFrey the guy needed help
He was asking CC about ideas for gui concepts, and ThemCodeLines for the more low level stuff
Time to go pick up some KFC and go home, cya in ~1hr or so :)
There's a functional version of blackjack up, with a wallet of fake money (to keep track of your progress) be tea dubs. You know you want to play it/hack it/crash the site. splinter.azurewebsites.net/BlackJack
I'm going to pretty up the UI some, then get cracking on the bitcoin integration.
14:05
registering doesn't bring me back to the blackjack site
Hmm. That's default mvc4 functionality, I thought.
hmm, after three plays nothing is happening anymore
and sometimes, no cards are dealt
o.O
No errors are thrown. I wonder if you're running into azure sql lag.
You're in germany?
14:10
yeü
Alright, refresh the page. The server will remember if you were in the middle of a hand.
That'll happen when there's no response from the server, which means azure failed on me.
Found a bug: when splitting if you bust the second hand the first hand is not played out. Fixing it now.
happens if I select 0 and start free game
Ah!
and the back button doesn't function very well
Thank you, I'll get that cleared up in a jiffy.
Thats because I fail at knockout.
14:17
and the buttons are all over the place ;)
would be better, if they're ahead of the cards
even with my 1680x1050 i need to scroll sometimes
That's part of the ui beautification I was about to work on.
ok ;)
but thanks for pointing it out :)
Jon Skeet can divide by zero. :)
I can too.
14:21
undefined.
www.instantrimshot.com
No, it's NaN.
Or Infinity.
21
Q: Division by $0$

danielsynI thought it was elementary to me, but I started to do some exercises and came up some definitions I have sort of difficulty to distinguish. In parentheses are my questions. $x/0$ is Impossible ( If it's impossible it can't have neither infinite solutions or even one. Nevertheless, both 1. an...

okay... I'm not sure why the first hand doesn't get played out when the second one busts. Apparently I've got to do a grocery store run, I'll dig into these issues when I get back.
I say undefined
366
Q: Jon Skeet Facts

Bill the LizardI'm looking for Chuck Norris Facts style answers. In case anyone is curious, this question was inspired by Jon's own comment to this question. EDIT: If you're into cryptography, you may enjoy these facts. Now with official sanction from the powers that be!

Nice one @JohanLarsson
14:27
Fact!^
Have a star for being sad enough to screen cap that :p
I was right next to him!
he even talked to me and I fucked up multiple times :D
@Billdr star right back for pointing it out, I'm not ashamed at all btw :)
14:32
We are all star hunters today arnt we?
Always
Today is special, we are still breathing the fumes of a real nerd star
So whats your guys hat stats?
While all of you are here getting fake internet points, I'm at work, drastically exceeding our goals.
@MattiasJosefsson Don't Care
@MattiasJosefsson i never opted in for that
14:34
Haven't really been paying attention to hats.
but I spend more time here than on SO proper.
We are the lowest in the SO food chain, don't get much sunlight here in chat
sunlight == glare == do not want.
Damn it! I missed the random skeet event
I think its a nice way to get more people intrested in the chat function
The shades in my computer room have not been opened as long as I've owned this condo.
14:35
@joha
@JohanLarsson i didnt meen that you didnt deserve your stars sorry if it seamed that way
@MattiasJosefsson np, I don't get many stars any way, I manage to fail typing almost every message
Okay, afk for a while.
I beat Jon Skeet!
1
A: Accessing GUI element is not working as intended

Kendall FreyVariable capturing strikes again. Try creating a temporary variable and passing that to the thread, like this: void myThread() { using (DataTable dtTemp = DbConnection.db_Select_DataTable(srQuery)) { foreach (DataRow drw in dtTemp.Rows) { DataRow tmp = drw; ...

so tempting to go and upvote skeet now :P
2 Ha! Take that, Mister Skeet!
Okay...
14:44
3 now :)
If we can both get 10 upvotes, I'll get a Jon Skeet number of 1!
Also, Emerson is awesome.
Wait, it's only 5 upvotes?
Or do I have a Jon Skeet number already?
14:59
You should first of all work out what your real problem is instead of making guesses. — David Heffernan 3 hours ago
i don't get it
You can't profile by guessing.
but my question is clear, isn't it?
How could I compare it before I have a working solution?
You can't.
apparently I suck at asking ;)
But when you profile something, you can't just find code that looks slow and speed it up.
You need to profile with a real tool.
15:03
what should I profile?
The code?
I know, the native lookup might be the last optimization I can do, and other things might be more important, but I wouldn't hurt to have, right?
Probably not.
the thing is, it's a 5 year old solution and apparently for most it's fast enough, so no one developed it further
it's already faster than any other method known
Y'allo.
15:11
hi
Quick question for the room; when a conflict exists between library versions (say, with Data Services for instance), is it best to remove the old reference, or is there an alternative?
Alternative such as, referencing the previous version in configuration (I don't know what the advantages would be)
why would you want to keep the old reference?
I've no experience, just asking
I don't know why I'd want to keep the old reference; I'm assuming for sanity/versioning's sake; I'm not sure. I just don't want to go and boff all of the old references if there's a reason to keep them.
Moreover, I've updated my WCF Data Services libs to 5.2.0, but everytime I add a Data Service to the project, the old references are added back (references to 4.0.0)
That leads me to believe I dun goofed something.
15:35
Happy new year all!
back. Fixed a bug on blackjack. Exciting.
happy new year @MarkRichman!
15:56
lol
16:21
Airplane! is on Amazon instant video. US people who like laughing, you're welcome.
this place is really dead during the holidays when skeet isn't around
baby says *ahaaaawaaaaaaaaaaaaaa"
hi guys
hey kyle
the last time skeet didn't break the rep cap was on nov 26 2011
he got exactly 200 rep
the previous time was in January where he got 200 rep again
damn did he ever get less than 200 rep a day
16:36
When I had my interview with Jarrod Dixon, he told me that Skeet has over 800 consequitive days visiting SO.
that's not very surprising
@zneak With 20K answers and the top spot on the list of users, it would be nearly impossible for Jon to get less than 20 upvotes in a day.
I know, I know.
the last time he didn't get 200 rep in a single day was on June 6 2010
145
he never consistently received less than the daily cap each day
@zneak I'm out of stars, was gonna star that one
I appreciate it
alright I got stuff to do.
see you next year
16:41
I want stars too!
Hat!
Look at cletus for example: he's reaching 200 consistently after being absent from the site for nearly 3 years, on 8 times fewer answers than Jon!
16:53
@dasblinkenlight And on top of that it is probably a very high number of top-of-the-list answers
decimal payout = Math.Round((bet*2.5m), 2); I want this to round down if there's a remainder in the thousandths place. What's the best way to go about it?
@Billdr In the way that makes the house keep the most?
Well, betting the minimum forfeits the bonus .5 payout, because you can't have half a penny.
(int)(bet * 250m) / 100m
Like that?
Maybe
17:04
You could also use Truncate instead of (int)
Truncate sounds like what I'm looking for
You still need the multiply/divide math though.
Why? I could use truncate instead of round
Have a star for being helpful, Kendall.
Have a star for your star-generosity @Billdr
@RobWhite Why thank you, have a star for your kindness.
17:13
<- "You have fully used your vote allowance for today"
Okay, time for food, back in a bit
We are doing laundry today with gf, I though it would be a nice thing to do tocome with her and help. After doing that now she does not even want me there as company. Guess I have unlearned how to wash clothes?
I never learned to begin with.
@Billdr and that is the maximum exploitative strategy ladies and gentlemen!
hej @TravisJ glad you joined us!
I'm doing it correctly.
17:24
@Johan - Glad you're here :)
@TravisJ but not surprised huh?
yes, a little drunk, again
Well, I am at work so not sure who should be more surprised :P
@Johan - Why aren't you participating in the Winter Bash?
idk, really just never opted in
Well opt in.
No reason, did not understand it maybe
@TravisJ chat ninja imo!
17:27
That way I can star your chat and you can get a NYE hat.
Too soon?
I did not get a hat :/
Why not?
no idea
I have three hats, none for NYE.
Well, quick, say something funny so I can star you :P
17:31
is that from pineapple express?
@TravisJ Eastbound & down I lolled a lot at the redneck humor
Airplane is the finest comedy ever made.
@Billdr linky?
                                                                          ->star
hat ^?
17:35
21 mins ago, by Johan Larsson
<- "You have fully used your vote allowance for today"
^ <- hat
da,mot. trimcate dpesm
...I'm drunk, apparently.
apparently so
cool, drunkedly give me a star real quick
@TravisJ Billdr, Skeet & rudi took them all
17:37
I have a bad feeling NYE was yesterday in hat-land.
4 hours ago, by Johan Larsson
I just went through and starred all things Skeet wrote that were even remotely interesting, suggest you do the same :)
It wasn't. We will get to the bottom of this hatscipade.
in English Language & Usage on The Stack Exchange Network Chat, 39 mins ago, by Johan Larsson
Did you notice that chances are I just answered a question on ELU? Guess that means the universe must implode now...
Well, Christmas was Dec. 24, and I think there were more 'yesterday' date bugs.
the hats don't work for chat.SO and chat.MSO. Only for chat.SE
17:39
WHAT???
I fart in SO's general direction.
@Kendall - =/ The guy said that would work on meta
@Kendall - Perhaps here: chat.stackexchange.com/rooms/6904/…
ugh
Still not working
17:43
Did you ever think of waiting?
I'm pretty sure my hats came a few minutes late.
I tried waiting once, nothing happened :D
@KyleTrauberman Wish I was there.
Hi @Kyle :)
where? az?
17:43
HI, that is.
Hey Kyle.
AZ wouldn't be terrible either.
star me fools
17:44
No
its 50s today
sunny
rained last night
Had a snowball fight Saturday.
Oh, and overate like heck.
Peanut butter cups...
say hi to baby again
hjgfjlh;jk gh
HI BABBY
M JHG
B MNJMKJIJKYHJKL,L;KLJMHHG
17:45
$google babysmash
Come on baby, "hello world."
I HAVE THAT KENDALL
I thought you might.
...that's really all I need.
17:46
You also have caps lock on.
thanks to baby
I guess I can sell my steam account now.
I want to try this Accelerator thing soon.
Maybe I can render a Mandelbrot set realtime.
yes!
@Kendall - It worked :D
Still waiting.
17:47
var baby = function() {
    return {
        HelloWorld: function() { alert("Hello World!"); }
    };
};

baby().HelloWorld();
there you go @Billdr
var NYEHat = (function(){ location = chat.stackexchange.com/rooms/6904/…; })();
That's pretty good code, baby.
You killed your baby?
now gimmie a hat losers
Oh, it disappeared.
jerks into a hat
17:49
@Kyle - Read my IIFE
your wat?
MY IIFE
your iife?
Immediately-Invoked Function Expression (IIFE)
@Billdr - It takes about 5 minutes to award.
17:50
That's... abysmal.
NYEHat is undefined, and the function does nothing that couldn't be done with a statement.
room topic changed to C#: Hats. Need I say more? goo.gl/u3lDk [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
stupid decimal.truncate doesn't accept an argument to specify how many decimal places I want.
@KendallFrey Yes, you do need to say more.
I told you, you need the multiply/divide.
yea
I'd rather the method do the work for me.
17:53
Suck it.
@KendallFrey - 2 things. 1) You have to convert the link to use it as an actual variable, because SO outputs it with `...`. 2) If you really wanted to execute it, wrap it in quotes like this:
var NYEHat = (function(){ location = "http://chat.stackexchange.com/rooms/6904/stackoverflow-new-years-eve-hat"; })();
I fail to see what truncate does that (int) or .toInt() wouldn't do.
@TravisJ its window.location
@Billdr Nothing, really.
@Kyle - window is redundant.
17:54
Then why does it even exist?
Completeness.
@Kyle - window is the global namespace, it can be omitted.
unless in your infinite wisdom you did var location = "derp";
Instead of casting double -> int -> double, for example, you can just truncate the double directly.
herm, so it is
I guess.
so... if I math correctly, my formula should be decimal payout = decimal.truncate(bet*25)/10;
17:57
I hate slow code. It makes me look unproductive, because I am, but I can't do anything productive until it's done.
@Billdr Wasn't it 250 and 100?
I thought it was 2500 and 1000
Also, Math has Truncate too.
I'm pretty sure it's a wrapper around decimal.
yea, it needs to be 250, 100.
Another one bites the dust
kendall++;

« first day (807 days earlier)      last day (4367 days later) »