Archive for the ‘Programming’ Category

The Uber-Lame (yet Genius) Developer

September 7, 2010 Leave a comment

My last post mentioned Apple’s AurioTouch spectral analysis app, which I was fairly impressed with considering it’s just a free example. Turns out it’s being sold in the App Store by some random “developer” for $0.99! The feature list exactly matches the sample’s. Absolutely no value-added.

Seems pretty lame to me, but what is there to criticize? If Apple allows it, you might as well make a couple bucks. Maybe I should be scouring Apple’s examples for Apps that I think could make a dime as-is. It’s a simple business model, that’s for sure.

I couldn’t help but laugh when reading the app’s reviews, which of course were thick with enhancement requests. I think the reviewers might be disappointed by a lack of updates!

(2 out of 5 stars) If you write an FFT program then why not annotate the frequency axis in Hz??? I’ll expect this in the next upgrade

Don’t hold your breath…

Here’s the App

Categories: Programming Tags: ,

Introduction to Objective-C++

September 7, 2010 Leave a comment

I started looking into the iPhone SDK today. After downloading some of Apple’s sample code, I found myself poking around in a lumpy mess of C, C++, and Objective-C.  C++ isn’t exactly a trivial language to learn, let alone master. Adding Objective-C into the mix sure isn’t going to simplify anything. Does anyone actually enjoy working with this unsavory combination? How compatible are Objective-C and C++? For example, how do their exception handling mechanisms interact? Developing in this environment will definitely be an “interesting” experience.

The sample app I looked at is an audio oscilloscope, FFT, and spectrogram viewer: AurioTouch

I found it quite impressive for a sample app!

Categories: Programming Tags: , ,

Ease into it…

September 5, 2010 7 comments

So let’s do a quick post to get things rolling. The Python programming language has grown on me quite a bit in the past few years. My appreciation for the language grew even more when I had to dive into Javascript recently at work. There are several similarities between the two, both being dynamically typed scripting languages. It was almost humorous though, how so many of Javascript’s initial differences were annoyances. And I think there’s more to it than just learning curve difficulties. Just a few examples:

  • Curly braces and semicolons. Reduces the efficiency of a scripting language.
  • The var keyword. It just seems superfluous coming from Python.
  • for (x in myarray) {} x is assigned the array indices, [0, 1, 2, …], not the array items like I expected. Means there’s an extra line of code to actually access array items.

I imagine Javascript will also grow on me as I use it more. But I doubt it will ever even begin to approach Python’s status as a great, elegant language in my book.

Categories: Programming Tags: , ,