Monday, January 25, 2010

The Planets

Saturday is named after Saturn, the greek Chronos, the god of time. That's the day (two days ago) when I went to see the performance of Gustav Holst's The Planets at the Houston Symphony, which promised a movie montage of high-definition pictures from space telescopes, projected above the orchestra, to illustrate the subject matter.


For a while, I didn't think I was going to make it. After consulting with my newly-moved-to-Houston friends David and Brenda to gauge their interest, I called to get three tickets, expecting that it would be fairly easy as usual, and was told that there were only single obstructed-view tickets left for all three remaining performances. So we gave up on the idea of going together on Sunday, but by Saturday evening I resolved to try my old Boston trick. I dusted off my cardboard sign that reads "Looking to Buy ONE Ticket," the one that got me into multiple performances at the ICA on the waterfront there, and went to Jones Hall.


I should have known it was my lucky day when I managed to parallel-park in a space between two cars that was, I swear (I measured it) 4" (10 cm) longer than my car. Of course, strictly speaking, that's pretty impossible. But not to an ex-Paris driver, and not considering the elasticity of car bumpers and of tires: you can (gently) touch the car behind, push a little, then move forward, touch the car ahead, push a little... and pretty soon you're in. Still, you have to get exactly the right angle, and the planets must have been with me.


The very nice usher at Jones Hall told me, within a minute of my taking position in front of the entrance, that there was no way she could let me stand there with my sign. But she said not to worry, she was sure she could do something for me. And sure enough, ten minutes later, she had secured a ticket that someone turned in because someone in their party couldn't come, and she gave it to me! So not only did I get a seat, but it was free. And I even had time left to munch on the tiny overpriced cheese-and-fruit plate sold by the Jones Hall concessionaire. The seat was at the rightmost end of an orchestra row, and the view was in fact slightly obstructed by the underside of the boxes, but barely -- just a little sliver missing at the top of the projection screen, and an excellent view of the stage.


The concert started with the Scherzo fantastique by Stravinsky, whom I tolerate reasonably well. It was followed by Timbres, espace, mouvement (la nuit étoilée) by Dutilleux, and that was much harder for me. But the Holst suite made it up. It was only the second time I heard the entire suite (classical radio stations usually just play the most famous movement, the fourth one, Jupiter - Bringer of Jollity), the first time also being live. I was wondering whether the projection of the film would add to or detract from the musical experience, and I am satisfied that it was an excellent addition. Duncan Copp's movie, using NASA footage from various interplanetary probes as well as CGI, is visually stunning. That is also got the Symphony to give several sold-out performances is very comforting, given how difficult it usually is for classical orchestras to balance their budget and to attract a younger-than-70 audience.


And my car didn't have any more scratches when I retrieved it than it had before — it just took another dozen or so back-and-forth maneuvers to extract it from its parking spot.

Friday, January 22, 2010

Addiction: Conflict Between Brain Circuits

This was the title of a lecture given today at the University of Texas Medical Branch (UTMB) in Galveston. I heard about on National Public Radio a few weeks ago, made a note to visit the Web site, registered and drove down from Houston to Galveston today to attend. In case you don't know why I have such a keen interest in the science of addiction, my November 10, 2009 post will explain it.


Dr. Nora Volkow, the speaker is the Director of the National Institute on Drug Abuse (NIDA), which is part of the National Institutes of Health (NIH). Quoting from her biography:


"Dr. Volkow's work has been instrumental in demonstrating that drug addiction is a disease of the human brain. As a research psychiatrist and scientist, Dr. Volkow pioneered the use of brain imaging to investigate the toxic effects of drugs and their addictive properties. Her studies have documented changes in the dopamine system affecting the actions of frontal brain regions involved with motivation, drive, and pleasure and the decline of brain dopamine function with age."

