- Calendar -

March 2010
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

- Archive -

- Browse By Random Tag -

- Most Commented -

- Random Favourites -

- Blogs I Like -

- Email Viruses Received -

- My Geek Code -

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT d-- s: a- C++ UL++ P+++ L+++ E--- W+++ N+ o-- K- w--- O- M-- V- PS+++ PE-- Y++ PGP t++ 5+++ X R tv b+ DI+ D++ G e h r+ y+
--END GEEK CODE BLOCK--
Get The Encoder
Get The Decoder

- My Blog Code -

-BEGIN BLOG CODE BLOCK-
B6 d+ t++ k+ s++ u-- f i++ o+ x+ e l c-- --END BLOG CODE BLOCK--
Blog Code Encoder
Blog Code Decoder

- The Internet is Cool -

- Nifty Blog Toys -

RSS Feed

- Content License -

Blog

Server Naming Contest

The optimist in me would like to point out that my aforementioned stupidity regarding my toasting of Serenity has an upside: in the process of rebuilding my network and moving services around, I was able to rename all of the machines to conform to my new naming convention: famous Canadians.

So here's the list:

  • Dallaire (gateway and firewall) - Roméo Dallaire is a Canadian senator, humanitarian, author and retired general best known for his work as Peacekeeper in Rwanda during the genocide.
  • Trudeau (web, dns, imaps and fileserver) - Pierre Elliott Trudeau brought us our Constitution, our Charter of Rights and Freedoms, was a champion of national Unity and had a pair of big brass ones when it came to doing what he knew was right, opposition be damned. He is my favourite Prime Minister.
  • Douglas (laptop) - Tommy Douglas was the founder of Canada's nationalised health care system as well as the NDP. Champion for a range of socialist causes, he was depicted as a rebel in the CBC's Greatest Canadian series, I felt it appropriate that he get the laptop :-)
  • May (desktop) - Elizabeth May is a long time environmental activist and the present leader of the Green Party of Canada and the primary reason that I'm a supporter. She is all kinds of awesome.
  • Geist (my ps3) - Michael Geist is the Canada Research Chair in Internet and E-Commerce Law at the University of Ottawa. He's a Canada's #1 copyright reform advocate, and I couldn't resist the irony of attaching his name to a Sony product.

Now here's the thing. The last two people are not nearly as strong as the first three. I mean, don't get me wrong, May and Geist are awesome people, but I feel as though the both of them haven't really done enough to be compared to the other three. I'd like to hear a list of suggestions for different names, hopefully related to their function if possible.

There are also 3 more computers on their way (low-watt replacements for Trudeau) so while one of them will still bear the Trudeau name (the webserver), there are essentially 4 machines up for naming rights:

  • A domain server / DHCP server
  • A fileserver
  • My desktop (gaming, movies & development)
  • My PS3

So here's where you come in: I want a list of names to use for the above. Tell me why your Canadian is a good choice: Riel, Pearson, McClung, whomever you like, but tell me why. I'd also like to have some women in the mix if possible -- it just feels kinda weird to have all my machines be male :-)

The Day Curiosity Killed the Router

You may have noticed some sketchy uptime on this blog lately. For a few days there, my site would be online for a few hours, then drop offline for a few then return. It's done horrible things to my traffic as well as my personal productivity.

You see, my router, Serenity was falling apart. The little compact-flash card I was using was starting to flake out and I was seeing data corruption, segfaults and lots and lots of kernel panics. Not fun. This could be managed with the occasional reboot, but that's not a fix. No I had to buy a new cf card and rebuild serenity from the ground up.

This sounds more difficult than it is really. I just hopped down to London Drugs, bought a new card ($23 for 2gb! Looks like SD really did win that race) brought it home and opened up the box with my trusty screw driver, moved a few parts around and replaced the card. The only thing left was the install and configuratioin... except I got stupid.

The case fan was unplugged. I'd removed it months ago 'cause it was making noise and I wanted a quieter house. However, the CPU was *really* hot, so I thought it might be a good idea to test out if the noise was really tolerable or not. I took the little power wire and plugged it into a free set of pins and sure enough, the fan came on -- the server also rebooted.

I'd plugged one of the power cables right into the motherboard on some unlabeled pin. There was some scary-sounding beeping, and then the smell of burnt metal and plastic... even smoke. My curiosity, coupled with a stupid mistake (learn your cables Dan!) had had quite literally "toasted" my router.

So I'm now using my wireless router (originally just an access point) as my primary router and I'm already not liking it. I'd gotten used to handy things like IP blocking, and routing non-standard ports to standard ports to get around lame security on other networks -- all of it gone. However getting a replacement for serenity is looking to be around $400 so that's not going to happen anytime soon.

