query: tag:report

One of my websites had begun to use Amazon ELB for load balancing.
After that, I have experienced the issue that I can't do +1 at the site.

ss

As long as I see the webmaster tools, the +1 audience has stopped its increase since that time.
In addition, the site has issues too on several Google's services such as Google Wireless Transcoder, Google Translation and so on.
They report that it can't access to the site.

In my observation, some of Google servers have incorrect DNS caching, so thus the services couldn't access to the site, because the IP address is no longer pointing the original server.

The DNS of Amazon ELB has TLS of 60 seconds. Google's DNS caching should expire within that period.

** See Also **

** Update **

It's turned out that Google+ itself too causes this problem.

ss2

posted by takiuchi takiuchi on Mon 5 Sep 2011 at 05:20 with 0 comments

Yesterday (Feb 10, 2009),
asakusa.rb
took place at Akihabara, Tokyo.
asakusa.rb is a rubyist community that is based on Asakusa.

In the monthly meet-up of that community,
@ko1_twitter wrote a code snippet.
This snippet is a kind of backport of Method#parameters for Ruby-1.9.1.
His quick job led a way for merbists to change merb to be corresponding to Ruby-1.9.1.
He named his work "methopara". It stands for METHOd PARAmeters.

And I made it as a gem
for ease of use.
Now we can use it by the command below.

pre>>
% sudo gem install methopara --source http://merbi.st
<<--

Usage is as follows.

ruby>>

require "rubygems"
require "methopara"
def foo(a,b=nil,&c) end
method(:foo).parameters
=> [[:req, :a], [:opt, :b], [:block, :c]]
<<--

This gem is only for Ruby-1.9.1.
Because Ruby18x have merb-action-args, and Ruby-1.9.2 and its successors will have built-in Method#parameters.

Enjoy!

See Also

posted by genki genki on Wed 11 Feb 2009 at 10:04 with 1 comment

I attended the event called OoO, which is an offline meeting for offline renderists.
The word renderist means people who are making renderer or interested in it.

IMG_0188.JPG

The contents of the event is as follows.

  • Keynote by Toshiya Hachisuka
  • Report of SIGGRAPH 2008
  • An introduction of DEMO scenes.

These were all attractive and interesting.
And talks about the Larrabee also were ubiquitous.

I have a long standing issue.
The issue is if providing server-side offline renderer itself is able to be a business going concern.
Once I had tried at 2003, but it failed.
I thought it was too early and it would need a time of 5 years.
So I gave up the business and switched to make a web application.

And the 5 years went by...

The gang's all near.

posted by takiuchi takiuchi on Mon 15 Sep 2008 at 20:10 with 0 comments

勉強会参加者の皆様、昨日はお疲れ様でした。

P1000162.JPG

今回は、事前に参加登録していただいた方々がほとんど全員お越しくださったようで、配布資料も3度増刷がかかる盛況ぶりでした。内容のほうも昨年のComet勉強会を彷彿とさせるような非常に濃い話が飛び交い、想定していた以上に勉強ができる会になりました。ありがとうございます。

P1000163.JPG

全体的な振り返りとしては、大体以下のような次第でした。

  1. 自己紹介+自分がかかわっているOpenID活動の紹介
  2. rakuto氏によるOpenIDの動作原理の詳説
  3. ZIGOROu氏によるプレゼンテーションx2
  4. OpenIDとビジネス化の方向性について議論
  5. 各所での利用状況に関する情報交換
  6. OpenID関連のイベント・勉強会情報の告知
  7. 名刺交換タイム(?)
  8. 懇親会(6時間に及ぶ延長戦)

非常に密度の濃い議論や意見交換ができたと思います。
内容の濃さという意味では、昨年のComet勉強会を髣髴とさせるものがありましたね。勉強会後の満足感は、参加者によるところが大きく、最高の参加者が集まった時点で今回の勉強会の成功は決まっていたといって過言ではないと思います。
ありがとうございました。

最後になりましたが、会場提供をしていただいたドリコム様、ありがとうございました。

See Also

サーバ移行中で自動トラックバックがオフになってるのを忘れていました。Googleで探して見つけ次第手動で追加しています。

posted by genki genki on Sun 20 Apr 2008 at 09:25 with 2 comments

http://www.searchme.com/
が面白そうだったのでBetaテストに応募してみたのですが、
アカウントをもらえたので試してみました。

searchme.com.png

ベータテスト中のせいか、ちょっと動作が遅いのが気になりましたが、
画像を中心として何かを探す場合には、なかなか便利そうです。
上のスクリーンショットは、「Global Illumination」
というキーワードで検索したところです。

