Artificial Intelligence
If you're interested in Alice, Megahal, … implementations (or wrappers) in ruby/java
2 More Cydia Repositories
 
echo "deb http://apt.theiphoneproject.org/ stable main"; > /etc/apt/sources.list.d/iphoneproject.list
echo "deb http://iphone.sleepers.net/repofiles/cydia/ stable main"; > /etc/apt/sources.list.d/sleepers.list
New Song by Monzy - "So Fucking Pimp"
Mutha Uckers
Last Semester
Damn Right You Do
Compiling MegaHAL on OSX
If you ever felt the urge to compile megahal in OSX, here is what you have to do:
- Get the MegaHAL source (—>over here on sourceforge)
- unzip it
- replace every include of malloc.h with the full path (easy: perl -pi -w -e ‘s/\#include
/\#include <\/usr\/include\/malloc\/malloc.h>/g;' megahal-9.1.1/*.c ) - cd megahal-9.1.1
- rm -rf Megahal/
- make megahal
Open-Source installer.app Pendant
Jay Freeman aka Saurik has managed to port the Debian APT to the iPhone.
- removal of the older files from BSD Subsystem
- reorganization of your filesystem to free space
- installation of Cydia and a base Telesphoreo
Fast Typing
Using metaWeblog XMLRPC in Ruby
require "xmlrpc/client";
server = XMLRPC::Client.new("marc-seeger.de";, "/cgi-bin/mt/mt-xmlrpc.cgi";)
content = { :title => ‘Testpost using ruby and xml-rpc', :description => ‘hello world' }
result = server.call("metaWeblog.newPost";, 5, "USER";, "PASSWORD";, content, true)
works like a charm :)
Just to make some things clear:
/cgi-bin/mt/mt-xmlrpc.cgi <— movable type xmlrpc file
5 <— my blog id (I could see it in my admin interfaces URL)
Good sources to look at:
http://crafterm.net/blog/articles/2006/09/22/blog-content-migration-from-movabletype-to-typo-using-xml-rpc
http://www.xmlrpc.com/metaWeblogApi
http://www.agileprogrammer.com/dotnetguy/articles/BlogImporterInRuby.aspx
A good piece of source concerning the upload of pictures using "newMediaObject";:
http://www.koders.com/ruby/fid677AC3CD05E375C051C4E6153FA6D0711B3DEB30.aspx?s=ruby+cgi.#L637