Useful Consumer Review

I’m always in the lookout for new smart remotes, so when I saw this Turn Touch wooden thing, I thought it might go better with my living room table:

Than the old remote I use to control the stereo (and the lights):

Eh? Eh? Slightly better, huh?

That Targus thing there has worked reliably for me for almost a decade now. I use the pointer thing to control the volume and the other buttons to skip and stuff, so I wondered whether this Turn Touch thing would be as flexible.

The Targus thing appears as a USB HID device in Linux, so it’s very easy to interface with. And it has a nice range: It doesn’t drop that many events. I’m almost always disappointed by the range and reliability of wireless things, but we’ll see…

But first of all, I wondered how the Turn Touch worked. There was no manual included, so I wondered how this thing is even charged and how you open it, because there are absolutely no screws.

But it’s all held together by magnets! How brilliant! Prying it apart was trivial, but it still feels nice and solid when it’s all put back together.

And it’s charged by a normal button battery that’s supposed to last about a year. That’s nicer than having to recharge it, I think.

Anyway! How do you interact with this thing?

Python to the rescue!

# pip3 install TurnTouch
# pip3 install typing

and then a script like this:

from turntouch import TurnTouch, DefaultActionHandler

class MyHandler(DefaultActionHandler):
    def action_north(self):
        print("Up button pressed.")
    def action_east_double_tap(self):
        print("Right button double-tapped.")
    def action_south_hold(self):
        print("Down button held.")

tt = TurnTouch('e5:b6:51:8e:f4:50')
tt.handler = MyHandler()
tt.listen_forever()

where that address can be detected by saying

# bluetoothctl
scan on

and waiting for a line mentioning “Turn Touch” to show up. Apparently you don’t have to pair things explicitly and stuff… These low-powered bluetooth things are a mystery to me…

However, as that this shows, the responsiveness is, what’s the technical term… Oh, yeah: “EEEK! THAT”S HORRIBLE!”

A second after you’ve hit the button, you get an event on the computer?

So, in the /usr/local/lib/python3.4/dist-packages/turntouch/turntouch.py file, there’s a line saying

MAX_DELAY = 0.75

that sounds suspiciously like the one-second delay I’m seeing, and reading through the code, I understand why it’s there: Each key is supposed to be able to give you three actions: Single tap, double tap and hold. You see this in mobile interfaces, too: If you want to support double tap (and mobile UX people thought that was going to be a thing), you have to wait a while to see whether the first tap was all there’s going to be, or whether another tap is to follow.

But I think that’s pretty horrible, and I can live with either single tap and very-quick double taps; I don’t need “hold”. Especially if the holds are going to fuck the UX up this much.

I changed MAX_DELAY to 0.1, and:

Now, that’s almost acceptable. It does mean that I get a tap event before I get a hold event, but I think that’s OK for my use case here… I think…

Hm… no, it’s janky and doesn’t really work properly.

And… I can’t really understand why it’s programmed this way at all. As far as I can tell, the device itself sends over events like “West” and “Off” and “West Double Tap”…

Oh, right! When you hold a button, you get “South”, “South hold” and then “Off”… But… when you tap a button, you get “South” and then “Off”. And on double taps you get “South” and then “South double tap”.

Uhm! No! OK, now I’ve added proper debugging, and I understand why the library is doing what it’s doing. If you double tap, these are the events you get:

North
Off
North
North double tap

So you can’t fire the “North” action on the “Off”, but have to wait and see whether you get a “North double tap”. And the built-in delay in the device is 0.75 (i.e., if you hit the button faster than that, you get a double tap event), so single taps can’t be executed faster than that if you want to have double taps.

The library almost has support for this: There’s a “debounce” parameter that’ll call the action immediately, but that’s also wrong: Then you can’t have a separate “tap” and “hold” action, either.

I think… I can live without double taps. A “hold” gives me these events:

East
East hold
Off

So I can have immediate for single taps (i.e., on the “Off”), and also support holds without introducing delays. So I’m going to fork and hack the TurnTouch library.

