Ramadan and other weirdnesses

Posted by Mark Thu, 28 Sep 2006 00:46:21 GMT

I hope you’re happy, Bean - I left a perfectly serviceable party to write this.

Anyway. It’s the beginning of Ramadan in Qatar at the moment. Ramadan starts at the beginning of the crescent moon in the ninth month of the year according to the Islamic calendar, rendering the dates more or less a matter of guesswork for Westerners.

Ramadan means a slew of restrictions. Muslims cannot eat or drink, even water, between dawn and dusk. Even for non-Muslims, eating in public is an offence. All the bars shut down, immodest clothing (ie, shorts or t-shirts) are forbidden, and you can’t buy food in daylight.

This all sounds a tad grim, but I’m enjoying it much more than I expected to, so far. While our canteen still operates, the food here is dismal enough that I don’t eat a lot during the day. The shops are empty, and as they’re staffed by Asians who are, by and large, not Muslims, there’s a strange sort of party atmosphere. The staff joke and laugh, and smile at you conspiratorially. The checkout chick even started flirting with me - I got a wink, which in this culture is equivalent to a leg-wrapping tackle-and-kiss.

The sole drawback so far is the crazy behaviour on the roads. Traffic is down, but I was almost taken out this morning by a Qatari who decided he couldn’t be bothered going all the way around the roundabout. I don’t look forward to riding in rush hour.

I’m hoping to go to a Ramadan tent at one of the hotels soon - apparently they’re pretty lavish affairs. I apologise for the lack of insight into Arabic culture, but they’re very hard people to get to know. One of the problems with having a culture which values hospitality highly is that people tend to be much more choosy as to who they consider friends.

Work continues on the opening ceremony. Some of my work will apparently be used in one of the major props - I can’t really talk about it, but it should be extremely cool.

6 comments

road to recovery

Posted by Mark Sun, 17 Sep 2006 13:08:03 GMT

I’m now at that magical state of ill health: sick enough that I can blow off work without a trace of guilt, but not so awful that I can’t tap out the occasional screed between naps and ascetic meals of bread and water. This is likely to be a bit of a mongrel of a post, as I couldn’t be bothered to separate tech from social from cultural - you’re just going to have to lump it.

As I mentioned, the code is done. The clever stuff I was hoping to do with automatic conversion of synchronous threads into asynchronous interrupt-driven code turned out to be more or less unnecessary: if we wanted to do a chase and a fade at the same time, or simultaneous chases on different channels, or if the timing needed to be more precise, it might be worth doing, but it seems that the straightforward one-thread-of-control model is going to be enough. Anyway, despite its simplicity, I’m rather proud of this system, both the Amida side and the Fat Controller, and all the things that I thought were just evidence of my obsessiveness turned out to be useful timesavers: one-click testing turns out to be very helpful for installing software on multiple Amidas as well as development. Thursday was consumed with learning how to solder, which was fascinating right up to the point that my iPod ran out of power. Still, I ought to be able to start fault-testing and repairing the Fat Controllers now, which should be interesting.

Pic(356)

After an uncomfortable teething period (loose pedal, chain dropping off, etc), my bike seems to be behaving itself. It’s a one-speed mountain bike: I know how ridiculous that sounds, but in a country like Qatar, where you’re often coping with bad but flat roads, you don’t really need gears, and there’s enough dust and grit in the air that the thought of dealing with a cheap derailleur gives me the screaming heebie-jeebies. Invariably, I beat the bus in to work, and it’s amazing how much more independent you feel when you don’t always need to rely on other people for transport.

Pic(339)

The shisha is also proving a hit. I’ve currently got lemon and coconut tobacco, although it seems to have gone walkabout… Matt Reason instructed me to find an affectation while I’m over here, and as growing a luxuriant beard and wearing a thobe seem to be out, the occasional indulgence in flavoured tobacco might be it.

Recorder Nerds

Socially, things are looking up. I’ve been hanging out with the Georgetown uni people a lot more: I like the steelies a lot, but I can’t drink with them every night - they’d have to ship my liver home in Synrock. It’s also rather pleasant to be able to spend a night in, smoking the shisha, playing Password and listening to strange
people in monk’s costumes playing the recorder without feeling like a total nerd.

I have quite a few incredibly crappy pictures: I’m still relying on my cameraphone for the most part, which is grainier than muesli. Still, a few photos came out relatively unscathed:

Pic(334) Imgp0403 Pic(333)

