2003-07 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2003-07-31 Thu

[別の年の同じ日: 2004 2005 2006 2007 2008 2009 2014]

■ irb の設定 はてぶ

http://www.rubyist.net/~tamura/d/?date=20030730#p06 より.

require 'irb/completion'
require 'irb-history'

IRB.conf[:AUTO_INDENT] = true


■ CELP(Code-Excited Linear Prediction) はてぶ

携帯電話の音声符号化方式のベース

- CELP
  http://www.zdnet.co.jp/mobile/0307/30/n_keywords.html

■ xmms-mad 関連をパッケージング はてぶ

xmms-mad の configure で,id3lib が pkgconfig から呼べる(?)ように
なっている必要があるのが,momonga のパッケージでは提供されていないし,
もともとのソースにも含まれていない.

http://ftp.ntua.gr/pub/linux/gentoo-portage/media-sound/mad/files/
に,gentoo 用に用意された mad.pc と id3lib.pc があったので,これを拝借.

2003-07-30 Wed

[別の年の同じ日: 2005 2007 2008 2009 2010]

■ 英辞郎を freepwing に変換 はてぶ

元データはアルクから出ている本についてる CD から.
オリジナルのデータは自己解凍形式で収録されているので,
Windows 上で解凍.解凍すると
- EIJIRO52.TXT:
- OTOJIRO.TXT:
- RYAKU52.TXT:
- WAEIJI52.TXT:
の 4 つのファイルができる.

変換
eijiro-fpw から,
eijiro-fpw1.0b-src.tar.gz を取ってきて解凍.
解凍したディレクトリに移動して,そこに EIJIRO52.TXT をコピー.

cp /usr/share/freepwing/fpwutils.mk ./
make CHARSET=euc SRCFILE=EIJIRO52.TXT


fpwutils.mk は,fpwutils パッケージに入っている.

90 分くらいで変換が終了し,honmon ができる.

関連
- 英辞郎 [2002-06-25-1]

2003-07-29 Tue

[別の年の同じ日: 2005 2006 2008 2009 2010]

■ 同じ紙幣なのに 3 種類 「国立印刷局」人気に? はてぶ

http://www.sankei.co.jp/news/030728/0728sha094.htm

- 「大蔵省印刷局」
- 「財務省印刷局」
- 「国立印刷局」
の 3 種があって,発行期間が短い国立印刷局の人気が高まりそう,
という話.

■ ディストリビューションによるカーネルパラメーターの比較 はてぶ

http://www2.starcat.ne.jp/~kanocl/shumi/kerneltable.htm

■ info での文字化け はてぶ

(auto-compression-mode t)


を書けば大丈夫

2003-07-28 Mon

[別の年の同じ日: 2002 2005 2006 2007 2008 2009 2010]

■ queequeg の rpm を作る はてぶ

WordNet は別パッケージを作らずに,queequeg の source として
queequeg のパッケージを作る.

install 方法がとくに用意されていないので,*.py dict.* qq を
install -m 〜 として %{_datadir}/queequeg にインストール.
/usr/bin に qq へのリンクを張っておく.

今回は python-cdb を使わずにビルドしたけど,
特に遅いとも思わないので,このままで.

- 英文法チェッカ Queequeg [2003-07-07-7]

2003-07-27 Sun

[別の年の同じ日: 2005 2006 2007 2008 2009 2010 2018]

■  gtk+ build error はてぶ

+ popd
~/cvs/momonga/pkgs/gtk+/BUILD/gtk+-2.2.2
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.3351 (%build)


といって,build に失敗する.

spec file を見ると,

autoconf
%configure --with-xinput=xfree --with-gdktarget=x11
make
popd

#directfb
#pushd gtk+-directfb
#automake-old
#autoconf
#configure
#make
#popd

exit 1

%install


%install の前に exit 1 があり,ここでひっかかる模様.
exit 1 を削除して,無事ビルド.

■ イタリアとの時差 はてぶ

JST -8 なので,GMT +1.

一般に 3 月末から 10 月末が夏時間の期間で,JST -7 になる.
# 夏時間のほうが長いのか

2003-07-23 Wed

