タグ

2010年9月24日のブックマーク (3件)

  • SysLogHandler not writing to syslog with Python logging

    Code and comments on web development, Django, Python and things (un)related. Logging to syslog in Python I was trying to use the standard Python logging module to write messages to syslog. The logging module has a SysLogHandler class which can log to a local or remote syslog daemon. With no host specified, SysLogHandler uses localhost which is what I wanted. I tried to use SysLogHandler, but it ju

    jinim8
    jinim8 2010/09/24
    Pythonのloggingモジュールでsyslogにデータを送っても記録されない。なんでかしらんが、/dev/log宛に送らないといけないらしい。
  • 『村上春樹『1Q84』』

    村上春樹『1Q84』 『1Q84』があれほど売れ、あれほど話題になったのに、文藝評論家たちはこの小説の社会性をあまり論じていないような気がする。唯一この小説を1960年代から70年代、80年代、90年代を経由して現在に至る社会的文脈の中で、かつ連合赤軍からオウム真理教まどの「若者の反乱」の文脈の中で論じたのは社会学者の大澤真幸だけだ(『THINKING「O」 』〈4号〉 特集:もうひとつの1Q84、左右社)。 ところが大沢の分析ですら、『1Q84』が東京論でもあることをなぜか指摘していない。『1Q84』では村上春樹にしては珍しく実在の地名が多数登場する。そして「高円寺」にこだわっている。この小説は天吾と青豆という二人の男女が主人公だが、高円寺は天吾の住んでいる場所だし、登場人物たちは磁場に引き寄せられるように高円寺に集まってくる。対して青豆は「高円寺」とは(特に1984年当時には)まったく

    『村上春樹『1Q84』』
    jinim8
    jinim8 2010/09/24
  • Welcome | Flask (A Python Microframework)

    Welcome to Flask¶ Welcome to Flask’s documentation. Get started with Installation and then get an overview with the Quickstart. There is also a more detailed Tutorial that shows how to create a small but complete application with Flask. Common patterns are described in the Patterns for Flask section. The rest of the docs describe each component of Flask in detail, with a full reference in the API