¥È¥Ã¥× «Á°¤ÎÆüµ­(2007-08-02) ºÇ¿· ¼¡¤ÎÆüµ­(2007-08-04)» ÊÔ½¸

¤Ï¤¸¤á¤Æ¤Î¤Ë¤­

¤³¤³¤Î°ÌÃÖÉÕ¤±

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

ToDo:


2007-08-03

_ C ¤Ä¡¼¤«

http://d.hatena.ne.jp/niha/20070802#1186070742

¤¤¤ä C ¤â¤À¤±¤É¡¢ ½é¿´¼Ô¤ÎŨÅ٤ǸÀ¤¦¤È Unix ¤Î¤¿¤¤¤¬¤¤¤µ¤Ï¤¿¤¤¤¬¤¤¤À¤í¤¦¤Ê¤¡¡£ pipe ¤È¤« select ¤È¤«¡£ ¤¢¤È sigpipe ¤È¤«¤Ç¤¹¤«¡£ wait ˺¤ì¤ë¤È¤«¡£

̤¤À¤Ë¤Ê¤ó¤â¸«¤º¤Ë¥Ç¡¼¥â¥óºî¤ì¤Ê¤¤¤è¡£

(01:13)

_ ¤½¤¤¤ä

¤È¤ê¤¢¤¨¤º SIGINT ¤Û¤Ã¤Æ¤«¤é ¤·¤Ð¤é¤¯¤·¤Æ»ß¤Þ¤Ã¤Æ¤Ê¤«¤Ã¤¿¤éÄü¤á¤Æ SIGKILL ¤È¤«¤É¤¦¤¹¤ë¤Î¤È¤«¡£

¤¤¤äÉáÄ̤ˤǤ­¤ë¤Î¤«¤â¤·¤ì¤ó¤±¤É¡¢ ¥´¥ë¥Õ¾ì¤Ç¤¦¤Þ¤¤¤³¤È¼ÂÁõ¤Ç¤­¤ó¤«¤Ã¤¿µ¤¤¬¤¹¤ë¡£

(01:16)

_ ¤Ç¤Þ¤¡

¸Å¤¤¤â¤Î¤Ï¤³¤¦¤Þ¤¡¿§¡¹¤Û¤³¤í¤ó¤Ç¤ë¤«¤é Ï·³²¤È¤«¸À¤¦¤ó¤Ï´Êñ¤Ç¼ÂºÝ¤½¤¤¤¦Â¦Ì̤Ϥޤ¡¶¯¤¤¤Î¤Ï¤¤¤¤¤È¤·¤Æ¡£

¤Þ¤¡¤è¤ê¥Ù¥¿¡¼¤Ê¤â¤Î¤òÀ¸¤àÁäˤʤì¤ÐÎɤ¤¤Î¤¸¤ã¡¼ ¤È¤¤¤¦¤Î¤Ï¤¢¤ë¤ó¤À¤í¤¦¤±¤É¡¢ ¤½¤Î¤ï¤ê¤Ë¤Ï POSIX API ¤ò¤Á¤ã¤ó¤È¥é¥Ã¥×¤¹¤ë¤è¤¦¤Ê ¥é¥¤¥Ö¥é¥ê¤Ã¤Æ¤¢¤ó¤Þ̵¤¤¤è¤ÊŪ¤Ê¡£

¤¤¤ä¤¢¤ë¤ó¤À¤±¤É¤Ê¡£ libruby ¤È¤«¤½¤¦¤¤¤¦¥ä¥Ä¡£

(01:28)

_ ¤Ç¤Þ¤¡

Java puzzlers ¤Ï¤½¤¤¤¦ÏÀÄ´¤Ç Java ¤òÍʸ¤ë¤Î¤À¤è¤Ê¡£ Û©¤¯¡¢¿§¡¹¥¯¥½¤ÊÅÀ¤Ï¤¿¤·¤«¤Ë¤¢¤ë¤±¤É¡¢ ¤½¤Î¥¯¥½¤ÊÅÀ¤¬½½Ê¬¸¦µæ¤µ¤ì¤Æȯ¸«¤µ¤ì¤Æ¤ë¤Î¤Ï ½½Ê¬¤Ë¼õ¤±Æþ¤ì¤é¤ì¤Æ¶ãÌ£¤µ¤ì¤Æ¤¤¤ë¤«¤é¤À¤·¡¢ Java ¤ÏÈæ³ÓŪ¥¯¥½¤ÊÅÀ¤¬¾¯¤Ê¤¤¤«¤é¤³¤½¼õ¤±Æþ¤ì¤é¤ì¤¿¤Î¤¸¤ã¤È¤«¤Ê¤ó¤È¤«¡£

Ʊ¤¸ÏÀÍý¤¬ C ¤ËŬÍѤµ¤ì¤¿»þ¡¢ËÍ¤Ï C ¤òµö¤¹¤Î¤À¤±¤É¡¢ Java ¤Ï¤³¤¦µö¤»¤Ê¤¤¤Î¤À¤è¤Ê¡£ Java ¤Ã¤Æ¤Û¤³¤í¤Ó¤ë¤Û¤É¸Å¤¤¸À¸ì¤¸¤ã¤Ê¤¤¤¸¤ã¤ó¡£ ¤â¤¦¤Á¤ç¤¤¤Ê¤ó¤«¸¡Æ¤¤·¤È¤±¤è¡¢¤È¤«¡£

short x = 0;
int i = 123456;
x = x + i;  // ¥³¥ó¥Ñ¥¤¥ë¥¨¥é¡¼
x += i;     // ̵ÌäÂê

¤È¤«¸«¤Æ¤ë¤È²¿¤¬¤·¤¿¤«¤Ã¤¿¤Î·¯¡¢Åª¤Ê¡£

(01:38)

_ ÂÎÄ´

¥¯¥½°­¤¤¤Ê¤ó¤Æ¤â¤ó¤¸¤ã¤Ê¤¤¤Ê¤¡¡£

(19:34)

_ 8ʬ

¤¦¡¼¤ó»þ´Ö­¤ê¤ó¤Ê¡£ÌµÍý¤À¡£

(20:13)

_ ¤È¤ê¤¢¤¨¤º

http://d.hatena.ne.jp/soutaro/20070803/1186130441

¤¢¡¼ÊÌ¥¹¥ì¥Ã¥É¤«¤é»¦¤¹¤Î¤¤¤¤¤Ç¤¹¤Í¡£

¸½¾õ¤Î¥´¥ë¥Õ¾ì¸«¤Æ¤ß¤¿¡£

    `pgrep -P #{pid}`.each do |l|
       puts "kill #{l}"
       Process.kill(:KILL, l.to_i) rescue puts "already died? #{l}"
    end
    puts "kill #{pid}"
#    Process::kill(:INT, pid)
    Process::kill(:KILL, pid) rescue puts "already died? #{pid}"
    Process::wait(pid)

SIGINT ¤Î¸å¤Ï¤Ê¤ó¤«¿§¡¹»î¤·¤¿µ­²±¤Ï¤¢¤ë¤±¤É ¤Ê¤ó¤«¤½¤Î¤Ø¤ó¤Î¥³¡¼¥É¤Ïº£¤ÏÁ´¤¯»Ä¤Ã¤Æ¤Ê¤¤¤ß¤¿¤¤¤À¡£

(21:52)

_ ¤¢¡¼

OCaml ËܽФ¿¤ó¤À¤Ã¤±¡£

(21:54)

_ ¤Þ¤Ã¤¯¤Ý¡¼¤Ä

Æþ¤ì¤Æ¤ß¤ë¤³¤È¤Ë¡£

¥Ó¥ë¥É¤¹¤ë¤Î¤Ï¤Ê¤ó¤«¥¤¥ä¤Ê¤ó¤À¤±¤É¤Í¤¨¡£

(23:40)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´2·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]
_ niha (2014-05-24 02:17)

Unix¤Î¤¿¤¤¤¬¤¤¤µ¤â½é¿´¼Ô¡Ê¤È¤Ë¤Ï¤µ¤ó¡Ë¤ÎŨ¤Ç¤¹¤Í¡£

_ shinh (2014-05-24 02:17)

ÀµÄ¾ C ¤ÏÊ̤˥­¥Ä¤¯¤Ê¤¤¡£

¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
¿ÍÀ¸¡¢±§Ãè¡¢¤¹¤Ù¤Æ¤ÎÅú¤¨
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Á° 2007ǯ
8·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
1.shinh(2014-05-24 02:17) 2.shinh(2014-05-24 02:17) 3.»ç·î°»(2014-05-24 02:17)
search / home / index

Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ­¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£

shinichiro.hamaji _at_ gmail.com / shinichiro.h