Organic Robotic Motion created thru Evolution

This is very organic. I am really impressed, not what I was expecting to see.

Posted on April 25, 2010 at 4:18 pm by Jordan Carter · Permalink · Leave a comment
In: Artifical Intelligence · Tagged with: ,

Jesse Schell on the future of gaming

This is some interesting ideas.  It a different perspective on the generally accepted privacy is good, publicity is bad.

Posted on April 2, 2010 at 2:25 pm by Jordan Carter · Permalink · Leave a comment
In: Gaming · Tagged with: 

Git /usr/local/lib/liblber & /usr/local/lib/libldap_r no version information available error

I just updated my system today and rebooted (I like to reboot once a couple weeks…) and git started freeking out on me.

I tried to git add ap [tab tab] but “git: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/libcurl-gnutls.so.4)” would pop up before the auto-complete and mess everything up. I could continue without autocomplete but thats not a console I want to be in.  I need my terminal to give me auto complete!

I fixed it by
Read the rest of this post »

Posted on April 1, 2010 at 10:28 am by Jordan Carter · Permalink · Leave a comment
In: Server Config, Ubuntu Tricks · Tagged with: 

MySQL Admin via SSH Tunnel

Lets create a ssh tunnel into our remote server so that we can connect MySQL Administrator.  This will trick MySQL Administrator into thinking that it has a local connection to the remote machine when it doesn’t.  This is great for getting around having only local MySQL access rights while trying to login from a remote machine.

ssh -N machine_username@hostname.com -L 3305:localhost:3306

Now boot up MySQL Administrator and connect to localhost or 127.0.0.1 port 3305.  Bam, your into your remote mysql server.

You may notice some werid things like “Server not running”, ignore it.  Basically it means that it has connected to the MySQL server but can’t find the program running locally.  Also the MySQL Administrator interface will hang a bit when fetching data.  Silly one threaded programmers.  Always disconnect your UI from the data via threads!

Posted on March 18, 2010 at 8:30 pm by Jordan Carter · Permalink · Leave a comment
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: ,

SEO for large Dynamic sites

Over the last year I have worked very close at improving the SEO for a large dynamic website.  The website has 200k+ pages, 99% of which are user content.  The website currently relies solely on Google traffic and has no large inbound links.

Here is some of the things that I have learnt first hand that have improved our traffic.

Step OneStart measuring it.

Without measuring something you are trying to improve, you will never improve it. Period. Read the rest of this post »

Can’t Access Github behind proxy or Firewall

Use corkscrew to get through the firewall. You will have to install it from source.

website: http://www.agroman.net/corkscrew/

Now edit your ~/.ssh/config file, create it if you haven’t got one.

> cat ~/.ssh/config
Host gitproxy
User git
Hostname ssh.github.com
Port 443
ProxyCommand /usr/local/bin/corkscrew proxy.example.com 3128 %h %p
IdentityFile /home/jordan/.ssh/id_rsa

Now use this proxy when cloning git Read the rest of this post »

Posted on March 17, 2010 at 9:45 pm by Jordan Carter · Permalink · 2 Comments
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: , , , ,

PostGIS psqlostgis ERROR could not load library /usr/lib/postgresql/8.4/lib/postgis-1.5.so

Trying to install PostGIS and you can’t get past this error?

psqlostgis.sql:57: NOTICE:  type “spheroid” is not yet defined
DETAIL:  Creating a shell type definition.
psqlostgis.sql:57: ERROR:  could not load library “/usr/lib/postgresql/8.4/lib/postgis-1.5.so”: /usr/lib/postgresql/8.4/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance
psqlostgis.sql:63: ERROR:  current transaction is aborted, commands ignored until end of transaction block
psqlostgis.sql:68: ERROR:  current transaction is aborted, commands ignored until end of transaction block

A simple solution to your problem is the following voodoo command Read the rest of this post »

Posted on March 10, 2010 at 12:44 pm by Jordan Carter · Permalink · 3 Comments
In: Ruby on Rails, Server Config · Tagged with: , , , ,

Open remote application window over ssh – X11

You left the office but forgot to leave an application running.  An application that requires it’s GUI, you try to open it via ssh but “Error: Can’t open display” prevents you.

Simple fix here, you will kick yourself.

DISPLAY=:0 <command>

for me this translated into

DISPLAY=:0 transmission

What this does is instruct the application to open in display 0, which is the remote machine.

Posted on December 29, 2009 at 8:18 am by Jordan Carter · Permalink · One Comment
In: Ubuntu Tricks · Tagged with: , , ,