Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Still... (Score 1) 193

E.g., would you rather try to see which bit is set in a string like "0b001011010011011101011100" or have it broken up like "0b0010_1101_0011_0111_0101_1100" or "0b00101101_00110111_01011100". If it's a bit field, you may even want "0b001011_010011011_01_0_111_0_0" if breaking it into fields has meaning.

Such a small change to help readability...

If you're really interested in readability you would probably define those bits, like:

#define HIGHSTUFF (0b001011 << 17)
#define NOTSOHIGHSTUFF (0b010011011 << 8)

and then or them together.

Alternatively you could define a macro for your bit field, like:

#include
#define bitfield(a,b,c,d) 0x##a##b##c##d
int main() {
        printf("%x", bitfield(f,f,f,f));
}

Comment Re:Really bad explanation of the evolution. (Score 1) 133

Because you said that thousands of years ago specific genes were transplanted

No, I didn't say that. The example I gave was only to elucidate that a single gene (or even a bunch of them) doesn't define a population. I read my post again and the message still seems clear. But ok, I'll make it fucking transparent: suppose I write a book and copy an entire paragraph of Shakespeare's Hamlet, then proceed to burn every single copy of the aforementioned play. It doesn't matter that a paragraph continues to exist in another book, Hamlet went extinct.

Comment Re:Really bad explanation of the evolution. (Score 1) 133

I haven't said Denisovans were a different species... you are aware that the word "extinction" is not limited to species right? If all Caucasians | Africans | Mongolians died, their population would be extinct. Their genes would still survive in other humans, and that doesn't make any difference to the fact they would be extinct.

And how the fuck did you read religious connotations in my post? I'm an atheist.

Comment Re:Really bad explanation of the evolution. (Score 2) 133

The explanation of the evolution is terrible. If the gene was inherited from a "Denisovans" then that Denisovan didn't go extinct. His descendents are still among us. The gene did not spread through the population; the people who had the gene survived and people without the gene disappeared leaving more space for those survivors.

Yes, the "people with the gene" were called Denisovans, they "disappeared", therefore they did go extinct. It seems you don't follow the logic of your own statements.

And just to make it even more clear: suppose I make dog with the tomato gene for photosynthesis (a solar powered dog, how cool is that), then kill every single tomato plant in the world with some Monsanto shit. It doesn't matter that my glorious green power efficient dog would carry the tomato gene... tomatos would still have gone extinct.

Comment what? (Score 2) 80

By using FPGAs to accelerate certain specific types of workloads, Intel Xeon customers can reap higher performance for critical functions without translating the majority of their code to OpenCL or bothering to update it for GPGPU.

What? This doesn't make sense. Unless Intel invented a way to automatically generate parallel code (in which case it could also be used in GPUs), somebody would have to rewrite the relevant parts of the program in VHDL, Verilog, OpenCL, or whatever.

Comment Re:simulator? (Score 1) 167

According to Wikipedia and vocabulary.com:

Simulation
Simulation is the imitation of the operation of a real-world process or system over time.

Emulation
In computing, emulation is the technique used so one machine gets the same results as another.

So I stand by everything I've said, including that you're wrong.

Slashdot Top Deals

Arithmetic is being able to count up to twenty without taking off your shoes. -- Mickey Mouse

Working...