[別の年の同じ日: 2006 2007 2008 2009 2010]

■ 視力回復に向けて開発が進む「バイオニック・アイ」 はてぶ

http://www.hotwired.co.jp/news/news/technology/story/20030722301.html

[2003-07-17-7] の
Bionic Eyes Benefit the Blind
http://www.wired.com/news/medtech/0,1286,59634,00.html
の訳.

■ gtk+ 2.x を使ったアプリケーションが起動しない はてぶ

gaim -d すると,

Session Management: No SESSION_MANAGER found, aborting.


と言われ,起動できない.

他のアプリケーションは,デバッグオプションがわからないので未確認.

gnome-session を rebuild して解決.

■ Ruby のメソッド名は「動詞は原形を使う」 はてぶ

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/20735

Ruby のメソッド名は「動詞は原形を使う」というルールを採用しているので,
has_sid? は have_sid? または sid? とか sid_available? などになるべきです.

2003-07-21 Mon

[別の年の同じ日: 2006 2007 2008 2009 2011 2013]

■ glibc-2.3.2 への移行 はてぶ

[Momonga-devel.ja:01917] glibc-2.3.2 環境移行メモ
に書かれている作業は終了.

後は,適当に全ビルド.

■ 画像ファイルのフォーマット はてぶ

- おこめ工房フォーマット辞典JPEG編
  http://siisise.net/jpeg.html
- CGファイル概説
  http://homepage1.nifty.com/snap/room03/c02/cg/cg.html

2003-07-20 Sun

[別の年の同じ日: 2006 2007 2008 2009 2010]

■ Linux 免罪符始めました by SCO はてぶ

- Linux免罪符始めました by SCO
  http://slashdot.jp/articles/03/07/19/1328219.shtml?topic=17
- SCO readies new Linux licensing program
  http://www.infoworld.com/article/03/07/18/HNscolicense_1.html

■ URI decode はてぶ

Ruby について Part 4
http://pc2.2ch.net/test/read.cgi/tech/1056944114/191-202 より

URI.decode を使う

require 'uri'
$KCODE = 's'
str = '\x95\x5c\x94\x5c'

p URI.decode(str.gsub(/\\x/, '%'))


pack を使う

str = '\x95\x5c\x94\5c'
puts str.scan(/[0-9A-Fa-f]+/).collect{|x| x.hex}.pack('C*')


eval を使う

src = "\\x95\\x5c\\x94\\x5c" ; dst = eval("%(#{str})")


2003-07-18 Fri

[別の年の同じ日: 2006 2007 2008 2009 2010]

■ 鍋購入 はてぶ

無印で大きめの鍋とふたを買う.
計 4000円 (税別)

■ Second Runner / Ron Ron Clou はてぶ

購入.

Second Runner / Ron Ron Clou

収録曲は
1. MERRY-GO-ROUND
2. STANDING IN THE SHADOWS
3. THE GOLDEN COUNTRY
4. HEAVY SLEEPER
5. SUNNY SANDAE SMILE
6. INDIE GUITAR SWING
7. EVERYTHING THAT YOU WANT
8. DO SPORTS!!
9. SMASH IT UP
10. LUCKY STAR
11. DON'T BE AFRAID TO FLY
12. TEENAGE SONG
13. READY STEADY GO!
14. I DON'T MIND

2003-07-17 Thu

[別の年の同じ日: 2006 2007 2008 2009 2010]

■ R で統計はじめませんか はてぶ

http://slashdot.jp/articles/03/07/16/0123201.shtml?topic=58

- The R Project for Statistical Computing
  http://www.r-project.org/
- RjpWiki
  http://www.okada.jp.org/RWiki/
- 統計言語 R の関連ドキュメントの和訳:
  http://www.is.titech.ac.jp/~mase/R.html

■ Bionic Eyes Benefit the Blind はてぶ

http://www.wired.com/news/medtech/0,1286,59634,00.html

Referrer (Inside):
[2003-07-23-4] 視力回復に向けて開発が進む「バイオニック・アイ」

■ Linux To Become A De Facto Standard はてぶ

http://www.it-director.com/article.php?articleid=11054

