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

 



Forgot your password?
typodupeerror

Comment Re:Breeds Used in Study? (Score 1) 99

Ex-racing greyhounds certainly aren't all like the parent's experience. My girlfriend has two rescued greyhounds, and they behave like the description you gave. They sleep most of the day, and just need a walk in the evening to tire them out. (They're clearly build for speed - not endurance..) My guess is the parent's dog misses its owner - the ones I've met are very affectionate, and crave company. They also like order, so it could be a disruption of its routine affecting it.

Submission + - UK Police retains DNA data despite promise not to (circulartriangle.com)

redalien writes: "In 2008 I invited two policemen into my home and voluntarily gave them a DNA and fingerprint sample to help with a murder investigation, as they'd promised it would only be used for that investigation. I was never under any suspicion and could just as easily have said no. Almost a year after the investigation closed they have now confirmed that they've retained my samples and at my request have begun an investigation to see if there are sufficient "exceptional circumstances" to remove them.

I'm not the only one that was told samples would be removed, so if you've had such a promise from the police I recommend contacting their data protection registrar immediately."

Comment Is compiled PHP even possible? (Score 1) 295

PHP is a weakly typed language, so for any given operation, the interpreter will have to check the types of the operands and then figure out which operation(s) on the CPU to call to solve it. Also, as it's dynamic, the operand may not even exist yet.

So, even if you did write a compiler for PHP, instead of the PHP interpreter doing the type checking and figuring out what to do, you'd have to compile in some runtime checks to implement the same logic that's currently in the interpreter for every single operation. This doesn't sound to me like it'll be significantly faster (Although I'll freely admit it's just a gut feeling.)

So, a question to the room - if it's even possible, is there any advantage in compiling a dynamic weakly typed language to native code?

Comment Can there be a difference? (Score 1) 397

What puzzles me about Blu-Ray players is whether there can actually be a difference in picture and audio quality between cheap and more costly players. Ignore the analogue output - I appreciate the "better" player can have a better DAC. Also, I appreciate the "better" one could be more responsive in the menu system, load faster etc. But when it comes down to actually playing the movie, surely the player's just reading the data, decoding it according to a specified algorithm and spitting out the decoded version over HDMI?

Slashdot Top Deals

What is worth doing is worth the trouble of asking somebody to do.

Working...