RSS Arch notes

linux, python, django, archlinux, maybe architect...
iNeZha robot will deliver the feed updates to your IM or Email in real-time

Delivery Demo of iNezha MSN Robot

Subscribe it
iNezha robot say:
Arch notes
Title:搬家到blog.xupeng.me
Summary:很不幸,我又要给blog搬家了,虽然我很少写blog。 之前的blog.archnotes.com是放在Hostmonster的共享虚拟主机上,但是前不久Hostmonster在没有提前通知我的情况下... (11/11/2008 10:35:58 AM)
Subscribe it

About "Arch notes"

Author:Claim it now
Website:http://blog.archnotes.com
RSS:http://blog.archnotes.com/feed/
Update interval: 12 days
Last update: 59 days ago
Tags:
Subscribers:1
Shared Subscribers:1
Bookmarked or Shared Articles:0  

Recent contents of "Arch notes"

搬家到blog.xupeng.me 59 days ago Read More http://blog.archnotes.com/2008/11/11/move-to-blog-xupeng-me/
很不幸,我又要给blog搬家了,虽然我很少写blog。
之前的blog.archnotes.com是放在Hostmonster的共享虚拟主机上,但是前不久Hostmonster在没有提前通知我的情况下就停止了我的账号,这让我很恼火,同时也对他们失去了信心。十一期间了买了Linode的VPS,干脆就借此机会把blog也迁到Linode去好了,但因为之前的域名(archnotes.com)是购买...
Feel better now 200 days ago Read More http://blog.archnotes.com/2008/06/22/feel-better-now/
I am too tired those days a week ago, but feel better now after one week’s rest of taking a tour to Shanghai and some places in Beijing, though I still need some advice on my future……
诺基亚N810初体验 271 days ago Read More http://blog.archnotes.com/2008/04/12/experience-for-nokia-n810/
上周拿到了公司技术长老大张的诺基亚N810 internet tablet,说说这几天的使用体验吧。
先说说硬件配置:
4.13英寸65535色宽屏TFT触控式液晶屏,800×480的分辨率,400Mhz TI OMAP 2420 CPU,128M内存,256M内置Flash卡预装maemo os2008操作系统,内置2G的存储卡,还有一个miniSD卡槽,可以使用最大8G的miniSD存储...
新装Debain unstable遇到的一些问题 284 days ago Read More http://blog.archnotes.com/2008/03/30/problems-met-in-debian-unstabl/
出于学习的需要,安装了debian etch,并升级到了unstable,使用中遇到了几个小问题:
1. /dev/rtc有问题
# hwclock --utc --systohc
select() to /dev/rtc to wait for clock tick timed out
经google发现是系统使用的rtc.ko内核模块的问题,使用genrtc.ko就没有问题,于是修改/...
VIM魔术: 图文实例展示 294 days ago Read More http://blog.archnotes.com/2008/03/20/vim-magic/
绩效评估,计算工作时间,顺便就拿VIM来说事吧,在VIM中变个小魔术,完成这个小任务;)
原始材料是这样的:
这是原始的按照时间顺序进行的统计。我想要的结果是,分别计算出每人的工作时间,那么第一步,去掉每行末尾的”Indicator Edit Delete”。
首先录制一个宏,可以在命令模式下使用这样的按键序列:ggqd0fId$jq
把这串按键序列分开来开是这样的意思:
gg: 回到文件的...
升级到4G内存啦 301 days ago Read More http://blog.archnotes.com/2008/03/13/upgrade-memory-to-4g/
今天终于把本本的内存升级到了4G,其实2G内存在日常工作和娱乐中已经足够使用了,甚至大部分时间都是用不完的,之所以要升级到4G,是因为我需要跑一些虚拟机,用来做测试和学习,这样原本充足的内存就有点捉襟见肘了,还有另外一个原因是:现在内存挺便宜(285一条2G),哈哈
之前使用的是32位的archlinux,现在升级到了4G内存就有了麻烦,因为archlinux官方维护的二进制内核是没有打开’...
给virt-manager写了4个pkgbuild 311 days ago Read More http://blog.archnotes.com/2008/03/03/created-four-pkgbuilds-for-virt-manager/
virt-manager是一个用来管理虚拟机的软件,现在可以支持xen、 qemu和kvm,使用它可以简化虚拟机的建立、监控和管理工作。
我想在archlinux下使用virt-manager,不过archlinux官方仓库里没有virt-manager的软件包,aur里目前也没有pkgbuild,没有办法,只能自己动手了,总共有四个相关的软件包:libvirt、 virtviewer、 v...
python函数之max和reduce 324 days ago Read More http://blog.archnotes.com/2008/02/19/python-function-max-and-reduce/
问题:
我有这样的一个列表:
['a.b.c.d11u.e.f.g', 'e.f88.g', 'caa3.z.brr', 'z.48.ff.ee']
需要找节点最多的一个(节点间由.分割)
看似简单的工作,要用pythonic的方法来做,还是要对python的内置函数有一定程度的熟悉,比如这里可以用最熟悉不过的max,但是会用到它并不常用的可选参数:key
node_list = ['a.b...
汗,postgresql从8.1就提供了查看物理存储空间的函数了…… 330 days ago Read More http://blog.archnotes.com/2008/02/14/%e6%b1%97%ef%bc%8cpostgresql%e4%bb%8e81%e5%b0%b1%e6%8f%90%e4%be%9b%e4%ba%86%e6%9f%a5%e7%9c%8b%e7%89%a9%e7%90%86%e5%ad%98%e5%82%a8%e7%a9%ba%e9%97%b4%e7%9a%84%e5%87%bd%e6%95%b0%e4%ba%86%e2%80%a6/
http://www.postgresql.org/docs/8.1/interactive/functions-admin.html
比如:
= SELECT pg_database_size('myproject');
?pg_database_size?
------------------
? ? ? ? ? 9641188
(1?row)
?
= SELECT?pg_relat...
搬家喽,在hostmonster落户;) 3328 days ago Read More http://blog.archnotes.com/2008/02/13/%e6%90%ac%e5%ae%b6%e5%96%bd%ef%bc%8c%e5%9c%a8hostmonster%e8%90%bd%e6%88%b7/
看了一阵子的虚拟主机,比来比去还是hostmonster比较实惠,嗯,就它了,坚持写blog,该记下的东西还是得记下的,俺新的blog在:http://blog.archnotes.com