Search Results: "mak"

26 May 2007

Alastair McKinstry: Irish Elections 2007: Now What?

Well, the people have spoken, now the airwaves are full of puzzled politicans and pundits trying to decide what they said. The outcome was a suprise, especially in Galway West (where I live), for which I'm annoyed; as I said before, a poll would have been useful. Niall O'Brolch in, said in the last poll in March to be likely to take a seat, came fairly off the mark, unfortunately. Quick summary: The Irish Parliament (the D il) has 166 seats, so the majority is 83 (I seat goes to the Chair or Ceann Comhairle). In recent years, majorities of one or two seats are normal, so we all wait for the final seats to be decided before really knowing the outcome: The Bookmakers paid out for Bertie Ahern being the next Taoiseach by 9.30 AM yesterday, though technically the numbers could still add up for the alternative, Enda Kenny. We might not know until next week.

read more »

Tags , ,

Chris Lamb: Pro Prolog is pro.

A lot of computer problems (and some puzzles) simply involve backtracking over the solution space and checking constraints, yet these can be fairly clunky to describe in imperative languages. Compounding this, the high cost of method calls in most VM and dynamic languages make any reasonably sane-looking implementation (read: recursive) rather slow. A much better idea is to use a language that makes this really easy, like Prolog: I have a Compiler Design exam in less than a weeks time, and a common question involves being given a number of definitions of compilers in terms of their source and target languages, along with the language the compiler itself is implemented in. The task is simply to work out whether it is possible to translate from a specified language to another. This is just two stanzas in Prolog:
can_translate(Src, Tgt, [L])   :- t_diagram(Src, Tgt, _, L).
can_translate(Src, Tgt, [H T]) :- t_diagram(Src, Via, _, H),
   can_translate(Via, Tgt, T).
Compilers can be then just be defined with
t_diagram(source, target, implemented in, name).
and querying the translation pipeline is done with
?- can_translate(source, target, Result)
(Modifying it so that it works with cycles isn’t very tricky, either.)

Evan Prodromou: 5 Prairial CCXV

Incredible day here in Montreal. The temperature got over 31C today -- about 88 F -- which made for a steamy, jungly day. Remember how I said we had predictions of snow flurries two weeks ago? Things change quickly. Of course, hot weather and high humidity are a recipe for smog. Add on top of that the fact that Montreal is in the middle of a public transit strike, and you've got a serious air quality problem. Fortunately we should have some rain this weekend to shake that out. tags:

EC2 I spent a big part of my day twiddling around getting a nice Ubuntu server running on Amazon Web Services. Amazon's EC2 is an innovative server-provisioning API; beta testers for EC2 can build or tear down servers for any purpose in a few minutes using EC2 and Amazon S3. I wrote a few years ago, in a widely-reproduced email, a reply making fun of Jeff Bezos and Amazon's supposed innovations. But let me be frank: Amazon Web Services are a shithouse crazy idea. I think that Jeff Bezos must have been a complete nutjob to bet the company on these zany technologies; I also think it's brilliant, and it's going to change the way we think about using computers. I included EC2 in Ten Web 2.0 APIs you can really use. I think that decision was really justified. My EC2 instances now run Ubuntu Feisty Fawn; lighty, MySQL and PHP. It seems to be a winning combination; I'm looking forward to using EC2 for a production Web or database server. tags:

rel-edit I mentioned already the great work that AboutUs.org is doing to organize a Universal Wiki Edit Button. I decided to kick in on the machine-readable side and proposed a rel-edit microformat. So far the microformats-discuss mailing list has been pretty positive on the idea, but I'm going to wait a few days before posting a draft on the microformats wiki. tags:

Salt I just finished reading Salt: A World History, a nice non-fiction book by researcher extraordinaire Mark Kurlansky. The book covers this important mineral, its importance to human life, and the many ways to extract it to make it available for us. The book covers mummification in ancient Egypt, salt taxes in China, fish sauce in Vietnam, and Mahatma Gandhi's great salt march in India. It's so comprehensive that it can really make your head spin; but it's also exciting to see world history refracted through these whitish crystals. I think it's a great book, and I'm looking forward to reading Cod: A Biography of the Fish That Changed the World, by the same author. But we just got Everything is Miscellaneous from Amazon this week, so I think I'll be digging through that before I get to Cod. tags:

