Geeky

welcome, myapplemenu readers

Thursday, June 30th, 2005

I was greeted by my email this morning with two messages from my blog that there were comments on a post requiring moderation. For the first time since I started this blog, two people posted comments in one day. I think they may be the 2nd and 3rd comments received by this blog ever.

This made me wonder, so I took a look at the stats for “Top Page Hits” generated by the prolific Owen Winkler’s BAStats wordpress plugin. It turns out that my post How to play Windows Media files on a Mac has received 141 hits in the past 24 hours. But how could that post suddenly have received 141 hits when the main blog page itself only received 20 hits in the same period?

The answer was provided by the same plugin in its “Top Referring Pages” report: the Windows Media post was referred by www.myapplemenu.com as well as myapplemenu.com and the archive page www.myapplemenu.com/2005/06/30/. That’s where all those readers and commenters came from.

So welcome, myapplemenu.com readers. Feel free to stick around, comment, leave, stay, whatever floats your boat. I’ll be posting more MacOS X hints as I come up with them. I’ll be checking out myapplemenu.com as well — I’ve subscribed to its RSS feed using the very nice RSS reader NetNewsWire.

For some reason, this particular post was attracting lots of comment spam, so I’m closing it to further comments.

Mac tip: copy a screenshot to the clipboard

Wednesday, June 29th, 2005

Y’all Mac users probably already know that you can capture screenshots to a file on the Desktop by hitting command-shift-3, and command-shift-4 to capture a specified portion of the screen to a file (if you don’t know about that, try it — you can delete the file later). But you can also copy the screen or a portion of it to the clipboard rather than a file by adding the control key to those key combinations.

This can be very useful if you want to paste a screencap into an email message or an iChat conversation. Just shift-control-command-4 and drag across a portion of the screen to copy it to the clipboard. You can also change any of these key combinations in the ‘Keyboard Shortcuts’ section of the ‘Keyboard & Mouse’ System Preferences pane. I’d advocate leaving them as-is and learning the defaults so that you can take advantage of the combos you’ve memorized when you sit down at macs other than your own. And your ability to remember multiple-key combinations will come in handy when you start using GNU emacs to edit all your text files.

goals are dangerous

Tuesday, June 28th, 2005

I’ve decided I need to learn more math to better understand the algorithms used to generate computer graphics, with an emphasis on feature tracking and optical flow analysis. I’ve decided on a goal, which is to be able to understand the Levenberg-Marquardt algorithm. I picked this algorithm at random because its description looks a lot like that of other functions I’ve tried to figure out in the past. So I’m going to have to brush up on linear algebra.

Goals can be dangerous. Back when I was around 15 I decided I was going to tackle Bach’s Prelude 2 in C minor. I worked on it for a long time, and never did finish. It was very frustrating. Since then I haven’t really touched a piano.

When I have enough space for a piano I’ll start practicing again, and without a doubt I’ll master that piece. But maybe I’ll start off with something that’s closer to my skill level.

a useful site for learning to read Chinese characters

Wednesday, June 22nd, 2005

NewsinChinese is a very cool site. It’s a blog that aggregates a bunch of Chinese news stories and displays them. As you mouse over each Chinese character, a small window pops up that shows the character, its pronunciation in pinyin, and meaning.

How to play Windows Media files on a Mac

Wednesday, June 8th, 2005

There are many ways to play Windows Media files on computers running Apple’s OS X:

  • Microsoft’s Windows Media Player 9 for Mac Os X — straight from the horses mouth. Plays Windows Media audio and video ok, streaming and files. Does not support playback of nearly as many formats as Windows Media Player for Windows.
  • Flip4Mac — I haven’t tried this commercial option ($9), but these folk have apparently licensed the windows media codecs and written them as QuickTime codecs so that you can install them and then simply play back Windows Media files inside of QuickTime Player.
  • VLC — a media player that plays just about every format (as well as DVDs), and can also be used to stream media from one machine to another.
  • MPlayer OS X — Originally a “Movie Player for Linux”, now available for Mac OS X as well as Windows. Like vlc it plays just about every format well, and also does some fancy filtering and scaling. This is the player I use most often for all non quicktime formats, because I like the UI better than the others, it seems to perform better, and the visual quality is very nice (video generally looks better from mplayer than from Windows Media Player — perhaps due to better filtering and scaling?)

