Java Developers, If You Say “Works on Mac”

Please Play By the Mac OS X Rules

Today, I’ve been trying various password managers — seems like thousands of mostly complete solutions, all lacking polish. One of them was JPasswords, after I tried it I found a lone file in my home directory, jpws.ini.

Before iCal supported CalDAV, I tried Calgoo Connect to sync my Google and 30 Boxes Calendars. I laughed as it’s menu icon was the only colored one. Bonus was the “Calgoo Connect” folder in my home folder filled with logs and a “data” subfolder.

Java has come a long way from the “write once, debug everywhere days”, but still almost any Java application I try, poop in my home directory.

Watch Videos Online? I Download Later When the Tubes are Clear

I’m a web worker. My work is online, and it all slows to a snail’s pace if I’m streaming or downloading a video.

I have “High-Speed Xtreme-I” which promises “up to” a-lot, but the metered download rate is much, much lower than advertised, about 1.5-2Mb/s up and 0.75Mb/s. Fire up a video download and I’m in slowmo.

I want my favorite online video content delivered to me. Some of it is available on iTunes. Others like WordPress.tv is available on Miro.

Currently, I download a batch at the end of the day, but for my family the web is no fun if I’m downloading video podcasts in iTunes.

Is there a way to self-throttle or meter specific streams, downloads or applications on Mac OS X?

Unfortunately, there is a lot of content that isn’t even available for downloading. Mostly, I imagine because the content is supported by web page ads. I’d pay for that content, why is there no Audible.com for video podcasts? Or is there?

Even if available on iTunes or Miro, there is not even a link back to the online discussion, let alone comments, inline comments and tags (Viddler), and other resources. I would like it all to be pulled into my video player, except for YouTube comments ;-)

Am I alone? Any help fellow web workers? Any help from NewTeeVee pros?

Trying a little Objective C – Cocoa – Mac OS X

As well as surely-but-slowly working on a little web project, I’m trying to learn a little Objective C – Cocoa – Mac OS X.

My motivation is two folds:

  • Create some small (open source) Mac Apps to solve my own itches.
  • Exploration of what makes Mac special; the Mac tools and communities, and new insights into the Mac experience.

Apple “Tax”, Being Able to Get Things Done

Is buying computers a strange game of screen size and hardware numbers? Or is it about looking for a solution in hardware and software that helps you get things done?

I’ve given up waiting for the next Vista update to finally fix the long pauses on my Dell desktop. I’ve given up flushing away my time on it. These days it’s always booted up in Ubuntu, where it works very well.

I’ve recently had to help a friend downgrade from Vista to Windows XP, so their laptop would “work again”. He was about to buy a new laptop instead!

Another friend just bought a gorgeous Lenovo laptop. Vista is painfully slow to start up! So, he hasn’t even been using it — instead I find him on his old XP desktop. I’ll soon have to help him install XP on the laptop, or it wil continue to be an expensive paper weight.

I’m praying that Windows 7 is good. In the meantime, Microsoft’s Lauren campaign is a great conversation starter to help people solve their computing problems by considering the costs of their frustration, and what their time is worth.

I think most people will be trashing a Windows with their next computer purchase.

Attack of the Case Sensitive Filesystem

Case sensitive file systems should be retired.

They allow us to do stupid things, mostly in error, but sometimes because we are too smart for our own good. There is no good reason for their (continued) existence.

I imagine that in the ancient days of computing it came about something like:

“Long file names will take up too much space”

“I know, we can make the file system case sensitive.”

“Great, now instead of ‘work-notes.txt’ and ‘notes-about-homebuilding.txt’, I’ll just name the files ‘notes’ and ‘Notes”.

Software developers are known for our passion for backward compatibility, and so today the popular file systems of Linux and Unix (except Mac) are still case sensitive.

Gross!

What has gotten me worked up about this (again)?

The cause this time is a customer checked into subversion two copies of a file just with different case. From the commit log, it seems likely that they meant to rename the file.

