• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

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

I was struggling to build collada-dom on Linux machine for a while.
But the task turned out simple after I found the right solution.

The solution is here;

pre>>
$ make os=linux
<<--

That's too simple compared with my time spent for it :'-(

posted by takiuchi takiuchi on Tue 27 Oct 2009 at 15:33 with 0 comments

cmakeをbuildするときはbootstrapファイルを実行しますが、prefixを指定する場合は以下の部分を書き換えます。

pre>>
cmake_default_prefix="c:/Program Files/CMake"
fi
else
cmake_default_prefix="/usr/local" # <= ここ
fi
<<--

あとは make install すればok.

posted by takiuchi takiuchi on Tue 27 Oct 2009 at 09:06 with 0 comments

原子と電磁波の相互作用

  • トムソン散乱
  • コンプトン散乱
  • ラマン散乱

分子レベルの相互作用

  • レイリー散乱
  • ミー散乱

See Also

posted by takiuchi takiuchi on Sun 25 Oct 2009 at 07:59 with 0 comments

gluLookAtでMultiplyされる行列を自前で作る場合、以下のようにすればokです。

If you want to get the matrix that is generated by gluLookAt, here is the way to do it.

c>>
//gluLookAt(
// eye[0], eye[1], eye[2],
// at[0], at[1], at[2],
// 0.0, 1.0, 0.0);
// equivalent pseudo code
float lookat[16];
midentity(lookat);
vec3 s = (vec3)&lookat[0];
vec3 u = (vec3)&lookat[4];
vec3 f = (vec3)&lookat[8];
vec3 t = (vec3)&lookat[12];
vcpy(t, &eye);
vneg(t);
vsub(f, &at, &eye);
vnormalize(f);
vec3 up = {0, 1, 0};
vcross(s, f, &up);
vcross(u, s, f);
vneg(f);
glMultMatrixf(lookat);
<<--

posted by takiuchi takiuchi on Sun 16 Aug 2009 at 14:34 with 0 comments

I've preferred FLTK for easy development of GUI tool.
It has function to treat OpenGL easily, but it doesn't provide box but only window as "Fl_Gl_Window".
If you need OpenGL in the box, since it is not supplied as its package, so thus you must use the "Fl_Gl_Box".

簡単なGUI toolを作るときには、ながらくFLTKを愛用してきました。
特にOpenGLを簡単に利用できるので、ちょっとした実験には最適です。
しかし、FLTKのパッケージには、OpenGL用にWindowを作るものはあるのですが、Box (Windowの中に配置される子Windowのようなもの)はありませんでした。そのような状況では、Fl_Gl_Boxを使う必要があります。

Unfortunately, it had been lost in the internet space (the original author of the library had used GeoCities and the site had been vanished), but I found it here.

残念ながら、Fl_Gl_Boxの配布サイトは消えてしまったようです。
しかし、幸運にも Fl_Gl_Boxのソースを以下に発見しました。

http://www.gnu-science.org/phpBB3/viewtopic.php?f=7&t=45#p1268

I'm feeling lucky :-)

ラッキーですね。

posted by takiuchi takiuchi on Tue 4 Aug 2009 at 20:08 with 0 comments

CMakeList.txt file tends to have piles of options and seems very complicated.
For such situations, you can display configurable options by typing this command.

pre>>
% cmake -L
<<--

You will get very clear result. It's a preferable feature of CMake.

posted by takiuchi takiuchi on Mon 3 Aug 2009 at 07:04 with 0 comments

At first, you download files of Collada from here

http://sourceforge.net/projects/collada-dom/

It includes collada-dom, but you must build it before using.

To build the package, you must unpack the zip and move to dom/ directory. And

pre>>
% make
% make install
<<--

That's all.

posted by takiuchi takiuchi on Sun 2 Aug 2009 at 18:38 with 0 comments

Fredholm型積分方程式(第二種)

[math]
\phi(x) = f(x) + \lambda \int_a^b K(x,t),\phi(t),dt
[/math]

Volterra型積分方程式(第二種)

[math]
\phi(x) = f(x) + \lambda \int_a^x K(x,t),\phi(t),dt
[/math]

posted by takiuchi takiuchi on Tue 21 Jul 2009 at 17:59 with 0 comments

Through my investigation for writing about the parallel computing,
I found there are many "incoherences" and "inconsistencies" all over various terminologies regarding parallel computing.
I guess surrounding environment is so fastly changing, the center of excellence of this research field has been moved very frequently.

Most of significant works had been done in the era of sequential computing.
But for very near future, we will be going into the era of parallel computing. The terms that had been spawned in the hypothetic world would get real body and require coherent and consistent definition of themselves.

posted by takiuchi takiuchi on Sun 28 Jun 2009 at 02:18 with 0 comments