Imgp0395 Imgp0398

Enough for today, or ‘halas’ as the Qatari say - it’s time for my warm milk and my rusk. Sala’am aleykum.

3 comments

gutrot

Posted by Mark Sat, 16 Sep 2006 13:28:22 GMT

today, i was going to catch up on all the things i’ve done while i’ve been maintaining radio silence. however, i seem to have contracted a godawful case of gutrot, and the next 8 hours are earmarked for groaning quietly in my bed of pain. very quickly, though: i’m meeting heaps of people, i have a bike (yes mum, with lights), i bought a shisha, and i finished all the code and am working as a solder monkey. Film at 11.

3 comments

deunionising the Fat Controller

Posted by Mark Wed, 06 Sep 2006 09:08:14 GMT

Some small measure of success yesterday. The first time Fritz and I tried, the Fat Controller ran at an eighth of his advertised speed. (Clearly, working to rule.) For the next two days, I beat my head against the wall, trying to convince him his intransigence was unnecessary: I didn’t post anything in this period because anything I could possibly have said would have been an unappealing amalgam of swearing, crying and maudlin pleas for death. Finally, some kind soul on the picbasic.co.uk forums suggested we set the OSCCON register, and suddenly the sun came out. Everything worked.

So, naturally, the only way for this happy saga to end would be that the serial dongle we’re using to program the Fat Controllers blows up, with no spares in sight. I’m leaving it in Fritz’s lap for the moment - he’s the chiphead, I’m just a lowly software engineer.

In other news (because I do understand that none of you give a damn about my techie posts), I’ve found a judo club, but the training session starts an hour and a half before I finish work each day. I’ve also found someone who plays judo in my compound, but he’s working shifts, so we won’t be awake at compatible hours terribly often. Some days, I feel the God I don’t believe in is taunting me for my apostasy.

In other other news, while waiting to get my liquor licence ($400 deposit, if you can believe it), I met a lecturer from the Doha branch of Georgetown University. Brendan has been the consummate host - I’ve been given the tour of Doha, introductions to some people I don’t work with (!), and permission to swim in his compound’s pool, which has chillers that actually work, as well as waiters to bring you real coffee on demand. I’ve also visited “Ric’s Kountry Kitchen”, which is rumoured to have real bacon smuggled in from the American military base. The food’s ok, in a down-home American way. The coffee, however, is flat-out awful. I always thought Dad was exaggerating about how bad American coffee was, but it’s worse, if anything: if you load it up with milk and sugar, it sorta tastes like milky sugary hot water. I need drill sergeant coffee, the sort that’ll scream in my face and call me a pissant. This stuff is more like a guidance counsellor…

4 comments

Vale Steve

Posted by Mark Mon, 04 Sep 2006 14:30:40 GMT

Respect to Steve Irwin: it’s a black armband day today. There’s something to be said for pushing fearless stupidity to its logical extreme, and to die from being stabbed in the chest by a stingray? That’s how a man goes out.

no comments

a short conversation ending in darkness

Posted by Mark Mon, 04 Sep 2006 14:30:26 GMT

Power’s out to the DAGOC building, and as pigdog (the awful, awful Dell laptop) has a battery life of approximately 27 picoseconds, there’s not an awful lot I can do until it comes back on. Hence, blogging.

My current problem is that the Fat Controller is operating 8 times more slowly than it ought to. It has an 8MHz internal oscillator, allegedly, but if I pause for 1000 milliseconds, it takes 8 seconds to process it. This wouldn’t necessarily be a showstopper: the obvious hack would be to scale time intervals to an eighth of what you actually want. The snag is twofold:

  1. Pulse Width Modulation is dependent on high-speed switching, both to look smooth and to get up to full brightness. (This is a common technique for getting a simple on-off light to simulate in-between brightness levels - if you want 10% brightness, you just have it on 10% of the time and off 90%. If you can’t switch fast, though, it’ll stay on too long at the low levels and not long enough at the high levels.)
  2. Serial comms are very sensitive to timing: if it thinks it’s running at 9600 baud, but the world outside is passing by at 8 times normal speed, the little chip gets very confused.

I’m hacking around with asm to see if it’s a problem with the PicBasic compiler: will hopefully have an answer after lunch. This has all become somewhat urgent, as we thought this part of the problem was totally solved, and my boss is … somewhat worried, shall we say. Still, nothing like programming in a blind screaming panic to get the adrenaline pumping.

no comments