code
7 April 2009 | 12 Comments
I have wanted this for a while, and my brother linking me to this post was the last straw. So here is a very quick and simple plugin; it simply puts a button on the toolbar that you can click when you want to stop playback after the current song. I based the toolbar button [...]
Tagged in code, Linux, plugin, python, rhythmbox, Ubuntu
code
11 March 2009 | 4 Comments
So, I have merged the obsolete-syntax into the code from the last post. This has resulted in shorter, cleaner, faster validation which is also more correct. I didn’t like the fact that in the old code there were places where explicit try points needed to be included. It seems that these arose because the ‘obsolete’ [...]
Tagged in address, email, Haskell, rfc, rfc5322, validation
code
9 March 2009 | 4 Comments
Update: See the better code in the next post. In recent times there have been several calls for websites to properly validate email addresses. Invariably, the compiled regex from Perl’s RFC822 is pasted up as The Way To Do It. The problem with this is (as the source code from the Perl module notes) is [...]
Tagged in email, Haskell, parsec, rfc, validation