4月 202014
 

Fedora Activity Day (FAD) China 2014 was successfully held at Park Plaza of Beijing Science Park, Beijing on Mar 30 (Sunday). It was organized by Fedora Zhongwen User Group with the help of CSDN. It was under the umbrella of Open Source Technology Conference (OSTC) 2014 initiated by CSDN, being one of three parallel sessions in the afternoon. There were around 600 attendees in total, and about 200 in the FAD session.

I arrived at the venue in the morning with more than 100 Live DVDs and 500 stickers. We distributed them during the Red Hat booth as well as the afternoon session. In the morning there were several keynote speeches and one panel discussion. More details can be found in the CSDN news report.

The afternoon session began at 1:30 pm. Thomas Yao and I served as the hosts of FAD. The first talk was “About Those Python Asynchronous Concurrency Frameworks” by Fantix King, CTO at FlowForge Games, Archlinux x32 committer, and Python programmer. He introduced the concept of concurrency, compared Tornado, Twisted, and Gevent, and then introduced asyncio, the newly available framework in Python 3.4.0.

Python Concurrency Frameworks by Fantix King

Python Concurrency Frameworks by Fantix King

The second talk was “Use Linux Command Line as a Hacker” by Xiaodong Xu (Toy), the webmaster of LinuxToy. He shared a lot of command line tips to fix typos, manipulate shell history, and speed up operations. In the QA session he talked about his opinion on text editor choice and Linux distro choice.

Toy

Toy

The next talk was “Reform the Toolbox: From Open Source Software to Open Source Service” by Daobing Li, the chief architect of Qiniu, who is also a Debian developer. He talked about the achievements of open source cloud service, and shared his vision of future cloud service – cloud in computer room. He also gave suggestions on how developers treat cloud services.

Daobing Li

Daobing Li

Following the talk was “Introduction to HackRF & GNURadio” by Scateu Wang, the creator of hackrf.net and the former leader of TUNA. He demonstrated the ease of using GNU Radio to develop software defined radio applications for DTMF decoding, FM modulation and demodulation, digital audio broadcasting, etc. He also introduced HackRF, the newly created inexpensive hardware peripheral used with GNU Radio.

Scateu Wang

Scateu Wang

The next talk was “Fedora Ambassadors & FUDCon” by myself. I introduced the four foundations of Fedora Project, gave an overview of Fedora Ambassadors project, showed what ambassadors do and how reimbursement works, and then shared the recent progress of organizing FUDCon APAC 2014 to be held in May and welcomed everyone to join.

Alick

Alick

Next Emily Chen, GNOME.Asia founder, senior software engineer in Oracle, gave the talk “Bringing More Women to Free and Open Source Software”. She introduced the Outreach Program for Women initiated by GNOME, talked about how it increases the women participation in open source projects. The annual program provides prize for women participants in similar way with GSoC, but it does not require the applicants to be students, and applicants does not need to write code in the program.

Emily Chen

Emily Chen

The following talk was “Operation and Management of SHLUG” by Thomas Yao, leader of Shanghai Linux User Group (SHLUG), founder of GitCafe.com. Thomas gave an impressive speech without any slides. He talked about the history of SHLUG and shared the experience. He pointed out the pioneering effort of building the first open source mirror site in China, Geekbone, and the importance of keeping the community focus on technique rather than commercial activities. He also shared the interesting stories of Hacking Thursday and Rails Girls.

Thomas Yao

Thomas Yao

After that is the panel discussion on “History and Future of Open Source OS in China”. It was moderated by Thomas Yao, and the panelists are Weijia He from Redflag College of Education, Jianzhong Huang from Redflag R&D, Jack Yu from UbuntuKylin, and Yong Wang from Linux Deepin. They shared their opinions and experiences about Linux Desktop, collaboration of distros, cultivation of open source talents, and open source in education.

Panel Discussion

Panel Discussion

At last, Martin, leader of Beijing Linux User Group (BLUG) gave a lightining speech of introducing BLUG and its activities. Everyone is welcomed and should not worry about their English since there are actually many Chinese there. And it is quite easy to join the event by registering on BLUG website or joining discussion in mailing list.

