My aging PC (a mostly home-built frankenstein AMD64×2 Windows XP box) crashed and burned last week. I had properly backed up nearly everything of importance (with a few painful exceptions) and decided it was time to get the Mac Pro I’d been coveting for a long time. After consulting w/ Mac-owning friends I settled on a refurbished 2.8GhZ quad-core from Apple, which arrived two days ago. It’s a gorgeous piece of hardware, inside and out, and I know I will appreciate OS X increasingly the more time I spend with it. I think it’s good for me finally to leave the comfort of XP. (In the last few years I’ve spent some reasonably happy months with Ubuntu, some wasted hours trying to get Gentoo Linux to work, and have played some w/ others’ OS X Macs, but most of my time has been spent in XP at home and at work.) The not-quite-the-same keyboard mappings are still bugging me, e.g. use of Alt instead of Ctrl to skip to the next word, and other off-by-one-key differences… I’m still using the same Logitech keyboard and a KVM switch to share it (and the mouse and monitor) across my work laptop and home machine, toggling back and forth… so the context-switching while likely good for me like broccoli is not much fun. Here’s hoping that becomes second nature soon! And there have been some annoyances, like wasting time finding the keyboard mapping for ejecting the optical disk tray (hold down F12 for a couple seconds — no button in the UI, no hardware button!)… but worst of all is not being able to read the backup USB drive. It’s FAT32 but large (a single 149GB partition). My XP laptop can read/write no problem, but for all its “I can do anything [PC] can do better” promise, OS X (a) thinks it’s NTFS when it’s definitely FAT32, and (b) can’t read or mount it. Argh. And it doesn’t seem to ship with a partition tool, even for an external disk. So I’m forced to use a *third party* OS just to access a standard hard drive formatted w/ the most ubiquitous easy filesystem of this decade. Fail. Anyway those gripes aside I’m psyched to finally be on a Mac and look forward to the improved UI and configurability and security and multimedia processing prowess it provides.
My friend Bill said my iPhone was a gateway drug. Heheheh.
posted by Chris
at 10:00 pm
on Wednesday, December 17, 2008
From the mod_rewrite docs:
‘env|E=VAR:VAL’ (set environment variable)
This forces an environment variable named VAR to be set to the value VAL, where VAL can contain regexp backreferences ($N and %N) which will be expanded. You can use this flag more than once, to set more than one variable. The variables can later be dereferenced in many situations, most commonly from within XSSI (via ) or CGI ($ENV{’VAR’}). You can also dereference the variable in a later RewriteCond pattern, using %{ENV:VAR}. Use this to strip information from URLs, while maintaining a record of that information.
I don’t know how I overlooked this for so long, but this is really useful. Instead of requiring overly-complex regex, tons of extra back-references and daisy-chained RewriteRules, with [E] you can just set these vars explicitly and use them when you need them. Nice!
posted by Chris
at 3:22 pm
on Thursday, December 4, 2008
For my home’s internet connection I used to use Comcast cable. Its connection speed was reasonable for cable but its DNS service was unreliable. For a while I used my company’s DNS servers as I trust the sysadmins there, and it worked fine. Then I switched from Comcast to Verizon FIOS (more than quadrupling my connection speed, and costing about $70/month less for the total package of net, phone and tv). I’ve been mostly very happy w/ FIOS, it feels good to have fiber to the house and 802.11N WiFi inside. However a blazing fast connection does you no good at all if negotiating DNS takes a long time; I was consistently unable to connect on the first try to such obscure sites as google and wikipedia. So I did a little research and decided to give OpenDNS a try. This is a free public service for using a 3rd party other than your home ISP for DNS. Well, it works. I haven’t had a problem w/ it yet, and everything is just much faster now that the DNS problems are gone. I don’t know why Comcast and Verizon have such a hard time maintaining their DNS service but I’m grateful OpenDNS exists to make it moot for me.
See http://www.OpenDNS.com for more information.
Enjoy!
posted by Chris
at 2:41 pm
on Friday, November 7, 2008
posted by Chris
at 10:00 pm
on Wednesday, October 29, 2008
Hyperwords/ is really, really cool. I watched the demo and installed the Firefox add-on and really like it.
posted by Chris
at 2:47 pm
on Friday, October 3, 2008
http://www.smushit.com is a service for optimizing images to make websites perform better. Highly recommended!
posted by Chris
at 2:45 pm
on Friday, October 3, 2008
Equal parts funny and painful (for being typical in my field):
history of the user agent in a nutshell
posted by Chris
at 10:42 pm
on Friday, September 19, 2008
CNET demo of Swype
This is really cool! It’s not often a new way of “typing” or interacting w/ a keyboard comes along, but I think this will catch on, esp. if an Apple deal happens.
posted by Chris
at 1:26 pm
on Friday, September 12, 2008
Yes, yes, yes. This is a very good thing. Can’t wait for the beta to open later today…
http://www.google.com/googlebooks/chrome/
posted by Chris
at 9:46 am
on Tuesday, September 2, 2008
On windows, setting an iPhone in a sync cradle will trigger a modal dialog window “Camera Connected - Select the program to launch for this action”. This is an annoyance. Here’s the solution:
1. Run "SERVICES.msc"
2. Find "Services (local)" > "Windows Image Acquisition (WIA)"
3. Right-click it and choose "Properties"
4. Set "Startup type" to "Disabled"
5. Stop the service.
posted by Chris
at 11:31 pm
on Sunday, August 10, 2008