Of course, I couldn't resist taking some notes. This is just a sampling of all the interesting things that were said.


  • After someone takes either food or amphetamines, you can see the same increase if dopamine in the nucleus accumbens. But drugs don't have the same satiating effects as food.
  • Experiments can be conducted on humans using methylphenidate, which mimics the effects of cocaine. It also blocks the re-uptake of dopamine, causing the receptors to be flooded with the stuff. The "high" effect can be reported by the subject, and happens only if the substance is administered intravenously; if it is taken orally, it gets into the brain much more slowly and you see no effect at all, even allowing for a much longer period of time. So the dynamic aspect of drug administration is key.
  • Different drugs have different clearance rates, and the "high" seems related to the rate of change of dopamine concentration, not to the absolute level. So if the level of dopamine goes up rapidly, then decays very slowly, the "high" does not persist, but starts dropping quickly as soon as the dopamine level has reached its maximum.
  • Her imaging techniques allow her to study the effects of drugs on separate brain functions located in different places: the executive function (decision-making); inhibitory control (which allows a non-alcoholic to decide not to have one more drink, but is evidently damaged in the alcoholic); motivation and drive; memory and learning.
  • Tests on animals who have been trained to push a lever to self-administer a drug have shown that causing the overexpression of dopamine D2 receptors causes the rats to lower their usage. As the substance injected to cause this overexpression wears off, over a period of 10 days or so, drug self-administration progressively returns to its previous level.
  • Changes in dopamine receptors in the striatum correlate with changes in glucose metabolism in specific other parts of the brain, such as the orbital frontal cortex, which are also the effects observed in obsessive compulsive disorder (OCD). Another similarity between OCD and addiction is that when the reinforcement ceases (e.g., a lab rat is no longer given food when he is pressing the lever he had associated with this reward, or an addict no longer gets pleasure from his drug), he/it is still compulsively practicing the behavior.
  • In the non-addicted brain, the ability to control actions is decreased by disruptions, such as anger, that affect the prefrontal cortex. That's why, when you just heard that your flight is canceled, you're more likely to go ahead and have that chocolate chip cookie that you had resisted earlier.

Thursday, December 31, 2009

Happy New Reading Year!

Today, a friend of mine wrote in his Facebook status that one of his resolutions for 2010 was to "read a book." I have not determined yet, although I intend to clarify this, whether this was a facetious comment, or whether he meant that his work and life have been so hectic in 2009 that he could not find the time to read a book. I think it may well be the latter, unfortunately. As someone said, it's better to be a pessimist because you're rarely disappointed.

His post led me to two thoughts. One is that I have read more books in 2009 than probably in several preceding years. The second one is that my Kindle has helped me read more.

On the first point, those who know that I retired in May 2009 will of course understand how suddenly the necessary time materialized to enable me to read more. I'm no longer filling personnel appraisals that no one will care about, or redoing slides three times because the boss at level N+1 is afraid that the current version isn't right (and is too long) for level N+2, etc. You can't create time, but when circumstances permit, you can stop wasting it.

My retirement present was a Kindle 2, with which I rapidly discovered, stingy as I am, that there was great value to be obtained because Amazon has many classics, not longer copyrighted, available for download for free. Just a few days ago, I found out that this also now extends to French classics in the original language, although I have not taken advantage of this yet. Actually, I would also like to find some Spanish or German texts, so that I can improve (for the former) or try to recover (for the latter) my knowledge of these languages.

