Nov 26, 2016

資産

がんばってローンを支払い終えたら、その家は資産でしょうか?資産とは、お金を生み出す場所。お金を生み出すことなく、税金がかかり、補修費用が必要になるのであれば、それは負債です
http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1438270044

This is biggest myth about normal real estate in Japan, using 35 years "flat" loan.
At the end of loan, it will not become an asset, but a burden.

Nov 24, 2016

Blog about life in Japan

https://catforehead.com

Specialized about real easte

Daily
http://www.survivingnjapan.com/

http://foreignsalaryman.blogspot.jp/

Nov 18, 2016

Pipe



Source http://www.rakuten.ne.jp/gold/suidou/html/sunpou_neji.htm

PJ1/2 : mainly faucet
G1/2: pipe, can connect to PJ1/2
W26山20: faucet output, many water related devices use this interface. Cannot connect to PJ1/2 an G1/2. Need a converter

ホース: free-size pipe

おねじ: male part
めねじ: female part

Aug 22, 2016

Multiple SSL on same IP

There is a known web server limits, make it hard to host many SSL on same server with only 1 IP address. (see http://nginx.org/en/docs/http/configuring_https_servers.html )

An SSL certificate with several names seems to be the simplest solution. Here is outline of 1 way to do it:
* Automate using https://github.com/srvrco/getssl to get certificates
* Let's encrypt with 1 main domain, other domains consider as alternative names

Steps
1. Initialize configurations: getssl -c MAIN.DOMAIN

2. Change CA to production, ACCOUNT_EMAIL in ~/.getssl/getssl.cfg

3. Enter SANS, ACL,RELOAD_CMD in ~/.getssl/MAIN.DOMAIN/getssl.cfg

ACL is path (public accessible via URL) to verify your domains.
it must have same number of lines as number of your domains.

RELOAD_CMD can be 
sudo nginx -s reload
Let's current user is deploy. visudo to allow: 
deploy ALL=NOPASSWD:/usr/sbin/nginx

4. Get certificates: getssl MAIN.DOMAIN
5. Configure nginx to use certificates in ~/.getssl/MAIN.DOMAIN
6. Automate renew using cron 

23  5 * * * /home/deploy/scripts/getssl -u -a -q

Jul 31, 2016

住宅

マイホーム投資は勝つのがとても難しくなっています。まさに、「マイホーム購入は人生最大のギャンブル」と言っていいでしょう
http://toyokeizai.net/articles/-/33609?page=3

35年ローンだと35年後に老朽化で改築でまたローンですか? そうすると、一生資産でなく負債という現実

http://oshiete.goo.ne.jp/qa/5092417.html

自己資金比率が10%未満の場合におけるデフォルト率は、20%以上30%未満の場合に比べて2倍近くに達している。自己資金比率が高まるほどデフォルト率が下がることはいうまでもないだろう。


こんな理由で家を買ってはいけない!
その4「家賃がもったいないから」
http://diamond.jp/articles/-/35405?page=2


日本の問題はこの20年間でほとんど全ての所得階層で年間100万円くらい所得が減少している「1億総貧乏化」の方がより深刻な問題となっており、これが消費を抑圧するデフレの原因にもなっている

http://matome.naver.jp/odai/2139527800338666101