JibberJabber

Book Updates and A Warm 'Thank You' to John Sung!

Recently, reader John Sung sent me an email asking for some help with some compile problems with Core Audio and OpenAL. In his gratitude, he sent me a $50 donation as a thank you.

I am moved by John's generosity. I never expected anybody to do something like that so I really wanted to give a public acknowledgement of this. The truth is that I earned very little money from the book so $50 is actually a sizable amount compared to what I've actually earned.

So John's generosity has has inspired me to pass it along to other. As may you know, I've been trying to raise awareness and funds for GIST cancer and I will continue to do so. But with the recent disasters in Japan, this time I've decided to kick  it to the

Pathological sleep disorder on iOS

The following article is a repost (with a few modifications) of an article I wrote on Ansca Mobile's blog for the Corona SDK. The Ansca blog is busy unlike mine so articles fall off quickly there. So I'm reposting here.

For those who don't know, Corona SDK is an SDK that allows you to write apps for iOS and Android easily using the Lua language with a simple to learn API that some have compared to Flash. Behind the scenes, everything is OpenGL, OpenAL, Cocoa/Obj-C (for iOS) or Java (for Android).


Soon after the rollout of our new audio engine (which is powered by ALmixer), a few of our users reported some performance problems. We believe we have fixed this performance problem, but the problem itself was actually a rather bizarre bug that seems to be an Apple performance problem. …

Using closures in Lua to avoid global variables for callbacks

The following article is a repost (with a few modifications) of an article I wrote on Ansca Mobile's blog for the Corona SDK. The Ansca blog is busy unlike mine so articles fall off quickly there. So I'm reposting here.

For those who don't know, Corona SDK is an SDK that allows you to write apps for iOS and Android easily using the Lua language with a simple to learn API that some have compared to Flash. Behind the scenes, everything is OpenGL, OpenAL, Cocoa/Obj-C (for iOS) or Java (for Android).



This type of question has appeared on the forums multiple times.

Basically, it goes something like this:


I have set up a listener callback function. But when the callback function is invoked, I would really like access to a specific variable in that callback function. …
Copyright © PlayControl Software, LLC / Eric Wing