Eamonn Faherty

Archive for November, 2008

Good and Bad news

by eamonn on Nov.20, 2008, under development

I have some good and some bad news! :(

My checkstyleas3 (python) development is on hold/canceled! :(

A colleague at work suggested a different approach to static analysis. I have had a look into it and it seems very sensible. It looks like I will be stopping development on my own project and start contributing to another. This is good as it is less work for me, the users of what i create will be using a well established system and everything will be delivered a lot quicker. I am keeping the checkstyleas3 project open for a little while, or at least until I get this new stuff setup. I have ordered a couple of books to help me. I will post reviews on them soon after I receive them.

Leave a Comment more...

Busy, busy, bee

by eamonn on Nov.02, 2008, under misc

I have been a very busy bee the last few weeks. Heather and I have set a date for the wedding !! (22nd August 09) !! We have received permission from the priest and we have a venue !! I am sure there will be more posting on the wedding in the next few weeks !!

I have had to rebuild flour.doughball.co.uk. It was in a bit of a state after I tried to get a media center installed on it. There isn’t very good suppor for VIA gfx chipsets in Linux! :( I am glad the job is done and the machine now seems a little better than before.

I have been using a script hellanzb for a while now and I still love it!!! I am using another script with it called PADS. it checks myepisodes.com for releases of shows and cross references it with newzbin and then sets up the download.

this works great but after downloading the show myepisodes doesnt know you have now downloaded it. i wrote the following to handle it:
#!/usr/bin/php

$acqs = "/var/local/pads/mark_as_acquired";if (file_exists($acqs)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://myepisodes.com/login.php'); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, 'username=doughie&password=silkchild&action=Login&u=myshows.php'); curl_setopt ($ch, CURLOPT_COOKIEJAR, '/tmp/cookie.txt'); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $store = curl_exec ($ch);

$aquireds = file($acqs);

foreach ($aquireds as $aquire) { list($show, $season, $episode) = explode("-", $aquire, 3); $url = "http://myepisodes.com/myshows.php?action=Update&showid=$show&season=$season&episode=$episode&seen=0"; print "url is $url"; curl_setopt($ch, CURLOPT_URL, $url); $content = curl_exec ($ch); } curl_close ($ch);}

?>
if you are interested in how it works email me and i will give you a hand.

Last, but no means least checkstyleas3 !! I have resumed development on this. i have written the score class which will encapsulate the results of the tests and will control how they are displayed etc. I have finished writing the tests for all of the existing code. I have come across a couple of interesting articles on the net about “clean code” and am reading the gang of four design patterns book. I should hopefully have another milestone release this time next week!!!

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!