Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Microsoft Won't Bring Back the Start Menu Until 2015

Lisandro Re:Many users won't be back (516 comments)

I was actually being facetious, but this is not far off from the truth. Nokia was already hurting when iOS and Android gained momentum, but it really took a nosedive pretty much the second the decided to support Windows exclusively.

A crying shame, because they sell some very nice hardware.

about 4 months ago
top

Microsoft Won't Bring Back the Start Menu Until 2015

Lisandro Re:Many users won't be back (516 comments)

Look at Nokia. Those phones will only be able to access the Microsoft cloud.

That nicely explains Nokia sales figures lately. Something like 30% down this last year.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

sigh...

Whatever kid. You win. I have actual work to do.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

In ways you cannot undersand, evidently. The distinction on C when comparing type-casted operands is precisely because casting is guaranteed to destroy precision - operands are effectively modified in the process. This has NOTHING to do with the way relational operators work: they behave in a sane way, like they do in every other language on Earth.

Now contrast that with the idiotic PHP decision of setting rules for relational operators leading to circular logic. I know the "this might fool the typical PHP developer" warning went over your head, but ponder on this: on my original PHP code snippet, where's the "loss of precision"?

Where's the casting?

Hell, where do you apply your "object has precedence" mantra on it?

I really can't believe that someone could not only defend this madness so vehemently, but also without really understanding what he/she is talking about. Try a new language, son. It will open your horizons.

PS: I'm a he, not a she.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

Just like PHP!

...sigh...

Just like PHP, where comparison operators are transitive except in cases where precision is lost in type-casting of operands.

Yeah. I'm dying to know what the "loss of precision" is when comparing a float to an array to an object.

No, you know what? I don't. Go have fun with your toy websites.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

Dude, you are the one who's flat out wrong. Not only C has transitive relationship operators, but the language specification actually states that value comparison operators must be transitive except in cases where precision is lost in type-casting of operands.

So, for example, this might fool the typical PHP developer...

int main(void) {
unsigned long a = 98765UL;
int b = -12345;
short c = 1;

if (a < b) printf("a < b!\n");
if (b < c) printf("b < c!\n");
if (c < a) printf("c < a!\n");
}

...while you're simply rounding off (modifying!) operands in the process. This can be easily show by controlling how casting is performed:

int main(void) {
unsigned long a = 98765UL;
int b = -12345;
short c = 1;

if (a < (long)b) printf("a < b!\n");
if (b < (int)c) printf("b < c!\n");
if (c < (short)a) printf("c < a!\n");
}

Compare this to the brainfuck that is PHP, where comparison rules are well stablished but still manage to produce this crap. I can't believe i'm actually discussing this.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

No, it should not be complicated. It does not make sense - PHP is the only, and i mean only language i found with comparison rules that are non-transitive. And even worse, circular.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

Because it's a language that others are likely to already understand. PHP is also written in C, which likely influenced the language.

So are Python, Perl, Ruby and Java, and you won't see anyone comparing them to C. That's a poor argument.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

Oh, and by the way. Why do people insists on comparing PHP to C? Isn't PHP supposed to be a high-level, website oriented scripting language?

I ask because i've seen bugs about PHP segfaulting reliably rejected only because "this behavior is consistent with what lower level languages like C do". It's like watching an exploit slowly growing from its infancy.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

I see. You're just confused by dynamic languages. Try the same operations in C, with the relevant casts, and note the results. Hey, look at that! Not quite so "nonsensical" now, is it?

Like I said, give that article a good fact-check. You'll regret ever recommending it.

"Dynamic languages" eh? Show me a "dynamic language" where i can do this (blatantly stolen from this site):

$ cat circular.php
<?php
 
$a = INF;
$b = array();
$c = (object)array();
 
var_dump($a < $b);
var_dump($b < $c);
var_dump($c < $a);
 
$ php circular.php
bool(true)
bool(true)
bool(true)

You're right though. Nonsense confuses me.

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

Really? Most, if not all of it, is stuff i've ran into in the past. The nonsensical comparison operator results and the so-called "arrays" pop into my mind right now...

about 4 months ago
top

PHP Next Generation

Lisandro Re:PHP? (213 comments)

get a life.. for real. Always easy to play MMQB, harder to actually *do* something.

I've worked with PHP and its assorted web frameworks enough times to completely relate to what that site tells.

That an amateur language like PHP holds 80% of the web marketshare seems insane until you actually realize that 80% of the web is hardly professionally developed either.

about 4 months ago
top

Heartbleed Coder: Bug In OpenSSL Was an Honest Mistake

Lisandro Re:Not malicious but not honest? (447 comments)

Ditto. Writing a custom malloc is insane for a sensitive security library like this... specially when it is done so carelessly.

The fact that OpenSSL won't even work using regular malloc() suggests that there're more issues waiting to pop up here.

about 5 months ago
top

Theo De Raadt's Small Rant On OpenSSL

Lisandro Re:Summary. (301 comments)

Think it this way. Using the current memory management implementation on OpenSSL adding a test case for the exploit would not have triggered any issues. At all. Using a regular malloc() on any half-decent *nix system would've immediately triggered an alert when run through Valgrind or similar.

