I’m back in Vuda. I just decided I couldn’t stay in Suva for another two days and came to the West early.
Today we just lounged under the coconut trees, while Joana explored the yard and did a bit of ‘vatatalo’ for the first time. Then in the evening we went down to the beach and Joana and I went for a swim.
It was a very fun day.
I brought my work PC over with me so I could so some work while here. Joana poured a cup of water over it. I have it drying out and I hope it is ok when I check it tomorrow morning.
The experiment is written by Dean McNamee and is a JavaScript 3d rendering engine. There is a great article on it at the google code blog.
It renders a cube that turns into a sphere then a monster. All with just JavaScript, no Flash or other plugins.
I tried launching the demo (click to open in a new window) in Chrome, Safari and Firefox. Chrome was the only browser that handled the animation well. It didn’t even use more then a few MB of memory to do it. Safari climbed to about 200MB of memory and didn’t render the more intensive parts of the animation. Firefox was slow in rendering and also took up to 200MB of memory. This just shows how vastly superior Chrome’s Javascript engine (V8) is. You’d also have to take into account the implementation of the Canvas element, but the Javascript execution is what really matters.
The code for Monster isn’t released yet. Would be cool to play around with it when it is.
Very dreary weather this week. I just got back from the West which had nice sunshine. There is an aspect of dreary weather that might appeal to me, maybe when I’m 80 and can’t walk. I could just sit out on the front porch and watch the thin rain stream down from the sky like an endless gray mist, hour after hour. But not today. The rugby field is muddy and no one feels like playing. The warm blanket on my bed is inviting, but I know that as soon as you get in it will get too hot. We’ll you’d think we’d be used to this by now.
I think I’m going to go club that screaming dog tonight. It barks endlessly day after day, night after night. Poor thing actually, it is the owner’s fault. They keep it tied down all the time. Imagine if you were tied tree or post. You’d probably start barking after a few days.
We’ll right now I’m tied to this computer screen. Been on this for the last 8 hours and counting. I’m debating going out to play rugby but I don’t want to run 2 miles to find out the field is still muddy. Actually, I could use the exercise anyway. Right after I hit save.
Joana was very sick when I was in the West. Poor lil girl. It is quite disturbing to watch your child desperately sick. Makes me wish I had chosen to be a doctor instead of a code puncher. She’s well now and since then I’ve taken up reading medical sites in preparation for the next bout of sickness. I’d originally thought she was immune to sickness, 2 years without so much as a cough. We’ll at least now I know her immune system can handle whats thrown its way. She’s doing a lot better now by the way.
Ever tried parsing Mime Mail? Not for the faint hearted, I assure you. The great thing is that PHP has an extension for parsing Mime Messages called MailParse. The bad news is that using this extension is probably just as hard as writing your own Mime Parser.
Fortunately with a bit of help I’ve put together a Mime Mail Parser Class that wraps the MailParse extension functions making it simple, efficient and fast to parse mime mail in PHP.
Why another Mime Mail parser? Well for two main reasons.
1) Pure PHP implementations are slow and inefficient compared to MailParse.