Publicly available subversion host

January 23rd, 2007

Subversion is crucial for my development efforts, without I spend a lot of time getting frustrated with things that should be easy.  Subversion is very useful even when I’m the only coder on a project, it is a necessity for collaborative development.   I wanted to get a subversion server that I could access anywhere in the world and that clients could access, they can’t get to my linux box sitting behind my cable modem.

I looked at getting a virtual private server, you get a good amount of space with them, but you have to setup subversion yourself.  Dreamhost now offers subversion hosting too, but I have heard mixed reviews about them.  Version control isn’t something I wanted to skimp on.  I ended up going with CVSdude hosted subversion.

I’m really glad I did, I pay less than a VPS for something that is up right now.  For $30/month I get unlimitted repositories (each client will get their own repository), and 5 Gigs of total space.  I also get web-svn, bugzilla, VC, and Trac project management.  Each repository gets its own trac setup.  All of this is managed with a decent web interface (it’s table based :( ), and it just works.   I probably saved at least 2 or 3 days of sysadmin work by going with CVS dude.  Comparative advantage is a great thing to remember.
The CVS Dude service has been good.  They have a good pipe, I get 40K up, and 600-900k down, I’m pretty sure my cable modem is the limit, those are about the most I get for uploads and downloads for other activities.  I misnamed my repository initially, thinking I was picking my admin name, instead that was the base name for all my repositories.  A short email to their support fixed that in a couple hours.  I am concerned about looking professional with a repository URL that looks like svn.cvsdude.com  luckily I can get a domain name for my repository and they say it will work.

Getting ie6 to cache background images

January 17th, 2007

to make ie 6 properly cache background images run add this command do your javascript

document.execCommand(“BackgroundImageCache”,false,true);

This makes IE properly cache background images, without this, if you have the same background image applying to multiple items on a page, ie checks with the server for each image. Sometimes this will result in hundreds of requests for bg images, slowing down page loads.

This in itself is very useful. You can really take advantadge of it by making sprite maps, multiple background images rolled into the same image, you then use css background positioning to put the part of your sprite map that you want over the div you want. This can cut the number of images loaded on each page load immensely.

Here is a spritemap that I created for aimpages

These are a couple of rules related to that spritemap.

#panelHeader #add_module:hover, #panelHeader #style_page:hover {background:url(../images/blsm.gif) 0 0 no-repeat;color:#FF7A00; } /* style_page_on3.gif */
#panelHeader #page_info.active,#panelHeader #page_info.active:hover {background: url(../images/blsm.gif) -307px -369px no-repeat;color:#000;} /* page_info_tab2.gif */
#panelHeader #style_page.active, #panelHeader #add_module.active,#panelHeader #add_module.active:hover {background: url(../images/blsm.gif) 0 -369px no-repeat;color:#000000} /* style_mod_tab2.gif */

You can view the whole css file here

I found this technique here,

http://misterpixel.blogspot.com/2006/09/forensic-analysis-of-ie6.html

Welcome to my blog

January 17th, 2007

I have stopped procrastinating… here it is

Hello world!

January 17th, 2007

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!