Posts in the Mac Category

Pencilled Out

Published 19 years, 2 days past

Pretty much nobody but me ever sees this, but when I’m logged into meyerweb’s copy of WordPress (basically, all the time) I see a little pencil icon next to entries and comments.  It’s the “click here to edit this” link, and I generate it using the following markup:

<a href="[...]">&#9999;</a>

Ah, Unicode.

The problem is that at some point in the recent past, my OS X 10.3.9 laptop started rendering that character as a Z with a set of rabbit ears on top, whereas my OS X 10.3.9 desktop machine still shows the pencil.  I can only assume this is due to a recent software installation on the laptop, possibly one that stuck in a badly structured font or something.  Or else an update messed up the Unicode pointers.

Whatever the cause might be, does anyone out there know if there’s a way for me to figure out what font is being used to generate the funky Z, or how I might otherwise be able to track down and destroy it and get the pencils back?  Because it’s driving me frickin’ crazy.

Update: the problem is now fixed, as described in the followup entry.


The Apple of Her Eye

Published 19 years, 3 weeks past

After a lovely Sunday morning breakfast at the Farmers Market in Los Angeles, Kat, Carolyn, and I strolled through The Grove to check the sights and pick up a gift card for some friends.  As we neared the center of the main drag, Carolyn suddenly pointed and shrieked delightedly, “Daddy!”

She was pointing directly at the large white logo in the middle of the silver façade of the Apple Store.

I’m thinking that maybe I need to spend a little less time on my PowerBook.


Hacking Weather Widget Hacking

Published 19 years, 5 months past

John Gruber just posted a great article on how to take the Weather Dashboard widget in Tiger and hack it to add a “last updated” time.  It’s not only useful, but it’s also a wonderful introduction to the simplicity of widgets.  If you can hack on XHTML, CSS, and JavaScript—as I expect most visitors to this site can—then you can alter or create a Dashboard widget.

However, there was one thing I didn’t like about John’s hack: he converted the 24-hour time already stored by the widget into 12-hour AM/PM time.  I prefer 24-hour time, as do most people outside the United States (which I am not, but never mind that now), and sticking to 24-hour time makes the script addition even simpler.  So here’s my quick modification of John’s JavaScript to result in a time like “1450” instead of “2:50 pm” or “0307” instead of “3:07 am”.

// Format the time of the last data refresh
var h = object.time.hour;
var m = object.time.minute;
if (h < 10) {
   h = '0' + h;
}
if (m < 10) {
   m = '0' + m;
}
document.getElementById('updatetime').innerText =
   h + m;

Other than that, do everything just like John says to do.  Share and enjoy!


Apple Intel

Published 19 years, 6 months past

I go to England and Apple launches the switch campaign to end all such campaigns: moving from IBM’s PowerPC chip to Intel architecture.  Coincidence?

Pretty much, yeah.

I know that a zillion electrons have been spilled on this topic, and I’m going to add my own thoughts without the benefit of having actually read what anyone else has said about it.  So if everything I say here is a duplication of everyone else’s writing, it’s at least an original duplication, if you see what I mean.

At the core (Ha! I kill me!), it shouldn’t really matter what chip sits at the heart of a Macintosh.  Did it bother me when Apple switched from Motorola’s chips to the PowerPC?  No.  I’ve historically been far more bothered by changes in interface, like the jump from OS 9 to OS X.  I have made that transition, but it took me a long time and I still sometimes pine for the old days.

Regardless, it does seem to bother me at some level that I could be running an Intel-based system in the semi-near future.  Maybe it’s all those old jeering comments I made about fundamental addition bugs and excessive heat production coming home to roost.  Maybe it’s that the hipper-than-thou, apart-from-the-crowd semi-cultishness of the Mac extends down to the hardware layer: now instead of having l33t hardware that I paid good money to get, I’m merely going to have a different OS on the same basic computer as all those boxes out there running Windows, pardon my French.