reCAPTCHA I heard about recaptcha via Hugh's article about same. Brilliant idea; why didn't someone think of this before? (Update: it was about 5 minutes after I posted this that I realized, "Hey! That can't work!" So I went back and re-read the docs on reCAPTCHA again. Now I'm even more impressed.) tags:

I want to ride my I've been thinking of picking up a bicycle for a few weeks now, as the weather has cleared here in town. So today I went up to Garantie Bicycle on rue Marie-Anne and bought the cheapest damn bike they had that wasn't made specifically for pre-pubescent children. Woohoo! The last time I had I bike, I lived in San Francisco. It was a beautiful cherry-red Cannondale hybrid -- with that great fat Cannondale tube, but light enough that I could lift it with one finger. I rode it around SF a lot, and took it out for trail biking on weekends in Marin County and the Peninsula and even the Sierra Nevada. It was a tough bike to ride, but once you got used to it it was a dream to take up hills. But that bike was stolen at Burning Man 2001, during the actual Burn. It's a classic mistake: professional bike thieves go to Burning Man each year to snag bikes left unlocked by tired and idealistic Burners, especially at times when camps are left empty, like during the Burn. To be honest, it was kind of a relief: I'd already moved out of my apartment and was planning a trip around North America, and I didn't have room in my Citro n DS for a bike. Nor in my storage locker at the weird and wonderful Sunshine Storage in Oakland. But it was too nice a bike to throw away or give to one of my no-good friends, who were mostly too short for it anyways. So bicycle theft was the best solution. Sam Phillips had his bike stolen at the same time. The bike thieves left a lot of cheapo bikes around our camp. They liked mine and Sam's, though. Anyways, my new bike was quite inexpensive, and it weighs a metric ton. It's built like you're supposed to drive trains over it. I could never, ever carry it up a steep and muddy hill, and I wouldn't bother. Fortunately for me Montreal is really, really flat, so I don't really need to worry about riding this thing up hills. It will look pretty good with a baby seat on the back, though. tags:

Sam Hocevar: Bits from the DPL: FSF, expenses, DSA

chat with the FSF I had a nice talk with Peter Brown, FSF Executive Director and Brett Smith, Licensing Compliance Engineer. We mostly talked about the GPLv3, the GFDL and the Nexenta project. The official GPLv3 launch is approaching very fast, and the FSF was wondering how Debian could play an active part in it. As I also said on debian-devel I am not eager to promote the use of this new licence until we know how much of our libraries are GPLv2-only. Any ideas about what Debian could do are of course welcome. We didn t talk much about the GFDL. The FSF s absolute priority right now is the GPLv3, the GFDL will be addressed later. After last year s GR Debian decided that works under that licence were free if they didn t use unmodifiable sections. We are still waiting for a fix for the badly worded DRM clause, which the FSF told me they re going to address. The Wikipedia project also has concerns with the GFDL so we should expect the licence to change a lot. I opened a licensing questions ticket on May 16th to ask the FSF to clarify their position about the Nexenta and other OpenSolaris projects (full text available here). There are good chances that the answer will be in favour of allowing the redistribution, but it will take the FSF lawyers a few weeks to carefully write it down. I am personally enthusiastic about having this new port in Debian if possible. disbursement of Debian funds Around $4,300 USD (3,200 EUR) of Debian funds were spent or pledged to be spent this month, mainly on travel reimbursement for developers attending Debian meetings or representing Debian at various places. I will send any details to debian-private until I m confident this is the kind of information I can really make public. DSA team Three weeks ago I posted about how not many people were proposing to help with the various core teams, and immediately got a lot more candidacies. Two weeks ago I sent a list and short description of 6 of these people to the current members of the DSA team for comment. Depending on what they are going to answer I ll decide on what to do next. I haven t done anything similar about the other teams yet, apart from collecting proposals and ideas.

25 May 2007

Decklin Foster: No Installation Required

So, I haven't blogged in almost a year. I am a horrible, horrible, horrible person. But at least I've been on LowThresholdNmu. Barely. Since I still read a blog or two so that I can pretend to be informed: I really like this post. I would make a comment about the bumper sticker on the Prius normally parked around my part of ye olde Prospect Hill, but then people might think I was actually talking about politics or oil or cars or gentrification or something like that. It's a violent world out here on the interweb. One can only be oblique. When did I get so old? Did I fit in at some point? I really don't know.

Biella Coleman: From Past to Future

In the last two weeks, life has been jam packed, full of movement and travel and a bit of sensory overload. I went to San Francisco to visit friends from the past but also took a trip to NYC to help set things up for the future. Logistically, it certainly was not enjoyable to travel from Edmonton to SF to NYC and back to SF before heading back to Edmonton, which was only made worse by the fact that I was sick flying back from NYC to SF. But taken from an aesthetic point of view, there was something that made sense about going back and forth between cities that in reality connect my past with my future. For it was my time in SF when I did my research that more or less made possible my future life in NYC. I had not been back to SF since I had left in the summer of 2003. My mom’s illness kept me away from the west, pulled instead toward the east. In fact, right before I left SF was also the time when my mother’s condition took a turn for the worse and I started to travel only for work or to visit my mom PR (or Debconf, which is, well, somewhere in between work and play). Because of my relatively long absence and the many memories of the area, my return hit vividly. You may leave a place, but when you return you are reminded of how much a place always leaves some imprint in your body and soul, which resurface upon your return. Feelings and memories of the past flickered to consciousness when my eyes first absorbed the stunningly beautiful (but also vulnerable) geography of the Bay Area: the pale blue sky, the colorful bridges and houses, the ridiculously steep hills, the wispy and thick fog. San Francisco is a city, it seems to me, that has made a Faustian pact with nature. Nature and the geography have not been completely conquered. They seep right into the man-made environment, which is why it is so beautiful here. But it comes at a price measured in ways small and large. Daily battle with the hills is a small reminder and the larger reminders come in the form of terrifying earthquakes. It was really great to see many friends, many of whom I have stayed in constant touch with on IRC, but of course, from time to time, a little flesh and blood goes a lot further than the bits and bytes. While SF does not have a high retention rate (apparently 30% of the population changes every 2 years), many of my techie friends have faithfully remained and other techie friends have since made their way to Bay Area. As much as I find this city amazing, I was reminded of how much I find San Francisco’s weather completely objectionable, disliking it even more than the cold Canadian north (really).The damp cold and constant wind are impossible to escape, only made worse by lousy indoor heating like the cozy heater I already blogged about (and apparently, this is how you can fix it). I am staying in the outer Mission district, which is where I lived for a while, and I do love the slightly warmer temperatures, flatness of the streets, and very colorful murals. While Valencia street has moved up a few notches on the gentrification scale, it does not seem out of control. And of course, the city is brimming with a particular mixture of youth and tech. In the many coffee shops, youthful faces are illuminated by Shiny New Laptops and it seems like at least every third person you meet works in the technology industry. I had not planned on heading out to the east coast but since I was given the option of seeing a couple of apartments courtesy of NYU housing, I decided it was well worth my while to make the cross country trip, given that it may be my future home for many years. Spring in NYC is one of its more flattering incarnations for there is a slight touch of nature that drapes the city, a touch that is absent during the height of the summer when the hot concrete jungle overtakes the flowers and trees. Heading to NYC briefly also reminded me that moving to NYC feels like a really BIG move. And not because the distance between Edmonton and NYC is 3900 KM but because of what it represents. It sort of dawned on me recently that becoming an assistant professor is not unlike the grueling period real doctors go through once they graduate medical school: residency. Even though by the time you start your job, you have been bequeathed with the title of a doctor, and are prepared to teach, advise, etc., in reality you are only half-baked and there is more cooking for you to go under. You need to go through a few more years of somewhat intense training to seal the deal and that is what is awaiting me starting this fall.

Decklin Foster: Dear Lazyweb

I just wasted half an hour (mostly finding a dead motherboard and bending wire) making one of these: http://www.rupamsunyata.org/~decklin/blogfiles/20060622/usbport.jpg I then threw out the cap to my USB storage device. Why doesn t anybody sell them? Why are the holes for your keyring always on the part you use (thus weighing it down, particularly if it's sticking out of the front of a tower) and not the part that comes off? It's not easy to unplug by accident (I did squeeze it a bit removing some of the metal). I think I m just not looking in the right place. I can t be the first person to have been annoyed with this. Lazyweb, please tell me where to go. (Yes, the only thing I use it for is my SSH key.)

Jonathan McDowell: Thoughts on calendars

I keep having what I've started to think of as the "calendar conversation" with various people. I start by outlining what I think are some fairly reasonable requirements. I'd like to have multiple calenders viewable by different sets of people. So Simon would be able to view my work calendar, while Katherine could see my personal calender (and possibly small bits of work calender where I was going to be away from home). I also want to be able to view my calenders from a variety of devices. My desktop, my phone and my laptop, for example. A web interface might be nice too, though less important to me. This doesn't seem like a lot to ask. My general hope is that whoever I'm boring about this will then say "Oh, you need to look at foo and maybe bar". After all, that's the case with most software related things I need - it's already been done, and there's a good solution available. What actually happens is the person I'm talking to nods in agreement and says they'd like the same sort of things but don't know of anything that manages it. I think the problem comes down to syncing. Sharing my calendars with other people is effectively allowing them to sync their calendar(s) with mine, with some sort of filtering so we each see only what the other wants to see. Likewise, multiple devices is all about syncing. Changes made via one method need to be visible on all of them (ideally as soon as possible). Decent syncing also brings another advantage; client independence. If I can reliably sync my information to a variety of devices/clients then I can try a different client with little risk. We have this already for mail - anything that can talk POP3, IMAP and/or mbox is easy to try out and if you don't like it then you can just change back to what you had before or try something else. Calendaring doesn't seem to have that. I don't think that the interface a client exposes needs to be complex. At a basic level what you need is a way to find out what the client thinks has been added, removed or changed. You also need to present this information in a standard format. Unfortunately iCal (RFC2445) appears to be what we've got here. I think it's a bit overly inclusive, which seems to lead to incomplete implementations. Is there a complete iCal parser library out there? The best hope for syncing that I'm aware of is OpenSync. And I haven't been that impressed; while I managed to get it to move the contacts from my SonyEricsson v600i to my Nokia E70 some of the details got mangled on the way. And lack of things like recurring event support in some of the plugins (eg the Google Calendar syncing adaptor) or warnings about data loss in the Sunbird plugin aren't encouraging. Speaking of Sunbird, I'm not impressed. Last time I looked (and it doesn't appear to have moved very far since then) it didn't make any attempt to support syncing. I'm sorry, WebDAV isn't a syncing system. It's a way of storing files remotely. Sure, I found the interface ok, but I need to make my calendaring data accessible for it to be useful. The Windows approach to all of this seems to be ActiveSync and the use of Outlook. I don't believe that it really handles more than the desktop client and a remote device though? And group calendar sharing requires an Exchange server? Not exactly the flexible solution I'm looking for. I think a key point is that all of this needs to be reliable. I didn't spend time debugging my OpenSync contact syncing issues partly because I didn't notice straight away that there was a problem (it was with additional details like email addresses rather than names/numbers IIRC), but also because it was a lot of work to delve into the code and find out just what on earth was going on. A while back I started looking at writing some calendar syncing code (called Pony) and hit a problem with complete inconsistency in handling time zones between clients that put me right off. If it's not reliable it's not useful. If it's not useful people won't test it and fix it. I think a starting point is a reliable iCal implementation that can handle everything in the spec. From there you can write plugins that will take whatever bastardised variant your device/client supports and translate to and from it. The syncing tool will need to keep a master copy of all the data, because there's no guarantee anything else will be able to support all the fields. A local complete copy should enable appropriate frobbing of data to/from any device/client without losing the information if a new device/client that can handle the data is added. Of course almost all the above applies to contacts as well; I have work contacts, personal contacts, boring house contacts (plumber, garage etc). vCard is the appropriate interchange format for that (why did vCalendar become iCalendar, but vCard not change?), but contacts feature similar issues to calendars I believe. Does this seem reasonable? Please tell me someone has already done it. Point me at Debian packages that will let me sync my phone, my Google Calendar and a local client and make me very happy. I have visions of a suite of tools all chatting over DBus; a little client that looks for my phone to appear over bluetooth and then syncs when it does, a little client that monitors Google Calendar for changes. Sunbird reporting when something changes (and accepting notification of changes). Some other client ([Dates http://www.pimlico-project.org/dates.html]?) doing the same. Another sending the data over WebDAV or SFTP so that my laptop can pick up the info when I'm on the move. I don't think I'm the only person looking for this sort of stuff. Where is it?

