Archive for the 'Apple' Category

Call to action

Thursday, June 29th, 2006

I want to see Mac OS X Tiger (or Leopard) running on a NeXT Cube. :)

And NeXTStations only count for half points. They’re too modern. I want to see it on a NeXT Cube, grayscale and all.

If you make it happen, or find somebody who has made it happen, please post a link in the comments.

Technorati tags: , NeXT.

Report-an-Apple-bug Friday! 43

Friday, June 2nd, 2006

This bug is CrashReporter dialog has “Close” button. It was filed on 2006-06-02 at 03:17 PDT.


Summary:

The “unexpectedly quit” dialog has a “Close” button.

Steps to Reproduce:

  1. Crash an application.

Expected Results:

A dialog box comes up, saying that the application has unexpectedly quit, showing the backtrace, and offering me the option to either “Report” the crash or one of:

  • Quit [the application]
  • Cancel [reporting]
  • Don’t Report

Actual Results:

A dialog box comes up, saying that the application has unexpectedly quit, showing the backtrace, and offering me the option to either “Report” the crash or “Close” something.

Regression:

None known.

Notes:

It is not clear what is being closed. I think the immediate guess is the application; only on further reflection does one realize that if the application has already quit, it must not be available to be “closed”. It could refer to the window, but isn’t that what the red widget is for? But there is no red widget, because this is a dialog box.

The button’s title should be changed, to one of the three names listed in Expected Results. Of those, my favorite is “Don’t Report”.

The CrashReporter dialog box, with its “Close” button.


Technorati tags: ,

New MacBooks, but…

Tuesday, May 16th, 2006

The new MacBook is out, replacing the iBook. The upside, besides now being an ICBM, is that it now comes in black. The downside is that the screen is glossy.

MacBook webpage, with “13-inch glossy widescreen display” highlighted in red.

You see this a lot on PC laptops made in the last few years. Sure, the colors are beautiful on such a display — but there’s so much glare! If I wanted a mirror in my computer, I’d just launch iChat and use the iSight as one.

This in addition to my usual lack of desire for a laptop. I won’t be buying one.

Technorati tags: .

Why iTunes videos are not widescreen

Tuesday, May 9th, 2006

One of the most frequent complaints about the iTunes Video Store is the resolution. All videos are 320×240.

The reason why lies on Apple’s iPod specifications page:

Display

  • 2.5 inch (diagonal) QVGA transflective, over 65,000-color liquid crystal display with white LED backlight
  • 320 x 240 pixel resolution, .156-mm dot pitch

Let’s say that iTVS sold shows in their native resolution. Joe User buys a show that comes in 720p HD (a 16:9 resolution). He transfers this to his iPod, and watches it on the train. What does he say as soon as the title screen comes on?

“Wow, this sucks. They cut off the top and bottom of the video. I won’t be buying any more TV shows from iTunes again.”

What happened?

Well, remember that the iPod’s screen has a 4:3 aspect ratio. If you show all of a 16:9 video frame on it, you have empty vertical space — usually manifest as black matte above and below the frame, called “letterboxing” (because it’s like looking through a mail slot). Joe User has a screen of a certain height, and the video is not filling that height, so he assumes that the video has been cut.

The other solution is to cut off part of the frame, so that the height is filled, at the expense of the left and/or right end(s) of the frame (called “pan and scan” because the crop must be moved back and forth to keep the important part in-frame). This, in fact, is what Apple does: the videos you buy from Apple have been pre-cut to fit the iPod’s screen. Joe User is happy, even though he is in fact seeing fewer pixels than before.

Aspect ratio isn’t the only issue; there’s also the sheer number of pixels to put on the screen. You can’t fit all of a 720-line-high frame onto a 240-line-high screen, unless you scale it. That takes CPU power, which in turn uses up battery life and may reduce the framerate. Apple does that heavy lifting in advance, so that your iPod doesn’t have to.