These are emotional reactions, and I admit that freely.  But emotion is bound up in anything we take seriously, and given that it’s the tool with which I create personal wealth, I take my computer very, very seriously.

I’ll step back from that, however, and look at this with a larger field of view.  Apple has apparently been maintaining Intel versions of OS X for years now, so it isn’t as though they still have to undertake that conversion.  There’s a PowerPC chip emulator called Rosetta that should smooth the transition of software to the new architecture.  Sure, the stuff running on the emulation layer won’t be as efficient as software written natively for Intel architectures, but it’s a whole lot better than nothing.  (And also makes me wonder why it’s been such a long, hard trip getting a Mac emulator for the PC.)

Here’s the thing, though: this potentially brings the ability to run OS X to the ninety-plus percent of the computing world that has an Intel machine, of which ninety-plus percent are running Windows.  The success of iTunes for Windows has demonstrated that Windows users don’t give a flip who wrote their software, as long as it gives them something they want and is easy to use.

So the move has the distinct potential to play to Apple’s strengths as a software developer.  It could put the whole iLife suite on desktops everywhere through Intel-compatible OS X or even some other route.  It could make it easier for Apple to create a Windows-compatible version of iLife.  It might (though I can’t be sure, not being a developer) make it easier for Windows applications to be ported to OS X, thus making switches between Windows and Mac OS a lot less painful.  It might even make it possible to have Windows running on Apple hardware, and it’s darned sure going to make VirtualPC a lot less virtual.

I freely acknowledge that most users, even given a choice, will pick the classic Wintel combination—how many buy Linux-driven Intel machines these days?  (Yes, it’s more than before, but still not that many.)  How many more would buy non-Apple OSXtel machines, even assuming such a thing to be possible?  Not many.  A lot of the cachet of being a Mac user is having the super-fine hardware, all sleek and well-designed and a heck of a lot sexier than the guy running a Dell Latitude or whatever.  (Yes, some PC makers do go sexy, but they’re usually either trampy ripoffs of Apple’s designs, tricked-out Alienware gamer boxes, or Sony Vaios.)

As I said at the outset, intellectually I don’t care whose chip drives my Mac, so long as my programs still run and the performance isn’t slower than I’d have gotten with the PowerPC chip.  Emotionally, though, I’ll be breaking my long-standing rule against decorating my computers.  After all, I’ll need something to put over the “Intel Inside” sticker.


Workspace Restoration

Published 19 years, 8 months past

Oh, the joys of emergency restoration, drive repartitioning, data gaps, and reconstructing an absent work environment.

You may recall that I mentioned sending my PowerBook in for repair.  It’s still at the repair depot.  Apparently it needs a replacement for a rare component, so its repair is held up by a backorder situation.  You’d think they could do the Dell thing and just swap the hard drive into a new machine with the same configuration and send that to me, but I guess that would make too much sense.  So my only hopes for getting back up to speed lay with my trusty G4/500 with 384MB of RAM.

The first step: I had to install OS X on it if I had any hope of getting myself back to a semblance of productivity.  The only problem was that my boot volume, even stripped down to its essentials, didn’t have enough room to play host to both OS 9 and OS X.  I’d originally set up the drive to have a 2GB boot volume—acres of room in the Classic days—plus a 1GB scratch volume and a 22 GB main partition.  I’ve been doing drives this way for a decade or so.  Unfortunately, my strategy wasn’t sufficient for a Panther-driven world.

So before I could even install OS X, I’d have to repartition the hard drive.  That meant shunting everything to my newly arrived OWC Mercury Elite Pro 250GB hard drive, repartitioning the internal HD, installing OS X, running it through a zillion software updates, and then copying over the OS 9 folder so I’ll have it if I need to reboot into Classic.

