Showing posts with label os x. Show all posts
Showing posts with label os x. Show all posts

Sunday, April 18, 2010

The Pains Of iPhone OS Development

JWZ has written a pretty scathing (yet very entertaining) indictment of the whole "it runs OS X" aspect of iPhone OS programming. Some choice quotes:
I think it's safe to say that MacOS is more source-code-compatible with NextStep than the iPhone is with MacOS.
That's like, the defining characteristic of OpenGL. So OpenGLES is just a slight variant of OpenGL, in the way that [a] unicycle is a slight variant of a city bus. If you can handle one, the other should be pretty much the same, right?
Granted, most of his gripes are with the APIs, not the environment, but it is pretty lame that you can't, for example, get the HSV version of a color on the iPhone. Like he says, it feels like someone actively sought out and removed valuable API hooks. Le sigh.

Tuesday, October 06, 2009

"Single-Application Mode" in OS X

When someone linked this article to me, the operative phrase "Single Application Mode" made me think someone had just figured out how to use the Mega Zoom SIMBL plugin. How wrong I was.

So apparently back in the olden days of pre-10.0 OS X, clicking a dock icon would hide all other applications. Command-Tab wouldn't, though, so using a combination of these two behaviors achieves the same functionality as Spaces, but faster and easier to modify on-the-fly. Try it yourself:
defaults write com.apple.dock single-app -bool true 
killall Dock
Viola. I have to say, I'm absolutely loving this mode. Too bad it's not exposed in System Preferences.

Saturday, January 03, 2009

AU Box Shows What Apple Could Do (And Probably Won't)

Check out the simply-named box from AU by KDDI. Connect it to your mobile or fiber-optic Internet connections, and it accesses a slew of AU/KDDI/Internet services, making them available on both your mobile phone and your home entertainment system.

While I was watching the introductory video, I could only think about one thing: How cool would it be if there was an iPhone dock on the Apple TV? Use a 3G or wired connection, download your shows to both components, and never have to connect to iTunes itself.

Unfortunately I have a feeling we're not going to see anything like that anytime soon. If the history of the iPod has told us one thing about Apple's technical design aesthetic, it's that the Mac/PC is the hub from which one manages one's content. Pushing/downloading content to a computer from a more special-purpose device is a special case, one that Apple's products are designed to reduce in occurrence.

After the rescinded approval of the iPhone data-tethering app, the release (finally!) of a phone running Android, and novel mobile applications like AU box, an optimistic geek might be led to believe that there's simply too much pressure on Apple to maintain the iPhone's "closed platform" nature.

It's certainly not impossible, but I wouldn't hold my breath on a sea change in Apple's broad platform strategy. The fact that Apple TV and iPhone both run OS X is a matter of convenience, not a sign that either platform is destined for Mac-level openness. If you want free reign over your Apple device, to make it do precisely what you want, and run the applications you want, Apple's design intentions be damned, you're better off getting a Mac than an iPhone or Apple TV.

Sunday, November 02, 2008

Panda3D Macintosh Install Script

Nutshell: Click here to download a Python script to install Panda3D from scratch. Read on for more deets.

Panda3D is a great game engine, especially for rapid-prototyping, but for Mac users it can be a bit frustrating being a second-class citizen. While independent developers are creating very useful distributions (like Hypnos's awesome p3dapp) there are no official builds, and installing from source is no easy task.

Edalytical's very helpful guide, Building Panda3D in OS X Leopard, has fallen out of date. Using it as a base, I've created a Python script that will install Panda3D from source, and can even download and install Panda3D's two major dependencies, MacPorts and the Cg Toolkit. Its only dependency is Leopard Developer Tools (you know, Xcode and the like).

Simply download the script from the Game Sketching project's downloads page. By default, it will download/compile/install Panda3D. You can add the options +macports and +cg to download/install those dependencies. See the source or read below for the usage info:

pandaAutoInstall.py [noex] [(+|-)option]
option is one of 'uninstall', 'download', 'compile', 'remove', 'test', 'macports', 'cg', 'announce'
To install everything: pandaAutoInstall.py +all
To just install Panda3D: pandaAutoInstall.py
To uninstall: pandaAutoInstall.py +uninstall


Bug reports, positive/negative feedback and success/failure stories are welcome!

Wednesday, June 25, 2008

Projects I'm Working On

Well, now that I'm off of school for the summer, I should be updating more. Even so, the projects I'm working on aren't showing a lot of progress, so there's not much to report on that front. And since I don't want to write one of "those blogs" that just regurgitates the latest from Engadget/Ars/Slashdot, posts just aren't going to be coming as regularly as I want them to.

I will, however, talk a bit right now about what I'm working on. Currently, I've got three projects in the works, all of which I hope to release before starting my new job in late July. First on the agenda is a redesign of Khakionion.com, my long-outdated website. I'll be getting rid of all that nasty table-based layout and creating a nice, clean, sensible website that will make getting my productions much easier.

Next is MTPCopy, an Automator action that will make copying music files to your non-iPod device in OS X a snap. I'm not one for those jukebox-style solutions like XNJB. I hope my approach will be much simpler.

Last, I'm hoping to allocate my Panda3D experience towards a 2D platformer, which I'm working on with my quite-talented sister, who's responsible for the art and character design.

That's what's up, hopefully you'll be seeing some fresh productivity out of me soon!

Thursday, January 10, 2008

AppleScripts to Toggle the Microphone

I'm nice and busy here in Osaka, but not too busy to see this infuriating "answer" on Yahoo, about how to mute a MacBook microphone:
Unfortunately that's quite impossible to do on a Mac. I've tried looking for a solution, but there was never an answer. I got tired of my Mac, and bought a Sony Vaio instead. They actually work, and are actually quality computers.
What the hell is wrong with people? And it was an accepted answer? Well, for some reason I can't post a new answer, so let me just say; a simple AppleScript (which I've written, and have available right here) can toggle the MacBook's onboard microphone. If you need it bound to a key, free programs like GlobalHotkey have you covered.

Don't like the way the AppleScript works? Just open it in Script Editor.

Stupid Yahoo Answers. I should be studying Kanji. :)

Thursday, October 25, 2007

Portal Giveth, and Portal Taketh Away (Outlook Sounds)

If any of you haven't yet played the amazing, wonderful game called Portal, you owe it to yourself to start up or install Steam and get cracking. It's incredible.

I'm listening to the soundtrack, and it appears that there was some sort of recording error in the song "Party Escort." Turn up the volume and go to 2:25. You'll hear it, plain as day: the Microsoft Outlook new mail notification sound? WTF?

Also, I found a pretty trivial bug in MacOS, maybe it will be fixed in Leopard? Damn, guess I'll have to get a copy of it to find out! :)