MJ Ray: Leukemia Research Weston-super-Mare Bikeathon: More Feedback

liz radford commented:
"Thanks for the advice, your comments on the route match those of a couple of others so I think we will go ahead and make those changes but keep the hill of pain! I will ride the revised route this weekend to give it a go."
While you're out there... I heard some comments that Windwhistle Lane on the short route wasn't very easy to follow, but I suspect that's more a problem with the council's (lack of) signs than a bad route. I didn't find the black-and-white bikeathon signs easy to spot on the faster/busier stretches. The pink and the yellow(?) ones were usually easily noticeable. I wonder whether the first black-and-white signs were at Worle Moor Gate - I went so wrong there that I rode up to the marshals at Summer Lane/Diamond Batch from behind!
"On the photo web site, you can get access to a total of about 700 pictures but it's not immediately obvious how. Mind you I can't criticise - the http://www.lrf.org.uk site is even less user friendly. We have photos on it of local people getting out there and doing great things to raise money but you try and find them its like wandering the catacombs. We need our own simple West-country site! Have a look and comment if you want, an experts critic is well overdue."
Well, the LRF site isn't bad - it needs to sort out its colours and contrast, and the text alternatives to images seem to be nonsense like asterisks, but I think I can actually access all of the pages without trouble. If you'd like a westcountry site, contact me at work and I'll offer a deal.
"Anyway back to photos. Get onto the one page of photos it will let you see and then click "refine search." This will take you to the menu as follows... Start Childrens Race Bleadon Hill Finish 1 Finish 2 Finish 3 Finish 4"
I can see more photos that way, but still only the first 8 from each category. Thanks once more for organising a great event Liz! I've noticed that my page is attracting some search results for bikeathon - is anyone else who rode this event reading? Care to comment on it? (If you're reading this at swik.net or a similar irresponsible republisher, click "Read more" to get the real comments form.)

