Posts

Showing posts with the label computer

AppleScript: Set Display Brightness

Image
I’ve been using AppleScript for years now, but I’ve never had the opportunity to become really good at it. I can do a few simple things, but once I get beyond that, I pretty much have to turn to the web. So it was, this morning: my office has two large windows in it, so the ambient light varies quite a bit from day to day and hour to hour. I finally decided that I’m sick and tired of adjusting the brightness on three different displays—not to mention hoping that they’re all exactly the same—on a regular basis. So as usual, I turned to the web. After a few less useful hits, I finally came to an old blog post called “ Change Monitor Brightness Using AppleScript .” It was exactly what I needed, with three exceptions: Since it’s four years old, it hasn’t been updated for Mountain Lion. It isn’t designed to change multiple displays concurrently. It doesn’t include the ability to specify the brightness level, on the fly. Having solved all three of these problems, I post my resu...

Behind the Display

Image
Well, long-time readers, it’s finally happened: I got a new computer! After years of agonizing over which would be best while waiting for it to finally become necessary, I settled on a solution: get a cheap Mac mini to use as a server, plus a MacBook Pro to use as my main machine. Along with the MacBook Pro, I plan to get two 27″  Thunderbolt Displays . Those grandiose plans aside, though, we’ve only received a small portion of our tax refund due to some government red tape. My new client, however, has specific needs that require me to have something newer than my 8½-year-old Power Macintosh G5. As such, I took the plunge: I picked up a cheap Mac mini—as planned—and a single Thunderbolt Display. (It’s actually pretty neat, going from a 20″ and 17″ to a single 27″ display, but to be honest, the biggest difference is Mac OS X v.10.7 Lion and the things it does differently. Not badly, just differently. I’ll adjust.) :-) Of course, amidst all this, I had to retire my old d...

Now That’s Customer Service!

A few months ago, I was horrified to discover that the RAID I use to store our family’s iLife—photos, movies, web sites, and music—had suffered severe header corruption. For those of you that don’t know what this means, the header is sort of like the index to the drive. Imagine a 10,000-page reference book that you use every single day. This book includes a 500-page index, so you can easily find what you need. Then one day, you notice that some of the page numbers are suddenly wrong: about 10% of the time, if you look up term A, it gives you the page number for term L, or Z, or W. That’s a pretty good description of header corruption, except that at least with a book, you can flip through until you find the right page. Without an accurate disk header, the computer can’t find the right data at all . Now, all this shouldn’t be so bad, since I’m extremely conscientious about backing things up. Unfortunately, the backup software I was using at the time was so good that it dutifully backed ...

Okay, it’s time to upgrade. (Part II)

Image
wuy So here are my thoughts: The most obvious option is what Eddie has already suggested: something that will last me another six years. Given the fact that desktops are, in my experience, more reliable than laptops, that would probably be a Mac Pro. It has all the power I could ever want (for the moment), but uses less electricity than my G5. It has room for four internal hard drives, which will make for easy RAID building; and plenty of room for expansion (Firewire 800, PCI Express 2.0, up to 32GB of RAM, etc.). The big down side is the price: a Mac Pro costs $2,499 or $3,299 with no upgrades, plus whatever else I’d like to spend on a new display (and no, my old display won’t work with its new-fangled ports, so I’ll need to upgrade that, too). It’s really not a bad deal, for what you’re getting, but do I really need that much? If I were constantly doing graphics or video, sure; but as a developer, I’d actually probably be better off with something simpler—if for no other reason...