Fuzzy! Planet

五月 19, 2010

Fuzzy! News - FZUG

Fedora 13 RC3 敲定为最后的正式版本

昨晚的 Fedora GO/NO-GO 会议决定,Fedora 13 RC3 将会作为 Fedora 13 最终的正式版本在 5 月 25 日发布。这表明 Fedora 13 所有的开发和测试工作暂告一段落。Fedora 13 RC3 存在的 Bug 将会在 0-day 的 Update 中修复,不再重新生成光盘镜像。

昨晚 Fedora 线上会议的完整记录:http://meetbot.fedoraproject.org/fedora-meeting/2010-05-18/f-13-final-eng-readiness.2010-05-18-23.58.log.html

为了避免造成网络堵塞,暂时不放出下载地址,有兴趣的朋友可以自己找找吧。

PS:搜狐开源服务器的 rpmfusion 镜像暂时消失,原因不明。

by liangsuilong at 五月 19, 2010 05:19 上午

五月 15, 2010

Caius 'Kaio' Chance

Yet another comic is baking with open source software (hope so).

I like drawing since childhood, but my skills had not been accumulated much along. There is still desire of being an artist in my life, precisely a painter who could earn for living. It had been planned, even after I had chosen to go for I.T. degree at uni, even I am now a bit regret for not majoring in Art/Design now. At least fortunately, I.T. does paid for my own house.

Let us do a fast-forward.. to.. present. Since I had come across Planet Fedora and started reading posts from others and pouring mine, I saw Nicu Buculei's web comics. I am so envy that he draws and I want to do that, too!

I had been busy off-work for quite some time. When I have my motivation during rare free time, I was looking for solutions. Comicstudio is a star in comic industry.  I could afford to purchase a copy as it is not an open-source software. However, there are only Mac and Windows editions. I tried to run on WINE, but all the icons are greyed out and the Intuos tablet has issues on it. There are still the official manual I ordered from Amazon JP.

Then I looked for an open-source alternatives. Comic Book Edit is the best I could found, and it is still far from okay. Hence, I decided to play with Inkscape. Firstly, I have spent some time on researching a dimension for webcomic. There is not standardized or frequently used webcomic sizes on the internet. Some said just set a dimension sightly smaller than the blog theme/template, some just set what they liked.

Secondly, I created a new file on Inkscape, set the size (I used 400 x 1400). IMHO, portrait would be more suitable to publish in blogs unless the comics are hosted on landscape layout websites. The height is set by the total height of box frames and the margins and padding. The frame of each box if better to be kept in different layers and the layers are better to be named.

Thirdly, I created the title and copyright declaration. I jumped to Creative Commons to find a license. I selected "Attribution-Noncommercial-No Derivative Works 2.5 Australia" license, because I do not want my works to be sold without my permission. I put the content at the footer box.

Fourthly, a GitHub repository was created to maintain the SVG files and PNG files. Finally, I am writing this post. :) This should not be counted as #1 of a series as it is blank and it still even does not have a name. I will figure out, or should I just use "(TBA)" as comic title?

Compared to ComicStudio which is created only for comics, Inkscape could do the same job with reasonable excess time. Will plug the Intuos tomorrow and have some fun on drawing. I have copies of template on GitHub for those who wants SVG for reusing frames.

by Caius 'kaio' Chance (noreply@blogger.com) at 五月 15, 2010 04:44 上午

My first comic created with Open Source Software.

Thanks for the valuable comment from Kevin Kofler. As my selection of Creative Commons license, the comic it self is NOT open source. Inkscape which I used for the creation of the comic, is an open source software. Hence, OSS's still FTW! :D


During the process, I have tried each of 4 panels with different tools. There are 3 tools I have used most during the time -"Draw freehand lines", "Draw calligraphic and brush strokes", "Erase existing paths". Beizer tools should be very useful in other works I am sure, but not in my scenario though.

Initially, I drafted the outlines on a new layer. Lowered the opacity to around 25% after I have finished. Create a new layer for a panel and copied the frame shape to there. The cloned frame shape is for the background of such panel. Set the stroke as nothing and set the fill to some gradient color to create the feeling of space. I did that for all panels.


Then, there are a few ways to do the real outlines and colorings. Currently, I could thought of two.

The first method is to use the "Freehand" tool. With freehand tool, you could draw outlines with color at once. The only drawback is, this is just a outlined shaped with plain color. You might want to create more layers for highlights or shading. AFAIK, the advantages of this method are the speed of drawing by auto-filling and the conversation of file size by fewer strokes. This may be the better way of usage to a vector based design software.


The second method is to use the "Calligraphic" tool. Simply to say, you use Inkscape just as Painter, Artrage, MyPaint, etc. You set brush color by selecting fill color and set the stroke as nothing. With Intuos, I set thinning at -1 for constant "ink", fixation at 0 as I am not doing calligraphy, caps at 0 for round end of stroke, also have Tremor, Wiggle, Mass at 0. The advantages are, each stroke is able to be erased by "Eraser" tool. The eraser tool is even able to cut part of the strokes like sculpturing. I would be quite sure that no matter how good for a vector format storing lines, this is going to be an inefficient usage.

Besides, one could create with "Beizer" tool. This is more like using Paint-Tool SAI, that every node of the outlines is movable and the curves are tunable. I would not prefer to do comic with this except I am doing black and white / halftone comics. Because for me, this will be much more time consuming.


Compare to ComicStudio, I do not have pattern-fill materials ready from the box, do not have pre-defined pens / brushes ready, do not have pre-made frame templates and very fine implementation of layer functionalities. However, Inkscape is a great software. As long as in open source environment, I will pick Inkscape as my preferred comic editing tool.


May be, all comic artists need in Inkscape is a plugin which installs comic-specific pens/brushes, frames, fill-patterns; and a more user friendly of layer grouping function.


Okay, here is my first comic I have ever created. Enjoy and let me know about your feedback. :)


by Caius 'kaio' Chance (noreply@blogger.com) at 五月 15, 2010 04:43 上午

五月 14, 2010

Chen Yu (jcome)

五月 12, 2010

Fuzzy! News - FZUG

Fedora 13 延期至 5 月 25 日发布

因为 Anaconda 和  GRUB 等几个部件存在严重的 Bug,所以昨晚 FESCo 的 GO/NO-GO 会议后决定,Fedora 13 顺延一周后发布,以确保所有 Bug 都被修复好。

延迟发布在 Fedora 项目中显然不是第一次。因为 Fedora 每一个新版本都会包含大量新技术,难免需要更多时间调试和修正。Fedora  团队也希望能够向用户提供一个引领潮流而且质量可靠的操作系统。

公告原文:https://lists.fedoraproject.org/pipermail/announce/2010-May/002806.html

by liangsuilong at 五月 12, 2010 03:56 下午

LinuxToy - Fedora

Fedora 14 开发日程

虽然目前 Fedora 13 尚未发布,但随着 Fedora 14 代号(“Laughlin”)的公布,其开发日程也开始逐渐浮出水面。

据 Softpedia 报道,Fedora 14 将包含 Linux kernel 2.6.34、X.Org Server 1.9、GNOME 3.0、GCC 4.5 等。当然,其中有好些组件目前还没有正式发布。具体来说,Fedora 14 的开发日程安排如下:

  • 2010.8.17 - Alpha 测试版本
  • 2010.9.21 - Beta 测试版本
  • 2010.10.14 - RC 版本
  • 2010.10.26 - 正式发布

{ via Softpedia }

分类: Distros | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 15 评论 | 捐助本站

by Toy at 五月 12, 2010 12:22 下午

Fedora.cc

Fedora 13 Final 推迟到5月25号发布

Fedora 13 正式版又跳票了,来自Fedora List的pipermail显示,原计划18号发布的Fedora 13 final 版将推迟一个星期到5月25号发布!

—–BEGIN PGP SIGNED MESSAGE—–
Hash: SHA1

The F13 final readiness meeting, also known as the “go/no-go” meeting,
was held this evening.  As the meeting notes indicate, there are bugs
remaining on the blocker list:

http://lists.fedoraproject.org/pipermail/test/2010-May/090880.html

According to the release criteria[1], the decision was made to slip
the release of Fedora 13 by one week, to Tuesday 2010-05-25.

During composition of any further release candidates, the Fedora
Release Engineering and Quality Assurance teams plan to be
conservative in accepting fixes for the release, and will limit these
to blocker items and critical fixes.

The Fedora 13 release schedule[2] has been updated to reflect the new
release date.  We regret any inconvenience to the community.  Thank
you for your patience as we try to ensure the best possible Fedora
release.

* * *
[1] https://fedoraproject.org/wiki/Fedora_13_Final_Release_Criteria
[2] https://fedoraproject.org/wiki/Releases/13/Schedule

- –
Paul W. Frields
—–BEGIN PGP SIGNATURE—–
Version: GnuPG v2.0.14 (GNU/Linux)

iD8DBQFL6gZfrNvJN70RNxcRAovhAJ4gCqmdpUPjxqcUeZT/9Rufm2T1gQCgjHKw
d3Iuc1YktqutAtkkB/zI3l0=
=TpN+
—–END PGP SIGNATURE—–

by fedora at 五月 12, 2010 08:50 上午

Fedora 14开发代号及发布进程公布

Fedora 13发布在即,下一代系统Fedora 14终于确定了开发代号,详细的发布进程也同时公布。

Fedora 14的开发代号有六个候选者,经过社区投票后“Laughlin”成为最后的赢家,一共获得了610票,也延续了Fedora近年来以物理学家作为代号的传统。此前被认为可能性最大的Fytnargin反而相当冷清,只有403票,其他还有Laramie 594票、Ventnor 570票、Mitikas 482票、Hoppin 459票。

Laughlin来自著名的理论物理学家Robert B. Laughlin,1950年生于美国加里佛尼亚州,1998年荣膺诺贝尔物理奖,主要贡献是解释了分数量子霍尔效应,还提出了“整体大于部分之和”的概念,Fedora也正是取自这个寓意,代表它不仅仅是开源软件的简单组合。

新系统将包括最新的Linux技术,包括尚未发布的Linux Kernel 2.6.34、X.Org Server 1.9、GNOME 3.0、GCC 4.5等等。

Fedora 14 Laughlin的具体发布日程为:

2010年8月17日:Alpha预览版

2010年9月21日:Beta测试版

2010年10月14日:RC候选版

2010年10月26日:最终正式版

而在下周18日,Fedora 13 Goddard将会正式发布。 (来自驱动之家)

by fedora at 五月 12, 2010 04:58 上午

五月 10, 2010

LinuxToy - Fedora

Fedora 14 发布代号确定:Laughlin

Fedora 13 即将于本月底问世,而今天 Fedora 14 的发布代号已经确定为 Laughlin。

该名字取自诺贝尔物理学奖获得者 Robert B. Laughlin,和 Fedora 13 的发行代号 Goddard 同为物理学家。

Robert B. Laughlin 的主要贡献为解释了分数量子霍尔效应 。他同时还提出了“整体大于部分之和”的概念(一个遥远而神秘的声音说“格式塔心理学”), Fedora 正是取自这个寓意,代表不仅仅是开源软件的简单组合。

Fedora Wiki 寓意解释

投票结果公布邮件

消息来源:the grand fallacy

分类: Funny, News | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 7 评论 | 捐助本站

by 黑日白月 at 五月 10, 2010 08:18 下午

Fedora MIPS 架构移植计划

经过Fedora 中文用户组的开发者们的努力, Fedora 向 MIPS 架构的移植已经取得初步进展,希望对于 MIPS 平台嵌入式开发感兴趣的朋友一起加入进来。

该项目有两个主要目的:一是和 ARM 平台一样成为 Fedora 第二平台架构的组成部分;二是构建以 Fedora 为基础的生态圈,提供为小型设备特别优化的嵌入式 Linux 资源仓库。

当前 Fedora MIPS 平台的主要对象是龙芯 2F ,以后将逐步扩展到其他 MIPS 架构的处理器上。

现阶段移植以 Fedora 12 正式版为基础,可以在Fedora Wiki MIPS 项目页上找到 QEMU 镜像和 RPM 仓库。

目前项目小组由 gbraad, lazyfaiLonestar 组成,如果希望参与进来或者提供测试硬件的话,请与他们联系,或者访问 Fedora-MIPS IRC 频道

PS: 项目负责人 gbraad 即将于今年6月份前往北京,届时将会在Beijing Linux 用户组做关于 Fedora 中文社区发展的演讲。欢迎对 Fedora 、MIPS 或者两者都感兴趣朋友参加。

图片来源以及 Gbraad 英文博客原文

分类: Distros | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 15 评论 | 捐助本站

by 黑日白月 at 五月 10, 2010 05:33 下午

五月 07, 2010

Caius 'Kaio' Chance

TrueType 字型及 Liberation Fonts 現況

1. TrueType 字型導論

摘自維基:」TrueType is an outline font standard originally developed by Apple Computer in the late 1980s as a competitor to Adobe's Type 1 fonts used in PostScript.

The primary strength of TrueType was originally that it offered font developers a high degree of control over precisely how their fonts are displayed, right down to particular pixels, at various font heights (with widely varying rendering technologies in use today, pixel-level control is no longer certain).」

「TrueTyle 是蘋果電腦在 1980 年後期開發出來的框線字型標準,用以作為 Adobe 在 PostScript 中使用的 Type 1 字型的競爭者。

TrueType 最大長處是它提供字型開發者對字型顯示有高度準確的控制,在不同的字型高度都能直達個別的像素(在現今各種應用中的渲染技術下,像數級控制不再確定)。「

對 TrueType 有興趣,請到以下地方閱讀相關信息:
  • Apple TrueType Reference Manual - http://developer.apple.com/fonts/TTRefMan/
  • DejaVu Fonts - http://dejavu-fonts.org/
  • M$ Typography - http://www.microsoft.com/typography/
Liberation Fonts 是我現在在維護及開發,是以排版兼容 Arial (TM), Courier (TM), Times New Roman (TM) 為首務的字型項目: http://code.google.com/p/liberation-fonts/

