2011/05/16

野村総合研究所はこうして紙を無くした!

* 興味を持ったトピック

- ファイルメータ★ (page66)
- 社員のためにオフィスの生産性を上げる (page58)
- 認証付きの複合機の導入(SFP->MFPによる紙削減) (page98)
- Action Learning in Action (page161)
- モデル/推進組織に関して (page160)

2011/05/15

コミュニケーションをデザインするための本

I read (Design a communication).
This book gave me a clue and a broad vision.

Sorry, I am writing...

* the law of AISAS in Dentsu.
A: Attention
I : Interest
S : Search
A : Action
S : Share

* Three conscious mind & Five basis for Communication
- 3 conscious
-- Neutral
-- Simple
-- Faithful

- 5 basis

I bought a new display for NotePC

IO DATA LCD-MF221XBR

2011/05/12

a book

* 5つの条件
- benefit
- target / Segmentation
- 強み / 差別化
- 4P(売り物/売り方/売り場/売り値)
- 想い

* TPO
- Time : 時間
- Place : 場所
- Ocation : 状況 (Operation)

* ナンバーワン企業の法則 / 勝者が選んだポジショニング トレーシー & ウィアヤーマ
- 手軽軸
- 商品軸
- 密着軸


2011/05/09

I ran in YOKOHAMA EKIDEN

I ran in YOKOHAMA EKIDEN on 2011/04/29.

It was the first time that I ran Ekiden.

I ran on 7th stage.

It's 8.195km.

I ran 39min 40sec.

I enjoy running with the team :)



DHBR : June 2011

I read the article "Creating Shared Value" on Diamond HBR / June 2011.




2011/05/07

Reading document "NITE Controls 1.3 - Programmer's Guide.pdf"

NITE Controls 1.3 - Programmer's Guide.pdf is in
C:\Program Files\Prime Sense\NITE\Documentation.

* Introduction
- What is NITE ?

NITE is a toolbox to allow application to build flows based on the user's hands movement.
The hands movement is understood as gestrures and is tracked, to provide 'hand point'.

* Software Overview











* Programmer Tutorial
- Quick Start


* Session State
- session state flow
-- Not in Session, In Session, Quick Refocus


* Chapter 3 : NITE Controls
- List of controls in NITE
-- Point Controls / Push Detector / Swipe Detector / Steady Detector / Wave Detector /Circle Detector
-- Selectable Slider1D / Selectable Slider2D


* Chpeter 4 : Flow and NITE tree
- 4.1. NITE flow
- 4.2. Flow Objects
- 4.3. NITE tree
- 4.4. List of Flow object
-- Flow Router / Broadcaster / Point Denoiser / Point Area / Virtual Coordinates


* Multi-process / Multi-threaded Support


* Log

Reading document "Prime Sensor NITE 1.3 Alogrithms notes"

"Prime Sensor NITE 1.3 Alogrithms notes" is in 
C:\Program Files\Prime Sense\NITE\Documentation".

* Chapter 1 : special gesture called "focus gestrue"
- click : your palm should be open, fingers pointing up, and face the sensor.
- wave : should consist of at least 5 horizontal movements (left-right or rigth-left)

** output
- Click, Wave, Swipe, Raise hand, 

** status
- Gesture started
- Gesture completed


* Chapter 3 :Skeleton tracking

** calibration
- the user should be facing the sensor with calibration pose.

** output
- The API returns positions and orientations of the skeleton joints.

**Joint transformations defined



trial kinect NITE Samples (on Windows)

NITE Samples is in
C:\Program Files\Prime Sense\NITE\Samples\Bin\Release

cp
from avin2-SensorKinect-*******\OpenNI\Data\*
to C:\Program Files\OpenNI\Data


cp
from avin2-SensorKinect-*******\NITE\Data\*
to C:\Program Files\Prime Sense\NITE\Data


input "key" C:\Program Files\Prime Sense\NITE\Data\*




cp
from C:\Program Files\Prime Sense\NITE\Bin\XnVNITE.dll
to C:\Program Files\Prime Sense\NITE\Samples\Bin\Release


Sample-PointViewer.exe
error occured.
InitFromXmlFile failed: Device Protocol: Bad Parameter sent!




Visual Studio 2010 Express

I downloaded && installed Visual Stdio C++

http://www.microsoft.com/japan/msdn/vstudio/express/

kinect structure memo for dummies





reference :
http://d061333.web.fc2.com/Kinect.html

2011/05/06

SSE : streaming SIMD extensions

startup pattern1 : kinect hacks for linux(centos)

Install OpenNI, KinectDriver ,NITE

mkdir ~/kinect && cd ~/kinect

1 OpenNI

git clone https://github.com/OpenNI/OpenNI.git
cd OpneNI/Platform/Linux-x86/RedistMarker
./RedistMaker
sudo ./install.sh

1-1. error

1-1.1-err: libusb-1.0 not found