MJ Ray: Samba, CUPS, Printing (CUPS direct comments)

Ryan Lovett commented:
"CUPS sometimes doesn't reflect accurage page counting statistics in page.log when receiving jobs from Windows clients in this manner. YMMV, however. Another nuisance is that if you have multiple printers that use the same driver they will be hard to differentiate by name and Windows 2k/XP doesn't let you rename network printers. There is a solution, but it involves modifying the windows registry."
Wow, that's a surprisingly daft bug. I also heard at work that some versions of Windows remove network printers if the network they're on is disconnected. Anyway, enough Microsoft Windows for now. I don't have to touch it very often and then only to make sure it can connect to my servers.

Kartik Mistry: blog tag cloud

* I tried to get “tag cloud” of my blog, it works! Kartik Mistry@localized-gujarati-geek!:/# cloud

about after again all almost also amazing another any are around article back bad before better blog book books both brother build bus but came can can’t cds com come coming cool day days debian did don’t done due during end etch even festival file finally firefox first foss found free from fun gave get gnome gnu gnunify going good got great gujarati had happy has have help here his home hope how http iiimf india install installer irc its just kde know l10n language last late like linux list live long look looking lots made make many may meet met mom mono more movie mozilla much mumbai near need net new news next nice night nirav not now office old one only openoffice org other our out package packages palanpur people place post problem python read really released right rinit sat saturday see session should since site some soon start started still stuffs sunday system take talk talked team thanks there they thing things till time today too took tried two ubuntu use user using utkarsh very waiting was way week well went were what when where which while who will work working works write www year yesterday yet

