<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:exaos</id>
  <title>网事如烟</title>
  <subtitle>记述疯猫个人的日常琐屑</subtitle>
  <author>
    <name>exaos</name>
  </author>
  <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom"/>
  <updated>2007-02-25T20:49:48Z</updated>
  <lj:journal userid="3134004" username="exaos" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://exaos.livejournal.com/data/atom" title="网事如烟"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:59673</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/59673.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=59673"/>
    <title>在 Linux 下使用 Qemu 的虚拟硬盘</title>
    <published>2007-02-25T20:49:48Z</published>
    <updated>2007-02-25T20:49:48Z</updated>
    <content type="html">Mounting A Virtual Drive&lt;br /&gt;&lt;br /&gt;You can also mount the QEmu virtual disk just like any other drive (if the drive was created in qcow format you'll need to convert it first, see below).&lt;br /&gt;&lt;br /&gt;Make sure you are NOT running QEMU when you do this.&lt;br /&gt;&lt;br /&gt;To mount the drive, create a directory '/media/qemu'. Then run:&lt;br /&gt;&lt;pre&gt;
sudo mount -o loop,offset=32256 windows.img /media/qemu
&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:59191</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/59191.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=59191"/>
    <title>SciPy 测试失败</title>
    <published>2007-02-20T19:54:52Z</published>
    <updated>2007-02-20T19:54:52Z</updated>
    <content type="html">版本：'0.5.3.dev2731'&lt;br /&gt;NumPy 版本：'1.0.2.dev3550'&lt;br /&gt;平台：MacOS 10.4.8，手动编译的 Python 2.4.4&lt;br /&gt;错误输出：&lt;br /&gt;&lt;pre&gt;
======================================================================
ERROR: check_simple_todense (scipy.io.tests.test_mmio.test_mmio_coordinate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/io/tests/test_mmio.py", line 151, in check_simple_todense
    b = mmread(fn).todense()
AttributeError: 'numpy.ndarray' object has no attribute 'todense'

----------------------------------------------------------------------
Ran 1486 tests in 17.553s

FAILED (errors=1)
&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:58863</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/58863.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=58863"/>
    <title>我的 Muse 设置： my-muse.el</title>
    <published>2007-01-28T05:52:25Z</published>
    <updated>2007-01-28T05:52:25Z</updated>
    <content type="html">&lt;pre&gt;
;;-*- elisp -*-
;;-*- encoding: UTF-8 -*-

(require 'muse-mode)
(require 'muse-wiki)
(require 'muse-html)
(require 'muse-latex)
(require 'muse-texinfo)
(require 'muse-docbook)

;; 我的 MUSE 工程设置。
(require 'muse-project)
(setq muse-project-alist
      '(("ExaosWiki"   ;; 我的个人 Wiki
	 ("~/Documents/MyWiki" :default "index")
	 (:base "html"     :path "~/Documents/MyWiki/html")
	 ;(:base "pdf"      :path "~/Documents/MyWiki/pdf")
	 (:base "latexcjk" :path "~/Documents/MyWiki/tex")
	 )
	("WorkWiki"    ;; 我的工作 Wiki
	 ("~/Documents/MyWorkWiki" :default "index")
	 (:base "html"     :path "~/Documents/MyWorkWiki/html")
	 ;(:base "pdf"      :path "~/Documents/MyWorkWiki/pdf")
	 (:base "latexcjk" :path "~/Documents/MyWiki/tex")
	 )
	))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq muse-wikipedia-country "zh")    ;; WikiPedia 的国家代码 
(setq muse-file-extension    "wiki")  ;; 文件扩展名
(setq muse-mode-auto-p       t)       ;; 自动加载 muse-mode
;; Muse LaTeX CJK 设置
(setq muse-latexcjk-encoding-default "{GBK}{song}") ; "{UTF8}{song}")
(setq muse-latexcjk-footer "
%\\end{CJK*}
\\end{document}
")
(setq muse-latexcjk-header "%\\documentclass{article}
\\documentclass{ctexart}
%\\usepackage[encapsulated]{CJK}
%\\usepackage{ucs}
%\\usepackage[utf8x]{inputenc}
\\usepackage{indentfirst}
\\usepackage[CJKbookmarks=true]{hyperref}
\\usepackage[pdftex]{graphicx}
\\newcommand{\\comment}[1]{}

\\begin{document}
%\\begin{CJK*}&lt;lisp&gt;(muse-latexcjk-encoding)&lt;/lisp&gt;

\\title{&lt;lisp&gt;(muse-publishing-directive \"title\")&lt;/lisp&gt;}
\\author{&lt;lisp&gt;(muse-publishing-directive \"author\")&lt;/lisp&gt;}
\\date{&lt;lisp&gt;(muse-publishing-directive \"date\")&lt;/lisp&gt;}

\\maketitle

&lt;lisp&gt;(and muse-publish-generate-contents
           (not muse-latex-permit-contents-tag)
           \"\\\\tableofcontents
\\\\newpage\")&lt;/lisp&gt;

")

&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:58489</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/58489.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=58489"/>
    <title>emacs-wiki 和 muse-mode 的问题及解决办法</title>
    <published>2007-01-27T11:03:43Z</published>
    <updated>2007-01-27T11:04:33Z</updated>
    <content type="html">在 Xbuntu 6.10 下安装好 emacs-wiki 和 muse-el，但发觉在调用时会提示 (quote beginning-of-line) 出错。经查，是 emacs-wiki-colors.el 和 muse-colors.el 这两个文件中的错误所致。分别将这两个文件中的&lt;br /&gt;&lt;pre&gt;
       `(nil t nil nil 'beginning-of-line
&lt;/pre&gt;&lt;br /&gt;修改为&lt;br /&gt;&lt;pre&gt;
       `(nil t nil nil beginning-of-line
&lt;/pre&gt;&lt;br /&gt;即可。当然，需要重新 byte-compile-file 之后，将编译好的 .elc 文件放入相应的位置，替代原来的文件。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:58348</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/58348.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=58348"/>
    <title>孩子，我希望你做个“差生”</title>
    <published>2007-01-06T14:37:47Z</published>
    <updated>2007-01-06T14:37:47Z</updated>
    <content type="html">孩子，你走了！这样悄悄地，一个人走了！我无法想象你临走前都想了些什么。但那些你留在房间里沾满泪水的卫生纸可以作证：你多么地想留下！可是，你还是走了。你为什么要这样毅然决然？因为你的自尊、因为你的绝望！&lt;br /&gt;孩子，你知道吗，我听到你的故事时，心里在默默地流泪。我唯一的念头是：孩子，你应该做个“差生”。因为是“差生”，所谓的“优秀”教师才不会对你这么关心，才不会因为对你“负责”才把你揪出教室。因为是“差生”，你习惯了老师对你的冷落，才不会受特殊的“礼遇”。或者，因为是“差生”，你习惯了老师的“礼遇”，才不至于这么地想不开。&lt;br /&gt;孩子，你应该做个“差生”，不是因为你真的很差，而是因为：你的智慧与道德不是由所谓的“优秀”老师来评价，而是由你的未来。与其做一个“好生”享受到令你轻生的“礼遇”，倒不如做一个“差生”，把你的评价交给未来。&lt;br /&gt;孩子，你走了，我的心痛了！&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
　　为了失却的良心

　　田雁

　　2006年12月20日，南京宁海中学分校初三10班学生黄紫唯，仅仅因为没有完
成布置的家庭作业，就被班主任老师拉到走廊上大声责骂，并且被禁止进教室上
课。深感委屈的黄紫唯在借用同学的手机告诉妈妈，因为没有默写生词而被班主
任批评了，还不让她上下面的课。而后，哭着跑回家中，抱着自己心爱的玩具狗，
从24层的高楼跳了下来。

　　黄紫唯，是一个温和可爱的孩子，她对圣诞这个节日情有独衷，精心布置了
家里的圣诞树，认真准备了要送出的新年祝福。然而，她还是没有能等到这个节
日的到来。那天上学的时候，她还是一个快乐的天使。可是，到了中午，她就这
样走了，消失在那洒满阳光的蓝天之下。

　　直到现在，黄紫唯的父母都还不知道，在12月20日星期三的上午，学校里究
竟发生了什么？他们不知道班主任老师对孩子进行了怎样的“教育”。唯一可以
确认的是，上午，黄紫唯的母亲在接到孩子的电话，说自己因为没有默写生词被
班主任老师批评了（后来知道是被老师拉到走廊上“大声骂”），还不让她上下
面的课后，立刻打电话给班主任老师解释和道歉。孩子不是偷懒，她实在是来不
及，她是快到半夜的时候才睡的觉。

　　然而，到了中午，黄紫唯的母亲接到班主任老师电话，说本该在学校的孩子
不见了，午饭也没有吃。就在黄紫唯的母亲赶到学校，当着班主任老师的面，母
亲接到了朋友打来的电话，黄紫唯已经走了，她选择了从24楼跳下。

　　一个只有14岁的花季少女，就这样走了。在走之前，她曾经哭了很久很久，
房间里那么多泪痕斑斑的卫生纸可以作证。在走之前，她也有过生与死的挣扎，
窗台上的灰尘被蹭去了那么大一片。

　　本来不该由我来叙述这一悲惨故事的。让人悲哀的是，事至如今，南京市的
所有媒体对这一事件患上了集体“失语症”， 竟然只字不提。难道是事件缺乏
所谓的“新闻眼”？不！在南京，宁海中学数来就有“魔鬼”中学之称。所谓
“魔鬼”，是指学校为保持升学率，采取大面积题海战术，所布置的家庭作业，
不到晚上12点是不能完成的，就像恶魔一样，折磨着每一个就读的孩子。虽然，
江苏省教育厅早有规定，学校布置的家庭作业的量，每天不得超过2个小时。而
这次，由家庭作业所诱发的悲剧，本身就是一个很好的新闻题材。

　　本来我也不想叙述这一悲惨故事的。令人愤慨的是，事发之后，那位名叫卢
晓玲的班主任老师在发给黄紫唯的母亲短信中，没有半点的道歉，没有丝毫的内
疚，依然振振有词:“我只是做了一个负责任的老师该做的，我没有做错什么。
对于你家的不幸我很同情。对你现在悔恨交加的心情也能理解，你是知识分子，
请你不要再纵容骚扰和违法行为，让你孩子早日安息。”

　　作为一个语文教师，一个曾获2006年江苏省教育学会初中语文教育科研优质
课二等奖的卢晓玲老师，有什么理由认为该由黄紫唯的母亲“悔恨交加”？而不
是她自己？！

　　本来我也不愿叙述这一悲惨故事的。叫人无奈的是，对此悲剧，宁海校方和
南京教育局至今没有任何道歉性的话语。在事发第二天，黄紫唯父母单位的领导
也曾约见宁海校方领导和教育局领导，但却遭到了冷落，对方避而不见。据说，
宁海校方还下达了禁口令，任何学生不得谈论此事，连自己的父母都不许说！真
是令人可怕！学校想到过吗？这样的禁口令会给学生的人生观造成什么样的影响？
冷漠？自私？

　　我是这样的愤怒，这媒体的良心、老师的良心、社会的良心都到那里去了？
我又是这样的悲哀，当弱势群体的权利遭受到侵害时，又有谁来抚慰他们创伤的
心灵？这个世界居然是如此的冷漠和苍凉。于是，我唯有紧握手中之笔，化为良
心的匕首，去描述世态的炎凉、生活的不平。但愿我的描述能够抚慰黄紫唯的在
天之灵。

(XYS20070106)
&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:57911</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/57911.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=57911"/>
    <title>物理的博客之道</title>
    <published>2007-01-03T18:04:26Z</published>
    <updated>2007-01-04T03:26:10Z</updated>
    <content type="html">来自： &lt;a href="http://physicsweb.org/articles/world/20/1/2"&gt;http://physicsweb.org/articles/world/20/1/2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;物理的博客之道&lt;/h2&gt;&lt;br /&gt;论坛：2007 年元月&lt;br /&gt;&lt;b&gt;Sean Carroll, 世界上最热门的物理学博客的合作者，讲述了博客如何将科学研究置于一种更广阔的背景之中。&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;去年十月份《纽约时报》发布的一篇关于暗物理与暗能量的报道，将我介绍为“在加州理工学院［译注：CIT］的一位物理学家和博客者 ［注：blogger，写博客的人，此处译为博客者，下同］”。尽管我不认为报纸真的以这种方式参考了我，但这仍是一种非常精确的描述，当然， 这同“物理学家及扑克选手”或“物理学家及爵士乐迷”没什么区别。但为什么要把我写博客单列出来呢？&lt;br /&gt;&lt;br /&gt;就我而言，写博客并不是我工作的一部分。尽管这种爱好要平均花掉每天半个小时的时间，写博客这种公共行为可以令你的言论成为更广泛的讨论内容。一旦你开始写博客，人们开始读你的博客，“博客者”即成为你的身份。&lt;br /&gt;&lt;br /&gt;我自 2003 年起通过“荒谬的宇宙” (Preposterous Universe, &lt;a href="http://preposterousuniverse.blogspot.com/"&gt;http://preposterousuniverse.blogspot.com/&lt;/a&gt;) 开始写博客。这曾是一时冲动的决定，但第一天即招来大约 100 位访客，这令我既惊讶且兴奋。至 2005 年，我与其它四位理论物理学家合力开设了一个群博客，“宇宙的变数” (Cosmic Variance, &lt;a href="http://cosmicvariance.com/"&gt;http://cosmicvariance.com/&lt;/a&gt; )。在关注物理学的博客中，我们是互联网上最大的一个，而在各种类型都有的博客中，我们大概排到第 1000 位。此站点一天典型的访问量大约为 3000，这同那些政冶和技术博客一天十万或更多的点击量相比是很小的数字，但同参加我公开的讲座或者阅读我在 &lt;i&gt;Phys. Rev. D&lt;/i&gt; 上的宇宙学论文的人数相比，这是个很大的数字。&lt;br /&gt;&lt;br /&gt;那么，谁来读我的博客呢？许多读者本身即物理学家（每次我访问另一个大学做讲座的时候，总有几个人提到我的博客），更多的是那些对当前活跃的物理学家的活动感兴趣的学生。还有一些是记者希望从活跃的研究者那么得到对他们新闻报道的反馈。但主体好象是那些仅仅对宇宙学、引力理论、粒子物理和我们所涉及的领域有强烈业余兴趣的人。&lt;br /&gt;&lt;br /&gt;博客是一种非常灵活的媒介，可以很方便地被用于技术研究，也可同样用于讨论 Paris Hilton 的八卦或张贴全家休假的照片。一些科学博客者将他们的博客用作研究工具，招来专家进行高水平的讨论。在“宇宙的变数”［Cosmic Variancs］中，我更关注于在专家的世界和感兴趣的门外汉之间搭设桥梁。对于一些带有神秘感的职业的工作 ，博客提供了及时和直接的接触，这些是无法从常规媒体得到的。&lt;br /&gt;&lt;br /&gt;博客强化了而不是取代了传统媒体。比如当我们站点讨论物理学中的女性时，也被《纽约时报》引用了，我们被记者采访、被邀请参加会议及参加广播中的讨论，这毫无疑问是由于我们的自然魅力，在写博客中的表现同样不受影响。更棒的是，博客提供了一种与媒体交互的新鲜方式。我们曾邀请一些重大新闻报道中的专家来我们的博客发表评论，甚至邀请一些友情贴［guest-postings, 即受邀请来的博客文章，中文中流行的说法称 post 为“贴”，故在此译作“友情贴”］。我们曾经张贴一些我们从报纸和杂志上读到的文章，并且很高兴得到原文章的作者在评论中对他们的工作进一步的详细解释或者进行辩护。&lt;br /&gt;&lt;br /&gt;&lt;b&gt;非正式交流&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;除了及时之外，博客带有非正式的特点。在“宇宙的变数”中，我们自由地将科普、带个人秩事的新闻分析、关于艺术与政治的观点以及对鸡尾酒的赞美融合在了一起。我们并不认为自己是一个“物理学博客”，这会在目的上进行特别的强调。而是，我们的是一个恰好由物理学家写的博客。&lt;br /&gt;&lt;br /&gt;将非正式与专业融合在一起是写博客的关键力量之一，因为它减少了科学家同公众之间的隔阂。&lt;br /&gt;... ...</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:57765</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/57765.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=57765"/>
    <title>Ubuntu 下的 VIA High Definition Audio 声卡的问题及解决办法</title>
    <published>2006-12-09T14:46:47Z</published>
    <updated>2006-12-09T14:46:47Z</updated>
    <content type="html">硬件：华硕 P5VDC-X 主板，主板自带的 VIA High Definition Audio 声卡&lt;br /&gt;lspci -v 的输出如下：&lt;br /&gt;&lt;pre&gt;
03:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, fast devsel, latency 0, IRQ 50
        Memory at fbefc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: &lt;access denied="denied"&gt;
&lt;/pre&gt;&lt;br /&gt;系统：Ubuntu Linux 6.10 (Edgy) AMD-64&lt;br /&gt;症状：启动系统时的声音有非常强的噪音，然后调节音量或者做任何声音的操作后都会导致系统无声。&lt;br /&gt;郁闷了许久，甚至我认为这是 64 位系统的问题，重装了 Edgy x86 版本，结果还是一样。今天从网上搜索了一下，终于找到了问题的解决办法：将如下的内容添加到 /etc/modprobe.d/alsa-base 文件中&lt;br /&gt;&lt;pre&gt;
options snd-hda-intel position_fix=1 model=3stack
&lt;/pre&gt;&lt;br /&gt;参考：&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=260352"&gt;http://ubuntuforums.org/showthread.php?t=260352&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=221875"&gt;http://ubuntuforums.org/showthread.php?t=221875&lt;/a&gt;&lt;br /&gt;这似乎是 snd_via82xx 驱动的一个 Bug。有希望在以后的版本中被默认解决。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:57359</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/57359.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=57359"/>
    <title>Welcome to the real world!</title>
    <published>2006-12-06T04:11:49Z</published>
    <updated>2006-12-06T04:11:49Z</updated>
    <content type="html">昨日上午，没有心情做工作，在网上乱逛，一口气把 &lt;a href="http://pine.fm/LearnToProgram/"&gt;Learn to Program&lt;/a&gt; 读完了，算是对 Ruby 语言有了一些了解。动手尝试了一下，发觉有点喜欢上了这门语言。在 Learn to Program   这本书中，有一段令我感觉颇有意思：&lt;br /&gt;If objects in Ruby are like nouns in English, and methods are like verbs, then you can think of parameters as adverbs (...) or sometimes as direct objects (...).&lt;br /&gt;这种对编程语言的解释一下子令我想到：如今的编程语言和人们的自然语言已经极其接近了。什么编程只需要我们使用日常语言通告一下计算机就可以了呢？也许很快了。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:57136</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/57136.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=57136"/>
    <title>Ubuntu problem with sound</title>
    <published>2006-12-03T11:35:40Z</published>
    <updated>2006-12-03T11:35:40Z</updated>
    <content type="html">Message from syslogd@memeshome at Sun Dec  3 19:32:56 2006 ...&lt;br /&gt;memeshome kernel: [17185049.528000] Disabling IRQ #217&lt;br /&gt;&lt;br /&gt;No sound after playing some movie.&lt;br /&gt;Ubuntu: 6.10 amd64 and both i386</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:57042</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/57042.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=57042"/>
    <title>HP LarserJet 1022n 的使用问题</title>
    <published>2006-11-29T10:20:48Z</published>
    <updated>2006-11-29T10:20:48Z</updated>
    <content type="html">无论在 Linux 还是 Windows，MacOS 下，使用 HP LarserJet 1022N 打印机总会出现一些或多或少的问题。最近发现在 Linux 下使用另一个不同于 HPLIJ 的驱动则会很方便：&lt;br /&gt;&lt;a href="http://foo2zjs.rkkda.com/"&gt;http://foo2zjs.rkkda.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;另外，在 foo2zjs 的主页上特别强调：&lt;br /&gt;&lt;font color="red"&gt;不要使用 Ubuntu, SUSE, Mandrake/Manrivia, Debian, RedHat, Gentoo, or ideainformatica.com 提供的 foo2zjs 程序&lt;/font&gt;，要直接从该网站下载使用。另外，要使用从 &lt;a href="http://www.linuxprinting.org/show_driver.cgi?driver=foo2zjs&amp;amp;fromprinter=HP-LaserJet_1022"&gt;&lt;br /&gt;linuxprinting.org&lt;/a&gt; 下载的 HP-LaserJet_1022-foo2zjs.ppd 文件。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:56767</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/56767.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=56767"/>
    <title>apt-get update error solved!</title>
    <published>2006-11-28T11:21:42Z</published>
    <updated>2006-11-28T11:21:42Z</updated>
    <content type="html">最近每次 apt-get update 总是出现如下的错误：&lt;br /&gt;&lt;pre&gt;
无法下载 http://archive.ubuntu.com/ubuntu/dists/edgy/universe/binary-i386/Packages.gz  子进程 gzip 返回了一个错误号 (1)
正在读取软件包列表... 完成
E: 有一些索引文件不能下载，它们可能被忽略了，也可能转而使用了旧的索引文件。
&lt;/pre&gt;&lt;br /&gt;经查，是由于 /var/lib/apt/lists/partial/ 下面存在一个没有下完的 Packages 文件所致。删除后即解决。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:56522</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/56522.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=56522"/>
    <title>Failed to install Intel Math Kernel Library on Ubuntu 6.10!</title>
    <published>2006-11-28T03:12:05Z</published>
    <updated>2006-11-28T03:12:05Z</updated>
    <content type="html">I encountered the same problem mentioned here:&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?p=1775789"&gt;http://ubuntuforums.org/showthread.php?p=1775789&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I changed the install/install header from "#!/bin/sh" to "#!/bin/bash" to solve some problem. Then the install script kept complaining:&lt;br /&gt;&lt;pre&gt;
./.././install/install: line 319: /tmp/install_temp.---------/install32: cannot execute binary file
Warning: It seems installation failed
Deleting temporary files...
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;OH! Who encountered the same problem??</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:56291</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/56291.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=56291"/>
    <title>如何在  Ubuntu 下安装 Intel Fortran 及 Intel C++ 编译器？</title>
    <published>2006-11-27T09:25:26Z</published>
    <updated>2006-11-27T09:25:26Z</updated>
    <content type="html">参照：&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=285757&amp;highlight=intel"&gt;http://ubuntuforums.org/showthread.php?t=285757&amp;highlight=intel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;以前我在 Gentoo 下安装好了一个版本的 Intel Fortran 及 C++。后来转到 Ubuntu 下并没有再安装，而是把原来安装好的目录全部拷贝后，修改一下环境变量就 OK 了。也一直用着没有问题。最近想安装新版本的，才发现安装存在一些问题。从上面的贴子介绍的经验来做，很容易就成功了：&lt;br /&gt;1. 将解包后的 l_fc_c_9.1.040 目录下的 data/install_fc.sh 文件做如下修改：&lt;br /&gt;&lt;pre&gt;
a. #!/bin/sh ==&amp;gt; #!/bin/bash
b. rpm -qa &amp;gt; /dev/null 2&amp;gt;&amp;1 ==&amp;gt; alien -qa &amp;gt;/dev/null 2&amp;gt;&amp;1
&lt;/pre&gt;&lt;br /&gt;2. 然后正常安装即可。&lt;br /&gt;3. 修改一下系统的环境变量，比如 PATH 等，即可使用。&lt;br /&gt;&lt;br /&gt;在我的系统（Kubuntu 6.10）上是这样设置的：&lt;br /&gt;&lt;pre&gt;
#!/bin/sh

INTEL_HOME=/opt/intel
INTEL_VER=9.0

# icc 9.1.045
ICC_VER=9.1.045
colonmunge PATH            ${INTEL_HOME}/cc/${ICC_VER}/bin
colonmunge MANPATH         ${INTEL_HOME}/cc/${ICC_VER}/man
colonmunge LD_LIBRARY_PATH ${INTEL_HOME}/cc/${ICC_VER}/lib

# ifc 9.1.040
IFC_VER=9.1.040
colonmunge PATH            ${INTEL_HOME}/fc/${IFC_VER}/bin
colonmunge MANPATH         ${INTEL_HOME}/fc/${IFC_VER}/man
colonmunge LD_LIBRARY_PATH ${INTEL_HOME}/fc/${IFC_VER}/lib

# idb 9.1.040
IDB_VER=9.1.040
colonmunge PATH            ${INTEL_HOME}/idb/${IDB_VER}/bin
colonmunge MANPATH         ${INTEL_HOME}/idb/${IDB_VER}/man
colonmunge LD_LIBRARY_PATH ${INTEL_HOME}/idb/${IDB_VER}/lib

# for non-English environment
GXX_VER=4.1.2
export GXX_ROOT=/usr/lib/gcc/i486-linux-gnu/${GXX_VER}
&lt;/pre&gt;&lt;br /&gt;其中的 colonmunge 是一个 bash 函数，用于向以冒号分隔的变量中添加值。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:55041</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/55041.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=55041"/>
    <title>A puzzle about python</title>
    <published>2006-11-08T03:01:08Z</published>
    <updated>2006-11-08T03:01:08Z</updated>
    <content type="html">如果这样初始化一个 List：&lt;br /&gt;a = [ [0]*10 ]*4&lt;br /&gt;如果改变&lt;br /&gt;a[0][i] 的值，其余的几个 a[1][i], a[2][i], a[3][i] 都会被赋予同样的值。&lt;br /&gt;但如果这样初始化：&lt;br /&gt;a = [ [0]*10, [0]*10, [0]*10, [0]*10 ]&lt;br /&gt;则改变 a[0][i] 的值时，其余的 a[1~3][i] 不受影响。这是怎么回事？</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:54084</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/54084.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=54084"/>
    <title>Damn Small Linux is Really Damn Small!</title>
    <published>2006-11-02T12:29:12Z</published>
    <updated>2006-11-02T12:29:12Z</updated>
    <content type="html">&lt;a href="http://www.damnsmalllinux.org/"&gt;http://www.damnsmalllinux.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Imaging a linux OS booting from a USB stick! And the desktop is, of course, included! Hehe~~</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:53629</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/53629.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=53629"/>
    <title>在 Linux 下挂载 Windows 的 NTFS 分区</title>
    <published>2006-10-22T15:14:18Z</published>
    <updated>2006-10-22T15:14:18Z</updated>
    <content type="html">系统：Ubuntu 6.06 LTS&lt;br /&gt;机器：Pentium-D, 双核 EMT64 支持&lt;br /&gt;内核：Linux memeshome 2.6.15-27-amd64-generic #1 SMP PREEMPT Sat Sep 16 01:50:50 UTC 2006 x86_64 GNU/Linux&lt;br /&gt;&lt;br /&gt;安装有：/dev/hda1,3,4 为 Windows NTFS 分区, /dev/hda5 为 Linux swap, /dev/hda6 为根分区。&lt;br /&gt;由于在 Windows 下的数据较多，经常需要双系统间传递数据，故比较麻烦。&lt;br /&gt;&lt;br /&gt;解决办法：&lt;br /&gt;1. 安装 FUSE 2.5 以上版本。我安装是 FUSE 2.6.0&lt;br /&gt;2. 安装 ntfs-3g 软件包，我的版本是 20070920-BETA&lt;br /&gt;3. 然后用 ntfs-3g 重新挂载 NTFS 分区：&lt;br /&gt;/dev/hda1     /win/C  ntfs-3g    defaults,nls=zh_CN.utf8,umask=002,gid=46 0  1&lt;br /&gt;/dev/hda3     /win/D  ntfs-3g    defaults,nls=zh_CN.utf8,umask=002,gid=46 0  1&lt;br /&gt;/dev/hda4     /win/E  ntfs-3g    defaults,nls=zh_CN.utf8,umask=002,gid=46 0  1&lt;br /&gt;4. 然后读写 NTFS 分区均没有问题。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:52725</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/52725.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=52725"/>
    <title>restFP and saveFP errors on Tiger</title>
    <published>2006-09-18T08:23:24Z</published>
    <updated>2006-09-18T08:23:24Z</updated>
    <content type="html">This is caused by using a gcc Fortran compiler build from FSF code with a gcc C compiler built from Apple code.&lt;br /&gt;&lt;br /&gt;The Apple gcc library has the restFP, saveFP symbols and these are used by the Apple compiler. So if you try link Fortran code built with an FSF compiler, with an Apple C code library, it will fail because the FSF gcc library included in the link by the Fortran compiler does not have these symbols to satisfy the undefined symbols in the C library. For the full story see: &lt;a href="http://www.astro.gla.ac.uk/users/norman/note/2004/restFP/"&gt;http://www.astro.gla.ac.uk/users/norman/note/2004/restFP/&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:52304</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/52304.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=52304"/>
    <title>Emacs-snapshot and cedet 1.0pre3</title>
    <published>2006-09-15T02:00:39Z</published>
    <updated>2006-09-15T02:00:39Z</updated>
    <content type="html">Emacs-snapshot (Ubuntu) 与 Cedet 1.0pre3 存在冲突，主要是 Cedet 1.0pre3 中的 sb-info 在 Emacs-snapshot 上会出现如下错误：&lt;br /&gt;&lt;pre&gt;
eval: Recursive `require' for feature `sb-info'
&lt;/pre&gt;&lt;br /&gt;这个错误在老版本的 Cedet 1.0beta3 中不会出现。更换 Cedet 为 1.0beta3。希望在新版本的 Cedet 中会解决这个问题。这有可能是 Emacs snapshot 中修改了某些东西导致的。</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:52167</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/52167.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=52167"/>
    <title>Python in Education</title>
    <published>2006-09-13T07:59:55Z</published>
    <updated>2006-09-13T07:59:55Z</updated>
    <content type="html">&lt;a href="http://www.python.org/community/sigs/current/edu-sig/"&gt;http://www.python.org/community/sigs/current/edu-sig/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.rexx.com/~dkuhlman/scipy_course_01.html"&gt;http://www.rexx.com/~dkuhlman/scipy_course_01.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.python.org/doc/essays/ppt/acm-cp4e/"&gt;http://www.python.org/doc/essays/ppt/acm-cp4e/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.onlamp.com/pub/a/python/2000/10/04/pythonnews.html"&gt;http://www.onlamp.com/pub/a/python/2000/10/04/pythonnews.html&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:51801</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/51801.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=51801"/>
    <title>MacOS X 上的高性能计算</title>
    <published>2006-09-13T07:57:54Z</published>
    <updated>2006-09-13T07:57:54Z</updated>
    <content type="html">&lt;a href="http://hpc.sourceforge.net/"&gt;http://hpc.sourceforge.net/&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:51465</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/51465.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=51465"/>
    <title>Tiger 上 Python 一些套件的编译安装</title>
    <published>2006-09-13T07:20:22Z</published>
    <updated>2006-09-13T07:20:22Z</updated>
    <content type="html">Python: 2.4.3&lt;br /&gt;wxPython: 2.6.3.3&lt;br /&gt;ctypes: 1.0.0&lt;br /&gt;SIP: snapshot-20060903&lt;br /&gt;PIL: 1.1.5&lt;br /&gt;PyQt: 4.0.1&lt;br /&gt;numpy: 1.0b5.svn 3140&lt;br /&gt;matplotlib: svn 2762&lt;br /&gt;scipy: 0.5.1 svn 2197&lt;br /&gt;ipython: svn 1774&lt;br /&gt;PyMC: svn 31&lt;br /&gt;&lt;br /&gt;目前：PyQt, scipy 测试没有通过，存在较大问题。其余的都 OK 了。&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
#!/bin/sh

# Build all Python utilities

BASEDIR=`pwd`

# Python 2.4.3
PYVER=2.4.3
cd $BASEDIR/Python-$PYVER
TIMESTAMP=`date +%Y%m%d%H%M`

echo Configuring Python $PYVER ...
export DYNLOADFILE=dynload_shlib.o
time ./configure --enable-framework --enable-shared \
    --enable-toolbox-glue --with-pth \
    --enable-unicode &amp;gt; config-${TIMESTAMP}.log 2&amp;gt;&amp;1

echo Builing Python $PYVER ...
time make &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing Python $PYVER ...
time sudo make frameworkinstall             &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
time sudo make frameworkinstallunixtools    &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
time sudo make frameworkinstallapps         &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
time sudo make frameworkaltinstallunixtools &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1

PYTHON=/Library/Frameworks/Python.framework/Versions/2.4/bin/python
echo Using $PYTHON 

# ctypes 1.0.0 for Python 2.4
CTYPESVER=1.0.0
TIMESTAMP=`date +%Y%m%d%H%M`

cd $BASEDIR/ctypes-$CTYPESVER
echo Building ctypes $CTYPESVER ...
time ${PYTHON} setup.py build &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Testing ctypes $CTYPESVER ...
time ${PYTHON} setup.py test &amp;gt; test-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing ctypes $CTYPESVER ...
time sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1

# PIL 1.1.5
PILVER=1.1.5
TIMESTAMP=`date +%Y%m%d%H%M`

cd $BASEDIR/Imaging-$PILVER
echo Installing PIL $PILVER ...
sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1

# SIP 4.4.5
TIMESTAMP=`date +%Y%m%d%H%M`
SIPVER=snapshot-20060903
cd $BASEDIR/sip-$SIPVER

echo Configuring SIP $SIPVER ...
time ${PYTHON} configure.py &amp;gt; config-${TIMESTAMP}.log 2&amp;gt;&amp;1  
echo Building SIP $SIPVER ...
time make &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing SIP $SIPVER ...
time sudo make install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1


# wxPython 2.6.3.3
TIMESTAMP=`date +%Y%m%d%H%M`
WXPYVER=2.6.3.3
#cd $BASEDIR/wxPython-src-$WXPYVER

# echo Configuring wxMac $WXPYVER ...
# mkdir -p bld &amp;&amp; cd bld
# time ../configure  --with-mac --enable-monolithic --enable-geometry \
#     --enable-sound   --enable-sdl     --enable-mediactrl \
#     --enable-display --enable-unicode --enable-optimize  \
#     --with-libjpeg=builtin --with-libpng=builtin \
#     --with-libtiff=builtin --with-zlib=builtin   \
#     --with-expat=builtin --with-opengl &amp;gt; config-${TIMESTAMP}.log 2&amp;gt;&amp;1

# echo Building wxMac $WXPYVER ...
# time make &amp;gt; build-${TIMESTAMP}.log  2&amp;gt;&amp;1
# time make -C contrib/src/animate &amp;gt;&amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
# time make -C contrib/src/gizmos  &amp;gt;&amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
# time make -C contrib/src/stc     &amp;gt;&amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1

# echo Installing wxMac $WXPYVER ...
# time sudo make install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
# time sudo make -C contrib/src/animate install &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
# time sudo make -C contrib/src/gizmos  install &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
# time sudo make -C contrib/src/stc     install &amp;gt;&amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1

cd $BASEDIR/wxPython-src-$WXPYVER/wxPython
echo Building wxPython $WXPYVER ...
rm -rf build build.unicode
time ${PYTHON} setup.py build_ext --inplace \
    WXPORT=mac UNICODE=1 BUILD_RENAMERS=1   \
    USE_SWIG=1 SWIG=/Users/exaos/Opt/swig/bin/swig \
    &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1

echo Installing wxPython $WXPYVER ...
time sudo ${PYTHON} setup.py install       \
    WXPORT=mac UNICODE=1 BUILD_RENAMERS=1  \
    USE_SWIG=1 SWIG=/Users/exaos/Opt/swig/bin/swig \
    &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1


# PyQt 4.0.1
TIMESTAMP=`date +%Y%m%d%H%M`
cd $BASEDIR/PyQt-mac-gpl-4.0.1
echo Configuring PyQt 4.0.1 ...
echo 'yes' | time ${PYTHON} configure.py &amp;gt; config-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Building PyQt 4.0.1 ...
time make &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing PyQt 4.0.1 ...
time sudo make install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1


# numpy svn 3140
TIMESTAMP=`date +%Y%m%d%H%M`
cd $BASEDIR/numpy-svn3140
cat &amp;lt;&amp;lt;EOF &amp;gt; site.cfg
[atlas]
library_dirs = /sw/lib
atlas_libs = lapack, cblas, atlas

EOF

echo Building numpy svn3140 ...
time ${PYTHON} setup.py build &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing numpy svn 3140
time sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
cd $BASEDIR
echo Testing numpy ...
time ${PYTHON} -c 'from numpy import *; test(1,1)' \
    &amp;gt; numpytest-${TIMESTAMP}.log 2&amp;gt;&amp;1


# matplotlib 2762
TIMESTAMP=`date +%Y%m%d%H%M`
cd $BASEDIR/matplotlib-svn2762
echo Building matplotlib svn 2762 ...
time ${PYTHON} setup.py build &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing matplotlib svn 2762 ...
time sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1


# scipy svn 2195
TIMESTAMP=`date +%Y%m%d%H%M`
cd $BASEDIR/scipy-svn2195
echo Building scipy svn2195 ...
time ${PYTHON} setup.py build &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Installing scipy svn2195 ...
time sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1

cd $BASEDIR
echo Testing scipy ...
time ${PYTHON} -c 'from scipy import *; test(1)'  \
    &amp;gt; scipytest-${TIMESTAMP}-1.log 2&amp;gt;&amp;1
time ${PYTHON} -c 'from scipy import *; test(10)' \
    &amp;gt; scipytest-${TIMESTAMP}-2.log 2&amp;gt;&amp;1


# ipython 1774
TIMESTAMP=`date +%Y%m%d%H%M`
cd $BASEDIR/ipython-svn1774
${PYTHON} setup.py build &amp;gt; build-${TIMESTAMP}.log 2&amp;gt;&amp;1
sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1


# PyMC svn 31
PYMCVER=svn31
cd $BASEDIR/pymc-$PYMCVER
TIMESTAMP=`date +%Y%m%d%H%M`

echo Installing PyMC $PYMCVER ...
sudo ${PYTHON} setup.py install &amp;gt; install-${TIMESTAMP}.log 2&amp;gt;&amp;1
echo Testing PyMC $PYMCVER ...
${PYTHON} -c 'import PyMC; PyMC.MCMC.test()' &amp;gt; test-${TIMESTAMP}.log 2&amp;gt;&amp;1
&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:51415</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/51415.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=51415"/>
    <title>Tiger 的 DYNLOADFILE 怎么了？</title>
    <published>2006-09-11T17:38:05Z</published>
    <updated>2006-09-11T17:38:05Z</updated>
    <content type="html">似乎 Tiger 开始使用 DYNLOADFILE=dynload_next.o 了。结果导致不少问题。&lt;br /&gt;--------------&lt;br /&gt;PyQt doesn't work with the python 2.4.3 available binaries.&lt;br /&gt;You need to build Python from the source using  &lt;br /&gt;DYNLOADFILE=dynload_shlib.o ./configure --enable-framework --enable- &lt;br /&gt;toolbox-glue --enable-shared&lt;br /&gt;&lt;br /&gt;Just remember to make frameworkinstall instead of make install&lt;br /&gt;--------------</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:50947</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/50947.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=50947"/>
    <title>matplotlib 在 ActivePython 中的问题 (Tiger 10.4.7)</title>
    <published>2006-09-10T06:20:44Z</published>
    <updated>2006-09-10T06:22:31Z</updated>
    <content type="html">错误如下：&lt;br /&gt;------&lt;br /&gt;&lt;pre&gt;
&amp;gt;&amp;gt;&amp;gt; from pylab import *
&amp;gt;&amp;gt;&amp;gt; plot([1,2,3,4],[1,3,5,6])
[&amp;lt;matplotlib.lines.Line2D instance at 0x2e482b0&amp;gt;]
&amp;gt;&amp;gt;&amp;gt; show()
alloc: invalid block: 0xa08aca0: a 9c 0

Abort trap
&lt;/pre&gt;&lt;br /&gt;------</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:50864</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/50864.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=50864"/>
    <title>Python and ROOT 的问题</title>
    <published>2006-09-10T06:06:23Z</published>
    <updated>2006-09-10T06:06:23Z</updated>
    <content type="html">如果使用 MacPython 或者其它的 ActivePython 等包安装，使用 PyROOT 会出现如下的问题：&lt;br /&gt;----&lt;br /&gt;ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on&lt;br /&gt;Python 2.4.3 (#1, Apr  3 2006, 18:07:18) &lt;br /&gt;[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin&lt;br /&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; import ROOT&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;  File "&lt;stdin&gt;", line 1, in ?&lt;br /&gt;  File "/Users/exaos/Opt/root/current/lib/ROOT.py", line 75, in ?&lt;br /&gt;    from libPyROOT import *&lt;br /&gt;ImportError: Inappropriate file type for dynamic loading&lt;br /&gt;----&lt;br /&gt;原因是 Python 2.4 的安装存在问题，找不到 dynload 。使用如下的环境重新编译 Python 可以解决问题：&lt;br /&gt;----&lt;br /&gt;$ export DYNLOADFILE=dynload_shlib.o&lt;br /&gt;----</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:exaos:50409</id>
    <link rel="alternate" type="text/html" href="http://exaos.livejournal.com/50409.html"/>
    <link rel="self" type="text/xml" href="http://exaos.livejournal.com/data/atom/?itemid=50409"/>
    <title>在 MacOS 上安装 Python 及相关的科技计算软件</title>
    <published>2006-09-07T16:00:09Z</published>
    <updated>2006-09-07T16:00:09Z</updated>
    <content type="html">参见：&lt;br /&gt;&lt;a href="http://cse.ucdavis.edu/~chaos/courses/nlp/Software/PythonOSXInstall.html"&gt;http://cse.ucdavis.edu/~chaos/courses/nlp/Software/PythonOSXInstall.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Python 的特点是简单、快速地开发。但我在 Tiger 上安装 Scipy 可遇到不少麻烦：&lt;br /&gt;1. 安装 atlas 包，使用 Fink Unstable tree 安装 atlas 3.7.11&lt;br /&gt;2. 安装 numpy 1.0b5，测试通过&lt;br /&gt; $ Python -c 'from numpy import *; test(1,1)'&lt;br /&gt;... OK!&lt;br /&gt;3. 安装 scipy 0.5.1&lt;br /&gt;测试死活不通过！&lt;br /&gt;&lt;br /&gt;然后试着安装 numpy subversion 的最新版，测试不通过，它需要 ctypes。于是：&lt;br /&gt;1. 安装 ctypes 1.0.0 （已经包含在 Python 2.5 当中）&lt;br /&gt;2. 安装 numpy subversion 3129 版本，测试通过！&lt;br /&gt;3. 安装 scipy subversion 2191 版本，测试失败！&lt;br /&gt;4. 安装 scipy 0.5.1 版本，测试失败！&lt;br /&gt;&lt;br /&gt;好头疼！</content>
  </entry>
</feed>
