Skip to main content

126 posts tagged with "in-English"

View All Tags

Bookdropping

· 3 min read

The other day, as my train slowly entered the station and arrived to the platform, I noticed something falling to the floor when somebody got up to leave the train. The mature woman sitting behind me had dropped something accidentally. Or so I thought. It was a book. I stooped to pick it up for her — trying to read its title at the same time, of course. It was “On Beauty”, by Zadie Smith. I already knew that book because it received very good critics and won some important prize, and had been since heavily promoted here in England. I had been seeing it in the hands of commuters lately. I handed the book back to the lady expecting the preceptive “oh thank you very much” plus broad smile that I so much appreciate since I arrived to this country. Instead of that, the woman made me a gesture of subtle negation and stammered out something that I didn't understand. Suddenly it dawned on me: this lovely lady is a bookcrosser in disguise! I was happy with the possibility of rescuing a book from the wild for the second time in my life. But I saw no sticker of Bookcrossing on its cover. Why? Then the woman, noticing my confusion, looked at me again in guiltiness and confessed in a whisper: “I can't stand it. I don't like it. Do you want it?” Sure. Her guilty confession kept me laughing at intervals for the rest of that day. She was no bookcrosser. She was a bookdropper. Cool. Next time you realise that you actually loathe a book that you began to read just because all your friends were loving it, don't suffer. Instead, perform a sophisticated act of generous bookdropping in some crowded place. (Just make sure before that nobody is close enough as to offer it back to you). That might save yourself hundreds of boring pages and quite a few pathetic attempts to highbrow comments among your mates. And it's a smart, environmentally friendly move which Al Gore himself would be proud campaigning for. I wonder how many books are bought (and maybe read) just because of ads and trends. I myself have put it now in my queue, but after some other more important books. By the way, bookdropping.com is already registered, but bookdropping.info remains available…

Go to Flickr to see this
image

Learning Linux/Un*x

· One min read