2. Hinting 指令 及 點陣數據

TrueType 主要是向量格式。輸出到顯示器的像素上,當字型體積小的情況下,會有失真而清晰度不足的問題;於是有兩種解決方案出現了: Hinting  指令及點陣數據。

Hinting 指令是把一個字 (Glyph) 的描點,移到佔滿整個像素;它看上去像組合語言/彙編碼,很低階。它的好處是每個字元都只需要一系列的指令,就適 用到不同的體積;壞處是它的誤差會在極端情況下顯現出來。Hinting 指令比較適合在線條相對簡單的字型上,Liberation Fonts 初版就包含了。

點陣數據就是把字的點陣圖儲存在字型內。它的好處是點陣是只要一點被標記了,就百分百準確;壞處是一個點陣只能對應一個體積/解析度,通常有 9 - 12 常用的四副大小就很不錯了。點陣數據比較適合在線條相對複雜的字型上,像文泉驛某些字型就包含了。

其實 FontForge 支持了 Auto-Instruct (自動生成 Hinting 指令) 功能。這個我沒有實際測試過,跟手寫的 Hinting 指令的品質有多少差別還不太清楚;不過因為我對 Hinting 指令還沒有完全掌握,所以 Liberation Fonts 上任何更改過的字元,都會被描點改變而失去,而我只能用 Auto-Instruct 去補全。

3. 簡繁寫法、字根組合 與 TrueType 格式

簡 繁由於地域及歴史背景因素,產生了不同寫法;就算單從台灣及香港,或中國跟星馬地區,也存在一些差異。

李果正 (LGJ) 作了一個比較 - http://blog.bs2.to/post/EdwardLee/11884

TrueType 標準有字元的組合、位移、引用的功能,箇中原理就是利用像 GSUB (Glyph Substitution) 、 GPOS (Glyph Positioning) 表格變更字圖(Glyph)的外觀。

由於 Unicode 沒有對大中華中文寫法分出個別 codepoint (日本 Kanji、韓國 Hanja 多用上個別 codepoint 問題比較少) ,簡繁差異基本上必須更改字型數據。中文字是組合字,簡繁分野都是一些重複性的寫法 差別;不過字數龐大,每個檢查更改非常沒有效率。 

把中文字型擴展成組合形式將會是末來趨勢,文泉驛有某些字型已使用了組合方法,造出了空間比平時小的中文字型;而一直以來,都有開發者在研究中文字實時組合的技術。

因為文泉驛源出大陸地區,所以都使用了大陸寫法;我正在摸索如何基於原版,造出繁體/台式/康熙寫法。

by Caius 'kaio' Chance (noreply@blogger.com) at 五月 07, 2010 07:11 下午

Sun JRE 中文顯示問題

我多年前研究過 Sun JRE 中文顯示的問題。 SUN JRE Linux 版當時對字體位置是 hard coded 的, 我曾經去信 SUN 開發那邊詢問, 不過從來沒有收到回覆。

後來是進去 JRE 安裝後的文件夾, 找出字型位置的配置檔, 改成正確的位置; 記得好像 JRE 指向的是舊版本 RHL/FC 的位置, 還是不管地只指了 RHEL 內 uming 的位置。 反正這些 hard coded 的位置從來都不可靠, 作為 cjkuni-fonts / uming 包的維護者, 只能為了蒹容性, 讓步地加上軟連結讓這些第三方軟件使用字型。

當然, 最好的辦法是 JRE 會向 fontconfig 查找字型位置。 不過我想, 就算 IcedTea 是開源, 都總要有個對 Java 、 fontconfig 、 CJK 有一些經驗的牛人發補丁吧!?

P.S. 感覺 IcedTea 的兼容性好像提高了很多, 大部分的 java 軟件都跑得很好; 不像幾年前用 Azereus (now called Vuze) 藍箭毒蛙的時候, 用 IcedTea 會全變成 unicode 碼的檔名。 (雖然後來我都轉用了支持 bitcomet DHT 的 Deluge)

by Caius 'kaio' Chance (noreply@blogger.com) at 五月 07, 2010 07:02 下午

五月 04, 2010

Wu Pengchong (rocrocket)

科普“一千G是多少”

简单记录在此,也方便大家查看。

B,字节(Byte)

KB,千字节(KiloByte)

MB,兆字节(MegaByte)

GB,吉字节(GigaBtye)

TB,太字节(TrillionByte)

PB,拍字节(PetaByte)

EB,艾字节(ExaByte)

ZB,泽字节(ZettaByte)

YB,尧字节(JottaByte)

BB,波字节(BrontoByte)

ps: 从上到下,为等比数列,公比为10e3。(准确的说是1024)

ps: 我猜twitter一天的信息量应该有1太吧。

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 五月 04, 2010 01:06 下午

科普“Ad hoc网络”

最近在看关于分布式的东西,其中涉及到Ad Hoc的思想,在这里和大家科普一下这个概念,可能你觉得这个概念和你研究的东西没有关系,但是我建议你了解一下,以后一定会有潜移默化的好处。

文章内容由百度百科精简而来。
===
为什么需要Ad hoc

我们经常提及的移动通信网络一般都是有中心的,要基于预设的网络设施才能运行。例如,蜂窝移动通信系统要有基站的支持;无线局域网一般也工作在有AP接入点和有线骨干网的模式下。但对于有些特殊场合来说,有中心的移动网络并不能胜任。比如,战场上部队快速展开和推进,地震或水灾后的营救等。这些场合的通信不能依赖于任何预设的网络设施,而需要一种能够临时快速自动组网的移动网络。Ad hoc网络可以满足这样的要求。

Ad hoc的思想

在Ad hoc网络中,结点具有报文转发能力,结点间的通信可能要经过多个中间结点的转发,即经过多跳(MultiHop),这是Ad hoc网络与其他移动网络的最根本区别。结点通过分层的网络协议和分布式算法相互协调,实现了网络的自动组织和运行。

Ad hoc的特点

Ad hoc网络是一种特殊的无线移动网络。网络中所有结点的地位平等,无需设置任何的中心控制结点。网络中的结点不仅具有普通移动终端所需的功能,而且具有报文转发能力。与普通的移动网络和固定网络相比,它具有以下特点:

  • 无中心:Ad hoc网络没有严格的控制中心。所有结点的地位平等,即是一个对等式网络。结点可以随时加入和离开网络。任何结点的故障不会影响整个网络的运行,具有很强的抗毁性。
  • 自组织:网络的布设或展开无需依赖于任何预设的网络设施。结点通过分层协议和分布式算法协调各自的行为,结点开机后就可以快速、自动地组成一个独立的网络。
  • 多跳路由:当结点要与其覆盖范围之外的结点进行通信时,需要中间结点的多跳转发。与固定网络的多跳不同,Ad hoc网络中的多跳路由是由普通的网络结点完成的,而不是由专用的路由设备(如路由器)完成的。
  • 动态拓扑:Ad hoc网络是一个动态的网络。网络结点可以随处移动,也可以随时开机和关机,这些都会使网络的拓扑结构随时发生变化。

Ad hoc应用领域

  • 军事应用:它是数字人战场通信的首选技术。Ad hoc网络技术已经成为美军战术互联网的核心技术。美军的近期数字电台和无线互联网控制器等主要通信装备都使用了Ad hoc网络技术。
  • 传感器网络:传感器网络是Ad hoc网络技术的另一大应用领域。考虑到体积和节能等因素,传感器的发射功率不可能很大。使用 Ad hoc网络实现多跳通信是非常实用的解决方法。分散在各处的传感器组成Ad hoc网络,可以实现传感器之间和与控制中心之间的通信。这在爆炸残留物检测等领域具有非常广阔的应用前景。
  • 紧急和临时场合:在发生了地震、水灾、强热带风暴或遭受其他灾难打击后,固定的通信网络设施(如有线通信网络、蜂窝移动通信网络的基站等网络设施、卫星通信地球站以及微波接力站等)可能被全部摧毁或无法正常工作,对于抢险救灾来说,这时就需要Ad hoc网络这种不依赖任何固定网络设施又能快速布设的自组织网络技术。类似地,处于边远或偏僻野外地区时,同样无法依赖固定或预设的网络设施进行通信。 Ad hoc网络技术的独立组网能力和自组织特点,是这些场合通信的最佳选择。
  • 个人通信:个人局域网(PAN,Personal Area Network)是Ad hoc网络技术的另一应用领域。不仅可用于实现PDA、手机、手提电脑等个人电子通信设备之间的通信,还可用于个人局域网之间的多跳通信。蓝牙技术中的超网(Scatternet)就是一个典型的例子。

===

文字可能比较多,但字字重要,仔细阅读一遍即可,领会思想,一定受益匪浅。

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

Random Posts

by rocrocket at 五月 04, 2010 12:51 下午

五月 02, 2010

Caius 'Kaio' Chance

Liberation Font 的 CVT

Liberation Fonts 加入了 Sun 捐出的 Sans Narrow 字型, 那是由 Sans 改版的; 每個字的描邊現論上是沒有改變的, 只是寛度上的一些調整。 不過, Narrow 的開發者 Hebert 作出了一個很突破的行動: 把 Hinting Instructions 完全丢棄。 這對我來說有如當頭棒喝。

當從原設計公司 Ascender 那邊送過來的成品是 TTF 格式的, 後來為了開源, 我組決定了以 FontForge 轉換成 SFD 格式;  之後我一直卡在 "如何在轉換過程仍保留原有數據" 的難題上, 不斷嘗試以各種方法確認數據的完整性、 請教了很多字型專家。

結果是, 要對不完整性作出無奈的妥協。

然後字型也因為沒有辦法知道 “控制數據表格” (Control Value Table, TTF 字型內每個字共用的全域表格) 的規格, 而對加入 Hinting Instructions 一籌莫展。 (當中也有些詳程是不能公開的) Hinting Instructions 是像組合語言的指令, 基本上可以幫助 Rasterizer 移動字型輸出時候的點陣, 更清淅的顯示字型。

也因此, 一些新字加入請求, 要不加入後被追加 "新字發虚" 的 bug report , 或請求新字的 bug report 長期閒置。

得到 Narrow 字型後, 我順道請教 Herbert 他的作法, 得到的是: CVT 是被直接丢掉了! 原因是: 既然 CVT 規格沒有辦法直接獲得, 字體描點被移動了令原來的 Hinting Instructions 不能再用, 那就不需要 CVT 了。 而他通過 Narrow 證明了可行性, 也使我有將現有字型如法泡製的計劃。

剛讀了 MS 網站上有關字型的文件, 後開始看 Apple 網站上有關字型的文件; 這星期會把 bugzilla 上的 bug report 處理一下, 然後再踏上字型改進的步伐。

by Caius 'kaio' Chance (noreply@blogger.com) at 五月 02, 2010 05:26 上午

四月 30, 2010

LinuxToy - Fedora

Fedora 暑期代码大赛:Ailurus

还记得先前报道的 Fedora 暑期代码大赛么?如果你是一名熟悉 Python+GTK 的学生,利用这个暑期为 Homer_xing 主导的 Ailurus 项目做贡献是个不错的选择,除了锻炼自己的 coding skill 外还可以获得红帽 $2500 USD 的赞助。

以下内容转载自 Fedora 中文邮件列表 BY Homer_xing:

Fedora编程之夏 (Fedora Summer Coding),是学生参与开源项目,并获得 Red Hat 的资助,每个学生获得资助 $2500 USD 或者 $5000 USD

“可定制的软件安装器”是项目之一。软件安装器是 Fedora 里的 GPK,Debian 里的“新立得”这样的程序。

项目的目标是“可定制”,将完成以下功能:

  • 用户可以修改软件的说明,比如加一段注释
  • 用户可以增加软件条目,只要这个软件在 Fedora 源里。用户只需要提供一个 package name。
  • 用户可以删去软件条目。
  • 经过用户许可后,用户进行的改动可以上传到 google app-engine 的 web service
  • 支持插件。用户可以增加自定义的API。

项目是在 Ailurus 上增加代码。 Ailurus 针对特定的任务列出特定的软件,而不是把Fedora源里的所有的软件都列出来。 使用者能迅速找到所需的软件,而不是在一个大列表中进行搜索。详情见 http://ailurus.googlecode.com

希望申请人有: 致力于把事情做得更好的精神 较强的语言表达能力,沟通能力 Python+GTK编程经验

如何申请: 发简历到 homer.xing [At] gmail.com,截止日期是 五月十三日

FAQ:

  • Red Hat 直接资助您,而不是资助 homer xing。每个人 $2500(编程一个月) 或者 $5000(编程两个月)
  • 您写的程序以 GPL v2 协议发布。您拥有版权。

全部日程:
         从现在起 - Students can begin submitting applications
   * May
         Whole month - students, mentors, and sub-projects get to
know each other
         13 May - Mentors need to finish idea pages
         20 May - Students applications + proposals need to be in
         21 May - Sponsors must pledge funding by this point
         24 May - Organizers finalize how many applications will be accepted
         27 May - Mentors + admins finalize rank-ordered list
         28 May - Students informed yes/no about application
   * June
         Whole month - code, interact
         01 June - Project begins (depending on proposal)
   * July
         5 July - Midterm evaluations period begins
         12 July - Midterm evaluations due
   * August
         09 August - Project coding completes
         16 August - Students final report, code snapshot, and evaluations due
         20 August - Mentor evaluations due for students
         23 August - Final evaluations due back to students
         25 August - Mentor, sub-project evaluations due
   * September
         01 September - Sponsors receive report from organizers
         06 September - Sponsors release and deliver funds (proposed date)

转载结束

欢迎有兴趣的学生朋友们与 Homer_xing 联系。

分类: News | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 9 评论 | 捐助本站

by 黑日白月 at 四月 30, 2010 09:20 下午

四月 29, 2010

LinuxToy - Fedora

Fedora 13 Final TC1 发布

