2008年06月 存档

[InfoVis]Javascript, Java, Ruby语法结构的图形展示

2008年06月30日,星期一

Javascript
javascript

Ruby
ruby

人们都说Ruby语法里parse.y很丑陋。到底有多丑陋呢?看图

Java (由1.5版的antlr生成)
java

图片是由ANTLRWorksGraphViz生成的。来自Nick Sieger的一篇blog

OMFG! Look how Google L10n in China

2008年06月30日,星期一

There's f** funny picture from awflasher which he shot at Google China's washroom

custom1.jpg

This kinda of Niu-pi advertisement posts are very common in China

数学·复数·分形·高维空间·CC:数学3D视频《Dimensions》

2008年06月30日,星期一

传说中第一个以CC 3.0(署名-非商业性使用-禁止演绎)协议发布的讲数学的,全3D动画视频,名字叫Dimensions,大家可以去看看官网(dimensions-math.org)英文的tour和具体介绍(1,2 ,3-4 ,5-6 ,7-8 ,9章),非常易懂非常漂亮,非常科普

前4节讲2维空间,扩展到3维空间和4维空间,这个应该是中学的内容。至于4维空间?就看图片玩吧。

5、6讲复数和分形,应该是高中内容。虽然我大学才开始系统学习复数,而且挂了,重修才过的。。。视频里讲复数变换非常形象。作者的pp为例子,非常有趣

7、8章讲拓扑和纤维丛(Fibration)。这个高科技东西我就不懂了,讲Hopf fibration。具体的看看参考资料

最后一章讲证明?几何学如果没有得到证明,那么是没有存在的意义的。

下载(.mov格式,自带中文字幕):
http://mirror.povray.org/dimensions/Dimensions_1_English.zip
1f4872814f9232489ecdd5ab6cb001c1

http://mirror.povray.org/dimensions/Dimensions_2_English.zip
dfa8a01764bdbe1e82283df744f7801c

http://mirror.povray.org/dimensions/Dimensions_3_English.zip
934e08a9dedccdd90b3d5f8a97d4536d

http://mirror.povray.org/dimensions/Dimensions_4_English.zip
3c0ffdc034539b2b3a3b7e9572f18586

http://mirror.povray.org/dimensions/Dimensions_5_English.zip
98a39e262dff05e16703350bdb62a9ac

http://mirror.povray.org/dimensions/Dimensions_6_English.zip
f7cd9c67fb5b766a9e567743daed452d

http://mirror.povray.org/dimensions/Dimensions_7_English.zip
f86b94face56d45f12622e33d7bef30e

http://mirror.povray.org/dimensions/Dimensions_8_English.zip
a9288fb90ca904fd8a1cbef82b355d75

http://mirror.povray.org/dimensions/Dimensions_9_English.zip
b6282f0705e1404ec4796d7b7cfc5faa

http://mirror.povray.org/dimensions/Dimensions_TR_English.zip
05a38762891fcc02c2fd4a35eca3fbd3

作者貌似是几个法莫道不消魂国人。都是玩计算机CG的,非常牛B。感叹下法莫道不消魂国人的艺术细胞和数学功底。我朝的专家教授学者老师科研人员应该好好反思下了。

Javascript很烂的一方面

2008年06月27日,星期五
>>> 1.255.toFixed(2)
"1.25"
>>> 1.2555.toFixed(2)
"1.26"
>>> 1.2556.toFixed(2)
"1.26"
>>> var a = new Array (1, 2, 3); >>> a [1, 2, 3] >>> var b = new Array(4) >>> b [undefined, undefined, undefined, undefined]

来自reddit评论。。。还是很长见识。(我的javascript很弱大家不要笑话。。。)

四川话@youtube

2008年06月27日,星期五

中级

高级

语速有点快哦

四川话教学12

想学的自己点进去秋下哈~~~

老外说四川话

这个巨无敌啊

亲爱的中国……

2008年06月27日,星期五

还是被雷了下。关于中国钢管舞新闻的评论

亲爱的中国:
  感谢你为我们美国提供廉价的电子产品,作为礼物,请享受我们的hedonism
此致!

吉他调音软件 G-Tune V2.51 [keygen]

2008年06月26日,星期四

猛击下载G-Tune v251.rar

首先弄个麦克风~~~

如图,把 Damp Needle、Scope、Ouput Midi的绿灯点灭,把Spectrum、Noise Filter的绿灯点亮,然后按照吉他6根弦的从上到下E,A,D,G,B,E,拨一下弦,看看软件指针是否指向最中间,偏左就拎紧,偏右就拎松,吉他调音简单吧。。。

