Second-cup-of-coffee

24Jul/110

Unhide the User Library folder in Mac OS X 10.7 (“Lion”)

One of the changes made to Mac OS X's Lion is that the User Library folder is now hidden by default. Most users probably don't need to dig into the Library folder, but I do from time-to-time. For example, adding Scripts and Clippings to BBEdit requires going into:

stirrell/Library/Application Support/BBEdit

There is a Terminal command that will unhide the Library folder:

chflags nohidden /users/<username>/library

Filed under: Computing No Comments
12Apr/100

Apple’s changes to the iPhone SDK

With the announcement of the upcoming iPhone 4 OS, Apple also modified language in their license for software developers. A very contentious change to the license reads:

3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).

At first, given the very public wrangling Apple and Adobe have had over Flash on the iPhone and iPad, it would appear that this language may have been added to prevent iPhone applications built using Adobe Flash from being allowed in the App Store. Creating an iPhone application using Flash is one of the much ballyhooed new features of Adobe’s new CS5 productivity suite software. Now, it is very much in doubt that this feature will be of any value since Apple will not allow these applications to be sold in their store.

The rationale for this move by Apple is that they want to prevent sub-standard apps from being available on the iPhone degrading the user experience. And, certainly, people who have a lot of experience using Java applications, for example, on the Macintosh can understand this concern. People in the development world claim that Apple is trying to prevent making multiple platform programs harder to make and, thus, locking developers into the iPhone ecosystem and stopping these programs from making it to Google’s Android platform.

Personally, I think that Apple both wants to hurt Adobe, whom they have shown that they have a real problem with and, also, to maintain tighter control over both the user experience and raise the hurdle for porting to Android. I do believe that Apple cares about maintaining a great user experience. And the iPhone is, in my opinion, very nice.

However, here are the reasons why I think what Apple is doing is wrong.

  1. It has been pretty well-known that Adobe has been working on a way for Flash developers to create iPhone applications with their newest software. One imagines that they spent tons of time and energy creating this feature for CS5. Not only did Apple not, to my knowledge, warn Adobe that this method of application-creation would not be allowed, but they decided to drop this bombshell less than a week before Adobe announced CS5.
     
    I have seen many Apple fans argue that it is not Apple’s responsibility to create a marketplace for Flash developers to sell their wares and that they don’t owe Adobe anything. I have even heard whining and complaining about Adobe’s software being poorly written for the Macintosh. I agree that it is not Apple’s responsibility to provide a livelihood for Flash developers. I am not sure that I buy that Adobe products are poorly written on the Mac (or more poorly written than on Windows). However, that doesn’t justify Apple’s treatment of Adobe in this situation.
     
    Adobe is a long-time developer for Apple’s Macintosh computers. In my mind, this makes them a partner with Apple. I think that the treatment of Adobe by Apple shows a lack of respect and decency and arrogance. Would you want to partner with a company that treats its partners this way?
     

  2. This change in policy is just another example of how the App Store approval process seems to not have any clear set of consistently enforced rules but, instead, seem to be changed at the whim of Apple. For example, there was recently a purge of “sexually explicit” applications on the App Store. Somehow, though, this puritanical bent did not ensnare applications by big companies like Playboy or Sports Illustrated. Just the smaller developers.
     
    This change in the license potentially doesn’t just affect applications created with Adobe Flash but could also effect applications made with Unity, MonoTouch and Appcelerator. There are applications in the App Store that have been approved and have been sold to users but, if the new changes in the license are enforced, will no longer be allowed. Apple has shown that they are willing to remove previously-approved applications from their store. Again, I feel that this shows a callousness by Apple toward their developers.
     
    Developers need not only be worried about the current App Store rules but, apparently, they also need to worry about potential future changes. And, again, not clearly communicating application guidelines and moving the goalposts on developers shows and arrogance and lack of respect for developers. Furthermore, it should be up to the developers to determine the best tools to use to create their applications. Apple should need only concern themselves with the finished product. If a third party framework is not capable of creating a compelling, high-quality application than I trust users not to buy the product and, so, the developer will not make money and the enterprise will not be worth their time. Why not trust the users? It is in the developers’ own interest to make great applications to ensure a good revenue and continued business.
     
    If Apple is truly concerned only with the quality of applications then they should be able to review based on that. I think we can all agree that there are terrible apps that have made it through the approval process. Reject the terrible apps if that is truly your goal, Apple. But having this much uncertainty in the approval process makes the iPhone App Store a risky proposition for developers.

