Categories
Uncategorized

KENJI, 80 years after his death.

同一記事の日本語版
Update information      Edit(Feb.27)

   Yesterday, NHK (日本放送協会) brought the program “KENJI, 80 years after his death (80年後のKENJI). I can say that this is an homage to one of famous Japanese authors, Miyazawa Kenji (宮澤賢治). You might have seen the anime Ginga tetsudō no yoru (銀河鉄道の夜), Sero hiki no Gōshu (セロ弾きのゴーシュ), or others, which are based on the novels by him.

   You can read their translations of the original novels on the next web sites. I do appreciate their hard works.

   I have a special place in my heart for KENJI, so, the homages other persons make sometimes bring my heart strange feeling. But, as I wanted to introduce Miyazawa Kenji to you, I wrote the post.

Signal and Signaless 「シグナルとシグナレス」
   This is a kind of a love story. The translation has very unreadable format. But this is the only one English text I found on the Net. Please be patient!!

   #01   #02   #03   #04   #05   #06   #07   #08   #09   #10   #11   #12   #13   #14   #15   #16   #17
   #18   #19   #20   #21   #22   #23   #24   #25   #26   #27   #28   #29   #30   #31   #3332   #3433   #34
<<--- Unfortunately, they has gone. The Restaurant of Many Orders 「注文の多い料理店」
   This is an allegory, but, it is not didactic at all.

Ame ni mo Makezu 「雨ニモマケズ」
   This is a poem, but, he did not write it for others. This was found in his pocketbook after his death. I think it was a grievous cry on his deathbed.

Edit(Feb.27):
   I forgot to wrote. They also broadcasted three more films about the next stories.
      Wild pear 「やまなし」,Mental sketch modified No.1 「春と修羅 第1集」,Omnipotent Diamond 「十力の金剛石」

Categories
WordPress

An access control after such a long time.

   Today, I set an access control for my wp-login.php after such a long time. The reason why I want the AWStats everyday report except for the number of unauthorized accesses for the file wp-login.php.

   About this, I’ve not care for a long time. Because, my sever applications are nearly always up-to-date and its user is just me. But recently, I have a lot of unauthorized accesses for the file wp-login.php than before. I think that the number of them increased after I wrote the post “Snow falling on my blog.“. It is too much and so boring.

   I made a file access-denied.conf like the following and put it into my Apache extra-conf directory. The file also includes some IP addresses I want to deny. Now, it works. Great!!

<Files “wp-login.php”>
Require ip xxx.xxx.xxx.xxx/xx  <<— my local IP addresses
</Files>

<Directory “G:/WEB”>   <<— G:/WEB is my document root.
<RequireAll>
Require all granted   <<— I forget to write here, so added on Mar.1st.
Require not ip xxx.xxx.xxx.xxx/xx
Require not ip yyy.yyy.yyy.yyy/yy
</RequireAll>
</Directory>

Categories
Uncategorized

Upgrading from MySQL5.5 to 5.6 on Windows.

同一記事の日本語版

