Archives

Archives / 2004 / December
  • [link] favicon.ico generator

    Favorite icons (a.k.a favicon.ico) are cool. IE recognizes them when you save bookmark a page, Mozilla based browsers automatically request them. They're a nice finishing touch on a website, but not something that's usually scheduled or requested.

    Read more...

  • [tip] Use Freecache to distribute large files

    One of my small contributions to the Monoppix project[1] has been setting up hosting for the ISO. As we expected, distributing an ISO that's even remotely popular requires some serious bandwidh. Since the Monoppix 0.2.2.3 Preview Release was posted in August, it's been downloaded 11,067 times. At 404 MB per download, that's 4.47 TB, over 1.1 TB per month.[2]

    Fortunately, we're using Freecache so I don't have to pay for all that bandwidth. Freecache handles all that, for (as the name implies) free.

    There's no setup, either. Assuming the link to the file was http://127.0.0.1/files/bigfile.iso, you can just link to it like http://freecache.org/http://127.0.0.1/files/bigfile.iso and you're set. The first time someone clicks on the link, Freecache picks up your file and distributes it to cache servers while the download is going on. All future downloads come from the cache servers, so you only need the bandwith to cover one download.

    You can use it for files from 5MB to 1GB.

    That URL is a bit ugly, but you can pretty it up with a free service like Shrinkster or URL123. The official download link for the Monoppix ISO is http://monoppix.url123.com/download, but it just logs the hit and pops over to Freecache. I like URL123, by the way, since it lets you set up subdomains like yourname.url123.com.

    More info on Freecache here: http://www.archive.org/web/freecache.php

    And if you just want to watch a cool animated GIF that (sort of) explains it, look no further:

     Animaton of FreeCache communication

    [1]  Monoppix is a GNU/Linux distribution which includes Mono, XSP, and Monodevelop, and runs completely off a CD. It allows you to get familiar with Mono development in Linux without installing anything on your computer. Monoppix was based on Knoppix and Miniknoppix and was developed by Roiy Zysman.

    [2] It's possible that some segmented download utilities inflate these numbers a bit, but regardless we're still talking about Terrabytes of bandwidth I don't want to pay for.

    Read more...

  • [util] XPKeepPerUserDisplaySettings

    I share a home computer with my wife and 3 year old daughter, Rosemary. As a computer nerd, I can't go below 1280x1024 on the screen resolution, while my wife likes 1024x768 and Rosemary uses 640x480.[1]

    Windows XP doesn't support per user screen resolutions: http://support.microsoft.com/?kbid=832295

    Quandry.

    Turns out there are some freeware products that do this. I checked out a few and settled on XPKeepPerUserDisplaySettings. It didn't seem to "take" the first time I made the settings for each user, but now it works like a charm.

    I tried MultiRes first [1] [2] - it allows setting resolutions via command line:
    c:\Progra~1\multires\multires.exe /1280,1024,32 /exit
    It didn't work well with Fast User Switching, though.

    Some other alternatives / info:
    http://www.dougknox.com/xp/utils/xp_userdisplay.htm
    http://www.snapfiles.com/get/uniquedisplay.html
    http://groups.google.com/groups?selm=3F9F8B7E.9ADBCE35%40hydro.com

    [1] Rosemary only uses 640x480 because most children's computer programs are so poorly written they only work in 640x480. She amazes me - no problems at finding the little red X on a form at 1024x768. When her favorite site, www.uptoten.com, added a tiny link so parents would have to log their kids on and just break down and buy some non-free stuff, it took her a 30 second lesson to learn how to find the little "no thanks, take me to the free site" link. I can't wait until she's 4 and can take over BIOS upgrades for the family.

    Read more...

  • [Util] Updated - Open Playlist in Windows Media

    Back in April I wrote a very basic console app which would (theoretically) allow you to play Shoutcast Playlists (PLS files) in Windows Media Player.[1] I say theoretically because in practice, I've been fielding a large amount of support requests from hapless users having trouble setting up the file associations, checking if they have .NET installed, etc.

    I've re-released it with an installer and some improved error handling thrown in for good measure. Download it here: http://www.codeplex.com/openplsinwmp 

    The installer associates Shoutcast Playlist (PLS) files with OpenPLSInWMP.exe, which digs through the PLS file for the MP3 server info and then starts up Windows Media Player with that stream. It shows up in the Add / Remove Programs list so you can uninstall it easily if you are insane.

    The end result is that Windows Media Player plays PLS files. Just in time for Christmas Christmahannukwanzafestivus special chilly family togetherness season, too: SomaFM has the  X-mas in Frisco stream going.

    [UPDATE: Fixed problem with icon association. Download setup from same location, new version is 1.0.2.]

    [Listening to: Secret Agent on SomaFM]

    [1] I was sick of having to install five different music players to stream all the music I wanted. I now use Windows Media Player 10, Quicktime Alternative, and Real Alternative.

    Read more...

  • Firefox Plugin - Greasemonkey

    Cool Firefox Extension from YoungPup: Greasemonkey

    Greasemonkey is a Firefox extension which lets you to add bits of DHTML ("user scripts") to any webpage to change it's behavior. In much the same way that user CSS lets you take control of a webpage's style, user scripts let you easily control any aspect of a webpage's design or interaction.

    It's kind of a more organized approach to site-specific bookmarklets. I've done some right-click context menu extensions in IE to work around problems / annoyances in intranet apps before; this would be perfect for that kind of thing.

    Read more here
    Download here

    There are already some useful scripts available:

    Screenshot:

    You can manage which pages a script is associated with by going to Tools > Manage User Scripts

    Source: YougPup

     

    Read more...

  • Surfacing - been busy with a large ASP.NET project

    I've been pretty silent on my blog lately due to time pressures at work. That's easing up a bit, and I'm very eager to start posting again, about (1) what I've learned on this project, and (2) other things I've been wanting to post about but haven't had time.

    Read more...