« first day (790 days earlier)      last day (4166 days later) » 

11:04 PM
Me [3:05 PM]:

Cause I'm not sure if I still have one
alternatively
Me [3:05 PM]:

Help! I'm being held hostage! They have electrodes hooked up to my head that shocked me if my WPM drops below 60!
 
@JohanLarsson you crazy Scandinavians and your sexual deviance
 
lol just trying to help
 
haha
 
I thought that you could not iterate through a Dictionary. But apparently ElementAt will return a key value pair from a given index. Is that correct?
 
11:14 PM
@TravisJ it's a member of Collections.Generic, so I think it would have an IIterator (or whatever it's called)
 
yeah, foreach works, 95% sure
 
stupid dictionaries and their stupidness... show some class!
 
Dictionary implements ICollection
"Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection."
 
Anybody know how to add a default ListItem in an asp:DropDownList that isn't selectable? I.e. Doesn't show up in the list of options when clicked?
Is there an html-only way to do it?
 
11:17 PM
@TravisJ code? I have no VS here but that can be changed
 
This is razor model binding sillyness
 
@Pheonixblade9 in the first one it's still selectable
 
@user1079641 how did the test go?
 
11:24 PM
@Pheonixblade9 not valid for asp:textbox in .net 4.0 :(
 
@PhillipSchmidt well... you did ask for an html-only way to do it ;)
you could jQuery it in there
 
@Pheonixblade9 yeah, that's what it's looking like I'm gonna need to do
 
:)
that's not so bad
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!......?
 
11:28 PM
that feel when your code finally works after tinkering with it for 2 days
 
\/!{2}$\/$0$`\/(?<!@)[\\\\\\\/](?=.*!{2}.*(?<!_)$)\/@$0\/(?<!_)$\/_\/@(?=[\\\\\\\/])\/\\\\\/(.+)_\/$>$1!!/!{2}$/$0$`/(?<!@)[\\\/](?=.*!{2}.*(?<!_)$)/@$0/(?<!_)$/_/@(?=[\\\/])/\\/(.+)_/$>$1
 
And that is why Kirby shouldn't drink
 
eh?
did I break Kendalls bot again?
$i $i
 
i'm probably still banned
 
11:29 PM
yeah, probably
 
Kendall is quick with the ban hammer
he's got an itchy ban hammer finger
 
...to people that piss my bot off.
By the end of tomorrow, I should have the 'by-design' 'bug' fixed.
 
it's not a bug, it's a fuck you!
 
woah! your bot has feelings? advancements have been made i the field of AI programming!
 
this knockout crap is giving me a headache.
 
11:31 PM
Me and my bot are one.
 
HOLY CRAP
 
Kendall is borg.
5
 
KENDALL IS A ROBOT
5
 
@KendallFrey it's "my bot and I", you fool
a proper cyborg would have correct grammar
 
It all makes sense now, doesn't it Kyle?
 
11:31 PM
<redacted>
 
definately
 
hold on, let me jump on this karma train
KENDALL IS A DALEK
 
nope
He has no feelings.
 
Your face is a karma train... wreck.
 
11:32 PM
ZING!
 
@Pheonixblade9 I want to ask what a dalek is, but I sadly know.
 
cc/define dalek
 
hah
 
11:33 PM
╬/urban dalek
@KyleTrauberman [Dalek](http://dalek.urbanup.com/1173982) Iconic villain from the British TV series Dr Who. Though their appearance is robotic, the Daleks are actually little green blobs mutated from members of the Kaled species by their chief scientist, Davros, and placed in robotic armoured travel machines.

The Daleks were bred to become the superior beings by exterminating all other life forms, so that none could rise to threaten them. The eponymous Dr Who is the only thing has stood between them and universal domination
 
hmm
 
My blocker thanks you.
 
You are missing nothing
 
Leave it to urban dictionary to provide a clean and thorough explanation of daleks.
 
we can have secret conversations that kendall can't read if we post them in image form hosted from tumblr!
 
11:34 PM
uh huh
 
Totally!
 
... forgot you could do that
 
Me wins.
 
How'd you do that?
 
11:35 PM
#FF000000 magic.
 
host it from a site that kendall blocks, and block stackoverflow from copying it imgur.
there we go
 
Stackoverflow does that? What you mean
 
switching to my real pc.
 
I prefer #FF111111 magic. not black, but close enough.
@CCInc if you use that upload button over there ->>
it copies the image from the url you paste and puts it on imgur
 
Yes, I know that, how does he copy an image from tumblr?
 
11:38 PM
he doesn't
stackoverflow does
all he did is copy the url to the tumblr image
 
Oh, I get it
 
This guy is too damn smart.
 
is there a way to search transcript for '['?
 
TOO DAMN SMART.
 
11:41 PM
conclusion: Dictionary sucks for model binding.
 
i could have told you that
I suffered through that a couple months ago
had to write my own crazy workaround
1
Q: MVC3 Dictionary not binding to model

Kyle TraubermanI have a model that contains a dictionary property. (this has been distilled from a larger project into this example, which I have confirmed still has the same issue) public class TestModel { public IDictionary<string, string> Values { get; set; } public TestModel() { ...

 
I know, I have been looking at it
0
A: MVC3 Dictionary not binding to model

Kyle TraubermanAs @Blast_Dan and @gprasant mentioned, the model binder is expecting the name attribute of the input element to be in the format Property[index].Value, where index is an int and Value is one of the properties on the KeyValuePair class. Unfortunately, @Html.EditorFor generates this value in the w...

But I don't want to do that because this model is a little more nested and it is a huge pain in the ass. I think I am just going to switch to a class implementation
 
so you found it. :P
 
:P
 
yeah, it sucks
 
11:45 PM
well, wasted that hour.
 
in my case, I couldn't use a class implementation because the type (and therefore, properties) of the value objects were unknown until runtime
 
oh come on, you could have gotten around that
object value
 
sorry, I meant the keys varied at runtime
no easy to write it without a dictionary
i might have been able to use a list of custom keyvaluepair objects - but that's all a dictionary is, after all
 
I did this
public class NestedDictionary
    {
        public int ForeignId { get; set; }
        public int LocalId { get; set; }
    }
 
11:51 PM
surprise! deleted.
 
for something simple like that, you should be good.
ok
time to go live it up this weekend
perhaps I'll even have fun.
 
:D
 
considering I only have one year left until I have to grow up and become an adult.
 
@KyleTrauberman don't you have children? I'm pretty sure that qualifies you as an adult
 
Pft
I've heard of 14 year olds having kids. Are they adults?
 

« first day (790 days earlier)      last day (4166 days later) »