new.chaos

Avatar

If you want a picture of the future, imagine a boot stamping on a human face - forever. (George Orwell)

Leopard and syslogd woes

If you notice your syslogd chewing up CPU running certain applications, chances are those apps generate a lot of “notice” logging which is mostly just noise. If you want to have syslogd filter out everything except “warning” and above, which should substantially improve the load on your machine, do as follows:

  • sudo vi /System/Library/LaunchDaemons/com.apple.syslogd.plist

  • Add the lines:

<string>-c</string>
<string>4</string>
  • sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist

  • sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist

When I'll buy an iPhone

I have been asked more than a few times by people: when will I get an iPhone? Here is the simple answer (I will accept 3 of 4):

  • 3G data rates (HSDPA or better)
  • Replaceable SIM card (for traveling abroad)
  • User-replaceable battery
  • I want a full shell on it + ability to write my own hacks in standard unix toolchain, perl/ruby/python/etc

I’d like a clamshell keyboard too… typing with a stylus or fingernail just doesn’t seem fast enough for me. Additionally one hopes that as the iPhone opens up, that IM and VoIP applications become available and NOT blocked or tampered with by AT&T.

Until then my Blackberry does the job fine.

-->

All content ©2006-2008 new.chaos, all rights reserved.