Eh!

24 May 2007

Eddy Petrișor: Is not "my feature, or else"

Thijs, my post was more like "Hey Mozilla, I know you are busy and all, but, it would be nice to fix some bugs and maybe add some features from time to time.... come on, 7 years to start fixing[*] a bug is waaaaaaay(maybe enough to make your users go away) to much. That's why you suck!".

BTW Thijs, have you read at least the Reply-To-List thread in their bugzilla? Or the huge pile (now 126 open issues) of "keyboard shortcut" problems they have? I am saying that there is a lot of endless discussion around the subject until someone really tackles it. As an example, the real solution for (probably) most of those 126 keyboard issues would be to allow keyboard shortcut redefinition.

So this was mostly about response time, be it bug or feature, although the title was not so well chosen.

[*] note that the patch is from a first time contributor

Eddy Petrișor: Dear lazyweb, how can I customize ...

Dear layweb, I know that somebody from the kernel team (iirc) posted an article/mail about how to make a customized version of the Debian linux-image package, but I can't find it anymore.

For short, I want to produce a slightly modified linux-image-2.6.18-4-amd64 package. Which is the right source I want?

Is

apt-get source linux-image-2.6.18-4-amd64

what I want or is it

apt-get install linux-source-2.6.18
?

I am confused. Help would be appreciated.

