万里凋叶

九月羊城,滂沱之至

千里烟云,万里凋叶

临雨欲航,倾心可笑

往事如风,何人可谒

万般思绪,思邃难眠

红云夕尘,悬月寂夜

诗沉乱卷,一心疾书

纵有雷鸣,终为戏言

 

AlphaBlendMatrix and how to resize the image by C#

The description about Alpha Blending in MSDN is as follows

Alpha Blending Lines and Fills

In GDI+, a color is a 32-bit value with 8 bits each for alpha, red, green, and blue. The alpha value indicates the transparency of the color — the extent to which the color is blended with the background color. Alpha values range from 0 through 255, where 0 represents a fully transparent color, and 255 represents a fully opaque color. Continue reading

从东京机房到加州Fremont

6月3日,已经驻扎在东京将近两年的主机开始抽风了,这种抽风以前真的没有发现过,virtual private network 果断一个也连接不上了,甚至putty完全没有响应,报错Error Network,Connection timed out.

果断联系linode提供商,

————————————————–
Hello,

I’m sorry to hear of the connectivity issues you are experiencing. So that we may further investigate this issue, could you please provide the output of “mtr –report” from your location to your Linode, as well as the reverse? More information on generating and interpreting MTR reports can be found in the Linode Docs:

然后使用mtr来测试主机,从国内几个地点测试到东京的连接情况,大致相同。对方给的回复

————————————————–
Hi there,

All of this is a classic issue with the GFW Please notice how the packet loss starts at the 202 hops and persists all the way out to the server; this is evident of the deep packet inspection stage that the GFW goes under before you’re completely blocked.  Would you like for us to switch your IP again? This is really the only course of action that works when faced with this issue.

果真是碰上某个敏感的日子了,你懂得:) 依稀记得两年前,google也是在此时渐渐淡出了人们的视线,真是无奈呢

linode给我换了几个IP address, 测试结果几乎没有改善。看样子东京的服务器大部分都遭殃了。

最后果断建议换到美国的数据中心,一路折腾到6月5日

从这里可以测试各个数据中心,似乎美国的几个地区比东京的还要给力https://www.linode.com/speedtest

Fremont坐落在旧金山湾区,似乎是中国朋友的较好选择。关于这方面的问题,欢迎找我交流。