欲しいものリスト

  • マウスのホイールでスクロールするようにしてほしい
  • キーボードショートカットがほしい(hlで左右にスクロールとか)
  • 文字が読めるぐらいZoomできると別次元の使い方ができそう
  • 3倍ぐらい高速化してほしい
posted by genki genki on Thu 20 Mar 2008 at 17:58 with 0 comments

前回は2年ぶりぐらいに参加できず、悔しい感じだったのですが、
今回は無事に参加できました。

今回は、梅澤さんによるSmalltalkの基調講演からはじまり、
Lightning Talkセッション、後半セッションの3本立てと、
変化に富んでいてなかなか楽しい構成だったと思います。
梅澤さんには、緊急Smalltalk勉強会でも大変お世話になりました。
Ruby使いにとっては、
「ああなるほど、Rubyのこの文法はSmalltalkから来てるんだなあ」
と思うようなところがたくさんあったのではないかと思います。

Lightning Talkセッションに参加したかったのですが、
まさかのバッテリー故障に見舞われたため、電源から移動できずに
参加できませんでした。次回は是非!

後半セッションは、高井さんのDTraceに関する解説に参加しました。
DTrace面白いですね。
D Scriptも並列プログラミング言語として面白そう。
Linuxで使えないのが残念。

See Also

posted by genki genki on Mon 17 Mar 2008 at 19:26 with 0 comments

OoO workshop has been successfully held on last Sunday thanks to SGI Japan.

Syoyo, the founder of this event, had predicted the future of GPU in his presentation using a comparison of two charts which are about the Nikkei 225 index and the speed of GPU. Detail is
here.

This is the most interesting prediction about GPU I ever met. Nowadays, CPU is speeding up much faster than GPU and its power consumption is still low against GPU's.

I think that FPGA can be a competitor of CPU rather than GPU in near future. The number of gates in FPGA has become very large so that it could be used for development of very complex processor such as Raytracing Processing Unit as known as RPU.

posted by genki genki on Tue 26 Feb 2008 at 11:11 with 0 comments

珍しくCGネタです。

2/8に東大で行われたPaul Debevec氏の
講演会
に参加しました。

New Techniques for Acquiring, Rendering, and Displaying Human Performances

Paul Debevec氏はIBLやHDRIの人として高名な方です。

もっと英語を学ばなければな。いくつか質問したいことがあったけれど、
なんと言ったら良いのかわからなかった。Ummm

聞きたかったことは、Sphere probeをActorを追いかけるように
動かして、全天周画像をキャプチャすれば、Light Stageのような
固定的な設備を用いなくてもdiffuse項の計算ができるのではないか
という事。

また、specular項に関しても、動いているシーンであれば、
時間軸に沿って変化するLight Fieldに対して、変動しない成分を
抽出することで、ある程度は計算可能なのではないかな。

Light Stageを使ったほうが高精度に求められるけど、
建設にお金がかかりそうだから、安上がりにそこそこの
Relightingをしたいぐらいなら良い気がする。

まあでも精密なNormal Mapを採集できるって事のメリットのほうが
大きいのかな。

posted by genki genki on Sat 9 Feb 2008 at 19:09 with 0 comments

Rails勉強会@東京#25
に参加してきました。

photo01

今回は、勉強会終了後に
東京と関東Rubyの忘年会2007
とmergeされるという事で、普段よりも参加者が多めでした。
賑やかで良かったです。

流れとしては、

  • 3回ほど前から続いているランチ懇親会
  • 前半セッション(DBの話)
  • 笹田さんによるキーノートスピーチ(Ruby 1.9の話)

という感じでした。

ランチ懇親会

shachi
さんやYuumiさんとe-mobileの
スピードテストをしつつ、
The Rails Way

Advanced Rails Recipes
がRails 2.0対応していて良さそう、というような話をしていました。

それからSimple DB面白そう、という話もしたような気がします。
まだリリースされてないのですけど、出たら使ってみたい。

DBの話

西さんを捕まえて、第七正規形とか、Rails 3.0に必要なのはなん
だろうというような話をしていました。

User.find :all, :conditions => {:deleted => nil}
みたいなのは簡単に記述出来るけど、:deleted => not nil
な条件を指定したいような状況では、
:conditions => 'deleted IS NOT NULL' とやらないといけない
ので面倒だな、という話から、nilの補集合を表すような
記号の話になり、集合の切り分け方の話、最終的に第七正規形の話
への展開。

