Google 害我错过 Code Jam

为了便于跟踪 Code Jam 的时间表,我在 Code Jam 网站把时间表导入到 Calendar 了。今晚突然发现,时间导入居然是错的。而且错得很离谱。原本想着今晚开始玩 Round 1A 的,结果一查,发现居然已经错过了。这件事情让我很失望,具体请点击下图看真相:

Screen Shot 2013-04-27 at 9.01.44 PM

送一首歌给党听:Do You Hear the People Sing?

Do You Hear the People Sing?
by Les Miserables Cast. From Les Miserables

Les Misérables (The Motion Picture Soundtrack) [Deluxe Edition]

Do You Hear the People Sing? by Les Miserables Cast
ENJOLRAS
Do you hear the people sing?
Singing a song of angry men?
It is the music of a people
Who will not be slaves again!
When the beating of your heart
Echoes the beating of the drums
There is a life about to start
When tomorrow comes!

COMBEFERRE
Will you join in our crusade?
Who will be strong and stand with me?
Beyond the barricade
Is there a world you long to see?
Courfeyrac:
Then join in the fight
That will give you the right to be free!

ALL
Do you hear the people sing?
Singing a song of angry men?
It is the music of a people
Who will not be slaves again!
When the beating of your heart
Echoes the beating of the drums
There is a life about to start
When tomorrow comes!

FEUILLY
Will you give all you can give
So that our banner may advance
Some will fall and some will live
Will you stand up and take your chance?
The blood of the martyrs
Will water the meadows of France!

ALL
Do you hear the people sing?
Singing a song of angry men?
It is the music of a people
Who will not be slaves again!
When the beating of your heart
Echoes the beating of the drums
There is a life about to start
When tomorrow comes!

Flora_Pac Updates: 合并子网、优化 isInNet() 的判断逻辑

今天比较闲,又更新了一版 Flora_Pac。这个更新主要有以下两点优化:

* 合并子网、减少匹配条目数(从 3587 条减少到 1710 条);
* 精简浏览器对 isInNet() 函数的实现,简化判断逻辑。

经过以上两点优化后,性能有了比较明显的提升。请大家更新试用,有问题欢迎与我联系。

项目地址:
https://github.com/Leask/Flora_Pac

PS:新版本增加了示例 pac 文件,如果没有 Python 环境的,自己直接改 pac 吧。

Flora_Pac Updated: 更完善的内网段过滤

最近 VPN 在墙内已经越来越不好用了。Shadowsocks、SPDY proxy 等被越来越多人作为主要的翻墙方式,因此,一个好用的 pac 实现显得越来月重要。今天阳光灿烂,小更新了一下 Flora_Pac 项目,主要是应大家的要求,加入了更完善的内网段过滤功能。

大家可以到 GIthub 下载到最新的代码:
https://github.com/Leask/Flora_Pac

另外,谈谈下一步正在开发中的功能:
* Python 3 支持;
* 子网段合并,精简匹配条目数;
* 自动更新。

以上几个功能最近就会上线了。

最后,还是说我的那句老话:
希望早日不用折腾这些玩意,世界一定会春田花花得多。

Ali呸 / AliPei

来上海后就很少写东西了,工作忙,自己额外要做的事儿也多。看到大家给了我好多留言,大多数是关于一些开源项目的,我有时间再一一回复一下吧,实在抱歉。

今天上来也是发布一个 Safari 插件,这个插件的创意来自 @StonyWang ,主要功能是实现通过 Safari 打开支付宝首页的时候自动去掉使用安全控件的小勾,同时设置允许通过粘贴方式来输入密码,大大提高登录支付宝网站的便利程度。

至于不使用安全控件来输入密码是否降低了安全性,我个人感觉在 Mac 上完全没有问题。是否真降低安全性纯属是个人观点了。

开源地址:
https://github.com/Leask/AliPei

插件下载地址:
https://github.com/Leask/AliPei/blob/master/AliPei.safariextz