There’s a third solution: Make the iPod’s LCD widescreen. This means doing one of two things to it:

  1. Cut off 60 vertical pixels, changing the iPod’s resolution to 320×180.
  2. Add 106+⅔ horizontal pixels, further reducing the size of each pixel. One advantage would be that it would further help hide compression artifacts.

The problem with both solutions is that they make it harder to browse music. Vertical space counts here (for scrolling menus); horizontal space is not as important. And the iPod is still a music player first.

I think that Steve Jobs looked at all of this and decided that the iPod Video as implemented is the best way he could come up with. And if so, I agree.

Technorati tags: , , , , , .

How to create a RAM disk

Tuesday, May 9th, 2006

Added 2007-09-29: This is the hard way. The easy way is my free app Make RAM Disk. It does the same process shown here, but with a lot less effort from you.

I just posted to this lisppaste with a punt solution. Since this solution really has nothing to do directly with the problem stated, I thought I’d share it with you as well, with HTMLization and some editing from the original.

  1. hdiutil attach -nomount ram://num_sectors (sector = 512 bytes = 0.5 K)

    This outputs a device path (/dev/foo) on stdout.

  2. newfs_hfs -v volume_name device_path

    Formats the RAM disk as HFS+. See the manpage for other options.

    [Added 2007-09-23] If you want a case-sensitive file-system (HFS+ being case-insensitive by default), add the -s flag before the device_path.

    [Added 2007-10-14] If you’d rather not use HFS+, then you can use newfs_msdos to get FAT12, FAT16, or FAT32 (you choose which with the -F option), or newfs to get UFS.

  3. diskutil mount device_path

    The RAM disk will be mounted at /Volumes/volume_name.

You could also do something involving mount(8) instead of diskutil if you wanted to mount it inside NSTemporaryDirectory(). Remember to unmount it (hdiutil detach device_path, or the Eject command in the Finder or Dock) when you’re done.

UPDATE 2007-08-07: Changed from hdid to hdiutil attach, since hdid is deprecated and hdiutil works just as well.

UPDATE 2007-09-29: Added link to Make RAM Disk.

UPDATE 2007-10-14: Added references to other commands in the newfs family (specifically, newfs_msdos and newfs).

Report-an-Apple-bug Friday! 38

Friday, April 28th, 2006

This bug is Can’t drag text into a text input in a form. It was filed on 2006-04-28 at 01:07 PDT.


Summary:

Inputs of type “text” do not register themselves as drop targets.

Steps to Reproduce:

  1. Select some text. I used some text in Adium’s inputline, and in a textarea in Safari, and on the page in Safari.
  2. Drag it into an input of type “text” in a form on a page in Safari.

Expected Results:

The input accepts the drop.

Actual Results:

The input fails the drop.

Regression:

None known.

Notes:

Dragging to a textarea works.


At 05:14, I uploaded a test case.


Technorati tags: ,

Report-an-Apple-bug Friday! 37

Friday, April 28th, 2006

This bug is Volume MenuExtra is not accessible. It was filed on 2006-04-28 at 00:54 PDT.


Summary:

The slider in the Volume MenuExtra is not usable by Accessibility applications.

Steps to Reproduce:

  1. Launch the Accessibility Inspector.
  2. Click on the Volume MenuExtra.
  3. Point to the slider.

Expected Results:

Accessibility Inspector describes a slider.

Actual Results:

Attributes:

AXRole: “AXUnknown”

AXRoleDescription: “unknown”

AXChildren: “

AXParent: “

AXPosition: “x=987 y=22”

AXSize: “w=29 h=116”

AXEnabled: “true”

Regression:

None known. The Volume MenuExtra from Panther (10.3.9) has the same problem.

Notes:

None.


Technorati tags: ,

Report-an-Apple-bug Friday! 32

Friday, April 21st, 2006

This bug is Can’t reorder login items in Accounts preference pane. It was filed on 2006-04-21 at 20:53 PDT.


Summary:

The Accounts preference pane does not allow you to drag and drop login items into different orders.

