以前介绍过 sort -m对多台服务器上的日志进行排序合并,但是最近发现有时候cronolog截取日志并不干净,就是说按天截断的时候,还是有可能出现几条跨天的日志记录。March 31 => April 1时候日志排序倒错的可能性还是存在的。
最近才知道知道sort 还有-M模式,是可以对有英文月份的字段进行排序的:
-M An initial string, consisting of any amount of white space, fol-
lowed by three letters abbreviating a month name, is folded to
UPPER case and compared in the order `JAN' < `FEB' < ... <
`DEC.' Invalid names compare low to valid names.
这样就不会在 March => April 的时候出现排序倒错的问题了。
the elzr weblog has recently posted an infodesign challenge: "My mother’s 48. She can’t read small type very well. She has trouble using little calendar cards because the day numerals are so small. There is so much repetition in the current scheme for representing a year that there has to be a better way, a better infograph that will fit a year within 86 by 54 millimeters of hard paper."
not sure whether this is sufficient for a design brief (or whether a collection of far-sighted mothers will judge the entries), but I guess someone from the infosthetics crowd could try to help her? I would appreciate any submission to be posted here in the comment section as well, as the entries could then be added to this post.
for inspiration, see also creative calendar design.
[link: elzr.com]
a movie depicting several prototype applications for Jeff Han's famous multi-touch display. next to some impressive photo sorting & Google Maps browsing, a classic data visualization application is shown around the 2:47 mark.
[link: fastcompany.com|via asourceofinspiration.com]