The software industry is filled with "two more weeks" promises and deadlines. The truth of the matter is that I can always tell a project is nearing the end when the incense starts to run out. I’m down to pine, musk amber (Cathy says smells like dust), and rose. This is almost as bad as running out of coffee!
Day: November 5, 2007
I dream solutions to my problems
At 3am, I was pounding my head on my keyboard with this bizarre problem. The PHP code I had written was reading the XML data from the XML file but for some inexplicable reason was breaking one of the nodes in half. If it was supposed to read "the quick brown fox jumped over the lazy dog" it would instead create two nodes such as "the quick brown" and "fox jumped over the lazy dog". Maddening! So I slept. And in 5 minutes this morning, I solved the problem. I still wish I could take a pill instead of sleeping.
Update: The correction to the problem was to read the whole file instead of reading it in 4096 chunks.