I really see these recent moves by Apple as them becoming overconfident and arrogant. I believe that this attitude is partly what led to Apple’s dire situation in the 90s. This arrogance is parroted by Mac fans who have flooded tech boards with comments amounting to “love it or leave it” and showing a fairly strong devotion to Apple and the belief in their infallibility. It is hard to believe that Apple fans would endorse this kind of iron fisted rule by Microsoft… but Apple can do no wrong in the eyes of these fans. Any developer who questions Apple’s policies are treated as the enemy.

I think that this arrogance and shabby treatment of others could lead to Apple’s downfall. Android seems very appealing and I think the Windows 7 Phone looks intriguing. They should offer compelling alternatives for developers and I really do think it is the developers and the software that makes or breaks a system.

Filed under: Computing No Comments
30Mar/100

Copy as Path in Windows 7

Today I did a search of files modified in the last month within a folder. I got my result but I really wanted a way to easily reference the list of returned files. I wanted to be able to print out this list of results. It turns out that there is a very easy way to do this. By default, right-clicking on a file only gives you the option to Copy a file as if you want to copy it to another location on your computer. However, holding down the SHIFT key when right-clicking gives you another option: “Copy as path.” I selected this option, pasted in Notepad, and could easily print out the list of files returned in my search.

copy_as_path

Filed under: Computing No Comments
19Feb/100

Outlook PST files

My Outlook file grew up to about 2 gigs so I figured I needed to do something. I archived all mail older than 6 months into a new PST file but that did not affect the size of my original PST. I tried the “compact” command in Outlook. No change. So, I set up a new PST file and manually moved all my mail from the original PST file to the new PST file. The result was a PST file under 800 megs. Quite a difference. Then I had to move over the RSS feeds. So, solution found… but I wonder why Outlook could not compress the original PST file. I’m not a fan of the single database file approach that Outlook uses to store mail but I love the interface and integration into OneNote which makes it hard to give up. That, and it syncs with my iPhone.

Filed under: Computing No Comments
29Jan/100

Random thoughts on the iPad

First, I didn’t think of female hygiene products when I heard the name. I thought pad of paper. I am kind of surprised that so many people mentioned that. I remember people decrying the naming of the Nintendo Wii and saying that it would not succeed solely on how terrible the name was. I don’t think many people even remember the hubbub about the Wii’s name now that it is such a huge success and so commonplace. I think the same thing is true of the iPad – if it is an attractive device that people want at an affordable price, then it will sell regardless of the name.

That said, I am really impressed with the price point. Seeing all of the discussion leading up to the announcement, I figured it would be in the $800 - $1,000 range. $499 for the low-end model seems like a great value… especially if you’re looking at, say, a Kindle DX. And, obviously, the iPad will have a lot of additional uses beyond being used as an eReader and, so, to me would seem like a better choice if you’re looking into that price range.

I understand why they went with the iPhone OS but I am still disappointed for a couple of reasons. First, most of the apps for the iPhone (which I do own) are not very robust. They are generally quite gimmicky. They are definitely not as full-featured as Macintosh applications. That said, the iPhone interface is obviously geared to the iPad’s multi-touch interface. I mean, it is essentially a big iphone, after all, and it isn’t clear how easy the full-fledged Mac OS X could be moved to a multitouch interface. But, I still would have liked to see it based on Mac OS X. I fear that Apple is losing focus of their full-fledged computers and are risking becoming much more of a gadget maker.

