|
What Eggactly do you mean?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
That could be a really viral campaign.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Ask your X Y.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
!Y
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
Advertising bacon? We all like a bit of gam-meat!
I am not a number. I am a ... no, wait!
|
|
|
|
|
RNA of these comments relevant?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
When you try to retrieve the value of a checkbox on a form using Request.Form.Get(keyname) , the resulting value is "false" if the checkbox isn't checked, but if the checkbox IS checked, the returned value is "true,false".
WTF?!!!! I mean seriously - WHAT THE F*CK?!!!!!!
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
It's the first step to a natural language API.
"It's true, isn't it?"
|
|
|
|
|
Wouldn't that be "true,false?"? That's equally absurd so, why the f*ck not, right?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Schrödinger's Checkbox.
cheers
Chris Maunder
|
|
|
|
|
This is one of the many reasons I despise web development.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
It's almost as if the federal government had a hand in the implementation... It's no wonder the ObamaCare web site is so f*cked up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons - developing bipolar checkboxes since 1989
|
|
|
|
|
|
Don't Microsoft checkboxes have three values? 'true', 'false', and 'true,false'? Maybe thats only windows forms.
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
Did I miss the announcement that they started using QBits in .Net? I guess they want to be ready for the quantum computer revolution.
if (Object.DividedByZero == true) { Universe.Implode(); }
|
|
|
|
|
The only two return values I've seen in MVC are "false", and "true,false". How other bastardized Microsoft frameworks handle it are not applicable.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
WPF checkboxes have an IsChecked property that can be either false , true , or null .
When you want to check if the checkbox is really checked, you have to:
if (checkbox.IsChecked == true)
{
...
} Butt-fugly.
Software Zen: delete this;
|
|
|
|
|
Not to get too much into a programming discussion, this is the lounge, but you can also write it this way
if (checkbox?.IsChecked : false)
{
}
This way, if it IsChecked is null, it's still false.
Leave it to Microsoft to create a system where nothing is something and you still can't divide by zero.
if (Object.DividedByZero == true) { Universe.Implode(); }
|
|
|
|
|
I use WPF pretty much every day. It falls solidly into the category of "other bastardized Microsoft frameworks".
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I disagree with your word 'bastardized'. That implies they got WPF from someone else, and then screwed it up. I think WPF is all their own. The term "sonofabitching" works in its place.
Software Zen: delete this;
|
|
|
|
|
As far as I know, it has (almost) nothing to do with MVC nor Microsoft. This is the data send by the form on the HTML page.
If instead of accessing raw values, you would let MVC load the values in a model, then the framework would handle that kind of stuff automatically.
If you want to work at low level, then you have to understand the subtilities...
Philippe Mori
|
|
|
|
|
Does it LOOK like I don't understand the "subtleties"? Returning "true,false" to indicate that a checkedbox is checked isn't a subtlety, it's f*cked up, or if you're too sensitive to call it what it really is (or you're just playing around, and not working on a real project), it's quirky.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|