Skip to main content

124 posts tagged with "in-English"

View All Tags

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]

Contradiction

· 3 min read

It's great going to the cinema (or staying at home in front of the TV) and watching any film in its original language, without dubbing; either in English, in Spanish, in German… But it's a pain in the ass paying £8 (~ €12) ─or even more─ for that and swallowing 20' of trailers and ads before the film begins.

I can't get used to pubs just closing at midnight and bars being shut about 3 am. But I do appreciate being allowed to enter most bars and clubs wearing sneakers, a sweatshirt and a rucksack.

I like the fact that I'm not living among Spaniards, Andalusians, people from Madrid, Granada or Seville. Even if it's annoying finding so many Spaniards, Andalusians, people from Madrid, Granada and Seville living in London.

It is a pain having just eight public holidays a year. But I love being supposed to finish work at 5 or 6 pm and actually leaving the office at 5 or 6 pm.

It's great hearing every day from perfect strangers expressions like “that's lovely”, “I'm terribly sorry” or “how can I help”. If only you didn't keep wondering on some of those occasions how much of hypocrisy and cynicism there was in that sentence…

It pisses me off spending 2h30' of my day just commuting; waking up at 6:45, sweating inside the packed carriages of the tube, spending £11.50 a day on train fares. Fortunately, it makes me read books or newspapers, observe the people, and take notes (like these).

I love the possibility of grabbing (anywhere, at any time, in a few seconds) a huge, hotter-than-hot, freshly-made coffee to take away. I guess that I'm getting used to that disgusting dim taste as of plain hot water without enough coffee in it.

This vast diversity and infinite offer here can be oppressive; you cannot help feeling as if you were a foreigner; all of them seem to belong here, while you never will; too many things to do, too many ways to be. But it's still really wonderful contemplating Irish, black and Asian children playing football together in my estate; or women inside hijabs and women in bikinis all sitting together on the grass in the park.

I'm enjoying my life in London. I loathe my life here.