LL Planets
- Rubyチーム
@ukstudio と @sugamasao のチームに当日 @takano32 がジョイン
IPv6アドレスをキーにしたTwitterクライアント
Twitterのつぶやきには64ビットのIDが振られている情報を PHPチームから拝借
つぶやきの識別子の幅と同じ量のIPv6アドレスが使える
http://[2001:2e8:406:11::14]:3000/v6hack
Creator, Co-founder and Executive Chairman of Twitter; CEO of Square.
IPv6アドレスの下位1バイトをASCII文字でつぶやく
# hello.rb "Hello".each_char do |ch| puts sprintf("0x%X", ch.ord) end
$ ruby hello.rb 0x48 0x65 0x6C 0x6C 0x6F
http://[2001:2e8:406:11::48]:3000/v6hack/post
http://[2001:2e8:406:11::65]:3000/v6hack/post
http://[2001:2e8:406:11::6c]:3000/v6hack/post
http://[2001:2e8:406:11::6c]:3000/v6hack/post
powered by @ukstudio
ひとつのIPアドレスに対してひとつのファイルを保存
時間的都合によりPOSTまでの実装
POST http://[2001:2e8:406:11::48]:3000/storage POST http://[2001:2e8:406:11::49]:3000/storage
GET http://[2001:2e8:406:11::48]:3000/storage GET http://[2001:2e8:406:11::49]:3000/storage
| IPv6ハッカソン | 1 |
|---|---|
| Rubyチーム | 2 |
| IPv6アドレスったー | 3 |
| つぶやきの取得 | 4 |
| つぶやきの投稿 | 5 |
| アドレスをキーとするKVS | 6 |
| Table of Contents | t |
|---|---|
| Exposé | ESC |
| Full screen slides | e |
| Presenter View | p |
| Source Files | s |
| Slide Numbers | n |
| Toggle screen blanking | b |
| Show/hide slide context | c |
| Notes | 2 |
| Help | h |