misbehaviour

What should I know about user antisocial behavour?

Inspired by this posting http://stackoverflow.com/questions/72394/what-should-a-developer-know-before-building-a-public-web-site, I wanted to know: What should I know about user antisocial behavour? I know some users will try everything mentioned in that posting. Other users will spam others, write post to troll others. What are some th...

CSS or jQuery problem: Website not behaving correctly.

Go to this beta of my new website (link redacted). If you hover over one of the colored squares, a popup box à la Panic's Coda pops up, except there are two problems: a) The text inside the popup does not show up. It is programmatically set to :) using the following code: $('td.middle', this).text(':)');      td.middle is the class ...

Program misbehaves 25% of the time

Inspired by this topic, I decided to write a simple program that does exactly that. The logic isn't complicated and I have a working program 75% of the time.. The amount of asked numbers is defined as #define BUFSIZE x, where x can be an arbitrary int. The problem arises when ((BUFSIZE+1) % sizeof(int)) == 0. So for example, if BUFSIZE=...

log function misbehaviour!!! Any clue?

Hi guys, I am writing some program in C. It has a part where it does some probability calculations, where I am using log function. normal library function log()... The code is something like this double somevalue = 0.29558101472995091; temp = log(somevalue) And guess what? The temp gets value -1856.0000000000000!!! As the value gi...