计划于5月18日发布的 Fedora 13 今日发布了 Final TC1 版本,意味着本次版本的发布已经进入最后测试阶段。

这个阶段的测试分为两部分,一部分测试安装镜像,另一部分测试各类桌面环境的 Spin。

对于安装部分,包括在现有 Ext3 和 Ext2 分区格式上安装、从硬盘安装、从现有版本升级等。

对于桌面镜像,包括菜单完整度、是否有错误报告和面板功能等。

绝大多数测试使用虚拟机即可完成,欢迎尝试并汇报结果至以下页面:

完整安装测试说明

完整桌面镜像说明

Fedora 13 Final TC1 安装镜像下载

Fedora 13 桌面 Nightly Build 镜像下载

分类: Distros | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 22 评论 | 捐助本站

by 黑日白月 at 四月 29, 2010 11:31 下午

四月 28, 2010

Caius 'Kaio' Chance

[Translation] The Code Review which we did not know.

(Translated into English, from http://michael.nona.name/archives/233 .)

Stayed for too long is like poured by a bucket of berry jam from the head to toes - the sweetness tastes the same everywhere. When the first time I saw code review had become such a heavy and inefficient activity, I then knew what beyond the berry jam, is air, the air that contains the breathes of mother nature, that mostly flavourless, or in tobacco flavour, or in smell of car exhaust.

Let's have a look on a process of code review we observed:

  • Developer was assigned a mission.
  • A week after, the code has been implemented. He was not too sure, and would like to have a review by business analysts and technical experts. At the moment, his code still has not been committed. So, he put together all changed but uncommitted files and packed into RAR archive. He found those who he believed are technical and business experts, booked a meeting room, spread email invitations. Then, 2 hours have passed.
  • Technical experts and business analysis experts received the emails. Because of deficiency of context understanding, and the source codes in thousands of line, these kind of emails are usually be ignored - it is just a waste of time.
  • Finally, the date of Code Review has arrived. A few people attended. It used to be not a full house, as an experts are supposed to be busy.
  • Then, the author of the source code started to explain the code line by line. At the first tens of minutes, the gang of experts could even understood nothing - such code is the production of a whole week, it needs some digestion. 30 minutes after, experts provide suggestions. The suggestions consist of syntax and coding standards, possible errors on business model, relationship between modules, etc. Such experts! 2 hours later, the experts left.
  • The developer humbly took those comments into a notebook.
  • The developer may carry correspond changes according to the suggestions from the experts and commit, or may not; he might made that correctly, he might be not. The follow ups of the review became a black hole...
  • End of the story.
Think about the issues in the process.

 Firstly, the value of the code review has to be recognized. When the experts were doing code review, they could use experiences to avoid happening of fatal flaws and supply valuable guidance to developers. However, this takes too long and is too inefficient.

Code Review has to base on facts. The facts mentioned in here, is source repository. A local SVN or HG/GIT repository in collaboration environment is basically unreliable - you could never predict are they going to be a part of the ultimate deliverables.


The accumulation of numerous changes of source code, made the way of creating heavy and inefficient communication to be a must. This sort of mass communication often costs terribly - it occupies the top people badly.

Over-emphasized functionalities of experts. By experiences, the problems that finally discovered, are traced to be some simple logic mistakes. When we are doing pair-programming or something more interactively, it should be quite easy to be discovered in more frequent review processes. In many cases, this is because the developers know not enough about common bad smells, and these bad smells are usually where caused problems. For example, there is a new condition check added to a triple nested loop without testing, no comments on a change on return value of a function, a if-condition contains a comparison on 4 to 5 variables without abstracted into a method with a better business logic, etc.


The way of review is prehistoric. Review has to base on changes. The ones who read charts know, the most important of a chart is its trends and turning points. Code review is the same - you just need to see the changes. Modern tools like SVN/Hg/Git provided us rich tools of changeset comparison. It just takes 10 - 15 minutes to check out all commit logs of whole team in a day.

In agile development, code review is almost something does not exist - we did not not doing it but we did do it without knowing we did. When we doing pair-programming, we will have opinions on the programming habits, new created classes or variable of our peer of pair programming. When a change is committed, there are code checking tools, unit testing tools, coverage tools to check if we have made simple silly mistakes, if we have broke current functionalities. Recurrent build system remained neutral, carries out all processes for every single commit by us without a nag.

Code review is not a review procedure. It is a knowledge sharing and feedback procedure.

by Caius 'kaio' Chance (noreply@blogger.com) at 四月 28, 2010 03:33 下午

四月 27, 2010

LinuxToy - Fedora

Fedora 13 高级存储测试

Fedora 13 的安装器 Anaconda 做了大幅度修改,重新设计了磁盘管理部分。目前对于其中的企业级设备安装的测试结果很少,希望有条件的朋友帮忙测试下~

这次的测试门槛有些高,估计也是结果偏少的原因,各位量力而行,慎重

流程:

  1. 下载 Nightly Build LiveCD
  2. 尝试安装到 RAID, SCSI, ISCSI, FCoE 等企业级存储设备上。
  3. 汇报结果及 Bug 到本次测试 Wiki 页面上。

详细说明

分类: Distros, News | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 14 评论 | 捐助本站

by 黑日白月 at 四月 27, 2010 12:12 下午

四月 25, 2010

LinuxToy - Fedora

让 Linux 更好用: Ailurus 10.04.2 发布

{ 撰文/Homer }

Ailurus 是让 Linux 更好用的程序。现在 10.04.2 版已经发布了。

ailurus-10042

主要改进是,可以单独启动特定功能。除了“安装软件”功能外,其它功能都能在一秒钟内启动。快捷方式在“应用程序”菜单->“系统工具”项->“Ailurus - 快速启动”项中。

其它的改进是:

系统信息方面:
增加 OpenGL 版本号

系统设置方面:
说明了一键更改字体大小的原理
修正了“加速Firefox”的错误
改变登录窗口图片
取消清理操作时,不会出错

软件安装方面:
优化了软件安装流程
显示所装的软件的发行协议
增加“硬件”, “语言支持”, “嵌入式系统”, “Nautilus
右键菜单”分类
增加 Acire,一个管理 Python 代码片段的工具
增加 Eclipse VEditor,写 Verilog 的工具
增加编辑视频的软件 PiTiVi
增加 World of padman,一个3D射击游戏
增加 Firefox Stylish 插件,可以改变网页外观
增加 ImageMagicK,一个图片编辑程序
增加 OSD-Lyrics,显示歌词的程序

系统清理方面:
增加清空最近的文档,清空APT缓存,清理内核,清空Ailurus缓存功能

搜索最快的源方面:
显示大约剩余多少秒

其它改进:
修正了上一版中的 bug
改进了“快速安装热门软件”,减少界面点选次数
载入图标失败时不会异常退出
修正了Fedora上,检查新版本的代码

Ailurus 可以在 Ubuntu 8.04~10.04, Fedora 11~13 上使用。

Ubuntu 用户这样安装

sudo add-apt-repository ppa:ailurus
sudo apt-get update
sudo apt-get install ailurus

Fedora 用户这样安装

su -c 'wget http://homerxing.fedorapeople.org/ailurus.repo -O /etc/yum.repos.d/ailurus.repo'
su -c 'yum makecache'
su -c 'yum install ailurus'

项目主页 http://code.google.com/p/ailurus/

源代码在这 http://github.com/homerxing/Ailurus/

欢迎您的参与

http://wiki.github.com/homerxing/Ailurus/join-ailurus-development

{ Thanks Homer. }

分类: Apps, Tools | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 10 评论 | 捐助本站

by Toy at 四月 25, 2010 01:08 上午

四月 23, 2010

LinuxToy - Fedora

Fedora 13 倒计时完全中文版

Fedora 13 预期5月18日发布,在 Fedora 本地化小组的努力下(感谢 tian) 下,倒计时牌完全中文版上线了,欢迎添加到你的网站上。

效果请访问 Fedora 中文主页,获取 JavaScript 脚本请点击这里

分类: Distros, Funny | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 15 评论 | 捐助本站

by 黑日白月 at 四月 23, 2010 10:25 上午

四月 22, 2010

Wu Pengchong (rocrocket)

我的JAVA_HOME在哪里?

一些软件需要在配置中指名JAVA_HOME,而我的java到底在哪里?

答案:

在fedora中,/usr/lib/jvm/jre-1.6.0-openjdk

在ubuntu中,/usr/lib/jvm/java-6-sun

另外,推荐一篇在linux里安装java的文章:

http://www.advancedwebstats.com/user-guide/html/en/ch05s03.html

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 四月 22, 2010 07:05 上午

四月 21, 2010

LinuxToy - Fedora

Fedora 14 开发代号命名投票开始

Fedora 13 预期将在5月18日发布,不过现在已经开始对 Fedora 14 的开发代号进行投票啦~

与 Ubuntu 的 26 个字母动物园不同,Fedora 是个创意填词游戏,形式如下:

Goddard is a , and so is .

比较没创意的譬如“ Goddard is a scientist, and so is Shannon. ”是没戏的。

目前似乎呼声有些大的是 Bacon: Willoughby Goddard is a legendary actor, and so is Kevin Bacon. 不过相信大多数人更熟悉 Bacon 的另外一个含义:熏猪肉…………

查看更多有趣的提议或者提交你的创意 投票日期截止 4月27日.

消息来源: Phoronix

分类: Distros, Funny | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 9 评论 | 捐助本站

by 黑日白月 at 四月 21, 2010 11:55 下午

四月 20, 2010

Wu Pengchong (rocrocket)

四月 18, 2010

Liang Suilong

VirtualBox的2D视频加速测试

VirtualBox在3.1.0的版本引入了一项新特性,2D视频加速。这项特性的目的是让虚拟机内的视频提速起来,即使高清影片,播放起来也会十分流畅。

要说起这个VirtualBox 2D视频加速用的是什么原理,和Mike在推特上讨论了好一阵子它的原理,。我一直以为VirtualBox可以调用实体显卡进行硬件解码,从而可以减轻虚拟CPU的运算负担。其实不然,VirtualBox只是把视频播放中的画面渲染这个步骤,通过特殊的通道把GLX指令转发到实体机系统上进行渲染。这种办法的好处在于不再需要担心虚拟机羸弱的虚拟显卡性能,即使性能不足,也可以流畅地在虚拟机内播放视频。然而视频音频的解码依然需要由虚拟CPU完成。如果虚拟CPU性能不足,在播放高清影片的时候依然会导致掉帧卡机的情况。实际上这也没有办法之中的好办法,起码不会因为虚拟显卡的性能不足而导致画面渲染不连续。

先来测试效果,还是用着学校的老电脑:AMD 4200+,4GB RAM,8600GT显卡,1TB硬盘。实体机的操作系统是Fedora 12 x86_64。而虚拟机配置是双核心虚拟CPU,1GB RAM,128MB显卡。虚拟机系统为Windows XP。播放器是splayer,测试片源为北京奥运开幕式NBC的720P H.264版本。VirtualBox是3.1.6。

在虚拟机内,有着双核的带动,软解压720P的影片似乎不甚吃力,CPU使用率一般都在40%附近。进行其他操作很容易让CPU使用率突然飙升,这在虚拟机倒是十分平常的事情。即使全屏播放,也十分流畅。最大最小化和全屏之间的切换也十分平滑,没有拖泥带水。

不过当时因为时间仓促没有测试关闭2D视频加速的效果,回到家里的Debian Unstable,却是打开不了这个选项。回去再看看Fedora 13,则是可以启用2D视频加速。试试在Debian里编译mesa-7.9,更新以后,也可以了。或许是这项特性需要的是OpenGL 2.0或者以上的支持吧。因为HD3650在mesa-7.7.1还只有OpenGL 1.5,而OpenGL 2.0则是要到mesa-7.8以后的版本。

在家里电脑的测试中,虚拟机内存还是1GB,同样的片源在开启2D视频加速还算流畅,CPU使用率比学校的电脑高了不少,这应该和OpenGL的性能有关,毕竟mesa驱动的性能和NVIDIA专有驱动要慢不少。另外还有一个原因就是家里的E2160是没有VT的,只能在虚拟机内使用一个内核,这也是制约解码性能的一个重要因素。

至于关闭了2D视频加速的情况则有点惨不忍睹了,视频播放感觉不流畅,而且CPU长期处于90%的状态,看来软解压不怎么行了,况且虚拟CPU还需要负担图形界面加速和画面渲染的工作,有点负担不过来了。

VirtualBox的2D视频加速有点让人失望,正如前文所说到的,不能应用GPU的硬解码。而且本身虚拟显卡在安装了增强功能包以后也有一定的2D加速能力,只要虚拟CPU性能足够强劲,解码器也足够地省资源,在虚拟机内播放视频还是很流畅的。不过在播放高清视频的时候,虚拟CPU已经需要负担沉重的食品解码任务,若是再承担画面渲染和2D图形加速则会应付不来。早前听网友说如果没有这项特性的确会让虚拟机全屏和最大最小的切换中导致影片播放不流畅的情况出现。看起来,这个特性还不是一无是处的,至少能够确保视频播放不会因为画面渲染性能问题而导致的不流畅出现。从这个特性也可以说明,视频加速是通过OpenGL实现的,并非实体GPU硬解码特性实现的。在老一点的显卡上,只要有OpenGL 2.0的支持,要实现虚拟机内的视频加速,也是可以的。只是能够加速多少,则取决于实体显卡的OpenGL 2.0性能了。这在Linux里面,驱动很影响一切的。

要想在虚拟机内引入GPU硬件解码并不是一件容易的事情,因为各家GPU厂商实现GPU硬件解码的办法都不一样,要做起来会十分困难。或许Xen的一个做法可以值得考量。利用IOMMU直接访问实体显卡,从而让GPU的所有特性都能应用在虚拟机内,包括3D加速、GPU解码甚至是GPU通用运算等。当然Gallium3D也具备OpenCL通用运算特性,若是把这项特性应用到虚拟显卡中,则能够进一步让视频解码提速。

补充测试,今天回到学校,还是用回4200+的电脑,测试了一次关闭2D视频加速的情况。打开720P的视频,虽然不算卡,但是CPU使用率已经达到了60%附近了,提高了近一倍。如果把播放最大化或者全屏播放,出乎意料的是虽然CPU使用率还是60%附近,但是视频则变得异常不流畅,比一台四五年前的老电脑更卡。这样看来要有强劲的CPU进行解码还不行,或许这个视频加速还需要有显卡的OpenGL加速才足够呢。

by liangsuilong at 四月 18, 2010 07:37 下午

四月 17, 2010

Wu Pengchong (rocrocket)

vim快捷键速查图

虽然你自认为是vim高手,可以说出很多很多事半功倍的快捷键,但是一定还有一些不为人知的很好的快捷键。分享一张vim快捷键速查图吧,贴在公司工位前,大家一起事半功倍!

建议大家收藏一张,绝对有用!

[点击小图看大图]

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 四月 17, 2010 06:18 上午

四月 13, 2010

LinuxToy - Fedora

Fedora 13 Beta 发布

经过近一周的沉默, Fedora 13 Beta 终于发布了。

本次 Beta 版本有如下改善:

  • 添加了对应的 PackageKit 扩展,支持打印机驱动自动安装(包含在仓库里的开源驱动)。
  • 强化桌面体验,默认安装了 Shotwell 照片管理、Deja-dup 远程备份、Pino 微博客户端和 Simple Scan 扫描仪工具。
  • NetworkManager 简化了对于 3G 网络链接和蓝牙拨号的配置,并增加了命令行界面。
  • 更新了 libimobiledevice 库,可以通过 Rhythmbox 管理 Apple iPod, iTouch 和 iPhone 中的歌曲。
  • 添加 Python3 并行安装支持,并且改善 Python/C++ 混合程序的 gdb 支持。
  • 通过新的 NetBeans 6.8 带来完整 Java EE 6 支持。
  • 增加 Zarafa 协同工作套件。
  • Btrfs 快照支持, yum 可以在安装或更新软件包时自动创建轻量级的 Btrfs 系统快照。

PS: 本人从 Alpha 升级一路升级上来,主要是修正了这段时间的 Bug 和更新,其他技术性具体内容可以参照原 Fedora 13 Alpha 时的报道的内容。

完整英文发布公告

下载地址

分类: Distros | 永久链接 | 收藏到 del.icio.us | Email 给好友 | 15 评论 | 捐助本站

by 黑日白月 at 四月 13, 2010 02:53 下午

四月 09, 2010

Caius 'Kaio' Chance

四月 07, 2010

Wu Pengchong (rocrocket)

[转]常用字符集编码详解

转自:http://www.douban.com/group/topic/6922168/

ASCII

ASCII码是7位编码,编码范围是0×00-0×7F。ASCII字符集包括英文字母、阿拉伯数字和标点符号等字符。其中0×00-0×20和0×7F共33个控制字符。

只支持ASCII码的系统会忽略每个字节的最高位,只认为低7位是有效位。HZ字符编码就是早期为了在只支持7位ASCII系统中传输中文而设计的编码。早期很多邮件系统也只支持ASCII编码,为了传输中文邮件必须使用BASE64或者其他编码方式。

GB2312

GB2312是基于区位码设计的,区位码把编码表分为94个区,每个区对应94个位,每个字符的区号和位号组合起来就是该汉字的区位码。区位码一般用10进制数来表示,如1601就表示16区1位,对应的字符是“啊”。在区位码的区号和位号上分别加上0xA0就得到了GB2312编码。

区位码中01-09区是符号、数字区,16-87区是汉字区,10-15和88-94是未定义的空白区。它将收录的汉字分成两级:第一级是常用汉字计 3755个,置于16-55区,按汉语拼音字母/笔形顺序排列;第二级汉字是次常用汉字计3008个,置于56-87区,按部首/笔画顺序排列。一级汉字是按照拼音排序的,这个就可以得到某个拼音在一级汉字区位中的范围,很多根据汉字可以得到拼音的程序就是根据这个原理编写的。

GB2312字符集中除常用简体汉字字符外还包括希腊字母、日文平假名及片假名字母、俄语西里尔字母等字符,未收录繁体中文汉字和一些生僻字。可以用繁体汉字测试某些系统是不是只支持GB2312编码。

GB2312的编码范围是0xA1A1-0×7E7E,去掉未定义的区域之后可以理解为实际编码范围是0xA1A1-0xF7FE。
EUC-CN可以理解为GB2312的别名,和GB2312完全相同。

区位码更应该认为是字符集的定义,定义了所收录的字符和字符位置,而GB2312及EUC-CN是实际计算机环境中支持这种字符集的编码。HZ和ISO- 2022-CN是对应区位码字符集的另外两种编码,都是用7位编码空间来支持汉字。区位码和GB2312编码的关系有点像 Unicode和UTF-8。

GBK

GBK编码是GB2312编码的超集,向下完全兼容GB2312,同时GBK收录了Unicode基本多文种平面中的所有CJK汉字。同 GB2312一样,GBK也支持希腊字母、日文假名字母、俄语字母等字符,但不支持韩语中的表音字符(非汉字字符)。GBK还收录了GB2312不包含的汉字部首符号、竖排标点符号等字符。

GBK的整体编码范围是为0×8140-0xFEFE,不包括低字节是0×7F的组合。高字节范围是0×81-0xFE,低字节范围是0×40-7E和0×80-0xFE。

低字节是0×40-0×7E的GBK字符有一定特殊性,因为这些字符占用了ASCII码的位置,这样会给一些系统带来麻烦。
有些系统中用0×40-0×7E中的字符(如“|”)做特殊符号,在定位这些符号时又没有判断这些符号是不是属于某个 GBK字符的低字节,这样就会造成错误判断。在支持GB2312的环境下就不存在这个问题。需要注意的是支持GBK的环境中小于0×80的某个字节未必就是ASCII符号;另外就是最好选用小于0×40的ASCII符号做一些特殊符号,这样就可以快速定位,且不用担心是某个汉字的另一半。Big5编码中也存在相应问题。

CP936和GBK的有些许差别,绝大多数情况下可以把CP936当作GBK的别名。

GB18030

GB18030编码向下兼容GBK和GB2312,兼容的含义是不仅字符兼容,而且相同字符的编码也相同。GB18030收录了所有Unicode3.1中的字符,包括中国少数民族字符,GBK不支持的韩文字符等等,也可以说是世界大多民族的文字符号都被收录在内。

GBK和GB2312都是双字节等宽编码,如果算上和ASCII兼容所支持的单字节,也可以理解为是单字节和双字节混合的变长编码。GB18030编码是变长编码,有单字节、双字节和四字节三种方式。
GB18030的单字节编码范围是0×00-0×7F,完全等同与ASCII;双字节编码的范围和GBK相同,高字节是0×81-0xFE,低字节的编码范围是0×40-0×7E和0×80-FE;四字节编码中第一、三字节的编码范围是0×81-0xFE,二、四字节是0×30-0×39。

Windows中CP936代码页使用0×80来表示欧元符号,而在GB18030编码中没有使用0×80编码位,用其他位置来表示欧元符号。这可以理解为是GB18030向下兼容性上的一点小问题;也可以理解为0×80是CP936对GBK的扩展,而GB18030只是和GBK兼容良好。
unicode

每一种语言的不同的编码页,增加了那些需要支持不同语言的软件的复杂度。因而人们制定了一个世界标准,叫做unicode。unicode为每个字符提供了唯一的特定数值,不论在什么平台上、不论在什么软件中,也不论什么语言。也就是说,它世界上使用的所有字符都列出来,并给每一个字符一个唯一特定数值。
Unicode的最初目标,是用1个16位的编码来为超过65000字符提供映射。但这还不够,它不能覆盖全部历史上的文字,也不能解决传输的问题 (implantation head-ache’s),尤其在那些基于网络的应用中。已有的软件必须做大量的工作来程序16位的数据。
因此,Unicode用一些基本的保留字符制定了三套编码方式。它们分别是UTF-8,UTF-16和UTF-32。正如名字所示,在 UTF-8中,字符是以8位序列来编码的,用一个或几个字节来表示一个字符。这种方式的最大好处,是UTF-8保留了ASCII字符的编码做为它的一部分,例如,在UTF-8和ASCII中,“A”的编码都是0×41.
UTF-16和UTF-32分别是Unicode的16位和32位编码方式。考虑到最初的目的,通常说的Unicode就是指UTF-16。在讨论Unicode时,搞清楚哪种编码方式非常重要。

UTF-8

Unicode Transformation Format-8bit,允许含BOM,但通常不含BOM。是用以解决国际上字符的一种多字节编码,它对英文使用8位(即一个字节),中文使用24为(三个字节)来编码。UTF-8包含全世界所有国家需要用到的字符,是国际编码,通用性强。UTF-8编码的文字可以在各国支持UTF8字符集的浏览器上显示。如,如果是UTF8编码,则在外国人的英文IE上也能显示中文,他们无需下载IE的中文语言支持包。

GBK的文字编码是用双字节来表示的,即不论中、英文字符均使用双字节来表示,为了区分中文,将其最高位都设定成1。GBK包含全部中文字符,是国家编码,通用性比UTF8差,不过UTF8占用的数据库比GBD大。

GBK、GB2312等与UTF8之间都必须通过Unicode编码才能相互转换:

GBK、GB2312--Unicode--UTF8

UTF8--Unicode--GBK、GB2312

对于一个网站、论坛来说,如果英文字符较多,则建议使用UTF-8节省空间。不过现在很多论坛的插件一般只支持GBK。

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

Random Posts

by rocrocket at 四月 07, 2010 05:12 上午

四月 06, 2010

Tiansworld

计算机术语简繁繁简对照表 A terminology comparison list for en, zh_CN, zh_TW, zh_HK

由于计算机术语的翻译在简体中文和繁体中文之间有较大差异。为了让繁体、简体用户及翻译人员能够互相熟悉了解各自英文术语的翻译,促进交流协作,上个月专门在Google Docs上建立了一个术语对照表。
文档地址:http://spreadsheets.google.com/ccc?key=0Av2Nh83ucp7fdE8zV3hRbk9QU2ZFdlBJbjdmZXV2dEE&hl=en_GB
本术语表使用CC-BY-SA授权,可自由浏览。
编辑则需先加入Fedora Chinese邮件列表(chinese at lists.fedoraproject.org),并且还要有Google Docs帐号。

本术语表目前仍处于完善之中。欢迎各位爱好者前来参与编辑。
谢谢大家。协作的力量不可估量!

Hi everyone,
The translation work is a time-consuming work but sometimes it’s interesting.
Some English terminologies have different translations among zh_CN,
zh_TW and zh_HK. So for the Chinese translator‘s(including zh_CN,
zh_TW, zh_HK) convenience and reference, we now working a
terminology comparison list.

This list now can be publicly viewed and can be edited if you have
subscribed Fedora Chinese mail list(chinese at lists.fedoraproject.org)
and have a Google docs account(we use Google docs just for
collaboration easily) now.
You may find it here:
http://spreadsheets.google.com/ccc?key=0Av2Nh83ucp7fdE8zV3hRbk9QU2ZFdlBJbjdmZXV2dEE&hl=en_GB
The list follows CC-BY-SA license.

We welcome all of you adding new words for us.
We welcome all of you viewing the list if you just want to learn some
Chinese or for other purpose.

Thanks a lot

by tiansworld at 四月 06, 2010 06:21 上午

四月 05, 2010

Liang Suilong

Terrible Experience: Upgrade to Fedora N+1

Following the old article written in Chinese, I am annoyed at cross-release upgrade in Fedora. Preupgrade gived me a very bad impression. I upgraded from Fedora 12 to Fedora 13 by preupgrade but I failed.

Preupgrade is designed to help user upgrade to the latest Fedora without reinstalling the system. Users only click the button in grafphic interface to finish the upgrade. It sounds like a good tool. But release note in Fedora 13 says that preupgrade needs more than 500MB spaces in /boot. WOW! I can hardly understand why preupgrade needs so big spaces.  I try to run preupgrade in Fedora 12. When preupgrade finished all the works, it reminds me of rebooting the system. GRUB did sitll boot Fedora not upgrade process. I tried to do it several times. The same situation appeared. I am angry with preupgrade, although Fedora 13 is in the step of alpha and maybe the codes are full of bugs. However, user experience is quite bad in preupgrade, especially /boot 500MB limitation suddenly appears in my mind.

I chose another method to upgrade my Fedora. First, I removed all the files downloaded by preupgrade. Second, I searched the repository to download fedora-release-13 RPM and install it.  Third,  I ran yum clean all and yum update. It took me about three hours to download all rpms. Then yum ran install new packages and cleaned up old packages. When upstart-0.6.5 was installed, the system was crashed. Maybe init broke down. So I reboot the computer and boot my LiveUSB. LiveUSB was used as a rescue system at this moment. Next, I chrooted into Fedora 12 and ran yum-complete-transaction. When the tasks was completed, I reboot the system and add selinux=0 to kernel parameters. I could successfully get into Fedora 13. Now the system had been upgraded. This method is similar to the guideline in the Fedora wiki: http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum

If Fedora 14 comes, I will choose the second method to upgrade my Fedora again. Using yum yum to upgrade Fedora has no limitation on /boot spaces. Your /boot just have enough spaces to place a new kernel, so you can using yum to do it. In fact, preupgrade is a network installation program. It downloads netinstall files and run installation after rebooting. So why not do a fresh reinstalling? The same thing between preupgrade and live reinstalling is that they must rely on anaconda.

Although upgrading Fedora using yum is more  useful. It can decrease downtime. But it is also quite dangerous.  Why do I still suggest it? You can see Ubuntu and Debian. If you want to upgrade from Karmic to Lucid, you just run update-manager –dist-check then update-manager will do a live upgrading automatically. Update-manager recommends how many spaces there are in /boot. After installing all new packages, update-manager will clean up all old packages and reconfigure all the settings. When user reboots and log in again, a new version Ubuntu has been landed in hard disk. If a newer version final released, update-manager will also notices user. Ubuntu can do it. Fedora also can do it, can’t it?

How can we make it come true? A script maybe can help us. We remember why live upgrading is dangerous because some new packages has conflicts with the old packages. Officially Fedora has announced what we should attend in live upgrading.  So we can write a script to define what we should do first and what we should do last. Also Fedora can make GUI program for live upgrading script. Live upgrading should integrate with update-applet. When a new Fedora is released, user can one click to upgrade.

Fedora is a fast-upgrading Linux distribution. I hope that Fedora have a better experience on live upgrading. There is no reason to recommend that user has to do a fresh reinstall  in every half a year. It is time to give up preupgrade. Why not choose a better way to upgrade Fedora?

by liangsuilong at 四月 05, 2010 06:17 上午

四月 01, 2010

Wu Pengchong (rocrocket)

[转]如何测试PHP连接MYSQL成功与否

转自:http://www.cublog.cn/u/31088/showart_1085999.html

方法很简单:

<?php
$link=mysql_connect("localhost","root","123");
if(!$link) echo "FAILD!";
else echo "OK!";
?>

其中mysql_connect( )函数的参数依次为:mysql服务器名或IP、mysql用户名,mysql用户密码。

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 四月 01, 2010 04:42 下午

三月 30, 2010

Wu Pengchong (rocrocket)

域名DNS解析完整解析过程

最近在研究bind,科普一下dns查询流程 :)

