Archive

Archive for October, 2007

[CN Erlounge II]交流会资料整理[update 20071018]

October 15th, 2007 :: jackyz

听说 CN Erlounge II 很是精彩,未能适逢其会,错过众多大拿,甚憾。好在资料陆续释出,同样精彩,收录如下,与诸君共享:

注:安装[ ogg 的 codec 插件],在 IE 下可以直接在线播放录音。

开场:自我介绍 – 众星
[录音] 5.4M

讨论 I – 众星
[录音] 7.4M

为什么我选择了erlang? – xushiwei
[演示] 142.3K [录音] 12.6M

讨论 II – 众星
[录音] 3.7M

erlang emulator implementation – mryufeng
[演示] 223.5K [录音1] 15.7M [录音2] 19.7M

port & driver – codeplayer
[演示] 142.5K [录音] 17.3M

Py 2 Erl 初探 – Zoom.Quiet
[在线演示] [演示] 568.8K [录音] 15.8M

STM: Lock free concurrent Overview – Albert Lee
[演示] 306.3K [录音] 16.4M

mnesia – mryufeng
[演示] 223K [录音] 19.6M

PS. 部分资料尚未补齐,将会陆续更新补充完整。

–update– 20071018 补充了演示文档的下载链接

news

[CN Erlounge II]一本书和一个演示稿的下载地址

October 13th, 2007 :: KrzyCube

现在正在进行Erlang Fans 第二次聚会, @珠海

讨论过程中大家提到一本好书 [Purely Functional Data Structures ]

本着现场直播的原则,现场发布下载地址给大家.

书的PDF版本 : http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
一个相关的演示稿: http://users.dimi.uniud.it/types07/slides/Danielsson.pdf
Read more…

news

[CN Erlounge II]地图指引(google earth)

October 12th, 2007 :: KrzyCube

地图,点开文章查看。 Read more…

news

[CN Erlounge II]第二届 Erlang Fans 交流会议程

October 10th, 2007 :: xushiwei

会议地址:珠海罗马假日海滨西餐厅(日东广场,临近珠海海滨泳场,可观海,吹海风)

【第一场:2007-10-13 上午】

10:00 签到(请填写个人资料或提供名片)。发会议资料。讲师提供来程发票以供报销,并告知返程时间/方式,以便代为购买车票。

10:30 会议开始。各人(讲师和普通参会人员)介绍自己。

12:00 午餐(免费)。

【第二场:2007-10-13 下午】

13:00 为什么我选择了erlang?- xushiwei

13:50 讨论(10分钟)

14:00 erlang emulator implementation – mryufeng

14:50 讨论(10分钟)

15:00 茶歇(20分钟)

15:20 port & driver – codeplayer

16:10 讨论(10分钟)

16:20 茶歇(10分钟)

16:30 沙龙(非特定主题的讨论,大家可以事先拟好感兴趣的话题)

17:30 沙龙结束,安排讲师住宿。自由活动,游览珠海,晚餐自行解决。

【第三场:2007-10-14 上午】

09:00 Py 2 Erl 初探 – Zoom.Quiet

09:50 讨论(10分钟)

10:00 STM: Lock free concurrent Overview – Albert Lee

10:50 讨论(10分钟)

11:00 mnesia – mryufeng

11:50 讨论(10分钟)

12:00 午餐(免费)。

【第四场:2007-10-14 下午】

13:00 沙龙(非特定主题的讨论)

14:00 讨论:如何做好Erlang社区建设?

14:30 集体合影留念,发放聚会纪念礼物。

15:00 会议结束。

【补充说明】

  1. 普通参会人员不安排住宿。如需代为联系住宿,请告知。
  2. 一名讲师安排一标准间(酒店为如家,华景花园附近,海湾花园对面)。
  3. 一名讲师可携普通参会人员一起免费住宿。:)

news

[Blah] JavaScript 2.0 – 沿着 java 走过的道路?

October 10th, 2007 :: jackyz

恕我愚钝,今天才好好的看了【这个】被小小的震了一下。颇多感想,不喷不行。

下为Blah贴,慎入。:D
Read more…

misc

Erlang Workshop 2007 issues

October 10th, 2007 :: KrzyCube

在maillist中发现有人贴了issues 标题列表出来,不过没有下载地址,于是花了点时间自己找了一下,大部分找到了,还缺两个.

这边是我更新后的一份里表,有标题,简介,paper下载地址.(erlang-question maillist)中我也已经发了

请下载本贴的附件issue-titles-intros-urls

———嘿嘿——社区里大家都开始贡献链接了————后续链接在此添加————-

http://www.cs.chalmers.se/~hanssv/ 一些erlang相关的paper/slides

