Ubuntu Developer Week: 12th-16th July 2010

ubuntu开发者周开始啦~

Ubuntu Developer Week is back again, which means five days of action-packed IRC sessions where you learn more about hacking on Ubuntu, developing Ubuntu and how to interact with other projects.

https://wiki.ubuntu.com/UbuntuDeveloperWeek

We’ll have a fantastic time from July 12th 2010 to July 16th 2010, great speakers, interesting sessions, lots of good questions and great people who get to know each other.

If you’re new to Ubuntu Developer Week and what it is, check out the general page, how to join in and how it all works.

Our sessions cover:

  • Getting involved with Ubuntu development, becoming a Kubuntu Ninja, Authoring Upstart jobs, Working With Translations, Having fun with Packaging QA
  • How Daily Builds work, Operation Cleansweep, Setting up a validation dashboard, Working with Merge Proposals, Working with Django, Adopting an Upstream, Forwarding Bugs and Patches Upstream
  • How to work with Debian, Ubuntu Server, Xubuntu and Edubuntu goodness, Kernel Triage
  • Widgetcraft, QT Quick, QML
  • Desktop goodness, Application Indicators, Rocking Papercuts
  • Lots of FUN
  • Please help spread the news, this will be an awesome opportunity to learn more and get involved.

    [Discuss Ubuntu Developer Week on the Forum]

    Originally sent to the ubuntu-devel-announce Mailing List by Daniel Holbach on Wed Jun 30 11:12:20 BST 2010

    遇到的两个PHP运行错误提示

    1、
    Warning: Call-time pass-by-reference has been deprecated
    这个和PHP配置文件中的allow_call_time_pass_reference有关,我在win下更新php版本至5.2.13之后,这一项是默认关闭的,所以会出现这个错误,开启后重启web服务器就好了。
    2、
    Fatal error: Cannot use string offset as an array
    Fatal error: Cannot unset string offsets in
    这两个错误如出一辙,都是使用了未定义的数组变量,例如:
    $a=’s';
    $b=$a[0][1];
    unset($a[0][0]);
    这两个错误就重现了。再写代码时,务必规范。

    解决ubuntu eclipse代码提示崩溃自动退出

    在更新到eclipse helios(eclipse for php 2.2)之后,编辑PHP代码时,自动提示函数后,回车或者鼠标选择,都会造成eclipse的自动退出。
    解决办法如下
    在$ECLIPSE_HOME(你的eclipse路径)/eclipse.ini文件最后一行增加一句

    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2

    具体bug详见:https://bugs.eclipse.org/bugs/show_bug.cgi?id=305531

    我很气愤

    吸引个人用户,linux需要的不仅仅是特效》类似这样的文章,总会让人很气愤,是有意的在混淆大家的视听,是很偏执的个人固执的看法而已。
    我摘录几段看起来很傻比的话

    因为相比较来说,人们 会更倾向于像 Mac OS 这样的体验。事实上 Mac OS 的界面可谓是细节丰富,整体风格把握很好。

    拿 Ubuntu 10.04 来比较,同样是把关闭按钮放在右侧,Mac OS 就技高一筹,虽然在美观程度上各有千秋,但是 Mac OS 在关闭按钮上就有一个非常让人喜爱的细节,比如您打开文本编辑器,对内容进行编辑后,关闭按钮里就会自动由叉变为圆点,这意味着当您点击它的时候,会滑出 是否保存修改的对话框,文件是否被修改过一目了然。

    另外,精致但数量有限的桌面特效,既体现了与 Windows 的区别,又不至于显得过于轻浮。这种风格的设计实际上拥有对用户的极大黏性。

    相比起来,Linux 的桌面环境,无论是 GNOME 还是 KDE 都缺乏这样一种适度的思想和丰富的细节。其实仅仅要少量漂亮的效果即可使系统脱颖而出,过多的选项反而会使系统给人轻浮、不庄重的感觉,从而沦落为拿来炫 耀的玩具。

    总 结
    这篇文章着重在个人领域讨论了 Linux 如何留住用户的问题。虽然在这个领域,Linux 实力薄弱,但开发者不应忽视或者放弃这一片市场。从某种角度来说,软件,尤其是一些作为业界实质标准的大型商业软件的匮乏是 Linux 目前最大的问题所在。但是本文并未讨论这点,原因在于这种匮乏并不能完全归咎于 Linux 系统及其开发者,而 Linux 自身也基本上很难控制或者说改变这一现实。

    说实话,这篇文章写的毫无水平,居然还通过了cnbeta的审核,看来我之前的决定就是对的,不用再看cnbeta了。

    许多人其实就是在抱怨和牢骚,他们永远提不出有建设性的建议。

    知识共享协议你了解多少

    今天在Planet Ubuntu上读到一篇文章,是关于cc协议的(点击查看原文)为了防止某防火墙,特把原文贴在这里

    There is a set of icons that just got posted to deviantArt and the author claims they are based on the ubuntu-mono icon set.
    The icons are great and these works are awesome and I love that artists are playing with the creative works that are shared in the greater commons available from the Ubuntu community. The problem of course is that ubuntu-mono is licensed as CC-BY-SA, in ubuntu-mono/debian/copyright:

    (c) Canonical Ltd 2004- 2009
    Unless otherwise indicated, artwork is available under the Creative Commons Attribution Share-alike license v3.0 or any later version.

    But the artist has published his work under a CC-BY-SA-NC license, now if it’s true and this new work is based on the original ubuntu-mono icons, then they should be licensed CC-BY-SA as the share-alike terms specify.

    Of course I don’t believe for one second that this was deliberate. Most of the time it’s just confusion and ignorance about the rights and requirements of various licenses and the need to check the licenses when creating derivative works.

    This is actually quite hard to do since we don’t express license terms per file in any way on the desktop, it’d be on my wishlist to have some kind of indication on files when they have license terms marked in their meta-data. For SVG files this is quite easy as the terms are normally in the meta headers.

    What are your thoughts? Do we do enough to help artists understanding licenses?

    大概的意思是说,有一个作者在deviantart发布了一些图标,并且注明了这些图标是基于ubuntu-mono创作的,并且声明 This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.也就是经常听到的非商业共享,简称为CC-BY-SA-NC.而原生的ubuntu-mono采用的协议是CC-BY-SA,文中争论的观点就是原生图标采用的是CC-BY-SA协议,那么这些基于ubuntu-mono而创作的图标集也应该遵循这一协议,而不是使用CC-BY-SA-NC协议。并且在文章最后倡议说是不是帮助更多作者去理解协议。
    看看国外的情况,再看看国内的情况,会不会觉得脸红?当然国外的人都不太理解这些协议,更不能强求国内的人要求了,貌似许多人愿意这样说。当然对于deviantart的许多作品,譬如壁纸,图标,我也时常下载,承认我也是不看协议的,不过幸而我不会二次创作。
    国内整体环境不论是创新还是二次开发,不论作品是否比原作优秀,有很多其实游走在网络生存法则的边缘。两个例子:第一个是关于博客的,国内不论是博客服务提供商还是独立博客,对于自己协议的声明很少,或者有一些干脆就没有,特别是独立博客,像我的博客至今还未添加过cc协议来保护自己的原创作品,可能以后要考虑对个别文章添加cc协议,不是违反免费开源的精神,而是不想万一那天被侵了,还傻头杀脑的不知道呢;最特别的是很多作者直接使用一个cc非商业共享套在自己的博客上,其实是愚蠢的做法,y?要都是原创内容还则罢了,很多时候都是转载和抄袭,怎么套用这个cc非商业共享创作协议呢?这不是自己打自己脸吗?就像国外这位童鞋,可能不是有意,但是还是希望我们能够熟悉一些这些协议,不但是在保护自己的权利,也是在遵守网络起码的生存法则。
    还有很多比较有影响力的网站,也经常是直接拿来主义,就不一一举例了,我们见的已经不少了,如果真的要整理整理的话,恐怕脸红的不仅仅是你我了。