Interblag

You are currently browsing the archive for the Interblag category.

Still Bloggin’

This just in… this blog, not defunct!

Ya I really don’t blog enough anymore. Not that I ever really updated “frequently”, but it’s been way too long since my last post.

Since then, a lot has happened that I should have blogged about earlier…

I had a really amazing, magical Christmas, definitely one I’ll remember forever. It was the start of a new tradition, and the significance and joy of that resonates with me still. New Years Eve was really special too, and it was the perfect way to celebrate 2008 and welcome the start of 2009. 2008 was a banner year for me, unquestionably the best year of my entire life. It was a year of discovery: I found an exciting new city to move to, a great new career to enjoy, and an amazing, incredible, beautiful woman to fall in love with. And I know that 2009 will be even better, a year of building on the success and happiness of 2008, so I’m looking forward to the rest of the year with unparalleled excitement and anticipation.

There’s a new president in the United States, the guy I’ve been hoping would win for the past couple years. That’s exciting, more so for me than ever before, considering my plans for the future. The whole economic situation freaks me out a bit, to be honest, especially considering my industry and my visa situation. But I’m still very optimistic about my career and my immigration hopes. No matter what happens, the future has so much opportunity, and I intend to seize those chances and make the most of them.

The coming months will be months of transition for me – finally moving to my new city, my new place, my new life. I’m looking forward to it more than I can describe. Yes I love Calgary, my family, my friends here, and what the city has meant to me for my entire life – but at the same time, I’m ready to move on. To move on to new possibilities, new experiences, and to be closer to the most important person in the world to me.

Along the way, I’ll still be blogging, so keep reading. The best is yet to come.

I said oooh, girl, shock me like an electric eel

Tags: ,

Twitter sidebar hack

So by default the official Twitter HTML/Javascript badge doesn’t actually let you click-through hyperlinks, they’re just displayed as normal text the same as everything else.

The main JavaScript function from that badge is:

function twitterCallback2(obj) {
	var twitters = obj;
	var statusHTML = "";
	var username = "";
	for (var i=0; i<twitters.length; i++){
		username = twitters[i].user.screen_name
		statusHTML += ('<li><span>'+twitters[i].text+'</span> <a style="font-size:85%" href="http://twitter.com/'+username+'/statuses/'+twitters[i].id+'">'+relative_time(twitters[i].created_at)+'</a></li>')
	}
	document.getElementById('twitter_update_list').innerHTML = statusHTML;
}

So basically it’s just inserting into the twitter_update_list  (the list in the sidebar)  the text of each tweet, and then a link to that particular tweet with the “relative time” as the link text, with a separate relative_time(datetime) function that just converts an actual timestamp to an ordinal name.

So because there’s no formatting inside the twitters[i].text, links are displayed in the same formatting as any other text.

So even though this is kind of a major design flaw (imho), especially coming from Twitter themselves as the official blog badge, it’s just them being simple with their function – low frills.

BUT, we can be a bit fancy with regular expressions. So, if we add another script that replaces the twitter_update_list with a formatted version (that we subject to a search-and-format for links using regexes), then we can force the Twitter sidebar to have true links.

document.getElementById('twitter_update_list').innerHTML = document.getElementById('twitter_update_list').innerHTML.replace(/https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?/g,"<a href="$&">$&</a>");

Overall, this shows that regexes can indeed, save the day.

this way is a waterslide-away-from-me-to-chase-her-fuller-everyday

Tags: ,

Sean Galloway

So here’s a post I originally drafted back in July but neglected to publish:

I discovered the art of Sean Galloway due to his awesome Ironman piece (below), and I just thought I’d give a shout-out to the guy, and encourage you to check out his site.

I really like his style: it’s comic exaggeration mixed with accurate representation; sharp, crisp lines and subdued but well-employed use of colour; and an interestingly distinctive blend of Japanese/American influences. I think this guy could be a great webcomic artist!

These are some of my favourites.

null

I leaned on the wall, and the wall leaned away

Tags:

thingpart

It’s been too long since I’ve updated the webcomics page, but I’ve been going through the archives of thingpart by Joey Sayers, and it’s rather amusing, and definitely worth checking out. Well, if you like webcomics that is. If not – nothing to see here, please move along.

there’s a hundred hearts soar free

Tags:

(And as I start this post, I can’t help but sing that Carmen Sandiego song to myself – the kinda good one, not the one that totally sucked.)

Anyhow, so ya, San Diego Comic-Con is this week. Man I’d love to go check it out someday. Obviously I can’t go this year, but maybe next?

I’d certainly relish the opportunity to meet many of the geniuses behind most of the webcomics I enjoy. Plus there are always random “celebrities” (usually not in the mainstream, but famous/recognizable for having starred in an awesome sci-fi show or something, and thus heroes of geekdom) who I’d enjoy meeting / getting an autographed picture from. “VICTORY!!!” Haha, subtle reference: props if you got it without clicking through.

And it’d be cool to hang out with tens of thousands of other, like-minded comic fans. Although I imagine most of them are considerably more h-core than me (my knowledge of anything non-webcomic is extremely limited, and don’t even start with the anime…), I think it’d be an excitingly entertaining environment.

Heck, I’d even wear a costume.

Ok, maybe not that one. But definitely this one. Although there’s something to be said for anonymity.

there’s no sleep on the journey away from time

Tags:

It was at precisely the moment when I began to think that the final chapter of Dr. Horrible was actually starting to suck that it suddenly became much better than I had hoped for…

*Spoiler alert!*

Read the rest of this entry »

Tags: ,

« Older entries