オライリーが主催するイベント「Open Source Convention 2011」が7月25日から米国ポートランドで開催されました。 その中で、TwitterがなぜRuby on RailsベースのシステムをJavaVMベースへ移行しようとしているのかを解説したセッション「Twitter: From Ruby on Rails to the JVM」が行われ、ビデオが公開されています。 13分程度の短いセッションのポイントをまとめて紹介します。 世界最大のRuby on RailsによるWebサイトをJavaVMへ移行 Twitterのアプリケーションサービスグループ、Raffi Krikorian氏 Twitterは世界中からのツイートをリアルタイムで扱っている。リアルタイム処理が、ツイッターにおけるもっとも難しい処理だ。 Twitterは、おそらく世界最大のRuby on Rail
「mixiボイス」提供開始、つぶやき機能「エコー」正式サービス化 -BB Watch昨日からmixiボイスのサービスが始まりましたね。mixiエコー時代は、あまり使われていなかったようだけど、mixiボイスが始まってからは、強制的にホームに表示されるようになって利用者が増えたように感じます。 ということで、Rubyスクリプトで、twitterからmixiボイスにマルチポストするRubyスクリプトを書いてみた。 使い方スクリプト内の以下の変数を勝手に変更してください。 ###################### #mixiのログイン情報 ###################### mixi_username ='hogehoge' #mixiのログイン用メールアドレス mixi_password ='fugafuga' #mixiのログイン用パスワード #################
マッシュアップを利用したTwitterアプリ開発の話もあり、 ちょっと調べてみたらすごく簡単そうだったので、 天気情報を自動でつぶやくアプリを作ってみました。 Twitter APIはもちろん、 Rubyもマッシュアップも初めて、 という状態から出発しても、 数時間でできてしまうと思います。 以下に手順をまとめておきます。 1.Rubyをインストールする インストールファイルをダウンロードして実行するだけ! 初心者のためのRubyインストールガイド 2.Twitter4Rをインストールする [すべてのプログラム]からRubyGems Package Managerを起動 コマンドプロンプトより「bin\gem install twitter4r」でインストール開始 コマンドプロンプトより「gem list --local」でTwitter4Rのバージョンを確認 3.ソースを書く weath
殴り書き。送信メールサーバーはGmailを使った。自分に ml_on/ml_off というreplyを飛ばす事でON/OFFを切りかえる様にした。 require 'rubygems' require 'twitter' require 'twitter/console' require 'json' require 'time' require 'yaml' require 'tmail' require 'tlsmail' gem('twitter4r','0.3.1') def log(msg) puts Time.new.to_s + ' ' + msg end module Gmail def Gmail.get_content(from_address, to_address, subject=nil, body=nil) content = TMail::Mail.new c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く