AngularJS Phone Catalog Tutorial Application, in LiveScript with SocketStream 0.3.2, LESS, Jade, including Unit and E2E Tests

JavaScript RegExp test(undefined) behavior




W520 Tri-head Display Setup, Nvidia Driver Power 2 External Monitors

1. Originally want to setup a xorg.conf file using

2. Then found this using Bumblebee etc,

3. Then noticed the post with more reference.

Finally got it to work, not like 2's approach with Intel driver control 2 monitors (can not make it work), I must use Nvidia driver to control 2 external monitors.

After patched xserver-xorg-video-intel, xrandr lists LVDS1, VGA1 and VIRTUAL, but VGA1 is always disconnected no matter how I change /etc/X11/xorg.conf.

I can get 1 external monitor (which is always the one connected to VGA port) to work by as in

Noticed BOTH external moniters wake up (indicator light from yellow to blue) to grey (black) screen, this seems they are controlled by Nvidia driver.

Reading, using

optirun nvidia-settings -c :8

indeed verify Nvidia displays 2 external monitors, and I can set twinview etc.

Why only one external monitor show stuff, and the other is grey?

Rescue comes just from xrandr, the key is to assign a larger resolution to VIRTUAL, and twinview within those 2 external monitors works:

$ cvt 3840 1080 60
# 3840x1080 59.96 Hz (CVT) hsync: 67.16 kHz; pclk: 346.00 MHz
Modeline "3840x1080_60.00"  346.00  3840 4088 4496 5152  1080 1083 1093 1120 -hsync +vsync

$ xrandr --newmode "3840x1080"  346.00  3840 4088 4496 5152  1080 1083 1093 1120 -hsync +vsync
$ xrandr --addmode VIRTUAL 3840x1080

"Tweet your SocketStream and Chaplin" with ss-handlebars

I forked tweet your brunch example and made a ss and chaplin version:
It works.

forked ss-hogan and made ss-handlebars

A customized Chaplin is used to work with ss

discussion thread

update to Node v0.8.1

node-canvas toDateURL() breaks, found fix on issue #182
then node-waf configure build

update connect, pg, forever

Install Node v0.8.0 on EC2 with Ubuntu 12.04

git cloned git repo, need make, gcc, g++.

compiling takes a while, ./configure report error when gcc is not installed, but no error if no g++ till make reports no g++ later.

t1.micro instance takes much longer than 8-core 16GB laptop

Google Drive Initial Experience

$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
# deleted:    Android/MyTracks/20100918/csv/ (1).csv
# deleted:    Android/MyTracks/20100918/csv/ (2).csv
# deleted:    Android/MyTracks/20100918/csv/ Columbia Cottage .csv
# deleted:    Android/MyTracks/20100918/gpx/ (1).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (10).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (11).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (2).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (3).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (4).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (5).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (6).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (7).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (8).gpx
# deleted:    Android/MyTracks/20100918/gpx/ (9).gpx
# deleted:    Android/MyTracks/20100918/gpx/ Columbia Cottage  (1).gpx
# deleted:    Android/MyTracks/20100918/gpx/ Columbia Cottage  (2).gpx
# deleted:    Android/MyTracks/20100918/gpx/ Columbia Cottage  (3).gpx
# deleted:    Android/MyTracks/20100918/gpx/ Columbia Cottage .gpx
# deleted:    Android/MyTracks/20100918/kml/ (1).kml
# deleted:    Android/MyTracks/20100918/kml/ (2).kml
# deleted:    Android/MyTracks/20100918/kml/ Columbia Cottage .kml
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
# Android/MyTracks/20100918/csv/(1).csv
# Android/MyTracks/20100918/csv/(2).csv
# Android/MyTracks/20100918/csv/Columbia Cottage .csv
# Android/MyTracks/20100918/gpx/(1).gpx
# Android/MyTracks/20100918/gpx/(10).gpx
# Android/MyTracks/20100918/gpx/(11).gpx
# Android/MyTracks/20100918/gpx/(2).gpx
# Android/MyTracks/20100918/gpx/(3).gpx
# Android/MyTracks/20100918/gpx/(4).gpx
# Android/MyTracks/20100918/gpx/(5).gpx
# Android/MyTracks/20100918/gpx/(6).gpx
# Android/MyTracks/20100918/gpx/(7).gpx
# Android/MyTracks/20100918/gpx/(8).gpx
# Android/MyTracks/20100918/gpx/(9).gpx
# Android/MyTracks/20100918/gpx/Columbia Cottage  (1).gpx
# Android/MyTracks/20100918/gpx/Columbia Cottage  (2).gpx
# Android/MyTracks/20100918/gpx/Columbia Cottage  (3).gpx
# Android/MyTracks/20100918/gpx/Columbia Cottage .gpx
# Android/MyTracks/20100918/kml/(1).kml
# Android/MyTracks/20100918/kml/(2).kml
# Android/MyTracks/20100918/kml/Columbia Cottage .kml


1. Seems blanks in file names are automatically removed after synced online.
2. unsyncable files appear after move out and move in a same folder (unknown error for folder?)
3. Upload Error - file point to invalid online Google Doc (older version of docs not supported?)
4. files appear in Mac's trash
5. files appear in root directory of Google Drive

Seems not a very stable backup storage solution yet

An Idea of Management study by using Email Interactions

Email has To and CC fields.
CC is usually to managers involved.

Could study the Interaction of groups, manager and worker, task time span.


Hash thread safe
open addressing

parallel callback

spawn Child, sorting