Man! Do I have to learn Python?!

*time passes*

Well, that was trivial enough. The TurnTouch library is written in a clean and nice fashion, so ripping out all the logic was easy.

My version is on Microsoft Github.

So after that slight detour… ahem… Is the Turn Touch any good?

Yes!

I’ve only been using it for a very short while, but the signal range seems pretty good: From the couch to the stereo (with a bluetooth dongle on the back of the computer; about three meters) it doesn’t lose any events. If I go to the next room, I’m able to send some events through the wall, but then it loses the connection.

But that’s a lot better than I expected.

And! It’s an open platform with good documentation, which is very nice indeed. And, with libraries like the one I forked here, you have pretty good access to the events and can construct your own workflows based on what’s important to you.

So, while I have no idea whether it works well over the long haul, I’m giving it all my thumbs up.

Decade Redux

After watching movies kinda aimlessly for a while, I wanted to focus on a specific era, so I chose the 40s: One movie from every month of that decade.

I chose the 40s more by process of elimination than anything else: All the other possible decades had bits that seemed less exciting here and there. I did consider doing, like, 1936 to 1945, but that’s… so… random.

Keeping the same three digits at the start is way less random, right?

Right.

Also, I thought it might be interesting to do the second world war and the aftermath just to see whether you could notice that there was a war going on in the movies or not.

And boy, could you. Before Pearl Harbour, the American movies were pretty circumspect: You wouldn’t want to be accused of spreading pro-British propaganda, donchaknow. (Well, I didn’t, but that was a thing politicians at the time accused Hollywood of doing.)

So most of the American war movies are set in Czechoslovakia during 1939. You could show how nasty the Nazis were without getting involved with the entire WWII thing.

And also a few historical war movies that kinda hint at, you know, invading other countries being a bad thing and stuff.

But then Pearl Harbour happened, and finally the producers can let loose and show American soldiers, now, fighting the good fight.

But it’s not like the majority of movies during the war was about the war. Several of the bigger war movies were not box office smash, and Hollywood pulled back a bit and did lighter fare. It makes sense, I guess: When half the people you know are overseas getting shot at, you may want some movies to take your mind off things.

So the period is more dominated by comedies than anything else, which was surprising to me.

But I was totally unprepared for what happened immediately after the Japanese and the Germans surrendered:

Film noir!

It’s like Hollywood had this bottled-up stash of scripts about criminals and low-life and were just waiting to spring them all on the public: Now, finally, they’re allowed to make people about people in the US being bad!

Sooo bad.

So that was interesting. Well, to me, at least.

But were movies in the 40s good?

Yes.

The Hollywood studio system was in full effect at the time, with directors and actors more or less employed by the studios and assigned to whatever project the producers wanted them to do. That sounds kinda soulless, and perhaps it was, but they were just really good craftsmen: They really knew what they were doing. While some of it’s Extruded Film Product, it’s well-made Extruded Film Product.

Largely.

I did discover at least one director (that I didn’t know about before) that I think is a genius, Preston Sturges. He had an interesting career as he chafed under the studio system and tried to strike it out on his own.

Which brings me to:

Smaller studios (and outright independents) mostly went bankrupt, and nobody bothered to buy up the rights to their movies, as far as I can tell.

So a huge swathe of these movies are in the public domain, meaning that anybody can release them these days. That’s something that I would have thought was a good thing. I mean, free movies! Nice, right?

Well, yes but no. When everybody can download these movies, sourced from an NTSC broadcast recorded to VHS and then uploaded to Youtube, that means that it’s difficult to make any money off of restoring them. So I’ve been suffering through more than my share of films where I can barely tell what’s going on.

In the UK, the British Film Institute finances restoration of significant movies, but there’s apparently no such system in the US.

And now that the market for DVDs and Blurays is fading, I wonder whether the window of opportunity for saving this part of our history is closing.

But perhaps Netflix will save us all!

So this is

But here’s a list of all the movies:

December 1949: Twelve O’Clock High



















