June 2nd, 2008 |
by clong |
published in
Django, StartupIndex, Web Development
Recently on StartupIndex.ca, I’ve noticed a problem where the first time you login it fails, the second time it works. I sat down last night, and spent some time attempting to solve this problem. My search on the greater web didn’t end up with very many results, I did find one mailing list thread on [...]
May 29th, 2008 |
by clong |
published in
Web Development
I’m starting to work on a project at Well.ca using Java and REST. Knowing the amount of REST libraries out there for other languages, I figured there would be a good amount for Java. Wrong!
There is a Java specification currently in draft for REST, it’s called JSR 311. Now the problem with this is that [...]
May 29th, 2008 |
by clong |
published in
JavaScript/Ajax, Jquery, Web Development
IETester was just released, this tool looks to be incredibly handy. Right now it’s in Alpha, but I’m still planning on using it. Previously I used Multiple IE, but I found that to be a little buggy and prone to not work at all at times. I’m planning on giving it a try sometime today, [...]
April 29th, 2008 |
by clong |
published in
Django, Web Development
Just a quick snippet, I call this code on a site I’m working on to handle some basic moderation. It finds the difference between the two instances, and returns a dictionary of the changes. The key in the dictionary is the field name, each value in the dictionary is a tuple containing the new and [...]
April 28th, 2008 |
by clong |
published in
Django, Web Development
I have just recently started working with Django again, its been a while since I last used it. One thing I was trying to do was cache querysets, which doesn’t work. Before the recent merge of the queryset refactor branch into trunk, caching querysets appeared to work, in reality it didn’t. Now with the merge [...]
March 17th, 2008 |
by clong |
published in
Web Development
One of the main uses of this blog is for me to post some of the neat things I’m working on at Well.ca or on my own time. To do this, I need to have a decent syntax highlighter to make all the code I post nice and pretty. I searched the web and came [...]
August 24th, 2007 |
by clong |
published in
PHP, Web Development
What’s the best way to handle did you mean? It’s one of the greatest features of Google, I never worry about misspelling search terms because I know Google will always show the error of my ways.
On Well.ca we had previously implemented this feature using Levenshtein, this measures the number of permutations to get from one [...]
August 9th, 2007 |
by clong |
published in
Mac, Web Development
At work, me and my boss, Ali, (we’re the developers) both use Macbook Pros as our development computers. Which is great for most things, I love Macs. The only problem is that we’re developing an online site, and the reality is that Internet Explorer is still the most dominant browser. Right now, we’re using Parallels [...]