So let this be a lesson to you kids: be careful when playing with expensive hardware... one mistake and you really could fry your board :-(

OpenWeb Vancouver 2009

I attended my first ever OpenWeb conference yesterday and as per company policy, I have to report on and share what I learnt, so what better way to do so then to make a blog post for all to read?

General

OpenWeb is awesome. It's a conference where people from all over the world come to talk about Open design and communication and hopefully, learn to build a better web in the process. Attendees include programmers, entrepreneurs, designers, activists and politicians all with shared goals and differing skillsets. I shook hands with Evan Prodromou, the founder of identi.ca and WikiTravel, heard talks from the guys who write Firefox and Thunderbird as well as the newly-elected representative for the Pirate Party in the European Parliament, Rickard Falkvinge. All kinds of awesome I tell you.

Rickard Falkvinge: Keynote - On the Pirate Party

Founder of the Pirate Party in Sweden and now a representative in the European Parliament (thanks to proportional representation), Falkvinge was a passionate and eloquent speaker who covered the history of copyright, the present fight for greater control of so-called intellectual property and more importantly the far-reaching and very misunderstood effects of some of the legislation being passed to "protect" copyright holders while eliminating privacy rights for the public.

The talk was very in depth and difficult to cover in a single post so I encourage you to ask me about it in person some time. For the impatient though, I'll try to summarise:

The copyright debate isn't about downloading music, that's just a byproduct of the evolution of technology. As the printing press gave the public greater access to information, so has the Internet managed to disperse that information further. The problem is now that the changing landscape has rendered certain business models ineffective, these business are fighting to change our laws to preserve said model rather than change with the times. Ranging from the frustratingly shortsighted attempts to ban technologies that further file sharing (legal or otherwise) to the instant wire tapping on every Internet connection (and by extension phone call) of every free citizen without a warrant, many of these changes are very, very scary.

"All of this has happened before, and it will happen again" he said. Every time a technological advancement creates serious change for citizen empowerment in society, the dominant forces in that society mobilise to crush it. The Catholic church, gatekeepers of the lion's share of human knowledge at the time actively worked to ban the printing press. They succeeded (if you can believe it) in France in 1535. This time, it's the media companies and they're willing to do anything, including associating file sharing with child pornography and terrorism to do it. Falkvinge's Pirate party is becoming the beachhead in the fight for copyright reform. Now the party with the largest youth delegation (30%!) in Sweden, they are working to get the crucial 4% of the seats in Parliament they need to hold the balance of power and they need your help. He'd like you to send the party 5€ or 10€ per month and I'm already on board.

Angie Byron: Keynote - Women in Open Source

Those of you who know me, know that I can get pretty hostile when it comes to treating women like a special class of people (be the light positive or negative) so I was somewhat skeptical about this one. Thankfully, I was happy to hear Byron cover a number of issues with the Free software community ranging from blatant sexism (CouchDB guys... seriously?) to basic barriers to entry for anyone new to a project. There were a lot of really helpful recommendations to people wanting to engage 100% of the community rather than just one half or the other.

Blake Mizerany: Sinatra

Sinatra is a Ruby framework that went in the opposite direction of things like my beloved Django or Ruby's Rails. Rather than hide the nuts and bolts of HTTP from the developer, Sinatra puts it right out there for you. Where traditional frameworks tend to muddle GET, POST, PUT, and DELETE into one input stream, this framework structures your whole program into blocks a lot like this:

  require 'rubygems'
  require 'sinatra'
  get '/hi' do
    "Hello World!"
  end

That little snipped up there handles the routing and display for a simple Hello World program. Sinatra's strength is that it's simple and elegant. It lets you get at the real power at the heart of HTTP which is really handy, but from what I could tell in the presentation, there's not a lot available outside of that. Database management is done separately, no ORM layer etc. etc. It's very good for what it does, but not at everything, which (at least in my book) makes it awesome.

Ben Galbraith and Dion Almaer: Mozilla Labs

These are the guys who make the Cool New Stuff that comes out of Mozilla. You know those guys, they write a nifty web browser called "Firefox", I'm sure you've heard of them.

Mozilla Labs is where the smart nerds get together to build and experiment with toys that will (hopefully) eventually make it into a finished product. Sometimes that product is an add-on or plug-in, other times it's an entirely new project. It's all about how useful something is to the public. And as always, the code is Free. You may have even heard of Ubiquity, an extension to Firefox that promises to reshape how we use a web browser... they're working on that.

This time through, they were demoing Bespin, a code editor in your web browser. Imagine opening a web browser, going to a page and doing your development there: no need for a local environment, but without the usual disadvantages of aggravating lag or difficult, text-only interface. Now imagine that you can share that development space with someone else in real time and that you can be doing this from your mobile device on a beach somewhere. Yeah, it's that awesome.

We watched as they demoed the crazy power that is the <canvas /> tag by creating a simple text editor, in Javascript right there in front of us... with about 15 lines of code. Really, really impressive.

David Ascher: Open Messaging on the Open Internet

Ascher's talk on Open Messaging was something I was really interested in since I've been actively searching for information on federated social networking for a while now. The presentation was divided into two parts: half covering the history of email and it's slow deprecation in favour of a number of different technologies as well as how people are using it in ways never intended for the architecture. Major problems with the protocol itself were touched on, as well as an explanation about how some of the alternatives out there are also flawed.

He then went on to talk about Mozilla Thunderbird 3 and the variety of cool stuff that's happening with it. "Your mail client knows a lot about you" he says "but until now, we haven't really done a lot with it". Some of the new features for Thunderbird 3 include conversation tracking (like you see in Gmail), helping you keep track of what kinds of email you spend the most time on, who you communicate with most etc. and even statistical charts about what time of day you use mail, what kind of mail you send and to whom how often. It's very neat stuff. Add to this the fact that they've completely rewritten the plug-in support, so new extensions to Thunderbird mean that your mail client will be as useful as you want it to be.

Evan Prodromou: Open Source Microblogging with Laconica

Up until this talk (and with the exception of Falkvinge's keynote), I'd been interested, but not excited about OpenWeb. Prodromou's coverage of Laconica changed all of that.

Founder of WikiTravel and one of the developers on WikiMedia (the software behind Wikipedia), Prodromou has built a federated microblogging platform called Laconica. Think Twitter, but with the ability for an individual to retain ownership of his/her posts and even handle distribution -- with little or no need for technical knowledge required. Here, I made you a diagram to explain:

Federated Laconica vs. Monolithic Twitter
Federated Laconica vs. Monolithic Twitter

Here's how it is: whereas Twitter is a single central source of information, controlled by a single entity (in this case, a corporation), Laconica distributes the load to any number of separate servers owned by different people that all know how to communicate. Where you might be on a server in Toronto, hosted by NetFirms, I could be using a Laconica service hosted by Dreamhost in Honolulu. My posts go to my server, yours go to yours, and when my Twitter client wants to fetch your posts, it talks to NetFirms and vice versa.

The advantages are clear:

  1. Infinite scalability: Twitter's monolithic model necessitates the need for crazy amounts of funding and they still don't have a profit model to account for those costs. Laconica on the other hand means that the load is distributed across potentially millions of hosts (much like the rest of the web).
  2. You control your identity, not a private corporation.

The future is where it gets really exciting though. By retaining ownership of your identity and data, you can start to attach a variety of other data types to the protocol. For the moment, Laconica only supports twitter-like messages, but they're already expanding into file-sharing as well. You'll be able to attach images, video and music files, upload them to your server and share them with whomever is following you. After that, I expect that they'll expand further to include Flickr-like photo streams, Facebook-like friendships and LiveJournal-like blog posts. These old, expensive monolithic systems are going away. In the future we'll have one identity, in one place, that we control that manages all of the data we want to share with others.

Really, really cool stuff.

I went home that night and signed up as a developer on Laconica. I've downloaded the source and will experiment with it this week before I take on anything on the "to do " list. I intend on focusing on expanding the feature set to include stuff that will deprecate the monolithic models mentioned above... should be fun :-)

Drupal Oops

I closed out the evening with some socialising in the hallway and some ranting about how-very-awesome Laconica was to my coworker Ronn, who showed up late in the day. He wandered off in search of my other colleagues and I followed after finishing a recap with Karen Quinn Fung a fellow transit fan and Free software fan. Unfortunately though, I wasn't really paying attention to where Ronn was going, I just followed out of curiosity. It turns that out I had stumbled into a Drupal social where I was almost immediately asked: "so, how do you use Drupal and how much do you love it?" by the social organiser. James gave me a horrified "what the hell are you doing here" look and searching for words, I said something to the effect of "Um, well, I was pretty much just dropping in here looking for my co-workers... oh here they are! -- I like Drupal because it makes it easy for people to make websites, but I don't really use it because it gets in my way. I prefer simple, elegant solutions and working around something just to get it to work is too aggravating." Considering the company, my response was pretty well received. I backed out quietly at the earliest opportunity :-)

So that was OpenWeb, well half of it anyway. I only got a pass for the Thursday. I can't recommend it enough though. Really interesting talks and really interesting people all over the place. I'll have to make sure that I go again next year.

City Shorts this Thursday

The VPSN is holding a fundraiser / movie night this thursday that promises to be both interesting and fun. I'm going to go, and if you'd like to come along, let me know eh?

City Shorts: A Public Space Film Festival – Thursday June 18, 2009

Mark your calendars and join us for our first annual VPSN Film Festival and Fundraiser.

We've assembled an excellent set of short films that look at public space issues, Vancouver's urban scene and city life. Included in this diverse package are movies on urban greening, public art, urban exploring, parkour, billboards and corporate presence, graffiti, and more!

This is the VPSN’s first film fest and fundraiser and we hope you can all make it. It’s part of our strategy to use this excellent series of shorts to remind everyone that great city-making still lies within the hands of its citizens. Not only will you be getting an evening jam-packed with films on the public realm, but you'll also be helping the VPSN too. Silver screen action with an added benefit!

Thursday June 18, 2009. Doors open at 7:00pm, show starts at 7:30pm. Tickets: $10 / $8 Students and Seniors. VanCity Theatre, 1181 Seymour Street

Liquid refreshments will be available for purchase. And there will be some lively post-film entertainment to take in as well.

Be Part of the Plan

I thought that I might post a brief note on this whole Be Part of the Plan business from Translink.

For those of you not living in Vancouver, Translink is the Lower Mainland transit authority. Created just before the demise of the NDP over a decade ago as a way to offload the responsibility of transit from the province, Translink is an unelected body charged with support of all methods of transportation from Vancouver out to just past Langley. They handle SkyTrain, the road system, the West Coast Express, the Seabus and even the cycling infrastructure and they're notorious for tending to do so with very little input from the public.

So you can imagine what a remarkable thing it is to see posters and ads all over the place for this be part of the plan program they're pushing. They're trying to give everyone the impression that they're interested in public input regarding their responsibilities and to do just that, they've built a website, a blog, a Twitter account and set up a number of "consultations" with the public over the next few weeks.

It all sounds really great: public engagement on one of the most important civil issues in this generation is a pretty big deal, but unfortunately there's nothing engaging about the whole process. Instead, all of this, the website, the Twitter, the "consultations", are all targeted at one purpose: they want more money and they want you to agree with them on their plans for transit going toward 2040.

Every element of this outreach has the same message:

  1. You have three choices: more service, the same service, abysmal service
  2. You should pick the first one
  3. You should give them more money so they can do the first one.

Of course it's all framed like they're giving you all this really detailed information about the process of making hard choices about transit, but that's also bookended with statements like "we have a vision" on the one side and the usual "end of the world" rhetoric you hear if you don't make the "right" choice. What kills me though, and what should bother the hell out of everyone "involved" in this circus is that they entire process is framed with their own goals in mind. In other words, they've already made the decision and they're telling us that we have only one option for better transportation in this city and it's their plan. If you don't like it, that's it -- transit is doomed.

It's all quite dishonest and manipulative really. We know Translink's track record: over a decade of service with the transit adoption rate holding steady at an embarrassing 13%. They want more funding for their plans which we now know are just plain ineffective and we're being told that there is no alternative but to accept their position or give up. It's maddening.

I'd suggest that you attend one of these events and give them a piece of your mind (as I did) but I don't like encouraging people to partake in an exercise of futility. I would instead suggest that we come up with Better Ideas for transit in the Lower Mainland and work to pressure our elected officials to reject the Translink plan in favour of something more effective because this kind of manipulative behaviour should never be permitted to fly.

A Birthday Abdication

My mother had a great idea the other day and as I generally like great ideas, I'm going to go with this one.

Here's the thing, I'm turning 30 (that's three-oh (gasp!)) on the 25th of this month and I wanna have a party. This is the occasion for such things right? Trish was suggesting a dinner shindig in a Korean restaurant on Robson, and knowing Melanie she'd probably like to have something with bubbles :-) For my part, I just want my friends to be there 'cause I like my friends and as busy as we all are (especially me) I don't get to see you all nearly often enough.

Now, the great idea is that being that it's my 30th birthday, someone with some time on their hands can make me the fabulously awesome gift of organising the aforementioned party (or parties if you're feeling ambitious) for me. I'm terrible at this sort of thing and it's always nice when someone does the heavy lifting for something you're totally unqualified to do yourself. So, any takers?

pit-faulty