Category Archives: UNIX

I do the stupid so you don’t have to

So you want to use bc for some hexadecimal maths. You set the input base: ibase=16 and the output base: obase=16 Oops! I just set it to output in base 22. I’d already set it to think numbers were input … Continue reading

Posted in UNIX | Comments Off on I do the stupid so you don’t have to

How to hire Graham Lee

There are few people who can say that when it comes to Cocoa application security, they wrote the book. In fact, I can think of only one: me. I’ve just put the final draft together for Professional Cocoa Application Security … Continue reading

Posted in book, Business, cocoa, conference, CoreData, iPad, iPhone, Java, kernel, macfuse, mach, nextstep, objc, openstep, UNIX, xcode | 2 Comments

Rootier than root

There’s a common misconception, the book I’m reading now suffers from it, that single-user mode on a unix such as mac os x gives you root access. Actually, it grants you higher access than root. For example, set the immutable … Continue reading

Posted in darwin, security, UNIX | 3 Comments

I may have not been correct

When I said Apple should buy Sun, whether that was a good idea or not, it seems to have failed to occur. Instead, we find that Oracle have done the necessary. Well, there goes my already-outdated SUNW tag. Presumably they’ll … Continue reading

Posted in Java, orcl, sunw, UNIX | Leave a comment

What’s new in 2009

Of course, it’s a bit early for a retrospective of 2008, besides which I’ve already written 73 entries this year, my most prolific year to date on iamleeg. And that doesn’t count numerous tweets, stack overflow contributions and of course … Continue reading

Posted in cocoa, darwin, iPhone, kernel, macdevnet, meta-interwebs, personal, UNIX | Leave a comment

All you never wanted to know about temporary files and were too ambivalent to ask

In the beginning, there was mktemp. And it was good. Actually, that’s a load of rubbish, it wasn’t good at all. By separating the “give me the name of a temporary file” and “open the file” stages, there’s a chance … Continue reading

Posted in security, UNIX | Leave a comment