Become a fan of Slashdot on Facebook


Forgot your password?
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Alpha children wear grey (Score 1) 366

Genetically modifying such genes is unlikely to happen any time soon

Alpha children wear grey. They work much harder than we do, because they're so frightfully clever. I'm really awfuly glad I'm a Beta, because I don't work so hard. And then we are much better than the Gammas and Deltas. Gammas are stupid. They all wear green, and Delta children wear khaki. Oh no, I don't want to play with Delta children. And Epsilons are still worse. They're too stupid to be able to read or write. Besides they wear black, which is such a beastly colour. I'm so glad I'm a Beta.

Comment Re:Story title needs a warning! (Score 4, Insightful) 274

I didn't realize she was under-age when I saw the headline. A few quick Google searches later, and I'd unwittingly accessed what counts as child porn.

Serious, Slashdot editors, this title needs a fix to include a warning, like instantly.

The title does not need fixing.
Your idiotic laws do. Like instantly.

Comment Re:These stories make me feel sick to my stomach (Score 1) 462

I hate stuff like this. I hate it because it is crooked and evil. I hate it because there is very little recourse for the average citizen to make against an attack like this.

But you won't do anything to stop it.

Contact your congress reps, local and federal. Try to get them to change the law. What is happening in these stories should be illegal.

They won't do anything to stop it either.

Comment Re:Lua[0]? (Score 1) 729

It is recent computer scientists that started

Not "computer scientists". Just C programmers. The first two languages designed, Fortran and Cobol, start at 1. Algol('68) and all the languages descended from or influenced by it let the programmer set the starting bound (this includes Ada, Pascal and all the other Wirth languages).

Pretty much every language that uses 0 as the only allowable starting index is either descended from C, or borrowed large amounts of its syntax from it. (Some BASICs use 0, but that language is so egregiously unstandardized that its tough to say anything about it with certainty).

That's because C does not have arrays, they are just syntactic sugar for pointers. array[index] is another way of writing *(pointer + offset)
Therefore: a[5] == *(a+5) == *(5+a) == 5[a]

Comment Re:Null Terminated Strings (Score 1) 729

I believe none of you actually programmed in C. A string terminated by \0 can be represented by a single pointer and an have any length. You can also easily let the string keep growing (until the allocated memory is finished.) That is the epitome of KISS. If you use an 8 byte character at the beginning then you are limited to a string length of 255. A structure with a length and a string pointer (or a character array) is much more complex and that would reflect in more complex library functions.

Some of us have been programming in C for 3 decades and have gained some sense of perspective. While the choice of using null-termination vs. explicit size may have been the correct one given the '60s and '70s state of the art, it is a poor one today.

Null-terminated strings have several serious deficiencies:
They cannot be used to store binary data, requiring another, redundant set of functions (with separate lengths)
Similarly, they cannot be used to store UTF-16
They are less efficient. In order to find the length of the string, get it's last character(s) or append to it, you must traverse it. If the string is long, parts of it may reside on pages that have been swapped out and touching them will trigger expensive IO operations.

There is a reason that every OO library uses a length+data for string objects

Comment Re:How is this not conspiracy to commit fraud? (Score 1) 182

Nobody is directly profiting from these actions.

Direct profiting is not a part of a definition of fraud.


A false representation of a matter of fact—whether by words or by conduct, by false or misleading allegations, or by concealment of what should have been disclosed—that deceives and is intended to deceive another so that the individual will act upon it to her or his legal injury.

Fraud is commonly understood as dishonesty calculated for advantage. A person who is dishonest may be called a fraud. In the U.S. legal system, fraud is a specific offense with certain features.

Fraud must be proved by showing that the defendant's actions involved five separate elements: (1) a false statement of a material fact,(2) knowledge on the part of the defendant that the statement is untrue, (3) intent on the part of the defendant to deceive the alleged victim, (4) justifiable reliance by the alleged victim on the statement, and (5) injury to the alleged victim as a result.

These elements contain nuances that are not all easily proved. First, not all false statements are fraudulent. To be fraudulent, a false statement must relate to a material fact. It should also substantially affect a person's decision to enter into a contract or pursue a certain course of action. A false statement of fact that does not bear on the disputed transaction will not be considered fraudulent.

Second, the defendant must know that the statement is untrue. A statement of fact that is simply mistaken is not fraudulent. To be fraudulent, a false statement must be made with intent to deceive the victim. This is perhaps the easiest element to prove, once falsity and materiality are proved, because most material false statements are designed to mislead.

Third, the false statement must be made with the intent to deprive the victim of some legal right.

Fourth, the victim's reliance on the false statement must be reasonable. Reliance on a patently absurd false statement generally will not give rise to fraud; however, people who are especially gullible, superstitious, or ignorant or who are illiterate may recover damages for fraud if the defendant knew and took advantage of their condition.

Finally, the false statement must cause the victim some injury that leaves her or him in a worse position than she or he was in before the fraud.

-- http://legal-dictionary.thefre...

Slashdot Top Deals

"Say yur prayers, yuh flea-pickin' varmint!" -- Yosemite Sam