Mon, 20 Dec 2004

pictures directory

I've been working here and there on new way to display the pictures on the website that I've collected up over the years. For the past while I've had them just all put in a big directory and ran album against the directory. This has worked fine for a long time, but due to the recent increase in traffic to the pictures I needed to do something to tone thing down a bit. Just last month I used 40 gigs of traffic on the picture area of the website alone.

So I've created a set of python scripts to create thumbnails and update a database that holds all the picture information. Through a couple of rather simple php files I can then display the pages in a fashion that is very similar to the album output. Each image load is then tracked in a database so I can tell how much bandwidth usage is being consumed by each host, and then if necessary limit load times or whatever need be to slow down requests.

This also allows me to keep some more neat statistics like how many times an image has been viewed and so on. One day I might even get around to putting most viewed/last viewed pages up, and also allow users to trim down results based on image size or resolution and such. It'll also be interesting to see how the server handles the increase in load with the extra amount of database activity of the new pages...

posted at: 23:58 | path: /general | permanent link to this entry


Wed, 15 Dec 2004

firefox ad blocking

I was browsing around the firefox page and noticed a page under Tips & Tricks that gives some code to enable ad blocking.

All that is required is to copy/paste the code into a new files called userContent.css located in the chrome directory where your firefox profile resides. Restart firefox, and ta da! No more banner ads! It works like a charm and makes browsing websites so much nicer. No more flashy banner ads and stupid advertisments!

posted at: 16:56 | path: /general | permanent link to this entry


Thu, 09 Dec 2004

projector mount

perfect mount 2000

My projector mount that my girlfriend got me for christmas came in the mail yesterday and since I think she wants me to get the living room back to normal (it's rather "makeshift" currently) she gave it to me early. I managed to get it secured to the ceiling after proding around a little and it's all setup now as shown in the picture above. It's a simple but well put together little mount that we got from perfectmounts.com. Great company and good speedy service. No complaints.

I just need to get a stereo stand of sometype to put my reciever, dvd player, and HTPC in and things should be all back to normal.

posted at: 15:16 | path: /general | permanent link to this entry


2019-Sep
2019-Jul
2019-Jun
2019-May
2018-Dec
2018-Jan
2017-Aug
2017-Jun
2017-May
2016-Nov
2015-Dec
2015-Nov
2015-Oct
2015-Jul
2015-Jun
2014-Dec
2012-Oct
2012-Sep
2012-Jun
2012-Feb
2012-Jan
2011-Dec
2011-Sep
2011-Aug
2011-May
2011-Feb
2010-Jun
2010-Apr
2010-Jan
2009-Sep
2009-Jul
2009-May
2009-Jan
2008-Oct
2008-Sep
2008-Jun
2008-May
2008-Jan
2007-Nov
2007-Oct
2007-Aug
2007-Jun
2007-May
2007-Mar
2007-Feb
2007-Jan
2006-Nov
2006-Oct
2006-Sep
2006-Aug
2006-Jun
2006-Apr
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug
2005-Jul
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2005-Jan
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
2004-Jun
2004-May

Powered by PyBlosxom | RSS 2.0