Bun Wong's Blog

专注于 Web 应用程序开发

其它分享

Mac OS X 编译 sphinx 的一问题解决办法

2010/08/07 •

昨天研究了一下 sphinx,回家在 Mac OS X 下用同样的方式编译 sphinx 时发生错误,

svn export http://sphinxsearch.googlecode.com/svn/trunk sphinx
cd sphinx
./configure --prefix=/usr/local/sphinx --with-mysql
make
...
sphinxstd.cpp: In function ‘bool sphIsLtLib()’:
sphinxstd.cpp:1001: error: ‘_CS_GNU_LIBPTHREAD_VERSION’ was not declared in this scope
make[2]: *** [sphinxstd.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

最终在 sphinx 的 bug list 下找到该问题的解决办法 (bug #515)。

...

Mac OS X 命令行配置 Alias

2010/08/07 •

Mac OS X 的 Terminal profile 在控制台启动时加载,路径是 /etc/profile (for everyone) 和 ~/.profile (for 当前 user),编辑此文件,即可在每次启动控制台时生效,例如:

alias ls='ls -G'
alias grep='grep --color=auto'

Mac 下的 MySQL 管理工具

2010/07/23 •

这段时间一直在家里用 Mac 开发东东,经常需要操作 MySQL,以往在 Windows、Ubuntu 下驾轻就熟的官方老版本 MySQL GUI Tool (MySQL Administrator 和 MySQL Query Browser),现在已经被升级为 MySQL Workbench,界面换了,交互变了,资源也用多了,感觉还没有老版本用得自然……

MySQL Workbench

...

Mac 仔满一周啦

2010/07/12 •

嘻嘻,MacBook 入手满一周啦,这周下来感觉 OS X 是越用越好,虽然是从键盘按键学起,折腾到目前为止工作的大部分软件都已经安装上 (AMP, Eclipse, Photoshop, MS Office, Firefox, QQ, YM...),可以开工干活了 :)

MACBOOK 3

我开QQ微博啦~~~

2010/06/25 •

昨天在 facebook 看到星哥提到了 QQ 微博,上去注册了一个,估计大家都可以过把推瘾,以后大家不用翻墙了 :)

建议装上 2010 版,可以直接管理微博

PS: 我的微博是 http://t.qq.com/bunwong:) 欢迎一起来 t

《高性能网站建设指南》

2010/06/17 •

最近翻读了一次这本书的中文版,想当初 Y! 建立了很多优化前端性能和体验的标准,正好作为这一标准的初级指南,这本书覆盖了大部分最重要和最有效的实践,建议大家拜读一下 :)

封面

空间搬了

2010/02/08 •

webyee 的空间到期了,换了一个主机空间,大家帮忙测试下速度,噶噶...

《后来》英文版

2010/01/06 •

哈哈,在辞海发现的一首英文歌...

Oh life, the wonders that you bring
The beauty I can see
That I keep deep inside of me
Oh life, I feel that I can breathe it again
In a world where love will still remain

Choose your words, make them wise
Many things have brought us where we are
I am here, here with you
Close your eyes, let love heal the sorrow

Once again I feel alive
I'm sure of this inside
And I need you more than ever
Life's taught me so much more
Feel stronger than before
Oh this feeling stays here forever

Long ago, I was blind
I thought the love was always here to stay
But we walked away, and we said good bye
Even though I knew I loved you still

Suddenly you were gone and she was in your arms
It's a picture I remember
I was lost, could not be saved
My life just drained away
I only wished that we could start over

But true love will find its way
Now our love is here to stay
I lost it once and now I found a way to live again

Oh life, the wonders that you bring
The beauty I can see
That I keep deep inside of me
Oh life, I feel that I can breathe it again
In the world where love will still remain

But true love will find its way
Now our love is here to stay
I lost it once and now I found a way to live again

Oh life, the wonders that you bring
The beauty I can see
That I keep deep inside of me
Oh life, I feel that I can breathe it again
In the world where love will still remain

你的柔情我永远不懂

2009/11/07 •

陈琳已去世一周,或伤感或困惑,时间也将会冲刷一切,今天再听到这首歌,缅怀这位杰出的音乐人……

超速绯闻

2009/08/08 •

昨天晚上跟老婆看了这部韩国片子,一位中庆的旧同事介绍的,是一部家庭喜剧,虽然说这是部喜剧挺牵强,搞笑成分不多,基本上不能用正常人思维来理解,13 岁的小孩就当老爸了,比小宝哥还厉害,不过里面的小孙子确实可爱,每次看到这小子的镜头都会笑一把,难怪最近网上也盛传起他的 QQ 表情了。尾段找小孩的部分也几感人,不过总感觉韩剧里所勾画的家庭观没有中国戏里面那么浓重是真的,是不是现代年轻人越来越不需要家庭呢?

关于用 Drupal 重建 Blog

2009/06/19 •

这个想法不是这几天才有,当我接触到 Drupal Module 开发的那一天开始,我就被这个好东西深深吸引,而以前辛辛苦苦写框架写控制器写模型做出来的东西,都可以用 Drupal 和它的第三方 Module 来很简单的实现,因此现在主要问题不是出现在功能实现上,而是如何把内容更好的表现出来。尽管现在对 Theme 的开发还不是很熟练,要按照 Drupal Template 的机制来实现当前的主题对我来说还有相当难度,但是我想这个 Blog 是个很好的练习机会。

今天 Blog 换肤了

2009/04/20 •

哈哈,这几天把 Blog 做了个脱胎换骨啦,基于 CodeIgniter,生成全静态,也换了新的主题,用 YUI CSS,嘻嘻,晚点等完善后再把源代码放上来吧……

人物加点 Demo

2009/03/28 •

又到周五,睡觉前搞了这个东东,用来在创建游戏角色时的界面

周末开发了一个小 Game Demo

2009/03/22 •

哈哈,这个周六日无聊搞了个东东,还算不上一个完善的游戏,只是作为一个 Demo 来看看。

Google Analytics

最近一个月访问数:544