mak- download
http://sourceforge.net/projects/libusb/

- make install
chmod 775 configure
./configure && make && make install

- reference
http://lfsbookja.sourceforge.jp/BLFS/svn.ja/general/libusb.html


1-1.2-err: /usb/bin/ld: cannot find -lglut
glut may be OpenGL Library

yum install freeglut
yum install freeglut-devel


2. kinect's driver

cd ~/kinect
git clone https://github.com/ros-pkg-git/Sensor.git
cd Sensor/Platform/Linux-x86/CreateRedist
./RedistMaker
sudo ./install.sh


3. NITE

download
http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/34-stable
PrimeSense NITE Stable Build for Ubuntu 10.10 x86(32bit) v1.3.1.3

extract
cd Data && chmod 644 *
edit key= in 3files. 0KOIk2JeIBYClPWVnMoRKn5cdY4=
sudo ./install.sh 
Please enter your PrimeSense license key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=


error occurred,

g++ -o ../Bin/Sample-PointServer ./Release/main.o ./Release/signal_catch.o ./Release/kbhit.o  -L../Bin -lOpenNI -lXnVNite_1_3_1
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libXnVNite_1_3_1.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& st\
d::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libXnVNite_1_3_1.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& st\
d::basic_ostream<char, std::char_traits<char> >::_M_insert<bool>(bool)@GLIBCXX_3.4.9'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libXnVNite_1_3_1.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& st\
d::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libXnVNite_1_3_1.so: undefined reference to `std::_List_node_base::_M_unhook()@GLIBCXX_3.4.14'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libXnVNite_1_3_1.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.1\
1'


Add Yum Repository



* CentOS Extras
cd /etc/yum.repos.d
sudo wget http://centos.karan.org/kbsingh-CentOS-Extras.repo

* dag
vim /etc/yum.repos.d/dag.repo
edit follows.
----
[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/dag
enabled=1
gpgcheck=1
----


* RPMForge

vim /etc/yum.repos.d/rpmforge.repo
edit follows.
----
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
enabled = 0
gpgcheck = 0
----


startup pattern2 : kinect hacks for linux/centos

1. download
http://www.openni.org/downloadfiles/openni-binaries/21-stable
OpenNI Stable Build for Ubuntu 10.10 x86 (32-bit) v1.1.0.37

2
2-1. ./install.sh

2-2. A error is occured. libusb1.0 not found.

- download
http://www.rpmfind.net/linux/rpm2html/search.php?query=libusb-1.0.so.0

- rpm -ivh libusb-*-.rpm

2-3. A error is occured. glibc-2.12 not found (required by /usr/lib/libOpenNI.so)
http://ftp.gnu.org/pub/gnu/glibc/glibc-2.12.2.tar.gz





extract on linux

tar.bz2 : bzip2 -dc filename | tar xvf -
tar.gz   : tar zxvf foo.tar.gz

2011/05/05

install on linux

0. chmod 775 configure

1. ./configure
create Makefile

2. make
if compile error is occured, I add environment param to configure.

3. make install

gcc / glibc

./glibc-2.12.2/configure --prefix=/usr/glibc

configure: error: gcc must provide the <cpuid.h> header


<cpuid.h> is only provided by gcc 4.3 or higher




http://gcc.gnu.org/install/configure.html

udev : linux

/etc/udev/

linux distribution

cat /etc/issue

install git : linux(centOS)













I can't install "git" by using yum on CentOS.
Because the package "git" is not in yum "default" repository.

1. add 2 file

/etc/yum.repos.d/git.repo

-----
[git]
name=Base git repository
baseurl=http://www.kernel.org/pub/software/scm/git/RPMS/$basearch
enabled=1
gpgcheck=0

----

/etc/yum.repos.d/rpmforge.repo
----

[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
enabled = 0
gpgcheck = 0

----


2. if checksum error is occurred,
#yum update
http://www.kernel.org/pub/software/scm/git/RPMS/i386/repodata/primary.xml.gz: [Errno -3] Error performing checksum

- download site
http://pkgs.org/centos-5-rhel-5/atrpms-bleeding-i386/python-hashlib-20081119-3.i386.rpm.html

2-1. wget http://dl.atrpms.net/el5-i386/atrpms/bleeding/python-hashlib-20081119-3.i386.rpm
2-2. rpm -ivh python-hashlib-20081119-3.i386.rpm

reference : http://d.hatena.ne.jp/miau/20100404/1270384404


3. yum install git

3-1. yum install git --enablerepo=rpmforge

3-2. git --version

PrimeSence

good page.

http://www.primesense.com/
gives me some pointers.

centos sudo & visudo

We use CentOS in our company.
(BOO!)

** sudo

edit /etc/sudoers

username ALL=(ALL) ALL


** visudo

where is this command in CentOS ?

I traveled to Miyajima and Nagoya.

I traveled Miyajima and Nagoyal in 2011/04/30-05/02.