Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:first post (Score 1) 196

No, the ++ operation will take place before the next sequence point (super important concept! If you do not fully grok sequence points, you are not really programming C). The end of a statement is one sequence point, a function call is another sequence point.

Here you have two modifications to i before that, and that is what is invoking undefined behaviour (in the same way i = array[i++]; is also undefined behaviour since i is modified twice before the end of the statement).

Comment Re:Prisoner's dilemma? (Score 1) 245

This is particularly amusing because such game theory examples have been proved to only apply to WEIRD (white educated industrialised rich and democratic) nations.

Quite possibly not only WEIRD, but perhaps only for college students from those countries as well. From What happens when actual prisoners play The Prisoner's Dilemma?:

And here's the surprise: Compared to college students, the prisoners actually cooperated with each other much more often.

Comment Re:Problem is always the same. (Score 2) 421

For any (large) group communication space, there is always a need for (some) moderation. See http://www.codinghorror.com/blog/2005/05/a-group-is-its-own-worst-enemy.html for some discussion for instance.

Imagine a line representing freeness of speech, with 0% at one end and 100% at the other end (the word freeness here meaning lack of any restrictions). Where on that line would you put a cross for the optimum value of free speech? There are no countries in the world (or any society though history) that allows 100%. There are typically many things you are not allowed to say, like uttering death threats, crying fire in a theatre when there is no fire, in a court you are not allowed to lie (think about how enormous restriction of free speech that actually is), etc.

The point is, exactly what the "optimum" value of free speech is is always a subjective opinion, and it is always less than 100% (although normally quite close).

Also I assume you are a man that have not been exposed to the darker side of the this problem which apparently is significant (I am also a man so I have neither a first hand experience). I recommend you to watch the documentary "Uppdrag granskning: Menn som nÃtthatar kvinnor " (men net hating women), http://www.svt.se/ug/man-som-nathatar-kvinnor, if you can find a translated version (https://sv-se.facebook.com/granskning/posts/10151724543289883).

Comment Re:The height of irony... (Score 1) 297

Dear Anonymous Coward.

Please take a piece of paper, divide it into four coloums and put on top of each coloumn the questions respectively

  1. What is the problem(s)?
  2. What is the cause(s)?
  3. What can be done to solve these?
  4. Who should do that?

From your already performed actions you can in the third coloumn fill in "call someone on slashdot a brainwashed, ignorant luser" and in the fourth coloumn put your real name. But I am really curious what you would put into the two first coloums! My suspicion is that the problem might be something along "you (e.g. Anonymous Coward) feels offended/hurt and respond with childish/immature name calling". Since I do not know you I am blank on what the cause might be. These are just my speculations though and I might be wrong, so if you could provide your answers that would be great.

Comment Re:and all the children are above average (Score 3, Insightful) 209

The selection of sample projects is biased. For proprietary software, the data is taken from projects that at least cares as much for code quality that they run some tools (e.g. at least Coverity) to analyse it. I would suspect that the industry standard is below that because there exists some companies that mostly only consider "get the product out the door". For open source the selection is probably also somewhat scewed, in that they have analysed relatively large, mature and highly successfull projects. I would assume those have higher quality than the average sourceforge/github project.

Comment Re:Better use of money and effort (Score 2) 622

And how do you plan on making this world "safer" when all the bad guys are using weapons to KILL YOU?

By removing the reasons for the bad guys to want to kill you.

France and Germany opened their borders to allow for free passing without the need for passports in 1985, just 40 years after WWII ended where they were bitter enemies. War between those two countries have been unthinkable for decades. Do you think that is something that can be credited to any military effort or is it because of political and social effort to increase co-operation and integration?

"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed" - Dwight D. Eisenhower

There is no us and them, there is only us.

Comment Re:Umm? How far away would it have been? (Score 1) 157

You are an idiot.

The benefits of using I-statement are many. I encourage you to try. For instance by rephrasing as "I think you are an idiot".

And besides if you instead had written "I think you are an idiot" then I think you would be perceived much more mature that you probably are currently. In my opinion calling other people an idiot/moron/douchebag/whatever is childish. Even if it is true.

Slashdot Top Deals

Saliva causes cancer, but only if swallowed in small amounts over a long period of time. -- George Carlin

Working...