At night there is the Open Source Night, a social event for free face-to-face discussions. Unfortunately I didn’t attend it. I had dinner with FUDCon and GNOME.Asia organizers and discussed current progress and following tasks.

Overall it is a very good event in my mind. If I have to point out some issues, I’d say there might be too many talks and no time for tea or coffee in between! Besides, my own talk was prepared in a bit hurry, and not practised well beforehand.

The slides links is available on CSDN news. They also provide a Chinese report for FAD. There is a great minute for the meeting by Bojie Li from USTC LUG. The videos and various other materials can be found at this link.

9月 272013
 

Note: For the Chinese version of this report, please refer to this page.

On last Saturday (Sep 21), the Software Freedom Day Activity at Tsinghua University was held. It was hosted by Tsinghua University Network Administrators (TUNA) with the assistance of Beijing GNOME User Group (BJGUG). There were more than 60 attendees. The onsite registration began at about 2 pm, and it was done on a laptop computer running LibreOffice Calc. The spreadsheet would be used by the lucky draw in the end. We prepared CDs, stickers, and posters, which were readily available for every registrants.

The formal event started at about 2:30 pm with the welcome speech by me (alick). I introduced what software freedom day (SFD) is and what free software is. I also introduced the event host and sponsors. This event was sponsored by Mozilla, COPU, GitCafe, CodeWeavers, Linux Deepin, and Fedora community. They provided many kinds of swag as gifts. Besides Mozilla also covered the cost of SFD posters and so on. I also introduced the NITE-LPI certificate program supported by COPU.

Alick introduces free software

Alick introduces free software

Following was three speeches. The first one was “GNOME Shell” by Li Bin, the current BJGUG leader. He talked about components of GNOME Shell and its flexible and powerful extension capability, and then demonstrated the development of GNOME Shell extensions. gnome-tweak-tool and https://extensions.gnome.org/ was introduced during the talk. The main programming language used to develop a GNOME Shell extension is Javascript. With the help of gnome-shell-extension-tool, an extension can be created rapidly.

GNOME Shell by Li Bin

GNOME Shell by Li Bin

Next was the talk “Firefox & Firefox OS” by Yuan Xulei, who is an engineer from Mozilla. He introduced the features of Firefox, and explained in details how to use addon to customize Firefox and improve the web browsing experience. Later on he talked about Firefox OS, a new open source mobile operating system by Mozilla based on Linux and Gecko technologies.

Firefox OS by Yuan Xulei

Firefox OS by Yuan Xulei

After a short break, Zhou Jianfeng, a teacher from Center for Astrophysics, Tsinghua University, gave the speech titled “Airelinux”. He first introduced Astrophysical Integrated Research Environment (AIRE), and then talked about the goal and plan of Airelinux project. Airelinux is a new Linux distribution targeted to high performance computing in astrophysics. Please join it if you are an enthusiastic astronomer, or active in the community of free software (esp. Debian), or an artist who can help with the artwork design!

Airelinux by Zhou Jianfeng

Airelinux by Zhou Jianfeng

There was five minutes QA for each talk. Gifts such as Firefox toys, notebooks, cups, and mouse pads were distributed.

After the speeches was the parallel demo, Hackfest and Installfest session. Small groups were formed and there were face to face talks. There were two demonstrations. One is brought by Fedora community, where Gerard, a Fedora ambassador, talked with people and encouraged them to join Fedora project. Three Fedora T-shirts were distributed. Another demo was for LPI certificate program, where Wang Yun, the country manager of LPI, explained it to interested people. The hackfest was an software defined radio experiment conducted by Wang Kang (scateu), where data was transmitted between the audio interface, and gMFSK was used to modulate/demodulate on the PC. It was quite attractive to the audience.

At about five o’clock, we had the lucky draw. It was a cute web interface, implemented in Python by Justin Wong (bigeagle). In the lucky draw 3 T-shirts and 5 CrossOver license codes were distributed. At last we had group photos.

Group photo

Group photo

The links to the slides and videos of speeches are available on the SFD Wiki page. The photos can be found at G+ pages. And as a final note, we encourage every attendees to leave your feedback when you got the email notice for the post event survey!

9月 252013
 