1.用户向本地DNS发出解析请求

2.本地DNS向根服务器(根服务器地址在本地有个静态列表)请求谁是该域名的顶机DNS(并把结果缓存在本地)

3.根DNS告诉本地DNS谁是该域的顶级DNS

4.本地DNS向顶级DNS请求谁是权威DNS(并缓存在本地)

5.应答谁是该域权威DNS

6.本地DNS向权威DNS请求域名解析(并把结果缓存在本地)

7.权威服务器应答6的请求

8.本地DNS把结果告诉用户

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 三月 30, 2010 10:34 上午

三月 28, 2010

Wu Pengchong (rocrocket)

简述Web数据库架构的工作原理

%e7%ae%80%e8%bf%b0web%e6%95%b0%e6%8d%ae%e5%ba%93%e6%9e%b6%e6%9e%84%e7%9a%84%e5%b7%a5%e4%bd%9c%e5%8e%9f%e7%90%86

第一步:一个用户的浏览器发出一个HTTP请求,请求特定的Web页面。例如请求results.php页面

第二步:Web服务器接收到对results.php页面的请求后,检索该文件,并将其传递给PHP引擎处理

第三步:php引擎开始解析脚本。脚本主要包括了连接到数据库和执行查询的命令。PHP启动了对MySQL服务器的链接并向该服务器发送适当的查询。

