凑合的胜利

很久之前,曾经遇见一个人告诉我,他的 fcitx 总是崩溃,然后他设置了一个快捷键重启。这种事情听上去是多么的不可思议,不可思议到我都想要扇他两巴掌,然后大吼醒醒吧少年。

但是实际上我也是凑合着过了很久,因为有着微妙的想要改进他们的信念。

不可打破的死圈就是一个功能没人用,没人用然后没人测试,然后不稳定再回到更加没人用。

所以总要有个人去吃那些螃蟹。

KDE 4.10 之前 Nepomuk 其实做了很重大的改进,但是其实在其间留下了不少 bug,虽然这其中并没有夸奖我自己的意思……不过无节操的想想如果自己没有提交那些 patch 是不是 4.10 的 Nepomuk 又要悲剧了。虽然悲剧可能在 4.10.1 或者 4.10.2 可以解决,不过也许是不是在那个时候又有些人失望了呢。

我总是有种站在弱者一边的心情,如果什么东西被世界遗忘了,那会是多么的寂寞。所以从来都不喜欢那些有公司背景的项目,不管 Canonical 是不是混乱邪恶,Red hat 也充其量是守序邪恶的而已。

拿 Tizen 举例子,Tizen 里面搞笑的事情一大把,上次看个视频本来以为说什么 Qt 5 和 Tizen 之间的关系,结果到最后唯一的感想就是三棒子舍不得他收来的 EFL,死活想要在 Tizen 里面用 EFL。以前遇见的一个在 Intel 的 Intern 说 Intel 对 Tizen 的想法就是跟着其他搞手机的前辈们多学着点,因为以前没折腾过。

所以说到最后开发者和软件之间没有利益关系的环境才是我想要的,才能忘记那些 Politics 而走向 Technics 更多一点。

选择 KDE 的理由已经不是当初看到 KDE 4 的界面时候的激动了,新的原因其实是这是唯一一个吸引我的社区。有许多的活跃着的可爱的人们,而这些人又是真的因为共同的想法走到一起的。每个人都可以做他自己,而他们又微妙的组成了一个整体。

所以即使为了这些,而牺牲一点自己的 User Experience 又有什么要紧。在这种地方的凑合,换来的是独一无二的结果。

因此那些争论永远也影响不到我,啊,那些什么最终形态,都给我去他妈的,能和这些人一起做喜欢的事,还有什么能比这更棒?

Posted in Linux | 9 Comments

learn some c++ in a hard way.

#include <iostream>
using namespace std;

bool func(char* m)
{
    *m = '4';
    return true;
}

int main()
{
    char c1 = '3';
    cout  << "a" << c1 << func(&c1) << c1 << "b" << endl;

    return 0;
}

just tell me what’s the output of this code.

Posted in 日志 | 17 Comments

嘛无聊的列自己喜欢的东方OST

リーインカーネイション – 蓬莱人形 ~ Dolls in Pseudo Paradise

  • 因为东方脱胎换骨喜欢上的曲子……

少女秘封倶楽部 – 蓮台野夜行~ Ghostly Field Club

53ミニッツの青い海 – 卯酉東海道 ~ Retrospective 53 minutes

大空魔術 ~ Magical Astronomy – 大空魔術 ~ Magical Astronomy

  • 密封组大好き!

六十年目の東方裁判 ~ Fate of Sixty Years – 東方花映塚 ~ Phantasmagoria of Flower View.

  • 大家都喜欢山田

信仰は儚き人間の為に –  核熱造神ヒソウテンソク ~東方非想天則 ORIGINAL SOUND TRACK

  • 非想天则的版本更燃…

恋色マスタースパーク – 東方永夜抄 ~ Imperishable Night.

星の器 〜 Casket of Star – 全人類ノ天楽録 〜東方緋想天 ORIGINAL SOUND TRACK〜 ARRANGE DISC

  • 摸你傻!

感情の摩天楼 ~ Cosmic Mind – 東方星蓮船 ~ Undefined Fantastic Object.

  • 总是想起被莲妈狂虐……为什么星莲船这么难……

幼心地の有頂天 – 全人類ノ天楽録 〜東方緋想天 ORIGINAL SOUND TRACK〜 ORIGINAL DISC

  • 好吧,打倒这里的话没记错应该是全人类的绯想天了……

=-=-=-=-=
Powered by Blogilo

Posted in 日志 | 3 Comments

没题目

上周和 Yue 面基,他大老远从 CMU 这种大乡下跑到我这种大大乡下相当不容易。

周五 LIRR 到了之后于是去我家吃饭,我买了 10 盒咖喱终于派上了用场(按我的味道可以吃53顿的分量……),于是吃了咖喱。

老实讲我没啥吃过的地方,于是我的步调和在中国差不多,就是别人带我去哪吃过于是还是去哪吃。

我大乡下公交巨挫,于是坐车之后还是走了大概两公里就到了海边了。

