(Via New York Times)
If anyone out there is trying to build a collection object in PHP using the IteratorAggregate, here’s a tip that will save you hours of debugging and online searching: Return an ArrayObject from getIterator()! What finally worked for me looks something like this: class Collection implements IteratorAggregate { private $items = array(); private $count =…
Happy March! Last night I prepared the most complex meal I’ve ever done so far. It was not complex in terms of ingredients or anything light that. I made ravioli with pasta sauce, and steamed broccoli, which I suppose is fairly simple. But I had three burners on the stove going at the same time,…
I’ve spend the last couple of nights revamping my website and my reading list pages. They are finally at a point where I have once again made them public. So what has changed? Website Transformed to simple HTML Reorganized content Brought content up-to-date Reading List Complete rewrite using PHP and MySQL Simple HTML Dynamic queries…
My brain is chock full of object classes, inheritance, polymorphism, data collections, assertions, loop invariants, capital-I interfaces, generics, sessions, caching and hashing and no more will fit. I’ve literally filled up that portion of my brain that thinks in programming terms. Nothing new will go in. And I’m not really sure what to do, so…
Last night was another early-to-bed evening. I think I was in bed sometime after 6 PM, but read until just about 8 PM. (At present I’m 516 pages into Our Oriental Heritage, deeply immersed in Hinduism.) I fell into a deep sleep until nearly 2 AM. Then I felt like I was wide awake, so…
There’s a cool new iPhone update released today. One of the new features allows the Google Maps to locate your current position, using either WiFi networks or cellular towers. Gives the iPhone pseudo-GPS capabilities. It’s packed with other cool features too. I’m downloading it now.
I officially switched to my new MacBook Pro at work. I hadn’t planned to make the switch this morning, but I was having problems with my PC and after spending more than an hour trying to get things working, I said screw it and I switched. I now have 2 monitor setup: On the MacBook…
Over two years ago, at the rehearsal dinner for he11o_sunshine and stubiebrother wedding, they gave me the Complete New Yorker on DVD. Since that time, it has sat on a self in my office, unopened. This is not because I wasn’t interested in it. I am very interested. But other things took over my time…
There is no excerpt because this is a protected post.
I did a video iChat with Jim this morning. We used to do these more frequently but today was the first Sunday in quite a while that we’ve done it. You know what, it hasn’t lost it’s novelty yet. Jim lives in Ventura County, north of L.A. and it’s pretty cool to be able to…
I might have touched on this before, but I was thinking about paperless offices again this morning (having cleaned up much of the paper in my office earlier today). I am convinced that the move to a “paperless” office will be a very difficult one to achieve. In fact, it may be close to impossible…