Please create an account to participate in the Slashdot moderation system


Forgot your password?

Comment Re:Numeric equality in PHP (Score 1) 729

In PHP, 1 === 1.0 and 1 === '1' are both false, and 1 == 1.0 and 1 == '1' are both true. What operator should the programmer use if he wants 1 to equal 1.0 but not '1', where integer numbers are equal to float numbers but strings aren't equal to either?

Since (almost) no computer actually stores 1.0; your request is, at best, naive.


Submission + - Facebook Disables URL Login Shortcut After Google Search Exposes Security Flaw

An anonymous reader writes: security hole has been discovered that allows anyone to see the email addresses corresponding to certain Facebook accounts. Worse yet, some appear to be accessible without even entering a password. However, a Facebook engineer now says that the company has disabled the feature that created the hole.

Submission + - US Government Says You Don't Own Your Cloud Data so We Can Access It At Any Time ( 2

jest3r writes: Yesterday the EFF filed a brief proposing a process for the Court in the Megaupload case to hold the government accountable for the actions it took (and failed to take) when it shut down Megaupload's service and denied third parties access to their property. Many businesses used Megaupload's cloud service to store and share files not related to piracy. The government is calling for a long, drawn-out process that would require individuals or small companies to travel to courts far away and engage in multiple hearings just to get their own property back. The government's argument that you lose all your property rights by storing your data on the cloud could apply to Amazon's S3 or Google Apps or or Apple iCloud services as well.

Submission + - WW2 carrier pigeon and undecoded message found in chimney (

BigBadBus writes: "The BBC is reporting that the remains of a World War 2 carrier pigeon were found during renovation of a chimney in England. What is interesting is that the pigeon's remains still had its message attached to the leg ring; even more interesting, this is the first recorded instance of a code being used rather than plain text. The successor to WW2 code-breaking HQ Bletchley Park, the GCHQ, is trying to decipher this unique code. Maybe a slashdot reader can beat them to it?"