05:12:09
icon

Ruby でやってみる『機械学習 はじめよう第3回 ベイジアンフィルタを実装してみよう』メモ - 牌語備忘録 -pygo http://cortyuming.hateblo.jp/entry/20140627/p2

07:48:12
2017-05-07 07:48:12 zundaの投稿 zundan@mastodon.zunda.ninja
08:29:46
2017-05-07 08:29:46 zundaの投稿 zundan@mastodon.zunda.ninja
09:23:26
icon

$ heroku pg:info DATABASE
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 8/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 43.3 MB
Tables: 26
Rows: 46869/10000000 (In compliance)

09:24:33
icon

Starting to use Logentries.

09:25:50
icon

Max response time seems to be better than nominal. Why?

https://mastodon.zunda.ninja/media/gFDw42GvwqCOUdh-t_A

Attach image
15:15:51
2017-05-07 15:15:51 zundaの投稿 zundan@mastodon.zunda.ninja
16:55:48
icon

そうだ、コード、書こう!

17:25:04
icon

$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
$ cd ~/.rbenv && src/configure && make -C src
$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
$ tail -2 .bashrc
export PATH=$HOME/.rbenv/bin:$PATH
eval "$(rbenv init -)"
$ rbenv install 2.4.1

そこから

17:28:02
icon

Rubyのコンパイルで電池がやばい (久しぶりの環境で本筋にたどりつく前に時間切れになるパターン)

17:38:21
icon

BUILD FAILED (Ubuntu 17.04 using ruby-build 20170405-4-g365dd1f)

ERROR: Ruby install aborted due to missing extensions
Try running `apt-get install -y libreadline-dev` to fetch missing dependencies.

あー

17:39:07
2017-05-07 17:39:07 zundaの投稿 zundan@mastodon.zunda.ninja
17:39:08
2017-05-07 17:39:08 zundaの投稿 zundan@mastodon.zunda.ninja
17:44:45
icon

Redisのコネクションプールの使い方を知らないといけないことに気づいたところでそろそろ時間切れ (Rubyはまだコンパイル中w)

https://github.com/zunda/factorize

17:53:46
icon

Map Redis types directly to Ruby objects

https://github.com/nateware/redis-objects

18:06:46
icon

にゃーん

19:20:23
icon

This instance has about 1GB of media files on S3 after running for about 2 weeks.

https://mastodon.zunda.ninja/media/5z56JRGReCnbgSVa8_k

Attach image
19:21:10
icon

$ heroku pg:info DATABASE
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 8/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 44.1 MB
Tables: 26
Rows: 48877/10000000 (In compliance)

19:21:33
icon

「直ちに」の定義