Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:I like Python (Score 1) 997

I think you don't know how the indention actually works in Python. The only indention requirement is blocks must be indented to be recognized as such.

So you can indent a block with 1, 2, ... spaces or TABs. You can even mix and match as you choose, and you can change your mind from one block to another.

The following code runs fine:

if 10 < 20:
    print "Hello"
else:
   print "Goodbye"

Here the "then" branch of the if-statement is indented with a single TAB character (that might not survice in the comment, but it was a TAB in the file I tested with). The "else" branch is indented with three spaces.

All in all there is *nothing* to worry about with indention in Python -- you only have to be consistent within a single block and you really hope you would do that anyway :-)
The Courts

Dutch Court Punishes Theft of Virtual Property 276

tsa writes "Last week, the Dutch court subjected two kids of ages 15 and 14 to 160 hours of unpaid work or 80 days in jail, because they stole virtual property from a 13-year-old boy. The boy was kicked and beaten and threatened with a knife while forced to log into Runescape and giving his assets to the two perpetrators. This ruling is the first of its kind for the Netherlands. Ars Technica has some more background information." In Japan, meanwhile, a woman has been arrested for "illegally accessing a computer and manipulating electronic data" after (virtually) killing her (virtual) husband.
Music

Walmart Caves On DRM Removal 215

cmunic8r99 writes in with an email he received from walmart.com yesterday evening about the pending shutdown of their DRM services (which we discussed a while back). Walmart has reconsidered and won't be shutting off its DRM servers after all. They are still moving to an all-MP3 store, but won't break all the DRMed music its customers have already downloaded; this because of "feedback from the customers."
Privacy

Full Disclosure and Why Vendors Hate It 91

An anonymous reader writes "Well known iPhone hacker Jonathan Zdziarski gave a talk at O'Reilly's Ignite Boston 3 this week in which he called for the iPhone hacking community to embrace full disclosure and stop keeping secrets that were leading to the iPhone's demise. He has followed up with an article about full disclosure and why vendors hate it. He argues that vendor-only disclosure protects the vendors and not the consumer, and that vendors easily abuse this to downplay privacy concerns while continuing to sell insecure products. In contrast, he paints full disclosure as a capitalist means to keep the vendor accountable, and describes how public outcry can be one of the best motivating factors to get a vulnerability addressed."
Security

Bank of NY Loses Tapes With 4.5 Million Clients' Data 156

Lucas123 brings news that Bank of New York Mellon Corp. has admitted they lost a box of unencrypted data storage tapes. The tapes contained personal information for over 4.5 million people. From Computerworld: "The bank informed the Connecticut State Attorney General's Office that the tapes ... were lost in transport by off-site storage firm Archive America on Feb. 27. The missing backup tapes include names, birth dates, Social Security numbers, and other information from customers of BNY Mellon and the People's United Bank in Bridgeport, Conn., according to a statement by Connecticut Attorney General Richard Blumenthal.

Slashdot Top Deals

"In matrimony, to hesitate is sometimes to be saved." -- Butler

Working...