namarecoエラー

久しぶりにnamarecoが落ちていたのでそのときのエラーをメモ % start 4: http://live.nicovideo.jp/watch/lv***** (2) /home/ciel/work/stable/namareco/scripts/live.rb:198:in `rename': No such file or directory - (cache/lv*****.xml, cache/lv*****.x…

namalink-9リリース

変更点 http://live.nicovideo.jp/watch/\lv数字のようなURLに対応 ダウンロードは以下から http://cid-56613d7bcc31715d.skydrive.live.com/browse.aspx/.Public/namalink 使い方はこちら

namalink-8リリース

変更点 namalink-7での変更点を元に戻した nico.msがうまく変換できなくなっていたため 「/lv数字」のように直前に`/'が付いた文字列は変換できなくなった うまいこと両立できればいいのだがやり方が思いつかない config.yamlを導入 従来通りの利用なら設定…

しえるちゃんURLのマルチポストと対策について

しえるちゃんのURLが複数の掲示板に ポストされておりその結果以前のように席が取得できなくなったというメールを頂いた そもそも利用者が増えれば使えなくなるのは当然の事態だと思うので思いついた対応策でもまとめてみる より高速に動作する席取りツール…

namareco-0.3.4リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

Multiline regular expression in Ruby 1.9

Here is a sample code for multiline regular expression in Ruby 1.9. #!/usr/bin/ruby1.9 s = [0x01, 0x02, 0x03, 0x04, 0x0a, 0x0b, 0x0c].pack("C*") if s =~ %r!.{6}! puts 'match1' end if s =~ %r!.{6}!m puts 'match2' end Result: % ./multiline.r…

namareco-0.3.2リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

namareco-0.3.1リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

ニコ生iPhoneアプリを使った配信のAPIを眺めてみた

以前のFME導入時と同様サーバによって異なるAPIが返ってくるらしい getplayerstatus/stream/contents_list/contents rtmp:rtmp://nlpoca02.live.nicovideo.jp:1935/publicorigin/100630_22_1/,lv20*****0 rtmp:rtmp://nlpoca41.live.nicovideo.jp:1935/publi…

namarecoの負荷改善

背景 元々namareco-0.1.x時代のCPU負荷は20-30%@266MHzマシン 現在は80-100% 以前取ったprofileに引き続き今回は目視でソース上の無駄を確認してみた 注目したソース 改変した記憶のあるrtmp.rb:read() def read(len) tmpbuf = '' while len > 0 if @offset …

namareco-0.3.0リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

namarecoのprofile結果

namarecoの負荷が従来の2〜3倍になっているのでprofileを取ろうとしてみた RTMP部に注目したかったので実際にはnamarecoの代わりにimarecoを使用 ファイルが生成されるところまで動かしたがRubyのprofileはとても重く定常状態までは動かせなかった そのた…

今日のスレ

ニコニコ生放送ってけしからんな その544 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275637498/ ニコニコ生放送ってけしからんな その543 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275574229/ detectFace();ではなく顔出しタグで用は…

今日のスレ

ニコニコ生放送ってけしからんな その542 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275539946/ ニコニコ生放送ってけしからんな その541 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275504385/ ニコニコ生放送ってけしからんな その54…

今日のスレ

ニコニコ生放送ってけしからんな その540 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275487585/ ニコニコ生放送ってけしからんな その539 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275408806/ 相変わらず原石アラートのアラートスレ…

detectFace();を使ってみた

detectFace();とは? インクリメント株式会社の提供する無料の顔認識Webサービス 使い方はいたってシンプル http://detectface.com/api/detectに認識させたい画像をPOSTすると結果がXMLで返ってくるというもの 今回は画像上に顔が認識されたかのみを利用 本…

今日のスレ

ニコニコ生放送ってけしからんな その538 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275377875/ ニコニコ生放送ってけしからんな その538 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275377841/ ニコニコ生放送ってけしからんな その53…

原石アラート −キャプチャ機能付きニコニコ生放送アラート−

概要 ニコニコ生放送において配信を効率よく探すためのツール 動作 RSSで新着配信を取得 条件(genseki.yaml)にマッチする配信を取捨選択 映像をキャプチャ 具体的にはnamarecoでflvを取得しffmpegでjpgに変換 新着配信をキャプ画とともにHTML(genseki.htm…

今日のスレ

ニコニコ生放送ってけしからんなんな その536 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275283402/ 大規模メンテがあった模様 枠数の増加が観測 namarecoは今までどおりの不安定さで動作している模様 (昨夜Gitにcommitしたコードはバグがありま…

Rubyにおける例外処理(つづき)

昨日の記事について考えてみた loggerのwriteで例外を受け取った場合にそれが外部からのものだろうか内部からのものだろうかLogger::ShiftingErrorが発生するということだからまっとうな動作と理解 ライブラリを使ったら内部で発生しうる例外は呼び出し元で…

今日のスレ

ニコニコ生放送ってけしからんな その535 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275226493/ ニコニコ生放送ってけしからんな その534 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275178112/ サッカー日本代表が話題か

Rubyにおける例外処理

Rubyにおける例外処理がまたよく分からなくなったのでそのメモ 下記のプログラムにおいてShiftingErrorのrescueは必要なのかが分からない require 'logger' require 'thread' class TestException < StandardError; end log = Logger.new('looplog.log', 'da…

今日のスレ

ニコニコ生放送ってけしからんな その533 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275135717/ ニコニコ生放送ってけしからんな その533 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275135621/ ニコニコ生放送ってけしからんな その53…

namareco-0.2.8リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

今日のスレ

ニコニコ生放送ってけしからんな その531 http://yutori.2ch.net/test/read.cgi/morningcoffee/1275022569/ ニコニコ生放送ってけしからんな その530 http://yutori.2ch.net/test/read.cgi/morningcoffee/1274974668/ 特に何もなかった模様

今日のスレ

ニコニコ生放送ってけしからんな その529 http://yutori.2ch.net/test/read.cgi/morningcoffee/1274936821/ ニコニコ生放送ってけしからんな その528 http://yutori.2ch.net/test/read.cgi/morningcoffee/1274887349/ メンテナンスがあった模様

namareco-0.2.7リリース

ダウンロード Ruby版 zipball http://github.com/nikuq/namareco/zipball/master http://github.com/nikuq/libnama/zipball/master Git cd /path/to/namareco git fetch origin git rebase origin/master cd ../libnama git fetch origin git rebase origin/…

今日のメンテまとめ

今日のメンテで以下のエラーが新たに出力されるようになったようだ 座席の取得ができませんでした しばらく時間をおいて、再度お試しください これがuserliveslotfullリターン時の挙動か? ただこのエラーが出た配信のgetplayerstatus APIを同じブラウザで見…

今日のスレ

ニコニコ生放送ってけしからんな その527http://yutori.2ch.net/test/read.cgi/morningcoffee/1274872699/ニコニコ生放送ってけしからんな その526http://yutori.2ch.net/test/read.cgi/morningcoffee/1274809306/ニコニコ生放送ってけしからんな その526htt…

今日のスレ

ニコニコ生放送ってけしからんな その525 http://yutori.2ch.net/test/read.cgi/morningcoffee/1274780402/ ニコニコ生放送ってけしからんな その524 http://yutori.2ch.net/test/read.cgi/morningcoffee/1274718017/ ゆづか姫のフラッシュ掲載が話題か