Posts

A trip to shikoku (day one)

Image
From 28 April to 30, we are visiting to shikoku and cyu-goku area. Day one(28 April) we left home about 5:45 AM and through awaji island, passing through matsuyama city and arrived at uwajima city and had lunch at hodumi-tei(below). After lunch, we walked around uwajima city. Uwajima city is located about 100km south from matsuyama city. For me, uwajima city is my first visiting and it is very good atmosphire, sea is near here and town is tiny, not so crowded like matuyama and I liked there very much. This is uwajima castle, one of 12 castle "tensyu-kaku(castle)" is reserved. I visited akashi castle last month and there is no tensyu-kaku. Then we went directly to dogo onsen(hotspring) at matsuyama city. This is dogo-onsen. When I first visited here about 15 years ago, it was not decorated like this. I imagined that it was first day of golden-week(in Japan, this consecutive 9 days nation

Cherry blossom

Image
I like cherry blossom. I always remember the day when I entered elementary school at 7 years old. Almost every school in Japan has many cherry blossom trees and cerry blossom is deeply connented to the memories of entrance ceremonies in Japan. I happend to read newspaper saying that timing of cherry blossom is a week early than some decades ago so many japanese school starts around 7 April when cherry blossom season is now almost over. Very sad ! Below is a park near our home on 31 March . Zeiss depict it sharply.

Akashi castle

Image
I had a event at akashi-city,hyogo-prefecture. And after finishing this event, I walked around akashi-castle park. This day, meteorological agency announced declaration of cherry blossom and this is a good chance to check my new camera. Akashi castle holds two turrets and one turret is opened for visitors for free.  Akashi castle had been orderd constructing in 1618 by the order of 2nd general hidetada, finished in 1620. It had no castle tower, maybe because this was peaceful era.   Going back to my home, I walked around Osaka city. This is Osaka station.

New camera (SONY Cyber-shot DSC-RX100)

Image
We used canon IXY for about 10 years and recently microphone had occasional troubles. And in January, display was suddenly black-out ! So we decided to buy new one. I like compact camera and want one which has shutter speed/diaphragm function, has large f value(f=1.x), good lense, low price (max 30,000-yen($300) mark) and this is only one that pass this requirement. This was released in 2012 so 6 years has passed. And it is very surprised such old digital camera still be on sail. Latest model M5 prices 110,000-yen but basic optical structure is almost same (I think) so this M1 model is very cost-efficient one. I have analog camera CONTAX T3 and this holds Zwiss T* sonnar 2.8/35 lens which is very sharp lens (I prefer like T2 sonnar2.8/38 lens which shows beautifully  blurred image..) so I like Zwiss. Below is sample photo. Compared with IXY 910 IS, it capture color of air. I like this camera.

Idea of product design

Image
The other day, we went to IKEA and found a fantastic clock. It costs 300 yen($2.5) ! Recently we can easily find cheap clock at 100yen shop,but this design is very good. It is rectangle and it has 4 functions,clock,alarm,timer,thermometer. Each function is marked at each side of rectangle. And if we shake this clock and put it on with one function indicator at the top, this function was started, LED lighting with each color related to the function. A sense of product design is wonderful so I immediately buy one. IKEA's product are all very simple design and it is IKEA's philosopy which many people are lured.

MEAN stack programming with heroku

Image
Node programming referring to https://www.heroku.com/home . Partial modification of package.json If you check the url created at heroku create, the web is created! Next, try this one  using mongo-db. Using mlab, it is necessary to have a credit card registration on heroku. So refering this https://www.webprofessional.jp/building-facebook-chat-bot-node-heroku/ (in the middle of "How to set the database from mLab's site" or https://www.youtube.com/watch?v=cBfcbb07Tqk ), I linked Heroku to mlab.com. Process.env.mongodb_uri appears in server.js, but this mongodb_uri seems to be already defined as an environment variable of heroku, so I registered this uri created by mlab to heroku.com.  Drop the above sample application https://github.com/chrisckchang/mean-contactlist-angular2 (https://devcenter.heroku.com/articles/mean-apps-restful-api ) locally with git clone. Remove the app.json because the above app assumes the mlab add-on. (App.json seems to be necessary when using herok

Economy as an weapon

Recently I read " 武器としの経済学 " by kenichi ohmae and some articles are intersting. 1. About japanese national pension status (1) 60 % of japanese people pay national pension, that means 40% people didn't pay. He said that this pension plan has already been over.( yukio noguchi also say same thing) Ratio of age over 65 year was 23% at year 2010, 26.6% at year 2015, and will be 38.4% at year 2065, that means 2 of 5 people are over 65 years old at year 2065 so 1.3 people support one person over 65 years old. Current pension plan was made when population was growing year by year and now this premise is broken so this pension plan is over. (2) He propose 2 plan. One is to promote accepting emigration. for example, about 30% of population of California are emigration. On the other hand, ratio of foreiner in japan is only 2%. But this plan might be difficult to introduce in current japan. Second plan is to change the national pension plan. He pointed out reaganomics. President Rea