Ricky Stone’s Two Fingers to DJ Mag
Ricky stone has extended a 2 finger salute to the DJ Mag poll. The spot says it all I think:

Popularity: 4% [?]
Copy mysql table between servers/databases
Posted by Bricky in Programming on July 20, 2009
This is one of those reminder-to-self style posts.
To copy mysql table tablename from database1 on server1 to database2 on server2, issue the following command (on either server)
mysqldump -h server1 -u user1 -ppassword1 database1 tablename | mysql -h server2 -u user2 -ppassword2 database2
user1, password1, user2, and password2 are the respective usernames and passwords to use on server1 and server2, respectively. Note that there is no space between the -p and password (unlike the other switches).
Popularity: 7% [?]
Wolfram|Alpha
Posted by Bricky in Uncategorized on May 14, 2009
Following from yesterday’s post about Google’s inference engine, someone directed me to a similar project called Wolfram|Alpha which is going live next week.
This is an incredibly interesting video (if a little drawn out):
Popularity: 4% [?]
Google’s Inference Engine: The Google IQ
Posted by Bricky in Uncategorized on May 13, 2009
Something that’s been on my mind for a bit, brought to the fore today because Google is launching a new product based on it:
Inference Engine
One of the wonderful concepts of artificial intelligence is the inference engine. It’s a kind of computer algorithm that allows computers to reason things. Even in a very simple form, it can achieve (what we perceive as) quite complex reasoning.
If it knows:
- Barrack Obama is the US president
- The US president lives in the white house
then it can infer that
=> Barrack Obama lives in the white house.
So the system can know a third “fact” by knowing the first two. It’s kinda smart.
If you add more facts, the system gets smarter, learning just like a child. And the more facts you add, the smarter it gets, just like a child. This is the basis for most modern forms of artificial intelligence. So what stops people making a super-intelligent inference engine? Someone has to teach it the facts. And, considering the number of facts required to make a system usefully intelligent (in a general sense) – it’s not worth the effort.
Enter the Internet, and Google
Google trawls the internet every day, which contains billions and billions of facts – waiting to be reaped. Up until recently, it just stored the content of the pages, so if you searched for words, it showed you the pages that contained those words (or had links containing your words pointing to them). But, as of late, it has started using some kind of inference engine (I noticed this lately when searching for a company director, it gave me the location of his company). And today, Google announced that they do in fact use an inference engine, and will be using it to help searching in their future products.
So, here we have an incredibly large source of information, containing most of mankind’s knowledge, and an inference engine that is reading it, and gradually getting smarter – based on its knowledge. In time that inference engine will be very smart indeed. Which would be fine, if it weren’t for its source of knowledge: the internet is not fair, just, true, or moral.
This system is currently in its infancy. Do we want it to grow up having learnt everything it knows from the internet?
Popularity: 6% [?]
An Ode to Scrubs
Posted by Bricky in Uncategorized on May 11, 2009
As the third best show on TV (the 2nd is Lost, and the number one slot goes to House) comes to a close, I feel it is time for me to express my deep sense of regret in poetic form.
Oh Scrubs,
Scrubs,
Scrubs,
Scrubs,
Scrubs,
We’ll miss you.
After eight glorious years the funniest show on TV has come to an end.
Popularity: 4% [?]
Windows 2003: Prevent user login via the console
You’d think that “Deny logon locally” would do it right? Even the documentation suggests that this is the case. But of course you can’t apply that policy to administrator account (presumably because any user called ‘administrator’ must be dumb), so it’s completely useless.
The perfectly obvious and not at all in any way obfuscated way to do it is actually to add the user in question to ‘Remote Operators’ group.
Wonderfully clear isn’t it. Windows I mean.
Popularity: 7% [?]
getmail FutureWarning with python2.3
Posted by Bricky in Programming on May 5, 2009
Some python (I assume) update on an old Centos box made getmail bork:
/usr/lib/python2.3/optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will
return a signed string in Python 2.4 and up
return ("<%s at 0x%x: %r>"
It gets more than a little annoying when you get emailed those few lines several hundred times per day. However, according to the getmail FAQ, it’s not their fault – it’s the nasty evil lazy python developers’ fault.
Changing the top of the /usr/bin/getmail file to ignore the warning made it go away:
#!/usr/bin/python -Wignore::FutureWarning
Popularity: 3% [?]
CSS min-width for Buttons in safari/webkit
Posted by Bricky in Mac, Programming on April 16, 2009
… has stopped working in the latest webkit versions (for quite some time actually).
CSS min-width ignored for input type=”button” on webkit
(ok, you guessed it, I’m posting this just to draw uncle G’s attention. Sorry!)
Popularity: 8% [?]
United Buddy Bears, Plaza San Martín, Buenos Aires


A rather novel idea: bear statues, each decorated independently by an artist on the theme of a country. Called the United Buddy Bears, they are touring the world and spending a few weeks in Plaza San Martín in Buenos Aires.
Popularity: 6% [?]
Floralís Genérica, Buenos Aires
This is simply a gigantic metal flower which opens and closes in response to the sunshine.


Designed by Eduardo Catalano, and built with the help of Daimler, it was gifted to the city in 2002.
Popularity: 5% [?]

