Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Wait, what? (Score 1) 159

...one might wonder why Google has to push their own social network instead of working on open protocols for sharing.

Could it be because they tried working on open protocols for sharing and it didn't work? Hate to reign in the $MEGACORP bashing here, but Google really HAVE tried in this area - G+ looks like a last-ditch attempt to gain some traction amongst the big players in "social".

Comment Re:I'll start a service of my own (Score 1) 86

Because of how much more efficient it is to break into an organisation's database of contact hashes, hope like hell the contact hashes are unsalted and then run each of them through your rainbow tables just to get a single email address than it is to write a web crawler in 10 lines of Python which finds emails based on a regex. Your approach is great if you're trying to phish gullible Sony customers but not so great for anything else.

Comment Re:fuck the raspberry pi (Score 1) 82

At the risk of implying a consideration of the long term effect or *shudder* morality into capitalist economics, it is cheaper to have a local manufacturing base than rely completely on some rights-ignoring nation half way across the world.

Uh-huh. Because the rest of the world is local to $YOUR_COUNTRY, and it's cheaper to produce electronics in $YOUR_COUNTRY because Anonymous Coward says so. Convincing.

We're still waiting for them to point-out the specific clause. No-one else seems to be affected by it.

Except all of the electronics manufacturers who are doing their production in $OTHER_COUNTRY and also seem unable to justify producing their electronics in $YOUR_COUNTRY.

Comment Re:Kinda digging Python (Score 1) 510

Oh my. Udacity is certainly *not* the best way to learn Python. They tend to try and keep it simple, but often this is to the detriment of readability. Here's an example from CS373 (most of the example code is like this):

if x2 >= 0 and x2 =0 and y2

Which could have been written like this:

if 0

Or another example:

next = open.pop()
x = next[1]
y = next[2]
g = next[0]

Which could just as easily be:

g, x, y = open.pop()

Hell, even

for i in range(len(delta)):
    x2 = x + delta[i][0]
    y2 = y + delta[i][1]

is nicer as

for dx, dy in delta:
    x2 = x + dx
    y2 = y + dy

And your example

if(a > 0) { return a + 1; } else { return a -1; }

==

return a + 1 if a > 0 else a -1

Udacity's approach is great for teaching theory, bad for teaching Python. If you want to write idiomatic Python, do some research on iterators, generators, functools, list unpacking, etc. Sorry if the code samples here screw up, but /.'s markup system blows hard.

Comment Re:How about no? (Score 1) 315

How about we just stop playing world police? I don't want to send our youngsters out there to die in another shithole just because of overly paranoid people in government.

The millions of people screaming "KONY2012!!!!" at the top of their lungs disagree with you.
 
America is going to be the world police as long as Americans keep demanding it be. If you don't like it, become a history teacher.

Comment Re:Fork it! (Score 1) 807

Every time an older version of a living project is forked because somebody claims that the old code is "better" for some reason which nobody can quite explain, a kitten dies. Gnome 3 has resulted in the deaths of thousands of kittens already, so before you:

  • - Fork an old project (users)
  • - Completely change the direction of the project (maintainers)

Ask yourself if you want to be responsible for the death of a/several kitten(s). If the answer is no, then DON'T DO IT.

Of course, if you think that you can get FF4+ feature parity using the FF 3.x/Gecko 1.x codebase WITHOUT increasing memory usage, then be my guest - kill a kitten. I dare you.
 
(I'm not talking to parent here, who I assume was being sarcastic, but rather to anybody who thinks forking is a good idea)

Comment What does this have to do with Steve Jobs? (Score 3, Interesting) 251

Steve Jobs might not be around any more to enforce some of Apple's stricter policies, but that doesn't mean the company is letting it all hang loose.

Because that's the job of a CEO. To take charge of policing their company's third party developer community.
 
The fact that most CEOs don't get their hands dirty with the day-to-day work of the company is the reason that Microsoft hasn't imploded after years of being headed up by an overweight chimpanzee.

Comment Re:4:3 comes back! (Score 4, Insightful) 537

Why is 4:3 such a useful aspect ratio? Just curious because I tend to prefer wide-screen monitors that I can flip on their sides or use in landscape orientation depending on what you're doing, and it seems to me that the monitor market is going that way. I'd have thought that square-ish monitors tend to be less comfortable given that humans have a greater horizontal than vertical field of vision (I feel a bit boxed in when using 4:3 CRTs, but that may just be the low resolution).

Slashdot Top Deals

After Goliath's defeat, giants ceased to command respect. - Freeman Dyson

Working...