■ セキュリティ はじめの一歩 はてぶ

http://www.linux.or.jp/security/firststep.html

■ cacti はてぶ

http://www.raxnet.net/products/cacti/

via: 【グラフ】MRTG専用スレッドPart2【カッコイイ】
     http://pc.2ch.net/test/read.cgi/unix/1029680699/

■ Privoxy はてぶ

default.action を update.

そのままでも文字化けしなくなった.

■ 40年を生きた「ムーアの法則」、その終焉をゴードン・ムーア氏が予言 はてぶ

http://www.zdnet.co.jp/news/0307/17/ne00_moore.html

2003-07-16 Wed

[別の年の同じ日: 2007 2008 2009 2010]

■ indies.wagg.net はてぶ

http://indies.waag.net/

タワレコのリスナーによるインディーズ CD 評価サイト.

- タワーレコード、リスナー参加型のインディーズCD評価サイト開設
  http://japan.internet.com/busnews/20000831/2.html

■ RNA はてぶ

http://www.semblog.org/archives/000103.html

RSSベースのアンテナ

- RNAのインストール - 新しいタイプのアンテナ?
  http://mikilab.doshisha.ac.jp/~hisashi/wiki/wiki.cgi?
RNA%A4%CE%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB
>))

■ ファイル交換ソフトMorpheus、身元特定を防ぐプロキシー機能を搭載 はてぶ

http://internet.watch.impress.co.jp/www/article/2003/0716/morp.htm

■ 国内P2Pファイル共有の全容解明を開始 はてぶ

http://slashdot.jp/articles/03/07/15/0753231.shtml?topic=74

2003-07-15 Tue

[別の年の同じ日: 2006 2007 2008 2009 2010 2013 2018]

■ 137Gbytes 超IDEディスクの正しい使い方 はてぶ

http://www.atmarkit.co.jp/fpc/experiments/009over137hdd/index.html

■ 「J-スカイ」が「ボーダフォンライブ! 」に メールアドレスも変更に はてぶ

http://www.zdnet.co.jp/mobile/0307-15-02.html

@jp-X.ne.jp が,@X.vodafone.ne.jp に変更.
11 月から.来年 10 月までは,現在のアドレスでも受信可.

- J-フォン,「J-スカイ」を「ボーダフォンライブ! 」に変更
  http://internet.watch.impress.co.jp/www/article/2003/0715/vodafone.htm
だと,関東は 11 月 11 日から,東海は 11 月 13 日から.

2003-07-14 Mon

[別の年の同じ日: 2002 2005 2006 2007 2008 2009 2013 2015]

■ WinMXの実態を解明するノード自動探索システムが稼働 はてぶ

http://www.zdnet.co.jp/broadband/0307/14/lp14.html

2003-07-12 Sat

[別の年の同じ日: 2002 2004 2005 2006 2007 2008 2009 2010]

■ ナノテクの現在、ブレークスルーと落とし穴 はてぶ

http://www.zdnet.co.jp/news/0307/11/cead_kanellos.html

2003-07-11 Fri

[別の年の同じ日: 2006 2007 2008 2010]

■ pdumpfs-rsync - rsync を利用したリモート pdumpfs はてぶ

http://tach.arege.net/software/pdumpfs-rsync/

2003-07-08 Tue

[別の年の同じ日: 2005 2006 2007 2008 2009 2010]

■ Linux & Open Source is Better for Business than Microsoft Windows はてぶ

http://osnews.com/story.php?news_id=3983

■ オープンソースが引き起こすパラダイムシフト はてぶ

http://blog.cnetnetworks.jp/umeda/archives/000488.html

■ Torvalds on OSDL, 2.6, and the future はてぶ

http://newsforge.com/newsforge/03/07/07/1516238.shtml?tid=23

■ Tim O'Reilly:ソフトウェアライセンスは機能していない はてぶ

http://slashdot.jp/articles/03/07/08/0647207.shtml?topic=104

- Tim O'Reilly: Software licenses don't work
  http://www.idg.se/ArticlePages/idgnet.asp?id=4635
