You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
こんばんは。今日は20時に退社しました。 先日、大江戸 Ruby 会議 03 が、深川江戸資料館で開催されました。大江戸 Ruby 会議は、Asakusa.rb のメンバーの生活発表会として位置づけられている地域 Ruby 会議です。そこで私は Ninja Talks の1枠を頂戴し、普段の仕事の話をしてきました。内容は、勤務先が運営するレシピ共有サイトが使用している Ruby のバージョンを Ruby Enterprise Edition から Ruby 1.9.3 へ移行する際に苦労した事柄の共有です。 スライド↓ 時間と内容の関係で、会議では言わなかった話があります。 ここで紹介されているコードのうち、"Before" に当たるものの中には、皆さんが一目見て「酷いなぁ」と感じるものがあると思います。中には、こんな書き方ができたのか!と驚くようなものもあるでしょう。 しかし、忘れて欲し
速さが足りない!!!!! そんな時はプロファイリングの時間ですね。 Rubyには標準添付ライブラリとして profile というプロファイラがついてくる。でもこのライブラリはあまりに遅すぎて実用に耐えないから、多分誰も使っていない。ほとんどのRubyistは ruby-prof を使っていることだろう。 今回はこの ruby-prof を使って Ruby プログラムのプロファイリングする方法を紹介する。 計測する(ruby-prof) ruby-profはrubygemsで簡単に入る。 $ gem install ruby-profruby-profというコマンドラインツールがインストールされる。これを使うと、プログラムを変更することなく手軽にプロファイリングを行うことができる。ruby-profコマンドのusageは以下のとおり。 ruby_prof 0.9.2 Usage: ruby_
能楽堂 64ビットWindows用のRails環境NougakuDo(能楽堂)を作ったのでリリースします。私が配布しているASRやRuby-1.9.2でRailsを利用するのであれば、こちらを利用した方が、あらゆる点(インストールの簡便さ、実行速度、利用可能なメモリ量=スレッド数)でお得です。 特に、Windowsの特徴であるHttp.sysの機能を相当引き出しているつもりなので、Windows用実行環境としては、マルチプロセスでの実行の簡単さや、速度面では最も優れていると思います。 特徴 能楽堂には以下の特徴があります。 Ruby 1.9.3 をVisual Studio 2010 X64 でビルド。 あらかじめ、Rails 3.x を同梱。 libyaml, gzip などは64ビットライブラリを同梱 ruby-sqlite3 はX64用にビルドしたsqlite3と静的にリンク (te
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
In Visual Studio 2022 17.10 Preview 2, we’ve introduced some UX updates and usability improvements to the Connection Manager. With these updates we provide a more seamless experience when connecting to remote systems and/or debugging failed connections. Please install the latest Preview to try it out. Read on to learn what the Connection ...
ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve. :) Features: Small and Clean! 194 glorious lines of graphics manipulation magi... errr, SCIENCE! Supports both square and proportional thumbnails. Pretty much any graphics format you could want. No really. Synopsis: ImageScience.with_ima
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く