Steps to Reproduce:

  1. Drag a login item to a different position.

Expected Results:

The login item is moved.

Actual Results:

The prefpane does a multiple selection.

Regression:

None known.

Notes:

Probably results from rdar://4523642.

Workaround:

Edit loginwindow.plist directly.


Technorati tags: , .

Report-an-Apple-bug Friday! 31

Friday, April 21st, 2006

This bug is System Events does not allow insertion of Login Items. It was filed on 2006-04-21 at 20:53 PDT.


Summary:

No supported way exists to insert a login item at a specific index, rather than just the end.

Steps to Reproduce:

  1. Run the following AppleScript script: tell application "System Events" to make new login item at login item 1 with properties {name:"Foo", path:"X:Y:Z:Foo", kind:"application", hidden:false}

Expected Results:

The login item is inserted at the start of the list.

Actual Results:

The login item is inserted at the end of the list.

Regression:

None known.

Notes:

None.

Workaround:

Edit loginwindow.plist directly.


Technorati tags: , .

Free stuff on iTunes: 2006-04-18

Tuesday, April 18th, 2006

Just the one: an Apprentice highlight reel.

Technorati tags: iTunes, iTunes Music Store, iTMS, iTunes Video Store.

Alias, now on iTunes

Tuesday, April 18th, 2006

You can now buy season 4 and season 5 from iTVS. Good to see.

Technorati tags: iTunes, iTunes Music Store, iTMS, iTunes Video Store.

Report-an-Apple-bug Friday! 25

Friday, April 14th, 2006

This bug is Allow folder menu items in Bookmarks menu to open the Bookmarks view. It was filed on 2006-04-14 at 23:05 PDT.


Summary:

Safari should allow you to click on a folder item in the Bookmarks menu to open the Bookmarks view to that folder.

Steps to Reproduce:

  1. Click on the Bookmarks menu.
  2. Click on any folder item.

Expected Results:

The Bookmarks view opens, with that folder and all its superfolders expanded.

Actual Results:

Nothing happens.

Regression:

None known.

Notes:

None.


Technorati tags: ,

Report-an-Apple-bug Friday! 24

Friday, April 14th, 2006

This bug is iTVS Browse view is way out of date. It was filed on 2006-04-14 at 23:01 PDT.

UPDATE 2006-05-02, 16:59: I just checked, and the Browse view now contains all of these shows and most of these seasons. I’ll update the bug (and this post) later with the missing seasons.


Summary:

The Browse view for the TV Shows section of the iTunes Music Store is missing many shows and seasons of shows.

Steps to Reproduce:

  1. Click on Music Store.
  2. Click on TV Shows.

Expected Results:

99 shows are listed.

Actual Results:

70 shows are listed.

Regression:

None known.

Notes:

A previous bug, “The Daily Show and The Colbert Report not listed among iTunes TV Shows”, which has since been fixed, has the same nature. Perhaps a system needs to be constructed that automatically updates the contents of the Browse view when new shows or seasons are posted?

The full list of missing shows and seasons is:

Bravo:

  • The Real Housewives of Orange County

Comedy Central:

  • Mind of Mencia
  • The Showbiz Show with David Spade

CSTV:

  • CSTV 101
  • NCAA March Madness Classics
  • NCAA March Madness 2006
  • 2006 NCAA Men’s Basketball Champions: University of Florida Gators

Disney Channel:

  • Disney’s Little Einsteins
  • The Emperor’s New School
  • Hannah Montana
  • That’s So Raven, season 4

ESPN:

  • 2006 Bowl Championship Series

Jetix:

  • Mighty Morphin Power Rangers
  • Power Rangers: Mystic Force
  • Super Robot Monkey Team Hyper Force Go!

MTV:

  • Jackass, season 2
  • Jackass, season 3
  • Wonder Showzen, season 2

The N:

  • South of Nowhere

NBC:

  • Late Night with Conan O’Brien, Triumph the Insult Comic Dog
  • Law & Order: Criminal Intent
  • Law & Order: Special Victims Unit
  • Scrubs