第四步:MySQL服务器接收到数据库查询请求后,开始处理这个查询,并将查询结果返回给PHP引擎

第五步:PHP引擎完成了脚本的运行后,将HTML页面返回给Web服务器

第六步:Web服务器将HTML返回给客户端浏览器

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 三月 28, 2010 03:53 下午

“百度文库”里的惊喜

%e2%80%9c%e7%99%be%e5%ba%a6%e6%96%87%e5%ba%93%e2%80%9d%e9%87%8c%e7%9a%84%e6%83%8a%e5%96%9c

linux大棚建站已一年有余,期间关注、支持本博的朋友们络绎不绝。有的会在文章下面留言和我探讨问题,有的会发邮件和我沟通交流,有的会加我的IM来直接对话,还有一些朋友,是我今天要重点说的,他们的支持是那么的让我惊喜,看看这个链接便知:

http://wenku.baidu.com/view/a3490b22192e45361066f56a.html

谢谢这位朋友,ID应该是sirniu。

ps:本博的《看日记学git》系列文章,被称为“最好的git中文教程”,一定是被sirniu过奖了。有些汗颜,唯有继续努力了。

ps:谢谢sirniu的整理与发布。linux大棚也的确想过出一个PDF版本的“看日记学git”教程文档,但一直没有付诸实践。如果方便,希望sirniu能联系我,邮箱是wupengchong(at)gmail.com。

ps:发现百度文库是个好东西,顺便推荐给各位。理由是:里面会有惊喜 ^_^

over~

©2010 感谢您来到linux大棚。如转载请注明:“ linux大棚

.

我猜您对这些文章感兴趣:

by rocrocket at 三月 28, 2010 12:49 下午

三月 19, 2010

Tiansworld

配置、编译及安装Linux内核步骤 Basic Steps on new kernel configuration, compilation and installation

!本文基于Fedora

1.首先下载新内核源文件 下载地址:kernel.org
2.之后进行解压,解压位置随意,最好放到无关紧要的目录,或者自己的home,这样方便操作。
3. 进入解压后的目录,
开始配置内核,如果之前配置过,请先执行
$ make mrproper #清理旧的二进制文件
之后使用一下三者之一:

                  $ make config
                  $ make menuconfig
                  $ make xconfig

字符界面下还是用menuconfig比较好些,图形界面可以用xconfig。
如果想在已有的.config上做配置,可以执行
make oldconfig;
按照提示和需要对新增特性进行配置。如果还需要进一步修改和配置,则可以再次运行
make menuconfig,配置后保存。
4. $ make clean,当然这一步不是必须的。如果之前做过make mrproper,那么这一步可以不做make clean
5. 编译:
通常执行
$ make bzImage && make modules 就可以了
6. 安装模块
# make modules_install (此命令需要root权限)
7. 把当前目录下的.config、System.map文件,以及子目录中的文件 ./arch/i386/boot/bzImage 复制到/boot下,并重命名,命名规则可以参考/boot下已有的文件
具体为:

# cp .config /boot/config-version.number
# cp ./arch/i386/boot/bzImage /boot/vmlinuz-version.number
# cp System.map /boot/System.map-version.number

8. 生成initramfs.img文件
目前fedora下使用dracut命令
# dracut /boot/initramfs-version.number.img version.number
注:以上命令中的version.number需要替换为当前编译内核的版本号
9. 修改引导器,# vi /boot/grub/grub.conf
以grub为例:
修改grub.conf,按照已有启动参数格式添加新参数。
10. $reboot
最后重新启动,选择新内核进行测试

以上是Linux内核配置、编译和安装的基本步骤,写的比较简单。欢迎各位指教。

by tiansworld at 三月 19, 2010 02:35 上午

三月 01, 2010

Chen Yu (jcome)

blender 2.5.1 release note

?ui=2&view=att&th=1271cf1d69a4e976&attid=0.1&disp=attd&realattid=ii_1271cf1d69a4e976&zw
Blender 2.5 Alpha 1           

Blender 基金会和在线开发者社区很自豪的推出Blender 2.5 Alpha 1。这个发布版是Blender 2.5系列的第二个官方测试发布版,代表了多年重新设计和开发工作的成果。

 

值得期待

  • 大改进 这是迄今为止我们的最令人激动的版本,从2.49上做了一个非常大的改进。2.5 alpha 1相比alpha 0,有多于100个的本质上的完善。
  • 尚缺/未实现的功能 尽管多数都有了,可是仍然还没能全部实现2.5之前版本的功能。有些功能要通过不同的方法来实现。
  • Bugs –我们修复了很多,但是还是有很多bugs。这是个Alpha版本的软件,我们还没搞完呢!
  • 变化 如果您习惯于旧版本的Blender,刚看到Blender 2.5时,会觉得很不一样,但是用不了多久您就会习惯它的。
这里有个我翻译的中文版的release note(对不起,本人不担保质量的:)



--
Yu

by jcome (noreply@blogger.com) at 三月 01, 2010 08:10 下午

Gimp 相关的一些话题


  1. 在 LinuxToy 读了一篇关于 Gimp 单窗口的文章,觉得这种写法会让一些不明真相的"群众"对Gimp的开发产生误解,其实误解已经很多了,关于CMYK的问题,Inkscape也有一样的抱怨,有意思的是,对于 CMYK 的问题,GIMP 的开发者都是比大家看得更远,那就是不会直接支持 CMYK,而是看的更远,Inksape也步其后尘:)

  2. 对于单窗口,有疑问的可以看看Peter Sikking的文章,还有Martin Nordholts的有关Blog


    1. jcome Commented @ 2010-03-02 8:31Reply to this comment

      >>不过不知道什么原因,官方的单窗口 GIMP 依然是老多问题,

      下面解释是为了一些不明真相的同学, gimp2.7是一个开发版本,而且到目前为止也只是第一个版本2.7.0,单窗口模式的还是处在git里的,也就是说在2.7.1里才会出现。

    2. 24jcome Commented @ 2010-03-02 8:38Reply to this comment

      >>而且 GIMP 官方解决单窗口模式启动问题的方式依然是粗暴地让 GIMP 退出时取消

      1)"粗暴",不知道你为何这样说,为什么让你觉得粗暴呢?毕竟目前的代码还是处在非常初始阶段的。这样会让很多不是特别了解gimp的toy访客产生误解吧,以为gimp的开发者是傲慢的。2)gimp的主要原因是开发者数量太少,所有总是让大家觉得它的发展很慢。




--
Yu

by jcome (noreply@blogger.com) at 三月 01, 2010 05:13 下午

十二月 25, 2009

Yuan Yijun (bbbush)

升级 Cygwin 1.7

看到 LWN 的消息说 Cygwin 1.7 发布。

http://www.cygwin.com/setup.exe

网站一上来就是很大的 warning 说 mount 从注册表转到 fstab 文件了,不过应该不影响我。用 mount 操作注册表真是件麻烦的事,所以一直没特别设置 mount。有三个特殊目录 /, /bin 和 /lib 不需要在 fstab 中设置。更新还包括一些文件路径的变动,包括最长路径限制,对 hard/symbol link 的处理,无法显示在当前 locale 的路径名以 C-x UTF-8 代码方式显示,还有权限变化等等。比较有意思的是提到了 openat(2) 和相关函数。

http://www.kernel.org/doc/man-pages/online/pages/man2/openat.2.html

       #define _ATFILE_SOURCE
       #include <fcntl.h>

       int openat(int dirfd, const char *pathname, int flags);
       int openat(int dirfd, const char *pathname, int flags, mode_t mode);


如果 pathname 是相对路径,则解释为相对于 dirfd。如果 dirfd 是特殊值 AT_FDCWD,那么 pathname 就是相对于 CWD。在 NOTES 里说,openat 防止了路径中某些目录发生变化的情况(race),而且允许每个线程有自己的 "CWD"

升级完毕,没有任何影响。我习惯于在 windows 环境变量里设置 LANG=zh_CN.UTF-8,所以现在不需要再做设置了。

阅读文档中还发现 /proc/registry 这个目录可以访问注册表,以前没有注意到。

十二月 25, 2009 01:44 上午

十二月 21, 2009

Yuan Yijun (bbbush)

关于 GNU 的两本书

我决定以后保持略读的方法,一两个小时翻完一本书,不管是什么类型。不过,有些书需要精读,那么应该在略读之后花点时间摘抄评论什么的,而不是一开始就细细读完,花费许多时间。

这两本书,一本是九月 17 日自由软件日(SFD)时买的,Richard M. Stallman (RMS) 二十年来的演讲和文集,“Free Software, Free Society”,由 Lawence Lessig 作导言;另一本书是 Lawence 的 “Free Culture”,讲的是 Creative Commons,中信出版社刚译的版本。前者可以在 www.gnu.org/philosophy/fsfs/ 下载,后者在 http://www.free-culture.cc/freecontent/ 下载。

edit: 本来打算做的事情又耽搁了,那就不做了。反正以后用得着的话还可以去再看一遍。实际上,这两个页面里也有很好的资料,相当于摘抄了。唉,不指望搞明白最好,等用得着了再说?今天的心态也许过于放松了,话说经过三个月的努力能把新版本的软件发布出去的感觉可真好哇。
http://www.zeuux.org/philosophy/rms-and-fsm.cn.html
http://wiki.woodpecker.org.cn/moin/ZeuuxSummitRms


"Free Culture" 这本书的摘录(照抄翻译):

= 导言 =

两个案例,结局非常不同。1945 考斯比,诉军用飞机低空飞行致鸡群受惊,撞在谷仓墙壁上而死亡。审判结果为天空不再是私产,“此法有违常理”。

1933 阿姆斯特朗发明调频广播(FM),相比AM广播是极大进步,但是由于美国无线电公司(RCA)为维护AM广播的市场地位,以种种方式阻碍FM发展。RCA进入电视市场后,又以政府力量将FM分配到不合理的频段。最后阿姆斯特朗在讨要专利费用的诉讼中失利,RCA一直拖到专利过期后才提出和解方案,阿姆斯特朗以跳楼自尽收场。

因此,同样是”为公众谋利“,天空得到了合理归属;而在FM的案例中,政府被RCA挟持,拒绝更新也更好的FM技术。

== 互联网使法律发生变化 ==

作者提出,“在历史初期,美国的传统从不倾向对非商业文化进行管制。” 公众的创作是非商业文化,并非为了销售而生产,或者生产后不会用于销售。给孩子讲故事就是非商业文化的一种。“法律专注商业性的创造,授予创造者对其作品的排他性权利……但是在美国的传统中,它绝不占支配地位”。

在互联网出现后,由于媒体巨头的推动,法律开始对普通人的文化创造和分享进行管制。

“这种转变因保护商业创造力的必要性而名正言顺,而事实上保护主义才是它的动机。……然而和以前大不相同,它不是有限和均衡的形式。……它保护的不是艺术家,而是某些商业形式。……Corporations threatened by the
potential of the Internet to change the way both commercial and
noncommercial culture are made and shared have united to induce
lawmakers to use the law to protect them. It is the story of RCA and
Armstrong; it is the dream of the Causbys.”

