Christopher Warner Studies and thoughts, usually in coherent fashion.

10Feb/090

Random Cool

Don't shout at your disks; especially when they are working! I'm sure you should still talk to your plants though.

All of *.wordpress.com is behind Nginx/Apache/Varnish and that's pretty cool; Looks like they are saving a bunch of money by switching to Gei^H^H^H, heh.

Bought a brand new Macbook for work because my Powerbook G4 finally gave up the ghost. I wanted to try and sneak it in for the previous tax year but that's illegal according to my tax accountant, so i'll write it off next year. It was time anyway and my brother beat the g4 up pretty good during his first 3 years of college. I bought him a new one and took this old one. So in the meantime i've been using this Thinkpad x60 and Opensolaris... I really miss my Apple desktop, and I really should file a bug about this reverse polarity crap. This issue was fixed; I know because we went through this in like 2007 and 2008. Why isn't this fix in OpenSolaris?

Little bored but have been keeping busy coding (NIMS; thanks everyone for supporting and answering my dumb questions) and reading at night; taken it back old school.. Pool tonight.. i'm coming out with a win!! A.P.A BABY! Probably gonna buy the Opensolaris Bible to cut my teeth past ZFS because that's all I really use it for right now. Alexander Limi, leaves Google from what sounds like a select group of managers that were smoking crack/cocaine. Too bad for Google, should be good for Plone 4 though.. heh.. ok..

7Jan/090

Message Brokers

Sweet so this is cool, when you get to this part:

Assuming your machines database (or the interface too it) can be told to run this script when a modification occurs, you are halfway to completing this project

If you happen to be using Linux you can use inotify; I'm posting this here due to the comments here on this post. ActiveMQ is very easy to get running and it uses STOMP so it's just plain ole text. I'm not sure why this concept is new to so many people. Everyone repeat after me; Cron isn't an appropriate replacement for an event system and you shouldn't try or attempt at using it as one. Really i'd venture to say no one should be using poll() or select() at this point for monitoring the filesystem either.

Freebsd/OSX use kqueue. Here's a great tutorial on using inotify with linux. The opensolaris devs just pointed me to (FEM) libevent; couldn't find anything from google. Here are some good links/bg on that:

Event ports, The Event Completion Framework