<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/yuichi0619/">
    <title>でびたwiki</title>
    <link>http://w.atwiki.jp/yuichi0619/</link>
    <atom:link href="https://w.atwiki.jp/yuichi0619/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>でびたwiki</description>

    <dc:language>ja</dc:language>
    <dc:date>2008-04-17T16:12:37+09:00</dc:date>
    <utime>1208416357</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/24.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/23.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/22.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/21.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/20.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/17.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/13.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/yuichi0619/pages/11.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/24.html">
    <title>窓使いの憂鬱</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/24.html</link>
    <description>
      &#039;&#039;窓使いの憂鬱の自分的設定&#039;&#039;

-日本語キーボードをdvorak usへ(2008/4/)
 #日本語109 to Dvorak us
 include &quot;109.mayu&quot; # 109 キーボード設定
 keymap Global
 mod control += 英数
 key *英数 = *LControl
 key 半角/全角 = Esc
 key *Convert = *Space
 key *NonConvert = *Space
 #key S-Space = 半角/全角
 key ~S-*半角/全角 = S-*Atmark
 key S-*半角/全角 = S-*Caret
 key S-*_2 = ~S-*Atmark
 key S-*_6 = ~S-*Caret
 key S-*_7 = S-*_6
 key S-*_8 = S-*Colon
 key S-*_9 = S-*_8
 key S-*_0 = S-*_9
 key *Minus = *LeftSquareBracket
 key *Caret = *RightSquareBracket
 key *Atmark = *Slash
 key ~S-*LeftSquareBracket = S-*Minus
 key S-*LeftSquareBracket = S-*SemiColon
 key *Semicolon = *s 
 key ~S-*Colon = *Minus
 key S-*Colon = S-*BackSlash
 key *Comma = *w
 key *Period = *v
 key *Slash = *z
 key *RightSquareBracket = *Enter 
 #key *a = *a
 key *b = *x
 key *c = *j
 key *d = *e
 key *e = *Period
 key *f = *u
 key *g = *i
 key *h = *d
 key *i = *c
 key *j = *h
 key *k = *t
 key *l = *n
 #key *m = *m
 key *n = *b
 key *o =     </description>
    <dc:date>2008-04-17T16:12:37+09:00</dc:date>
    <utime>1208416357</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/23.html">
    <title>openSUSE</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/23.html</link>
    <description>
      &#039;&#039;研究室で使用しているオペレーティングシステムopenSUSEについて。設定等。&#039;&#039;

-texの追加(2008/4/4)
ptexを入れようとしたが、どうやらopenSUSE10.3にはptexは無く代わりにTeXLiveがあるらしい。&amp;br
しかし以前書いたものがコンパイルできないし、日本語の対応は悪いらしいのでptetex3をコンパイルする事に。&amp;br
freetype-2.3.5.tar.bz2 をダウンロードし展開。&amp;br
modules.cfgのコメントアウトを外す。
 # AUX_MODULES += otvalid
そして以下のコマンドを実行。
 configure --prefix=$HOME/bin
 make all
 make install
ttp://www.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gzと&amp;br
ttp://www.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0po.tar.gzをダウンロードする。&amp;br
ttp://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/からptetex3-20080404.tar.gzを同じフォルダにダウンロードし、展開。&amp;br
 cp my_option.sample my_option
コピーし、以下を追加。
 SYSTEM_FREETYPE2=no
コンパイルする為に以下の物を導入した。
 zypper install make
 zypper install gcc
 zypper install gcc-c++
 zypper install flex
 zypper install bison
 zypper install IPAGothic
 zypper install IPAMincho
 zypper install openmotif
 zypper install openmotif-devel
 zypper install ncurses-devel
 zypper ins    </description>
    <dc:date>2008-04-05T11:21:46+09:00</dc:date>
    <utime>1207362106</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/22.html">
    <title>Gentoo</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/22.html</link>
    <description>
      &#039;&#039;オペレーティングシステムGentooについて。設定等。&#039;&#039;

-Gentooインストール(2008/4/1)
新しくGentooをインストールした。&amp;br
ネットワークの設定で苦労する。&amp;br
/etc/hostsに、
 127.0.0.1 localhost @hostname
/etc/conf.d/hostnameに、
 HOSTNAME=&quot;@hostname&quot;
と書き換え、ホスト名を変更した。
/etc/conf.d/netに、
 dns_domain=&quot;@domainname&quot;
 dns_servers_eth0=(&quot;@nameserver&quot;)
 config_eth0=(&quot;@ipaddress netmask @netmask broadcast @broadcast&quot;)
 routes_eth0=(&quot;default via @gateway&quot;)
