Daily blurbs Jul. 2014


daily blurbs

21 Jul 2014 (Mon)

10:03:28 # Life Trying android wear SDK using my LG G watch. I didn't have the permissions to access the usb device, and I had to update the udev rules. It wasn't clear what the right way was, and existing Android devices look like audio or camera, not really consistent.

$ adb devices 
????????????	no permissions
# vi /etc/udev/rules.d/51-local-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1",ATTR{idProduct}=="d002", MODE="0666"
# /etc/init.d/udev restart 
$ adb devices 
xxxxxxxxxxxxxxxxxx unauthorized

9 Jul 2014 (Wed)

09:18:30 # Life Having fun with lisp. I was writing lisp interpreter in C++ using boost::spirit. I am happy that my eval can do lambda. Took me a long time to figure out what was wrong with the different types. The data structure was recursive, and I needed to make a recursive type. make_recursive_variant works but it's not obvious when it doesn't.

Junichi Uekawa

$Id: 201407.html.en,v 1.2 2014/07/21 01:21:58 dancer Exp $