Apple Mail Hack: Move Message To Sent Folder Apple Mail Hack: Move Message To Sent Folder

Posted by smokris on 2008.04.20 @ 09:43

Filed under:

Apple Mail IconIn the year that has elapsed since I failed to explain why I was using PINE for email, I’ve switched to Apple Mail. Don’t ask.

Well, it’s been alright, but much to my regret the improved latency due to keystrokes only traveling around my local machine — instead of through the interweb and back as was the case with PINE on a remote machine — makes it almost justifiable. Almost. [more...]

Some Crazy MacBook Pro Checkerboard Graphics Corruption / Crash Some Crazy MacBook Pro Checkerboard Graphics Corruption / Crash

Posted by smokris on 2008.02.15 @ 14:34

Filed under:

Last summer Kosada purchased a MacBook Pro for the president of one of Kosada’s consulting clients. It’s been a great improvement over the old Dell laptop he was formerly using, and, though he was initially worried about whether he’d be able to grasp the new UI, he seems to have picked it up quickly, and he reports that he’s been loving it.

But this morning he called me with a rather odd problem:

“I hooked up my Treo and started syncing it, then walked away for a few minutes. When I returned, the screen was covered with a bunch of squares, and I can’t do anything.”
NSURLConnection's sendSynchronousRequest enforces minimum 30 second timeout? NSURLConnection's sendSynchronousRequest enforces minimum 30 second timeout?

Posted by smokris on 2007.07.10 @ 16:47

Filed under:

While writing the new Image Downloader (Blocking) QC patch for CoreMelt, I ran into what appears to be a bug in Mac OS X’s NSURLConnection framework — if you construct an NSURLRequest and specify a timeout of less than 30 seconds, it’s ignored when you perform a [NSURLConnection sendSynchronousRequest:returningResponse:error:]. The request takes at least 30 seconds to time out, contrary to what the documentation suggests..

Steps to Reproduce: [more...]

How to make Pop-Up Menus in Custom Quartz Composer Patches How to make Pop-Up Menus in Custom Quartz Composer Patches

Posted by smokris on 2007.07.05 @ 13:26

Filed under:

screenshot of a custom Quartz Composer patch's pop-up menuMaking pop-up menus in custom Quartz Composer patches is actually surprisingly easy.

This release is only compatible with Tiger (10.4).
Please see kineme.net for Leopard-specific informations.
  1. Set up a QCIndexPort input. QCIndexPorts provide values from 0 to whatever max you specify using - (void)setMaxIndexValue:(unsigned int)max;.
New Custom Quartz Composer Patch Xcode Template New Custom Quartz Composer Patch Xcode Template

Posted by smokris on 2007.06.29 @ 17:02

Filed under:

Create a new Xcode project with this templateHere’s a new version of the Xcode Template for Custom Quartz Composer Patches.

Changes:

  • Rebuilt from scratch — no longer depends on QCJP’s work — and, by extension, the Creative Commons “Attribution-NonCommercial-ShareAlike” license. My Xcode Template, as of version 0.2, is released into the Public Domain. You are free to use it for whatever — commercial or non-commercial.
  • QCJP’s headers were replaced with headers assembled directly from the QuartzComposer framework — now located in the QuartzComposer/ folder of the project. I’ve exported a few more headers than QCJP had constructed, so there’s some added functionality (namely, image input/output ports).
  • The project now automatically assigns an icon to the patch bundle, and installs it in /Library/Graphics/Patches/ for you each time you build, for faster edit-build-test workflow.
This release is out-of-date.
Please see the latest version.

Download the installer, version 0.2.

See the old version’s blogpost for some additional instructions and user comments.

Monstrous P5 Glove Patch for Quartz Composer Monstrous P5 Glove Patch for Quartz Composer

Posted by smokris on 2007.05.20 @ 12:08

Filed under:

Steve's gloved hand in front of the P5 Glove Quartz Composer PatchA few weeks ago I stumbled upon a P5 Glove listed on eBay for $20. It arrived a couple of days later, and I started playing with libp5glove by Jason McMullan, Tim Kreger, and Ross Bencina. I built a very simple Quartz Composer patch around it.

 
[more...]

Phidgets Patches for Quartz Composer Phidgets Patches for Quartz Composer

Posted by smokris on 2007.05.16 @ 22:18

Filed under:

Phidgets InterfaceKit 0/0/4 PatchI made a pair of patches to allow Quartz Composer to directly interact with the Phidget InterfaceKit 0/0/4 (relay outputs) and 8/8/8 (digital inputs + analog inputs + digital outputs).

 

 
[more...]

Apple Remote Patch for Quartz Composer Apple Remote Patch for Quartz Composer

Posted by smokris on 2007.05.16 @ 17:51

Filed under:

Apple Remote and Apple Remote patch

I took Martin Kahr’s Apple Remote Controller Wrapper Class and built a Quartz Composer patch around it.

This release is only compatible with Tiger (10.4).
Leopard (10.5) includes a built-in Apple Remote patch.
Please see also kineme.net for Leopard-compatible patches.

Get version 0.1 here.

Some notes:

  • The events received from the Apple Remote are fairly strange to begin with.. You don’t simply get “key down” / “key up” events as I would have assumed, but instead get cooked events — for many of the buttons, holding the button down generates a different event than tapping it.
  • My patch queues events, to ensure that each keypress is visible for at least one frame.
Advanced custom Quartz Composer patch development documentation Advanced custom Quartz Composer patch development documentation

Posted by smokris on 2007.05.13 @ 12:03

Filed under:

In addition to writing the inspector panels for custom Quartz Composer patches tutorial, I spent this weekend writing up some advanced custom-patch-development documentation and posted it on QC Wiki:

How to make inspector panels for custom Quartz Composer patches How to make inspector panels for custom Quartz Composer patches

Posted by smokris on 2007.05.13 @ 11:52

Filed under:

…in thirteen easy steps or your money back.

This release is only compatible with Tiger (10.4).
Please see kineme.net for Leopard-specific informations.

 

 

 
[more...]