他、話した内容のメモ。

  • プラグインをGem化する簡単な方法が欲しい
  • perform_filter的なものが必要
  • detached_after_filterが欲しい
  • backgroundrbでやっているような仕組みを、
    フレームワーク側で用意しても良いのではないか
  • ActiveScaffold GJ!
  • ActiveSearchが欲しい
    • テキスト全文検索のためのアダプタ群が欲しい

笹田さんによるRuby1.9の話

前回に引き続いて、キーノート的なセッション。
なかなかいい感じですね。笹田さん、次回もぜひ。
面白そうだったポイントとしては、

  • ネイティブスレッド
  • RubyGemsとRakeが標準添付
  • {foo: 'bar'}でHash
    • User.find :all, limit: 10, order: 'created_at DESC'
      とかできる
  • proc{|a,b,&block| } ブロック引数でブロックが取れる
  • Hashが全て順序つきHashに

この辺ですね。期待。

posted by genki genki on Mon 17 Dec 2007 at 11:46 with 0 comments

ORF 2007
で地下展の話を聞いて興味深かったので、
日本科学未来館に行ってきました。

ticket

ボストーク湖
の展示が興味深かったです。
ほかにもいくつか面白いキーワードを採取できました。

それから、お土産店で蛍石と方解石をGet。

蛍石(左)と方解石(右)

rock

どちらの鉱石も、レンダリングアルゴリズムを考える上では、
興味深い光学特性を持っています。

posted by genki genki on Mon 26 Nov 2007 at 04:31 with 0 comments

こちら
で、ExceptionNotifierプラグインのテンプレートに関するバグの報告が出ていました。

Plugins - Exception Notifier

Brett Neumeier 12 Oct 2007

In ruby 1.8.6p111, rendering the _environment.rhtml plugin fails with "TemplateError: flag after width". This is fixed if you change the string "%-s" to "%-s" on line three of the template.

Chris 18 Oct 2007

This is the correct string: "%-*s:"

具体的には、views/exception_notifier/_environment.rhtml の3行目を次のように修正すればOKのようです。

views/exception_notifier/_environment.rhtml

<% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
<% @request.env.keys.sort.each do |key| -%>
* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
<% end -%>

手元の環境(ruby-1.8.6 p36/Rails-1.99.0)では、これで問題なく動作するようになりました。

posted by genki genki on Thu 15 Nov 2007 at 05:11 with 0 comments

This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/190

昨日開催された、第一回Comet勉強会の発表資料です。

My email address has been changed. Please use genki{at}s21g{dot}com instead.

日曜日にもかかわらず、20人以上の方が集まってくれまして、大変ありがたいです。 集まっていただいた方々も、普段なかなかお会いできなかった方が多く、面白い話を沢山聞く事が出来ました。

勉強会自体はRails勉強会のやり方をベースにしつつ、時間節約のために最初に自己紹介をしていただく、シングルトラックにする、という方法で行いました。 結果としては、時間を有効利用できたので良かったかな。

セッションの内容は、拙作のCometサーバShootingStarに関するプレゼンテーションをさせていただいた後、Cometの応用例を考える、Erlangの軽量プロセスのしくみを考える、というような感じで進みました。

そもそもなんでCometと呼ぶのか、という話はComet勉強会らしくて良かったですね。 SOAP → Ajax → Cometという感じでアメリカの洗剤の名称つながりらしいです。 それから、c10k問題が意外と古くから認識されている問題であることもわかり、意外でした。

セッション中に参照されたWebサイトなどは、こちらのChatログに残っています。

個人的にはErlangのMailboxの実装方法に興味があり、その辺の話は興味深かったです。 ソース読んでみよう。 yamazさんが紹介してくれたRuby Threadingの話は、ちょうど青木さんのRHGの記事でThread周りのソースを読んでたところだったのでタイムリーでした。

以下、反省会の内容。

開催の一週間前に(Rails勉強会で盛り上がったので)勢いで告知した関係もあり、もうちょっと勉強してから来た方が良かったな、という印象でした。でもその割には濃い議論が出来てよかったです。参加者のレベルが高かったおかげですね。

懇親会も開催しました。今回は特に、昔から色々とお世話になっていたドワンゴのKさんと色々お話が出来て楽しかったです。レンダリングアルゴリズムの話とか統計手法の話とかしてしまいました。またよろしくお願いします!

※yamazさんの敬称が抜けてました。すみません・・

This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/190

posted by genki genki on Sun 27 May 2007 at 21:11 with 0 comments