Joy and more joy.  So I did all that over the weekend, starting off with a full Retrospect backup of all the drive volumes and then proceeding to move files around like I was playing a FireWire-based version of Towers of Hanoi.  While I was at it, I threw away a good deal of cruft (old installers, log files, that kind of thing) and moved a big heap of old data to a new permanent archival home on my external drive.

I’m happy to report that, in the end, everything came together rather nicely.  I’m now up and running with OS X on this aging beast, and while it certainly isn’t as snappy as my 1.25GHz/1GB RAM PowerBook, it’s quite functional.

Why did I just bore you with all that?  Because I wanted to share which free packages and extra doodads I’ve discovered are absolutely necessary to my getting back up to speed in OS X.

  • Complete MySQL from Server Logistics — I can’t run WordPress locally without MySQL, and this is the package that actually installs correctly.
  • CocoaMySQL — a nice little GUI front end to MySQL.  Handy for reaching into the DBs and tweaking values, which can be necessary if you do a sqldump on one machine and then jam it wholesale onto another.  Which I did.
  • Classic Window Management v1.0 — makes the OS act rational again by grouping together windows by process.  So if I click on the desktop, all the Finder windows pop to the fore.  When I click on a BBEdit window, all the BBEdit windows pop up.  None of this interleaved application nonsense.  (Which you can still invoke with a modifier key.)  Installing this also meant installing APE, but that’s probably a good thing anyway.
  • This isn’t really a software install, but it’s free.  I also hacked OS X to make Command-N create a new folder, instead of open a new Finder window.  More details can be found via my post “Now That’s A Switch“.  No, I will not adapt to the OS in this case: it will adapt to me instead, whether it really wants to or not.
  • SheetSpeed — if there’s one thing I can’t stand about OS X, it’s the bendy slidy dialog boxes, otherwise known as “sheets”.  (Which I sometimes pronouce with more of a “ih” sound than an “ee” sound in the middle, if you know what I mean.)  With SheetSpeed, you can crank the slide time down to zero, meaning the sheets just pop into existence and then disappear the instant you’re done with them.  You can also slow them way, way down, but doing so for any purpose other than temporary amusement should be grounds for a mental examination.
  • Ejector — great for clearing out .dmg volumes.  Sure, I could use Exposé to move everything aside and click-drag-toss, but that’s just not my style.  Ejector is far more capable than the Eject.menu file that comes with OS X.
  • Mouseposé — I’m forever losing my mouse pointer on my Cinema Display.  Or I was, until I installed Mouseposé.  It’s also very handy for presentations, which will be a lot more relevant when I finally get my laptop back.
  • TinkerTool — nice for things like putting the Dock precisely where I want it, and also for tweaking the OS here and there.

In addition to all those goodies, there are the more robust programs, some of them costing actual money (gasp!), that I just can’t live without.

  • BBEdit 8.1 — natch.
  • SubEthaEdit — this is becoming invaluable to me for remote collaborative document editing.  Tantek and I recently worked on a document while physically separated by 2100+ miles, and then worked on the same document while in the same room at SXSW.
  • Firefox — of course.
  • Thunderbird 1.0.2 — better at IMAP than Eudora 5.2, which is the version I’m using.  (I was surprised to discover it’s Carbonized!)
  • Transmit — all right, I admit I’m still without this one.  I’m a registered user of Transmit 2, and I can’t find an installer for it anywhere.  I miss it.  In the meantime, Fugu has been filling in.  I’d actually consider switching to it if it supported drag-and-dropping.  Instead, I just emailed the folks at Panic to see if they can point me to a 2.x installer.
  • DragThing — so much better than the Dock in so many ways.  Its one failing is that when you minimize windows to its process dock, they don’t appear as tiny thumbnails of themselves.  So I use the Dock as a process dock, and DragThing for everything else a dock should do.

Then there are the programs I want to install but can’t find in the form I want, like CalendarClock, which has become a commercial product and is no longer available as donationware.  I might have an installer for it on my laptop… not that it does me any good right now.

