Summer Internship With The Citizen Lab

This summer I am lucky enough to be doing an internship with the Citizen Lab at the Unervisity of Toronto.

The Citizen Lab is an interdisciplinary laboratory based at the Munk Centre for International Studies at the University of Toronto, Canada focusing on advanced research and development at the intersection of digital media and world civic politics.

Source

The Citizen Lab has created such software as psiphon, and I have great respect for the work they do to keep the internet open. I was lucky enough to take a class with Professor Ronald J. Deibert and have Nart Villeneuve, who I will be reporting to during my internship, as my TA. Im really looking forward to it as this will give me a chance to work on software in a very diferent enviorment, and maybe even push some GPL code out into the wild. For more info about the Citizen Lab see the video below.

Edit: And as an extra bonus it seems I will get to code in python!

number_of_t-shirts = number_of_t-shirts + 1;

I got my Ubuntu Hardy Heron T-shirt Today. I will try and post some pictures soon. Maybe even update with a new hackergotchi.

Three XP Keys, But No XP Install

<rant>Although I get to use Linux mostly for work and personally, there always comes a time when I need to use Windows. It could be that I need to write a program for Windows, or that I have a friend, or family member that needs windows for something. This is one of those times.

What frustrates me most is that I’m trying to install Windows on a laptop that came with Windows Media Centre. That laptop has a Windows Media Centre key but I don’t have the Dell disks that came with that laptop, and I know I can order them from Dell and at the end of the day I just might have to do that (and end up paying for it). But what annoys me most is that including the Windows key on the bottom of the laptop, that I’m trying to install windows on, I have three legit Windows XP keys but cant get an install working. I have an MSDNAA Windows XP key, as well as the Dell XP key from the bottom of my laptop and what annoys me is that I have three valid XP keys and I cant seem to install XP.

I have no media center disks, annoying and I really don’t want to used bittorrent to download them. I don’t feel like I should have to steal software that I own

The MSDNAA ISO and key came from two different people, eg its my key buy my buddy burned the ISO when he got a key, maybe that’s causing the problem I will burn my own copy and find out.

Obviously my laptop is OEM for XP pro and cant be installed on another computer even though I have never used it.

Guess this is just another reason I use Linux, I find this so annoying. Microsoft/Dell should really have a website that I can find out why the one key wont work as well as download ISOs. I know this is the way things are and that me wining about it is not going to change anything but I really just wish if I had a CD key I could download the ISO and use that key on any computer (only one of course). This just makes my windows experience more painful and makes me want to avoid Windows more.</rant>

