Author Archives: Illume

Running jslint on saving JavaScript with vim

autocmd BufWritePost,FileWritePost *.js !jslint This will run jslint on your JavaScript files after you save them.http://vimdoc.sourceforge.net/htmldoc/autocmd.htmlhttp://vimdoc.sourceforge.net/htmldoc/autocmd.html#FileWritePostYou can add the command … Continue reading

Posted in javascript, js, jslint | Comments Off

Hotmail, xbox and microsoft live have been hacked.

Many people have been having their hotmail accounts been broken into and stolen.Microsoft writes about it on their security blog.I’ve meet a few people over the last week who know of people who have had their accounts stolen.The fraudsters are sending … Continue reading

Posted in hotmail, Microsoft, sony, xbox | Comments Off

Let’s make a shit JavaScript interpreter! Part Two.

Let’s make a shit javascript interpreter! Part two. As a learning exercise, I’ve begun writing a JavaScript ECMAScript interpreter in python. It doesn’t even really exist yet, and when it does it will run really slowly, and not support all js fe… Continue reading

Posted in javascript, python, shitjs | Comments Off

Let’s make a shit JavaScript interpreter! Part Two.

Let’s make a shit javascript interpreter! Part two. As a learning exercise, I’ve begun writing a JavaScript ECMAScript interpreter in python. It doesn’t even really exist yet, and when it does it will run really slowly, and not support all js fe… Continue reading

Posted in javascript, python, shitjs | Comments Off

Pyweek April 2011, this weekend.

Pyweek 12 – April 3rd-April 10th Find out more about PyWeek – “Invites entrants to write a game in one week from scratch either as an individual or in a team. Is intended to be challenging and fun. Will hopefully increase the public body of game t… Continue reading

Posted in pygame, python, pyweek | Comments Off

Pyweek April 2011, this weekend.

Pyweek 12 – April 3rd-April 10th Find out more about PyWeek – “Invites entrants to write a game in one week from scratch either as an individual or in a team. Is intended to be challenging and fun. Will hopefully increase the public body of game t… Continue reading

Posted in pygame, python, pyweek | Comments Off

Hammering nails – the hard way.

Do the following 1000 hammering tasks, and you will have learned how to use a hammer the hard way. You can do them from your bedroom. These are just like these guitar tasks that I do – in my spare time as a rock star. Well not really a rock star… … Continue reading

Posted in python | Comments Off

Hammering nails – the hard way.

Do the following 1000 hammering tasks, and you will have learned how to use a hammer the hard way. You can do them from your bedroom. These are just like these guitar tasks that I do – in my spare time as a rock star. Well not really a rock star… … Continue reading

Posted in python | Comments Off

Hacking on android and pygame.

For the last couple of weeks I’ve been hacking on my new android tablet in my spare time.It’s one of those cheap 25cm ones (10 inches). Dual core, nvidia graphics, and all of that stuff. Not a bad little device really.One project has been to port an … Continue reading

Posted in android, javascript, pygame, python | Comments Off

Hacking on android and pygame.

For the last couple of weeks I’ve been hacking on my new android tablet in my spare time.It’s one of those cheap 25cm ones (10 inches). Dual core, nvidia graphics, and all of that stuff. Not a bad little device really.One project has been to port an … Continue reading

Posted in android, javascript, pygame, python | Comments Off

pygame not doing gsoc.

pygame is not doing gsoc this year.We don’t have enough mentors who are active pygame developers to meet the new Python Software Foundation rules, so we’re not being allowed to participate. This year, you need at least three mentors from a project to … Continue reading

Posted in pygame, python | Comments Off

london clojure dojo

(Last night I went to the London clojure dojo.)(. javax.swing.JOptionPane (showMessageDialog nil (reduce str ["Hello" "London" "Clojure" "Dojo"])))This dojo was hosted by @otfrom and @rrees at the ThoughtWorks offices (many thanks to them). They put… Continue reading

Posted in clojure, london, python | Comments Off

london clojure dojo

(Last night I went to the London clojure dojo.)(. javax.swing.JOptionPane (showMessageDialog nil (reduce str ["Hello" "London" "Clojure" "Dojo"])))This dojo was hosted by @otfrom and @rrees at the ThoughtWorks offices (many thanks to them). They put… Continue reading

Posted in clojure, london, python | Comments Off

JQuery 1.5 promises a better future.

One of the new features of the unreleased JQuery 1.5 is a new $.ajax module.Apart from many bug fixes, the most interesting, and useful part for me is that it now uses promises. Those familiar with python and twisted, or the JavaScript library mockiki… Continue reading

Posted in javascript, python | Comments Off

JQuery 1.5 promises a better future.

One of the new features of the unreleased JQuery 1.5 is a new $.ajax module.Apart from many bug fixes, the most interesting, and useful part for me is that it now uses promises. Those familiar with python and twisted, or the JavaScript library mockiki… Continue reading

Posted in javascript, python | Comments Off

London python dojo pygame write up.

Last night I went to the London python dojo at the Fry IT offices.The night started with pizza, beer, and nerdy chats with everyone.Then two lightning talks. The first by @tomviner (Tom), on some funny and useful python modules. `pip install oo && py… Continue reading

Posted in dojo, london, pygame, python | Comments Off

London python dojo pygame write up.

Last night I went to the London python dojo at the Fry IT offices.The night started with pizza, beer, and nerdy chats with everyone.Then two lightning talks. The first by @tomviner (Tom), on some funny and useful python modules. `pip install oo &… Continue reading

Posted in dojo, london, pygame, python | Comments Off

Pyramid does 22, but how do you do zero lines of python?

There is an article talking about how in a certain configuration the Pyramid python framework uses 22 lines of python for a hello world app.How would your python web app run zero lines of code for a hello world? By pre-generating the html at startup -… Continue reading

Posted in python | Comments Off

Pyramid does 22, but how do you do zero lines of python?

There is an article talking about how in a certain configuration the Pyramid python framework uses 22 lines of python for a hello world app.How would your python web app run zero lines of code for a hello world? By pre-generating the html at startup -… Continue reading

Posted in python | Comments Off

Why HD looks weird.

Very often I’m sitting next to a HD teevee, and people say ‘that looks weird’.Why?There’s a number of reasons, but the two main ones are:when compared to SD digital teevee is: Poor colour depth compared to the number of pixels.For a person used to anal… Continue reading

Posted in HD, teevee | Comments Off