Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Send Them Back To Hell (Score 1) 215

Sending IS back to hell with airpower is easy when they are out in the open. But once Islamic State fighters retreat to towns like Fallujah it will be very difficult to twist them out of their holes. It will require house to house fighting and the towns will be more or less destroyed in the process with great cost to any civilians in the area. If the Shiite dominated Iraq Army does it there will be all kinds of payback. But I doubt they will step up. It will be up to mostly the US with help from the UK and some token help from a few other countries.

Colin Powell was right. We broke it, we bought it.

This is exactly what happened in Gaza the past few weeks, to weed out Hamas.

Comment Re:Perl: TMTOWTDI (Score 1) 729

That list comprehension is actually very much the reason why Python is terrific. C# programmers will be familiar with the idea from Linq.

for: This is a for loop
a,b,c,d: Each value of the iterator is itself composed of 4 values. In Python this is called a tuple, but you can think of it as an array if it helps. The first value is bound to a, the second to b, etc. Thus, the variables a,b,c, and d are defined in the loop body.
in: The next thing mentioned is the iterator
[x.q for x in y if x.z]+[x.r for x in y if x.z]: This iterator is a mess, let's look at it's parts, which are:
[x.q for x in y if x.z]
+
[x.r for x in y if x.z]:

[x.q for x in y if x.z]: y is an iterator. Return only the q property of each item in y, only if the z property is defined. This results in a list (another Python datatype which you can think of as an array) being return, of q properties.

[x.r for x in y if x.z]: y is an iterator. Return only the r property of each item in y, only if the z property is defined. This results in a list being return, of r properties.

+: Combine the list of q properties with the list of r properties.

Like learning another (human) language, it it incomprehensible at first. However, I'm no Pythonista and even for me it was very simple to figure out what this does.

Comment Re:Predators become Parasites? (Score 1) 85

i'm guessing the fact that it was aquatic dissuaded the rats and ferrets. I'm not sure the size of the creature means the small parasites would ignore it, either.

I'm guessing leeches and little shrimp-like things and jesus that's disgusting. No wonder it's extinct. Good thing, too. You wouldn't want one of these wandering into your backyard to get into your garbage. It would give your dog a heart attack.

Thanks, now we know what was swimming around in the Death Star's garbage disposal. They've just unearthed a Dianoga!

Comment Re:sponsered phones. (Score 1) 116

How is the modability of the Kindle firmware these days? I know earlier versions are relatively tamed at this point; but any time I see 'with offers' my loathing gland swells.

I bought the B&N Nook for $99 and rooted it. Works great, I use it to study with Ankidroid.

Comment Re:Agree 100% (Score 1) 253

Car dealerships should be required to keep an inventory for every model on-hand in case my car needs to go in for warranty service for an extended period.

Actually, in my country (Israel) this _is_ law. All car dealerships have associated garages that must supply seven years worth expected spare parts for all new vehicles, including non-wear parts such as body parts, and to maintain that stock. I'm not sure about how the details pan out for older vehicles, but it ensures that the company cannot just up and leave us without any parts.

Comment Re:Alternative Title (Score 1) 155

And the state of the hardware. Some unknown number of systems on the real curiosity are degraded to the point of malfunctioning; And they have little to no way of exactly measuring what and where.

Opportunity. Curiosity is on the other side of Mars, nuturing holes in its wheels and looking for cats to kill.

Comment Re:Quite simply... (Score 1) 548

OK, I'll bite. :)

Standardizing on tabs helps mitigate this, as everyone sees what they like to see (I se tabstop=4 in vim on my vertical monitor, my emac-using coworker likes tabs to look like 8 spaces on his widescreen monitor), yet indentation level 3 is represented by 3 of something, not 12 (as I would have it) or 24 (as Stas would have it) of something.

Comment Re:Switch to linux / OsX. (Score 1) 331

Which will last exactly as long as it isn't profitable to make a virus for it.

If everyone swapped to a certain distro of Linux, I'd be willing to bet you'd have major problems within a week.

Then why isn't there "major problems" with CentOS / RHEL which are on the majority of computers connected to the internet? Because they are running an Apache webserver instead of a Gnome desktop?

The truth is, Linux computers are heavily represented on the internet yet we still don't see anything significant in the way of Linux malware.

Slashdot Top Deals

E = MC ** 2 +- 3db

Working...