- Interview:ソフトウェアライセンスが機能しなくなる日
  http://www.zdnet.co.jp/enterprise/0307/07/epi01.html
  翻訳

■ 政府/政治家を逆監視するMITの対国防総省「GIA」計画、始動せり はてぶ

http://slashdot.jp/articles/03/07/08/0637251.shtml?topic=57

- Government Information Awareness (GIA)
  http://opengov.media.mit.edu/
- Terrorism Information Awareness (TIA) System
  http://www.darpa.mil/iao/TIASystems.htm

2003-07-07 Mon

[別の年の同じ日: 2006 2007 2008 2009 2010]

■ 英文法チェッカ Queequeg はてぶ

http://queequeg.sourceforge.net/

Referrer (Inside):
[2003-07-28-1] queequeg の rpm を作る

■ NTFS FAQ (Frequently Asked Questions) はてぶ

http://linux-ntfs.sourceforge.net/info/ntfs-ja.html

■ gnome-jabber はてぶ

http://gnome-jabber.sourceforge.net/

An Instant Message Client for Gnome using the Jabber Protocol
(which supports all major IM protocols, like ICQ, MSN, AIM, etc).

gnet 2.0 が必要.
最新は.2.0.3.1 系は,1.1.9.
Momonga の gnet は,1.1.5.

■ C# 関連 はてぶ

- 言語設計者への質問
  http://www.gotdotnet.com/team/ja/team/csharp/learn/columns/ask.aspx
- 私がJavaからC#に乗り換えた10の理由
  http://www.atmarkit.co.jp/fdotnet/special/java2cs/java2cs_01.html

■ Stop the autoconf insanity! Why we need a new build system. はてぶ

http://freshmeat.net/articles/view/889/

■ ご存知ですか? Native POSIX Thread Library for Linux はてぶ

http://www.zdnet.co.jp/developer/0306/27/dvn01.html

■ Google ロゴ画像コレクション はてぶ

http://plaza18.mbn.or.jp/~moriban/google/

2003-07-06 Sun

[別の年の同じ日: 2002 2006 2007 2008 2009 2010 2013]

■ canonical system type の変更 はてぶ

[Momonga-devel.ja:01851] Canonical system type の変更について

むらけんです.

Momonga Linux のリリースへ向けた作業のひとつとして,現在

  <arch>-redhat-linux

となっている canonical system type を

  <arch>-momonga-linux

に変更しました.

この変更の適用手順を以下に示します:

(1) cvs up rpm
(2) rpm のビルド,インストール
(4) cvs up gcc
(5) gcc のビルド,インストール
(6) その他のパッケージをビルド

■ 仮想ファイルシステムを動かす はてぶ

http://www-6.ibm.com/jp/developerworks/linux/030704/j_l-sc12.html

2003-07-02 Wed

[別の年の同じ日: 2006 2007 2008 2009 2010 2011]

■ 腕試し!Linuxを使いこなすには はてぶ

http://itpro.nikkeibp.co.jp/free/LIN/ITBASIC/20030630/1/

微妙な問題ばかり…

  あなたの採点結果は100点でした。
  ( 平均点: 73 ,順位:6567名中1位 )

■ 「パブリック・ドメイン」とは何か はてぶ

http://japan.linux.com/opensource/03/06/15/1044258.shtml

■ オープンソースの現実、と若干の理想(上) はてぶ

http://japan.linux.com/opensource/03/06/28/1235243.shtml

■ gaim が起動しない はてぶ

mcop warning: user defined signal handler found for SIG_PIPE, overriding


といって起動できない.

gaim -d
[src]
として,デバッグメッセージを表示させたところ
[src]
prefs: Reading ~/.gaim/prefs.xml
prefs: Finished reading ~/.gaim/prefs.xml
gaimrc: Loading preferences.
gaimrc: start load_prefs
gaimrc: starting read tag 0
gaimrc: ending read tag 0
gaimrc: starting read tag 1
sound: Initializing sound output drivers.
mcop warning: user defined signal handler found for SIG_PIPE, overriding
core: Removed core


となり,sound があやしい.

音声出力の方法を beep から esd に変更すると,無事起動するようになった.