如果不注意对文化创造的影响,消灭网络“盗版”的斗争会“……rid our
culture of values that have been integral to our tradition from the start.”

[如果以后没法给孩子讲刚看到的故事,或者不能唱刚购买下载的歌,不能批评某女作家的作品——因为批评无可避免地要引用片段,而作者不同意我引用片段的方式,要求我在批评时必须引用完整的作品,而且需要得到她的同意:那真是太别扭了。]

以“常理”来压制考斯比之类的做法是正确的,以“盗版”来压制创造力则是错误的。政府和法律受到了利益集团的威胁,人们在种种宣传中看不清“互联网”这个新事物对传统文化创造方式的促进,盲从对“盗版”的抵制,最终会影响自身的利益。



= 第一章:盗版 =

人们对盗版的误解是如果使用或者借鉴了别人的作品,就“拿走了属于他人的价值,必须得到他人的许可”。实际上,像 p2p 等方式扩展了流通的渠道,是在原有的方式基础上_新增的_价值,他人并没有损失什么。如果印刷一本书,其创造的价值已经全部摆在书架上,卖掉一份就少一份,作者获得报酬,这与 p2p 并没有关联。

[后面有关于盗版的案例,说到为什么迪士尼创作的动画片的主题集中在二十世纪二十年代之前,因为从那时起对版权的保护一再延长,现在已经到了 99 年。如果继续延长,那么只有到二十一世纪中叶,上个世纪的作品才可能进入公有领域,成为进一步创作的依据。让所有人都违法的法律是恶法。]

[之后是关于同人志的描述。日本的同人志文化是一种基于原作的创造,有着“监管者睁一只眼闭一只眼”的法律地位。]

传统上,借鉴他人的成果进行创造,总是会包含未经原作者许可,也不给原作者补偿的成分。每个社会都为自由文化留有空间。

[后面提到旧金山,普雷西迪奥街区Presidio的多媒体校车“Just Think!”,以及洛杉矶的创作实验,还有 911 事件。最后是博客和 FOSS,这些都是表达的手段,都属于创作。]

“但是这种实践操作的自由并没有保障。自由正逐步受到遏制。…… While there’s no doubt that your father
had the right to tinker with the car engine, there’s great doubt that your
child will have the right to tinker with the images she finds all around”

== 搜索引擎也犯错 ==

2002 伦斯勒理工学院,杰西 被美国唱片产业协会(RIAA)起诉,理由是他完善了校内联网文件系统的搜索引擎,导致音乐文件的共享。赔偿金额为 1500 万美元,最后以杰西交出自己所有积蓄(1.2万美元的暑期打工收入)结束。

== “法定许可”制度 ==

最初唱片业、广播电台、有线电视的发展都依赖于法律的规定,限制著作权人的“垄断”地位而得以发展起来。这些都是某种形式的“盗版”。

== 盗版的法律解读 ==

共享文件的几种形式

* 用之取代了过去的消费

* 试听

* 获取某些受著作权保护,但是不可能从正当途径获得的东西,比如不再出售的物品(也包括二手商品)

* 获取公有领域的内容

其中,只有第四种是合法的,但是前面几种对商家,社会或创作者有好处。“Just as Edison complained about Hol-
lywood, composers complained about piano rolls, recording artists
complained about radio, and broadcasters complained about cable TV,
the music industry complains that type A sharing is a kind of “theft”
that is “devastating” the industry.”

“If 2.6 times the number of CDs sold were downloaded for free, and yet sales
revenue dropped by just 6.7 percent, then there is a huge difference be-
tween ‘downloading a song and stealing a CD.’”

=== 关于 Napster ===

“ When Napster told the district court that it had devel-
oped a technology to block the transfer of 99.4 percent of identified
infringing material, the district court told counsel for Napster 99.4
percent was not good enough. Napster had to push the infringements
“down to zero.”

If 99.4 percent is not good enough, then this is a war on file-sharing
technologies, not a war on copyright infringement. There is no way to
assure that a p2p system is used 100 percent of the time in compliance
with the law, any more than there is a way to assure that 100 percent of
VCRs or 100 percent of Xerox machines or 100 percent of handguns
are used in compliance with the law.”


= 财产权 =

“如果我把你后院的餐桌搬走,我真真切切地搬走了一些东西,你就不再拥有这些东西了。如果我只是拿走了这个主意,也去买张餐桌放在后院,你损失了什么呢?”

as Thomas Jefferson said (and as is especially true
when I copy the way someone else dresses), “He who receives an idea
from me, receives instruction himself without lessening mine; as he who
lights his taper at mine, receives light without darkening me.”


[后面有很长的关于著作权起源的解释,从伦敦的出版商讲起。从1774年开始,不再有永久著作权,也头一次出现了公有领域的概念。]

案例:引用 4.5 秒其他影视镜头的繁琐许可

案例:为知名演员制作“自传”的繁琐许可,需要引用其主演和导演的大量镜头,需要其中涉及到的每个人的许可

= 互联网档案馆 =

布鲁斯特 卡尔(Brewster Kahle) http://archive.org

= 创意财产权 =

财产保护方式的四种管制模式:

* 法律
* 规范
* 市场
* 结构

“ In a line: To kill a gnat, we are spraying DDT with consequences
for free culture that will be far more devastating than that this gnat will
be lost.


Adobe 对 PDF 的荒谬限制:尽管一个文件是公有领域的,PDF 也可能禁止打印、复制、朗读等操作。利用技术手段绕过这些限制究竟是不是合理的呢?

[evince/xpdf 和另外某个 PDF 阅读器在这方面就有一段公案。现在的 evince 可以对 PDF 做各种操作,无视原本的限制,但是这些限制又是 PDF 的标准,所以一个完全遵守标准的实现需要做出类似的限制(? 也许我记错了)]

给 AIBO 增加新动作的 hack 遭到 sony 基于 DMCA 禁止。

破解数字音乐保护的论文遭到 RIAA 基于 DMCA 的禁止。

“ In both cases, this weirdly Orwellian law was invoked to control the
spread of information. The Digital Millennium Copyright Act made
spreading such information an offense.”

=== 集中化趋势 ===

对集中化的管制放松,导致独立作品渐渐消失。

= 互联网,共享,法律 =

所有人都成了违法者。

“ So imagine the following not-implausible scenario: Imagine a
friend gives a CD to your daughter—a collection of songs just like the
cassettes you used to make as a kid. You don’t know, and neither does
your daughter, where these songs came from. But she copies these
songs onto her computer. She then takes her computer to college and
connects it to a college network, and if the college network is “cooper-
ating” with the RIAA’s espionage, and she hasn’t properly protected
her content from the network (do you know how to do that yourself ?),
then the RIAA will be able to identify your daughter as a “criminal.”
And under the rules that universities are beginning to deploy,22 your
daughter can lose the right to use the university’s computer network.
She can, in some cases, be expelled.”


= 权力、利益的平衡 =

[一些杂七杂八的案例,特别是作者参与辩护的,控延长著作权保护期的《桑尼 博诺法案》违宪的案例。]

[一个可行的解决办法:著作权人需要自行登记,使得作品的著作权有案可查,衍生的创作更容易。]

= 结语 =

关于 AIDS 专利药品在南非,“平行进口”,美国制药公司和政客以所谓知识产权的“神圣性”为接口导致了数百万人的死亡。

WIPO 论坛某次会议由于涉及自由和开源软件议题而被取消,背后有微软对美国政府的游说。

= 后记 =

预期。

十二月 21, 2009 02:20 下午

十二月 20, 2009

Xie Lingyun (xielingyun)

试试看


csdn上学的时候是每天必看的,想想自己很长时间没上过csdn了,很长时间没有写过博客了,前一段时间看到planet.fedora-zh.org上面竟然有我的csdn博客订阅,既然与fedora-zh.org相关了,那就还是用这个博客吧,

      这两天看到一个文章上面写国内开源界嚷嚷的人多,干活的人少。自己想了想,自己就属于那种只会嚷嚷从来没干过活的人,除了发点帖子,写点博客什么都没干过。不知道国内做开源软件开发的人有多少,没有资金的支持软件开发难以为继,但是貌似钱在一些人眼中是不应该和free软件有任何关系的。
     想想自己现在整天都在做无聊的事,没有做过什么实际的事。人的成功很多时候就是运气+实力,机会总是留给有准备的人。而准备的时间是痛苦的,有可能所有的努力全都前功尽弃,也许到最后机会也没有到来。现在时间不允许了,稍微的耽搁结果都是毁灭性的。也许在工作以后专注oracle的学习,也许运气好的话可以做点linux下面开发的工作,接下来不做无聊的事了,开始专注学习了
[code]看看能不能用[/code]

by 解灵运 at 十二月 20, 2009 08:13 下午

十二月 09, 2009

Xie Lingyun (xielingyun)

嚷嚷的人多,干活的人少


csdn上学的时候是每天必看的,想想自己很长时间没上过csdn了,很长时间没有写过博客了,前一段时间看到planet.fedora-zh.org上面竟然有我的csdn博客订阅,既然与fedora-zh.org相关了,那就还是用这个博客吧,

      这两天看到一个文章上面写国内开源界嚷嚷的人多,干活的人少。自己想了想,自己就属于那种只会嚷嚷从来没干过活的人,除了发点帖子,写点博客什么都没干过。不知道国内做开源软件开发的人有多少,没有资金的支持软件开发难以为继,但是貌似钱在一些人眼中是不应该和free软件有任何关系的。
     想想自己现在整天都在做无聊的事,没有做过什么实际的事。人的成功很多时候就是运气+实力,机会总是留给有准备的人。而准备的时间是痛苦的,有可能所有的努力全都前功尽弃,也许到最后机会也没有到来。现在时间不允许了,稍微的耽搁结果都是毁灭性的。也许在工作以后专注oracle的学习,也许运气好的话可以做点linux下面开发的工作,接下来不做无聊的事了,开始专注学习了

by 解灵运 at 十二月 09, 2009 09:53 下午

十一月 28, 2009

Charles Peng (pengjiayou)

Install Fedora 12 on an Eee PC 1000HE

I installed a Fedora 12 and Windows XP dual boot system on my Eee PC 1000HE some hours ago. The new shinning Fedora 12 system works great on this Eee PC, here’s some notes I wrote down during the installation and post-installation process.

Preparing for Installation

Eee PC has no CD-ROM, so that you can not install Fedora 12 from a Live CD disk. The best way for you is to download a Fedora 12 Live ISO and write this iso image to your flash drive, and then install F12 with this usb flash drive.

liveusb-creator is a cross-platform tool to do this job, it has an easy-to-use GUI which can ensure the Fedora 12 live CD iso you downloaded is correct, and, it can also ensure you write to the right USB disk. What you need is a 2GB USB disk.

During Installation

It’s quite easy and I think you can handle yourself, but here’s some points you’d pay special attention to.

1) At the screen choosing your time zone, make sure the “system clock users UTC” option is unchecked, in order to keep your two systems both Fedora 12 and Windows XP clocks are the same time.

2) When partitioning your hard drive, please be careful not erase your Windows partition which has some of your personal data. Please mark “Review and modify partitioning layout” optioned checked, so that you will be able to know which partitions will be formatted.

3) You’d better give your /home directory a single partition so that your data will not be lost when you fresh-install your system to upgrade your machine to the future Fedora release.

When partitioning my hard drive, I chose to cover my exiting Ubuntu 9.10 Linux system, and everything is correct when I check my partitioning layout, but I lost all data on my Ubuntu /home directory… this isn’t a matter as these data has been backed up on my laptop.

Another problem I met is when installing bootloader, the installation script says it has a bug, it maybe caused because Ubuntu 9.10 uses Grub2 and Fedora installation script can’t cover it’s files on MBR. I installed the system again and this problem was solved.

Post-installation

The first thing you need to do is to add rpmfusion software repositories when you log into your system. You can find insturtions on how to add both free and non-free repositories on RPM fusion website.

After RPM Fusion enabled, you need to update your system immediately to update all your software to be the lasted. You can do this job by clicking System/Administration/Software Updates.

(Enable Chinese Input)

Chinese Fedora users need a input method to input Chinese words.

Fedora has both ibus and ibus-pinyin preinstalled, a good news is that, I installed an English environment, and ibus-pinyin can be enable on clicks, no need more configuration.

Wireless Driver

Fedora 12 comes with no Eee PC 1000HE’s Ralink RT2860 wireless card driver, I am lucky because I have a G-Sky WIFI adapter, so that I can use it to connect my neighbour’s WIFI network (Fedora has G-Sky’s Reatek wireless chipset drivers by default) and install Ralink’s driver by running the following command in the terminal.

yum install kmod-rt2860

Configure your Mouse and TouchPad

Click System/Preferences/Mouse, and under the “Touchpad” tab, check “Enable Mouse Clicks with touchpad”, this will enable you to double-click an item on your system with our using a mouse, and Eee PC comes with no mouse at all. :-(

Config your Mouse and TouchPad

Check “disable touchpad while typing” this will be helpful when you’re typing while touchpad always make you annoying.

You can also check “Enable scrolling”, this will enable you to scroll up/down when you move your finger at the right side of your touchpad edge.

Desktop 3D Effects

If you enabled RPM Fusion, and you updated your system to be latest, you should have the latest graphic card driver updated.

Enable Fedora 12 Desktop Effects

Go to System/Preferences/Desktop Effect, and choose Compiz, and mark both “Windows Wobble when Moved” and “Workspaces on a Cube”, then some basic 3D effect will be enabled, try to move a windows or click other workspace to give a try? I know this is only basic effects, but it’s enough, because you don’t have a mouse to operate your system to be more eye-candy :-)

Anything more? Uhhh, I forgot, this is all… If you have any problem, give me a comment below.

十一月 28, 2009 09:44 下午

Switched back to Fedora 12

Fedora 12 Desktop Screenshot

It’s been so long a time since I switched to Ubuntu 9.04 before the release of Fedora 11, but now I finally switched back again and installed Constantine on my Eee PC 1000HE netbook. Fedora becomes better, and it works well on this little machine.

