13 May 2009 - 23:37How to configure Firefox to view feeds in Google Reader

When you select “Google” as your default RSS/Atom feed reader, it will ask you every time whether you want to use Reader or iGoogle. To skip this prompt and use Google Reader every time, there are a few simple things you need to do.

Go into your about:config (type it into the address bar) and filter for “fusion.google.com

Edit the line with the value http://fusion.google.com/add?feedurl=%s (the name should be something like browser.contentHandlers.types.2.uri) – change the value to http://www.google.com/reader/view/feed/%s

Restart Firefox and you should be good to go.  Now Firefox will open RSS and Atom feeds in Google Reader, without asking you if you want to use iGoogle. If you want to test to see if it worked, maybe you should try to subscribe to my blog, hmmm?

You can still add feeds to your iGoogle page by clicking Add Stuff -> Add Feed or Gadget.

No Comments | Tags: web

5 December 2008 - 15:19[How to] disable the Windows Boot Manager after installing Vista

I recently upgraded my mom’s PC from XP to Vista. As far as I can tell, the Vista installer copies your old XP files into a folder called Windows.old, and you can’t boot into XP once Vista is installed in that partition… but for some reason, every time I’ve installed Windows Vista the computer boots into a “Windows Boot Manager” where you can pick whether to boot into your Vista installation or an “Earlier version of Windows”. This screen comes up even if you got rid of your “earlier version”.

By default, there’s a 30-second countdown before it boots into your default (Vista) installation. Naturally, we want to skip this menu entirely and boot straight into Vista. Here’s how to disable the Windows Boot Manager and boot straight into Vista:

  • Don’t try to change anything in msconfig, it only lets you reduce the countdown to a minimum of 3 seconds.
  • This setting can be changed easily from within Vista, so don’t download any programs, especially those that cost six dollars.
  1. Bring up the “System” information window by pressing Windows Key + Pause/Break (or: Control Panel -> System, or right click My Computer -> Properties).
  2. In the left sidebar, click Advanced system settings to bring up the System Properties window.
  3. In the Advanced tab, under Startup and Recovery, click the Settings… button.
  4. Uncheck the box next to “Time to display list of operating systems:”, and make sure Vista is selected as your Default Operating System.

The next time your system boots, it will boot Vista instantly instead of showing the boot manager.

4 Comments | Tags: how to, software

19 November 2008 - 18:23Have you put up Christmas lights yet?

Date taken: November 19th

No Comments | Tags: irl, photos

15 November 2008 - 16:50AltDrag lets you move windows like in GNOME

I recently found a small (and free) application that allows you to click anywhere on any window and drag to move it by holding the ALT key. I really liked this functionality in GNOME and I remember looking for a program that would do it in Windows. The program has the option of auto-starting with Windows, and it’s pretty light on resources (as you’d expect from a program with such a simple purpose).

AltDrag sits in the tray (with the option of hiding the tray icon), and holding shift+alt will snap the window to window / screen borders to keep everything tidy. You might not find it useful at first, but you could get used to it in a hurry.

As an added bonus, it lets you move some elements that aren’t meant to be moved. See what you can break with it!

http://code.google.com/p/altdrag/

No Comments | Tags: free stuff, software

10 October 2008 - 23:23Free album download: Brad Sucks – Out of It

Brad Sucks – “A one-man band with no fans” – was one of the pioneers of the open-source music movement. When he released his first album “I don’t know what I’m doing” in 2003 (for free), he also released the “source” of the songs to encourage remixing. It was the first time I’d ever seen an artist do such a thing. The album was of excellent quality, and people did indeed remix the songs… a lot.

This past summer, Brad [Sucks] released “Out of It“: 10 more excellent tracks with the full source available for download. Grab the album now and spread it around. Half the fun will be seeing what the remixers come up with, and hopefully we won’t have to wait 5 years for the next batch of songs.

No Comments | Tags: free stuff, music

7 September 2008 - 23:54Free albums for download: Motionless Battle

Motionless Battle is a music project by a guy from Long Island that calls himself D-Bit. He describes the sound as “Nintendo-esque beats”, made with FL Studio. According to his MySpace blog, D-Bit is in the process of uploading his entire discography for his fans to download for free. That’s pretty thoughtful, isn’t it?

So far I’ve only heard Motionless Battle’s latest, called “The Fortress of Discord“, which I stumbled upon a while ago through a music blog which I won’t link to because of its quasi-legal status. When I saw that it was the artist himself who put the album online for free, I felt a little better about downloading it.

Motionless Battle on MySpace (download links are in the Bio section under “MOTIONLESS BATTLE DISCOGRAPHY”)

In other news, my 360 red-ringed tonight and I’m still looking for programming work. Holler!

No Comments | Tags: free stuff, music

26 July 2008 - 23:37Free album download: MURS & 9th Wonder – Sweet Lord

MURS and producer 9th Wonder have released a collaboration album online as a free gift to their fans. All they ask in return is that you buy their upcoming albums. The 10-track album can be downloaded here, note that you don’t have to actually sign up for the newsletter (the giant download link is just placed confusingly close to the signup form).