So here's my May-December reading list:
  • Treasure Island, by Robert Louis Stevenson
  • Frankenstein, by Mary Shelley
  • The Adventures of Sherlock Holmes, by Sir Arthur Conan Doyle
  • The Return of Sherlock Holmes, ibid., because one can never read too many good short stories
  • The Legend of Sleepy Hollow, by Washington Irving
  • Pride and Prejudice by Jane Austen (what a delight!)
  • The Autobiography of Benjamin Franklin (they don't make people like this any more)
  • Travels in the United States by William Priest (not as good as Alexis de Tocqueville, but still interesting)
  • The Legends of King Arthur (the version by Sir James Knowles)
  • The Notebooks of Leonardo da Vinci (I have only read a small portion of this text, which does not contain the drawings, and is very heavily annotated, making it a rather more scholarly exercise than I was intending
  • A Tramp Abroad, Vol. 1, by Mark Twain
Currently, I am reading Gulliver's Travels by Jonathan Swift. Yes, it is about very small people and very big people and very weird people, but it is also a very smart, and very daring for the time, criticism of the politics and mores of Europe. The first focus of these imaginary travels to Lilliput and Brobdingnag and other fantasy lands is to convey the idea that everything is relative. As if that wasn't provocative enough, Swift then proceeds to let his foreign characters express incredulity and shock at what Gulliver tells them of the common practices of Europeans. For example, explaining the concept of war to the Houyhnhnms, who don't know it, he writes, "Neither are any wars so furious and bloody, or of so long a continuance, as those occasioned by difference in opinion, especially if it be in things indifferent." Which is eerily reminiscent of Wallace Sayre's saying, which I have been fond of repeating to professors I know, at least when no weapon other than their repartee is available, that “The politics of the university are so intense because the stakes are so low.” Except that Swift was being more daring by attributing this behavior to people who did have the power to do harm to him. And he wasn't putting his potential defenders on his side by adding, a few pages later, that "there was a society of men among us, bred up from their youth in the art of proving, by words multiplied for the purpose, that white is black, and black is white, according as they are paid." No modern lawyer joke really approaches this level of sarcasm, and the following pages just get worse, of if your prefer, better.

I have also downloaded, and intend to read next:
  • The Picture of Dorian Gray by Oscar Wilde
  • The Prince by Machiavelli
  • The War of the Worlds by H.G. Wells (which I only read in French translation several decades ago)
I have downloaded samples, for later purchase, of:
  • 30 novels (!) by Jules Verne, in French, in a single file. I'll have to pace myself. I do own an illustrated print edition of Vingt mille lieues sous les mers, so I can skip the electronic version of that one, but I never read most of the other books.
  • The Spell, by Alan Hollinghurst. I am very fond of his other two books The Swimming Pool Library and The Line of Beauty, which I read just a few years ago in print.
  • In the same vein is At Swim, Two Boys by Jamie O'Neill, which I know from the sample will be hard to read because of the Irish dialect, which is faithfully reproduced, and also because of the emotions that will swell until the fatal climax of the book (yes, I've read the synopsis).
I'm not sure there is a conclusion to this chronicle of my reading progress in 2009 and plans for 2010, but here are two observations. First, e-book readers, which some understandably decry for the loss of the special feel and smell of paper books, can actually help you read more, simply because of their convenience. I can carry a large number of books at one time, switch from one to another, keep my place in each book, look up a rare word in the Oxford dictionary on the fly, all within a small box about as long and wide, and half as thick, as a regular book. Secondly, there is a lot of literature out there that can be had for free (only on an e-book reader), and it is often the best literature ever written. As for modern books, they do cost some money, but much less that a hardcover book, often less than even a paperback, and they download in about thirty seconds. So even though I still like to browse in bookstores, this is at least an additional option to get back in touch with the power of words, expertly manipulated by the best writers in the world, dead or alive.

Sunday, December 20, 2009

Mathematics and Computation

I have a whole list of things I want to do over the holidays, but I finally managed to put together something that had been bugging me for a while, which is an "illustration and defense" of recursive programming, at least as long as it is done intelligently by considering the mathematical properties of the problem being solved.

The issue itself is not new, nor is my solution to its traditional example, the Fibonacci series. But I have attempted to create a clear, end-to-end explanation of the whole issue and its resolution, which I did not find elsewhere.

To do this, I experimented (as far as I am concerned, at least) with the knol format. Knols are Google's answer to Wikipedia -- a collection of elements of knowledge that are published by specific authors, and kept under their guardianship, rather than being a collective article where the individual contributions tend to get lost, and a team of editors may need to police the contributions.

I am not taking sides in the knol-vs.-Wikipedia debate here, let alone in the higher level discussion about "wisdom of experts" vs. "wisdom of crowds." Enough ink has been used on this, including by myself in a past Cutter Consortium e-update entitled "Control vs. Collaboration: Web 2.0 Meets Knowledge Management." But I wanted to see what it was like to author a knol, and I am rather impressed with the functionality of the application. In terms of ease of use, it's not unlike Blogger, as a matter of fact, but the knol editor offers additional functionality, such as an equation editor, which I really needed for this particular paper.

Which leads me to the second thing I had to practice, namely LaTeX, the mathematical typesetting language derived from my Stanford mentor Don Knuth's TeX language. I've used LaTeX several times in my life, most recently to compose equations in Schlumberger's internal Wikipedia. The equation editor for knols uses LaTeX too, so I had to relearn some features in order to display the equations I needed for my article.

And finally, I really wanted to program the various algorithms and run them, both to measure the time they took to execute in order to illustrate my points about performance, and also for the sheer fun of programming. I suppose that the use of "fun" and "programming" in the same sentence makes me a certifiable geek after all. So I quickly taught myself Python, which is not very hard when you have used several other languages, and installed a Python interpreter on my laptop. While I have only scratched the surface of what Python can do (I have not used its most complex data structures, or its object-oriented features) I am rather impressed by the elegance of the language. The almost austere syntax (no semicolons everywhere, no braces all over like in C, no "begin/end" pairs like in Pascal) seems to actually decrease the chances of making errors: even though I wrote extremely small programs for the Fibonacci calculations, each of them was correct on the first try, which was unbelievable given that I had not programmed, even as an amateur, in over 20 years.

Another reason I like Python is that it implements an idea that Bertrand Meyer and I had when we wrote our French textbook on programming methods over 30 years ago. In the book, we used an invented algorithm description language, which was a sort of Algol or Pascal in which we indicated blocks of code through indentation. To clarify the levels of indentation, we drew vertical lines to the left of each indented block of code instead of using keywords like "begin ... end" or curly braces (my friend Tahar tells me that when he was learning computer science in Algiers, just a few years ago, his professor used our textbook and was very adamant about the use of these vertical lines in students' homework). So it was refreshingly familiar to me to discover that Python also uses indentation meaningfully, to convey the structure of the program, thus getting rid of other forms of block delimiters.

So, knol + LaTeX + Python = the finished product, which I just published tonight, and which you can find here. Let me know what you think, if you are so inclined.

Monday, December 7, 2009

Religious Tolerance on the Runway

Dear American Airlines,

I would like to commend the flight attendant who announced "Welcome to Los Angeles and Happy Holidays" when our full plane, flight 427 from Austin, landed at LAX tonight. It's nice that a professional service person in the U.S. recognizes that we live in a multi-cultural, multi-confessional society.

And to the loud lady in seat 6B, accompanying a girls soccer team, apart from the fact that you should definitely find a better hairdresser or stop pretending you're blonde, because yours is a color not found in nature, listen up: I heard your nasty comment about "Happy Holidays" vs. "Merry Christmas." I also heard that, when your companion in 6A asked you what you had said, you didn't have the guts to explain yourself, but just muttered "oh, nothing." Look, you cowardly bigot: last time I read the Constitution, the First Amendment included the so-called anti-establishment clause. In other words, your religion doesn't legally have standing above others, or above the absence thereof. This plane probably contained Muslims, Hindus, Buddhists, Jews, Christians (or people like you who pretend to be Christians), and at least one atheist (that would be the guy in 6F, me). The American Airlines flight attendant welcome respected them all by wishing "happy holidays." Your ignorant comment did not.

You should be a role model to the teenage girls you accompanied. Instead, you're a disgrace to your own country's Founding Fathers.

There.

Thursday, November 26, 2009

Now I Know Why...

No, I haven't discovered why the world exists, or why people have been waging war through times immemorial. What I have discovered (and this is tongue-in-cheek, because I certainly don't believe in this sort of predisposition stuff) is why I have always been fascinated by... telephone area codes.

November 10, 1951, which is the day I was born, was also the day when the mayor of Englewood, New Jersey, sat down in front of cameras and officials from AT&T and made the first user-dialed long distance area code in the U.S. (and I presume in the world) by dialing the 10 digits, starting with area code 415, for the mayor's office in Alameda, California.

Area codes had been designed in 1947, but for the first six years they were only used by long-distance operators to route the calls on behalf of the customers. This removed the need to connect to several intermediate operators (as many as 5) in order to build the entire route for the call. Instead, they could directly reach the recipient's local operator through numbers prefixed with one of 86 three-digit area codes.

The original area codes all had the pattern [2-9][0-1][1-9] for reasons that are best explained in the Wikipedia article on area codes. In recent years, after running out of area codes, the middle digit was allowed to be other than 0 or 1. But weird people like me had memorized quite a number of the old area codes: if you told me "212, 213, 214, 215" I might answer "New York, Los Angeles, Dallas, Philadelphia." To this day, this serves me as a mnemonic aid to remember my hotel room when I travel (without looking at the little envelope containing the plastic key): since most rooms in the U.S. have a three-digit number, and there are not often more than 20 rooms on a floor in a medium-size hotel, room numbers often match one of the old area codes. So if I am in room 404, I remember that I'm in the "Atlanta room," etc. It works very well (but again, I did say that I am weird).

Why did I finally discover this weird coincidence about my birthdate? I received a submission for a technical paper from someone whose phone number is in area code 416, and because this is Thanksgiving Day in the U.S., I immediately suspected that this might be a Canadian area code (the original North America Numbering Plan, or NANP, covered the U.S. and Canada). I checked it, and found that it is indeed an area code for Toronto. But the Google search also returned the Wikipedia page, and the two-line summary in the results page showed the date of November 10, 1951, which caught my eye.

Nice coincidence!

Wednesday, November 11, 2009

Happy Birthday, They Said...

So I have been silent on this wavelength for almost six months -- May 16 to November 10. While there is no contract between you and me about the frequency of the "frog musings" publication, I want to explain a few things.

The day before my last post, I had retired from my company after 26 years of (often hard) work for them. I needed some time to adapt to this radical change, but I never got a chance: three days after that last post, my husband started drinking again, after more than eleven years of sobriety, following a slow decline started in late 2008 and brought on by increasing pain from fibromyalgia.

The end of May and early June were a succession of shocks related to all this. He went to a treatment center in Atlanta, only to leave against medical advice within days. He went to another place -- and left. And on June 21, while drunk, he attempted suicide (and threatened to hurt me at one point) until I literally came to the point of subduing him physically with one hand while calling the police with the other hand to get him taken into protective custody.

Fast-forward to yesterday, November 10, glossing over a number of episodes of relapse, aborted treatments, various horrible scenes, etc., which largely account for my silence... and finally he checked himself, very reluctantly, into a world-renowned clinic in Houston that treats severe depression, including when associated with substance abuse.

It turns out that yesterday was also my birthday. Spending part of your birthday getting your partner into a medical facility isn't a great plan. But it was also, given the previous six months, the best present I could get from him -- even if he was essentially kicking and screaming all the way.

While I was waiting during his intake processing, I caught bits and pieces of a meeting the current patients were having, in which they took turns saying what was their "high for the day." It's a classical way to get people to focus on the positive instead of the negative. I completely failed to apply this to me then, but now I can see the point, and I can say this:
  • So far, 44 people have wished me a happy birthday through Facebook, text messages, and phone calls (thanks, Sean and Jeffrey!). How lucky can one be?
  • I was invited to go to the trivia game at a downtown pub with a group of people I know. They knew it was my birthday, they thought (incorrectly) I would have better things to do, I didn't, I showed up, and one of them (thanks, Sean No. 2!) bought my drinks and food. You guys are so freaking great!
So yes, it was a crummy birthday, but it was also a good day. It had all the elements for me to complain about things, or to decide that when handed lemons, I could make a lemonade. And in some modest way, I did.

Who knows what will happen next? I have no clue and I have suffered too much to be naively optimistic, but regardless, I am grateful for my friends' presence and support. I'll keep everyone posted. I hope it doesn't take another six months.