I still remember that Red Hat 9 is my very first Linux distribution that I tried when I was on college, although I knew how to install it after reading so many Linux books and magazines in our library, I had a very bad experience, because it doesn’t have a good browser. But things changed after my graduation when I installed a Ubuntu 6.06+Windows XP dual boot system on my office computer, this is the first time I started to use Firefox browser, it worked fine and most of the webpages could be displayed perfectly, and Linux systems left me a good expression since then.

One year later after I had my own job, I bought myself an HP Compaq Presario V3805AU laptop, I always planed to use a Linux distro so that I chose this one, it’s Linux-friendly enough because it has a Red-flag Linux desktop preinstalled. But Red-flag is based on KDE with a cloned Windows interface, and it’s hard to use, so I disliked it so much.

I installed Fedora 9 in my entire hard disk after erased Red-flag, because at that time I didn’t have a broadband internet connection, I had to connect to the internet with a China Mobile EDGE wireless router, so I spent a lot of time to looking for a Linux distro that supports mobile broadband, and finally I found Fedora 9, with GPRS/EDGE internet connections as it’s new features.

Both Fedora 9 and 10 worked perfectly on my laptop, but, it always has some small problems which drove me crazy as I only have some limited Linux knowledges, and can’t solve these problems myself, I switched to Ubuntu 9.04, Ubuntu is more stable as a desktop system, and, what I liked most is its new notify system.

Sometimes I blame myself a lot why I didn’t learn computer science and technology or something related as my major at university, I am so regret about that, because I can’t solve my own Linux computer problems, and I also don’t know what can I do for this amazing operating system.

With so many people’s hard work, Linux is becoming better than ever, especially Fedora Community, they contributed a lot to the Linux kernel and brought us new technology and new features to the Linux world one after another, I can do nothing to help them, but, I use their product, and, I can share my using experience with others, in a hope that they finally start to use it too. That’s what I can do to thank the Fedora community and all Linux developers, that’s why I am back.

十一月 28, 2009 08:23 下午

十一月 22, 2009

Mel Chua

Typing in 中文

如果你看这份 http://planet.fedora-zh.org, 对不起我的中文不足够的翻译。 我会尝试写中文时,我可以。
(For those reading on the Chinese planet, I am sorry my Chinese is not good enough to translate this post. I will try to write in Chinese when I can.)

For those reading on the English-language Planet Fedora, I’m trying to learn how to participate in the Chinese-language Fedora community, and chronicling my adventures (as usual) as I go along.


Kin Chew posted instructions on how to enable Chinese character input in Fedora 11 – I should screencast an F12 version now that the new release is out. But thanks to Kin Chew’s instructions, I’ve finally started typing in Chinese – less than 5 minutes from beginning to read his post to typing 谢谢 (thank you) in a comment, including the reboot. My prior adventures in that language have all involved either dead trees or individual copy-pasting of characters from online dictionaries. Yes, it’s painful; that’s why my prior online output in Chinese probably numbers less than 100 characters.

Ah, the power of documentation. See, it’s not that this was hard – but prior to Kin Chew’s post, Chinese input was (1) something I didn’t need to do, and was interested enough to maybe spend 10 minutes trying to figure out, and (2) something that took me more than 10 minutes to figure out, and therefore something that I didn’t do. And I keep reminding myself that this is what it feels like for new people looking at joining the projects that I care about.

Next steps: figuring out how to make Chinese characters display correctly in GNOME Terminal and Konsole so I can see #fedora-zh without having to fire up xchat separately (I use irssi and screen for IRC), then figuring out how to tweak and run lingobot so I can understand #fedora-zh without having to pile through my dictionary all the time. I have a grasp of enough basic grammar that a word-for-word translation should enable me to begin squeaking by – vocabulary is my main deficiency at the moment.

by Mel at 十一月 22, 2009 07:32 上午

五月 10, 2009

Yandy Ding (yandyding)

重回九龙湖,重温广播台

昨天彻彻底底地疯了一把,整整一天,从早到晚,放松到底。

人家都说大四下是最轻松的,可是我这一学期过得一点都不轻松,毕业设计比较困难不谈,光是面对一个个人生的选择,在精神层面上就已经累得够呛。

还好,昨天,趁着广播台20周岁的生日。好好地轻松了一把,有时候换个环境,真的对人很有帮助,特别是昨天看到台里的一个个陌生但有充满朝气的面孔,仿佛自己也突然添了无尽的活力。很喜欢这种感觉,有梦想,也有斗志和干劲!

回想大学四年,我的几乎所有课余时间都奉献给了实验室,广播台是我参加的唯一一个学生社团了。

记 得我是在大二才加入广播台的,那时候,我们作为“拓荒者”来到了九龙湖,这个“杂草丛生”,“处处施工”的校园,条件是何等的艰苦可能是现在的新生们所无 法感受的,广播台同样是条件不容乐观。我印象最深的是广播台的外围设施常常出故障,特别是几个地方的广播,经常性的整个区域的不响。比如当时梅园操场的广 播线竟然采用的串联布线,一个喇叭有问题,所有的都没救了,后来我在一门选修课的期末作业中为梅园操场的喇叭重新做了一个布线图,竟然还因此得了98 分……而当我欣喜地看到九龙湖一天天发展起来,设施一天天完备起来,图书馆有了,超市有了,宿舍通网了,银行有了……我却要离开了——我们学院的我们这一 届是全校有史以来唯一四年要住四个校区的一届。走的比同届的任何其他人都要早,以至于这次回九龙湖,同行的其他老台员说九龙湖没变化时,我却感觉变化很 大。

种种原因,我对九龙湖,对seub的感情可能是最不同的,“我种过树,却没有乘过凉”。别人看到的多是留恋,我看到的,更多的,却是希望……

一起为梦想努力吧

by Yandy Ding (yandy.ding@gmail.com) at 五月 10, 2009 02:39 下午

四月 12, 2009

Yandy Ding (yandyding)

So Crazy,and then, so uneasy

Untill Now, reviewing the whole senior living, I have been so crazy, and then, so uneasy.

I gave up a chance to go on my graduate study in a state key lab which I'm familiar to, since I decided to try another university I yeam for more;

I changed the target as I'm reject by the previous one in September. But I still decided to try another institude instead of turning back to the state key lab;

I had to change the exam course as I changed the target(from Biochemistry and Computer Basis to Maths (I) and Phyics);

Utill now, I have given up 4 chances to work, including 2 state department,since I decided to take the entrance exam once more to reach my goal;

I rejected two university fo 211 project for the same reason as the last;



回顾大四已经走过的历程,我是如此的疯狂,事后又是如此的忐忑不安。

我放弃了一个非常熟悉的国家重点实验室,为了去更向往的地方,决定考遥远的城市的高校;

因为被拒,我在九月底换了考研目标,还是没有回头,报了另一个依然很远也很难的研究所;

因为换目标,180度大转弯似的换了专业一和二(由生物化学,计算机基础改为数学一和物理),在考前3个月时;

到现在,前后放弃了4次的工作机会。其中包括两家事业单位,只为去自己想去的地方,决定再考一年;

面对两家高校的调剂机会,毅然回绝,还是因为上面的原因,两家都是211工程大学,而且一个在北京,一个在南京

by Yandy Ding (yandy.ding@gmail.com) at 四月 12, 2009 09:58 上午

四月 08, 2009

Yandy Ding (yandyding)

Notice! Install of Linux from Hard Disk

A few days ago, I have tried to install Linux system on my PC from hard disk for the first time.
There are plenty of lectures about how to do it, but I'd like to list something to notice here due to the problems I have met.

(PS. the distribution I choose is CentOS 5.2 . If there is any different from your distribution,please check it out and welcome to tell me using comment,Thank you)

1.The FileSystem type of the partition in which you stored the installation iso file shoud not be NTFS even if there are some ones point out that a newer distribution can support the FileSystem Type . If you do so,you will meet a lot more problem during the installation process than not.And most of time,you cannot resolve it finally.

2.You'd better choose a newer kernel or a newer distribution if your computer is not too old. especially when you use laptop.

3.When you install from local hard disk, please note that DO NOT reallocate the partition of the disk in which you stored the installation iso file! (This means do not delete and create any partition!Formatting an existed partition is OK)Or you will get a fallure during the process.(At least,do not do so when you install CentOS).The reason is simple: when you reallocate the partion, the ID of each partion will change automatically.


前些天,我试着在我的PC机上通过本地硬盘安装的方式,安装了Linux操作系统。这是我第一次通过硬盘方式安装。网上有着大量的文章,具体的介绍如何通过本地硬盘上的镜像文件安装系统,这里关于步骤我就不再赘述。只是根据我个人在安装过程中遇到的问题谈一些注意点。

:我尝试安装的发行版本是CentOS 5.2,你可以把它看成RedHat Enterprise Linux.如果你选择的发行版本和我的有任何不同,请自己注意,当然更欢迎同过评注的形式来向我指出,谢谢)
1.存储安装镜像文件的分区,其文件系统最好不要是NTFS,哪怕网上有些人说新版本可以支持这个文件系统。如果你执意要选择,也许你会不幸地遇到大量的问题,并且很多时候,这些问题是几乎无法或无法通过简单的方法来解决的。
2.你最好选择新一点版本或者新一点的内核,如果你的电脑不是很旧的话,这一点尤其适用于用Laptop的朋友。
3.当你是从本地硬盘安装时,请一定要注意,在安装过程中不要重新划分分区(就是说不要删除或添加分区,对已有分区格式化是可以的)。否则你会装到一半的时候失败(最起码,CentOS 是这样的)。原因很简单,删除和添加分区的操作,都会给分区重新编号。

by Yandy Ding (yandy.ding@gmail.com) at 四月 08, 2009 07:00 下午

四月 04, 2009

Yandy Ding (yandyding)

未来靠自己的双手去打造

博客已经好久不更新了,不是忘了,也不是懒,说不出来是为什么。也许很多人都有过相似的感受,一时间又说不尽的感慨与想法,无从下笔。
可能是临近毕业了吧,一转眼间,大学四年已经悄然过去,感觉自己突然悟出了很多的道理,对于未来看得比以往都要清晰。
对于大学,我想每个经历过的人都有自己的认识,无论悲观的,乐观的,过去了,就要想法从中吸取精华,反省糟粕,去走好接下来的路。成功的不要骄傲自满,失败的不要悲观丧气,得意的要再接再厉,失意的要振作发奋。乐观的人生于己于社会都是好于悲观的。
未来靠自己的双手去打造,靠自己一步一步踏踏实实地走好。

by Yandy Ding (yandy.ding@gmail.com) at 四月 04, 2009 08:54 下午

三月 30, 2009

Charles Peng (pengjiayou)

Two Flickr Clients for Linux

Since my Flickr account went Pro, I was able to upload as many pictures and photos as I took with my camera and shared them with all of my friends. Here are two Flickr clients if you use Linux system, which allows you upload your photos conveniently.

1. jUploadr

Uploading photos to Flickr with jUploadr

jUploadr is a cross platform, cross-site Photo uploader. Currently it runs on Windows Linux and OS X and supports both Flickr and Zooomr. It allows you to set all properties of a photo before you upload it. It also supports batch editing, so you can make short work of uploading a bunch of files. It is Flickr officially recommend photo uploading client for Linux.

Latest version of jUploadr is 1.1.2, and you can downlaod jUploadr-1.1.2-linuxGTK-i386.tar.gz (for Linux i386) here. jUploadr is a java-based program, no installation required, decompress the downloaded package, and double click the executable “jUploadr” to run.

2. Postr

Postr another Flickr Uploadr

Postr is another Flickr uploadr for GNOME desktop, which aims to be simple to use but exposing enough of Flickr to be useful. It isn’t finished yet, but its a very capable uploader already.

To install in Fedora 10 is quite easy too, just type yum install postr in the terminal, it will automactially installed.

Postr has the same fuctoins which jUploadr has, but it doesn’t not support Zooomr, and UI more hardly to use. Which one do you prefer?

三月 30, 2009 09:53 上午

Install Shutter in Fedora 10

Install Shutter in Fedora 10

Shutter (former named Gscrot) is an open-source feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website – apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window.

Shutter has a .deb package officially, which allows you very easy to install in Ubuntu Linux, but it had no .rpm package available, so things are quite difficult if you want to run it in Fedora 10 system. I tried to install months ago, but failed to install its depencies.

Last night, I finally got to know how to install it in Fedora 10, because @liusuilong and Gcell compiled a rpm package for Shutter, it’s quite convinient now…

1. For 32 bit desktop

Download the following .rpm packages:

perl-Gnome2-Wnck-svn20090118-1.fc10.i386.rpm
perl-Goo-Canvas-0.05-1.fc10.i386.rpm
shutter-0.70.1-1.ppa2.fc10.noarch.rpm

and then install them like below:

$ sudo yum localinstall perl-Gnome2-Wnck-svn20090118-1.fc10.i386.rpm –nogpgcheck
$ sudo yum localinstall perl-Goo-Canvas-0.05-1.fc10.i386.rpm –nogpgcheck
$ sudo yum localinstall shutter-0.70.1-1.ppa2.fc10.noarch.rpm –nogpgcheck

2. For 64 bit desktop

First download the following packages:

perl-Gnome2-Wnck-0.16-1.fc11.x86_64.rpm
perl-Goo-Canvas-0.05-2.fc11.x86_64.rpm
shutter-0.70.1-1.ppa2.fc10.noarch.rpm

and type and run the following commands:

$ sudo yum localinstall perl-Gnome2-Wnck-0.16-1.fc11.x86_64.rpm –nogpgcheck –enablerepo rawhide
$ sudo yum localinstall perl-Goo-Canvas-0.05-2.fc11.x86_64.rpm –nogpgcheck –enablerepo rawhide
$ sudo yum localinstall shutter-0.70.1-1.ppa2.fc10.noarch.rpm –nogpgcheck

