2010ǯ03·î05Æü SCSIµ¡´ï¤ÎÀܳ
_ ÅŸ»¤òÀڤ餺¤ËSCSIµ¡´ï¤òÀܳ¡¢ÀÚÃÇ
µ×¤·¤Ö¤ê¤ËMO¤ò»È¤¦¤³¤È¤Ë¤Ê¤Ã¤¿¤¬¡¢MO¤òÆɤá¤ëPC¤¬Ìµ¤«¤Ã¤¿¤Î¤Ç¡¢SCSI¤òÀѤó¤Àlinux¥Þ¥·¥ó¤ÇMO¤òǧ¼±¤µ¤»¤ë¤³¤È¤Ë¤·¤¿¡£MO¤ÎÅŸ»¤òÆþ¤ì¤ÆºÆµ¯Æ°¤¹¤ì¤Ð¡¢»È¤¨¤ë¤Î¤À¤¬¡¢¤Ç¤¤ì¤ÐÅŸ»¤òÀڤꤿ¤¯¤Ê¤¤¡£Windows¤Î¾ì¹ç¤Ë¤Ï¡¢¥Ï¡¼¥É¥¦¥§¥¢¤ÎºÆǧ¼±¤ò¤µ¤»¤ì¤ÐÎɤ¤¤Î¤À¤¬¡¢linux¤Ç¤É¤¦¤ä¤ë¤Î¤«ÃΤé¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢Ä´¤Ù¤Æ¤ß¤¿¤é¡¢¤ä¤Ï¤êÊýË¡¤Ï¤¢¤ë¤è¤¦¤À¡£ ¤Þ¤º¤Ï¡¢scsiadd¤Èlsscsi¤ò¥¤¥ó¥¹¥È¡¼¥ë¡£sudo scsiadd -s¤ò¼Â¹Ô¤¹¤ë¤È¡¢
Host: scsi0 Channel: 00 Id: 01 Lun: 00¤Çǧ¼±¤µ¤ì¤¿¡£¤½¤³¤Ç¡¢
sudo scsiadd -a 0 0 1 0¤È¤¹¤ë¤È¡¢Ìµ»öMO¤Îǧ¼±¤ËÀ®¸ù¤·¤¿¡£¼è¤ê³°¤¹¤Î¤â´Êñ¤Ç¤¢¤ë¡£¤Þ¤º¤Ïlsscsi¤ò¼Â¹Ô¤¹¤ë¤È¡¢
[0:0:1:0] ************* /dev/sda¤Ê¤É¤Èɽ¼¨¤µ¤ì¤ë¤Î¤Ç¡¢
sudo scsiadd -r 0 0 1 0¤ò¼Â¹Ô¤·¤Æ¡¢MO¤ÎÅŸ»¤òÀÚ¤ì¤ÐÎɤ¤¡£ ¤³¤ì¤ÇMO¤ò¼ê·Ú¤Ë»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£
2010ǯ03·î14Æü R¤Èlatex
_ latex¤Î¼°¤òeps¤Ë
¥°¥é¥Õ¤ò½ñ¤¯¤È¤¤Ë¤ÏR¤ò»È¤Ã¤Æ¤¤¤ë¤¬¡¢R¤Ç½ñ¤¤¤¿¥°¥é¥Õ¤Î·çÅÀ¤Î°ì¤Ä¤Ë¡¢¿ô¼°¤Ê¤É¤Îɽµ¤¬Èþ¤·¤¯¤Ê¤¤¤È¤¤¤¦ÅÀ¤¬µó¤²¤é¤ì¤ë¡£expression¤Èpaste¤ò»È¤¨¤Ð¡¢¤¤¤í¤¤¤í¤Ê¼°¤òɽ¸½¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤¬¡¢¸«±É¤¨¤¬¤¢¤Þ¤êÎɤ¯¤Ê¤¤¡£psfrag¤ò»È¤¦¤ÈR¤Ç½ñ¤¤¤¿¥°¥é¥Õ¤Ëlatex¤Îʸ»ú¤òËä¤á¹þ¤à¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ê¤Î¤Ç¡¢»î¤·¤Æ¤ß¤¿¡£¤Þ¤º¡¢Èæ³Ó¤Î¤¿¤á¤ËR¤Ç¥°¥é¥Õ¤ò½ñ¤¤¤Æ¤ß¤ë¡£x<-seq(from=0, to=7, by=0.01) y<-sin(x) xl<-c(0,2*pi) yl<-c(-1,1) X11(width=100/25.4,height=80/25.4) par(bg=rgb(0.99,0.99,0.99),fg="black") par(tcl=0.5,xaxs="i",yaxs="i") par(mar=c(3,4,1,1)) par(las=1,ps=11) plot(x,y,type="l",xlim=xl,ylim=yl,ann=FALSE,axes=FALSE) box() axis(1,at=c(0,pi,2*pi),labels=c(0,expression(pi),expression(2*pi)),padj=-1) axis(2,labels=TRUE) axis(3,at=c(0,pi,2*pi),labels=FALSE) axis(4,labels=FALSE) mtext(expression(italic(x)),side=1,line=2) mtext(expression(italic(y)),side=2,line=3) text(4,0.5,expression(paste(italic(y),"=",sin," ",italic(x)))) dev.copy2eps(file="sin.eps")ºÇ¶á¤Ï¡¢¤³¤ó¤Ê´¶¤¸¤Ç½ñ¤¤¤¿¥°¥é¥Õ¤òeps¤Ë¤·¤Æ¡¢latex¤Ë¼è¤ê¹þ¤ó¤Ç¤¤¤ë¡£¤¤¤è¤¤¤èpsfrag¤Ç½èÍý¤¹¤ë¤¿¤á¤Ë¡¢¤â¤È¤Ë¤Ê¤ëeps¤òºî¤ë¡£
x<-seq(from=0, to=7, by=0.01) y<-sin(x) xl<-c(0,2*pi) yl<-c(-1,1) X11(width=100/25.4,height=80/25.4) par(bg=rgb(0.99,0.99,0.99),fg="black") par(tcl=0.5,xaxs="i",yaxs="i") par(mar=c(3,4,1,1)) par(las=1,ps=11) plot(x,y,type="l",xlim=xl,ylim=yl,ann=FALSE,axes=FALSE) box() axis(1,at=c(0,pi,2*pi),labels=c("l1","l2","l3"),padj=-1) axis(2,labels=TRUE) axis(3,at=c(0,pi,2*pi),labels=FALSE) axis(4,labels=FALSE) mtext("x",side=1,line=2) mtext("y",side=2,line=3) text(4,0.5,"title") dev.copy2eps(file="sintex.eps")¤³¤ì¤Ï¤Û¤È¤ó¤ÉƱ¤¸¤Ê¤Î¤À¤¬¡¢Ê¸»ú¤ÏÃÖ¤´¹¤¨¤ë¤¿¤á¤Ë¡¢Ã±½ã¤Êʸ»úÎó¤Ë¤·¤Æ¤¤¤ë¡£¤½¤·¤Æ¡¢¤³¤Îeps¤òpsfrag¤ò»È¤Ã¤Ælatex¤Ç½èÍý¤¹¤ë¡£
\documentclass[11pt]{jarticle} \usepackage[dvips]{graphicx} \usepackage{psfrag} \pagestyle{empty} \begin{document} \psfrag{title}{$y=\sin x$} \psfrag{x}{$x$} \psfrag{y}{$y$} \psfrag{l1}{$0$} \psfrag{l2}{$\pi$} \psfrag{l3}{$2\pi$} \includegraphics{sintex.eps} \end{document}¤³¤Î¥Õ¥¡¥¤¥ë¤òplatex, dvips, ps2eps¤Ç½èÍý¤¹¤ë¤È¡¢Ê¸»ú¤¬latex¤Îʸ»ú¤ÇÃÖ´¹¤µ¤ì¤¿eps¥Õ¥¡¥¤¥ë¤¬¤Ç¤¤ë¡£¤³¤Îdiary¤Ë¤Ï´ðËÜŪ¤Ë¤Ï¿Þ¤ÏºÜ¤»¤Ê¤¤¤³¤È¤Ë¤·¤Æ¤¤¤ë¤Î¤Ç¡¢¸«¤»¤ë¤³¤È¤¬¤Ç¤¤Ê¤¤¤¬¡¢½ÐÍè¾å¤¬¤Ã¤¿Æó¤Ä¤Î¿Þ¤òÈæ³Ó¤·¤Æ¤ß¤ë¤È¡¢¤ä¤Ï¤êlatex¤Îʸ»ú¤ÏåºÎï¤À¤È´¶¤¸¤ë¡£¤¿¤À¤·¡¢y¼´¤Î¿ô»ú¤ÏÃÖ´¹¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢R¤Î¥Õ¥©¥ó¥È¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Æ¡¢¾¯¤·°ãÏ´¶¤¬¤¢¤ë¡£picture´Ä¶¤Ç¿Þ¤Èʸ»ú¤òÇÛÃÖ¤·¤Æ¤âƱ¤¸¤è¤¦¤Ê¤³¤È¤¬¤Ç¤¤ëµ¤¤â¤¹¤ë¤¬¡¢psfrag¤âÍÍѤʼêË¡¤À¤È´¶¤¸¤ë¡£
2010ǯ03·î17Æü eps¤ÎÀÚ¤ê½Ð¤·
_ Imagemagick¤Ç¤Îeps¤Ø¤ÎÊÑ´¹
latex¤Ç¿Þ¤¬É¬ÍפʤȤ¤Ë¤Ï¡¢eps¤òÍѤ¤¤ë¡£¼«Ê¬¤Ç¿Þ¤ò¤Ä¤¯¤ë¾ì¹ç¤Ï¡¢½ÐÎÏ·Á¼°¤òeps¤Ë¤¹¤ì¤ÐÎɤ¤¤¬¡¢Ê̤ΤȤ³¤í¤«¤é¿Þ¤ò¼è¤Ã¤Æ¤¯¤ë¾ì¹ç¤Ë¤Ï¡¢eps¤ËÊÑ´¹¤¹¤ëɬÍפ¬¤¢¤ë¡£²èÁü¤ò°·¤¦¤È¤¤ËÈó¾ï¤ËÊØÍø¤Ê¤Î¤¬Imagemagick¤Ç¤¢¤ë¡£pdf¤«¤éeps¤òºî¤ë¤È¤¤Ë¤Ï¡¢¤·¤Ð¤·¤Ðconvert¤ò»È¤Ã¤Æ¤¤¤¿¤Î¤À¤¬¡¢¤Ê¤¼¤«²è¼Á¤¬Íî¤Á¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¶ìÏ«¤·¤Æ¤¤¤¿¡£¤è¤¦¤ä¤¯¤½¤ÎÍýͳ¤¬Ê¬¤«¤Ã¤¿¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢²òÁüÅÙ¤¬72¤È¤Ê¤Ã¤Æ¤¤¤ë¤é¤·¤¤¡£²¿¤â»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢¸µ¤Î²èÁü¤Î²òÁüÅÙ¤òÍøÍѤ¹¤ë¤Î¤«¤È»×¤Ã¤Æ¤¤¤¿¤Î¤¬´Ö°ã¤¤¤é¤·¤¤¡£pdf¤«¤éľÀܤÀ¤ÈÉ԰¤À¤Ã¤¿¤Î¤Ç¡¢ps¤Ëľ¤·¤Æ¤«¤é¡¢¤³¤ó¤Ê´¶¤¸¤Ç²òÁüÅÙ¤ò»ØÄꤷ¤ÆÀÚ¤ê½Ð¤·¤¿¤é¤¦¤Þ¤¯¤¤¤Ã¤¿¡£convert -density 288 -crop 960x680+1200+400 original.ps output.epspdf¤äps¤ÎÃæ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¿Þ¤Î²òÁüÅÙ¤òÄ´¤Ù¤ëÊýË¡¤¬Ê¬¤«¤ì¤Ð¡¢¤½¤Î²òÁüÅÙ¤ò»ØÄꤷ¤ÆÀÚ¤ê½Ð¤¹¤È¡¢¸µ¤Î¾ðÊó¤ò¼º¤ï¤Ê¤¤¤è¤¦¤Ë¤Ç¤¤ë¤Î¤À¤¬¡£
2010ǯ03·î26Æü the new element
_ ¥³¥Ú¥ë¥Ë¥·¥¦¥à
Ãοͤ«¤é¿·¤·¤¤¼þ´üɽ¤ò夤¤¿¤Î¤Ç¡¢¤¤¤í¤¤¤í¤ÈÄ´¤Ù¤Æ¤¤¤¿¤é¡¢Ìó5ǯ¤Ö¤ê¤Ë¿·¤·¤¯¸µÁÇ̾¤¬·è¤Þ¤Ã¤¿¤é¤·¤¤¤³¤È¤¬Ê¬¤«¤Ã¤¿¡£112ÈÖ¸µÁǤǡ¢copernicium¤È¤¤¤¦Ì¾¾Î¤Ë¤Ê¤Ã¤¿¡£¤Á¤Ê¤ß¤Ë¡¢¥Ï¥ó¥°¥ë¤Ç¤Ï코페르니슘¤Ç¤¢¤ë¡£¸µÁǵ¹æ¤ÏCn¤Ç¤¢¤ë¡£¤³¤Î¤³¤È¤Ë¤Ä¤¤¤ÆÏäò¤·¤Æ¤¤¤¿¤é¡¢Íµ¡Êª¼Á¤Èʶ¤é¤ï¤·¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È¤¤¤¦°Õ¸«¤¬¤¢¤Ã¤¿¡£¤Ä¤Þ¤ê¡¢CnH2n¤È¤Ê¤Ã¤Æ¤¤¤¿¤È¤¤Ë¡¢CnH2n¤Ê¤Î¤«¡¢CnH2n¤Ê¤Î¤«¤È¤¤¤¦¤³¤È¤Ç¤¢¤ë¡£2n¸Ä¿åÁǤΤĤ¤¤¿¥³¥Ú¥ë¥Ë¥·¥¦¥à¤È¤¤¤¦¤Î¤â¤Ê¤«¤Ê¤«Ìµ¤¤¤À¤í¤¦¤¬¡£
¿·¤·¤¤¸µÁÇ̾¤¬·è¤Þ¤ë¤È¡¢Homepage¤ËºÜ¤»¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¼þ´üɽ¤ò½ñ¤´¹¤¨¤ëɬÍפ¬¤¢¤ë¡£¸½ºß¤Ï14¼ïÎà¤À¤¬¡¢º£²ó¤Ï15¼ïÎà¤Ë¤¹¤ëͽÄê¤Ç¤¢¤ë¡£¤Þ¤À¡¢¤¤¤¯¤Ä¤«¤Î¸À¸ì¤Ç¤Î¸µÁÇ̾¤¬Ê¬¤«¤é¤Ê¤¤¤Î¤Ç¡¢Ä´¤Ù¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¡£
2010ǯ03·î30Æü linux¤Çdmg¤Îmount
_ dmg2img¤ò»È¤¦
¿·¤·¤¤¥×¥ê¥ó¥¿¡¼¤¬Í褿¤Î¤Ç¡¢linux¤«¤é°õºþ¤Ç¤¤ë¤è¤¦¤Ë¤·¤è¤¦¤È¤·¤¿¤é¡¢¤Ê¤«¤Ê¤«Æñ¤·¤¤¡£¤Þ¤º¡¢PPD¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢OSXÍѤÎdriver¤òdownload¤·¤¿¤é¡¢dmg¤À¤Ã¤¿¡£¤Þ¤º¤Ï¡¢file file.dmg¤Ç¥Õ¥©¡¼¥Þ¥Ã¥È¤òÄ´¤Ù¤ë¤È¡¢
VAX COFF executable not stripped¤È¤¤¤¦¤è¤¦¤Ëɽ¼¨¤µ¤ì¤¿¡£¤³¤ì¤Ï°µ½Ì¤µ¤ì¤Æ¤¤¤ëdmg¥Õ¥¡¥¤¥ë¤é¤·¤¤¡£¤³¤ì¤òŸ³«¤¹¤ë¤¿¤á¤Ë¡¢dmg2img¤òdownload¤·¤Æ¡¢windowsÍѤ·¤«¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢
wine dmg2img.exe file.dmg temp.dmg¤È¤·¤ÆÊÑ´¹¤¹¤ë¤È¡¢¤è¤¦¤ä¤¯¥Þ¥¦¥ó¥È¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ë¡£
sudo mount -t hfsplus -o loop temp.dmg mntpath¤È¤·¤¿¤é¡¢Ìµ»öÃæ¿È¤ò¸«¤ë¤³¤È¤¬¤Ç¤¤¿¡£ppd¥Õ¥¡¥¤¥ë¤ò¸«¤Ä¤±¤Æ¡¢¤è¤·¤È»×¤Ã¤¿¤é¡¢
Unsupported format 'application/postscript'!¤È½Ð¤Æ¤·¤Þ¤Ã¤¿¡£¤É¤¦¤¹¤ì¤Ð¤è¤¤¤ó¤À¡£¥×¥ê¥ó¥¿¤Ïcannon¤ÎMF8350Cdn¤È¤¤¤¦¤â¤Î¤Ê¤Î¤À¤¬¡¢cannon¤Î¥µ¥¤¥È¤Ë¤ÏUNIXÍѤΥɥ饤¥Ð¡¼¤Ï̵¤¤¡£¤·¤«¤·¡¢¤¤¤í¤¤¤í¤Èõ¤·¤Æ¤¤¤¿¤é¡¢canon-europe¤Î¥µ¥¤¥È¤Ë¡¢UFRII/UFRII LT Printer Driver for Linux¤È¤¤¤¦¤â¤Î¤¬¤¢¤Ã¤Æ¡¢cndrvcups-common_2.00-2_i386.deb¤Ècndrvcups-ufr2-uk_2.00-2_i386.deb¤òdpkg¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤é¡¢Ìµ»ö¤Ë°õºþ¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£ÆüËܤÎlinux¤ÎÉáµÚΨ¤Ï¤Þ¤À¤Þ¤ÀÄ㤤¤¬¡¢¥è¡¼¥í¥Ã¥Ñ¤Ç¤Ïlinux¤Îdriver¤Î¼ûÍפ¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ê¤Î¤À¤í¤¦¤«¡£
2010ǯ03·î31Æü new PC
_ 6ǯ¤Ö¤ê¤Îmain PC¤Î¹¹¿·
ËÜÆü¡¢¿·¤·¤¤PC¤¬ÆϤ¤¤¿¤Î¤Ç¡¢Áá®OS¤Î¥¤¥ó¥¹¥È¡¼¥ëÅù¤ò¤·¤¿¡£Á°¤ÎPC¤Ï6ǯ°Ê¾åÁ°¤ËÇã¤Ã¤¿¤â¤Î¤Ç¡¢Pen4¤À¤Ã¤¿¡£Linux¤ò»È¤Ã¤Æ¤¤¤ë¤È¡¢Ê̤ËÃÙ¤¯¤Ê¤Ã¤¿¤È´¶¤¸¤ë¤³¤È¤Ï¤Ê¤¤¤Î¤Ç¡¢¤Ê¤«¤Ê¤«¹¹¿·¤¹¤ëµ¤¤Ë¤Ê¤é¤Ê¤¤¤Î¤À¤¬¡¢¤è¤¦¤ä¤¯¹¹¿·¤¹¤ë±¿¤Ó¤È¤Ê¤Ã¤¿¡£¼¡¤ÎPC¤ÏAMD¤Ë¤·¤è¤¦¤È»×¤Ã¤Æ¤Ï¤¤¤¿¤¬¡¢6ǯ¤â¤¹¤ë¤ÈCPU»ö¾ð¤â¿ïʬÊѤï¤Ã¤¿¤Î¤Ç¡¢¤É¤¦¤·¤è¤¦¤«Ì¤ä¿¤¬¡¢¥³¥¹¥È¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ÎÎɤ¤AMD¤Ë¤¹¤ë¤³¤È¤Ë¤·¤¿¡£CPU¤È¤·¤Æ¤Ï¡¢125W¤ÎAMD Phenom¶X4 965 BE¤òÁªÂò¤·¤¿¡£¤³¤ì¤Ëdebian¤ò¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤ë¤Î¤«¿´Çۤǡ¢¤¤¤í¤¤¤í¤ÈÄ´¤Ù¤¿¤¬¤è¤¯Ê¬¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢»î¤·¤Æ¤ß¤ë¤³¤È¤Ë¤·¤¿¡£OS¤ÏDebian Lenny¤Îamd64¤ÎLXDE¤òÁªÂò¤·¤¿¡£64bit¤â¤Þ¤À¾¯¤·¿´ÇۤǤϤ¢¤ë¤¬¡¢»È¤Ã¤Æ¤¤¤ë¤¦¤Á¤Ë´·¤ì¤ë¤À¤í¤¦¡£¥¤¥ó¥¹¥È¡¼¥ë¼«ÂΤϤ¢¤Ã¤µ¤ê½ª¤ï¤Ã¤¿¤¬¡¢X¤À¤È²èÌ̤¬É½¼¨¤µ¤ì¤Ê¤¤¡£¤É¤¦¤ä¤é²òÁüÅÙ¤¬¹â¤¹¤®¤Æ¡¢display¤Ë¼Ì¤é¤Ê¤¤¤è¤¦¤À¡£xfree86¤«¤éxorg¤Ë¤Ê¤Ã¤Æ¤«¤é¤Ï¡¢Å¬Åö¤Ê²òÁüÅÙ¤òÁª¤ó¤Ç¤¯¤ì¤ë¤è¤¦¤Ç¡¢ºÇ¶á¤ÏÆä˶ìÏ«¤·¤Ê¤«¤Ã¤¿¤Î¤À¤¬¡¢º£²ó¤Ï/etc/X11/xorg.conf¤ò½ñ¤´¹¤¨¤ë¤·¤«¤Ê¤¤¤è¤¦¤À¡£Section "Screen"¤Î¤È¤³¤í¤Ë°Ê²¼¤òÄɲ䷤ơ¢»È¤Ã¤Æ¤¤¤ëdisplay¤ÎºÇ¹â²òÁüÅ٤ˤ·¤¿¡£DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" EndSubSection¤¢¤È¡¢¥Ó¡¼¥×²»¤¬¤¦¤ë¤µ¤¤¤Î¤Ç¡¢/etc/modprobe.d/blacklist ¤Ë
blacklist pcspkr¤òÄɲ䷤ơ¢¥¹¥Ô¡¼¥«¡¼¤ò»¦¤·¤¿¡£¤¢¤È¤Ïruby¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ì¤Ð¡¢Ä̾ï¤Î»ÈÍѤˤÏÌäÂê̵¤¤¾õÂ֤ˤʤä¿¡£