Saturday, July 23, 2016
Thursday, July 21, 2016
Wednesday, July 20, 2016
Pokemon GO: BIGGEST CROWD EVER!!! (Santa Monica Pier)
- Holly Conrad
ラベル:
Pokémon Go,
Santa Monica Pier
Tony Padilla: Pi and Buffon's Matches: Buffon's needle (ビュフォンの針)
Buffon's Needle experiment
ラベル:
Buffon's needle,
ビュフォンの針
Tuesday, July 19, 2016
Edmund Copeland & Gregory Galperin: Pi and Bouncing Balls: Galperin’s Billiard Method of Computing Pi
Gregory Galperin |
Edmund Copeland |
N | Big Ball is | Collisions required to turn around |
---|---|---|
0 | 16 times bigger | 3 |
1 | 1600 times bigger | 31 |
2 | 160,000 times bigger | 314 |
3 | 16,000,000 times bigger | 3,141 |
4 | 1,600,000,000 times bigger | 31,415 |
5 | 160,000,000,000 times bigger | 314,159 |
6 | 16,000,000,000,000 times bigger | 3,141,592 |
- M = 16 * 100^n * m
- Galperin’s billiard method of computing pi
ラベル:
Elastic collision,
People,
Pi,
円周率
Masayoshi Son (孫正義): Press Conference: ARM to be acquired by SoftBank
Monday, July 18, 2016
CentOS: Quick Fixing the Locale Problem When Terminal.app Failed to Set Locale Environment Variables on Startup
Command:
$ locale
Result:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: LC_ALL??????????????????: ??????????????????????
LANG=ja_JP.utf8
LC_CTYPE=UTF-8
LC_NUMERIC="ja_JP.utf8"
LC_TIME="ja_JP.utf8"
LC_COLLATE="ja_JP.utf8"
LC_MONETARY="ja_JP.utf8"
LC_MESSAGES="ja_JP.utf8"
LC_PAPER="ja_JP.utf8"
LC_NAME="ja_JP.utf8"
LC_ADDRESS="ja_JP.utf8"
LC_TELEPHONE="ja_JP.utf8"
LC_MEASUREMENT="ja_JP.utf8"
LC_IDENTIFICATION="ja_JP.utf8"
LC_ALL=
$ locale
Result:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: LC_ALL??????????????????: ??????????????????????
LANG=ja_JP.utf8
LC_CTYPE=UTF-8
LC_NUMERIC="ja_JP.utf8"
LC_TIME="ja_JP.utf8"
LC_COLLATE="ja_JP.utf8"
LC_MONETARY="ja_JP.utf8"
LC_MESSAGES="ja_JP.utf8"
LC_PAPER="ja_JP.utf8"
LC_NAME="ja_JP.utf8"
LC_ADDRESS="ja_JP.utf8"
LC_TELEPHONE="ja_JP.utf8"
LC_MEASUREMENT="ja_JP.utf8"
LC_IDENTIFICATION="ja_JP.utf8"
LC_ALL=
Command:
$ LC_CTYPE=ja_JP.utf8
$ locale
Result:
LANG=ja_JP.utf8
LC_CTYPE=ja_JP.utf8
LC_NUMERIC="ja_JP.utf8"
LC_TIME="ja_JP.utf8"
LC_COLLATE="ja_JP.utf8"
LC_MONETARY="ja_JP.utf8"
LC_MESSAGES="ja_JP.utf8"
LC_PAPER="ja_JP.utf8"
LC_NAME="ja_JP.utf8"
LC_ADDRESS="ja_JP.utf8"
LC_TELEPHONE="ja_JP.utf8"
LC_MEASUREMENT="ja_JP.utf8"
LC_IDENTIFICATION="ja_JP.utf8"
LC_ALL=
Command:
$ date
Result:
2016年 5月 18日 水曜日 03:47:01 JST
CentOS: Setting System Locale
Command:
$ locale -a | grep ja
Result:
ja_JP
ja_JP.eucjp
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc
Command:
$ localectl set-locale LANG=ja_JP.utf8
$ localectl
Result:
System Locale: LANG=ja_JP.utf8
$ locale -a | grep ja
Result:
ja_JP
ja_JP.eucjp
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc
Command:
$ localectl set-locale LANG=ja_JP.utf8
$ localectl
Result:
System Locale: LANG=ja_JP.utf8
Subscribe to:
Posts (Atom)