上周六(9 月 21 日)北京天气晴好,由清华大学学生网管会 (TUNA) 主办,并由北京 GNOME 用户组 (BJGUG) 协办的自由软件日清华站活动顺利举行。活动有超过 60 人参加。接近下午两点时开始现场注册,这次活动的注册为电子注册,每个人在注册电脑上的 LibreOffice 表格中填写各自的信息,这个表格会被最后幸运抽奖的程序直接读取。我们准备了光盘、贴纸与宣传海报,注册后每人都可以领取。

活动正式开始于大约两点半。开场时由我(赵涛)致欢迎辞。我在欢迎辞中介绍了什么是自由软件日活动、什么是自由软件,此外介绍了活动的主办方和赞助单位。本次活动得到了谋智网络 (Mozilla)、中国开源软件推进联盟 (COPU)、GitCafe、CodeWeavers、深度 Linux、Fedora 社区等的大力支持,他们为本次活动提供了丰富多样的礼品,其中 Mozilla 还对活动宣传品等的开销提供支持。我还对 COPU 支持的 NITE-LPI 联合认证项目做了介绍。

赵涛介绍自由软件

赵涛介绍自由软件

之后便开始了主题演讲环节。第一个演讲由 BJGUG 主席李彬带来,题为“GNOME Shell”。李彬在演讲中介绍了 GNOME Shell 的组成,灵活强大的扩展 (extension) 机制,还现场演示了扩展开发。演讲中推荐了 gnome-tweak-tool 和 https://extensions.gnome.org/ 网站。GNOME Shell 扩展开发主要使用 Javascript,借助于已有的扩展框架生成工具 gnome-shell-extension-tool,扩展可以很快捷地被开发出来。

李彬介绍 GNOME Shell

李彬介绍 GNOME Shell

紧接着是来自 Mozilla 的工程师袁徐磊带来的“Firefox & Firefox OS”。他介绍了流行的开源浏览器火狐 (Firefox) 的特性。使用附加组件 (addon) 定制 Firefox,改善网页浏览体验是 Firefox 的一大特点,袁徐磊对此做了详细讲解。他还对 Mozilla 新推出的基于 Linux 和 Gecko 技术的开源移动操作系统 Firefox OS 的发展和开发平台做了介绍。

袁徐磊介绍 Firefox OS

袁徐磊介绍 Firefox OS

短暂的中场休息后,来自清华大学天体物理中心的周建锋老师做了题为“Airelinux”的演讲。他首先介绍了天体物理集成研究环境 (Astrophysical Integrated Research Environment) 即 AIRE,继而介绍了 Airelinux 项目的目标和计划。Airelinux 是一个新的面向天文学计算的 Linux 发行版项目,欢迎广大天文爱好者、自由软件社区贡献者(特别是 Debian 贡献者)、以及设计人员的加入。

周建锋介绍 Airelinux

周建锋介绍 Airelinux

每个演讲最后都留有大约五分钟时间进行问答,问答互动环节的奖励有火狐玩偶、笔记本、塑料杯、鼠标垫等。

主题演讲环节之后,是并行的展台展示、Hackfest、Installfest 环节,这个环节大家分成若干小组,进行面对面的交流。展台有两个,其一是 Fedora 社区的展示,Fedora 大使吉拉德 (gbraad) 在现场和大家做了深入交流,鼓励大家加入 Fedora 项目,并送出了 3 件 Fedora T 恤。另外一个展台是对 LPI 认证项目的介绍,LPI 中国区经理王雲老师为大家做了答疑解惑,她表示今后会在高校做更多的活动介绍 LPI 项目。Hackfest 则是有王康带来的软件无线电实验。这个实验用声卡进行信息传输,在电脑上用 gMFSK 做调制解调,使现场同学领略到了软件无线电的魅力。

五点左右时,活动来到了最后的幸运抽奖环节,抽奖程序是一个卖萌的网页界面,主体逻辑由 Python 语言实现,作者是 Justin Wong (bigeagle)。我们抽奖送出了 3 件 T 恤衫和 5 个 CrossOver 正版序列号,其中序列号在活动后邮件送出。活动最后大家合影留念。

欢乐的集体照

欢乐的集体照

