Kasper Tidemann - human, developer, businessman, man of the world.
From our hands we give.

Month: September, 2012

RICON 2012

If you’re a fan of the distributed database Riak, you may know of the upcoming RICON 2012 conference in San Francisco. If you’re going, drop me a line in the comments section or write me on twitter – I’ll be there as well. Can’t wait to go!

How to clear the Ember Data store in Ember.js

Say you have developed a shiny new application using Ember.js and you’re making use of Ember Data for persistence. At some point in your application’s lifecycle – likely before a user logs in or when a user logs out – you might want to clear the data store to reset everything, including all loaded data […]

How to clear cookies using express 3.0.0rc4

According to the documentation of express, you need to call res.clearCookie(name, [options]); to clear a cookie. If the cookie is set with a path of '/', a call to res.clearCookie('<cookie name>', { path: '/' }) should clear it. However, I’ve experienced numerous times that this doesn’t work, even when the paths are the same. If […]

Handlebars 1.0 RC1 is out!

Handlebars has been in a beta state the past 9 months, fully operational and stable. However, just three days ago a version 1.0 release candidate 1 popped up on GitHub. According to the commit history, the latest release contains a bunch of smaller bug fixes and improvements. Download the release candidate here.

gridster.js

The lovely folks over at Ducksboard wave their magic JavaScript wands around in order to create real-time dashboards for business metrics. In this relation, they have just open sourced and released their gridster.js jQuery plug-in that allows for building draggable elements spanning multiple columns – it’s what they use themselves in their product. It’s a […]

The new Ember.js router API is on the way

The core Ember.js team has spoken a bit about a new router API the past few weeks. Not much has surfaced from outside the #emberjs IRC channel on Freenode, but glancing at the public milestones of the project on Pivotal Tracker, Yehuda Katz is indeed assigned to this new router API implementation. Yesterday and today, […]

iPhone 5 website teardown: How Apple compresses video using JPEG, JSON, and <canvas>

I just stumbled across a highly interesting post by the guys from Cue. As you may know, Apple is pretty strict in terms of their video support and playback across their devices. The <video> tag can only be played in full screen on the iPhone and unless you create your own iOS app with a […]

Highlight lines of code on GitHub

Perhaps you already knew this, but I just recently stumbled across this neat trick myself. Whenever you link to a file on GitHub, you can highlight parts of the code using the #L hash in the URL. Here is an example of code hightlighting in the store.js file of Ember Data: https://github.com/emberjs/data/blob/master/packages/ember-data/lib/system/store.js#L8-12

Advice on & Instruction in the Use Of Ember.js

Trek Glowacki has written an excellent, in-depth, and hands-on blog post about Ember.js. In the article, Trek explains his view of Ember.js versus the many other client-side framework alternatives and provides a simple, solid tutorial on how to get started with a basic Ember.js application. It’s a must-read for anybody interested in the framework, and […]

Kasper Tidemann