Gauche > Archives > 2009/08/31

2009/08/31 05:10:27 UTCえんどう
#
nice boat.
#
http://compsci.ca/blog/if-a-programming-language-was-a-boat/
2009/08/31 06:35:25 UTCとおる。
#
しばらく放置していた web チャットをアップデートしました。
#
http://torus.jp:81/webchat/
#
データファイルのサイズが一定以上になると、新しくファイルを作って、そのファイル名を XML のメッセージに含めてクライアントに送るという仕様にしています。
#
http://github.com/torus/webchat/tree/master
2009/08/31 06:45:20 UTCshiro@Tokyo
#
一度作ったファイル名は変えないということか。functionalでよいな。
2009/08/31 06:46:45 UTCとおる。
#
そうそう、functional。で、最新のファイル名をどうやってサーバで覚えておくか迷ったんですが、いまはシンボリックリンクを使っています。
2009/08/31 09:51:24 UTC(び)
#
http://jp.techcrunch.com/archives/2009082725-years-later-first-registered-domain-name-changes-hands/
#
歴史ですねぇ
2009/08/31 09:57:14 UTCshiro@Tokyo
#
BBNもDECももう消えたしなあ。あとのドメインはどの会社だったのかな
2009/08/31 10:45:25 UTCえんどう
#
$ cat /Applications/Google\ Chrome.app/Contents/Resources/renderer.sb 
;;
;; Copyright (c) 2009 The Chromium Authors. All rights reserved.
;; Use of this source code is governed by a BSD-style license that can be
;; found in the LICENSE file.
;;
(version 1)
(deny default)

; Needed for full-page-zoomed checkboxes etc -- http://crbug.com/11325
(allow sysctl-read)


; Each line is marked with the System version that needs it.
; This profile is tested with the following system versions:
;     10.5.6, 10.6 seed release

; Allow following symlinks
(allow file-read-metadata)  ; 10.5.6
; Allow reading files out of /System/Library
(allow file-read-data (regex #"^/System/Library"))  ; 10.5.6

; Needed for Fonts
(allow mach-lookup (global-name "com.apple.FontObjectsServer"))  ; 10.5.6
(allow mach-lookup (global-name "com.apple.FontServer"))  ; 10.6 seed release
(allow file-read-data (regex #"^/Library/Fonts"))  ; 10.6 seed release

; Needed for IPC on 10.6
(allow ipc-posix-shm)
#
S式キタコレ
2009/08/31 22:36:03 UTCえんどう
#
karetta.jpのworkerを再起動してもcgi側からのリクエストに何のレスポンスもない。なんだろ。
#
kahua-admin -S <site-path> lsとかやっても応答ない。
2009/08/31 22:49:38 UTCえんどう
#
@400000004a6c193a37db9174 *** ERROR: couldn't open output file: "/var/www/vhosts/karetta/daemontools/site/logs/kahua-spvr.log"
@400000004a6c193a37dbb0b4 Stack Trace:
@400000004a6c193a37dbb49c _______________________________________
@400000004a6c193a37dbb884   0  (open-output-file path :if-exists :append)
@400000004a6c193b00232ddc         At line 212 of "/usr/local/share/gauche/0.8.14/lib/gauche/logger.scm"
@400000004a6c193b002335ac   1  (log-format "[spvr] error in main:\n~a" (kahua-error-string e #t))
@400000004a6c193b00233d7c         At line 830 of "/usr/local/lib/kahua/kahua-spvr.scm"
@400000004a6c193b00234164   2  (socket-accept kahua-sock)
@400000004a6c193b0023454c         At line 740 of "/usr/local/lib/kahua/kahua-spvr.scm"
@400000004a6c193b00234934   3  (for-each (lambda (h) (apply (car h) (cdr h))) (append (pick-handl ...
@400000004a6c193b002387b4         At line 130 of "/usr/local/share/gauche/0.8.14/lib/gauche/selector.scm"
@400000004a6c193b00238b9c   4  (selector-select (selector-of spvr) 10000000.0)
@400000004a6c193b00238f84         At line 760 of "/usr/local/lib/kahua/kahua-spvr.scm"
@400000004a6c193b00239754   5  (run-server spvr tpool kahua-sock listener)
@400000004a6c193b00239b3c         At line 836 of "/usr/local/lib/kahua/kahua-spvr.scm"
@400000004a6c193b0023ce04   6  (call/cc (lambda (bye) (define (finish-server sig) (log-format "[s ...
@400000004a6c193b0023d1ec         At line 821 of "/usr/local/lib/kahua/kahua-spvr.scm"
@400000004a6d1d281f546c84 *** ERROR: couldn't open output file: "/var/www/vhosts/karetta/daemontools/site/logs/kahua-spvr.log"
@400000004a6d1d281f548fac Stack Trace:
@400000004a6d1d281f549394 _______________________________________
@400000004a6d1d281f54977c   0  (open-output-file path :if-exists :append)
@400000004a6d1d281f549b64         At line 212 of "/usr/local/share/gauche/0.8.14/lib/gauche/logger.scm"
@400000004a6d1d281f549f4c   1  (log-format "[spvr] error in main:\n~a" (kahua-error-string e #t))
@400000004a6d1d281f54a71c         At line 830 of "/usr/local/lib/kahua/kahu
#
これか