2005-01-01ãã1å¹´éã®è¨äºä¸è¦§
ä¹ ãã¶ãã«é¼»ããæªéãªãã°ã«ééãã¦ãã¾ã£ãï¼é¼»ããæªé(nasal demons)ã«é¢ãã¦ã¯ä»¥ä¸ã®URLã詳ããï¼ http://catb.org/~esr/jargon/html/N/nasal-demons.html http://www.st.rim.or.jp/~phinloda/cqa/cqa7.htmlå¼ç¨ãã㨠When the compiler encountersâ¦
/tmp/out000001.ppmï¼/tmp/out000002.ppm ã¨ç¶ãé£çªç»ååããï¼åç»ãä½æããæ¹æ³ ffmpeg -i /tmp/out%06d.ppm -aspect 4:3 -f avi -vcodec mpeg4 -vb 5000k -r 10 test.avi"-r" ã§ãã¬ã¼ã ã¬ã¼ããæå®ã§ããï¼ä¸è¨ä¾ã 㨠ç§10ã³ãã®åç»ãåºæ¥ä¸ããï¼
linux v2.6.15-rc5 ã® changelog ããå¼ç¨ commit 436b0f76f2cee6617f27a649637766628909dd5d Author: Linus Torvalds Date: Sat Dec 3 21:10:42 2005 -0800 Linux v2.6.15-rc5 Hey, for no other reason than the fact that I'll be off-line for a week. Oâ¦
catch throw elispã¯é¢æ°åè¨èªã ãã©ï¼ãã£ã±ãæç¶ãçãªæ¸ãæ¹ãã§ããã¿ããï¼ (catch 'loop (throw 'loop è¿ãå¤) ) save-excursion æåã« point ã¨ã mark ãä¿åãã¦ï¼ progn ã¨åæ§ã«ã·ã¼ã±ã³ã·ã£ã«ã«å¦çããããªãï¼å¦ççµäºå¾ã¯ä¿åãã¦â¦
mew ã ã¨ï¼ããã©ã«ã㧠ssh ã®ãã¼ããã©ã¯ã¼ãã«å¯¾å¿ã§ãã¦ãããï¼ wanderlust ã¯å¯¾å¿ãã¦ããªãã£ã½ãï¼ããï¼ã¨ãããã㧠elisp ã®åå¼·ãã¦ãï¼mewã®å®è£ ãåèã« wanderlust ç¨ã®ãã®ã ä½ã£ã¦ã¿ãï¼ã¾ãmewã®ã½ã¼ã¹ãèªãï¼ mew ã®sshã«ãããã¼ããâ¦
lftp ã«ã¦ mirror ã³ãã³ãã使ãã¨ãã©ã¼ãªã³ã°ãã§ããï¼ open ftpãµã¼ãå cd ãµã¼ãå´ã®ã³ãã¼å ãã£ã¬ã¯ã㪠lcd ã¯ã©ã¤ã¢ã³ãå´ã®ã³ãã¼å ãã£ã¬ã¯ã㪠mirror -e"-e" ãªãã·ã§ã³ãä»ãã㨠ãµã¼ãå´ã§æ¶ããããã¡ã¤ã«ã¯ï¼ã¯ã©ã¤ã¢ã³ãå´ã§ãæ¶ãããâ¦
"svn: Can't recode string" ã¨ããã¨ã©ã¼ã¯ãã¡ã¤ã«åã®æåã³ã¼ããå¤æããéã«çºçããã¨ã©ã¼ãããï¼è¦ã¯ï¼ãªãã¸ããªä¸ã®ãã¡ã¤ã«åãæ¥æ¬èªã¨ãã«ãªã£ã¦ããããï¼ãã¼ã«ã«ã®ç°å¢ã«ååã®ãã¡ã¤ã«ãä½æã§ããªãã¨ãããã¨ï¼åé¿ããã«ã¯ $ export LAâ¦
svnã®ãµã¼ããç«ã¡ä¸ããæ¹æ³ï¼svnserve ã inetd çµç±ã§èµ·åããã®ãç°¡åãããï¼ svn stream tcp nowait username /usr/sbin/tcpd /usr/bin/svnserve -i -r /path/to/reposãã®è¨å®ã§ username 権é㧠/path/to/repos 以ä¸ã®ãªãã¸ããªã ãã¼ã3690çªçµç±â¦
ã¢ããã«ã®iMac G5欲ããï¼ã£ãï¼ã¯ã¦ãªã«ã¦âã¢ããã«ã®iMac G5欲ããï¼âãã£ã³ãã¼ã³ãè¡ããã¦ãããããï¼å¿ããã¦ï¼ãã§ãã¯ããæãç¡ãã£ãã®ã ãï¼ã©ãã12æ7æ¥ã¾ã§ã«æ¥è¨ã«âã¢ããã«ã®iMac G5欲ããï¼âã¨æ¸ããããã«âiMac G5ãå½ãã£ãããâââã«ä½¿â¦
distcc 㨠ccache ã使ããããã«è¨å®ãã¦ããã¦ï¼ãã¨ã¯ export CCACHE_PREFIX=/usr/bin/distccã¨ããã ãï¼
distcc ã ssh çµç±ã§å©ç¨ããæ¹æ³ï¼distccd ã ssh çµç±ã§èµ·åãããããï¼ãããããã¼ã¢ã³ãèµ·åããå¿ è¦ããªãï¼ $ export DISTCC_HOSTS="localhost @pc01 @pc02 @pc03" $ export DISTCC_DIR="/tmp/.distcc_dir"ãã¨ã¯ CC ã CXX ã distcc ã«å¤ããã ãâ¦
http://developer.momonga-linux.org/~zaki/svnfaq-mo.html $ svn propset svn:keywords Id hoge.c
set arrow from x1,y1,z1 to x2,y2,z2ã¨ãããã¡ã¤ã«ãç¨æã load ã³ãã³ãã§èªã¿è¾¼ãã ç¶æ 㧠splot ãå®è¡ããã¨ãã¯ãã«å ´ãæç»ã§ããï¼
input.mpg ã test.avi ã«å¤æããå ´åï¼ $ ffmpeg -i input.mpg -s 640x480 -b 1200 -aspect 4:3 -ac 2 -f avi -vcodec mpeg4 -acodec ac3 -ab 192 testãã®ä¾ã ã¨ï¼å¤æå ã®åç»ãã¡ã¤ã«ã¯ï¼æ åã¯mpeg4ï¼é³å£°ã¯ac3 ã§ä¿åãããï¼ffmpeg ãã©ã®å½¢å¼ããµãâ¦
ã³ã¡ã³ãæã®å é ã«ã©ã ãæããæ¹æ³ C-x ; ã§ã«ã©ã ãæå®ãï¼M-; ã§æ´åããï¼
ã¤ãã®ããã«æ¸ãã°è¯ãï¼ $(@D) dirname($@) $(@F) basename($@)
makeã§ä½¿ããèªåå¤æ°ã®ã¡ã¢ï¼ $@ The file name of the target $ The name of the first prerequisite libhoge.a: hoge.o huga.o ar curs $@ $<㯠libhoge.a: hoge.o huga.o ar curs libhoge.a hoge.o huga.oã¨å±éãããï¼
è¡åãè¯ãããã±ã¼ã¸ãªãç°å¢å¤æ° DEB_BUILD_OPTIONS 㧠nostrip ãæå®ã㦠dpkg-buildpackge ããã°è¯ãã¿ããï¼ $ export DEB_BUILD_OPTIONS="nostrip" $ dpkg-buildpackge -us -uc -rfakeroot
ããã©ã³ã¶ã¯ã·ã§ã³ã¨ã¯ï¼ä¸å¯åãªä¸é£ã®æä½ãã¾ã¨ããåä½ããã©ã³ã¶ã¯ã·ã§ã³ã£ã¦ä½ï¼ã¨èããããï¼ããã¾ã§ã¯ï¼ããã£ã¨çããããªãã¨ã¨ã³ã¸ãã¢ã¨ãã¦åé¡ããï¼ã§ï¼ããã«ããã©ã³ã¶ã¯ã·ã§ã³ã¯ï¼ ACIDæ§ã¨å¼ã°ããåã¤ã®æ§è³ªãæºããå¿ è¦ãããï¼ããªâ¦
http://hira.main.jp/wiki/pukiwiki.php?%A4%E8%A4%A6%A4%B3%A4%BD
æ®éã®ãã¤ãã®ä¸ãè¡ã: C ã§ããã¯ãã¬ã¼ã¹è¡¨ç¤º - bkããã°ãã glibc ã«å«ã¾ãã backtrace() 㨠backtrace_symbols_fd() ã使ãã¨å®è¡ä¸ã® C ããã°ã©ã ã®ããã¯ãã¬ã¼ã¹ã表示ã§ãã¾ã ã¨ã®ãã¨ï¼ãããã°ç¨ãã¯ãã¨ãã§ä½¿ãã¨ä¾¿å©ããï¼ã¡ãªã¿ã«ï¼ã·ã°â¦
smbã®3.0ç³»ã§ï¼ã¯ã©ã¤ã¢ã³ãå´ã«è¡¨ç¤ºããæååã¯SJIS(cp932)ï¼ãµã¼ãå´ã®ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ãã¡ã¤ã«åã¯EUC(eucjp-ms)ã«ããå ´åã®è¨å® dos charset = cp932 display charset = cp932 unix charset = eucjp-ms
X windowsã§windowsãã¼ã使ãæ¹æ³ï¼ç¾å¨xorg 6.8.2ã使ã£ã¦ãããï¼ããã©ã«ãã§ã¯windowsãã¼ã使ããªãï¼ãã¨ãã° rdesktop ã§windowsãã¼ãæ¼ä¸ããã¨ï¼ WARNING: No translation for (keysym 0x0, NoSymbol)ã¨ããè¦åãåºã¾ããï¼ãããã«ï¼xevã§windoâ¦
redhatç³»ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ã¯ tmpwatch ã¨ãããµã¼ãã¹ãå®æçã«/tmp以ä¸ãæé¤ãã¦ãããï¼debianã§ã¯ tmpwatch ã¨ããããã±ã¼ã¸ã¯ç¡ãï¼ä»£ããã« tmpreaper ã¨ããããã±ã¼ã¸ã使ãï¼ã¤ã³ã¹ãã¼ã«ã¯ä»¥ä¸ã®2step $ sudo apt-get install tmpreapâ¦
debianã§ã¯ã·ã¹ãã èµ·åæã« /etc/init.d/bootclean.sh ãå®è¡ããï¼/tmp 以ä¸ã®ãã¡ã¤ã«ãåé¤ãã¦ãããï¼redhatç³»ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ãªãã¦ãã人ã«åã£ã¦ã¯å ¨ããã£ã¦å¤§ããªãä¸è©±çãªä»æ§ã ï¼googleã§èª¿ã¹ãçµæï¼ã©ããããã¢ã³çã«ã¯ /tmp ã¯â¦
iccã®æé©åã®ãã°ãè¦ã¤ãã¦ãã¾ã£ãï¼boost/random.hpp ã使ã£ãä¹±æ°çæå¦çã"-O2"ã¨ã"-O3"ãä»ãã¦ã³ã³ãã¤ã«ããã¨ï¼ä¹±æ°ã®å¤ã常ã«ã¼ãã«ãªã£ã¦ãã¾ãï¼"-O0"ãªãã°æ£ããä¹±æ°ãçæã§ããã®ã§ï¼æé©åã®ãã°ã§ãããã¨ã¯ééããªãï¼iccã®ãã¼ã¸ã§â¦
test and set æä½ã«ã¤ãã¦å¾©ç¿ãããã®ã§ã¡ã¢ï¼test and set (TAS)æä½ã§ã¯ï¼æ¬¡ã®ãããªå¦çãã¢ãããã¯ã«è¡ãï¼ int test_and_set(int *mem){ old = *mem; if (0 == *mem){ *mem = 1; }else{ /* do nothing */ } return old; }ä¾ãã° 2.6ç³»ã®linux (i386)â¦
ã³ã³ãã¤ã©ãåãæ¿ããæ¹æ³ã«ã¯è²ã ãããï¼ä»¥ä¸ã®ãããªè¨å®ãã¡ã¤ã«ãä½ã£ã¦ source ã§èªã¿è¾¼ãã®ãä¸çªä¾¿å©ããï¼ source /opt/intel/idb/9.0/bin/idbvars.sh source /opt/intel/cc/9.0/bin/iccvars.sh source /opt/intel/fc/9.0/bin/ifortvars.sh exporâ¦
intelã³ã³ãã¤ã©ã®iccãifcãããã¢ã³ã§ä½¿ãæ¹æ³ï¼debian 㧠intel compiler (icc) - ã´ãã´ãã´ãï¼ - Linuxã¨ãããã°ã©ãã³ã°ã®è¦ãæ¸ã -ã®ç¶ç·¨ï¼iccãifcã¯é »ç¹ã«ãã¼ã¸ã§ã³ãä¸ããã®ã§ï¼ããã±ã¼ã¸ãå¤æããã¹ã¯ãªããã¨ï¼ã¤ã³ã¹ãã¼ã«å¾è¨å®ãã¡ã¤â¦
ãã¼ãã£ã·ã§ã³æ§æãå¤æ´ããé grub-installãè¡ãã¨"The file /boot/grub/stage1 not read correctly."ã¨ã¨ã©ã¼ãã§ãå ´åã®å¯¾å¦æ¹æ³ããã®ã¨ã©ã¼ã¯ /etc/mtab 㨠ãã¼ãã£ã·ã§ã³ã®å 容ã«ä¸ä¸è´ãããå ´åã«çãããé¢åã ã£ãã /etc/mstab ãä¸åº¦æ¶ãã¦â¦