When I tried to update (or check out) the repository on Mac OS X (10.5.6), a case preserving, but case-insensitive file system (doing the right thing), it fails with a cryptic message:

svn: In directory 'images/author_header'
svn: Can't copy 'images/author_header/.svn/tmp/text-base/belief.jpg.svn-base' to 'images/author_header/.svn/tmp/belief.jpg.tmp.tmp': No such file or directory

using the pre-packaged svn 1.4.4 (r25188 – built Nov 25 2007). Out of interest, I used macports to upgrade to 1.5.5 (r34862) and the error is different but equally cryptic:

svn: In directory 'images/author_header'
svn: Can't open file 'images/author_header/.svn/tmp/text-base/belief.jpg.svn-base': No such file or directory

At this point, I had not identified the cause of the problem, so I was quite frustrated. Thankfully, I had a Linux box to check out the repository on and from there the issue looked obvious.

Solutions?

Save us from our selves.

When working on developing the next great file system, make it so amazing that you can slip in case preserving, case insensitivity like Mac OS X’s HFS+ (Mac OS Extended).

When developing tools like the next great revision control system don’t allow files of the same name but different case — the default configuration anyway.  Failing that, have good error messages. 

It’s not too late for Subversion either to fix the long rotten issue 667: handle file name case sensitivity edge cases (issue 2010: case sensitivity problem with checkout )

Update April 2, 2011: two years later, newer version of Mac OS X, and SVN, and I encounter the same problem:

$ svn up
svn: In directory 'macleans3/images/maps'
svn: Can't open file 'macleans3/images/maps/.svn/tmp/textbase/BQ_old.png.svn-base': No such file or directory

lloyd-imac:macleans3 lloyd$ svn cleanup
svn: In directory 'images/maps'
svn: Error processing command 'modify-wcprop' in 'images/maps'
svn: 'images/maps/bq_old.png' is not under version control

Again, after looking around for easy solutions on the Mac, I just logged into a Linux box, and checked out there, removed the duplicate file names, and committed.

Mac, WordPress: “Error establishing a database connection”

If you get “Error establishing a database connection” when trying to set up WordPress.org on your Mac, are sure that the database name (DB_NAME), username (DB_USER) and password (DB_PASSWORD) are correct, the solution is very likely that you need to set mysql.default_socket = /tmp/mysql.sock in /etc/php.ini.

Continue reading

Tech Frustration

I’ve always been good at finding the cracks in things and breaking them wide open. This is one of the reasons why I enjoy testing software. I also have a high threshold for technology acting up and the disposition, skills, and resources (friends) to fix it, but lately I’ve been a little tech frustrated.

Continue reading

Walt Mossberg Wrote the Safe Article About Ubuntu, “I still advise mainstream, nontechnical users to avoid Linux”

Walt Mossberg, you are one of my favorite technology reporters, and so I’m particularly disappointed by your article
Linux’s Free System Is Now Easier to Use, But Not for Everyone“.

My first disappointment is the timing of the article. September 27th Ubuntu will have a beta release of their next version with Ubuntu 7.10 scheduled for release October 18th.

I don’t think you would write an article about the experience of Windows XP a month before Windows Vista, nor Mac OS X 10.3 (Panther) now with Leopard… somewhere in our future.

My next disappointment is you leaning on the term user: mainstream, nontechie users; average users; vast majority of computer users; average Ubuntu users, and mainstream, nontechnical users. You used the term 10 times in the article (+1 quoting Dell), and I think excessively.

Couldn’t you just write that you don’t think Linux is ready for most people. Oh, that is pretty much how the title of the article reads, but that message is lost in the article — likely because the article is largely you asking the Linux zealots not to come after you.

To most people I recommend Mac OS X, because I think that’s pragmatic, but I would definitely recommend Ubuntu over Vista to most people, also for pragmatic reasons. I use Vista everyday on a Dell Dimension E520 that it came pre-installed on. It may someday soon be the best Windows yet Walt, but as I told Don Dodge “It will be, but not likely until a couple of service packs from now.”