Gunnar Wolf: Top-down and bottom-up: Two approaches for... Hydrodynamics?

Yesterday we had one of our first full-evening rains of this Summer. It started raining around 15:00, and didn't really stop until past 22:00. Most of the time, it was a low intensity rain. Also yesterday, Sergio and I started with the Debian course I recently talked about - Fun!
Now... This course is scheduled at Instituto de Astronom a, which is halfway between my work and my home. 19:00 to 21:00.
I decided to leave early, so we could check some pending details - At 18:00. I biked to Astronom a, about 1.5km. When I arrived, I was as wet as you usually get at a regular rain: I still had some dry spots under my arms and legs. Nothing terrible, although a bit coldish - Anyway, that's a top-down approach for hydrodinamics, the approach most people are used to.
When we finished this session, I had to go out in a rush, as I had a meeting at 20:00 at Balderas (downtown Mexico City, ~25min away by metro). Of course, I was one hour late already, and adding the time it would take me to get home, leave the bike and run to the metro, I could not just sit and wait for the rain to get any easier on me. So I pedalled.
Contrary to what I originally expected, I didn't get soaked wet in the usual pattern. Stronger rain leads to more rain flowing down the road. Yes, almost immediately I felt a cold shudder on my legs and back: The water sprayed from below by my wheels. Of course, the front wheel was even more fun, as it sprayed my face from below - My helmet has a small protuberance at the front to make some shadow, and tilting a bit my head forward prevented the rain from hitting my eyes - but the dirty water, with small bits of wood and whatnot, from the ground found an easy way to my face. My only defense was to close the eyes as much as I could without losing visibility. A strange excercise to do :) Anyway, that's the bottom-up approach for hydrodinamics.
Anyway, by the time I got home, after an extra ~1.5km, my pants were basically a soup. My shirt was not exactly dry, but it still kept me a bit warm. I just ushered inside, grabbed a jacket, and went on for my second meeting.

Peter Makholm: inotify: procmail for IMAP folders

Moving mail to an IMAP folder is easy. Often easier than “pipe the mail through this command” or even “forward the mail with all headers to this address”. But what magic can you use to get something done with the mail after moving it to the correct IMAP folder? Using Courier IMAP and thus Mairdirs I came up with the following shell snippet:
cd $MAILDIR
inotifywait -m -q -e CREATE --format %f cur  
  while read mail ; do
        [ -f cur/$mail ] && $HOME/bin/process_mail < cur/$mail > /dev/null ;
        [ -f cur/$mail ] && rm cur/$mail ;
  done
It’s is not completely race condition free. cur/$mail can get renamed and will then be reprocessed. Interesting note: mail is moved from $MAILDIR/tmp to $MAILDIR/cur by link/unlink so the inotify-event is CREATE and not the expected MOVED_TO. Any better solution?

Thijs Kinkhorst: Do as I say, or else