Nickelodeon:

  • Avatar
  • Dora the Explorer, season 2
  • Ghost Hunters
  • Zoey 101, season 2

Showtime:

  • Dave Chappelle: For What It’s Worth
  • Showtime Championship Boxing

I might linkify those here at some point.

Technorati tags: , .

Report-an-Apple-bug Friday! 23

Friday, April 14th, 2006

This bug is Left/right arrows do not move back and forth in Browse view. It was filed on 2006-04-14 at 22:22 PDT.


Summary:

Pressing the left or right arrow key does not move among the columns in iTunes’ browse view.

Steps to Reproduce:

  1. Select any item in the Browse view, giving that view focus.
  2. Press the left or right arrow key.

Expected Results:

The focus moves to a different column.

Actual Results:

iTunes switches to the previous or next track instead.

Regression:

None known.

Notes:

iTunes seems to forward the arrow keys to Previous and Next Track, regardless of focus. Having the Browse view focused should override this, for consistency with other column views (like in Finder or NSSavePanel).


Technorati tags: , .

Report-an-Apple-bug Friday! 22

Friday, April 14th, 2006

This bug is Navigation keys don’t work in Bookmarks view. It was filed on 2006-04-14 at 22:12 PDT.


Summary:

The page-up, page-down, home, and end keys don’t work in Safari’s bookmarks view.

Steps to Reproduce:

  1. Choose “Show All Bookmarks” from the Bookmarks menu.
  2. Press page-up, page-down, home, or end, in an attempt to scroll the bookmarks view.

Expected Results:

The view scrolls.

Actual Results:

The view stands fast.

Regression:

None known.

Notes:

None.


Technorati tags: , .

Free stuff on iTunes special: 2006-04-14

Friday, April 14th, 2006

While I was working on a bug report against iTVS, I found this: CSTV 101, commercials for CSTV.

Technorati tags: iTunes, iTunes Music Store, iTMS, iTunes Video Store, iTVS, CSTV.

Making Spotlight work for you

Saturday, April 8th, 2006

For a long time now, I’ve kept Spotlight disabled because it constantly cranked away at my hard drive. I couldn’t figure out why that was, until recently, when I had an epiphany:

  • Spotlight updates its index when a file is updated.
  • If Spotlight is updating constantly, one or more files must be getting constantly updated.

What sort of file gets constantly updated?

That’s right. A log file.

So I added the folder with my IRC logs to the blacklist in the “Privacy” tab in Spotlight preferences, et voila, the constant indexing stopped.

Problem solved.

Technorati tags: Spotlight.

Report-an-Apple-bug Friday! 20

Friday, April 7th, 2006

This bug is RadarWeb does not uses separate first name from MyInfo. Yes, I know that that statement is incoherent — I don’t know how “does not” got in there. In any case, it was filed on 2006-04-07 at 04:04 PDT.


Summary:

ADC (including RadarWeb) uses the developer’s last name from MyInfo, but uses its own storage for the first name.

Steps to Reproduce:

  1. Go to Apple’s MyInfo page and login.
  2. Change your name.
  3. Go to ADC or RadarWeb and login.

Expected Results:

ADC or RadarWeb greets you as, for example, “Peter Hosey”.

Actual Results:

ADC or RadarWeb greets you as, for example, “Mac-arena Hosey”.

Regression:

None known.

Notes:

I originally signed up for my ADC account under my pseudonym, “Mac-arena the Bored Zo”. When I signed up for iTMS, I noticed in the terms of service that one’s real name is required. So I changed it. ADC only picked up half the change. It seems to use separate storage for the first name, but the same storage for the last name.

iTunes and MyInfo display my first name correctly.


The relevant section of the TOS is section 7. Quoth the TOS:

You agree to provide accurate, current, and complete information required to register with the Service and at other points as may be required in the course of using the Service (“Registration Data”).

And one of the things required is one’s name.

