new headless mac

“Mac mini”

Thanks to some guy on irc.

edit: normally I don’t drool over new mac products, but this will save our company a ton of money if we can just buy these things and have a stash of monitors instead of plunking down 800$ for new emacs all the time.

edit: specs:
1.25 Ghz G4
40 or 60 GB hd
256 ram standard
firewire, usb2, digital and analog video out (probably is vga, not svideo)
combo drive

no keyboard, mouse, or display
499$ to start

edit: ok I’m done, it’s up on the actual site

flashing firmware without windows

I was having trouble getting my dvd burner to burn at maximum speed (8x) so I decided to take a chance and flash my firmware. I didn’t destroy my drive, but the upgraded firmware didn’t change anything so it’s kind of a letdown. I’m posting my method here for future reference.

Usually bios flashing is done from a floppy, but I have a modern laptop so I have no floppy. Flashing can also be done from a cdrom, but it’s a very bad idea to flash your CD drive from the CD drive!

My solution involved creating a small, ten megabyte vfat partition on my hard drive. If you don’t like the sound of that, stop reading. This is not a howto, just a set of notes. If you blow up your computer with these instructions, it’s not my fault.

1. burn a freedos cd as-is.
2. /sbin/swapoff /dev/hdaX to turn off my swap (oh yeah baby)
3. using /sbin/fdisk, delete my swap partition
4. recreate my swap partition, but leave off two of the blocks or so (about 10-16 megs)
5. create a partition of type 0xb (windows 95 32bit)
6. reboot to init new partition
7. /sbin/mkswap /dev/hdaX’ to reinit my new, slightly smaller swap
8. /sbin/swapon /dev/hdaX’
9. /sbin/mkfs.vfat /dev/hdaY to create new vfat partition
10. mount the vfat partition, copy the freedos command.com there (just in case) and all of the flashing utils / images
11. reboot with freedos cd
12. boot option 1, and then “safe mode”
13. change to c: (voila, now we are on the HD!)
14. run c:\command.com just in case (now we aren’t using the cdrom)
15. do flashing shit
16. reboot and pray you still have a cdrom

I think that’s everything.

Firefox as your default browser

I am trying to make the switch to firefox from galeon because of an extension I can’t live without, and I was having trouble when I set firefox as my default browser. When I opened links from other applications, they weren’t popping up in new tabs despite the preferences I set. So, I wrote a little script to correct the behavior:

firefox --remote "ping()"
if [ $? = 0 ] ; then
	firefox --remote openURL\("$1",new-tab\)
else
	firefox $1
fi

I saved this as firefox.sh, and set my default browser to firefox.sh

(Note, I am not using Tabbed Browser Extensions because it’s buggy, bloated, and holy fuck does it have too many options.)

Jerry Orbach RIP

NEW YORK (Reuters) – Actor Jerry Orbach, longtime star of the “Law & Order” television series, died from prostate cancer on Wednesday, his manager told a local New York City radio station. He was 69.

importing photos in gnome

Thanks to HAL, dbus, and the whole alphabet soup, we can execute a script when we plug in our digital camera. The default, running f-spot, doesn’t really do much good. It doesn’t accomplish what it should, namely moving all the files from the camera to our hard drive. Here’s a script I wrote that will actually do that, and it even has a progress bar! It will also create new directories if you import multiple rounds of photos, to prevent overwriting of images. Note that you need zenity in order for this to work.
Continue reading “importing photos in gnome”

Christmas

Wow, it’s an update actually made within 12 months of the taking of the photos! How can this be? Well, I got a new camera. Specifically, the Olympus e300, which has been fantastic. It’s a little cheaper than the competing products
from nikon and canon, and as a result there are some definite differences in features — its startup time is not quite instant (~2 seconds), the rapid-fire is slower (2.5/second), and there are only 3 configurable focus points, but I don’t care about any of these issues. It has the responsiveness that I was hoping for, the controls are intuitive and smooth, and the pictures look great so far.

The reason I got this is because my old film camera was jacked
in the robbery and I wanted to replace it for my upcoming trip to Japan. I could have gotten another film camera, but film is clearly on the way out and it’s easy to offset the extra cost of digital by not needing to process film

You’ll note that the images are still 1600×1200. The camera actually takes 8 megapixel photos (3337×2502) but those files are too big for the web, so I’m not posting the full size images. If you’re interested in a huge version of something, please email me and ask for it.

[800×600][1600×1200]
A toast

[800×600][1600×1200]
Yakking away

[800×600][1600×1200]
more yakking

[800×600][1600×1200]
Peter looking spiffy

[600×800][1200×1600]
Maddy, one of our family friends

[800×600][1600×1200]
I never get tired of this sight

My uncle Guy bought us this little ufo helicopter object, which I’m fairly sure we haven’t broken yet. It’s very difficult to control, and gentle landings are rare. Usually it hits something, it loses its aerodynamic properties, and it crashes to the ground, amidst much grinding of propeller. A great time was had by all.

[800×600][1600×1200]
the UFO also seems to turn everyone into zombies

[800×600][1600×1200]
steve says: wahhhh?

a lot of these photos I barely had to adjust. The white and black levels coming out of the camera are amazing. I can’t wait to take some shots somewhere with some light.

getting more than I expected!

Usually on a laptop the VGA connector just outputs a clone of the main screen, but It turns out my laptop actually supports dual monitors. After maybe a half hour of wrestling with xorg.conf (not quite plug and play, grrr) I got it to work, so now I’m playing around with the possibilities. It makes sense to me to have the second monitor display information I want to have up all the time, like tomboy notes, my im list, a music player maybe, and anything else I can squeeze in there.

I can’t put anything critical on that screen, since I’m not going to have it all the time, but it’s certainly extremely nice to have.

I was afraid for a while that I wouldn’t be able to have different resolutions on different monitors, but thankfully that’s not a limitation. I can have 1280×800 on my laptop and whatever I want on the outboard screen. Fun stuff.