Update information      Edit(Feb.9)    Edit2(Aug.2)

   Now, MySQL Community Server’s latest version is 5.6.10, and I heard this is the first GA. As I used MySQL5.5 until yesterday, I’ve upgraded to 5.6. I installed the previous version mysql-installer-community-5.5.29.0.msi, but this time I decided to use a Zip archive. I didn’t want to change the installation path name of MySQL because for easy configuration. So I took the next procedures. My server OS is still WindowsXP SP3(x86).

  1. Changing our MySQL, we have to back up our current MySQL installation before performing a change. I backed up all my databases by phpMyAdmin. I stored the file my.ini and wrote down the installation path name of MySQL, C:Program FilesMySQLMySQL Server x.x.
  2. Control Panel >> Administrative tools >> Services
    Select the MySQL Service name and stop
  3. Control Panel >> Add or Remove Programs
    Select the MySQL Server 5.5 and remove

    When you remove it, the application data of MySQL still remains. So, your current databases are maybe all safe. But, if you want more safe, you’d better back up them.
    Upgrading one MySQL Zip archive to another, you can overwrite the existing installation. But, I used the msi to install the previous version, so, I need the uninstaller, if not, a MySQL zombie remains on the list of ‘Add or Remove Programs’.

  4. Download and extract the file mysql-5.6.10-win32.zip
  5. Remake the folder ‘MySQL Server x.x’ in my C:Program FilesMySQL, then, install the directories and files to the folder. You can install all of extract things. But, I only installed the next 5 directories and 2 files because I do not use others on my server by remote.
    • directories
        bin
        data
        include
        lib  
        share
    • files
        COPYING
        my-default.ini

    I also installed my old my.ini to the same hierarchy of the new my-default.ini.

  6. As I used the uninstaller, the MySQL Service was also deleted. So I need the new service.

    Run cmd.exe
    cd C:Program FilesMySQLMySQL Server x.xbin
    mysqld.exe –install

  7. Control Panel >> Administrative tools >> Services
    Select the MySQL Service name and start

    If its ‘Startup Type’ is not ‘Automatic’, we have to change it to ‘Automatic’.

    When I made to start it, I had an error. orz.
     

  8. I checked my event viewer. It gave me “MySQL: unknown variable ‘table_cache=256′”. At MySQL5.6 default I found ‘table_cache′ disabled.

    By the way, why did I set this option? I had no idea. Though I re-learned about ‘ table_cache, max_connections, open_files_limit’, I made no sense of it. Hmm.

    On the new server the default value of max_connections is 151 (<<--- You can know it by the command "show variables like 'max_connections'"). According to Upgrading from MySQL 5.5 to 5.6, between 5.5 and 5.6 have some Configuration Changes. They say ‘The idea behind autosizing’. So I deleted two lines about table_cache and max_connections in my old my.ini.

    Start the service again. Complete!!!

  9. Run cmd.exe
    cd C:Program FilesMySQLMySQL Server x.xbin
    mysql_upgrade.exe

    I had the error.
    Got error: 1045: Access denied for user ‘root’@’localhost’ (using password: NO) when trying to connect
    FATAL ERROR: Upgrade failed

    So I did again.
    mysql_upgrade.exe –password[=password]

    Complete. But I have the warning next.
    Warning: Using a password on the command line interface can be insecure.

    My server configuration doesn’t make the command line data go the Internet. If your server permits your command line input to go outside and other users use the server, you maybe need more attentions.

    I restarted the MySQL service. mysql_upgrade — Check and Upgrade MySQL Tables says the need for it.

  10. After this, I can access my blog. So I thought I made it, but, without reason I checked my event viewer again. Then, I found the warning next.
    TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more details).

    I think this is very common warning because Upgrading from MySQL 5.5 to 5.6 has the information about this. I added the next line to the [mysqld] area of the my.ini.
    explicit_defaults_for_timestamp=true

    I restarted the MySQL service. The warning has gone.

That’s it. Mission complete. I’m exhausted! (^_~;)

Edit(Feb.9):
   I had another warning on the log file xxxx.err. Like this.

  • InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB’s internal memory allocator.

   I found “innodb_use_sys_malloc=on”. What does this warning say exactly?

   I turned “innodb_use_sys_malloc=off” and got the warning next.

  • InnoDB: Warning: Setting innodb_use_sys_malloc to FALSE is DEPRECATED. This option may be removed in future releases, together with the InnoDB’s internal memory allocator.

   As I got it probably said “no need to set the option innodb_additional_mem_pool_size”, I comment-outed innodb_additional_mem_pool_size in the my.ini. By the way, I found out MySQL 5.6 features made much progress gained a good reputation. It is wasted on a tiny blogger like me (^^;).

   I also had ‘IPv6 is not available.’ on the xxxx.err. It’s neither an error nor a warning, though…… I can not deal with it by myself. I wonder my provider is preparing for it.

Edit2(Aug.2):
   I wrote an article about a new installation of a MySQL5.6 on the post ‘To create a Wamp-like Web Server in Windows7-#3.‘.

Categories
travel

64th Sapporo Snow Festival.

Update information      Edit(Feb.6)

   Now, I’m in Sapporo (札幌).

   64th Yuki Matsuri (雪まつり) is held from 5th through 11th. My trip is very short and I’ll leave Sapporo tomorrow afternoon. So I took some photos in my free time. Like this.
 
Edit(Feb.6):
   I came back home yesterday.

   I show you two useful goods for Snow Festival. Actually, they are not for Snow Festival but for walking on the road covered with snow (^^;). One is a trekking pole, which I had also taken with me when I had visited the shrine for Hatsumōde(初詣). The other is very simple anti-skid devices for my shoes which I got at the family mart in my hotel in Sapporo. A pair of them was only ¥598.

   They helped me very much, so I had no falling down flat on very slippy roads. I added the images of them. Take a look!!
 

Beer fairy KEI chan
Beer fairy KEI chan
 
Shīsā
Chibi Maruko-chan
Chibi Maruko-chan
 
 
Ise Jingū
Ise Jingū
And at its work
And at its work
CIMG3526 CIMG3527 CIMG3528
National Chiang Kai-shek Memorial Hall
National Chiang Kai-shek Memorial Hall
And its lighting-up.
And its lighting-up.
Yōkai Ningen Bem
Yōkai Ningen Bem
Wat Benchamabophit
Wat Benchamabophit
New Kabuki-za
New Kabuki-za
Ultraman
Ultraman
Hōheikan
Hōheikan
Ōdōri Kōen from Sapporo TV Tower
Ōdōri Kōen from Sapporo TV Tower
 
Street night view
anti-skid devices
anti-skid devices
attached anti-skid device
attached anti-skid device
trekking pole
trekking pole
Categories
WordPress

Welcome back, AEC!!

   Before I go on to the main subject, I write about “Kirin tidings”. I added some to the page.

   After a long term absence, AEC was back to us!! At the beginning of January, I thought to modify the file comment.php in the directory wp-includes by myself. So, it was unexpected pleasure that I had the email notification about this on Jan. 11th.

   I always make Japanese language file for AEC. If you need it, you can download from here.

Categories
everyday life

Sannin Kichisa Tomoe no Shiranami(三人吉三巴白浪)

Sannin Kichisa Tomoe no Shiranami   Today, I saw the kabuki play “Sannin Kichisa Tomoe no Shiranami(三人吉三巴白浪)” at Kaho Gekijō(嘉穂劇場), which is one of traditonal Japanese theaters in existence.

   Nowadays, the theaters in Japan have chairs. But the old theaters in Japan had no chairs, and the audience sat on the floor with cushions(座布団). And they had Hanamichi(花道) and Suppon(スッポン), etc. Kaho Gekijō(嘉穂劇場) still has such styles.

   The play started at 13:30 and ended at around 16:30. It took almost 3 hours and was a full-length play(通し狂言). But, I did not feel too long. I’ve ever heard the original scripts was very longer than the play in today.

   The story is very complicated. If you have curiosity, please read this. (´∀`)

Categories
WordPress

Ajax Edit Comments v5.0.13.0.

   Yesterday(maybe, on 11th by UTC), they released Ajax Edit Comments v5.0.13.0. I tested the version.

   I installed it easily and began to use it immediately, and it works well. I posted How to use Ajax Edit Comments v5.0.7.0 about 11 months ago. The version was very difficult. But, Ajax Edit Comments seems to back in an easy one.

   It doesn’t need the directory “aec” in the uploads anymore. If you update from a version using “aec” to the version 5.0.13.0, the directory “aec” still remains in your uploads. You can delete it without concern. If this is for the first install of the plugin, you can activate and use it soon after installing. Of course, you need to set up the options.

   I feel the v5.0.13.0 backs in a common WP plugin. Welcome back, Ajax Edit Comments!!

Edit:
   The new version supports WP multi-site, too. I made “Network Activate” as Network Admin, and I set a Japanese mo file for AEC. Then I can use English AEC on my English blog and Japanese AEC on my Japanese blog. Happy!!

Categories
everyday life

Something wrong?

   In the morning, I had nothing wrong, when I did it. But I did it again around 1 p.m., I had a trouble. What did I do? I wanted to receive my mails from de.yahoo.com.

   After entering Yahoo!-ID and Passwort, I clicked [Anmelden] button. Sooner I got the warning page.

   So, I changed my Passwort.

   On Yahoo! DEUTSCHLAND, something wrong happened?? Does someone have any information?

Categories
translation

On July 1st, a new book of “The Twelve Kingdoms”.

   Hi guys, Shinchōsha gave us a big surprise gift today. They announced they would release a new collection of 4 short stories on July 1st. The book contains “Hisho no Tori (丕緒の鳥)”, “Rakushō no Goku (落照の獄)” and two new stories which are our long-awaited ones. The information about this, I already added the page. Please take a look!!

Categories
everyday life

Hatsumōde(初詣) five days late.

Update information      Edit(Jan.7)

   Today, I visited Takasumi jinja(高住神社) as the Hatsumōde(初詣) five days late. Around the shrine the snow stuck to the ground, and the temperature was -2℃ around 2p.m. I drew omikuji and bought the Tengu(天狗) version Hikosan garagara as a charm to ward off evil spirits for my house.

   I’ll show you some photos. Take a look!!

01-s 02-s 03-s
04-s 05-s  

Edit(Jan.7):
   I found this on the Takasumi jinja official blog. I drove the very same route yesterday, although less piling and more compacted.