|
Is it acceptable for an API to have bad behaviors (like segfault, bus error, memory leak) if the condition that would cause the bad behaviors is documented? Or should it always fail "gracefully" in all known conditions?
Answer Snippets (Read the full thread at stackoverflow):
However one must also consider that when the failure is a consequence of bad input, you may have.
It's called undefined behavior (link) , but you should failure.
Yes?? ;)
Absolutely.
Time in the future ..
|
|
This is a bit of a rant, but also a very serous question. jQuery has changed ajax param serialization as follows:
jQuery 1.4 adds support for nested param serialization in jQuery.param, using the approach popularized by PHP, and supported by Ruby on Rails...
Started by z5h on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Foo....
Old: foo: "bar" maps to "foo=bar" maps to foo: "bar" .
It makes an array-of-one-thing look different from a thing-on-its-own.
It's actually filling in a major inconsistency, if your deserializer is aware of the convention and works with it nicely .
|
|
This is a personal observation that I think some people here can relate to. Why are people more likely to punish someone who is doing wrong than to reward the same person who does right? Is it because we are expected to do right and therefore wrongness...
Started by MidnytRain on
, 19 posts
by 10 people.
Answer Snippets (Read the full thread at n4g):
Tuxedo_Mask
Not all bad behavior is punished and not all good behavior goes unrewarded next-gen....
Not all bad behavior is punished and not all good behavior goes unrewarded.
Please.
Hurry the **** up next-gen...
|
Ask your Facebook Friends
|
I have a Master Page that has two different "modes" of behavior: "strict input restrictions" and "relaxed input restrictions". The code for what these two modes mean is completely contained in the Master Page and 95% of the functionality of the Master...
Started by Greg on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
From the point of view of the master page, it ... .
They don't really follow real rules of inheritance so don't try to force that type of thinking on to them .
Unfortunately, Master Pages are a bit of a kludge to begin with .
That's how I handle it as well.
|
|
I am working on a project with a group, and we are making an experimental site that involves heavy user interaction. In a nutshell, the nature of the site involves heavy user posting and commenting. Based on the theme of our site, we are expecting to ...
Started by CitadelCSCadet on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Allowing people to flag offensive.
Rate limiting will reduce this behavior somewhat.
Arguments.
|
|
Wow, indeed.
Not just a lawyer at his [former] firm, but a partner.
And he not only used regrettable language, but put it in print in an official business communication?
Not.
Smart.
Started by MetroBear on
, 13 posts
by 11 people.
Answer Snippets (Read the full thread at baylorfans):
Both sides usually end up looking bad.
Beatdown's assessment is pretty accurate from what I've heard.
|
|
Isn't this a reward for bad behavior?
JUST WHAT PART OF ILLEGAL IS CONFUSING THESE PEOPLE?
"A coalition of immigrants' defense organizations has launched a campaign in favor of Initiative 52, which - if approved in November - would give driver's licenses...
Started by rapidr on
, 15 posts
by 9 people.
Answer Snippets (Read the full thread at yellowbullet):
|
|
Re: How do you discipline or punish bad behavior in a way they can understand? another good tip is to give her a calm rub when she is calm or asleep... this give the impression that you 'reward' her being nice and calm, and that you approve of that behavior...
Started by Luna'sOwner on
, 18 posts
by 10 people.
Answer Snippets (Read the full thread at dogforums):
7 year old- Siberian Husky....
Re: How do you discipline or punish bad behavior in a way they can understand? Originally Posted you discipline or punish bad behavior in a way they can understand? Originally Posted by Ice222 Eg PM .
|
|
I have a six month old white german shepherd. She's a beautiful pup but anytime she goes outside she chews on absolutely everything. She also digs to the neighbors backyard (where her sister lives.) How do I correct her behavior.. It is getting to the...
Started by maggieswinson on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at gotpetsonline):
Catch ....
I did not put up energy than he knows what to do with .
Did you bred this litter? Yes but what does that have to do with her behavior? Before breeding never had a behavior problem in any of my dogs until now and I am not a breeder.
|
|
Hi guys,
Received new ZIPPY lipos (HK) and did some analysis on them.
With one of the batteries (2s 1600mah) , during a discharge cycle, I noticed that both cells were dropping voltage equally until 3.6v, then, one of the cell started to drop faster than...
Started by Fred Methot on
, 15 posts
by 4 people.
Answer Snippets (Read the full thread at rcgroups):
Maybe you got lucky and some under-rated packs or mis leave you 10-15% or more, I thought... .
Maybe all down to 3.0V or less (a bad thing to do).
You 10-15% or more, I thought maybe you took them all down to 3.0V or less (a bad thing to do).
|