ローソンのスイーツこれ危険

Uchi Café×GODIVA 生ショコラ大福 260円(税込)

数量限定と新商品ということで買ってみた。
ココアパウダーが多すぎて、絶対に食べるときにめちゃくちゃ飛び散る!!
ホワイトチョコレートいちご大福の10倍以上の粉かかってる感あって、ココアパウダーの味しかしない...

www.lawson.co.jp

合わせて読みたい

whitech0c0late.hatenablog.com

ドリームを観た

メモ

  • 映画館で観ようと思ってたが、タイミング逃してしまってたやつ
  • 主要キャラ3人がすげーかっこいい
  • 上司もかっこいい
  • 宇宙もかっこいい
  • (FortranとかIBMとかでてくる)
  • 「前例を最初に破って歴史に名前を残しなさいよ!」

ドリーム (字幕版) | 動画 | Amazonビデオ

よもやま話

Fortran って自分の環境でも動くのかなと思ってやってみた

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/8.1.0/libexec/gcc/x86_64-apple-darwin17.5.0/8.1.0/lto-wrapper
Target: x86_64-apple-darwin17.5.0
Configured with: ../configure --build=x86_64-apple-darwin17.5.0 --prefix=/usr/local/Cellar/gcc/8.1.0 --libdir=/usr/local/Cellar/gcc/8.1.0/lib/gcc/8 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-8 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion='Homebrew GCC 8.1.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls
Thread model: posix
gcc version 8.1.0 (Homebrew GCC 8.1.0)

$ cat hello.f90
program hello
  print *, 'Hello World!'
end program hello

$ gfortran hello.f90
$  ./a.out
 Hello World!

ヒッキーズ買ってみた

ヒッキーズっていう、画期的なシューレースシステムを買ってみた

  • 未来感と、なんとなくメカ感あって良い
  • 履きごごちも、よくなった感ある
  • 靴紐結べない先輩に教えてあげよっと

REF

http://www.hickies.jp/

追記 (2018.06.14)

1本、ゴムキレた。。。

Elasticsearch で Sudachi 使う

build 用に maven インスコ

$ brew install maven

brew でいれた最新版(6.2.4) だと sudachi がうまく入れれなかったので 6.2.0  で試す

$ curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.0.tar.gz
$ tar -xvf elasticsearch-6.2.0.tar.gz
$ bin/elasticsearch -V
Version: 6.2.0, Build: 37cdac1/2018-02-01T17:31:12.527918Z, JVM: 1.8.0_74

sudachi インスコ

$ git clone git@github.com:WorksApplications/elasticsearch-sudachi.git
$ cd elasticsearch-sudachi
$ mvn package
$ ./bin/elasticsearch-plugin install file:///path/to/elasticsearch-sudachi/target/releases/analysis-sudachi-elasticsearch6.2-1.1.0-SNAPSHOT.zip
$ bin/elasticsearch-plugin list
analysis-sudachi

辞書

$ wget https://oss.sonatype.org/content/repositories/snapshots/com/worksap/nlp/sudachi/0.1.1-SNAPSHOT/sudachi-0.1.1-20180419.085027-26-dictionary-core.tar.bz2
$ tar xvf sudachi-0.1.1-20180419.085027-26-dictionary-core.tar.bz2
$ mkdir config/sudachi_tokenizer
$ mv system_core.dic ./config/sudachi_tokenizer/system_core.dic
$ cat sudachi.json
{
  "settings": {
    "index": {
      "analysis": {
        "tokenizer": {
          "sudachi_tokenizer": {
            "type": "sudachi_tokenizer",
            "mode": "search",
            "discard_punctuation": true
          }
        },
        "analyzer": {
          "sudachi_analyzer": {
            "filter": [
            ],
            "tokenizer": "sudachi_tokenizer",
            "type": "custom"
          }
        }
      }
    }
  }
}
$ ls config/sudachi_tokenizer
system_core.dic

インデックス作成

$ curl -X PUT -H "Content-Type: application/json" http://localhost:9200/sudachi_test/ -d @sudachi.json
{"acknowledged":true,"shards_acknowledged":true,"index":"sudachi_test"}

kibana で確認

f:id:whitech0c0late:20180513234420p:plain

動いたところまで。 いろいろ設定してやってみよう

REF