整个活动过程中也遇到了一些问题。一是筹备期间教室借下来的时间较晚,海报宣传时间不足一周,又恰逢中秋放假,使得线下宣传力度不够。微博大屏幕、人人活动墙的想法没有及时提出,未能实现。二是在开场前注册所用电脑到的较晚,加上电子注册、输入法的问题等,使得注册缓慢,活动比预计推迟了约半个小时正式开始。第三是礼品发放有些混乱,部分礼品被热情的在场同学一抢而空,大概是因为没有明确说明中场休息时只有提问的同学可以上台领取礼品。给今后活动的启示是:早借教室早宣传,注册工作要做好准备尽早到位,礼品发放必须说明规则避免混乱。

活动演讲的讲稿链接、演讲视频的优酷链接可以在维基页面上找到。活动照片请看 G+ 页面。最后,感谢所有到场人员的热情参与,请参加活动的朋友收到活动调查问卷的邮件通知后留下您的宝贵意见。

9月 292012
 

上周六(9月22号)下午,我参加了深度Linux在北京举办的2012年用户与开发者大会的活动。这里追记一些现场见闻。注意下文中 Linux Deepin、深度等均为同义词。

活动地点设在上地十街的辉煌国际大酒店,距离西二旗地铁站也不远,交通可谓比较方便。活动开始于下午 1:30,签到之后领到的纪念品是一个小册子,内含 Linux Deepin 的简介、用户手册以及一张 12.06 64位光盘(应为Live盘)。此外还有日程安排、调查问卷和一个用于抽奖的号码牌 🙂 我很幸运地在抽奖环节得到了三等奖,是一个带有不错盒子的 8GB U盘,牌子就是 Linux Deepin 哦。里面还带有 Linux Deepin 系统,估计是 dd 制成的。

嘉宾演讲

首先深度的王勇介绍了 Linux Deepin 的发展历程以及对未来的展望。王勇指出 Linux Deepin 的目标是:美观、简单、易用。Linux Deepin 已有工作和未来的任务都以此为基础。谈及未来发展,王勇提到未来的软件中心会整合网络应用,会引入云同步功能对用户在不同机器上安装的软件、配置进行同步(可能使用深度帐号),打包 Wine QQ,优化音乐播放视频播放的界面和功能等。Linux Deepin 的代码仓库可以在 Github 找到。王勇现场播放了一段由 csslayer 录制的 Linux 下使用搜狗输入法的视频,使在场观众颇为兴奋。

之后深度的设计师李楠介绍了深度在用户体验方面的工作。印象比较深的有深度帐号,新的交互方式(语音交互、摄像头交互、触摸交互等)。谈及创新,他指出创新不意味着要天翻地覆,在细节处打磨优化用户体验也是重要的创新。我在演示中看到一些和其他厂商比较相像的设计,所以对如何避免专利纠纷有些担心。我本人认为在软件行业,现行的专利制度其实是阻碍创新的,而且正在被作为牟利之途而滥用。然而专利制度不大可能在近期出现大的改变,所以规避风险是很现实的一个问题。

然后是来自 GitCafe 的姚欣宇(Thomas Yao, @ghosTM55)分享了在中国推广开源的一些想法。无论是在教育还是商业领域,中国都缺乏开源的氛围。教育中的一大问题是教学内容和企业需求脱节,学生不知道怎么学那些不教的东西。我们目前的线下交流活动不是那么少,但基本都是认识的人组成的圈子。如何把开源推广到更大范围的人群中去,是个值得面对和思考的问题。他谈到希望企业能够把非业务逻辑相关的技术代码开源出来,与社区协作,培养良性的生态环境。ghosTM55 已经把自己的讲稿贴了出来,敬请参阅。

之后,代表搜狗输入法的杨磊作为题为“输入法的互联网时代”的展示。他谈到搜狗输入法的背后,是搜狐搜索引擎技术的支持,是一个互联网公司将输入法带到了互联网时代。他谈到互联网背景下输入法软件可以做到快速迭代、及时反馈,可以有社区贡献的个性化的输入法皮肤。有两个数字比较有趣:搜狗输入法客户端软件的词库有约40万的条目,限于客户机的性能、数据检索的性能已经不大可能进一步增大。而现在云输入法中的词库词条规模为1000万,这是云应用的优势的一个典型案例。搜狗在和深度进行合作,尝试推出 Linux 下的搜狗输入法。不过杨磊表示他并不负责这块,因此他也没有更多细节可以透露。

