January 2008
37 posts
1 tag
Software Archaeology Find #1: Labyrinths
Just a sample of the wonderful file structure we’re trying to make sense of and reorganize from an old project.
E:\archive\backup\tsr\old\x. en knippe blandade prisma-virtue-old-new\discern\2002-09-10 current_build\current_build_old\2002-08-01 current_build\sessions\dice\textures\house.jpg
Next archaeology find >
96 Characters Ought To Be Enough For Anyone —... →
I really like his third footnote (thanks to Ahruman from #macdev for showing me this nugget)
2 tags
2 tags
These are my children. They join me on all my...
So I use a lot of small utility classes that just jump between projects. Not enough to warrant a library, but still code I can’t live without. For example, ary(id first, …) instead of [NSArray arrayWithObjects:…], dict(id key, id value, …) for a dictionary, sf(NSString *format, …) instead of [NSString stringWithFormat:…], a zooming and delta-scrollable CALayer,...
I do not trust the Objective-C 2.0 Garbage...
Why? Because I crash inside the collector thread. And because it’s young. And because it seems I’m the only one on this planet building an application involving both the GC, CoreAnimation and NSOperationQueue. They’re a perfect fit, but no one has ever crashed where I do, it seems.
For example, let this be the first and only hit on google for CALayerEnsureTransaction:...
1 tag
I have newprojectitis
Jan: [exams not going good]
nevyn: ah... boring education?
Jan: [secret project name] :)
nevyn: hehe
nevyn: goddamn coding is so much fun
nevyn: I started a new game today :P
Jan: hehe, you have serious newprojectitis
3 tags
Pullsar: Starting up.
Pull Stars from Mario Galaxy is just way too much fun, don’t you think? So do I. So I set out to make a game based on that very concept.
I’m doing it in the same vein of openness as Warren Marshall over at Wanton Hubris, where he documented every step of making his Quake 1 editor ToeTag. Okay, maybe I’m taking it a step further and yet another step too far; I recorded the full...
4 tags
Three Points On Error Handling
I’ve been ranting on Twitter lately about how to do error checking the wrong way. Coincidentally, the latest topic on Mac Developer Roundtable was about just that, error handling.
I don’t think this episode of MDR was very interesting. It was essentially an overview of the three common error handling strategies (exceptions, enum returns, pass-by-ref error object), and some general...
Guitar Wizard →
Nice. Guitar Hero with a real guitar! So, once I master GH3, maybe I can get this and /actually/ learn to play the guitar ;) Also, check out Piano Wizard. What I don’t get though, is why market it for kids when it looks great for anyone who wants to learn to play the piano?
IT-chefen som slutade skratta →
Det är lite som Per säger, ibland vill man bara bli potatisodlare :P
Fast just att jobba inom management är väl det sista jag kan tänka mig… Heléne i artikeln: “[det kändes] som om jag inte gjorde något som var till någon nytta”. Rui Carmo brukar säga att hans liv är en exakt replika av Dilbert.
2 tags
NSURLConnection, rails, apache, spaces in URLs and...
My Rails application uses redirect_to at one point in my code where it redirects to a pdf document on an apache server. The URL that it redirects to contains spaces. URLs may not contain spaces. redirect_to does not escape these spaces, but issues a ‘302 Found’ redirect response with the unescaped URL.
When my Cocoa application receives this redirect request through the currently...
AOL adopting XMPP aka Jabber →
AOL is obviously one step ahead, in any case. A giant leap, really, not just opening the protocol but changing to a completely OSS protocol. Nice!
Messenger 9 API unveiled at Georgia Tech... →
Am I reading this right? Is Microsoft opening up their MSN protocol? No more reverse engineering?
Welcome, @voxar, to the world of Twitter :)
I second @RogueAmoeba — Airfoil 3 IS awesome! Been using it for months. It can do 0.2 sec latency if you only transmit to computers.
WTF? TextEdit just did a get a getattrlist on all (?) files in my /Games folder, for no obvious reason. I haven’t used TextEdit in hours.
Today’s adventure: Using the computer with fs_usage in the background all day. I knew my computer swapped, but *that much*? Ouch.
Why on earth do I have to tell Spotlight not to index my TimeMachine *backup*?
@bmf two-three years ago a few classmates I spoke with thought the Internet was a big, big computer somewhere. Explaining didn’t help :P
Damnit! Why doesn’t AULab allow using many devices at once? I want to input from one audio device and output to another.
Airfoil users, rejoice! http://thirdcog.eu/apps/soundflower
@rentzsch: Fission
2 tags
Soundflower with volume controls →
I spent a day or two procrastinating, writing a patch for Soundflower I’ve wanted to write for years. Adds volume, gain, balance and mute support to all Soundflower virtual sound devices.
panic(cpu 0 caller 0x001A7BED): Kernel trap at 0x343121d1, type 14=page fault. All this just to get surround sound *with* volume controls.
Just got my first kernel panic from driver development. yay! Any ideas on how to make this less painful? (adding vol ctrl to soundflower)
1 tag
Day Break: Best show I've seen in 2007 →
Better than Heroes and Lost imo. It just gets better and better for each episode, and the ending is awesome.
Am I the only one getting kCGErrorIllegalArgument in my windowserver.log every time I switch windows?
2 tags
Mr. Random Is My Friend
This is Mr. Random.
21:35:26 nevyn@xephon:~$ cat bin/rnd
#!/usr/bin/env ruby
class Array
def random
self[Kernel.rand(self.length)]
end
end
if $0 == __FILE__
puts $*.random
end
This is how you use Mr. Random.
21:38:38 nevyn@xephon:~$ rnd pizza chinese leftovers
leftovers
The best thing is how it makes you realize what you don’t want.
21:38:50...
Also, it’d be interesting to instrument what happens when I log in… It takes more than five minutes before the hd stops thrashing