July 2010
2 posts
An Impasse in Web SQL Database land
From the spec (http://dev.w3.org/html5/webdatabase/):
This specification has reached an impasse: all interested implementors have used the same SQL backend (Sqlite), but we need multiple independent implementations to proceed along a standardisation path. Until another implementor is interested in implementing this spec, the description of the SQL dialect has been left as simply a reference to...
Find a PID for Specific Process
ps x -o pid=,command= | grep -E "^[0-9]+ INSERT_PROCESS_NAME" | grep -o -E [0-9]+
eg:
ps x -o pid=,command= | grep -E "^[0-9]+ lighttpd" | grep -o -E [0-9]+
Actually this is better
ps x -o pid=,command= | grep -E ^[0-9]+[[:blank:]]lighttpd | grep -o -E [0-9]+
In this format it can be used easily in an ANT build file or similar to find a process that you may need to kill:
<!--...
June 2010
1 post
May 2010
2 posts
1 tag
Coding and Climbing
Coding in a dynamically typed language is to freeclimbing, as coding in statically typed language is to lead climbing. In each, what can be achieved is proportional to ones skill, but the different requirements in baseline skill to avoid injury can be significant depending on the challenge posed by the peak / problem.
Personally, I love to free climb in territory I know and understand well, but...
April 2010
2 posts
Creating a New Lift Project for Google AppEngine
Some really useful information around the place on how to do this, in particular this groups thread is pretty useful.
Just update the command to initialize your project to the following and you’ll be in business:
mvn archetype:generate -U \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-blank \
-DarchetypeVersion=2.0-SNAPSHOT \
...
1 tag
Pockets of Distractability
I’ve basically decided to fire back up my tumblr presence after noticing that the traffic at is primarily showing interest around mobile development, cloud computing, etc. I certainly can talk about many other things, that I am either interested in or have experienced throughout my life - such as depression… in a patch right now actually :(
I have decided though (inline with advice...
June 2009
2 posts
2 tags
Should I use Tumblr instead of Wordpress?
Personality #1: Of course, they have done all the hard work and have created a fault tolerant attractive blogging community which is easy to use.
Personality #2: But you already have a perfectly good wordpress.org blog @ http://distractable.net/ which you can customize to your hearts content - why would you want to move that to tumblr?
P1: Well, for one doing all the maintainence on that blog takes valuable time that I should be spending cutting code.
P2: That's a fair point, but aren't you really happy with that design? Are you just going to throw it away.
P1: You're right - I am happy with that design. It's just kind of worked out. Maybe I could use that design on http://conceptualadvantage.com/ instead of the one I posted there.
P2: You could, but you may well regret doing this later. I'm sure there will be something cool you could have done on wordpress that you won't be able to do on tumblr and you'll be kicking yourself.
P1: That might be the case, yes.
P2: And what are you going to do with the posts on distractable.net? Those posts have been moved around more times than an army family. Can you even import them across to tumblr?
P1: Hmmm... another good point. I definitely need to think about this some more and do some research.
P2: Yes, you do - any make sure you investigate any pricing or ads that you might have to put up with on a tumblr blog.
P1: Yep - fair enough... will check that out.