Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://raido.sakura.ne.jp/southly/rn/index.xml

  1. <?xml version="1.0" encoding="Shift_JIS"?>
  2. <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
  3.  <channel rdf:about="http://raido.sakura.ne.jp/southly/rn/index.xml">
  4.    <title>Source of Nothingness</title>
  5.    <link>http://raido.sakura.ne.jp/southly/rn/</link>
  6.    <description>NANRIの関心事(xyzzyとかlispとか)、その他もろもろを</description>
  7.    <items>
  8.      <rdf:Seq>
  9. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1172004099.txt" />
  10. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?HeaderPage.txt" />
  11. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1267349508.txt" />
  12. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1264012172.txt" />
  13. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1263826256.txt" />
  14. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1261321159.txt" />
  15. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1261140315.txt" />
  16. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1260294123.txt" />
  17. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1245670321.txt" />
  18. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1238933006.txt" />
  19. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1238907160.txt" />
  20. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1237620463.txt" />
  21. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1236620769.txt" />
  22. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1236000743.txt" />
  23. <rdf:li rdf:resource="http://raido.sakura.ne.jp/southly/rn/?1235480701.txt" />
  24. </rdf:Seq></items></channel>
  25. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1172004099.txt"><title>2007-02-21</title><link>http://raido.sakura.ne.jp/southly/rn/?1172004099.txt</link><description>
  26. 2007-02-21
  27. 擬似乱数生成器 Xorshift RNGs ってのを見つけた。
  28.  http://lucille.atso-net.jp/blog/?p=9
  29. 書いてみる
  30. (let ((x 123456789) (y 362436069) (z 521288629) (w 88675123))
  31.   (defun xor128 ()
  32.     (let ((a (logxor x (logand #xFFFFFFFF (ash x 11)))))
  33.       (shiftf x y z w)
  34.       (setq w (logxor (logxor w (ash w -19)) (logxor a (ash a -8)))))))
  35. (dotimes (i 100)
  36.   (format t &quot;~8,'0x~%&quot; (xor128)))
  37. </description><dc:date>2010-04-28T12:55:48+09:00</dc:date></item>
  38. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?HeaderPage.txt"><title>Menu</title><link>http://raido.sakura.ne.jp/southly/rn/?HeaderPage.txt</link><description>
  39. Menu
  40. [[About:self:AboutPage.txt]] | [[Profile:http://iddy.jp/profile/southly/]] | [[まとめ:self:1163859357.txt]] | [[オリジナル:http://ninjinix.x0.com/rn/]] | [[xyzzy:http://raido.sakura.ne.jp/southly/xyzzy/site-lisp/]] | [[あんてな:http://i-know.jp/southly/listall]] | [[■:http://raido.sakura.ne.jp/southly/lisp/ni/view.lisp]] | [[buzz:http://www.google.com/profiles/southly#buzz]]
  41. </description><dc:date>2010-04-10T13:05:06+09:00</dc:date></item>
  42. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1267349508.txt"><title>2010-02-28 : </title><link>http://raido.sakura.ne.jp/southly/rn/?1267349508.txt</link><description>
  43. 2010-02-28 :
  44. - debian squeeze でsbclインストール後のコア作成に失敗していた。
  45. - 以下がエラーメッセージ。
  46. ; #&lt;PACKAGE &quot;ASDF1&quot;&gt;
  47. ; registering #&lt;SYSTEM SB-GROVEL {B4F1921}&gt; as SB-GROVEL
  48. ;
  49. ; compilation unit aborted
  50. ;   caught 1 fatal ERROR condition
  51. Error running init-common-lisp-controller-v4: Lock on package SB-IMPL violated
  52.                                               when interning NATIVE-FILE-KIND.
  53. See also:
  54.   The SBCL Manual, Node &quot;Package Locks&quot;
  55.  
  56. - 以下のように修正して解決した。
  57. --- /usr/share/common-lisp/source/common-lisp-controller/post-sysdef-install.lisp~      2010-02-28 17:58:19.000000000 +0900
  58. +++ /usr/share/common-lisp/source/common-lisp-controller/post-sysdef-install.lisp       2010-02-28 18:01:36.000000000 +0900
  59. @@ -61,7 +61,7 @@
  60.  #+sbcl
  61.  (defun get-owner-and-mode (directory)
  62.    (when (eq :directory
  63. -           (sb-impl::native-file-kind (namestring directory)))
  64. +           (sb-unix::unix-file-kind (namestring directory)))
  65.      ;; check who owns it
  66.      (multiple-value-bind (res dev ino mode nlink uid gid rdev size atime mtime)
  67.         (sb-unix:unix-stat (namestring directory))
  68. で、以下を実行。
  69. $ sudo dpkg-reconfigure common-lisp-controller
  70.  
  71. - http://git.debian.org/?p=pkg-common-lisp/common-lisp-controller.git;a=commit;h=7e511abe9551237095f395c2f75bb7f7aa580094
  72. - squeeze でインストールされるsbclは今のところ 1.0.25 なんだけど、sb-unix::unix-file-kindがリネームされるのはこれ以降のバージョンなんじゃなかろうか。
  73. </description><dc:date>2010-02-28T19:05:29+09:00</dc:date></item>
  74. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1264012172.txt"><title>2010-01-20</title><link>http://raido.sakura.ne.jp/southly/rn/?1264012172.txt</link><description>
  75. 2010-01-20
  76. - Scheme コードバトン (CL fork)
  77. - やったことは以下の通り。
  78. -- untabify
  79. -- format指示子を大文字に揃える
  80. -- インデントを調整
  81. -- 辞書が存在しない時の動作を修正
  82. -- package-nameがprintされないようにして、オリジナルの辞書と似た感じの出力を目指した
  83. -- asdfのパッケージ化
  84. - lispの関数は10行越えると、理解が大変になってくる。修行が足りないなぁ
  85. - xyzzy lispでforkしようかと思っていたけれど、ABCLの動作と似た感じになるだろうから、微妙。
  86.  
  87. diff --git a/package.lisp b/package.lisp
  88. new file mode 100644
  89. index 0000000..3667c7a
  90. --- /dev/null
  91. +++ b/package.lisp
  92. @@ -0,0 +1,13 @@
  93. +;; -*- Mode: Lisp; Syntax: Common-Lisp -*-
  94. +
  95. +;;; Package Management
  96. +(in-package :cl-user)
  97. +
  98. +(defpackage :hige
  99. +  (:use :cl)
  100. +  #+ABCL (:shadow :y-or-n-p)
  101. +  (:export #:pin
  102. +           #:pon
  103. +           #:pun
  104. +           #:pan
  105. +           #:pen))
  106. diff --git a/scheme_baton.asd b/scheme_baton.asd
  107. new file mode 100644
  108. index 0000000..b2d9ce6
  109. --- /dev/null
  110. +++ b/scheme_baton.asd
  111. @@ -0,0 +1,4 @@
  112. +(defsystem :scheme_baton
  113. +  :serial t
  114. +  :components ((:file &quot;package&quot;) (:file &quot;scheme_baton&quot;))
  115. +  )
  116. diff --git a/scheme_baton.lisp b/scheme_baton.lisp
  117. index 27713dc..fc50ad7 100644
  118. --- a/scheme_baton.lisp
  119. +++ b/scheme_baton.lisp
  120. @@ -53,6 +53,7 @@
  121.  ;;   8. masatoi (http://d.hatena.ne.jp/masatoi/): n択問題(hige:pen)を実装.英単語から意味を問うのと意味から英単語を問うのと選べる.named-let使いまくり.
  122.  ;;   9. cranebird (http://d.hatena.ne.jp/cranebird/): CL と言えばマルチパラダイムなので CLOS を。with-系のマクロを追加。
  123.  ;;  10. smeghead (http://d.hatena.ne.jp/smeghead/): 単語のスコアを導入した。問題の単語表示時にスコアを表示するようにした。単語の一覧表示(hige:pun)にキーワード引数 score-thresholdを追加。
  124. +;;  11. NANRI (http://raido.sakura.ne.jp/southly/rn/): デバッグとちょっとした整理。あと (asdf:oos 'asdf:load-op :scheme_baton) でロードできるようにした。
  125.  ;;
  126.  ;; =================================================================================================================================================
  127.  ;;                            これより下がコードとその説明 - 変更・削除歓迎
  128. @@ -79,18 +80,6 @@
  129.  ;; ■辞書ファイルの例
  130.  ;;   http://gist.github.com/273424
  131.  
  132. -;;; Package Management
  133. -(in-package :cl-user)
  134. -
  135. -(defpackage :hige
  136. -  (:use :cl)
  137. -  #+ABCL (:shadow :y-or-n-p)
  138. -  (:export #:pin
  139. -           #:pon
  140. -           #:pun
  141. -           #:pan
  142. -           #:pen))
  143. -
  144.  (in-package :hige)
  145.  
  146.  ;;quek-san's  http://read-eval-print.blogspot.com/2009/04/abcl-java.html without cl-ppcre
  147. @@ -177,25 +166,25 @@
  148.         (format *debug-io* &quot;done~%&quot;))
  149.       *dict*))
  150.  
  151. -(defmacro with-entries ((entry) &amp;amp;rest body)
  152. +(defmacro do-entries ((entry) &amp;amp;rest body)
  153.    `(dolist (,entry (entries-of *dict*))
  154.       ,@body))
  155.  
  156.  ;;; Top-Level Functions
  157.  (defun pin ()
  158.    &quot;Register new entries to the dictionary.&quot;
  159. -  (unless *dict-file*
  160. -    (ensure-directories-exist *dict-file*))
  161.    (with-dict ()
  162. -    (loop (add-entry (prompt-for-entry))
  163. -       (if (not (y-or-n-p &quot;Another words to register? [yn]: &quot;)) (return)))))
  164. +    (loop
  165. +      (add-entry (prompt-for-entry))
  166. +      (unless (y-or-n-p &quot;Another words to register? [yn]: &quot;)
  167. +        (return)))))
  168.  
  169.  (defun pon ()
  170.    &quot;Start self-study english vocabulary quiz.&quot;
  171.    (with-dict ()
  172. -    (with-entries (e)
  173. +    (do-entries (e)
  174.        (p &quot;~&amp;amp;~A (score: ~D): &quot; (read-aloud (entry-word e)) (entry-score e))
  175. -      (ready?)
  176. +      #-ABCL (ready?)
  177.        #-ABCL (p &quot;~&amp;amp;~A [Ynq]: &quot; (entry-meaning e))
  178.        :again
  179.        (case (query #+ABCL (entry-meaning e))
  180. @@ -209,12 +198,12 @@
  181.  (defun pan ()
  182.    &quot;Search the word user has input from the dictionary&quot;
  183.    (with-dict (:read-only t)
  184. -    (let ((word (intern (prompt-read &quot;Word to search&quot;) :hige)))
  185. +    (let ((word (intern (prompt-read &quot;Word to search&quot;) #.*package*)))
  186.        (format t &quot;~A&quot; (or (search-dict word) &quot;Not found.&quot;)))))
  187.  
  188.  (defun pun (&amp;amp;key score-threshold)
  189. -  (if (and score-threshold
  190. -           (not (numberp score-threshold)))
  191. +  (when (and score-threshold
  192. +             (not (numberp score-threshold)))
  193.      (error &quot;pun: score-threshold must be number.&quot;))
  194.    (setup-dict)
  195.    (dump-dict :score-threshold score-threshold))
  196. @@ -226,7 +215,7 @@
  197.    (with-dict ()
  198.      (when (&gt; n-choice (length (entries-of *dict*))) ; 辞書の長さチェック
  199.        (error &quot;Dictionary size is too small .~%&quot;))
  200. -    (with-entries (e)
  201. +    (do-entries (e)
  202.        (p &quot;~&amp;amp;~A (score: ~D): &quot;
  203.           (if meaning? (entry-meaning e) (read-aloud (entry-word e)))
  204.           (entry-score e))
  205. @@ -239,13 +228,15 @@
  206.             :do (p &quot;~A.~A  &quot; i (if meaning? (entry-word item) (entry-meaning item))))
  207.          (p &quot; [1-~Aq]: &quot; n-choice)
  208.          (nlet itr ((query (read *query-io* nil nil)))
  209. -          (cond ((and (numberp query) (&gt; query 0) (&gt; (1+ n-choice) query))
  210. +          (cond ((and (numberp query) (&lt; 0 query (1+ n-choice)))
  211.                   (if (= query correct-answer)
  212.                       (incf (entry-ok-count e))
  213.                       (incf (entry-ng-count e))))
  214. -                ((and (symbolp query) (string= (symbol-name query) &quot;Q&quot;)) (return))
  215. -                (t (p &quot;~&amp;amp;Please type number of the choice or Q for quit.~%[1-3q]: &quot;)
  216. -                   (itr (read *query-io* nil nil)))))))))
  217. +                ((and (symbolp query) (string= (symbol-name query) &quot;Q&quot;))
  218. +                 (return))
  219. +                (t
  220. +                 (p &quot;~&amp;amp;Please type number of the choice or Q for quit.~%[1-3q]: &quot;)
  221. +                 (itr (read *query-io* nil nil)))))))))
  222.  
  223.  ;;; Auxiliary Functions
  224.  (defun setup-dict (&amp;amp;key (fn #'sort-dict-standard) (file *dict-file*))
  225. @@ -261,36 +252,51 @@
  226.    (mapcar #'(lambda (e)
  227.                (make-entry :word (entry-word e)
  228.                            :meaning (entry-meaning e)
  229. -                          :ok-count (or (entry-ok-count e) 0)
  230. -                          :ng-count (or (entry-ng-count e) 0)))
  231. +                          :ok-count (or (ignore-errors (entry-ok-count e)) 0)
  232. +                          :ng-count (or (ignore-errors (entry-ng-count e)) 0)))
  233.            entries))
  234.  
  235. +(defmacro with-dictionary-io-syntax (&amp;amp;body body)
  236. +  `(with-standard-io-syntax
  237. +       (let ((*readtable* (copy-readtable nil))
  238. +             (*package* #.*package*) ; 単語Symbolのホームは:higeパッケージです。
  239. +             (*read-eval* nil))
  240. +         (setf (readtable-case *readtable*) :preserve) ; 単語Symbolは大文字小文字を区別して扱います。
  241. +         ,@body)))
  242. +
  243.  (defun read-dict (file)
  244.    &quot;Read dictionary data from a file.&quot;
  245. -  (let ((*readtable* (copy-readtable nil))
  246. -        (*package* #.*package*)) ; 単語Symbolのホームは:higeパッケージです。
  247. -    (setf (readtable-case *readtable*) :preserve) ; 単語Symbolは大文字小文字を区別して扱います。
  248. -    (with-open-file (in file)
  249. -      (normalize-dict
  250. -       (loop :for word := (read in nil in) :until (eq word in)
  251. -          :collect word)))))
  252. +  (unless (probe-file file)
  253. +    (return-from read-dict NIL))
  254. +  (with-open-file (in file)
  255. +    (with-dictionary-io-syntax
  256. +        (normalize-dict
  257. +         (loop :for word := (read in nil in) :until (eq word in)
  258. +               :collect word)))))
  259.  
  260.  (defun save-dict (&amp;amp;key (file *dict-file*))
  261.    &quot;Save the dictionary data into a file.&quot;
  262. -  (with-open-file (out file :direction :output :if-exists :supersede)
  263. -    (with-standard-io-syntax
  264. -      (dolist (word (entries-of *dict*)) (print word out)))))
  265. +  (unless (probe-file file)
  266. +    (ensure-directories-exist file))
  267. +  (with-open-file (out file
  268. +                       :direction :output
  269. +                       :if-exists :supersede
  270. +                       :if-does-not-exist :create)
  271. +    (with-dictionary-io-syntax
  272. +        (let ((*package* #.*package*))
  273. +          (dolist (word (entries-of *dict*)) (print word out))))))
  274.  
  275.  (defun dump-dict (&amp;amp;key score-threshold)
  276.    &quot;Print the dictionary in CSV format.&quot;
  277.    (let ((output (format nil &quot;~{~{~A~^,~}~%~}&quot;
  278.                          (if (null score-threshold)
  279. -                          (entries-of *dict*) ;score-thresholdが指定されない場合は全件
  280. -                          (remove nil ;score-thresholdが指定された場合は絞り込む
  281. -                                  (mapcar (lambda (e)
  282. -                                            (if (&lt;= (entry-score e) score-threshold)
  283. -                                              e))
  284. -                                          (entries-of *dict*)))))))
  285. +                            (entries-of *dict*) ; score-thresholdが指定されない場合は全件
  286. +                            (delete NIL ; score-thresholdが指定された場合は絞り込む
  287. +                                    (mapcar (lambda (e)
  288. +                                              (if (&lt;= (entry-score e) score-threshold)
  289. +                                                  e
  290. +                                                  NIL))
  291. +                                            (entries-of *dict*)))))))
  292.      #-ABCL (format t &quot;~A&quot; output)
  293.      #+ABCL (|showMessageDialog| |javax.swing.JOptionPane| nil output)))
  294.  
  295. @@ -324,7 +330,6 @@
  296.                  (1 #\N)
  297.                  (2 #\Q)))
  298.  
  299. -
  300.  (defun prompt-read (prompt)
  301.    #-ABCL (progn
  302.             (p &quot;~A: &quot; prompt)
  303. </description><dc:date>2010-01-21T03:29:33+09:00</dc:date></item>
  304. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1263826256.txt"><title>近況など</title><link>http://raido.sakura.ne.jp/southly/rn/?1263826256.txt</link><description>
  305. 近況など
  306. - 実は一月から退職して地元福岡に戻っています。
  307. - 最近のxyzzyいじりは現実逃避の産物ですね(苦笑)
  308. - 去年の夏ぐらいから家庭の事情でごたごたしてまして、何とか今月中に落ち着ける体制を整えたいところ。
  309. - Shibuya.lisp方面は半端状態で本当に申し訳ないです。
  310. </description><dc:date>2010-01-18T23:50:57+09:00</dc:date></item>
  311. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1261321159.txt"><title>2009-12-20 :</title><link>http://raido.sakura.ne.jp/southly/rn/?1261321159.txt</link><description>
  312. 2009-12-20 :
  313. - src/gen-syms.ccのコンパイルで「error: pasting &quot;V&quot; and &quot;*&quot; does not give a valid preprocessing token」と言われる。
  314. - トークン連結演算子ではなく文字列リテラルとして結合するしかないかな…
  315. #define XDEF(a, b, c, d, e, f, g) {a, b, c, d, e, f, g}
  316. #define XDEFSF(a, b, c) XDEF (a, b, c, 2, 0, FFspecial_form, 0)
  317. #define XSI_DEFSF3(name) XDEFSF (STR (name), &quot;Fsi_&quot; STR(name), &quot;Ssi_&quot; STR(name))
  318. #define XDEFUN(a, b, c, d, e, f) XDEF (a, b, c, d, e, f, 0)
  319. #define XDEFUN3(name, req, opt, f) \
  320.   XDEFUN (STR (name), &quot;F&quot; STR (name), &quot;S&quot; STR (name), req, opt, f)
  321. #define XSI_DEFUN3(name, req, opt, f) \
  322.   XDEFUN (STR (name), &quot;Fsi_&quot; STR(name), &quot;Ssi_&quot; STR (name), req, opt, f)
  323. #define XVDEF(a, b, c) {a, 0, b, 0, 0, c}
  324. #define XDEFCONST(a, b) XVDEF (a, b, SFconstant | SFspecial)
  325. #define XDEFCONST2Q(name) XDEFCONST (STR (name), &quot;Q&quot; STR (name))
  326. #define XDEFVAR(a, b) XVDEF (a, b, SFspecial)
  327. #define XDEFVAR2(name) XDEFVAR (STR (name), &quot;V&quot; STR(name))
  328. #define XSI_DEFVAR2(name) XDEFVAR (STR (name), &quot;Vsi_&quot; STR (name))
  329. #define XMAKE_SYMBOL(a, b) XVDEF (a, b, 0)
  330. #define XMAKE_SYMBOL2(name) XMAKE_SYMBOL (STR (name), &quot;V&quot; STR (name))
  331. #define XMAKE_SYMBOL2QC(name) XMAKE_SYMBOL (STR (name), &quot;QC&quot; STR (name))
  332. #define XSI_MAKE_SYMBOL2(name) XMAKE_SYMBOL (STR (name), &quot;Vsi_&quot; STR(name))
  333.  
  334. ----
  335. ソース書き換え無しでビルドプロセスをいじってよいならg++ -Eを一旦中間ファイルに落とすのは簡単にいけますけど…いまいち。
  336.  
  337. 佐野
  338. ----
  339. bulbさんのやり方が一番修正が少なくていいかなぁと。
  340. あんまり理解してませんが、http://docs.sun.com/app/docs/doc/821-0386/bjakk?l=ja&amp;amp;a=viewで紹介されているK&amp;amp;R Cでのトークン連結方法の前者のやり方が使えるということなんだと思います。 -- NANRI
  341. </description><dc:date>2010-01-15T19:06:08+09:00</dc:date></item>
  342. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1261140315.txt"><title>xyzzy : </title><link>http://raido.sakura.ne.jp/southly/rn/?1261140315.txt</link><description>
  343. xyzzy :
  344. ブランチまで作ってしまったので、各ブランチの説明なんかを書いておきます。
  345. - master
  346. -- リリースブランチ
  347. -- 今のところ修正パッチだけを取り込む予定。
  348. -- バイナリを配布するとしたらこのブランチだけど、今のところ未定。
  349. -- 相談事は http://fixdap.com/p/xyzzy/34387/ でやれたらいいかなと思ってます。
  350. - for-gcc
  351. -- unstableブランチ
  352. -- Linuxへ移植したいなぁ。そのためにはg++でビルドできないとなぁ。ということで、MinGWでのビルドを目指してみます。
  353. -- こっちの相談事は http://fixdap.com/p/xyzzy/34389/ でやれたらいいかなと思ってます。
  354. - nanri-master
  355. -- unstableブランチ
  356. -- NANRIによるオレオレバージョンのxyzzy
  357. -- 好き勝手にやります。
  358.  
  359. gitなのでforkしてもらえたら、適当にpullします。
  360. </description><dc:date>2009-12-18T22:50:48+09:00</dc:date></item>
  361. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1260294123.txt"><title>xyzzy : </title><link>http://raido.sakura.ne.jp/southly/rn/?1260294123.txt</link><description>
  362. xyzzy :
  363. - http://github.com/southly/xyzzy.src
  364. - ちょこちょこといじっていたのが面倒になってきたので、githubに置くことにした。
  365. - miyamukoさんのパッチが2つほど入っていないのは、自分の理解がついていっていないから。
  366. - バイナリを置く気は無かったんだけど、ハッシュテーブルのダンプの件の原因が分かったので、直したやつを人柱版として置いておきます。人柱版なので7zで。
  367. - http://cloud.github.com/downloads/southly/xyzzy.src/xyzzy-r20091209.7z
  368. - 何が原因だったかというと、シンボルのハッシュ値がオブジェクトのアドレスから計算してあるんだけど、ダンプ作成時とダンプロード時でシンボルオブジェクトのアドレスが異なり、ハッシュ値も変わっていたから。なのでmaphashで一覧にアクセスするのは前からできた。
  369. - 修正方法はダンプをロードしたあとでrehashするようにしただけ。
  370. - ハッシュテーブルの一覧を得る辺りがイマイチだなぁと思っていたり。もっとうまい書き方ないかなぁ。
  371. - 様子を見つつMLに流す予定(年明け辺りかな)
  372.  
  373. ----
  374. 何かお手伝いできれば良いのですが。
  375. for-gccブランチとかで。
  376. bulb.
  377. ----
  378. forkしていただけると、勝手にpullできるので個人的にはらくちんです。
  379. for-gccは一応MinGWでビルドできるようにすることを目指してやっています。
  380. Makefileの修正とアセンブラの修正で何とかなるかなぁとか思ってましたが、gen-syms.ccのプリプロセスでうまくいっていないみたいでいきなり頓挫しています(^^;
  381. こうすればうまくいったとか、ここがうまくいかないとかの情報の共有ができたらいいですね。 -- NANRI
  382. </description><dc:date>2009-12-18T22:50:36+09:00</dc:date></item>
  383. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1245670321.txt"><title>2009-06-22 : </title><link>http://raido.sakura.ne.jp/southly/rn/?1245670321.txt</link><description>
  384. 2009-06-22 :
  385. http://d.hatena.ne.jp/bowbow99/20090616/1245135962
  386. ライブラリの依存関係を見てくれるコンパイル&amp;amp;ロードシステムができれば、
  387. そういうのがもう少しやりやすくなるだろうなぁ。
  388. # Common Lispでいうところのasdfのようなもの
  389. </description><dc:date>2009-06-22T20:32:02+09:00</dc:date></item>
  390. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1238933006.txt"><title>2009-04-05 :</title><link>http://raido.sakura.ne.jp/southly/rn/?1238933006.txt</link><description>
  391. 2009-04-05 :
  392. clispもバージョンアップしておこうと思ったけれど、ビルドに失敗。
  393. gcc: Internal error: Killed: 9 (program cc1)
  394. Please submit a full bug report.
  395. See &lt;URL:http://gcc.gnu.org/bugs.html&gt; for instructions.
  396. gmake: *** [io.o] Error 1
  397.  
  398. これってコンパイルできないというか、gccがエラーを出してるのかな?
  399. ちょっと心配なエラーメッセージだ。妙にレスポンスが悪かったからその辺りが関係しているのだろうか。
  400.  
  401. FFIを有効にする方法とかちゃんと調べてもう一度チャレンジしよう。
  402. ----
  403. このエラーはメモリ不足なんかでおきる類いみたい。たしかにレスポンス鈍かったし、ここのところ負荷が高い感じなので納得。少し様子見てみよう。
  404. </description><dc:date>2009-04-06T21:34:56+09:00</dc:date></item>
  405. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1238907160.txt"><title>2009-04-05 :</title><link>http://raido.sakura.ne.jp/southly/rn/?1238907160.txt</link><description>
  406. 2009-04-05 :
  407. さくらサーバーのOSがバージョンアップしたので、ソフトをアップデートした。
  408.  
  409. * lv
  410. lv はコマンドを打ち慣れているので入れることに。
  411. wget &quot;http://www.ff.iij4u.or.jp/~nrt/freeware/lv451.tar.gz&quot;
  412. tar xf lv451.tar.gz
  413. cd lv451
  414. cd build/
  415. ../src/configure --prefix=$HOME/local
  416. make
  417. make install
  418.  
  419. * Subversion
  420. 1.6.0 へバージョンアップ。
  421. svn+ssh:// でアクセスするのに失敗したので、$HOME/bin にシンボリックリンクを作って回避。
  422. とりあえず動いているみたい。
  423. wget http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz
  424. wget http://subversion.tigris.org/downloads/subversion-deps-1.6.0.tar.gz
  425. tar xf subversion-1.6.0.tar.gz
  426. tar xf subversion-deps-1.6.0.tar.gz
  427. cd subversion-1.6.0
  428. ./configure --prefix=$HOME/local --with-ssl --without-berkeley-db
  429. gmake
  430. gmake install
  431. cd
  432. cd bin
  433. ln -s ../local/bin/svn .
  434. ln -s ../local/bin/svnserve .
  435. ln -s ../local/bin/svnadmin .
  436. ln -s ../local/bin/svnversion .
  437. ln -s ../local/bin/svnlook .
  438. ln -s ../local/bin/svnsync .
  439. ln -s ../local/bin/svndumpfilter .
  440.  
  441. 参考:
  442. - http://kayakaya.net/d/20090323.html#p01
  443. - http://d.hatena.ne.jp/spdog/20080202/p1
  444.  
  445. merge-tracking がようやく使えるようになった。ということで repository を dump &amp;amp; load して作り直しておいた。(もしかしたら不要だったかも)
  446. マージが楽になると良いな。
  447.  
  448. * git
  449. ついでなのでgitも入れておくことにした。
  450. wget http://kernel.org/pub/software/scm/git/git-1.6.2.2.tar.gz
  451. tar xf git-1.6.2.2.tar.gz
  452. cd git-1.6.2.2
  453. ./configure --prefix=$HOME/local --without-tcltk
  454. gmake
  455. gmake install
  456.  
  457. 参考:
  458. - http://sho.tdiary.net/20090324.html
  459. </description><dc:date>2009-04-06T11:12:16+09:00</dc:date></item>
  460. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1237620463.txt"><title>2009-03-21 : </title><link>http://raido.sakura.ne.jp/southly/rn/?1237620463.txt</link><description>
  461. 2009-03-21 :
  462. print-objectを定義するとprincとprin1の両方に影響するんだなぁ
  463. 別々に定義することはできないんだろうか。
  464.  
  465. と思ったらできた。
  466. princとprin1の差は*print-escape*に現れるので、この値で分岐すれば良かった。*print-readably*かと勘違いしてた。
  467.  
  468. (defclass point ()
  469.   ((x :initform (random 100))
  470.    (y :initform (random 100))))
  471. (make-instance 'point)
  472. ;=&gt; #&lt;POINT {121573B1}&gt;
  473. (defmethod print-object ((object point) stream)
  474.   (if *print-escape*
  475.       (print-unreadable-object (object stream :type t)
  476.         (format stream &quot;(~D, ~D)&quot; (slot-value object 'x) (slot-value object 'y)))
  477.       (format stream &quot;(~D, ~D)&quot; (slot-value object 'x) (slot-value object 'y))))
  478. (make-instance 'point)
  479. ;=&gt; #&lt;POINT (53, 69)&gt;
  480. (format nil &quot;~A&quot; (make-instance 'point))
  481. ;=&gt; &quot;(55, 81)&quot;
  482. (format nil &quot;~S&quot; (make-instance 'point))
  483. ;=&gt; &quot;#&lt;POINT (41, 71)&gt;&quot;
  484. ----
  485. (defclass point ()
  486.   ((x :initform (random 100))
  487.    (y :initform (random 100))))
  488. (make-instance 'point)
  489. ;=&gt; #&lt;POINT {122403B1}&gt;
  490. (defmethod print-object ((object point) stream)
  491.   (print-unreadable-object (object stream :type t)
  492.     (format stream &quot;(~D, ~D)&quot; (slot-value object 'x) (slot-value object 'y))))
  493. (make-instance 'point)
  494. ;=&gt; #&lt;POINT (88, 12)&gt;
  495. (format nil &quot;~A&quot; (make-instance 'point))
  496. ;=&gt; &quot;#&lt;POINT (98, 53)&gt;&quot;
  497. (format nil &quot;~S&quot; (make-instance 'point))
  498. ;=&gt; &quot;#&lt;POINT (88, 53)&gt;&quot;
  499. </description><dc:date>2009-03-22T00:49:22+09:00</dc:date></item>
  500. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1236620769.txt"><title>2009-03-10 : </title><link>http://raido.sakura.ne.jp/southly/rn/?1236620769.txt</link><description>
  501. 2009-03-10 :
  502. - http://gist.github.com/76387
  503. - 後でもうちょっときれいにまとめます。
  504. - たぶん、swankをロードした後にロードすれば使えると思います。
  505. - 本当はHyperSpecから情報を引き出したかったんですが、どうしてもうまくいかずsbclから引っこ抜きました。
  506. - slime.elを読んでslime-eval-printのようにelispの代わりにclを呼ぶのに使えるような関数を探してみるというテーマを今更思いつきました。これはいずれまたの機会にやってみようと思います。
  507. </description><dc:date>2009-03-10T02:46:10+09:00</dc:date></item>
  508. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1236000743.txt"><title>2009-03-02 : </title><link>http://raido.sakura.ne.jp/southly/rn/?1236000743.txt</link><description>
  509. 2009-03-02 :
  510. - g000001さんに倣いSICPをちょこちょこと読み始めた。
  511. - http://github.com/southly/reading.sicp/tree/master
  512. - clozure clはIntel Macでも案外普通に動くな。
  513. - インストールはこれだけだったし。
  514. $ svn co http://svn.clozure.com/publicsvn/openmcl/release/1.3/darwinx86/ccl
  515. - しばらく試してみよう。
  516. </description><dc:date>2009-03-02T22:32:24+09:00</dc:date></item>
  517. <item rdf:about="http://raido.sakura.ne.jp/southly/rn/?1235480701.txt"><title>2009-02-24 :</title><link>http://raido.sakura.ne.jp/southly/rn/?1235480701.txt</link><description>
  518. 2009-02-24 :
  519. - 忘れそうなので hexl を NetInstaller に対応しておいた。
  520. </description><dc:date>2009-02-24T22:05:02+09:00</dc:date></item>
  521. </rdf:RDF>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//raido.sakura.ne.jp/southly/rn/index.xml

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda