tag:blogger.com,1999:blog-21834988928999086172024-03-05T09:11:24.893-08:00domaemon's blogdomaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-2183498892899908617.post-89437329810322615072023-09-09T18:12:00.004-07:002023-09-09T18:12:51.664-07:00久しぶりの格闘技イベント。知り合いが出る。眠いけど楽しみ。domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-21115426429066769172023-08-24T16:04:00.002-07:002023-08-24T16:04:41.291-07:00<p>普段喋らない人と喋る。整体の方。不思議な世界。</p>domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-12434681952232986632023-08-22T18:20:00.001-07:002023-08-22T18:20:16.930-07:00この使い方だったら blog じゃないよね。domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-80858819444456034402023-08-16T20:46:00.000-07:002023-08-16T20:46:28.510-07:00Time Management忙しい、忙しいと言っているが、時間は自分で作るもの、という主張。残酷なくらい、優先付をしていくということかな。<br />
<br />
<br />
https://www.ted.com/talks/laura_vanderkam_how_to_gain_control_of_your_free_timedomaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-91373199353801652282023-08-16T19:53:00.002-07:002023-08-16T20:43:56.887-07:00Google Earth Engine で遊ぶ<p> ふと、Google Earth Engine で遊びたくなり、Amazon で本を購入する。</p><p>意外に選択肢が少ないのと、値段が高いのと。</p><p>手頃なところで、Google Earth Engine for GIS and Remote Sensing Analysis をポチリ読んでみる。いまいち重複が多いのと、内容が浅めで、これで 7704 JPY は少し高い感じ。ただ概要を確認するためには役立つかも。</p><p>実行環境について</p><p></p><ul style="text-align: left;"><li>Google Earth Engine Code Editor</li><ul><li>Javascript</li><li>クイックに試すのであればこれ。</li></ul><li>Google Colaboratory</li><ul><li>Python or Javascript</li><li>こちらもクイックに試せるが、可視化には folium など、多少覚えることが多そう。</li></ul><li>Python Development Environment</li><ul><li>一番ハードコア。</li><li>多種多様なデータとマッシュとかできるのだろう。</li></ul></ul><p></p><p><br /></p>domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-47145099727894027722019-01-05T23:54:00.001-08:002019-01-05T23:54:37.152-08:00Onsen<p dir="ltr">稲城の温泉へ。気持ち良い。温泉大好き。</p>
domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-60236334187890045742019-01-03T22:46:00.000-08:002019-01-03T22:46:14.270-08:00A bit of Kaggling思い立って、Kaggle に入ってみました。実際に手を動かす作業は楽しい。相当遠い場所にいますが、今年は、Master をまずは目指してみよう。<div>
<br /></div>
<div>
現在は、SpeedML Package を利用してデータの分析をするところ。座学だとモデル、とか損失関数が、とかだけど、扱うデータを理解し、整えるという部分が最初の難関。</div>
<div>
<br /></div>
<div>
<br /></div>
domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-61998719426894483602009-12-06T05:10:00.000-08:002009-12-06T05:15:46.765-08:00MaemoCJK screencast<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dzXhl_5rxCx4ACDLGUBwMnBh85VYNq_3ETiZciOLRjghop_SEb71CEUhQfNXz8sLeqxyGz6jFKFNd-mnqGG' class='b-hbp-video b-uploaded' frameborder='0'></iframe><br /><br />MaemoCJK Screencast in the scratchbox environment.<br /><br />Should work fine with the normal GTK widgets. With the custom widgets (e.g. Nokia browser), the input may not be recognized properly from time to time. The reason is obvious, but I just cannot think of any good solution to work it around at the moment.domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com5tag:blogger.com,1999:blog-2183498892899908617.post-40361655872777958552009-11-09T20:43:00.001-08:002009-11-15T05:49:24.095-08:00working with key eventThere's one thing that I'm stuck.<br /><br />I would like the preedit window to pop up as you type, in the CJK mode. It shouldn't be there all the time. Currently, when I type in "watashi", the character "w" is sent to both the client and the cjk-preedit window. This results in "wわたし" in the client.<br /><br />As soon as the CJK mode is on, I would like the client to avoid receiving the key events, but HIM plugin doesn't allow me to propagate gdk events. I haven't been able to come up with a good solution for this problem. I tried key_snooper and gtk_invisible, but both aren't good enough.<br /><br />The best workaround may be to send the backspace to the client just like as follows as in this <a href="https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-keyboard-decorator.c">example</a>.<br /><br />However, this doesn't work with the browser. This is because for the browser (or any custom gtk input widgets), the example code results in XFakeKeyEvent (Backspace) to the root window and naturally IBus is forced to swallow the Backspace unnecessarily.<br />I guess this entry is for me to get some structure in my thinking.domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com2tag:blogger.com,1999:blog-2183498892899908617.post-64820518419225928502009-10-27T21:33:00.001-07:002009-10-29T12:48:22.368-07:00HIM and IBusThe HIM plugin now talks to Anthy through IBus.<br /><br />Preedit dialog.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs0_gYL9c-42deCMcSZTFKsvM49jfea2aaaPzwkDdLfEgDwnPJHQC8ow7TjTU1BS1gG32YtGZx-C8x0Iec_tlobEcIK_PrxSZlMoEZjCVLcDeR5WsoYkZn3_DlnXQ7CeZ0GaBqy9ukqNR3/s1600-h/nihonngo.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 201px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs0_gYL9c-42deCMcSZTFKsvM49jfea2aaaPzwkDdLfEgDwnPJHQC8ow7TjTU1BS1gG32YtGZx-C8x0Iec_tlobEcIK_PrxSZlMoEZjCVLcDeR5WsoYkZn3_DlnXQ7CeZ0GaBqy9ukqNR3/s320/nihonngo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5397506479412774194" /></a><br /><br />Committed (seemingly) Japanese characters in the google search field.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggCqdR2736Ll5a6XEc2Gi0vN0X9JSd2zaviA3OOfPqFdjDvOpOQzf81aFyjgYR2sMi4EKKrr4ui21XUNft_ZSQpCu4UC5YkvW7r4tBzjP6xJfIhZ54AFbcAtBJpaKPajPQBuNCOehmHjom/s1600-h/nihonngo2.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 201px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggCqdR2736Ll5a6XEc2Gi0vN0X9JSd2zaviA3OOfPqFdjDvOpOQzf81aFyjgYR2sMi4EKKrr4ui21XUNft_ZSQpCu4UC5YkvW7r4tBzjP6xJfIhZ54AFbcAtBJpaKPajPQBuNCOehmHjom/s320/nihonngo2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5397506886650578050" /></a><br /><br />TODO:<br />1) UI polish. Fixing obvious bugs.<br />2) IBus tweaking. Some UI related daemons may not be necessary for N900<br />3) Debian packaging<br />4) Pynin and Hangul supportdomaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com1tag:blogger.com,1999:blog-2183498892899908617.post-86413078835049666192009-10-18T04:27:00.000-07:002009-10-27T22:07:14.327-07:00IBus 0.1 to 1.2Ubutntu jaunty by default uses IBus 0.1.<br /><br />0.1 out of box doesn't allow you to write C code which handles the lookup-table and the auxiliary-text. 0.1 expects you to do this in python. These missing features in C are no showstoppers since most of the UIs are written in python anyway.<br /><br />With the latest 1.2, these features are added on the C side too, so I wanted to upgrade from 0.1 to 1.2. Some APIs changed here and there, but nothing so major as far as I feel.<br /><br />During the upgrade, I had to spend sometime to understand why [ja:anthy] didn't appear in the "preload_engines" gconf entry. I assume this is caused by the old gconf setting from the 0.1 time.<br /><br />I think all the enablers for the C implementation is ready now, I just need more time.domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com0tag:blogger.com,1999:blog-2183498892899908617.post-50709759122939624782009-10-09T03:21:00.000-07:002009-10-09T03:59:44.112-07:00MaemoCJK on Fremantle<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEKX_hKTX6tzQKZuywjAMIzaj7-mJ5iTau4_73vX2CNQtFZT6Kqg3g8bevm-E6k1Zz4ShCM4LXcbn1KdnHWPbuC8_qSUw8fBcsIEQ4Q-elwMjzE8Wxm4Zgq533gKRE1YmFEDLKwUw580C8/s1600-h/Fremantle_MaemoCJK.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 192px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEKX_hKTX6tzQKZuywjAMIzaj7-mJ5iTau4_73vX2CNQtFZT6Kqg3g8bevm-E6k1Zz4ShCM4LXcbn1KdnHWPbuC8_qSUw8fBcsIEQ4Q-elwMjzE8Wxm4Zgq533gKRE1YmFEDLKwUw580C8/s320/Fremantle_MaemoCJK.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5390548195467990610" /></a><br /><br />You definitely need the CJK input for a cool device like N900.<br /><br />I thought about continuing with the original SCIM track, but I will try something new now. Here's what I'm going to experiment.<br /><br /><a href="https://bugs.maemo.org/show_bug.cgi?id=4178">Hildon Input Method</a> <=> Plugin <=> <a href="http://code.google.com/p/ibus/wiki/Sources?tm=4">Ibus</a><br /><br />The reason for the HIM plugin is that many people would like to switch back<br />and forth between the Default-HIM & CJK. Additionally, considering<br />that the Nokia browser doesn't support the preedit properly (i.e.<br />native SCIM/UIM won't work with the N900 Nokia browser), I thought it was better to have the CJK support as the HIM plugin.<br /><br />The reason for the Ibus is that the Ibus client implementation can be<br />really simple. See <a href="http://github.com/phuang/ibus/blob/c019af0f2d155ed2edaf600732218057cabc441e/test/test_client.py">this</a> as an example.<br /><br />The screenshot of my prototype application.<br /><br />Things to do are:<br /><br />1) Rewrite this python prototype in C<br />2) Rewrite the above in the form of the HIM Plugin<br />3) Ibus tweaking. Some UI related daemons may not be necessary for N900<br />4) UI improvement<br />5) Debian packaging<br />6) Pynin and Hangul support<br /><br />Katsotaan.domaemonhttp://www.blogger.com/profile/10852611111311054332noreply@blogger.com3