CBC.ca | The Current | Nov 05/10 - Pt 3: Soviet Afghan War Veteran

Definitely worth a listen:

Soviet Afghan War Veteran

The end of Canada’s combat mission in Afghanistan is creeping ever closer. Canadians of all stripes continue to debate the wisdom of the mission and the sacrifices being made by Canadian soldiers.

Nikolai Lanine has an interesting perspective on that debate. He’s a Canadian … a public health nurse who lives in Victoria. But he was born and raised in the former USSR. And in 1987, he was drafted into the Soviet Army and sent to Afghanistan. He spent 16 months fighting there.

CBC Radio Producer, Steve Wadhams spent some time with Nikolai Lanine. He joined Piya in our Toronto studio to tell us more.

VexFlow - HTML5 Music Engraving

Yay SVG + HTML5 Canvas for rendering musical scores!

www.benjoffe.com | Texas Hold'em Experiment

A neat analysis of possible decks in texas hold ‘em.

HTML/XML manipulation in 6 lines of Ruby

There’s a post up on HackerNews about how awesome HTML parsing and manipulation in Node.js + jQuery is. It also mentions in passing hpricot, and asserts “The challenge with using these libraries is that they all have their own quirks that can make working with HTML, CSS and Javascript challenging.”

Well, nokogiri queries with CSS3 selectors or XPath if you need to get crazy, so beats the hell out of me what they’re talking about. Anyway, lets fix their post for them:


require 'nokogiri'
require 'open-uri'

page = Nokogiri::HTML(open("http://blog.nodejitsu.com/jsdom-jquery-in-5-lines-on-nodejs))
ruby_xml_link = page.css("a").select{ |a| a.text == "hpricot" }.first
ruby_xml_link.attributes['href'] = "http://nokogiri.org"
ruby_xml_link.content = "nokogiri (鋸)"
puts page

Here are my slides for my presentation at RubyKaigi 2010.

Mapping the world with DataMapper

Like Mom Like Dad

Neat blog.

A nice summary in slideshow format of cross domain issues on the interwebs. Interesting stuff.

Breaking The Cross Domain Barrier

I… wat?  Is that a swimming pool on the edge of a building?

Marina Bay Sands Hotel | News | Gear

I… wat? Is that a swimming pool on the edge of a building?

Marina Bay Sands Hotel | News | Gear