Eddy writes about Mozilla not implementing feature requests. His post basically reads: "You, free software developer, do not implement my wish. You suck big time.". I think that's a very sorry attitude to have. As a developer for a free software project, I occasionally get that attitude from users aswell: "Please implement this feature." And then later: "Why haven't you implemented my feature yet??" I always make sure to lecture such people like the following. I'm sorry, you don't get to tell me that I suck because I do not spend my voltuneer efforts according to your wishes. Eddy is free to supply a patch. Another strategy would be to put up a bounty. Or he can help in any other way he can think of. Maybe he can ask his money back. Better options to consider instead of blogging "Mozilla sucks big time"?

Michal &#268;iha&#345;: Gammu test version 1.11.90

I just released new version of Gammu, you can download it from download server. The biggest change is new API. It is probably not yet completed, but I want to release it right now to receive feedback from other developers. Full list of changes:

Alastair McKinstry: Comment-free code

Often looking through old code you find yourself wishing for more comments, or even more correct comments. Rarely, less comments. But looking at some code I'm debugging at the moment at work I found the following bizarre idiom (details changed to protect the afflicted) ...
#ifdef DOC
C  Some fortran comments.
C  Yes, ordinary comments, nothing fancy like preprocessor directives, but if you want
C  your code without a paragraph explaining what it does, you can just preprocess it
C  and remove it.
C 
C Perhaps they'd expected that their fellow developers would write essays in the
C source code that would make it hard to follow, but then, you'd still need to edit
C the full source code to debug and develop it, right?
C
#endif
Tags , , ,

23 May 2007

MJ Ray: Leukemia Research Weston-super-Mare Bikeathon: Organiser Feedback

I'm rather surprised to find that Liz RADFORD comments:
"As my first year as organiser of this ride, I would like to thank you and everyone who came out for us. It was a great day and looks like we raised over 10,000! As Leukemia is the most common form of cancer in Childen I get a bit over-enthusiastic sometimes when I see so many people joining in doing so much good and prehaps see the event through rose tinted specs. I hope you enjoyed it and the legs are better now, the hill is a real challenge. One question for you. Was it something you enjoyed enough to do again or do you think a flat route along the front Sand Bay and Wick would serve us better at bringing riders back each year? Your comments appreciated. Liz X Also check out www.UKeventphotos.com"
10k. That's a great result! I think I'd do it again and I think the initial hill has its uses - it's a bit of an unusual challenge and strings the field out. I didn't have any congestion problems until the first checkpoint after we merged with the short route. If you're looking for changes, I'd put that Somerset Avenue checkpoint somewhere with more space and reroute a quieter way around Worle, maybe up Walford Avenue with the split to the Ebdon loop at Riverbank. UKeventphotos.com only shows me the first page of the gallery - clicking "Next results" dumps me back at the search front page. I think they need to learn how to make accessible web sites (my work offers advice...). I'm glad I took my own camera and I'm sorry if their bad web site limits the amount LRF gets from photographs.

David Welton: Domain names vs real estate

I was reading some of the debate regarding this guy and his business: The man who owns the Internet and got to thinking about the comparison between domain names and real estate. One of the things that irritates me about domain name squatters is that they can essentially sit on a good name forever, at very, very little cost. You can't do that in real estate, because you have to pay property taxes, which acts as an incentive to actually do something productive with the property, rather than simply let it sit there until someone comes and offers to buy it from you for even more than you paid. So you can't let the space go completely to waste - you have a big incentive to at the very least rent it out to someone who can make money with it. You can't really rent out a domain name, though. Since it's an integral part of your brand and identity, it would be insane to borrow one for a few years, whereas with a physical business renting space, people will still be able to find you if you move. Perhaps an annual tax based on the purchase price of domain names would encourage people to either do something valuable with them or pass them on to someone who could? I don't think anyone would be sad to see pure speculators gone, but on the other hand, I have a strong suspicion that all the extra taxes and red tape would make the idea a net negative, and taxes on 'real' domains like google or ebay, would simply be passed on to consumers, and so wouldn't be desireable. In any case, it's something interesting to think about.

Next.

Previous.