* Posts by Spamfast

4 posts • joined 23 Jun 2010

CERN team uses GPUs to discover if antimatter falls up, not down


Re: Einstein's answer:

Unlike the other fundamental forces (electromagnetism, weak & strong or electro-weak & strong if you prefer) gravity has the peculiar property that it is, so far as we know, only ever an attractive force not a repulsive one. If mass and energy are equivalent (E=mc^2 and all that) then antimatter has positive mass and therefore will be subject to positive gravity. Any other result would tear a big hole in the standard model, at least as far as my admittedly out of date understanding goes.


Object to #YearOfCode? You're a misogynist and a snob, says the BBC


Re: RCJ misses the point, again.

"The "C" is redundant."

And yet after twenty-nine years I'm still using it to write code for everything from PIC micros to multi-core servers. (Sorry, couldn't resist.)

Seriously, I just get depressed when I hear the political/business high-ups banging on about school education's purpose being to equip children for work. School is supposed to equip children for LIFE, not just work. As has been mentioned by others, school should be providing basic life skills, exposure to the various options for adult employment & most importantly the ability to reason & learn for oneself. I am especially sick of the likes of the CBI who just want the taxpayer to fund the staff training they used to pay for out of company funds so as to make even more profits. (Along with "Don't tax our profits. Oh, but subsidise our loses, of course.")

* ageing leftie exits stage left, rant, rant, mutter, mutter *


I am NOT a PC repair man. I will NOT get your iPad working

Thumb Up


Ah yes. All too recognizable.

I've got some ways of handling the problem.

1. My fiancée bought me a T-shirt that has the simple message "NO, I WILL NOT FIX YOUR COMPUTER FOR YOU' printed in large type on the front & back. I make sure I wear it to all events where I'm likely to meet friends of friends or other strangers who might assume I've nothing better to do with my free time.

2. As ribosome hinted, answer "Certainly, but my accountant insists I tell you that my rate is £100 per hour plus expenses."

3. Memorise the phone number for PC World or some similar outfit and say "Sure, call this number to arrange a time."


No secret to stopping XSS and SQL injection attacks



We shouldn't be constructing DB queries by concatenating parameter strings onto constant strings containing SQL statements. The SQL query should be preprepared with parameter placeholders and then have the variables containing the data from the user bound to it. This not only does away with the risk of the sanitization not being thorough enough but is also generally quicker.