Enjoy!

三月 30, 2009 09:15 上午

三月 23, 2009

Charles Peng (pengjiayou)

1 Linux App 1 Day Program on Twitter

Hello, guys, I started a program recently on Twitter since Mar. 21st this month called “1 Linux Software 1 Day“, which is aim to recommend ONE linux software ONE day to the CHINESE linux users. I think this is a good idea to introduce others a perfect linux application they would like so as to promote Linux as a lot of people still think there’s not as many software as Windows or Mac (I think a lot of people refuse Linux just because of this).

I read articles on tuxmachines.org almost everyday, and a lot of applications are introduced, but I don’t have enough time and energy to translate or forward them on my blog, but Twitter is a good place to do such things, it’s convenient engouth for me.

At very first, I just tweeted in Twitterfox the software I like in Chinese language, but I found it’s hard to be archived every software that I recommended, and other people who didn’t follow me can hardly have a chance to know them too, so I added every tweet a tag “1soft1day“, this tag is currently unique, so, when you try to search this tag on Twitter Seach, you can get all softwares I recommended before.

#1app1day

Well, now, I brought this “1 Linux App 1 Day Program” to English-speaking Linux user too, with another tag “1app1day”, when you type this tag name and search on Twitter, you will be able to see all of my recommended software, and all in English. You can also visit this url directly: http://search.twitter.com/search?q=%231app1day

In general, please seach #1soft1day for Chinese, well, #1app1day for English. Please help me and keep these two tags unique (you’d better use another tag if you have related program), and, please don’t post this tag in your tweets (so there’s no waste)

I suggest you follow me @pengjiayou on Twitter, so that you’re be able to know what I recommend at an early time, and, to recommend me the software that you like by @ replies. Thanks.

三月 23, 2009 05:50 上午

三月 21, 2009

Charles Peng (pengjiayou)

A Better Mitter

As for many Linux users should have known, Mitter is one of my favorite open-source, and cross-platform client for Twitter, it’s a Linux native application runing both PyGTK and on a console/terminal.

The latest version of Mitter is 0.4.5, you can download it here or run yum install mitter in the command line to install it in your system.

I registered and begun to use Twitter last year, Mitter was my favorite Twitter client for a very long time since then in my laptop (running Fedora 10). It has the basic feature which any Twitter client should have, especially the latest 0.4.5 release, I had been using this version for quite a long time, although this version meets my needs and requirements, but it has a little problem: some Twitter followers’ profile images are displayed very large, which made the whole interface very ugly, see my previous screenshot for an example:

I know Mitter is open-sourced, but I know nothing about programming, and know nothing how to solve this problem as well. However, one of Chinese bloggers and Linux fans solved this problem finally on his blog post, whom I know latter is also a Twitter user @shengbo, he hacked Mitter 0.4.5 and made my twitter experice much more better!

Hacked Mitter makes my twitter experience much more better

This hacked Mitter improved the following features including:

0, Resoved the bug of displaying large profile images
1, Removed “What are you doing” above the input area, this line takes up too much spaces
2, Word count instead of the “Add” button
3, Hide menu bar, just press Alt+9 to hide the menubar to release more space
4, Refresh button at the left of input area
5, Alt+X to hide the whole Mitter window
6, System tray icon: click to toggle windows visibility

Thanks @shengbo, who made Mitter more amazing. To install this hacked Mitter, please run git clone git://github.com/albert748/hacking-mitter.git in your terminal. Or you can download it directly from here.

BTW: A latest Linux (Ubuntu) Twitter and Identi.ca app

Today, I found a new Twitter project called wallDent. wallDent is a script that turns your desktop wallpaper into an identi.ca or Twitter timeline.

What a cool interface. Can anyone tell me how to compile and install in Fedora 10? Thanks in Advanced. (Source code is here https://code.launchpad.net/~nhandler/walldent/trunk)

三月 21, 2009 03:41 下午

三月 03, 2009

Charles Peng (pengjiayou)

三月 02, 2009

Charles Peng (pengjiayou)

Gilouche Theme for Gwibber

Gilouche Theme for Gwibber

Gwibber is an open source microblogging client for GNOME developed with Python and GTK. It supports Twitter, Jaiku, Identi.ca, Facebook, Flickr, Digg, and RSS, it has much more great feature than another of my favorite and frequently used Twitter-only client called Mitter.

I always launch Mitter when I log in my system, because I’m a heavy user of Twitter. And Mitter requires all my demands, simple and fast to load friends’ tweets under my EDGE mobile broadband. But, recently, I always met some large avatars of some twitter users, twice as it should be. It made my Mitter window very ugly.

Although I knew and installed Gwibber for so long a time, I seldom used it, it has an default theme which I dislike, and, it loads and sents my tweets very slowly. But I can’t bare the large avatars problem any longer, what I can do to solve that problem, is to unfollow that large-avatar twitter user, that’s what I don’t want.

Thanks Google Reader, I saw a nice-looking Gwibber theme by chance, downloaded Gilouche 0.2, untared it ~/.local/share/gwibber/ui/themes/ , and actived it, so nice. I like this dark theme so much.

Well, in the Fedora software repositories, we have 3 choice of a Twitter clients that you may like. Try to install by run yum install gwibber mitter twitux, there will be one that fits you.

三月 02, 2009 02:23 上午

二月 28, 2009

Charles Peng (pengjiayou)

My Fedora 10 Free PDF Downloaded over 35,000 times

fedora-10-installation-and-configration-pdf

I remembered Fedora 10 was released in the nighth of Nov. 25th, 2008 at 22:00 pm Beijing Time, as soon as it’s available for download, my-guides.net published it’s great tutorial Fedora 10 Installation Guide, which I learned a lot from its Fedora 9 Installation Guide when I tried Fedora (Fedora 9, this is the first Linux distro I tried and installed in my entire hard disk) for the 1st time, it’s really helpful for a Linux and Fedora newbie. I didn’t sleep all the night but translated it into Chinese, to do my best to help others who wants to try the latest Fedora distro. Although I keeped translating this great guide for a whole night, but only finished its first 8 chapters, with 2 Fedora fans’ help the second day, we finally submited to my-guides.net a Chinese version.

Although Alex named his work “Fedora 10 Installation Guide”, but he taught us almost all things about Fedora 10 system configration (these are all things needed to do after Fedora 10 installed) and Fedora frequently-used software installation and configration, it’s not good enough as someone didn’t know how to install Fedora 10 in his hard disk at all, and, what’s the most important, was, he knows nothing about Chinese, and Chinese-language opensource software, so he didn’t write any howtos about that.

In the next few days after Fedora 10 released, I compiled another free PDF guide. I read the Fedora 10 realse note, and collected lots of other information about their fed back or guides after they tried Fedora 10 from BBS or forums together, and published my own PDF to the public, and updated it for 2 times.

Those days after this PDF was published to the public, my Chinese blog attracted hundreds of visitors a day for the download address, and many Fedora users helped me to spread in other forums. I didn’t ever know this kind of document is in a so large demand, but I think it’s useful for them.

over-25000-downloads

Today when I visit Google Code fedora-zh project again, I found my PDF was download over 35,000 times in all after I moved it here, and this number is still counting :grin: that is to say, tens of thousands of people downloaded my PDF, I think I did a good job.

I got to know these days Fedora 10 Nears 1 Million Users Mark (here’s the official statistics), I am really happy to hear this news, as I tried to promote it in China and Chinese-speaking countries. Fedora is the distro I’d always trust, as so many people worldwide chose it, spread it, and get involved in.

BTW: I have moved my Feedburner account to a Google Account, so please re-subsribe my blog RSS feed: http://feeds2.feedburner.com/charlespeng , thanks.

二月 28, 2009 09:55 上午

二月 24, 2009

Charles Peng (pengjiayou)

Pagico for Fedora now Available for Download

Pagico is a strong and powerful personal information manager, it’s not only a GTD tool, but also an organizer with all your amazing ideas which is available for download as a closed source software now.

The Pagico team is focused on developing a useful, flexible and easy to use knowledge base software for both Mac and PC. Its mission is to deliver a better solution to make people’s work done easily, quickly and smoothly, thereby saving their time.

Pagico Software provides you a whole new way to see and arrange your schedule, that’s its Visualized Schedule Flowchat feature, which I like most. This flowchart helps you concentrating on what’s in the near future, what needs to be done at present, and what’s already overdue, in a completely new better way!


Pagico is also a personal database that helps you archive everything efficiently. Rather than throwing information away when they’re done, archiving them properly will save you tons of time in the future.

It also provides you a very clean and efficient way to store and organize your information. You can write your Todos and Tasks and even notes, and it helps you to orangize and manage your schedule in a very powerful tag based system very efficiently.

Pagico is released only for Windows and Mac officially, but with the author of Ubuntu Tweak, TualatriX’s effort and help, Pagico 3 was officially released for Ubuntu in Jan. 20th, 2009. Pagico 3 is now a standard Linux program and run in Linux smoothly and natively.

With my strong request, TualartiX finally released its RPM package for Fedora system, and now it’s available for download and test. This RPM package is unofficial, for testing only, if you’re interested in it, please download it here http://downloads.imtx.cn/fedora/pagico-3.2.2.625-1.fc10.i686.rpm

Before you launch this software, please disable SELinux and restart your computer. (This is a very 1st release for Fedora 10, and it may conflicts with SELinux, although it’s not harmful for you system, you’d better disable SELinux first before lauching this software after installation. But I strongly suggest you re-enable SELinux ater your test). It runs perfectly under Fedora, If you lauch this software with SELinux enabled, if any problem occured, please feedback to TualariX, thanks.

As I told above, Pagico is NOT a free and open source software, and it’s NOT an official RPM too, you can download and test, but 15 day free trial only, for more information, please visit its website http://www.pagico.com/linux .

Thanks again, TualiariX.

二月 24, 2009 03:09 上午

二月 15, 2009

Yandy Ding (yandyding)

隐身大衣——science进展(母校合作项目)

科幻小说《哈里•波特》和中国神话中的隐身大衣是人类的一个梦想:人们穿上隐身大衣就可以瞬间遁形。然而,一种新型人工电磁材料(或称超材料,英文名称:Metamaterial)有可能使这种梦想成真。
我校(东南大学)信息科学与工程学院毫米波国家重点实验室崔铁军教授课题组与美国杜克大学戴维•史密斯教授课题组合作,最近在“隐身大衣”研究上迈出新一步。这一研究成果发表在1月15日的《科学》杂志上,崔铁军教授和史密斯教授是这篇论文的共同通信作者
所谓新型人工电磁材料就是将具有特定几何形状的宏观基本单元周期性或非周期性地排列,或者植入到基体材料体内,所构成的一种人工材料。新型人工电磁材料和 传统意义材料的区别就在于用宏观尺寸单元代替了原来微观尺寸的原子或分子。新型人工电磁材料的特性取决于其基本单元结构。人们可以通过人为地设计单元结构 来控制新型人工电磁材料的属性,构成自然界不存在的特殊材料。
“隐身大衣”是新型人工电磁材料的最重要应用之一。所谓隐身大衣,实际上是一种可以按特定方式导行电磁波的中空材料。电磁波进入隐身大衣之后就在其中弯曲 行走,绕过隐身大衣所包裹的物体,原样不变的射出,就跟所包裹的物体不存在一样。通俗说来,隐形大衣可以引导电磁波“转向”,避开仪器探测,从而防止物体 被电磁波发现。这种隐身特性对材料的折射率有特殊要求,只能用新型人工电磁材料才能实现。
2006年11月,史密斯教授小组利用新型人工电磁材料在微波段研制成功圆柱形的隐身大衣原型,验证了用新型人工电磁材料实现隐身的设想,该成果发表在 《科学》杂志上,并被《科学》杂志评为2006年的十大科技进展之一。然而,这一隐身大衣存在明显缺陷:第一,只在很窄的带宽内有效;第二,损耗大,隐身 效果不明显。
此次新研制的隐身大衣突破了上述缺陷,在性能上有重大突破:它在很宽的频带内均有效,且隐身效果非常好。新研制的隐身大衣实际上更像一件“隐身地毯”,将 它盖在某个目标上,可以实现对这个目标的隐身。在这个“隐身地毯”的研制中,联合研究小组使用了新型人工电磁材料的快速设计技术和新型的结构单元,使设计 周期明显缩短。
隐身大衣”和“隐身地毯”并不只是供人们猎奇和消遣,它们有很多重要的潜在应用。在军事上,飞机、坦克等目标都可以通过隐身技术在敌人的眼前彻底消失;在民用上,类似的原理可用于无线通信、医学成像、无损检测、汽车防撞雷达等。
上述论文发表后,引起全世界重要科技媒体的关注。Science, Nature, MIT-Technology Review, Discovery, Physics-World等在第一时间对该项成果进行了报道,其他新闻媒体和国内媒体也做了大量的跟进报道。
崔铁军教授课题组自从2004年开始进行新型人工电磁材料的研究工作,在理论分析、设计、实验和应用上取得了一系列成果。五年来,在Physical Review Letters, Applied Physics Letters, Optics Letters, Physical Review系列等国际著名刊物上发表论文80余篇。其研究工作相继被Nature China评为研究亮点、被欧洲物理杂志评为研究亮点、被Applied Physics Letters选为封面文章、被Physical Review E网站选为封面文章,在国际上产生重要影响。同时,该课题组的工作两次被国家自然科学基金网站基金要闻以头版新闻报道。

by Yandy Ding (yandy.ding@gmail.com) at 二月 15, 2009 02:51 下午

一月 14, 2009

Yandy Ding (yandyding)

classic poem 2

忆秦娥 自勉
——写于 2004年2月1日
又归雁,窗前迎春几开谢。
几开谢,岁月如流,光阴似箭。
纵比乾坤自开裂,人生却似昙花现。
昙花现,流芳千古,尽此瞬间。

by Yandy Ding (yandy.ding@gmail.com) at 一月 14, 2009 10:18 下午