Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Definition of idiot (Score 1) 215

Right, so an admin tarballing the content of a user's folder is an idiot because he didn't check to make sure the shell he was using wouldn't pass any of the file names as executable attributes instead of, you know, file names?

The one line summary for this story is bad things happen to people who use a command without knowing what the command does.

The definition of the unix wildcard when used in the shell is:

"The character * is a wildcard and matches zero or more character(s) in a file (or directory) name."

Note that the definition doesn't include anything about translate filenames into other kinds of executable parameters.

Comment Who ever asked for this "feature" (Score 1) 215

Probably because anybody who's used the various Bourne-style shells for a while
considers it a feature, not a bug. This is a case where the Principle of Least
Surprise comes up with different answers for novice users and for experts:
"What? A * can expand into an unintended command argument?" "Yeah, what *else*
would it do - the shell is just globbing, it doesn't know for sure what the
command will do with the parameter".

Who asked for this feature? Can anyone give me a legitimate use case for "tar cf archive.tar *" evaluating as

tar cf archive.tar admin.php ado.php --checkpoint=1 "--checkpoint-action=exec=sh shell.sh"

instead of

tar cf archive.tar "./admin.php" "./ado.php" "./--checkpoint=1" "./--checkpoint-action=exec=sh shell.sh"

Comment Re:Far-fetched? (Score 1) 104

Passive RFID works in very much the same way as what this Kickstarter describes. An RF pulse gives it just enough juice to do a miniscule amount of processing (looking up a stored number), then broadcast it back out to the world. Yes, capturing background RF would take some doing, but I don't know that I'd call it all that far outside the realm of plausibility.

The difference is distance; RFID only works with the reader very close to the tag (or with a large, directional antenna). Remember that RF strength decreases by the square of the distance (inverse-square law) and even just a few cm away from the reader RFID tags stop working. These iFind tags would be receiving even less energy than that, and if you can't power an RFID tag with that you're not going to be able to power an active Bluetooth device either.

Comment Re:oh boy (Score 1) 274

China's downfall in production will come when the factory workers start having unions that are too powerful.

That's a bit of a leap, they don't even have unions!

...

If only the US didn't have unions, they could be in the same position as China; with a massive workforce of virtually slave labourers with no rights, huge polluting factories not bound by those damn profit sapping environmental laws etc.! What a wondrous future that would be! <tears>

Comment Re:Get a TV (Score 1) 186

And graphics programmers need both frame rate and pixels. 120Hz seems perfect, but once you try using 3D vision glasses, those LCD shutters bring back the flicker.

We're not using CRTs anymore, LCD panels don't flicker with the refresh rate so 24hz, 30hz, 60hz, 120hz will all be just as steady.

Comment Re:And hippies will protest it (Score 1) 396

That's an ignorant argument though. It's like telling a doctor not to bandage a slit wrist because it doesn't fix the underlying problem.

No it's not, it's more treating a wound that requires stitches with just a bandage when stitches are readily available to use.

No one is saying these types of things should be permanent, they're just to keep people healthy until economic development can provide a better diet. Somehow I doubt the people this would help are going to play the nirvana fallacy.

How much has it cost to develop and how much is it going to cost to plant this across the entire country (there's no info in the article) and how much would it cost to plant existing high vitamin A crops, say orange sweet potato to replace the locally grown sweet potato variety?

Why go to all the trouble of creating a new crop which is just a clone of an existing crop with a bit extra if it would cost the same to simply provide an additional crop?

Your cost claim is ridiculous. It costs a lot less to make a GMO than to fix a shitload of socioeconomic and political problems

Who says you can only start fixing poor diet once all the socioeconomic and political problems have been fixed? That's just dumb.

As for your corporate issue, this is developed by a university funded by a charity.

Is it really patent unencumbered? Just because Bill Gates is paying for its development doesn't prove it'll be free for farmers forever.

Perhaps you should RFTA before making assumptions. You've just justified the GP's post.

First of all the GP's post is a generalisation not related to this specific research, and secondly there's no detail in this article or anywhere else on how much it's going to cost and what, if any, strings will be attached to the deal.

Comment Re:And hippies will protest it (Score 2) 396

Yeah, the actual argument used against this kind of GMO use is that it would cost the same to treat the root cause of the problem by teaching people to grow a wider range of crops and the importance of a balanced diet, rather than this stop-gap solution that provides no long-term change (they're still not eating a balanced diet) and makes people reliant on western industrial food conglomerates with extremely poor human rights records.

Got any non-strawman arguments against that?

Comment Re:Meanwhile... (Score 1) 47

You CAN blame the Africans as they are to busy killing themselves.

Talk about victim blaming, how about we blame colonial countries for pillaging natural resources, slicing land up into arbitrary countries, pitting ethnic groups against each other and generally forcing everyone to live in western style cities that are perfect for breeding malaria mosquitoes?

Comment Re:Sometimes I wonder about half-assing it... (Score 1) 197

I can remember number.number.number.number.

I cannot remember ASDFDAVUDSFWSNASDCNACKEFADCKSA Which is also an IPV6 address

I can easily remember 10.0.0.0.1 as my new local 5-octet private subnet. But jeeze don't just add 500 alphabet characters expecting things to be the same.

You seem to not realise that IP6 has shorthand built in.

For example the IP6 address of Wikipedia is 2001:503:BA3E::2:30, not really that much harder than 91.198.174.192 is it?

Local subnets are even easier, fe80::1 is actually shorter than 10.0.0.0.1

Comment Re:20cm of stupidiy (Score 3, Interesting) 174

As I said in a follow-up comment as I forgot to quote it first time:

Fossil fuel subsidies reached $90 billion in the OECD and over $500 billion globally in 2011.[1] Renewable energy subsidies reached $88 billion in 2011.

Whatever the source of that money, we are currently spending over 5x more on fossil fuel than on renewables which makes the argument that we're spending a lot of money on renewables and not seeing much in return pretty moot.

Slashdot Top Deals

Many people are unenthusiastic about their work.

Working...