August 2009
10 posts
1 tag
Secret gems in Snow Leopard
Just got a few so far, but I’m sure Twitter will yield lots more over the coming days, so I’m preparing for a gigantic list ;)
Exposé Press space to make the thumbnail under the cursor full-sized (for quick previews). @fraserspeirs
Press command-1 to sort windows by name. @mikeysan
Press command-2 to group by application. @mikeysan
Dock Minimize windows to “the...
1 tag
The One Objective-C Block Memory Management...
This is what I wish they would have shown us at WWDC, so that I would have understood block memory management and wouldn’t have felt like I had to write an entire frickin’ guide to help others avoid my confusion:
typedef void(^BasicBlock)(void);
void doStuff(BOOL cool) {
BasicBlock block;
if(cool)
block = ^ { ... };
else
block = ^ { ... };
}
…...
Teaching Ruby to High School Girls →
andymatuschak:
Sarah Mei bravely stood in front of a class of high school girls and helped them make a pixelly Etch-a-Sketch. The awesome part? They loved it.
Her detailed transcript of the experience is enthralling. She has some very clever insights about teaching this stuff:
Ruby purists may protest that I didn’t talk about objects, or classes, but for the ones who keep going with...
This certainly goes hand in hand with what I always knew but didn’t know I knew! How do I know that? Well, just right now I was watching a TED talk instead of writing code for a very well-paid client job, that’s how! And see? Here I’m writing a blog entry instead of writing said code. It’s a conspiracy of the mind! Memes, they eat my brains away.
Programming with C Blocks on Apple Devices →
I wrote a guide to using the new neat Blocks feature from Snow Leopard. Bonus: You can use them on 10.5 and iPhone too! Read on, and please leave a comment with what you thought of it, especially if you disliked it or something’s amiss.
The specialized device
mrgan:
And one last area where the tablet may create a whole new category: gaming. To my knowledge there’s been no 10”, handheld, touch-input game console. Again, the form factor won’t just mean that now your Rolandos will be four times as big; it will mean whole new kinds of games. I don’t have the imagination to guess what these will be, but the possibilities are enormous, even assuming that...
Use ImageMagick on your webservers?
marco:
This thread just solved a big convert performance bottleneck for me, in which basic image operations (resize, sharpen, etc.) would take orders of magnitude more time than with older versions of ImageMagick and would saturate multiple CPU cores for far too long.
Apparently, OpenMP isn’t very good yet for many-core, high-volume usage.
Compile ImageMagick with --disable-openmp and...