Posts

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...