Open for a new job

I am about to leave current company and looking for a new challenge for future. If you are interested, and also looking for a Java or Python developer, please check the hot baked resume: en zh Actually, I am not good at documenting myself. So if you need more details, feel free to get connected [...]

Posted in: 广告 by Sunng 7 Comments

Bason: A BSON Serialization Code Generator

Bason is a code generator for object to bson serialization and deserialization. Different from tranditional reflection way, bason uses an annotation processor to generate serialization manager at compile time. You just add Bason as compilation dependency and drop it in the runtime. To use Bason, you simply add annotation to JavaBeans: /**  *  */ package [...]

Posted in: 广告 by Sunng No Comments , ,

Introduction to Amoeba

Amoeba is a distributed database middleware works as mysql proxy, provides sharding and high availability support for large scale applications using multiple mysql servers as backend. Compatible with mysql protocol, Amoeba is fully transparent to any client using standard mysql drivers, which means, to use Amoeba you don’t have to modify any code of database [...]

Posted in: 广告 by Sunng No Comments ,

Exaile-doubanfm-plugin for exaile 0.3.2

Ubuntu 10.04的Exaile还停留在0.3.1,而Fedora 13上已经升级到0.3.2了。为此我更新了豆瓣电台插件,现在这个版本可以在0.3.2上正常工作。 可以到github的下载页面获取 doubanfm-0.0.3a-exaile032.tar.gz http://github.com/sunng87/exaile-doubanfm-plugin/downloads 此外for exaile 0.3.1的版本也有一个优化和bugfix release, Ubuntu用户可以获取 doubanfm-0.0.3-exaile031.tar.gz 接下来三周又有项目了,难度比较大,估计豆瓣插件近期不会有什么新的惊喜了。 The post is brought to you by lekhonee v0.7

Posted in: 广告 by Sunng No Comments ,

sunng’s pastebin

写了一个基本的pastebin放在appengine上: http://sunoffline.appspot.com/pb/ 支持纯文本、Markdown和代码高亮。数据永久保留,推荐大家收藏以备不时之需。 The post is brought to you by lekhonee v0.7

Posted in: 广告 by Sunng No Comments ,

Exaile-doubanfm-plugin 0.0.2

Exaile doubanfm plugin 0.0.2 预览版,目标是在Linux桌面提供豆瓣电台的完整体验。 目前插件只能运行在Exaile 0.3.1版本上。 0.0.2增加了豆瓣电台专用的视图: 相比第一版通过rating来实现豆瓣电台喜欢、跳过和删除的功能,在专用视图上有专门的按钮来操作。 其他细节更新: 当剩余曲目超过15首时不再增加播放列表 当播放到最后一首歌曲取新播放列表时增加重试机制 修正libdbfm跳过曲目bug一个 安装: 打开Exaile Preference,Plugin页,点击按钮Install Plugin,选择doubanfm.exz即可。如果存在问题,可以执行以下命令: mv doubanfm.exz douban.tar.gz tar xf doubanfm.tar.gz mv doubanfm ~/.local/share/exaile/plugins/ 转到doubanfm设置页面,填写用户名密码重启Exaile。 打开File菜单,选择豆瓣电台频道 选择曲目就可以开始播放了,选择视图中豆瓣电台视图可以切换到豆瓣电台视图。 项目地址: http://github.com/sunng87/exaile-doubanfm-plugin 下载: http://github.com/sunng87/exaile-doubanfm-plugin/downloads 另外,doubancovers插件也有一个针对豆瓣电台的更新可以快速获取豆瓣电台音乐的封面: http://bitbucket.org/sunng/exailedoubancovers/downloads?highlight=9265 The post is brought to you by lekhonee v0.7

Posted in: 广告 by Sunng 2 Comments , , , , ,

exaile豆瓣电台插件(exaile-doubanfm-plugin)

豆瓣电台一直是flash客户端,嵌入浏览器,出于对flash的厌恶,本人开发了这个exaile插件,让广大linux同学在exaile里享受豆瓣电台一目了然桌面集成和全部豆瓣电台功能。 exaile-doubanfm-plugin features: 登录豆瓣,获取豆瓣电台播放列表 持续下载电台播放列表,实现不重复的持续播放 标记/取消“喜爱”、标记“回收站”、跳过 显示歌曲信息 项目地址: http://github.com/sunng87/exaile-doubanfm-plugin 下载页: http://github.com/sunng87/exaile-doubanfm-plugin/downloads 使用: 激活插件,填写用户名密码 重启exaile 文件菜单,open douban.fm,选择频道 点击播放开始 将rating设置为5 标记喜欢 rating设置2 豆瓣标准跳过 rating设置1 豆瓣删除 The post is brought to you by lekhonee v0.7

Exaile-Douban-Covers 0.0.3 Released

一眨眼有大半年没有维护这个插件了,Exaile从0.3.0升级到了0.3.2。严重的是这三个版本的插件接口各不相同,0.3.1新增了cover providers管理, 修改了track获得相应字段的api,简化了CoverSearchMethod的职责(去掉了缓存管理,只负责find_convers和get_conver_data两个功能)。而0.3.2至少也修改了配置管理界面的API,所以可以在0.3.1上工作的版本也不能在0.3.2上工作。 这次升级维护把插件升级到0.0.3,兼容目前Ubuntu仓库里的Exaile 0.3.1.1。0.3.1.1新提供了一个cover provider的配置界面,可以调整cover provider的优先级,如果你听中文歌比较多,建议可以把douban cover放在第一位。 下载页面(doubancovers-0.0.3.exz ): http://bitbucket.org/sunng/exailedoubancovers/downloads 新版本和0.3.0已经无法兼容,0.3.0的用户可以继续使用0.0.2 。而兼容0.3.2的版本预计要等到10月份之后推出了,用Archlinux和其他自己安装的用户要稍等一阵了。 The post is brought to you by lekhonee v0.7

Posted in: 广告 by Sunng No Comments , ,

t.sdo.com上线

昨天搞到3点多,盛大糖果http://t.sdo.com/,昨天晚上终于开放IP给大家访问了。 留一些邀请码给大家 2HlXyYKYz2 2dKoCcQZYV oHBYhO1JPw -~YTMDYmN+ IXKYMq0kE@ Ub-C@xk8~r 我们后端服务从3月初开始正式开发,11个成员,加了三个多月的班。

Posted in: 广告 by Sunng 2 Comments ,

Douban provider for Alexandria

Alexandra is a desktop book collection manager on gnome written in ruby. With an extensible architecture, Alexandria uses different sources to retrieve book’s data, including Amazon and many local sites. Douban.com is considered to be most applicable data source for books published in Chinese. So I write this provider according to Alexandria’s SPI. Now it’s [...]

Posted in: 广告 by Sunng No Comments , , ,