Screenshot of a terminal running the fish shell with tab completion of applications starting with 'te'

Fish shell completions – fixes

Screenshot of a terminal running the fish shell with tab completion of applications starting with 'te'

A few months ago, I pushed to github a small python script which builds fish commands for each graphical user interface program. So you can type textwrangler_app in your terminal and this will launch the TextWrangler app and tell it to open filename.

Today I pushed a set of fixes to that tool, in particular it should handle properly application names which contain single quotes, it should also use a bit less memory as the list of application paths is not fully loaded into memory.

Flattr this!

Painting of the Ruins of the Roman Forum

Looking back on accounts

Painting of the Ruins of the Roman Forum

Eleven years ago, I wrote a small blog entry entitled Accounts, accounts, accounts were I described a system to reuse identity information when registering for yet another web-site. What I find fascinating is that a part of this problem has been solved by standards like , another part by the browser’s autofill capacities, and the third by simply not giving so much information to web sites – or linked the web-site to Facebook and get the information from there.

The forum explosion of the naughties is well over, most of them died out, replaced by groups in social platforms, the leftover ruins haunted by spam-bots.

An Architectural Capriccio of the Roman Forum with Philosophers and Soldiers among Ancient Ruins…Giovanni Paolo Panini, c. 1745-1750, oil on canvas – National Museum of Western Art, Tōkyō – Public Domain.

Flattr this!

Homekit Icon – A house outline with a Wifi wave inside

Homebridge

Homekit Icon – A house outline with a Wifi wave inside

While playing around with the MyStrom power switches, I discovered an interesting project: . This project aims to be a bridge between various internet connected devices and Apple’s Homekit system.

The system is quite modular and there is a plugin which handles MyStrom. I managed to make it run on my laptop, and to bridge my two smart switches, this means I can control them using a Homekit app, or simply Siri. The main issue with this approach is that the laptop has to be running to do the bridging. So the next step is to run that bridge on a device which is turned on all the time, probably my NAS. I found instructions on install Homekit on a Synology NAS, and more instructions to install chroot on a Synology NAS.

Siri turn cooking shelf on
 OK, the cooking shelf is on

Flattr this!

Jaden Smith
Jackie Chan
Karate Kid

Karate Kid (2010)

Jaden Smith
Jackie Chan
Karate Kid
A challenge he never imagined – A teacher he never expected

I was pretty confused when they announced that there would be a remake of Karate Kid with Jackie Chan – he is an awesome martial artist but what he does is certainly not karate. As often I forgot about the whole thing. Yesterday, I found the Blu-Ray in some discounted shelf, so I bought it and we watched it yesterday.

The movie is pretty different from the original one, beyond the title and the core concept, pretty much is changed: the protagonist is a black kid from Detroit who moved to China, the antagonist a gang of Chinese kids who practice Kung Fu, there is no Panda.

When European movies are adapted by Hollywood, everything gets bigger, it seems that when an 80s Hollywood movie is adapted to China the same thing happens. Karate Kid contains a lot of Travelogue scenes: the Forbidden Palace, the Great Wall, the Wǔdāng Shān temple. The scenes are beautiful, but as the two latter are thousand of kilometres from Běijīng and probably overrun by tourists, they undermine the idea that this is an intimate quest.

The movie is intense, much more so than the 1984 version: the dorky latin teenager Daniel is now a 12-year-old kid called Dre, the relaxed suburbs of California are replaced with some urban area of Běijīng, Jackie Chan level Kung-Fu instead of cheesy karate. The way the kids beat each other up is pretty severe, the final competition is not local. Mr Han, the kid’s mentor is much more tormented than Mr Miyagi was.

Karate Kid is full of references and homages to the original movie: when Daniel asks where the cars come from, the answer is Detroit, which is the starting point of the new movie. The catching the fly with chopsticks scene is present but turned around. Some things really baffled me, like the presence of a Volkswagen Scirocco, what is a german car from 1983 doing in China? I also spent some time in the movie wondering why Dre looked so much like Will Smith (because he is his son).

All in all, I think it a pretty good movie, but I think it would have deserved to be a standalone creation, calling it Kung Fu Kid would have been enough as a reference and a more honest title. While the production of the movie is better than the original one, I had the feeling it missed the intimacy of the original Karate Kid, maybe because there is to many pictures of China and Kung Fu in the way…

Flattr this!