“People are having variety in their experiences with Windows Vista.” Zipkin, what does that mean?

How is this for a variety in my experience, I tried to delete a small file on the desktop and that was flushing much too long, so I tried to cancel and that hung:

Cancel Please!

Trying to force that to quit in Task Manager caused Windows to shutdown.

Internet Explorer 7 regularly crashes and unlike Firefox it doesn’t save any of the tabs and windows I had open, nor more importantly any of the content I was editing in those tabs.

On two occasions IE7 has started opening the same window over and over again until I had to shutdown the computer, and I definitely wasn’t on a malware site.

Are the very regular updates requiring reboots making it better? A little I think.

About those updates, who do I have to thank for the experience that has trained me to put the computer to sleep:

vista-sleep

and then when there is an update required:

vista-install-update-and-shutdown

That is a great help in losing work as I quickly go to shutdown the computer when I’m running out the door, or exhausted and off to bed. No warning, just closes all of the applications and shuts down.

Do I have to wait for a first “service pack”? We’ll be waiting a long while yet. “Microsoft finally came clean yesterday and said it will release Windows Vista SP1 in the first quarter of 2008.”

Notice how no one is claiming any more that Windows is the best operating system. As Windows plays catch up, there is a lot of opportunity for Linux and Mac OS!

Walt, I notice that the problems you describe are all getting Ubuntu setup. That’s the next reason I’m disappointment with the article, though it mimics my own experience with Vista on this Dell computer.

My description of problems with Vista are all ongoing problems, and the problems I have had setting up Vista far exceed the ones I have setting up the current Ubuntu 7.04 or the ones you describe in your article.

The best part of Ubuntu is that once you set it up, you won’t ever have to worry about it again and you will automatically be kept update to date with the latest security and features. In the other hand, setup is Ubuntu’s achilles.

All of the problems you describing having are issues that need to be addressed.

Did you try solving the problems? Are you going to give Ubuntu a real chance and use it for two weeks? (That is what Steve Jobs asked for with the iPhone on screen keyboard, and that was a very minor change compared to a whole OS.) You can at least give it that, or are you going to assume that it will leave you wading through online forums or finding complex workarounds?

You will actually find solutions in plain English to all of your problems and assistance from a diverse and talented community for free.

But it isn’t really free is it? Everything has a cost, to someone.

My last disappointment is with your assertion:

But open source is a two-edged sword. While it draws on smart developers from many places, nobody is ultimately responsible for the quality of the product, and open-source developers often have an imperfect feel for how average people use software. A European company called Canonical is the “commercial sponsor” of Ubuntu and provides support. But it’s largely focused on corporate and techie users. Average Ubuntu users are likely to have to wade through online forums, often written in technical language, to get help.

There are real people ultimately responsible for the quality Ubuntu and many open source products.

Your article unfortunately reinforces the fear that there is no accountability available when choosing open source products. Your research should have found that open source products are often backed by companies that have commercial motivation in the success of the products, and offer equivalent support and customization as any company selling propriety products. ie there is professional quality open source software without the lock in.

The irony is I don’t know any “mainstream, nontechie users” that have ever directly received support from Microsoft, and those people have already paid Microsoft hundreds of dollars for the product.

I think for most people Ubuntu will have a smaller cost than Vista.

Flushing Blue Toilet Cleaner of Death!

Microsoft, after finding that the blue screen of death wasn’t having the same amount of market “penetration”, and since the hourglass cursor had never been as successful as Apple Mac OS X’s Spinning Beach Ball of Death , for Windows Vista Microsoft created the spinning ring. Vista Spinning Ring

What do you call it? Do you talk nice to it?

Here for your pleasure, super-sized (which doesn’t happen nearly enough these days) and superimposed onto the original size, the Flushing Blue Toilet Cleaner of Death!

Vista Flushing Blue Toilet Cleaner of Death

Continue reading