For a couple of years I have been running my development environments completely virtualized – there are many benefits in being able to quickly change operating systems and toolsets for working in different environments. With advancements in virtualization technology my original gripes with running things virtualized have more or less entirely disappeared. Unfortunately my virtualization environment of choice Parallels 7 on OSX has failed me terribly, I blame Microsoft too for forcing me to use […] Read more »
Js updates all-around!
As I have written previously I am involved in some really JavaScript heavy development target at “native” mobile apps done using Phonegap. The last month or so has brought a lot of framework updates which are interesting. First of all JqueryMobile 1.0.1 has been released and the upcoming (February?) 1.1 release is said to bring true fixed header/footer toolbars and scrolling. We’ll see… Steve Sanders has released knockoutJS 2.0 – this is actually the 1.3 […] Read more »
Speaking at SweNug

Tonight I will be speaking at SweNug, this is an introduction to Scrum and XP and will be based on the courses I have held for Addskills on doing Scrum in practice. I am looking forward to hearing what some of the members of SweNug think about Scrum, XP and agile in general; is it generally accepted everywhere or is it just the Agilist bubble I live in where everyone talks about Scrum, XP and […] Read more »
Generic repository interface for entity framework 4
Huy Nguyen has a great write up on implementing a generic repository interface that supports Entity Framework 4. His code is written in C# and today I had to rewrite it in VB.Net. The VB.Net version looks like this Public Interface IRepository Inherits IDisposable Function GetQuery(Of TEntity As Class)As IQueryable(Of TEntity) Function GetAll(Of TEntity As Class)() As IEnumerable(Of TEntity) Function Find(Of TEntity As Class)(predicate As Expression(Of Func(Of TEntity, Boolean))) As IEnumerable(Of TEntity) Function [Single](Of TEntity […] Read more »
Two minute timer feature update
The two minute timer that is available for download from the site has been featured and linked to from a couple of places around the internet. The technology it was built with is a few years old but still works in modern versions of Windows and is downloaded regularly by users around the world! I still use it myself for when I need to overcome some serious procrastination but more and more I am trying […] Read more »
Fixing pingchecker link locating code
I have installed the free pingback manager pingchecker since I wanted to be able to manually check and ping other blogs that I link to. Unfortunately for some reason the plugin doesn’t handle link tags with additional info/attributes like styles or a target. The problem is around line 270, the regexp which is used to find links needs to be updated to look like this: inputcontent.replace(/[^<]*(<a [^>]*href=(?:"|\')([^"\']+)(?:"|\')[^>]+>([^<]+)<\/a>)/g, function () { matches.push(Array.prototype.slice.call(arguments, 1, 4)); }); That […] Read more »
Working fork of iScroll 4 with extended acceleration
The problem that I had introduced in my iScroll 4 code just needed a simple fix. This was the code I had in my local file. speed = m.abs(dist) / time + (addVelocity ? velocity : 0) Speed should always result in a positive number, when velocity was negative then obviously the end result could be negative. In addition the effects were quite strange since sometimes multiple touchmoves would result in the speed being lower […] Read more »
iScroll 4 first fix for acceleration on multiple touchmoves

iScroll 4 is a great library for adding scrolling to mobile Html5 applications. Unfortunately I found that there is something missing in how the scroller works compared to native scrolling. After comparing how one of my HTML5 mobile applications scrolls compared to an equivalent native app I found one major difference that changes the feel of the iScroll scroller – multiple consecutive scrolls on the native app speeds up the scrolling. With iScroll 4 multiple […] Read more »
Knockout js 1.3 external native templates using xui
caseycorcoran and maverix (Andrew Harry) have created a gist for an external template engine using jQuery for Knockout’s new native templating feature in 1.3. I am using Knockout in one of my Phonegap projects but I am trying to avoid jQuery in favor of xui.js which is a much smaller library optimized for mobile phone HTML5 development. I have created a fork of their gist changing the ajax loading from jQuery to the xhr function […] Read more »
Is Phonegap dead already?
Recently Adobe acquired Phonegap developers Nitobi, read about it here and here. Does this mean Phonegap will die? Phonegap has been an open source, free product from the start. Nitobi have had a business model where they provide training, consulting and other value adding services – like their build service. As far as I understand Adobe have a completely different business model, they sell software licenses… There have been other examples of free software being […] Read more »