Skip to main content

CSI: Season Finale

I am one with the millions of CSI fans raring to watch the 2-hour season finale of the top rated series on television. Quentin Tarantino has been tapped to direct this one and I'm sure it'll be a very, very good 2 hours. My daughter needs to sleep a good hour before that starts because she won't sleep if she sees CSI on. Like father, like daughter.

I posted this on my tech blog, but I feel that I'll probably have more people see it here in LJ, which will hopefully translate to more ready answers for me. I did a script that displays my planner's buffer files. It would've been easier if I used emac's wiki publishing, but I wanted to format the output so that it'll look good on wp, and decided on it otherwise. Save for some quirks on the display, my tasks list shows up just fine.

I was asking around earlier about system-dependent directory reading methods. I couldn't get my display to sort properly. So what exactly is the order in which directory items are fetched? In the php manual:

Note:
The order in which directory entries are returned by the read method is system-dependent.

I would assume that a system read from a directory will return an alphanumerically sorted list, but I had the feeling that it isn't the case here. I used the dir class (readily available in php3 and up).
A pseudo-object oriented mechanism for reading a directory. The given directory is opened. Two properties are available once the directory has been opened. The handle property can be used with other directory functions such as readdir(), rewinddir() and closedir(). The path property is set to path the directory that was opened. Three methods are available: read, rewind and close.

No parameters passed to any of these three methods. Sucks.

Comments

Popular posts from this blog

Family Visits Singapura

My parents and in-laws traveled to Singapore last September and it was truly memorable! I'm trying out some code to display a Google Photos album and it's quite cool that I'm able to embed the album here. Credits to Pavex for the great tool. He details out how to use it here . Check out the album below!
March was a good month. Not just because it's my birthday month, but I've been able to do more physical exercises as far as I'm allowed, and I've also been able to get through my first month back in the job. For the first couple of weeks, I thought I was going to do 4 hours a day at most, and turn up the heat bit by bit until I'm able to do 100% again. But I suppose having to rest over a month does have its toll. It took significant effort to try not go all in with guns blazing on the first day back at work. LOL Anyway, I'm trying something new this year. We've migrated our applications to a better platform, and we'd like to push that to the cloud this year. It'll obviously need a lot of liaising and cooperative work with other teams and domains so I'm going to do more engagement and solutioning than the usual engineering this time. Last week, we did a platform-related hackathon and a critical refresh across clusters. There's going to be a lo

Get through your email faster with Gmail Priority Inbox

This is great for people who do not use a GTD system yet. Try it and see how fast it learns. Priority Inbox Beta   Welcome to Priority Inbox! By automatically separating out your most important messages, Priority Inbox makes it easy for you to read and respond to the messages that matter.   Get through your email faster Try reading and replying to the messages in the "Important and Unread" section first. Mark anything that requires follow-up with a star, then go through the "Everything Else" section. If you leave Priority Inbox, you can return to it by clicking the link next to Inbox on the side navigation of Gmail. How it works Gmail's servers look at several types of information to identify the email that's important to you, including who you email and chat with most, how often you email with these people, and which keywords appear frequently in the emails you read.