jump to navigation

I have a theory 2006 January 26 21:01

Posted by diamond in : Random , add a comment

about competence and awareness. It involves washing up. I’ll try explain that soon.

I’ve just realised that to me, holidays happen. I don’t spend time planning them, i don’t spend time looking forward to them, i usually even forget about them and to give any decent notice to work.

Next monday i fly out to boston for 6 days with some of the skynet crew. Last april i went to milan with my then g/f. Last feburary i went to sweden with 2 guys i live with.

It’s not that i don’t enjoy holidays. I do. I just don’t have the energy to sit down and plan anything further than when and how to get there. So far it’s working out ok, other people are quite happy to do the planning. I guess it’s just a side-effect of being tired. When i get to wherever, i wander around in a daze, sleep lots, and generally relax. In both milan and stockholm i went back to the accomadation on most days to sleep for an hour or two around mid-afternoon so i wouldn’t fall over walking around streets. I look forward to doing the same in boston, though i suspect that might play havock with the schedule.

*Update*
(No, there is only one *Update* in my post, it’s planet that invents stuff)

I’ve just been, um, reminded that i was in scotland on holidays a few months ago too. Same principles applied then too. That is all.

Price gouging 2006 January 25 20:06

Posted by diamond in : Random , 1 comment so far

A standard ata/66 (aka udma) cable, worth about €4 from a decent supplier, cost me €22.50 from pc world today. I was disgusted. I know their prices are usually laughable, but this really took the prize. Gah. That’s what i get for not planning ahead properly.

A new record? 2006 January 24 23:56

Posted by diamond in : Random , 1 comment so far

Today i wanted to backup all data on a 250G drive i have in preperation for rebuilding the storage in the server (switching to 4x 250G w/ raid5). I set rsync running, went out for a while, got back about 50 minutes later and noticed it was still trying to index the drive. Now there’s a lot of data on it (~221G), but it still shouldn’t be taking that long. Upon inspection, it was the apache mod_cache dir that was killing it. I’d told mod_cache to allocate 1G of a disk cache.

I had a quick look at the directory in question. It had 4097 subdirs. I looked into a few of them, they had varying amounts of between 80 and 100 subdirs. Hmm. How many subdirs could there possibly be? So i ran a test.
find . -type d > ~/dir.list

Guess how long it took. Go on. The real answer:
real 352m38.230s
user 0m57.195s
sys 3m46.477s

Just under _6 hours_ to list all the directories. That’s pretty damn scary. And how many subdirs were there?
root@fluff:/space/.data/apache-cache(0)# wc -l ~/dir.list
745917 /root/dir.list

So, is this a record? 745k directories. I’ve no idea what size the cache actually is, finding out is likely to take, well, hours ,-) I can tell you one thing though, there’s no way i’ll be using apache as a proxy until it becomes somewhat less psychotic. I’m also wondering if this ext3 partition was created with b-tree dir indexing, would be interesting to know. Anyone know a way of finding out?

*Update*
root@fluff:/space/.data/apache-cache(0)# time du -hs .
9.1G .
real 472m45.334s
user 0m44.290s
sys 4m41.508s

Weekend & sleep 2006 January 23 15:54

Posted by diamond in : Work, Random , 3 comments

It’s not all bad, saturday night was very large amounts of fun. Bruce and luisa were around, and margret and jd called over. We ate pizza, creme eggs, pringles, watched a new version of takeshi’s castle, with hilarious commentry, followed by Dylan Moran’s ‘Monster’ standup dvd. Afterwards, dan challenged jd to a few games of Soul Calibre 2 on the playstation. Dan’s been playing for quite some time, jd had never played before. Jd, with a double-health bonus, whooped dan’s ass, and mine whenever i was foolish enough to have a go, for most of the night. It was highly amusing.

Hmm. Maybe all that laughing tired me out. Meh. It was worth it.

My favourite (spoof) chain-email 2006 January 20 12:47

Posted by diamond in : Random , add a comment

Posted due to inspiration by diane’s Women - not as evil as I hitherto suspected post:

Just send a copy of this letter to five of your friends who are equally tired and discontented. Then bundle up your wife or girlfriend and send her to the man whose name appears at the top of this list, and add your name to the bottom.

When your turn comes, you will receive 16,255 women. One of them is bound to be better than the one you already have. At the time of writing this, a friend of mine had already received 184 women, 4 of whom were worth keeping.

Remember - This chain brings luck, One man’s cat died, and the next day he received a Dallas Cowboy Cheerleader. You can be lucky too, so DO NOT BREAK THIS CHAIN! One man broke the chain and got his own wife back.