14.jpg

Derrick Barry

2008年06月26日,星期四

http://youtube.com/watch?v=rKyCakDuQFQ

1. 他是个男的
2. 他模仿Britney Spears,美国No. 1

搜集几个非常cool的混色网站,有空研究~~

2008年06月26日,星期四

http://kuler.adobe.com/

http://www.presentationhelper.co.uk/colour-combinations-for-your-presentation-161.htm

http://www.colr.org/

http://www.colorschemer.com/

http://www.isotton.com/software/windows/smartcolor/

http://slayeroffice.com/tools/color_palette/

http://www.colordic.org/

“颜色文盲”泪奔啊~~~

Thunderbird和Firefox涉嫌后台无条件发送用户隐私数据,Mozilla就是个B啊

2008年06月26日,星期四

reddit上看到的。老外回复真有耐心和专业水准啊

Did you know Firefox and Thunderbird phone home once a day, even with updates disabled and can remotely disable any addon or plugin they wish?

I found this out a few days after I decided to start using Thunderbird and created strict firewall rules as a precaution.

I noticed that Thunderbird would, for no reason at all, sometimes try to contact a server over SSL. I looked up the ip address 63.245.213.32 and found it belonged to Mozilla.

On researching the problem further I found that the cause of the connection is a feature that cannot be disabled from any menu, only the about:config configuration page.

Look up extensions.blocklist.enabled for more information. It's present in Firefox also and is enabled even if all the options are disabled through the menus.

What this tells Mozilla each day:

* IP address
* What time you were using the product
* What exact version number you were using
* If you are using any of the plugins or addons sent in the disabled list
* Total number of active users of their software
This may not be that significant to most people but I think you should have a right to know when an application makes this sort of outbound connection without clearly informing you.

Here is a list of all the unrequested connections Firefox makes: http://support.mozilla.com/fr/kb/Firefox+makes+unrequested+connections

and that's excluding addons. Many addons will phone home each time Firefox or Thunderbird are launched.

Please don't downmod this item without reason as I think it's important people have a chance to see what kind of policies Mozilla follows and what kind of database they could be building in the same way people should at least be aware of the potential for misuse if Google has access to your email and search queries.

原文作者prelim

这里简单翻译下:

大家知不知道,Firefox和Thunderbird每天都要跟Mozilla服务器通信一次?即使你把所有更新和插件更新选项禁止?

我也是前几天才发现的。我刚装上Thunderbird,我有严格的防火墙规则。我发现Thunderbird,在没有任何提示没有任何征兆的情况下,某些时候会通过SSL连接一个服务器。IP是63.245.213.32,是Mozilla的服务器。

后来我发现这个“功能”选项在任何菜单里都找8到,除非手工修改about:config配置

键值是:extensions.blocklist.enabled

这个选项在Firefox里也存在,同样也不可能从菜单里禁用掉。。。

每天客户端向Mozilla发送这些信息:

* IP地址
* 使用了他们的产品多长时间
* 你的客户端版本
* 你的插件列表,和禁用的插件列表
* 软件所有活跃用户的数量

这些信息不重要,但是重要的是,一个软件在外传任何数据的时候,应该明确通知用户

这里有一个网页,展示了Firefox的“非请求连接”列表http://support.mozilla.com/fr/kb/Firefox+makes+unrequested+connections

这还不包括各种插件内建的升级机制。很多插件在启动的时候要和自己的服务器联系一次。

所以啊,下载任何软件/插件,要找够足够的理由先。重要的是Mozilla应该让用户知道他们的政策是什么?他们在数据库保存了哪些重要信息?

est评论:
1. 他妈的FF fans不要来给老子扫盲plug-in、add-on和extension的区别。反正都不是什么好东西。你以为被插得越多还真他妈越爽啊?老子衷心祝愿FF像以前IE那样插件泛滥致死。
2. Mozilla也不是什么好鸟。
3. 欢迎健康开源软件
4. 老外非常重视隐私。非常!其实隐私很重要~~~至少可以防止社工肉搜
5. Mozilla的EULA里隐约提到了这件事情。真阴险啊。。。。其实我们装软件都不怎么看协议,都一路I Agree的说~~
6. 如果微软在IE干了这个事情。。。。哼哼。。。吼吼~~~~
7. 从官方Extensions.blocklist.enabled说明来看,这个功能貌似是防止恶意插件的