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


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Really, Microsoft? (Score 1) 327

A few months ago I abandoned about half my Steam library, switched to a Manjaro-OpenRC and I'm not looking back.
These stories are a good way to remember why I only have a bit less than 200 games left on my machine.
That and the fact the computer does what I want and feels much more responsive than it used to.

Comment Random data storage required. (Score 1) 143

You may notice they never do these stunts on ASCII text files.

The attack always requires to be able to store a large number of random data on the document.
There are 62 different bytes in the provided PDFs : part of these are the edited message, part of them are the 'attack'. That's 496 bits.

So it may be applied to any kind of document allowing to store about 496 bits of (invisible) data on it (and to be on the safe side, I'm assuming even half of that could be enough).
Not all successful attacks will require the size of the document to not change.

To look at it on a subject I dabble in (DNSSEC):
In DNS the chain of trust puts a hash of the zone key on the level above, along with a 16 bits checksum.
I'm assuming the checksum to only represent a 'minor' inconvenience.

This means that an RSA DNS key may be forged as it's basically stored as the exponent followed by any number of bytes (limited to 1KB : more than enough).
On another hand Elliptic curve seems out of the question as their size is small and constant.

All this to say, the vulnerability of SHA-1 is to be taken with a grain of salt.

Comment Re:This could not possibly go wrong. (Score 1) 341

I believe you misunderstand the meaning of "communist".
In short ...
Communism is opposed to capitalism.
Fascism is opposed to liberalism.
Liberalism is, among other things, about accepting implicitly every idea and wanting to discussing about it.
Fascism is, on the same subject, about thought police and censorship.

A few quick searches should point out what I mean.

Comment History repeating itself ? (Score 1) 142

I thought it had already been tried with less complex AI in the last century.
They were basically selling when the price was dropping and buying when the price was rising.
The mass of automated idiots following the same rules led to an amplification of the effect and very soon : ruin.

I think this is the story I'm talking about.

Comment Re:Recursion is dead! (Score 1) 600

Please do not do this.

Do one allocation of the sum of the 3, taking alignment into account (ie: 8) and divide the allocated block to the relevant objects.

One NULL test.

One free.

I understand you were making a point, but we are speaking about "good ways" and this itches so much I had to reply -_-;;;

Comment Re: Doing it wrong? (Score 1) 600

Don't forget that the recursion will most likely save some register context you have no control of plus the call return address.
Plus calling is not free.

That being said, I find the drawback acceptable in most cases.
If optimization is required, there is always time to do a more suitable implementation later.

Slashdot Top Deals

Pound for pound, the amoeba is the most vicious animal on earth.