Archive for August, 2011

StarCraft II配不在高可玩就行

山不在高,有仙则名
水不在深,有龙则灵

—— 唐·刘禹锡《陋室铭》

鄙人以及鄙人的爱机(在他们看来则是陋机)已经被到处各种无数次的鄙视过了,但是…… but…… 阿Q就是这么诞生的:

参照这里优化,除了模型和影片,其它都比较无限趋向于杯具(一个极限函数);

但是…… but……

南阳诸葛庐,西蜀子云亭;
孔子云,何陋之有?

Python NameError: name ‘readline’ is not defined

Python 2.6.×已经装了有一定时日了,已经完全不知道python的世界都更新到什么境界了;标题这个issue在我更新到Lion之前就已经存在了,所以这不能算是Lion里才introduce的issue,这个还是得有一句说一句;

之前我在Snow Leopard一直没有找到fix的办法,当然主要的原因还在于我也没有那么急切的想fix它,至少对于一个几个月都基本不碰python的家伙而言,它的急迫性显然没有解决starcraft2破解版一联机就自动更新不能玩这个issue来的高,xd:)

BTW, 我只玩战役模式,Blizzard及其各路partner已经完全将starcraft2的对战模式变成网游,虽然我很想支持暴雪买正版,但是网游的各种消耗对我来说是无法容忍的.

貌似又有跑题的趋势…… anyway……

这个issue就是下面这样的,注意倒数第二行:

~ ➔ python
Python 2.6.6 (r266:84292, Sep 13 2010, 20:53:06)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Module readline not available.
Traceback (most recent call last):
  File "/Users/samson/.pythonrc", line 22, in <module>
    readline.read_history_file(historyPath)
NameError: name 'readline' is not defined
>>>

Continue reading →

Lion Ready?

装了Lion将近3周,新的fancy的feature不少 i,当然各种大的小的宏观的细节的问题也不少;这儿我就不列了,还真是不一而足呢;

现在大家都在讨论,说种种迹象表明,mac os x的未来便是慢慢向ios靠拢,逐步统一两系统的用户体验和程序开发;列位,先别讨论未来了,我比较现实,谁先把10.7.1给我整出来吧……

[Footnotes]
  1. fancy的另外一种解释就是中看不中用…… []

Grid Archives 1.5.0

Grid Archives 1.4.0 introduced a new display style called “compact”, which only supports year expand at that time.

Although this function will effectively reduce the length of the whole archive page if there are many years of articles, it still presents as a very long list page if there are many articles/posts in each year. To address this issue, 1.5.0 introduce a new month list view in “compact” mode.

It will be shown by default if “compact” mode is enabled, but you can always turn it off if you like. The month date format is also highly customizable.

[ChangeLog]

  • added month list view in ‘compact’ mode, the page will smoothly scroll to that month if clicked
  • added an option to hide the month list, thus disable the scroll capability
  • added an option to customize the date display format for month list

See Archives of The Year for a live demo.

Grid Archives 1.4.1

This release mainly addresses some minor defects/issues in release 1.4.0, if you’ve already upgraded to 1.4.0, upgrade to 1.4.1 is highly recommended.

[ChangeLog]

  • tweaked the year list display style
  • fixed an issue that the screen will scroll up to the top during year expand
  • only load ‘compact’ style required js in ‘compact’ mode, not ‘classic’ mode

Please visit this archives page (“compact” style) to see a live demo.

As always, please visit the plugin home page for more details.

Grid Archives 1.4.0

CDD i continues

Driven by this comment, grid archives now supports a new compact (expand) post display style (view live demo). As also indicated by the demo, currently only year expand is supported. I will add month expand capability later if it’s largely demanded.

[ChangeLog]

  • added an compact (expand) display style
  • added 3 shortcode attributes (style, month_date_format, post_date_format), grid-archives now supports [ grid_archives style=”classic|compact” month_date_format=”Y.m” post_date_format=”j M Y” ]

[Screenshots]

For more details, please visit the plugin home page.

[Footnotes]
  1. Comment Driven Development []

OpenExplorer Eclipse Plugin 1.5.0

Thanks to jdkcn, Open Explorer now supports multiple file managers (not only nautilus) in Linux, it will detect your system file manager and use that by default i. I also added a preferences page for this, so you can customize it if the default doesn’t make you happy.

To upgrade, simply replace the plugin jar file, you can always download the latest versionii from here.

[Footnotes]
  1. dolphin (KDE), nautilus (Gnome), thunar (xfce), pcmanfm (lxde), rox, xdg-open, etc []
  2. 1.5.0.v201108051513 []