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

Masayoshi Son (孫正義): Press Conference: ARM to be acquired by SoftBank

Masayoshi Son



  • Earnings before interest and taxes (EBIT)
  • Earnings before interest, taxes, depreciation, and amortization (EBITDA)
  • Free cash flow
  • Net debt zero
  • ARM Holdings (ARMホールディングス)
  • ARM architecture (ARMアーキテクチャ)
  • United Kingdom withdrawal from the European Union (欧州連合からのイギリス脱退問題)

Hyperloop (ハイパーループ): CNNMoney: 700 mph in a tube: The Hyperloop experience

Rachel Crane
Marta Nowak
Craig Hodgetts
Dirk Ahlborn



  • Craig Hodgetts (UCLA Professor)

Hyperloop (ハイパーループ): Hyperloop One First Public Test

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=


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

CentOS: Installing Sysstat

Command:

# yum install sysstat

Result:

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * extras: ftp.jaist.ac.jp
 * updates: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package sysstat.x86_64 0:10.1.5-7.el7 will be installed
--> Processing Dependency: libsensors.so.4()(64bit) for package: sysstat-10.1.5-7.el7.x86_64
--> Running transaction check
---> Package lm_sensors-libs.x86_64 0:3.3.4-11.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                        Arch                  Version                       Repository           Size
==============================================================================================================
Installing:
 sysstat                        x86_64                10.1.5-7.el7                  base                296 k
Installing for dependencies:
 lm_sensors-libs                x86_64                3.3.4-11.el7                  base                 40 k

Transaction Summary
==============================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 336 k
Installed size: 1.1 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): lm_sensors-libs-3.3.4-11.el7.x86_64.rpm                                         |  40 kB  00:00:01    
(2/2): sysstat-10.1.5-7.el7.x86_64.rpm                                                                                                       | 296 kB  00:00:06    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                55 kB/s | 336 kB  00:00:06    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : lm_sensors-libs-3.3.4-11.el7.x86_64                                                                                                              1/2
  Installing : sysstat-10.1.5-7.el7.x86_64                                                                                                                      2/2
  Verifying  : sysstat-10.1.5-7.el7.x86_64                                                                                                                      1/2
  Verifying  : lm_sensors-libs-3.3.4-11.el7.x86_64                                                                                                              2/2

Installed:
  sysstat.x86_64 0:10.1.5-7.el7                                                                                                                                    

Dependency Installed:
  lm_sensors-libs.x86_64 0:3.3.4-11.el7                                                                                                                            

Complete!

CentOS: Installing OpenSSH Server

Command:

# yum -y install openssh-server

Result:

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* updates: ftp.jaist.ac.jp
Package openssh-server-6.6.1p1-25.el7_2.x86_64 already installed and latest version
Nothing to do

CentOS: Print Release Informations

Command:

$ cat /etc/centos-release

Result:

CentOS Linux release 7.2.1511 (Core)


Command:

$ cat /etc/os-release

Result:

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"


Command:

$ cat /etc/redhat-release

Result:

CentOS Linux release 7.2.1511 (Core)


Command:

$ cat /etc/system-release

Result:

CentOS Linux release 7.2.1511 (Core)

Ubuntu: Print Distribution Specific Information

Command:

$ lsb_release -a

Result:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

Sunday, July 17, 2016

Shigeo Horie (堀江重郎): YomiDr. (ヨミドクター): 前立腺がんが日本で増えた理由



Shigeo Horie
事実
  • トマトをよく食べるイタリアは隣り合ったフランスよりも前立腺癌が少ない
  • 2015年に日本人男性が罹患する癌で最も多くなった
  • 欧米諸国ではその前から最も多かった
前立腺癌が日本で増えた理由
  • 日本人の食生活が変わった
  • 牛乳のような動物性脂肪の摂取が増えた
  • 脂肪摂取が増加した
前立腺癌の予防になると考えられている食材
  • トマト
  • ブロッコリー
  • 大豆
  • わさび
  • クルクミン(ウコン)

Saturday, July 16, 2016

nslookup: Checking for DNS (Domain Name System)

Command:

$ nslookup remote.servername.com

Result:

Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: remote.servername.com
Address: 150.000.000.00