Also my blog still seems to be broken :( I don’t want to update and spam the planet again by removing the fact that I think I fixed one of the issues.

Geek Poll: What Do You Have Open?

I am a sucker for memes so In responce to this I give you:

1 firefox window
6 firefox tabs
0 emacs windows
0 emacs buffers
3 gnome-terminal windows
5 gnome-terminal tabs
1 text editor (geany)
9 geany tabs
1 IM window (pidgin)
6 pidgin tabs
1 music player (Banshee)

Wordpress Bugs and My Call For Help

I have been blogging for quite some time. During that time I have used blogspot.com, wordpress.com and now my own wordpress install. The main thing that has made me move from platform to platform is gaining more and more control over my blogging experience. With that said as of late I have been having some really problematic wordpress bugs.

  1. Wordpress republishes my rss feeds when I edit my posts
    I expected this was being caused by the Simple Feed Copyright plugin so I have disabled it. I had a reason for installing it but I would much rather be able to edit my posts and I’m not so sure how bother I am by other sites ripping my content (I would still rather they did not however). Despite my best googling efforts I have still not solved this problem.
    Any ideas? Update: Yup this seems to have solved it!
  2. Wordpress is no longer emailing me when someone comments on my blog
    Google did get me more information on this problem. But I have still not been able to solve it. Whenever someone comments on my blog I would like to be notified by email. Any ideas?

About my Setup

If I left out anything let me know. Hope you guys can help me.

Google Docs As An Expense Tracker

I am a huge fan of the google docs, In fact I am pretty much a fan of all of googles services. I love having all my information with me wherever I go and I am willing to “sacrifice” my privacy in exchange for that service. Anything really important and I will keep it on my own server but I am yet to have anything that I really worry about. That said some people might not want to use google to host there expenses, I do.

The great thing about using google docs to host my expenses is that I can add an expense from anywhere using the google docs form feature In the example I provided (Fake Expenses), I use the forum feature to add expenses on the road as well as getting real time updates about the amount of money I spend per day, week, etc.

If you would like to use my expense tracker you can view it here (Be sure to check all the sheets (Form, Overview, Worker, and Totals)), or download it here. Then simply upload it to your google docs and set up a form. Also feel free to play around and add fake expenses to the doc.

How do you track your expenses?

Update 01: Click here to get your own copy of the doc in your google docs. Thanks JR.
Update 02: Any idea why when I edit my posts they are being republished?

Mapping Wikipedia

I was reading reddit the other day and stumbled upon the fact that wikipedia has an API. Neat I thought, and having some free time since my exams are now over I figured I would play around a bit with it. When I browse wikipedia I often click from link to link, and have come to the conclusion that all articles are 6 degrees of separation. For example I can go from Ubuntu to Tesco to Japan to G8 to United States to George W. Bush bet you never knew Ubuntu was connected to George W. Bush. I once wrote a map of the internet program that people seemed to like to download and modify so in that spirit I wrote wikimap.py to map wikipedia. wikimap.py Requires pygraphviz (Install using sudo aptitude install python-pygraphviz). To use the program simply run the program and give it the wiki page name for example “python wikimap.py Norman_Graham” Note that Ubuntu is Ubuntu_(Linux_distribution) and you can find the full name in the address bar of your browser. For more complicated maps use wikimap.py –help for full usage info.

Here are a few examples that I created with wikimap.py


And a really large one being viewed in inkscape.

More examples including the dot files can be found at http://www.files.earobinson.org/wiki/. But there are a few features I would like to add:

  1. Generating the graph using python-pygraphviz currently takes a really long time and I would like to be able to do it faster
  2. Page links currently include templates, I would like to only use links in the body of the text
  3. It would be nice if the software cached previously seen connections. (But then I need to detect updates to that page)

If anyone has a nice simple soultion to any of those problems leave a comment. Also if you are able to generate any neat images I would love to see them.

My top 10 commands 2.0

I know that this has been done before but it seems to go around every once in a while and I always have fun reading them. So once again here are my top 10 commands.

My Computer

earobinson@MinusOne:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
143 cd
114 ls
53 make
48 svn
34 svnup
18 sh
12 cat
11 rm
11 geany
9 touch
earobinson@MinusOne:~$ alias svnup
alias svnup='. /media/data/dev/scripts/svnup/svnup.sh'

Laptop

earobinson@NaN:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
138 make
82 ls
70 cd
41 cmake
33 svn
19 svnup
18 cat
16 man
12 ./A/runA
10 geany
earobinson@NaN:~$ alias svnup
alias svnup='. /media/data/dev/scripts/svnup/svnup.sh'

Girlfriends Computer

earobinson@Null:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head<strong>
49 espeak
7 sudo
1 vi
1 top
1 ssh
1 man
1 ls
1 history|awk
1 history
1 exit
earobinson@Null:~$ espeak "love ya baby"

cmake

I’m currently working on a cross platform project. The code is C++ and I’m going to be doing most of my development on the linux side but I need all of my compile scripts to be able to work on windows. After doing some googling and talking to people cmake seems to be what I’m going to go with.

My problem is that the documentation sucks. In fact even the example on the site did not work when I tried to download it (Update: Thanks for fixing this Bill). I was able to download the file but it seemed to be an empty tar.gz file.

So with a bit more googling I was able to create my own example. I know the KDE guys switched to cmake but thats about it. Anyone have any experience with cmake? How did it work out for you? Any better recommendations? Better sites for documentation?

Hello World 2.5

Today I updated to wordpress 2.5, and I have to say its great. I love the new interface. As well as updating in response to all the websites stealing planet Ubuntu content I am going to try using the ©Feed plugin for wordpress. So we will see how that goes and I hope the plugin is not to invasive for people.

I am also loving playing with the Hardy Heron Beta and am looking forward to upgrading all my machines when it officially comes out.

In other news my girlfriend has now been using Ubuntu since Christmas and has promised to help me write a post about her experience.

Edit: I have nothing against other sites hosting my posts as long as I get a backlink.

Next Page »