Another reason the iPod OS approach is disappointing to me is that you’ll have Apple as a gatekeeper to all applications (unless it is jailbroken or something similar). I understand why Apple would want to do this… think of all the revenue this generates as they get a cut of every paid application sold. Indeed, this may well be one reason that the hardware price is so low. Much like razors, they can make money on the blades (or the apps). But, having a gatekeeper in place is very limiting for developers. Will Apple refuse to release applications like Firefox that would compete with their built-in apps? If the iPhone’s history is any indication then, yes, they will limit applications and stifle competing products.

And, speaking of competing products, iPad will not support Flash. Perhaps there will be a workaround in the future but the iPhone still does not have Flash support. I have to wonder if Flash and Silverlight would be blocked to lock users out of all of the alternatives to the iTunes Store. The iPad would be much more attractive if I could watch Netflix movies or Hulu content right from it. Of course, having these options available would really limit the appeal of paying for content from the iTunes Store.

In the end, I think that I am not the target audience for one of these devices. That said, I do think that Apple will sell a tons of iPads. They are a really cool and neat toy… I would just not be willing to pay that much for something which, in my mind, offers so few advantages to having a smartphone and a laptop.

Filed under: Computing, General No Comments
14Jan/100

Using Windows 7’s Snap feature on dual monitors

One new feature in Windows 7 that I really dig is the “Snap” feature where, if you drag a window to the side of the screen, it will be resized to take up half the screen size. I was lucky enough to get a new monitor at work so that I could have a dual display with my laptop and it is great but it was not immediately apparent to me how to use Snap with a dual monitor setup. When I would drag a window to the edge of the screen, it would move that window onto the other monitor. I figured out that if you use the key combinations to invoke Snap, instead of the mouse, you can use Snap on either monitor. Simply make the window active that you want to snap and use one of the following combinations:

  1. Windows – Left Arrow snaps to the left.
  2. Windows – Right Arrow snaps to the right.
  3. Windows – Up Arrow maximizes the window.

The Snap feature will use the monitor that the window is currently on.

Filed under: Computing No Comments
12Jan/100

Windows 7 woes

I have been, more or less, happily running Windows 7 on my MacBook Pro for a few weeks now. I wound up formatting the drive during the Mac OS X install and then installing only Windows 7 on the drive and using the OS X disc to install the Windows driver. I went a while with no crashes and digging the interface improvements. However, lately I experienced two crashes. A bummer, to be sure, but even more disconcerting was that all my open files seemed to be corrupted after reboot. Dreamweaver couldn’t start up because of a corrupted preference file and all of the files I had been editing were corrupt. The file size seemed fine but the files were blank in any text editor. Grrrrr…

One other thing this file loss caused me to realize is that Restore Previous Versions on Windows 7 is no substitute for Time Machine. I had thought that Windows 7 would save versions of changed files in between the daily incremental backups that were running. Apparently, though, previous versions are saved during the incremental backup and during System Restore points which can be triggered by software installs, for example.

Time Machine, in comparison, backs up changed files every hour. And it can be used to easily do a software restore or migrate information to another machine. I have been looking for a substitute for Windows 7 but, so far, cannot find anything close to being as smooth, seamless and as slick as Time Machine.

Filed under: Computing No Comments
15Oct/090

Fixed Vista Windows Explorer crashing problem

I was recently having a strange problem with Windows Explorer on my install of Vista. For some reason, Explorer would hang and require a restart the first time after boot after right-clicking. After some investigation, I think that the problem must have been an errant right-click entry by a program. When you install Windows programs, many of them add things to the right-click menu in Windows Explorer so that you can perform and action on that file in your newly-installed program. For example, iTunes will add the ability to “Play in iTunes” when right-clicking on an audio file. Apparently, one or more of these additions to my right-click menu must have been causing Explorer to hang. I am not sure why a restart of Explorer fixed it.

To fix this, I downloaded the free application, ShellExView from http://www.nirsoft.net. I then turned off all extensions except those provided by Microsoft (there were a ton and turning them off individually to find the culprit would have taken forever). After reboot, I right-clicked and… no crash! Now I can turn on extensions that I would find useful. It not only fixed an annoying problem for me but it also will allow me to customize and streamline my Explorer’s UI.

Filed under: Computing No Comments