I’ve just finished coding my first plugin for Wordpress. I’m calling it Vimeo for Wordpress (original huh?).
The plugin is simple to set up, it uses your Vimeo user name to grab your videos and your friends videos but there’s still an option to enter the URL of the video (the plugin takes the http://www.vimeo.com/ part out of it).
Anyways you should go try it out!
Using the patterns I made yesterday I’ve made a decipherer for the patterns that uses video input (and image input when it feels like working). So if you download it all, set up all the stuff and use the .qtz file it will decipher the marker sheets or any combination of the markers you put in front of your webcam. This is release 1 but over the next week or so I hope to get a second release up which will have more improved accuracy. So don’t delay, download today
I think it’s safe to say that jumping into a programming language you don’t know anything about isn’t a good idea. Especially when to use that language properly you have to install another OS. Yes OS X has finally fallen in one aspect, it’s not good for python. I’ve been writing trying to write a chatbot program (add gimpneek@hotmail.co.uk to your msn if you want to check it out) and I can’t get it to work. I can get it to read what people say but if the words they type in aren’t in my XML file then it throws a wobbly, even when it does decide to give output it just prints out everything in the first XML node, which isn’t what it should be doing.
I think the main problem is that I don’t understand python, and I definitely don’t understand the function my flash chatbot uses.
function findAnswer(the_str){
the_str = this.shaveChars(the_str);
var my_array = the_str.split(" ");
var firstFound = null;
my_array.push("text");
var pos = this.dataObj;
for(var i = 0; i < my_array.length; i++){
if(pos[my_array[i]] != undefined){
pos = pos[my_array[i]];
if(firstFound == null){
firstFound = my_array[i];
}
}
}
if(pos.length != undefined){
var text_array = pos.split("|");
for(var i = 0; i < text_array.length; i++){
var n = text_array[i].lastIndexOf(":");
if(n >= 0){
var x_str = text_array[i].substr(n+1);
this.execCallback(x_str);
}else{
this.output_txt.text += "PaedoBot says: " + text_array[i] + newline;
}
}
}else{
if(firstFound == null){
this.output_txt.text += "PaedoBot says: " + "Sorry, I don't understand. Please ask questions only." + newline;
}else{
this.output_txt.text += "PaedoBot says: " + "I don't know "+firstFound+" that is." + newline;
}
}
}
That’s the flash function that deals with searching for the terms. My Python version is a lot more uglier because I’ve just shoved it in the main chatHandler class. Oh well I’m sure I’ll get it at some point……
P.S. Why does Ubuntu deny me the simple pleasure of using the cmd key instead of the ctrl keep, it’s rather irritating that whenever my mind lapses and I go to paste some code using the cmd key that my window suddenly takes up the whole screen
As of recent my Girlfriend hasn’t had much luck whenever we’ve been in London, everytime we go up town she loses something. First it was her debit card, then her wallet, then her luggage(on the way back form Cornwall). So I decided to make her a wallet that she can use for the time being, I constructed it out of ‘Fragile’ tape, I also made another one using instructions I found at this Website . I was also thinking about maybe making wallets on the side, as a roll of tape costs £3 and I could sell the wallets for £5 and make a neat little profit as you can make 5 wallets from one roll if your good.
Wallet made from 'Fragile' Tape
Bus Pass Wallet made from 'Fragile' tape
The Bus Pass Wallet I didn’t use instructions for but I think it came out swell