UPDATE 23:19 PDT: At 14:10, an Apple employee replied to the bug report, telling me that he updated my profile to reflect the change. It is, indeed, updated. The bug report is still open, however, and set to the “Verify” state.


Technorati tags: ,

Report-an-Apple-bug Friday! 19

Friday, April 7th, 2006

This bug is Disjoint selections don’t drop where you tell them to. It was filed on 2006-04-07 at 03:28 PDT.


Summary:

When you drop a disjoint multiple selection of songs into a position in a playlist, they will land in the position above the song that you dropped them below.

Steps to Reproduce:

  1. Create a playlist containing songs A, B, C, D, E, F, and G.
  2. Select any of songs CG, so long as at least one of DF is not selected.
  3. Drag and drop the selection above B.

Expected Results:

The songs land between A and B.

Actual Results:

The songs land at the top, above A.

Regression:

All versions 6 and later have this bug. I don’t know if any previous versions have it.

Notes:

Contiguous and single selections are not affected. Dragging a contiguous or single selection in step 3 above will land the song or songs between A and B, as expected.

The direction of the drag (up or down) does not matter. The bug will happen either way.

Workaround:

Drag and drop songs one contiguous bunch at a time, or drop them below song B instead of above it.


Technorati tags: ,

Report-an-Apple-bug Friday! 18

Friday, April 7th, 2006

This bug is Preview uses its own made-up value for resolution of PostScript images. It was filed on 2006-04-07 at 00:45 PDT.

I discovered this bug when making the navigation buttons I donated to Simone Manganelli (you may recognize his1 name if you’ve been reading the comments on this blog) for switching among his stylesheets. The PNG images that I saved from Preview showed up as 32×32 in the Finder. So I had to open the EPS file in Photoshop, which is how I found out that the resolution was wrong.


Summary:

PostScript documents can specify a resolution. Preview, when converting to PDF and then to raster format, ignores that value and uses 150 dpi instead.

Steps to Reproduce:

  1. Open an Encapsulated PostScript (.eps) file containing an explicit resolution in Preview.
  2. Save as PNG or TIFF.
  3. Open the PNG or TIFF in Photoshop. (NOTE: This is incorrect. I meant to change this but forgot. See below. —PRH)
  4. Choose “Image Size”. (NOTE: This is incorrect. I meant to change this but forgot. See below. —PRH)

Expected Results:

The resolution is as stated in the EPS file.

Actual Results:

The resolution is 150 dpi in a TIFF file, or 150.0124 dpi in a PNG.

Regression:

None known.

Notes:

The Document Structuring Conventions, upon which EPS is based, provide for a resolution in the optional “Requirements” comment. For example:

%%Requirements: resolution(x,y)

Preview appears to target a specific length in real-world measurements (inches or cm). Not only does it force the resolution to 150 dpi, it also rasterizes the image at double-size (which compensates for the resolution change, but only in applications that pay attention to the DPI — which are not many, at least in the case of PNG files). This is symptomatic of Preview converting to PDF as an intermediary, as proven by using pstopdf and then saving the PDF as PNG or TIFF — it is still saved as 150 dpi, double-size.

The solution is twofold:

  1. Rasterize at 72 dpi by default. This is the default resolution of PostScript, upon which PDF is based, so it is sane to expect both PDFs and PostScript (including EPS) files to be rasterized at that resolution by default. If you really want the double-size behavior, then the DPI should be saved as 144 dpi instead.
  2. Allow the PS-to-PDF converter to accept a resolution in its PS input.

On 2006-04-07 at 01:48 PDT, I added the following information:

Oops. I meant to change the Steps to Reproduce but forgot. Here are the correct steps:

  1. Open an Encapsulated PostScript (.eps) file containing an explicit resolution in Preview.
  2. Save as PNG or TIFF.
  3. Choose “Get Info” from Preview’s Tools menu, or press ⌘I.

  1. I’m assuming that Simone Manganelli is a he. If not, sorry; no offense intended.

Technorati tags: , , .