ToDo:
¤Ê¤ó¤« eban ¤µ¤ó¤¬ p ¤È¤« map ¤¬¹¥¤¤Ê¥á¥½¥Ã¥É¤È¤«¤ÇÁÇÀ²¤é¤·¤¤¤È»×¤Ã¤¿¡£
http://jp.rubyist.net/magazine/?0010-Hotlinks
°ú¿ô¤¦¤ó¤Ì¤ó¤Ë¤Ä¤¤¤Æ¡¢ Python ¤Ï join ¤¬·ë¹½¶Ã¤¯¤è¤Ê¡¼¤È¡£
>>> "ab".join(["hoge","fuga"]) 'hogeabfuga'
(01:15)
http://gonypage.ddo.jp/diary/20070312.html#p02
http://d.hatena.ne.jp/atty/20070320#p2
¤ß¤ó¤Ê¶½Ì£ÄÅ¡¹¤¹¤®¤ÆÌÌÇò¤¤¤Ê¡¼
ËÍ¤Ï DX ¤ÎÊýÇã¤Ã¤¿¤Î¤À¤±¤É¡¢¸å¤Ç¤´¤Ë¤µ¤ó¤Ë ¶µ¤¨¤Æ¤â¤é¤Ã¤Æµ¤ÉÕ¤¤¤¿¤Î¤À¤±¤É¡¢ DX̵¤·¤è¤ê´ØÀ᤬°ì¸Ä¾¯¤Ê¤¤¡£
´¶ÁۤϤޤºÉáÄ̤ÎÂæ¤È¤·¤Æ¤ÏÉáÄ̤˻Ȥ¨¤ë¤Ê¡¼¤È¤¤¤¦¤³¤È¤È¡¢ ¼ÂºÝ¿²¤Ã¤³¤í¤¬¤Ã¤Æ»È¤¦¤È¤«¤Ê¤ê¹´Â«¤µ¤ì¤ë´¶¤¸¤À¤Ê¤¡¤È¤¤¤¦¤³¤È¡£ ¤Ê¤ó¤Æ¤¤¤¦¤«Âæ¤Î²£Éý¤¬¶¹¤¤(¤Á¤ç¤¦¤É MacBook ¤¬¥¹¥Ã¥Ý¥ê¼ý¤Þ¤ë¤¯¤é¤¤¤ÎÂæ) ¤Î¤Ç¡¢¤½¤Î´Ö¤ËƹÂÎÄ̤¹¤È·ë¹½¶¹¤¤¡£ ¤¢¤È¤Ï¤³¤¦¤Ê¤ë¤Ù¤¯¥Î¡¼¥ÈPC¹ß¤Ã¤Æ¤¯¤ë¤è!¤Ã¤Æ¤¤¤¦¤¯¤é¤¤ ¥¥Ä¤¤·¹¼Ð³Ñ¤Ç¥»¥Ã¥È¤¹¤ë¤È¥¡¼¥Ü¡¼¥É¿¨¤ê¤ä¤¹¤¤¤«¤Ê¡¢¤È¡£ ¸½¾õHHK¤È¤Î¶¦Â¸¤Ï¤Ç¤¤ë¤±¤É·ë¹½Æñ¤·¤¤¤Ê¤¡¤È¤¤¤¦¡£
(01:21)
http://d.hatena.ne.jp/KeisukeNakano/20070319/1174307629
¤³¤ì¤Ï¤¤¤¤¡£ Obj.magic ¤ò´Ø¿ô¦¤Ë¤«¤±¤ë¤Ã¤ÆºÇ¹â¤À¡£
(01:42)
¤ä¤Ã¤¿¤±¤É¤Ê¤ó¤«¤Ø¤Á¤ç¤¯¤Æ¡¢ ¤³¤¦¤½¤Î»þ¤Îµ¤Ê¬¤È¤«½¸Ã椷¤Æ¤ë¤«Èݤ«¤È¤«¤¬ ¥â¥í¤Ë±Æ¶Á¤Ç¤ë¤â¤ó¤Ê¤Î¤«¤Ê¡¼¤È»×¤Ã¤¿¤Î¤Ç¤¢¤Ã¤¿¡£
¤Þ¤¡µ¢¤Ã¤¿¤é¤·¤ó¤É¤«¤Ã¤¿¤Î¤ÇÂÎÄ´¤ÎÌäÂ꤫¤â¤·¤ì¤Ê¤¤¤±¤É¡£
(03:24)
C ¤Î¥Ñ¡¼¥µ¤ò½ñ¤¯¤È¤¤¤¦¤³¤È¤¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¤Ê¤¡¡£
int (*hoge); int (*hoge)(int); int *hoge(int);
¤à¡¼¤ó°ì¸ÄÌÜ¤Ï int ¤Ø¤Î¥Ý¥¤¥ó¥¿¤ÇÆó¸ÄÌܤϴؿô¥Ý¥¤¥ó¥¿¤«¤¡¡Ä ¤¢¤È°ÅÌۤΠint ¤â·ë¹½»¦¤·¤½¤¦¤Ê»ÅÍͤÀ¤Ê¤¡¤È¤¤¤¦
(03:50)
int (*hoge(int, int))(int);
·¯¤Ï int* ¤òÊÖ¤¹´Ø¿ô¤Ç¤â¤Ê¤¤¤·¡¢´Ø¿ô¥Ý¥¤¥ó¥¿¤Ç¤â¤Ê¤¤¤ó¤À¡£
int (*hoge)(int);
¤³¤ì¤Ï´Ø¿ô¥Ý¥¤¥ó¥¿¡£
int (*hoge);
¤ÈÈæ³Ó¤¹¤ë¤È¡¢ (* ¤¬¡¢¿¿¤óÃæ¤Î¤ÏÊÖ¤êÃͤò½¤¾þ¤·¤Æ¤Æ¡¢ ¾¤Î¤ÏÊÖ¤êÃͽ¤¾þ¤·¤Æ¤ë¡¢¤È¡¢¤¤¤¦¤«¤â¤Ã¤È¿§¡¹¤Û¤¨¤Û¤²¤«¡£
(13:17)
(13:28)
printf("hoge");
¤ò
fputs("hoge", stdout);
¤Ë¤·¤Æ¤¯¤ì¤ë¤Î¤Ï´ò¤·¤¤¤Î¤«¤Ê¤¡¡£
i@un ~/test> cat printf.c #include <stdio.h> int main() { printf("fuga\n"); stdout = stderr; printf("hoge"); fputs("hoge", stdout); puts(""); } i@un ~/test> gcc printf.c i@un ~/test> ./a.out fuga hogehoge i@un ~/test> ./a.out | tee log hogehogefuga i@un ~/test> ./a.out > log i@un ~/test> cat log fuga i@un ~/test>
¤¨¤¨¤È²¿¤¬¤É¤¦¤Ê¤Ã¤Æ¤ë¤ó¤À¡Ä
(15:44)
http://otd1.jbbs.livedoor.jp/kinaba/bbs_plain
otd¤ÎÂкö¤ò¤¹¤ê¤Ì¤±¤Æ¤¯¤ëspam¤â¡¢º£¤Î¥È¥³¤¼¤ó¤Ö otd1.jbbs.livedoor.jp/kinaba/bbs_plain?base=6235&range=1 ¤Ë°ú¤Ã¤«¤«¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ç¡¢JavaScript ON¤Î´Ä¶¤À¤ÈÁ´Éô¾Ã¤¨¤Æ¸«¤¨¤Þ¤¹¡£
¤Þ¤¡¤È¤ê¤¢¤¨¤º hidden ²Ã¤¨¤ë¤À¤±¤ÇÍÞÀ©¤Ç¤¤ë¤Ã¤Æ¤Î¤â ¤¹¤´¤¤¤Ê¡¼¤Ç¤â¤Þ¤¡ ¥¹¥Ñ¥à¤Þ¤¯¥½¥Õ¥È¤Ê¤ó¤Æ²þÁ±¤¹¤ë¤è¤ê ¥¹¥Ñ¥àÂкö¤·¤Æ¤Ê¤¤¤È¤³¤í¤Ë¥Ð¥é¤Þ¤¯Êý¤¬¸úΨ¤¤¤¤¤À¤í¤¦¤· ¤Þ¤¡¤½¤¤¤¦¤â¤ó¤«¤Ê¡¼¤È¤¤¤¦¤Î¤Ï¤È¤â¤«¤¯¤È¤·¤Æ¡¢ JS ¤Ç¾Ã¤¹¤Ã¤Æ¤Î¤¬ÌÌÇò¤¤¤Ê¤È¡£
¤ª¤½¤é¤¯¥¹¥Ñ¥à¤ÎÌÜŪ¤Ç¤¢¤í¤¦ ¸¡º÷¥¨¥ó¥¸¥ó¤Î¾å°Ì¤ËÍè¤ë¤¼¡¼¤ß¤¿¤¤¤Ê¤Î¤Ï (¤¿¤Ö¤óľÀÜ¥¯¥ê¥Ã¥¯´üÂÔ¤è¤ê¤³¤Ã¤Á¤ÎÊý¤¬º£¤Ï¤Ç¤«¤¤¤è¤Í¡¢¤È¤¤¤¦Í½ÁۤΤâ¤È) Á´Á³Ã£À®¤µ¤ì¤Ã¤Ñ¤Ê¤·¤Ê¤ï¤±¤Ç¡¢ ¤À¤±¤É¿Í´Ö¤Î¥æ¡¼¥¶¤Ï¥¹¥Ñ¥à¤ò¸«¤Ê¤¯¤Æ¤¤¤¤¡¢ µ¡³£¤È¿Í´Ö¤ÎÊ¿ÏÂŪ¤Ê¶¦Â¸¤¸¤ã¤Ê¤¤¤«¤¹¤Ð¤é¤·¤¤¤è¡ª
¤È¤³¤í¤¬¤³¤³¤ËÂè»°ÀªÎϤ¬Ìó°ì̾¤ª¤ê¤Þ¤·¤Æ¡¢ w3m ¤Ç¸«¤Æ¤ë»Ò¤Ï¥¹¥Ñ¥à¤òÌܤˤ¹¤ë¤³¤È¤Ë¤Ê¤ë¤ï¤±¤Ç¤¹¡Ä ¤¬¡¢¤½¤ÎÌó°ì̾¤Ï¤à¤·¤í¿¹²¼¤¯¤ë¤ßÆ°²è¾ðÊó¤òÌÜŪ¤È¤·¤Æ ·Ç¼¨ÈĤò±ÜÍ÷¤·¤Æ¤¤¤ë¤Î¤Ç̵ÌäÂꡪ »°¼Ô»°ÆÀ¤Ç¤¹¤Ð¤é¤·¤¤¤è¡ª¡ª
¤Þ¤¡ Wiki ¥¹¥Ñ¥à¤ÇÆâÍƾ䵤줿¤ê¤·¤Ê¤¤¸Â¤ê¤Ï¡¢ ¥¹¥Ñ¥àµ¤¤Ë¤¹¤ë¤Î¤Ã¤Æ´ðËÜŪ¤Ë·Ç¼¨ÈĤȤ«¤Î»ý¤Á¼ç¤À¤±¤Ê¤ó¤À¤è¤Ê¡¼¤È¤¤¤¦¡£
(16:08)
¡¡¼Â¸½¤·¤Æ¤¤¤Ê¤¤¤«¤é¡¢¥Î¡¼¥È¥é¥Ö¥ë¤Ç¤¹¡£Ê¸»ú²½¤±¤Ï³§Ìµ¤Ç¤¹¡£ÃǸÀ¤Ç¤¤Þ¤¹¡£»È¤Ã
¤Æ¤¤¤ë¿Í¤¬¤¤¤Ê¤¤¤ó¤À¤«¤é¡£
Posted by ´ÉÍý¿Í at 2007ǯ03·î19Æü 02:24
¤«¤Ã¤³E
http://openblog.meblog.biz/article/61959.html
(19:31)
C ¤Î¤¤¤¤¤È¤³¤í¤Ï¥Ï¥Ã¥·¥å¤Ë¤Ä¤¤¤Æ»×¤¤¤òÃÚ¤»¤é¤ì¤ë¤³¤È¡Ä
TCC ¤ß¤¿¤¤¤Ë 263 Çܤ«¤±¤Æ¤Ïʸ»ú¥³¡¼¥É¤¹¡¢ ¤Ã¤Æ¤¤¤¦¼ÂÁõ¤Î¥Ï¥Ã¥·¥åÃͤκî¤ê¤«¤¿¤Ç¡¢ ¤³¤ì¤Èʸ»úÎóŤòÊ»ÍѤ¹¤ì¤Ð strcmp ̵¤·¤Ç¤â Ʊ°ìȽÄ꤬¤Ç¤¤ë¤ó¤¸¤ã¤Ê¤¤¤«¤È °ì½Öº¬µò¤Ê¤¯»×¤Ã¤¿¤Î¤À¤±¤É¡¢ ¤è¤¯¹Í¤¨¤ë¤È5ʸ»ú¤Îʸ»úÎóÁ´Éô¡¢ ¤Ã¤Æ¤¤¤¦¤Î¤Ï int ¤è¤êÂ礤¤¤Î¤Ç ÀäÂФɤ䫤Ǥ«¤Ö¤Ã¤Æ¤ë¤Î¤À¤Ê¤¡
(21:13)
i@um ~/wrk/cparser> ruby -rcparser -e 'puts cparse("int(*hoge(int,int))(int);")' (int,int)->((int)->int)*
http://alohakun.blog7.fc2.com/blog-entry-703.html
(21:36)
¸å¤ÇÆɤफ¤â
via http://d.hatena.ne.jp/Ozy/20070316#c1174314570
¤Ë¤·¤Æ¤â¹ë²Ú¤Ê¥á¥ó¥Ä¤¬¥³¥á¥ó¥È¤ò
(22:37)
C++ ¤è¤ê¤Ï¥Þ¥·¤«¤â¤Ê¡¼
struct S { const int* const f() const; }; int main() { const int* const (S::* const fp)() const = &S::f; }
(22:57)
Á° | 2007ǯ 3·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
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 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£
¥·¥¹¥Æ¥à¥³¡¼¥ë¤È¤«¤Î¾¸À¸ì¥¤¥ó¥¿¥Õ¥§¡¼¥¹½ñ¤¯¤È¤¤Ê¤ó¤«¤Ï¡¤C ¤Î¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤À¤±Æɤ߹þ¤ó¤Ç¡¤S ¼°¤Ê¤ê¤Ê¤ó¤Ê¤ê AST ¤Î·Á¤ÇÅǤ¤¤Æ¤¯¤ì¤ë¤è¤¦¤Ê¥Ä¡¼¥ë¤¬¤¢¤Ã¤¿¤éÊØÍø¤À¤È»×¤¤¤Þ¤¹¤è¤Í¡¥
COINS ¤Î C ¥³¥ó¥Ñ¥¤¥é¤Ï¡¤¥Ø¥Ã¥À¥Õ¥¡¥¤¥ëÆɤ߹þ¤ó¤Ç LIR ¤Î·Á¤Ç½ÐÎϤǤ¤ë¤Î¤Ç¡¤¤½¤ÎÅÀ¤Ç¤â¤Ê¤«¤Ê¤«ÌÌÇò¤¤¤È»×¤¤¤Þ¤¹¡¥
¤¨¤¨¤½¤¦¤¤¤¦¤Îºî¤ë¤«¤Ê¤¡¤È½ñ¤¤¤Æ¤ß¤Æ¤ë´¶¤¸¤Ç¤¹¡£
ÀµÄ¾COINS¤Ë´üÂÔ¤¹¤ëµ¤¤Ï¤Á¤ç¤Ã¤Èµ¯¤¤Þ¤»¤ó¤Í¤§¡ÄLIR¤ÎÊý¤Ë¤µ¤ì¤Æ¤â´ò¤·¤¯¤Ê¤¯¤ÆHIR¤ÎÊý¤Ë¤·¤Æ¡Ä¤Ã¤ÆÏ䫤Ȼפ¦¤Î¤Ç¤¹¤¬¡¢¤½¤ì¤Ê¤éGCC¤Ë¥À¥ó¥×¤µ¤»¤ëÊý¤¬Â®¤¤¤Ç¤·¤ç¤¦¤·¡¢DWARF2ÆɤàÊý¤¬¤â¤Ã¤È®¤¤¤Ç¤·¤ç¤¦¤·¡¢ÃÙ¤¯¤Æ³Î¼Â¤Ê¤Î¤Ê¤éGCCXML¤È¤«¤¢¤ë¤·¡Ä¤È¤¤¤¦¡£¤Þ¤¡¤É¤ì¤Ë¤»¤è¥Þ¥¯¥í¤Î¾ðÊó¤¬Íî¤Á¤Á¤ã¤¦¤ó¤Ç¤¹¤è¤Í¡£
¤¿¤Þ¤Ë·ÈÂÓ¤«¤é¸«¤ÆÂè»°ÀªÎÏÆþ¤ê¤·¤Æ¤¤¤ë»ý¤Á¼ç¤Ç¤¹¡£
¤Ç¤¤ì¤ÐJS¤Ê¤·¤Ç¥µ¡¼¥Ð¦¤Ç¾Ã¤·¤¿¤¤¤ó¤Ç¤¹¤¬¡¢Â¾¤Ë¼êÃʤ¬»×¤¤¤Ä¤«¤Ê¤¤¤ó¤Ç¤¹¤è¤Í¡£OTD¤Î¥Æ¥ó¥×¥ì¡¼¥È¸À¸ì¤Ç¤Ï if(defined($hidden) || is_before_spam_taisaku($article_id)) { ... } ¤ß¤¿¤¤¤Ê¾ò·ïʬ´ô¤¬½ñ¤±¤Ê¤¯¤Æ¡£SPAM¤À¤±¤¬Á÷¤Ã¤Æ¤¯¤ë¥Õ¥£¡¼¥ë¥É¤¬¤¢¤Ã¤¿¤ê¤¹¤ë¤È³Ú¤Ê¤ó¤Ç¤¹¤±¤É¤â¡£
¤Á¤ç¤¦¤ÉËͤ⤵¤Ã¤ ¡Ö¤Ï¤Ã¤·¤å¤É¤¦¤·¤è¤¦¤«¡Ä ¡×¤È»×¤Ã¤Æ¡¤¥Í¥¿¥×¥í¥°¥é¥ß¥ó¥°¤ò»ß¤á¤¿¤È¤³¤í¤Ç¤·¤¿ (´ñ¶ø)
Ëܵ¤¤Ç¾Ã¤¹¤Ê¤é»ä¤Ê¤éJS¤Ç¸«¤¨¤Ê¤¯¤Ê¤ë°õ¤¬¤Ä¤¤¤Æ¤ë¥³¥á¥ó¥È¤òºï½ü¤¹¤ë¥¹¥¯¥ê¥×¥È¤ò cron ¤Ç²ó¤¹¤È¤«¤¹¤ë¤«¤â¤Ç¤¹¤¬¤½¤¦¤¹¤ë¤È¤Ê¤ó¤È¤«¤¯¤ë¤ßÆ°²è¾ðÊ󤬤Ã!!
¥Ï¥Ã¥·¥å¤Ï¤Þ¤¡¡¢ÇÛÎó¤È°ì½ï¤Ç¥µ¥¤¥º¤Î¸Â³¦¤ò¸ÇÄê¤Ë¤¹¤ì¤Ð¤¹¤´¤¤´Êñ¤Ë¤Ê¤ë¤ó¤Ç¤¹¤è¤Í¡Ä