MSN: plicease@hotmail.com
e-mail: plicease (at) wdlabs (dot) com
I wonder why they bother teaching concurrency in computer science. There is this funny problem they teach you, involving n philosophers and n forks and a big pot of spaghetti which, if you solve it wrongly, could cause n philosophers to die of starvation. It's a well understood problem, and there are tones of tools to address it properly, most of which have been around for decades on every platform imaginable.
When I was working on parallel abstraction and timing at The Company, I went to a lot of effort to make sure that it worked concurrently. This put me in conflict with people who were too lazy to make sure their code worked properly in parallel. I even tried to make tools to make it easier for them to make code parallel safe, but no, that was too much effort, even though it mostly amounted to using a different class with the exact same interface.
In my current job at s-mart we use a locking mechanism which has an inherent race condition. Which means if something goes wrong it might corrupt data. Admittedly, the odds of that are quite low, but I don't understand why we don't use proper locking (ie. flock), which isn't conceptually any more complicated than the "simple"⋘note 1⋙ locking scheme that we use. In my last job at Company 2, we had a similar locking scheme, but it was hand coded, they didn't even bother to re-use the "simple" locking scheme provided by perl for systems that don't have flock⋘note 2⋙.
I found this list of the The Thirteen Greatest Error Messages of All Time. I can't help but wonder if a bit more time thinking about concurrency could have kept some of these from happening often enough to make the list.
Today was my first “quarterly update” at s-mart. The very first slide had a bullet that read: “Graham xxxxx Developer Extraordinaire!”; as one of last quarters events was me starting at the company. It was nice to get the recognition. We used to have meetings like this all the time at The Company, but they were always less interesting because I was such a small cog in such a big machine. Now I am a slightly larger cog in a much smaller machine :P When I was working at Company 2 I wasn’t even invited to these meetings. It’s nice to be a person at work again.
Yesterday I
I’m sorry I left myself logged in to IM for like two days but had been so busy that I didn’t sit in front of my home computer for that whole time. Sorry if you sent me messages I wasn’t ignoring you! Promise! I will endeavour to log myself out next time, and actually be in front of my computer when it says that I am.
Kim at work told me that I could never do or say anything to surprise her. At first this made me angry, but now I don’t really care. It occurred to me that nothing she has done so far has been terribly surprising. meh.
I had an epiphany this morning about how to reorganise the provisioning code. I was glad that I had left work early yesterday rather than agonising over it, because apparently all I needed to was to get a good night’s sleep and a fresh perspective. I realise though, that I love my job, but in some ways it isn’t as challenging as when I was working at The Company, especially that period when I was working on parallel abstraction. It’s hard to compare with accomplishing the impossible.
Today we had lunch at the pub, which was fun, except they forgot our order and then pretended that they hadn’t. There is this girl who is always flirting with Andrew. I can’t remember her name.
I’m looking forward to special visitors in March.
Next up was the bedroom. I have a two bedroom flat, but I use the larger of the two as my computer room/office. Basically my computers need more room than I do.
![[image]](http://www.wdlabs.com/twilight/media/071128/pict5420.jpg)
Yesterday I had lunch with Adil, Ed, and pretty much the rest of my old work colleagues in EDA. It was really nice to see everyone and a pleasant surprise that pretty much everyone wanted to see me. After everyone else left Adil and I had a chat and I got to meet his kids, which was quite nice. Adil, don’t forget to send me that picture!
As promised (or threatened) I did the long loop of Breakneck Ridge after lunch. I did it in the afternoon, so it was a lot hotter and a lot harder than last week. I ran into lots of people this time. Most of them asked me for advice or how far it was going to be to the turn off. I suppose I looked like I knew what I was doing. I had this conversation several times: “Are you from around here?” “I used to be. I used to live in Beacon.”
Upwise it is like the last Breakneck Ridge hike except for more up after the saddle where you turn off for the short loop, and a more gradual descent. It is also about a mile longer. I feel like I left this hike as unfinished business when I left Beacon a year and a half ago. I’d hiked it a million times, but I left in a state where I wasn’t really up to hiking it anymore. Now that I’ve come back and hiked it again I feel a lot better about it.
After the hike I met up with my friends at Boscobel for As You Like It. I was disappointed that I missed Richard III, because it is one of my favourites, but As You Like It was really funny and definitely worth it. They presented it using a Western theme that accentuated the humour. Joe said it was his favourite Boscobel Shakespeare yet. I’m not sure that I would go that far, but it was quite good. If you are ever in the Hudson Valley during the summer I highly recommend seeing one of the plays that they are presenting that year. They usually do two plays each summer, they present them outside at Boscobel, where there is a lovely view of the Hudson.
...and with that, my Hudson Valley adventure draws to a close, as I head back to New York City, and prepare for my next big adventure in New Mexico.
The other day, someone at work asked me (not entirely out of the blue), if I “had anyone useful” in my family.
Without missing a beat I answered: “No, they are all scientists.”
Because it’s true, at least in the context of the conversation, which made the question more like do you have anyone with skills that are useful to ordinary people in your family. I mean, they contribute to the sum of human knowledge, and arguably do important things, but hardly useful skills, such as being able to cut hair (like Nina’s husband) or even fixing a Windows XP machine full of viruses that you stupidly downloaded (like me. er, the fixing part, not the downloading of viruses part).
“But wait,” I added, “it gets worse, because I grew up in a company town, where the ‘company’ was a federal laboratory, and everyone who lived in the town were also scientists.”
Later, when I was explaining this conversation to my mum (who didn’t seem to find it as inherently funny as I did), she pointed out to me that there are also engineers in Los Alamos.
“Well, they can be useful.” I said.
“Not those engineers.”
Mum seems to hold engineers in the same esteem as people who live in Melbourne (“seriously,” I can imagine her saying, “if you are in Australia, why wouldn’t you live in Sydney?”).
I know this attitude sort of filtered down to me, unfortunately, because early on when I met my friends in New York who also worked at The Company, I said with some disdain that I wasn’t an engineer, when one of them described us as a group of engineers. I have always preferred the term “programmer” or “coder” (which is actually different from what my friends do), although I do have to admit my job title was “software engineer” for those six years in New York.
They are pretty cool engineers though. They do things like make the processors that go into all of the next generation video game consoles. (When the dust settles from this round of the Console Wars, I don’t know if Sony or Nintendo will be left standing, but either way The Company stands to make a tidy profit either way). More importantly, they are cool people, who know how to have a good time and be good friends.
I told my photography teacher what my friends did once, and she thought those GPUs The Company was making were a waste of resources that could have been more appropriately allocated. Seriously though, who is she kidding, she is a professional photographer. What is she contributing to the world that is so awesome that she can go around judging other people? There is nothing wrong with being a photographer, but there is everything wrong with being judgemental and condescending.

Boss: I need you to do Ted's job and your own job until we hire someone.This is why I gotta get out of here! Goodbye Corporate America!
Dilbert: If I do well, you'll make me do two jobs forever. If I do poorly, I'll get no raise.
Boss: I can't promise anything, but there might be some verbal praise down the road.