Reusing memory with a freelist on a sensitive library like OpenSSL is a problem waiting to happen.

about 5 months ago
top

Theo De Raadt's Small Rant On OpenSSL

Lisandro Re:not developed by a responsible team? (301 comments)

Writing a custom malloc on a security sensitive product like this is a problem waiting to happen, specially when you do so carelessly. Freelists? No memory cleanup? Theo's right here.

about 5 months ago
top

Did Facebook Buy Oculus To Counter Google Glass?

Lisandro No. (108 comments)

Facebook bought Occulus because it has more money than it knows what to do with these days.

about 6 months ago
top

Mathematician: Is Our Universe a Simulation?

Lisandro Re:Some possible ways (745 comments)

Again, wrong. You're (purposely?) mixing up redefinition of results vs the redefinition of algebra. Redefining the algebra behind division (and all other basic operations in the process) is a valid approach to tackle the division by zero problem. Redefining its result alone is not. And, incidentally, none of those two will do you any good with IEEE numbers.

You simply can't just say " x / 0 = 42 " without redefining division, substraction and multiplication. And all other operations in the process.

division by zero is sometimes undefined, but there is no natural reason for it to give an error. For example, IEEE defines floating point division by zero as infinity, whereas dividing an integer by zero is defined as an error.

The example is wrong since IEEE does not define division by zero as infinite to be a valid result. And, under the algebra rules used by IEEE floats there IS a very good reason for it to give an error. This is not a philosophical discussion; you don't need to sit down with a Fields medal mathematicians in order to understand why the above statement is incorrect.

about 7 months ago
top

Mathematician: Is Our Universe a Simulation?

Lisandro Re:Some possible ways (745 comments)

You're right, thanks. I was of course refering to division under linear algebra, but there are indeed other algebras where division by zero yields a meaningful result.

about 7 months ago

Submissions

top

Pixar's RenderMan is now free for non-commercial use

Lisandro Lisandro writes  |  about 4 months ago

Lisandro (799651) writes "Pixar's RenderMan, the de-facto industry standard for the creation of CGI on movies, has announced a price restructuring. Licences are down to $495, but the kicker is that non-commercial users are now able to use it for free."
top

Java 7 ships with severe bug

Lisandro Lisandro writes  |  more than 3 years ago

Lisandro (799651) writes "Lucid Imagination just posted an announcement about a severe bug in the recently released Java 7. Apparently some loops are miscompiled due to errors in the HotSpot compiler optimizator, which causes programs to fail. Apparently this bug impacts several Apache projects directly — Apache Lucene Core and Apache Solr have already raised an warning, noting that the bug might be present in Java 6 as well."
Link to Original Source
top

German researchers claim to have found AIDS cure

Lisandro Lisandro writes  |  more than 3 years ago

Lisandro (799651) writes "Deustche Welle is reporting that Timothy Ray Brown, an AIDS-positive leukemia patient was apparently cured of his HIV infection after receiving a blood stem cell transplant in 2007. The study found that "the patient remained without viral rebound 20 months after transplantation and discontinuation of antiretroviral therapy.""
Link to Original Source
top

German doctors claim to have found AIDS cure

Lisandro Lisandro writes  |  more than 3 years ago

Lisandro (799651) writes "Deustche Welle is reporting that Timothy Ray Brown, an AIDS-positive leukemia patient was apparently cured of his HIV infection after receiving a blood stem cell transplant in 2007. The study found that "the patient remained without viral rebound 20 months after transplantation and discontinuation of antiretroviral therapy.""
Link to Original Source
top

Apple press release regarding iPhone 4 reception

Lisandro Lisandro writes  |  more than 4 years ago

Lisandro (799651) writes "Apple has just releases a letter addressing the signal issues a lot of users seem to be having with their iPhone 4. They claim to have discovered the cause for the drop in bars, which is "both simple and surprising" — a wrong formula used to calculate how many bars are displayed for a given signal strength."
Link to Original Source
top

Man blames child pornography on his cat

Lisandro Lisandro writes  |  more than 5 years ago

Lisandro writes "A Jensen Beach resdient blamed his collection of over 1,000 images of child pornography on his cat. When confronted by the police, the man argued he used to leave his computer on and his cat downloaded strange material by walking on the keyboard."
top

NASA to announce success of Long Galactic Hunt

Lisandro Lisandro writes  |  more than 6 years ago

Lisandro writes "In a cryptic press release, NASA has scheduled a media teleconference on May 14 at 13:00 EDT, to announce the discovery of an object in our Galaxy astronomers have been hunting for more than 50 years. All that was let known prior to the conference is that the finding was made by combining data from NASA's Chandra X-ray Observatory with ground-based observations. Keep in mind that NASA is roughly 50 years old."
top

Shutdown day is dawning on us

Lisandro Lisandro writes  |  more than 6 years ago

Lisandro writes "May 3rd this year is Shutdown Day. So called the "one of the biggest global experiments ever to take place on the Internet", Shutdown Day aims to find out how many how many people can go without a computer for one whole day, and to get them to mull over how the increasing use of computers change their lives — for better or for worse."

Journals

Lisandro has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>