来这当然是为了

吃龙虾!

吃完之后随便在码头逛了逛,看见天鹅一只。

然后又回去学校了。晚上这家伙又匆匆忙忙的走了……

说好的输入法问题的Sprint被大家都忘了……

=-=-=-=-=
Powered by Blogilo

Posted in 日志 | 1 Comment

Fcitx 4.2.7

All components in this release will depend on fcitx 4.2.7 due to they are
using the new build macro.

Now we have a new template repo for whom want to develop new addon for fcitx:
https://github.com/fcitx/fcitx-templates/tree/master

And for kdevelop user:
Create a new tar.bz2 with this branch, and now you can create fcitx project
with kdevelop.
https://github.com/fcitx/fcitx-templates/tree/kdevelop

fcitx 4.2.7
new feature for user:
* qt im module support per window input context.
* quickphrase add new custom ui editor.
* all pinyin now support stroke.
* add clipboard input support (Ctrl + ; to use it)
* fcitx-diagnose script for diagnose the problem
* new dark skin which can also work for non-composite window manager (though
looks not the same)
* Helping xmodmap user to correct loading ~/.Xmodmap by default
* Bind one input method with specific key.
* Translation update (German, and some spanish).
* Add “up” and “down” to paging key by default
* fcitx-config now will comment out the value which is same as the default
value upon save, so default value can be controlled by upstream fcitx change.
* reload only one addon configuration

new feature for developer:
* Big build system improvement
* remove intltool dependency
* auto-codegen tool  for cross module function.
* add libfcitx-qt, containing dbus stuff and provides custom ui plugin
* architecture.
* candidate window can be overriden to use horizontal / vertical by input
method. (kimpanel need KDE 4.10 to use this feature)
* paging can be override by custom function

bug fix:
* fix for xim restart.
* add more locale to xim by default.
* compatible with lua 5.2
* some other misc bugfix

fcitx-configtool 0.4.6
Add support for new custom configuration ui.

kcm-fcitx 0.4.2
Add support for new custom configuration ui.

fcitx-cloudpinyin 0.3.1
update to support clean quit.

fcitx-m17n 0.2.0
Fix py hide by default bug.

fcitx-rime 0.2.0
re-deploy support

fcitx-sunpinyin 0.4.0
adjust some default configuration for better user experience.

fcitx-unikey 0.2.0
use new custom ui to build macro editor

fcitx-hangul 0.2.1
fix icon path

fcitx-chewing 0.2.0
fix a bug in candidate selection.

fcitx-qt5 0.1.1
fix build and add libfcitx-qt5 for dbus.

此次发布的所有组件都依赖 fcitx 4.2.7,因为使用了新的构建宏。

fcitx 4.2.7
给用户的新功能:
qt 输入法模块支持不同窗口使用不同状态
快速输入添加新的图形化编辑器
所有拼音输入法都支持笔画输入
剪贴板输入支持 (默认按键为 Ctrl + ; )
fcitx-diagnose 脚本用于发现问题
重新制作的 dark 皮肤,无混成状态也能“凑合”使用……
默认将自动加载 ~/.Xmodmap
为单个输入法绑定按键
上下键现在也是默认翻页键了
fcitx-config 现在将和默认值一样的选项注释掉,使得fcitx上游对默认值的修改可以反应给用户。
翻译更新(德语和西班牙语)
fcitx-remote 可以用于设置当前输入法了
可以只重新加载单个插件的配置

给开发者的新功能:
构建系统改进,移除了intltool的依赖,添加了跨模块调用的自动代码生成
添加了 libfcitx-qt,包括 dbus 控制和自定义图形化界面插件的支持
候选词窗口的横纵可以被输入法选择覆盖
翻页可以用自定义函数代替

错误修复:
修复 xim 的重启
添加更多 locale 到 xim 的默认列表
和 lua 5.2 兼容
其他错误修复

fcitx-configtool 0.4.6
添加新的自定义 gui 的支持

kcm-fcitx 0.4.2
添加新的自定义 gui 的支持

fcitx-cloudpinyin 0.3.1
完整退出模块

fcitx-m17n 0.2.0
修复m17n拼音符号被默认隐藏的问题

fcitx-rime 0.2.0
重部署支持(fcitx重新加载配置时进行重新部署)

fcitx-sunpinyin 0.4.0
调整默认选项,去掉掉原来单一的 ing/ign ong/ogn 纠错改成 gn/ng 的纠错。

fcitx-unikey 0.2.0
使用新的自定义ui来实现宏编辑器

fcitx-hangul 0.2.1
修复安装图标路径

fcitx-chewing 0.2.0
修复一个候选词选择的问题

fcitx-qt5 0.1.1
修复编译,以及添加 libfcitx-qt5 (和libfcitx-qt相比只包括dbus部分)

Posted in fcitx development | Tagged , | 9 Comments