news

Vimagi.com 第一个用ErlyWeb写的real-world应用,作者Yariv

October 9th, 2007 :: hgf

很好,很强大。erlang也可以用来写web应用啦!

news

[CN Erlounge II]第二届 Erlang Fans 交流会的答疑

October 6th, 2007 :: xushiwei

第一届Erlang Fans交流会是在哪举行的?好像没听过?

答:第一届Erlang Fans交流会于2007-9-8在广州举行,只是小范围的聚会,我们并没有象现在这样在Internet上召集。

为什么只报销讲师的费用?

答:当然。难道你见过报销听众费用的聚会吗?:)

本次会议旨在促进交流,我鼓励大家把自己的心得讲出来。每个人都可以成为讲师,只要他愿意。

如果你非要只当听众,那么你也必须是一个虔诚的听众(正真的Erlang Fans)。:)

为什么不报销飞机票(上海地区外)?

答:这个会议还只是尝试性质。如果效果不错的话,会考虑下一届增加会议的经费。

为什么会议举行2天?

答:毕竟大家都是从各个地方赶来,如果只有1天,整个行程显得太过仓促。这样安排也为了让大家可以欣赏下珠海这个美丽的城市。

news

Case Study: Fast File IO in Erlang

October 3rd, 2007 :: jackyz

俺喜欢从实例中学习——遵循:“问题-分析-方案-结论”的认知过程。这篇是个小小的尝试,如果效果还不错,后面再去整理几个。杀猫长文,代码满塞,慎入。:D

【问题】

9月23日,Erlang 的 maillist 中,有人发现了这么一篇文章《Erlang Blues

正如它的标题,这篇文章从批评的眼光,指出了许多作者本人并不喜欢 Erlang 的地方。文章本身的观点姑且不论,但确实是指出了作为一个“普通程序员”看待和评估 Erlang 时必然会留意到的问题。即,按照通常习惯写出来的文件 io 代码,性能很糟糕,比如,下面的代码:

  1. scan_line(eof, _, Count) -> Count;
  2. scan_line(_, File, Count) ->
  3.     scan_line(io:get_line(File, ''), File, Count + 1).

这是一个简单的统计文件行数的程序,在他的 MacBook 上处理一个 1,167,948 行的日志文件,竟然用了 34.165 秒,而相同功能的 ruby 程序只用了 3.036 秒。性能差距有十倍之多,不可谓不大。

这是为什么?莫非 Erlang 的文件 io 系统设计得如此糟糕?且看 Erlang 的社区如何反应此事?
Read more…

study

ErlyBird 0.15.1 Released – An Erlang IDE based on NetBeans

October 1st, 2007 :: dcaoyuan

I’m pleased to announce ErlyBird 0.15.1, an Erlang IDE based on NetBeans.
This is a performance improvement release. This release will only provide all-in-one IDE package,
which is in size of 18.3M.

CHANGELOG:

  • Performance improvement.
  • Integrated with NetBeans’ Common Scripting Framework. Thanks Tor.
  • Fix a bug related to occurrences mark on built-in functions.
  • Fix bug of wrong formatting multiple-lines string.
  • Supports “-module(x.y.z)” syntax.
  • Various bugs fixes.

Java JRE 5.0+ is required.

To download, please go to:
http://sourceforge.net/project/showfiles.php?group_id=192439

To install:

  1. Unzip erlybird-bin-0.15.1-ide.zip to somewhere.
  2. Make sure ‘erl.exe’ or ‘erl’ is under your environment path
  3. For Windows user, execute ‘bin/erlybird.exe’. For *nix user, ‘bin/erlybird’.
  4. Check/set your OTP path. From [Tools]->[Options], click on ‘Erlang’, then ‘Erlang Installation’ tab, fill in the full path of your ‘erl.exe’ or ‘erl’ file. For instance: “C:/erl/bin/erl.exe”
  5. The default -Xmx option for jvm is set to 256M, ErlyBird now works good with less memory, such as -Xmx128M. If you want to increase/decrease it, please open the config file that is located at etc/erlybird.conf, set -J-Xmx of ‘default_options’.

When run ErlyBird first time, the OTP libs will be indexed. The indexing time varies from 10 to 30 minutes deponding on your computer.

Notice:
If you have previous version of ErlyBird 0.12.0+ installed, you can keep your old cache files, otherwise, please delete the old cache files which are located at:

  • *nix: “${HOME}/.erlybird/dev”
  • mac os x: “${HOME}/Library/Application Support/erlybird/dev”
  • windows: “C:\Documents and Settings\yourusername\.erlybird\dev” or some where

The status of ErlyBird is still Alpha, feedbacks and bug reports are welcome.

news