This “Free Stuff” category is part of a new effort to make my blog a little more active/useful. Ideally I’d be posting other things in between, but either way you can get some stuff for free during the downtime.

No Comments | Tags: free stuff, music

13 July 2008 - 21:44Free album for download: The Reptilian Complex – Anomaly

The Reptilian Complex is a recently-disbanded metalcore band from New Jersey. They apparently decided to release their 2008 album “Anomaly” online for free. If you want a new album of decent metal, but don’t want to spend any money, I encourage you to download The Reptilian Complex – Anomaly here or preview the album on myspace.

No Comments | Tags: free stuff, music

19 June 2008 - 23:27Girl Talk’s “Feed the Animals” released online as a pay-what-you-want download

Girl Talk - Feed the AnimalsPittsburgh-based mashup DJ Girl Talk has released his new album, Feed the Animals as an online, pay-whatever-you-want downloadable zip. Fans can get 320 kbps mp3s for any price they choose (including free).  A FLAC version of the album is available for 5 or more dollars, and for $10+ dollars you can get the CD version when it’s released in September.

The album is complete fire.  On the first listen, I went crazy with each new sample that came up; Jay-Z, Daft Punk, Gorilla Zoe, and Kraftwerk to name a few.  My one complaint is that some of the samples are too fleeting, and at times it feels like he doesn’t let them play to their full potential, but fans of 2006’s Night Ripper won’t be disappointed. Animals features hundreds of (mostly) rap/hiphop samples, played over alternative and rock instrumentals and all lovingly strung together with a danceable beat.

Girl Talk is the latest in a growing list of popular artists to embrace the “pay what you want” online distribution model.  He joins acts like Radiohead, Saul Williams and Nine Inch Nails, all of whom put albums online and invited their fans to write their own price tag.  I’d previously thought this was a very unlikely idea, but it looks like it’s a trend that’s catching on (although all of the above examples appear to have been only limited time offers).  Despite criticism from record labels, distributing albums in this way allows artists to package their albums with whatever copyrights/credits they want, and it at least ensures that none of the money will go to bootleggers.  I’m excited to see what else will be released in this way.

Don’t underestimate the number of people who will buy anything for 5 dollars!

Download: Girl Talk – Feed the Animals

Girl Talk on Myspace

No Comments | Tags: free stuff, music

15 April 2008 - 22:42[How to] round corners on images with JavaScript

Something I’ve come to love about the JQuery JavaScript library is that, no matter what client-side scripting challenges arise these days, my first thought is “I bet there’s an easy way to do this with JQuery!”. I recently worked on a website where the client wanted rounded corners on a lot of the site’s elements, including images. A quick Google search found this jquery.corner plugin; which was, as most JQuery plugins are, extremely simple to implement and adapt for my own project.

The corner plugin has a bunch of ways to add corner effects to div elements, but unfortunately you can’t apply it directly to an image. Back to Google, I found a way to make it work with images: wrap it in a div and apply the corner code to the div element. This is good, but not best for our purposes. We still have to apply styles to make the divs match the size of their child image elements.

Objective:
To loop through all divs of a certain class, and automatically resize them to match their child image elements.

We’ll put this code inside our $(document).ready(function(){ … }) block so it runs as soon as the document is ready to run code.

We want to apply this code to all divs of a certain class, we’ll say class=”round-corners” in this example. To loop through every div of this class and run code on it, we use the wonderful JQuery.each function.

First, select images with a parent div element of this class (“round-corners”):
$(‘div.round-corners > img’)
and run the JQuery.each function to loop through:
$(‘div.round-corners > img’).each(function(id){ … })

Within this loop we want to select the image, and set the height and width of its parent div element. An easy way to do this is with the .height and .width functions. These functions are both accessors and modifiers, as is the case with many functions in JQuery.
Select the parent element of the selected image:
$(this).parent(‘div.round-corners’)
get the height of the image we’ve selected:
$(this).height()
so the whole line to set the height will look like this:
$(this).parent(‘div.round-corners’).height( $(this).height() );
Repeat for the width property with the .width function.

That should do it. Let’s take a look at the source for the whole page:

<script type="text/javascript" src="jquery.js"></script><script type="text/javascript" src="jquery.corner.js"></script><script type="text/javascript">$(document).ready(function(){ $('div.round-corners > img').each(function(id){     $(this).parent('div.round-corners').height( $(this).height() ).width( $(this).width() ); })$('.round-corners').corner();})</script><div class="round-corners"><img src="P3040004.JPG" alt="P3040004.JPG" /></div>

<div style="height: 130px; background-color: rgb(255, 0, 0);" class="round-corners">This is just a regular div with no image inside, but it will have round corners too!</div>

<div class="round-corners"><img src="bluehills.jpg" alt="bluehills.jpg" /></div>

An idea for improving this script would be to use the .wrap function to automatically wrap the images in divs

Have fun rounding corners, and please use them responsibly.

2 Comments | Tags: code, how to, web