AngularJS Phone Catalog Tutorial Application, in LiveScript with SocketStream 0.3.2, LESS, Jade, including Unit and E2E Tests
https://github.com/yiwang/angular-phonecat-livescript-socketstream
JavaScript RegExp test(undefined) behavior
/[a-c]{1}/.test()
false
/[a-d]{1}/.test()
true
/undefined/.test(undefined)
true
/undefined/.test()
true
W520 Tri-head Display Setup, Nvidia Driver Power 2 External Monitors
1. Originally want to setup a xorg.conf file using
http://zachstechnotes.blogspot.com/2012/01/tri-head-display-on-linux-thinkpad-w520.html
2. Then found this using Bumblebee etc,
http://judsonsnotes.com/notes/index.php?option=com_content&view=article&id=673:triple-head-monitors-on-thinkpad-t520&catid=37:tech-notes&Itemid=59
3. Then noticed the post with more reference.
http://zachstechnotes.blogspot.com/2012/04/post-title.html
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 http://sagark.org/optimal-ubuntu-graphics-setup-for-thinkpads/
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 https://github.com/Bumblebee-Project/Bumblebee/wiki/FAQ, using
optirun nvidia-settings -c :8
indeed verify Nvidia displays 2 external monitors, and I can set twinview etc.
http://zachstechnotes.blogspot.com/2012/01/tri-head-display-on-linux-thinkpad-w520.html
2. Then found this using Bumblebee etc,
http://judsonsnotes.com/notes/index.php?option=com_content&view=article&id=673:triple-head-monitors-on-thinkpad-t520&catid=37:tech-notes&Itemid=59
3. Then noticed the post with more reference.
http://zachstechnotes.blogspot.com/2012/04/post-title.html
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 http://sagark.org/optimal-ubuntu-graphics-setup-for-thinkpads/
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 https://github.com/Bumblebee-Project/Bumblebee/wiki/FAQ, 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:
https://wiki.ubuntu.com/X/Config/Resolution#Dynamically_setup_with_xrandr
$ 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
https://wiki.ubuntu.com/X/Config/Resolution#Dynamically_setup_with_xrandr
$ 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
"Tweet your SocketStream and Chaplin" with ss-handlebars
I forked tweet your brunch example and made a ss and chaplin version:
https://github.com/yiwang/twitter
It works.
forked ss-hogan and made ss-handlebars
https://github.com/yiwang/ss-handlebars
A customized Chaplin is used to work with ss
https://github.com/yiwang/chaplin
discussion thread
https://groups.google.com/d/topic/socketstream/mKPj_xf5yCQ/discussion
https://github.com/yiwang/twitter
It works.
forked ss-hogan and made ss-handlebars
https://github.com/yiwang/ss-handlebars
A customized Chaplin is used to work with ss
https://github.com/yiwang/chaplin
discussion thread
https://groups.google.com/d/topic/socketstream/mKPj_xf5yCQ/discussion
update to Node v0.8.1
node-canvas toDateURL() breaks, found fix on issue #182
https://github.com/LearnBoost/node-canvas/issues/182
then node-waf configure build
update connect, pg, forever
https://github.com/LearnBoost/node-canvas/issues/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
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.
Note
Hash thread safe
open addressing
parallel callback
fibonacci
process.nextTick()
spawn Child, sorting
open addressing
parallel callback
fibonacci
process.nextTick()
spawn Child, sorting
Subscribe to:
Posts (Atom)