By - 10 Posts - Public

Stream

Ian Hickson

Shared publicly  - 
 
I'm writing a Dart version of my Sharp LC-70UD27U TV remote control library [1]. (My TV has an ethernet port and exposes a TCP server on which you can send commands.)

I'm pretty sure I just witnessed my TV doing time-travel.

I send messages one at a time, waiting for a response. Just now, after switching channels, I sent a `VOLM?` request, waited for the answer, then followed it by a `MUTE?` request. The volume was 18, and the TV isn't muted, so the answers should have been 18 and 2 respectively.

Here's the log:

I/flutter (32367): 2016-11-27T17:40:41.485525 ==> VOLM?
I/flutter (32367): 2016-11-27T17:40:41.486862 <== 2
I/flutter (32367): 2016-11-27T17:40:41.488129 ==> MUTE?
I/flutter (32367): 2016-11-27T17:40:41.489843 <== 18

HOW DID IT KNOW WHAT I WAS GOING TO ASK BEFORE I ASKED IT??? And why did it switch the answers around??

Not three seconds later the responses made sense, as they usually do:

I/flutter (32367): 2016-11-27T17:43:11.595704 ==> VOLM?
I/flutter (32367): 2016-11-27T17:43:11.604280 <== 18
I/flutter (32367): 2016-11-27T17:43:11.607810 ==> MUTE?
I/flutter (32367): 2016-11-27T17:43:11.612080 <== 2

I'm so confused. And a little scared.

[1] https://software.hixie.ch/utilities/unix/tv/
Index of /utilities/unix/tv. Name Last modified Size Description · Parent Directory - tv.pl 21-Jun-2016 19:23 26K. tv.pl ===== tv.pl is written to control the Sharp LC-70UD27U TV. It can probably control most modern Sharp TVs to some extent or another, though it'll need work. Help!
8
Maria Zolotova's profile photoJonh Elton's profile photo
2 comments
 
noite boa
 ·  Translate
Add a comment...

Ian Hickson

Shared publicly  - 
 
#makeamericabrannigan is the best thing to happen so far in this election cycle. It's so good that it redeems everything that's happened so far.

#elevenseasonsandamovie? #tenseasonsandfivemovies? I'm so confused by the episode numbering at this point.
Voiceover actor. Did my best stuff in the 31st century, and all the 21yo girls think I'm cool. billywestpodcast.com · 96 Following30.9K Followers. Billy West. Tweets; Photos; Likes. Photos. Billy West · 2h2 hours ago. Billy West @TheBillyWest. Zapp presents...Famous Quotations from Donald J ...
9
Christine Mecklenborg's profile photoFranc Schiphorst's profile photo
2 comments
 
Wait for South park :)
Add a comment...

Ian Hickson

Shared publicly  - 
 
This might amuse Littlebits nerds.

Problem: How to use littlebits as a network-enabled temperature sensor with a local display for debugging purposes.

The obvious solution is power -> temperature sensor -> number -> cloudbit. In theory, though, the power and cloudbit modules would interfere with the sensor because they get warm. The next obvious solution, then, is to go power -> wire -> temperature sensor -> wire -> number -> cloudbit.

Unfortunately, the cloudbit is super sensitive to how much power it gets, to the point where using a couple of wire modules is enough to cause the cloudbit to fail to connect to my wifi (it goes into a reboot loop instead).

Solution: bring the power in via the number "reset" line, so that it's not going through a wire, then set the cloudbit to output 1.0, and wire the temperature sensor in a loop!

As crazy as the circuit looks, it does work.

The only problem with this is that the littlebitscloud doesn't remember that I set the output to 1.0, so I'm going to have my logging script periodically remind the cloudbit that it should be sending a 1.0 output, so that if there's a brief power outage it returns to 1.0. (Or I could get a fork bit and take the 1.0 signal off that instead. That's probably simpler... won't look as funny though.)
6
2
文山鐘(癡夢情煞)'s profile photoIan Hickson's profile photo
2 comments
 
Not sure what you're asking sorry.
Add a comment...

Ian Hickson

Shared publicly  - 
 
Stephen Colbert and Neil deGrasse Tyson have great chemistry.

The thing they don't mention about the whole pluto-is-a-dwarf-planet thing is that if you categorise Pluto as a Planet then the number of planets we have in our solar system immediately goes up by 5 (not 1), according to the IAU, with dozens more already known but not yet accepted by bureaucracy, and with an estimated 10,000 more to be added as we find and categorise them (about 200 in the Kuiper belt, and the rest beyond). I don't understand why all the people who want Pluto categorised as a planet never mention Eris (heavier than Pluto and around the same diameter), or Ceres (closer to us than Jupiter), or any of the other named ones.
 
The interaction of Stephen Colbert and his guest is pretty amusing.
View original post
87
2
Ocongate's profile photoScott Hess's profile photo
25 comments
 
Being labelled a planet by humans confers no advantages nor disadvantages to astronomical bodies.  If we ever achieve the ability to closely image other solar systems, we will CERTAINLY find bodies which break our arbitrary rules, no matter what those rules happen to be.

Ian Hickson

Shared publicly  - 
 
DRM strikes again: apparently Amazon have decided that Windows PCs can't be trusted to play 4K content from their streaming video service.

I hate DRM so much.
30
1

Ian Hickson

Shared publicly  - 
 
The hardware part of my laundry home automation contraption is now done!

Next step is the software. I've written enough littlebits cloud integration scripts over the past few months that I think the first item of business here will be writing a library to abstract out the I/O. I'm getting tired of having to manage TCP sockets and HTTP traffic and so forth every time.
12
Ian Hickson's profile photoChad Harris's profile photo
8 comments
 
+Ian Hickson I asked +Maytag Brand​ for this functionality a couple of years ago. I'm glad I'm not the only one!!
Add a comment...

Ian Hickson

Shared publicly  - 
 
I finally gave up and uploaded my bash scripts that make git semi-usable, so that I can use them on other machines.

https://github.com/Hixie/usable-git
usable-git - A bunch of shell scripts that make using git bearable
9
2
Add a comment...

Ian Hickson

Shared publicly  - 
 
This article is just great: "Fifty psychological and psychiatric terms to avoid: a list of inaccurate, misleading, misused, ambiguous, and logically confused words and phrases".

My favourite entry is from their list of oxymorons:

"Scientific Proof. The concepts of “proof” and “confirmation” are incompatible with science, which by its very nature is provisional and self-correcting. [...] no theory in science, including psychological science, should be regarded as strictly proven. Proofs should be confined to the pages of mathematics textbooks and journals." [internal citations elided]
7
4
shihab k's profile photoDieter Petereit's profile photo
2 comments
 
Strictly academic 
Add a comment...

Ian Hickson

Shared publicly  - 
9
1