Anyway, there will undoubtedly be more to come, but I thought I’d share my gotta-have-’em bits with you.


Airport Extreme and Netgear MR814v2, Take 2

Published 19 years, 10 months past

Last July, I posted about how I got my Netgear MR814v2 to talk to my Airport Extreme laptop.  The fix involved setting “Universal Plug ‘n’ Play” preferences.

Since then, I’ve gotten occasional e-mail messages from people thanking me for publishing the solution, and that neither Netgear nor Apple seem to know anything about this problem.  I got one just today, and thought it was probably time for a follow-up post.

The fix I described isn’t a panacea, I’ve found; I still occasionally find the laptop knocked back to its self-assigned IP address.  This behavior seems to revolve around hard sleep/wake events, and iChat might be implicated too.  My father has a Netgear 802.11g wireless router and it’s totally smooth for him using an 802.11b PowerBook, but whenever I visit with my Airport Extreme PowerBook the router starts kicking us both off on an infrequent basis.

I’ve found one of two things will fix my router when it ceases talking to the laptop.  One is to unplug and replug the router; the thing comes back up in about a second and it always sees the laptop again.  The other is to log into the router from a wired computer, go to the UPnP page, and hit “Apply”.  I don’t have to change any setting, just hit “Apply”.  That fixes the problem too.  I do the latter when I’m in my office with my wired G4, and the former when I’m downstairs closer to the router.

Either way, I’m thinking about replacing my 802.11b router with an 802.11g router so I can take advantage of the Extreme access, and I’m thinking the replacement won’t be a Netgear product.  Anyone have recommendations for a good Airport Extreme compatible wireless/wired combo router (I need to plug in two CAT5-bound computers) besides an Airport Base Station?


Broken Bluetooth

Published 20 years, 2 months past

So I just noticed that my PowerBook no longer realizes that it has a Bluetooth module installed.  I get a little “broken B” icon in the menu bar, and when I open the menu it says in greyed-out text “Bluetooth: Not Available”. I fired up the Bluetooth setup assistant and it said it couldn’t find any Bluetooth hardware either.  The only two noteworthy things that have happened recently are I installed the latest Apple security update, and I let the laptop drain itself of power in order to reset the power level calibration.  I haven’t ever run a Bluetooth firmware update, so that doesn’t seem like it’s the problem (unless of course the problem is that the security update requires a firmware update, but nobody said anything about that).

Oh, and no, I don’t have a Bluetooth device with which I can test the Mac’s module.  It still bothers me that the computer seems to have lost some of its hardware.  I’d sort of like to have it found again.  Has anyone else seen this problem, and if you fixed it, how did you fix it?

Update: thanks to Daniel Bergey, whose friends just recently moved to my home state, I’ve solved the problem and the Bluetooth icon is back to normal.  See the comments for details and a link to a description of the procedure I followed.


FireWire Transfer

Published 20 years, 4 months past

A few people have written me over the past week to point out that I could have saved myself a lot of time when I transferred files over to my new Mac laptop.  Standards and accessibility warrior DeWayne Purdy was one of the first, and wrote:

…there’s a better way than ethernet to transfer  files between two Macs, using Target Disk Mode. Connect the two Macs  together with a firewire cable, with one Mac on and the second one off.  Then turn the second Mac on and hold down on the T key. A firewire  symbol will come up on the screen of the second Mac, and the HD name  will show up on the first Mac, just like it’s an external hard drive.  The files can then be transferred at firewire speeds, much faster than  via ethernet.  (These are condensed instructions, I’d look up the full  instructions before doing it… there’s a few little, but important,  details, like making sure you drag the icon of the second Mac to the  trash before disconnecting or shutting it down).

So I looked up the full instructions, and here they are.  They’re not much longer than DeWayne’s summary, actually.


Browse the Archive

Earlier Entries

Later Entries