Posted with DashBlog 0.12 Beta

Tuesday, June 7th, 2005

a screenshot of dashblog in action

Well, what do you know. Someone named June Tate wrote a very nice dashboard widget for posting to blogs called DashBlog. So I just installed it, configured it, and now I’m a posting. Purty darned cool, and it even checks spellling while you type…the sort of feature mac apps get with little additional code. Very nice.

Some good photoshop tips

Monday, May 9th, 2005

Ken Rockwell has posted some nice Photoshop tips on his site.

in which I write my own version of tinyURL for the hell of it

Sunday, April 10th, 2005

On a text based bbs that I frequent, someone posted a URL so long that it spanned 4 lines. I didn’t even bother looking at it because that would have entailed copying and pasting the 4 lines separately into my web browser’s location field. Someone later posted a tinyurl version of it to the bbs.

In case you’re wondering what I’m talking about, tinyurl is a site that lets you create really short URLs that will then redirect to the original longer URL.

I posted that I thought tinyURL was a great way to go for URLs on the bbs. Several people responded that they don’t like tinyURL for a number of reasons:

  1. They don’t know what a link is before they click on it — it could be a porn site for all they know.
  2. They never know before clicking a link whether it’s work-safe or not — goes along with reason #1
  3. They can’t get to tinyURL from work — maybe the router at their workplace blocks the site for some reason?

I figured it’d be easy to write a script that does the same sort of thing as tinyURL, but adds features that these bbs users would want. I haven’t done any web development for a while, and figured writing my own tinyURL alternative would be a fun exercise.

So I fired up emacs, dusted off my mysql server, apache, and php processes, and got to work. The result: xiaoURL. Using xiaoURL is a more complicated process than tinyURL — xiaoURL doesn’t automatically forward users to the longer URL’d website, but instead shows a page of information on the site and provides a link for them to click. This is what people in the industry would call increased “friction” in the user experience, but it’s the best way to deal with the needs of these particular bbs users. Feel free to use it if you like.

Palm Desktop installation annoyance

Tuesday, March 29th, 2005

I had some trouble installing Palm Desktop on my ibook, and chances are you will too. But thankfully there is a solution. Here’s the tale from the top.

I installed a new version of OS X on my ibook, and afterward needed to reinstall palm desktop to get syncing to work. I jumped through all the hoops required to download Palm Desktop (is it really absolutely necessary for me to have to find and enter my Treo 600’s serial number in a form just to download the software? Annoying, bothersome, unnecessary.). I then began my futile attempt to install Palm Desktop.

The installer crapped out with an error message very quickly in the install process (wish I could remember the error message). After much searching, I found out that the culprit is a permissions problem of which PalmOne is aware and has a fix available. It boggles my mind that PalmOne doesn’t mention the availability of this fix right away in huge print on the download page for the Mac version of the latest Palm Desktop, because I think just about every Mac Palm user who ever needs to install a new version of Palm Desktop will need to run this fix (apparently, anyone who has ever installed isync will need to run the script to change the permissions on a couple of folders).

After running the script, available here (get PalmOnePermissionsFixer.sit), I was finally able to install Palm Desktop. Yay.

Useful information on DVD-R and +R media

Saturday, March 19th, 2005

A document that explains the difference in quality between the recordable DVD media from different manufacturers and includes quality ratings. DVD MEDIA GUIDES -> Blank Media & Quality FAQ

An application (for Windows) that will tell you information about your blank DVDR disc — who made it, what speed it can be written to at, etc. DVD Identifier.

A similar application for the Mac, in Japanese or with babelfish translation to English.

I’ll have to check all this out. I’ve had very good luck (i.e. 100% success so far) with my stack of 200 DVDR discs I mentioned earlier.