后面,来自金山WPS的金持重介绍了 WPS For Linux 的风雨历程,其中提到了诸多细节。 他谈到在 1999 到 2002 年金山有一个 WPS For Linux 的史前版本,然而史料没有留存,这个版本现在只能出现在人们口中谈论之中了。 在 2003 到 2005 年间,金山计划利用 KFC,依托 Kylix(Borland Delphi for Linux)实现跨平台的 WPS 版本,然而随着 Borland Delphi 的式微这个 Linux 版本也以流产告终。之后,2005 和 2010 年金山先后推出了两个基于 Wine 的 WPS 版本。时间演进到近代,2010 年金山计划用 Qt 重写 WPS 的新界面(重写约三百万行的 Delphi 代码),WPS For Linux 又一次有了希望。之后的故事大家就比较清楚了,2011 年 zhuohongtao 的工作实现了 Linux 版本零的突破,陆续发出了 alpha 1 到 alpha 4。 (附个带截图的链接) Linux 版本分支单拉出来一段时间后,又有了和主干代码合并的问题。 金持重透露代码合并产生了2000次冲突。 目前放出的 alpha 版都没有带 ET 表格处理组件,原因大家应该也懂。 不过金持重在现场演示了 ET 的效果(行列数已增至 1048576 乘 XFD),看起来相当不错。 另外活动时 Alpha 5 还未发布,不过昨天已经放出了。

问答环节

之后到了问答交流环节,问答的质量相当高。 有同学问到校园推广以及如何让学生更容易地参与开源项目的开发之中, 王勇对此做了回答。他表示深度已经在武汉高校做了一些推广活动, 而且设立了奖学金鼓励学生参与。谈到开发工作,王勇表示命令行、 Vim 或 Emacs 这些对新手可能不够友好的工具, 对于开发人员(包括深度的开发人员)都是必须有的技能。 严肃的开发离不开一行行写代码,不能依赖图形化的代码生成工具。

有人问 GNOME 应该是一个框架还是一个集成环境, 深度是否继续定制 GNOME Shell。 王勇回答说用户需要是深度的出发点,桌面的稳定、易用性是最应该做到的, 特效则是锦上添花。

有人谈到发行版最好与上游沟通,将 bug 和补丁反馈回上游。 对此王勇表示赞同,但也分享了一些和上游的不愉快的经历, 包括他们向上游报告了 pygtk2 的一个内存泄漏的 bug,并且提供了补丁, 但上游称他们重心在 gtk3,他们知道了这个 bug 但不会去修复。 还有 Gnome 3.2 到 3.4 时 API 发生了改变,有的变名字不变行为, 有的变行为不变名字,使得下游代码不得不重写。

有人问深度是否有和厂商合作作出 API 平台让大家都可以使用的想法, 得到的回答很简单:有。 有提问问及搜狗和深度的合作,王勇表示合作的成果不会只能出现在深度发行版中, 而会让整个 Linux 社区受益。

有人问到易用性的提升是否会反而降低用户粘性, 王勇回答说公司里的员工都称得上 geek,geek 也需要易用的系统用来工作, 而非花费很多精力把系统配置得“能用”。

还有问题说到深度软件有的界面和 360 的很像,而 360 的界面和 Windows 系统原生的并不统一。王勇表示界面相近也是出于易用性的考虑。 Linux 的用户界面也需要以设计为导向,美观而易用。

照片

附上几张自己照的照片链接(在flickr上)。 手机摄像质量不高,加之位置不佳,所以效果很一般了。

总结

总结这次活动的体会,我发现深度的开发人员既有想法又有行动,有了一些不错的成果, 还有着更为远大的愿景。我还看到了国内厂商对 Linux 平台的支持比起以往的进步。 活动中我还了解到王勇和 ghosTM55 二人都没有念过大学,但他们做出的项目, 以及身上的 hacker 精神都令人印象深刻。总体上参加这次活动是一次很好的经历, 除了有一点是不知道酒店的无线网密码所以当时没法上网之外,活动是相当不错的。

最后,深度博客上以及给出了活动的全程视频,附上链接