Profile_bird

Hey there! kongtomorrow is using Twitter.

Twitter is a free service that lets you keep in touch with people through the exchange of quick, frequent answers to one simple question: What's happening? Join today to start receiving kongtomorrow's tweets.

Already using Twitter
from your phone? Click here.

Default_profile_1_bigger
kongtomorrow

  1. @tolmasky hehe. :-) Also, as of 10.6, firstResponder is KVO compliant. See AppKit release notes.
  2. @tolmasky Add a bounding rect for the clip to the path, then use CGContextEOClip.
  3. @lgerbarg Interesting. Objects can have that distinction too. Correct use of NSMapTable depends on how its made. Fine, it's never vended.
  4. @tolmasky Would NSDrawNinePartImage apply as a replacement?
  5. @tolmasky Enough different, apparently. The perf problem repros for me, and my guesses didn't help. The window server is faster. Radar?
  6. @tolmasky That I tried. In my test case it's too fast to improve. With beam sync off I get 186 fps.
  7. @tolmasky had some thoughts, but when I made a test case to try out it was too fast. Sample code?
  8. Turn on screen sharing from terminal in 10.6: sudo touch /etc/ScreenSharing.launchd
  9. @rentzsch Automator had variables in 10.5 too.
  10. @nriley DockTiles don't run in the Dock process. Thus, less problematic.
  11. @rentzsch Of, if you meant a first-call race in +defaultManager itself, then yes, actually, it is fixed.
  12. @rentzsch Same as in 10.5. If you set a delegate, you must use your own alloc init'd instance. The error taking methods are otherwise safe.
  13. Method of the day: -[NSView needsToDrawRect:]. Very nice! Missed this somehow.
  14. Death to capital Y in date formats! It's the 'year of "Week of Year"'. Format Dec. 29 2008 with "M/dd/YYYY" and get 12/29/2009. Bwah?
  15. NSWindow's key loop is marked clean when going onscreen, to avoid stomping stuff from the nib. Thus alts made offscreen don't cause recalc.
  16. Trick for showing leaked thing X is a consequence of leaked thing Y: Manually release Y in gdb, run leaks again. Did X go away?
  17. set environment variable OBJC_DEBUG_NIL_SYNC to catch yourself using @synchronized on a nil variable.
  18. Seems odd that google code doesn't offer continuous integration and testing.
  19. varargs functions cannot accept char, short or float. Such arguments are always promoted to int or double.
  20. CFAllocatorSetDefault is per-thread. Sadly, that means there's no way to set the default allocator for your app in general.