Awrite! The final movie in this blog series! December 1949! A decade of movies! It’s over!

I think I started in… September? So it’s taken me about six months to watch 120 movies? That’s two thirds of a movie per day.

OK, I’ll do a summing-up post later…

So what’s this movie about? A high school called Twelve O’Clock?

No! It’s a war extravaganza produced by Darryl Zanuck starring Gregory Peck! It’s long, it’s serious, it’s got a huge budget, and … it’s war!

This is the only movie in this blog series after the end of the war that’s about the war. I think during the 50s you got a wave of these, but in the years just after the war, people didn’t want war movies (or at least the studios didn’t think so).

Instead there were a bunch of film noir crime movies, but now we’re back to heroes again.

It’s not as simple as back in the days. We’ve got (allusions to) body parts and soldiers throwing up and PTSD and stuff.

The solution? Tough love! Responsibility! Pride!

But despite all odds, it’s a gripping movie. Lots of great performances and sentimental scenes. It’s a kind of perfect movie: It does everything it sets out to do.

Twelve O’Clock High. Henry King. 1949.

Popular movies in December 1949 according to IMDB:

PosterVotesRatingMovie
103337.8Twelve O’Clock High
127227.6On the Town
76137.2Sands of Iwo Jima
17827.1Side Street
5677.1My Foolish Heart
13526.9East Side, West Side
24726.9The Inspector General
50176.8Samson and Delilah
7586.7Malaya
5256.6The Threat

This blog post is part of the Decade series.

November 1949: Port of New York














Huh. This… looks like a B movie sourced from Youtube from VHS, but how did I buy this? It must be on a box set of some kind, but … which one? I sure can’t find it.

And it’s weird. It’s got a voiceover like an educational short. I’m guessing this is a public domain feature from a studio that’s now bankrupt?

This may be the weirdest movie ever. There are scenes of high stylised drama intercut with newsreel-like footage from the port. Of New York.

Is this a fixer-upper or was it meant to be like this?

And isn’t this weather supposed to be over by now?

A young Yul Brynner plays a totally gay super-evil villain, which is a plus, I guess?

Port of New York. Laslo Benedek. 1949.

Popular movies in November 1949 according to IMDB:

PosterVotesRatingMovie
102397.6All the King’s Men
162257.6Adam’s Rib
53907.5Battleground
7667.5The Rocking Horse Winner
30057.2Holiday Affair
16057.2Tension
10827.1Prince of Foxes
3636.8A Run for Your Money
9106.7That Forsyte Woman
3156.7The Great Lover

This blog post is part of the Decade series.

October 1949: Love Happy





















What! A Marx Brothers movie!? I thought I’d seen them all? How did I miss this one? It must have been part of that Marx Bros box set I bought some years back? But… huh.

This is not one of the classic Marx movies. There’s not a lot of Groucho in here (and his scenes have obviously been spliced in here as an afterthought? filmed by a different crew?), and there’s a lot of Harpo scenes. Hm…

Oh:

It was originally conceived as a vehicle for Harpo, so as a result we get lesser input from Chico and even less from Groucho (which is especially unfortunate).

And it’s the final Marx Bros movie!

It’s got the perfect plot: The Bros have to help some kids put up a show while thwarting some diamond smugglers. Impossible not to enjoy.

OK, this can’t really be called a “good movie”, but I laughed out loud several times, and was smiling the rest of the time, so I can’t be too critical.

But it’s weirdly paced, or just perhaps too long? When I though we were getting to the climax, we were only two thirds done.

It’s funny! What can I say.

Love Happy. David Miller. 1949.

Popular movies in October 1949 according to IMDB:

PosterVotesRatingMovie
101978.3The Heiress
14997.7Intruder in the Dust
2167.4Give Us This Day
29727.3The Reckless Moment
16017.2Beyond the Forest
90477.1The Adventures of Ichabod and Mr. Toad
9577.1Reign of Terror
15097.0Border Incident
2126.9Everybody Does It

This blog post is part of the Decade series.