I've got a friend who is a software engineer too, but who has never worked with Linux or Unix. Now he wants to start learning something about it, so he asked me about good sources for beginners. My friend is a Java programmer with some work experience, so when I say “beginners” I just mean “newbies to Linux”, not “computer illiterates” or “programming dummies”. What he wants to learn (or rather what I believe would be best for him to learn) are the basics about Linux installation, configuration and administration, command line rudiments and tools, typical open source programming languages and environments and general development methodology. There must be some good general introductory-but-not-too-basic books, documents, tutorials and web sites out there. It's just that the ones I can think of (which I may have used in the past myself) are either in Spanish (which he can't read), a bit too old or centred on very specific aspects. Can you recommend any good source? What was your first book about Linux? Any classic must for beginners? He prefers books to web sites.

104

· One min read

This morning on the train I wrote down from memory the 104 syllables of the hiragana alphabet without any mistake for the first time, including all modified and compound syllables and pronunciation exceptions. I find it very gratifying to be able to read and write all those alien symbols. (Even if the most complex sentence that I'm able to build for the moment goes like “is that Takahashi's apple?”). Next target: the same 104 sounds in katakana. Many apologies for such a “so what?” post, but I was so happy this morning.

Go to Flickr to see this
image

Manic street preacher

· One min read

This evening I saw Philip Howard sharing out leaflets at Oxford Circus Station, and decided to ask him for a picture. He said “why not?” and immediately started a private one-to-one preaching session. I was setting up my camera. What a privilege! He asked me whether I love Jesus (“of course”) and advised me to avoid sins like greed and envy. He told me not to have sex before marriage. To that I replied “I try”, and I'm glad that my answer was ambiguous enough as to keep him happy while being also true under my own interpretation of the words. Which may be a tad different from his.

Go to Flickr to see this
image

Let it snow!

· 3 min read

“Oh, the weather outside is frightful
but the fire is so delightful
And since we've no place to go
let it snow! Let it snow! Let it snow!

It doesn't show signs of stopping
and I've bought some corn for popping
The lights are turned way down low
Let it snow! Let it snow! Let it snow!

When we finally kiss goodnight
how I'll hate going out in the storm!
But if you'll really hold me tight
all the way home I'll be warm

The fire is slowly dying
and, my dear, we're still goodbying
But as long as you love me so
let it snow! Let it snow! Let it snow!”

— Sammy Cahn

Go to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image

Go to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image

Go to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image

Go to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image Go
to Flickr to see this
image

Metro (2)

· One min read

After posting two days ago that letter sent to Metro by a (male) reader I feel morally compelled to post the equally slick reply of a (female) reader published today:

“I'm not surprised that the female voice on [that reader]'s sat-nav sent him the wrong way (Metro, Wed). She was obviously so shocked that a man was actually asking for directions.”

Metro

· One min read

Sometimes that pseudonewspaper for commuters called “Metro” really makes me laugh.

Two quotes from today's issue:

“I got a satnav for Christmas but had to switch it to the male voice after the female voice kept sending me the wrong way.”

“Peter Griffin from `Family Guy´ […] and his son Chris while they're looking at some killer whales. Chris: `Dad, what's the blowhole for?´ Peter: `I'll tell you what it's not for. And when I do, you'll understand why I can never go back to Sea World´.”

Synchronizing with a Polar HRM

· 4 min read

One of my tasks during the development of Smart Zones Beta 2 is the HRM communication module, that allows users to import data about their training sessions to the application. Those cyclist or joggers who use HRM's know what it means. For the rest, let me briefly explain it.

“HRM” stands for “Heart Rate Monitor”. HRM's are small portable devices that measure and keep a log of your heart rate, i.e. the pace of your heart beats. Typically, you attach a strap to your chest and it detects the small electrical voltages that your heart produces when it's working. The other component is a radio receiver that usually has the appearance of a wrist watch. This device computes your current HR, shows that value on its small display, and records the whole sequence of values during your training session. It often polls the strap at intervals of five seconds. The information gathered may be shown in a heart rate graph.

Nowadays you don't need to be a pro to have one of these gadgets — they are sold with prices around £100 (~ €150) or even less. They are useful to keep your workouts at a high level without overtraining. Also, when you run or cycle, the messages that your body sends to you (about how tired you are, or how intense is the pain in your limbs) are pretty subjective, and highly influenced by psychological factors (e.g. you tolerance and perceptions are not quite the same if you train when you feel like shit). HRM's, on the other hand, always give you steel-cold measures that you can trust (damn) and let you know in which of your heart rate zones you are putting your heart.

An application like Smart Zones must integrate with HRM's to let users feed Trainsmart's database with accurate data about their training. The more accurate that feedback is, the better their suggested training programme will be.

Go to Flickr to see this
imagePolar, a Finnish company, virtually invented HRM's. At this stage of Smart Zones, I have been working with their IrDA API to make some of their HRM's talk to Smart Zones via an infrared port (or an USB-to-IrDA device). I started working with the version 1.40 of their DLL and later upgraded to version 1.60. Everything worked fine, except that the progress bar that usually was shown during the whole synchronization process (see the image beside) was missing in the latest version. The sequence of commands that I was using was this one:

fnHRMCom_ResetIRCommunication (0)
fnHRMCom_StartIRCommunication (HRMCOM_PARAM_IRDA, "IR")
fnHRMCom_ReadMonitorInfo (&psg, &psmi)
fnHRMCom_ReadExercisesData (hWnd, FALSE)

for (int i = 0; i < psmi.iTotalFiles; i ++) {
fnHRMCom_GetExeFileInfo (i, &pef)
fnHRMCom_AnalyzeFile (i, 0)
fnHRMCom_SaveExerciseHRM (hDlg, szOutputFile, 0)
}

I knew that not having that progress bar would be a pain for users since infrared communication is infamous because of its low bandwidth. If a user tries to send data about all his 100 or 200 training sessions in the last year, it may take a few minutes to complete. So some feedback is vital to let them know that the synchronization is in progress. After spending far too long trying to find out why that dialog box was missing in the new version of the DLL, I did what software engineers sometimes do in such circumstances: undo the last changes and try to find out at what exact point things changed so badly. In that case, that meant reverting Polar's DLL to its previous version (1.40).

It worked, exactly as it should. There it was that nice dialog box with its progress bar.

Eventually I discovered that the parent window handle that I was passing to the function fnHRMCom_ReadExercisesData was NULL, and this function is supposed to receive a valid parent window. But even bearing that in mind, I don't understand why it needs another window handle if it works the same without it!

Never mind. Smart Zones is now accepting heart rate data from a wide range of Polar IrDA watches. And more Polar interfaces and other HRM brands are to come in the next weeks — we are pushing upgrades more or less once a week.

Christmas at hand

· 2 min read

The article “consumerism” in Wikipedia should contain just #REDIRECT: [[London]].

Since I came here I've been curious about Christmas in London. Last Wednesday when I left the office I went by tube to Oxford Circus. At the beginning I thought that there was some accident, or maybe a demonstration on the street, because there were those long queues inside the underground station, and the crowd was pushing trying to make their way up the stairs to Oxford Street.

But, alas! When I went off the station I found what you see in these pictures: an amazing packed tide of people just… shopping. The flow of shoppers coming from Piccadilly Circus via Regent Street was colliding with people walking down Oxford Street. As a result there was that thick and dense swarm, far worse than the worst crowd that you could find in any trendy club at 3am. It took me a few minutes just to turn left, walk 50 metres and cross the road. And that was still nineteen days to Christmas day!

It's a shame that I'm not going to be in London by Christmas day — I've been told that 24th December the evening is a spectacle in that area.

Oxford Circus, 19 days to Christmas
[1]

Oxford Circus, 19 days to Christmas
[3]