を追加し、固定IPでネットに繫げるようにした。    </description>
    <dc:date>2008-04-01T22:01:40+09:00</dc:date>
    <utime>1207054900</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/21.html">
    <title>Python</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/21.html</link>
    <description>
      &#039;&#039;純粋オブジェクト型言語pythonのお勉強&#039;&#039;

-小町算(2007/12/19)
小町算とは： &amp;br
1□2□3□4□5□6□7□8□9＝100 &amp;br
四角の中に，空白，＋，－，×，÷のいずれかを一つ入れ，等式が成り立つようにするパズルです．&amp;br
割り算は整数演算でなく小数を使用する．&amp;br

 count = 0
 def komachi():
    &quot;&quot;&quot;小町算をするよ．&quot;&quot;&quot;
    hoge(range(1,10),&#039;&#039;)
 def hoge(ns,res):
    if ns==[]:
        if eval(res)==100:
            global count
            count += 1
            print &quot;[&quot;,count,&quot;]&quot;,res
    else:
        i=ns.pop()
        if res == &#039;&#039;:
            hoge(ns[:],&#039;%1.1f&#039; % i)
        else:
            hoge(ns[:],&#039;%d&#039; % i + res )
            hoge(ns[:],&#039;%1.1f&#039; % i + &quot;+&quot; + res)
            hoge(ns[:],&#039;%1.1f&#039; % i + &quot;-&quot; + res)
            hoge(ns[:],&#039;%1.1f&#039; % i + &quot;*&quot; + res)
            hoge(ns[:],&#039;%1.1f&#039; % i + &quot;/&quot; + res)

-ピタゴラス数(2007/12/18)
ピタゴラス数を探すよ！&amp;br
6,8,10は3,4,5の整数倍だから認めないで，互いに素な数だけ出力した&amp;br

 def pita(n):
    &quot;&quot;&quot;n以下の自然数で作られた互いに素なピタゴラス数を列挙するよ.&quot;&quot;&quot;
    for c in range(1,n+1):
        for b in range(1,c+1):
            for a in range(1,b+1):
                if a*a+b*b==c*c:    </description>
    <dc:date>2007-12-19T16:08:47+09:00</dc:date>
    <utime>1198048127</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/20.html">
    <title>mac</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/20.html</link>
    <description>
      &#039;&#039;購入したmacbookのosについて。設定等&#039;&#039;

-GoogleCalender(2008/1/9)
研究室の予定がgoogleカレンダーにあげられている。
なので、googleカレンダーをiCalから見れるようにした。&amp;br
&amp;br
参考サイト：&amp;br
[N] iCalでGoogle Calendarを見る方法 &amp;br
ttp://netafull.net/lifehack/013307.html &amp;br
HOWTO: Subscribe to a Google Calendar using iCal &amp;br
ttp://www.tuaw.com/2006/04/13/howto-subscribe-to-a-google-calendar-using-ical/ &amp;br



-MobilityWorkBench(2007/12/25)
研究の為，macにMWBを入れる．&amp;br
先ずはmacportsでsmlを導入．&amp;br
その後，README通りに,
 sml -m sources.cm saveit.sml
するも，fatal errorが出てそのフォルダ内でしか使えず．&amp;br
仕方ないので，/usr/local/bin/mwbに以下のシェルスクリプトを追加した．&amp;br
 #!/bin/sh
 sml @SMLload=(HOMEフォルダ)/bin/mwb/mwb
とりあえずはどこからでもmwbで起動できるようになった．&amp;br



-X11(2007/12/24)
X11が起動しなかった．&amp;br
しかし，Library/Preferences/com.apple.Xcode.plistを削除したら起動するようになった．&amp;br
&amp;br
参考サイト&amp;br
X11 for Mac OS X&amp;br
ttp://homepage3.nifty.com/toshi3/x11.html#start&amp;br

-BootCamp(2007/12/4)
windowsも使いたい。bootcampでwindowsも起動できるように。&amp;br
sp2ディスクじゃないとできないようなのでsp1からsp2ディスクを作る。&amp;br
既存のライセンスを使っているxpでインストールした後、使用していないライセンス    </description>
    <dc:date>2008-01-09T10:59:59+09:00</dc:date>
    <utime>1199843999</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/19.html">
    <title>ubuntu</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/19.html</link>
    <description>
      &#039;&#039;Debianベースのlinuxディストリビューション。セカンドマシン。&#039;&#039;

-ratpoison(2008/12/22)
ubuntu-serverにratpoisonを入れるためのメモ。 &amp;br
 sudo aptitude install xserver-xorg-core xinit ratpoison
とりあえずこれで、
 startx `which ratpoison`
で、動く事は動く。日本語化の為、
 sudo aptitude install language-pack-ja
を入れる。日本語入力は今後の課題。


-samba導入(2008/2/8)
ubuntuにsambaを入れる。まずは以下のコマンドでインストール。
 sudo apt-get install samba
その後、/etc/samba/smb.confを編集。以下を追加する。&amp;br
[編集中]&amp;br
&amp;br


：参考サイト&amp;br
sambaのインストール・設定&amp;br
ttp://www.psg.jp/samba_server.html&amp;br

-ubuntu6.06 in vmware(2008/2/1)
vmware fusion for maxにubuntu6.06をいれる。vmware toolを入れるときに、
 What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
とか出て進まない。以下をinstallした。
 sudo apt-get install build-essential linux-headers-`uname -r`
そしてもう一回、vmware toolのinstallを実行するとうまくいく。

-ubuntu6.06インストール(2007/6/24)
セカンドマシンにubutnuを入れる。初心者にもわかりやすい。&amp;br
rootが存在しないらしく、root権限の必要な命令は、
 $ sudo apt-get update
sudoを使って行う。
 $ sudo -s
で、root権限のターミナルを使う    </description>
    <dc:date>2008-12-23T02:34:09+09:00</dc:date>
    <utime>1229967249</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/18.html">
    <title>Haskell</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/18.html</link>
    <description>
      &#039;&#039;純粋関数型言語haskellについて&#039;&#039;

-the haskell school of expression(2008/01/21)
これでhaskellの勉強？しているが、GUIライブラリの導入に苦労する。&amp;br
&amp;br
macOSX編。&amp;br
とりあえずは、ghcが必要。MacPortsで入れたいが俺のIntelmacだとエラーが出る。&amp;br
仕方ないのでGHCのサイトへ行き、Ver.6.8.2のバイナリを取ってくる。時間はかかるがLeopardも対応してるのでインスコ完了。&amp;br
次に公式サイトより、The latest SOE source codeとThe GLFW package on which it dependsを落としてくる。&amp;br
GLFWの方を解凍したら、
 runhaskell Setup.hs configure
 runhaskell Setup.hs build
 runhaskell Setup.hs install
を実行。&amp;br
次にSOEの方を解凍して、SOE/src内でコンパイル。
 ghc -c -fffi EnableGUI.hs
そうしてghciを実行。
  Prelude&gt; :l EnableGUI
  Prelude EnableGUI&gt; :a Fal.lhs
 *Fal&gt; :m +EnableGUI
 *Fal EnableGUI&gt; enableGUI &gt;&gt; test ball1
とかやると、テストできたー。&amp;br
&amp;br
これだけのこと理解するのに苦労した。&amp;br
英語苦手なのは辛い。&amp;br
&amp;br
&amp;br
Gtk2HsやwxHaskellを入れようとしてたけど、公式サイトのソースに必要な物は入ってるからいらなかった。&amp;br
英語を読めって話やね。&amp;br
&amp;br








-素数の無限リスト(2007/06/24)

 primeInf = hoge [2..]
    where hoge (x:xs) = x : hoge [y | y &lt;- xs , mod y x /= 0]

二行で書けるなんてすごいなぁ    </description>
    <dc:date>2008-01-22T09:08:30+09:00</dc:date>
    <utime>1200960510</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/17.html">
    <title>C</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/17.html</link>
    <description>
      //c
/********************************************
点が舞うプログラム(2007/06/16)
見てるとちょっと楽しい
********************************************/
#include &lt;stdio.h&gt;
#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;
#include &lt;tchar.h&gt;
#include &lt;math.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;time.h&gt;

#pragma comment(lib, &quot;comctl32.lib&quot;)



//定数
#define BALL 6000 //点の数
#define ACCEL 800 //加速度
#define DOT_R 1 //点の半径pixel


#define WINDOW_WIDTH (800) //ウィンドウの幅
#define WINDOW_HEIGHT (600)//ウィンドウの高さ
#define WINDOW_X ((GetSystemMetrics(SM_CXSCREEN) - WINDOW_WIDTH) /2 ) //ウィンドウの表示位置X座標
#define WINDOW_Y ((GetSystemMetrics(SM_CYSCREEN) - WINDOW_HEIGHT) /2 ) //ウィンドウの表示位置y座標

#define TIMER_ID     (100)      // 作成するタイマの識別ID
#define TIMER_ELAPSE (20)     // WM_TIMERの発生間隔

#define ID_STATUS 100 //ステータスID

//グローバル変数

//プロトタイプ宣言
HWND Create(HINSTANCE hInst);
LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp);

//開始位置
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR    </description>
    <dc:date>2007-06-16T01:14:30+09:00</dc:date>
    <utime>1181924070</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/13.html">
    <title>Emacs</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/13.html</link>
    <description>
      &#039;&#039;使用しているテキストエディタemacsについて&#039;&#039;

-mew(2008/6/9)
sshでメールが見れるようにしたい。 &amp;br
なんで、emacsでメールを読めるようにする。 &amp;br
opensuseにはパッケージがないんで自分でビルド。mew-6.1を落としてくる。 &amp;br
まずは、
 $ ./configure
次にmakeする前にopensuseはsite-lispが/usr/local/share/emacs/ではなく、/usr/share/emacs/にあるので、
 prefix=/usr/local
　　　　↓
 prefix=/usr
とMakefileを書き換える。 &amp;br
その後、
 $ make info
 $ make jinfo
 $ make install
 $ make install-jinfo
とし、インストールを完了した。そして、.emacsに以下を追加した。
 (autoload &#039;mew &quot;mew&quot; nil t)
 (autoload &#039;mew-send &quot;mew&quot; nil t)
 ;;; Makefile の etcdir で指定したディレクトリ
 (setq mew-icon-directory &quot;/usr/local/lib/emacs/etc/Mew&quot;) 
 (if (boundp &#039;read-mail-command)
    (setq read-mail-command &#039;mew))
 (autoload &#039;mew-user-agent-compose &quot;mew&quot; nil t)
 (if (boundp &#039;mail-user-agent)
    (setq mail-user-agent &#039;mew-user-agent))
 (if (fboundp &#039;define-mail-user-agent)
    (define-mail-user-agent
      &#039;mew-user-agent
      &#039;mew-user-agent-compose
      &#039;mew-draft-send-message
      &#039;mew-draft-kill
      &#039;mew-send-hook))
そして、.mew.elファイルを    </description>
    <dc:date>2008-07-13T17:23:14+09:00</dc:date>
    <utime>1215937394</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/yuichi0619/pages/11.html">
    <title>Debian</title>
    <link>https://w.atwiki.jp/yuichi0619/pages/11.html</link>
    <description>
      &#039;&#039;研究室で使用しているオペレーティングシステムDebianについて。設定等。&#039;&#039;

-xtightvncviewer(2008/6/21)
家のdebianにxtightvncviewerを入れた。 &amp;br
しかし、&quot;can`t open display&quot;とエラーが出る。&amp;br
xserver-xorgをインストールすることで解決した。&amp;br

-latex再導入(2008/3/26)
研究室のパソコンにlatexを入れる。&amp;br
以下のコマンドを実行。
 $ apt-get install ptex-bin
しかし、platexはうまくいくがdvipdfmxの所で下記のようなエラーがでる。
 ** ERROR ** Could not find encoding file &quot;H&quot;
フォントの設定がおかしいらしい。&amp;br
しかたないので、AdobeReader8をdebパッケージでインストールし、&amp;br
以下の様なシンボリックリンクを張る事で解決した。
 $ ln -s /opt/Adobe/Reader8/Resource/CIDFont/ /usr/share/texmf/dvipdfm
 $ ln -s /opt/Adobe/Reader8/Resource/CMap/ /usr/share/texmf/dvipdfm
&amp;br
参考サイト：&amp;br
LaTeX(dvipdfmxの使い方)&amp;br
ttp://www.akita-nct.ac.jp/yamamoto/comp/latex/dvipdfmx/dvipdfmx.html#mk_pdf &amp;br


-apache導入(2008/2/16)
CGIプログラミングがしたくて自宅のdebianにapacheを入れた。&amp;br
以下のコマンドを実行。
 apt-get install apache
その後/etc/apache/httpd.confを以下のように変更
 # To use CGI scripts:
 # AddHandler cgi-script .cgi
         ↓
 # To use CGI scripts:
 AddHandler cgi-script .cgi
公開するHTMLファイルは/var/wwwに、&amp;br    </description>
    <dc:date>2009-06-06T13:53:04+09:00</dc:date>
    <utime>1244263984</utime>
  </item>
  </rdf:RDF>
