¥È¥Ã¥× «Á°10Æüʬ ºÇ¿· ¼¡10Æüʬ» Äɵ­

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

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

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:


2006-12-13

_ ¤¤¤ó¤¿¡¼¤Õ¤§¤¤¤¹

¤¦¡¼¤ó¡£ template °ú¿ô¤¬ 2 ¤Ä¤¢¤Ã¤Æ¡¢ ÊÒÊý¤Ï¥æ¡¼¥¶¤¬»ØÄꤹ¤ë¡¢ ÊÒÊý¤Ï

½ñ¤¤¤Æ¤ëºÇÃæ¤Ë¤Ç¤­¤ë¤Èµ¤ÉÕ¤¤¤¿¡£

(02:36)

_ public private

¤Õ¤é¤¿¤ó¤¬¸À¤Ã¤Æ¤¿¤³¤È¡£

irb(main):001:0> def/a;p a;end;:x/1
1
=> nil

¤À¤±¤É¡¢

i@un ~> ruby -e 'def/a;p a;end;:x/1'
-e:1: private method `/' called for :x:Symbol (NoMethodError)

¤Ç¡¢

i@un ~> ruby -e 'public;def/a;p a;end;:x/1'
1

¤Ê¤éÆ°¤¯¡£ ¤Ä¤Þ¤ê irb ¤Ï private ¤Ë¤¹¤ë¤Î¤¬Àµ¤·¤¤¤«¤â¤Í¤¨¤È¤¤¤¦¡£ ¤¿¤À¥´¥ë¥ÕŪ¤Ë¤Ï¤à¤·¤íµÕ¤ÇÌÜ¡£ method_missing ¤¬¼ê·Ú¤Ë½ñ¤±¤ëÌܤˤҤ«¤ì¤¿¤ï¡¼

(15:15)

_ mjd-

1st  kinaba     51   Ruby     10,000 (v13)
2nd  flagitious 52   Ruby     9,807 (v26)
3rd  shinh      52   Ruby     9,807 (v14)

½Ì¤àµ¤¤·¤Í¤¨¤¨¤¨

(15:20)

_ ºÇ¶á

¸¦µæ¼¼¤Î¶á¤¯¤Î¿Í¡¹¤¬Áû¤¬¤·¤¤¤Ê¤¡¡Ä ¤ï¤«¤ë¸À¸ì¤Ê¤éÊ̤ˤʤó¤È¤â»×¤ï¤ó¤Î¤À¤í¤¦¤¬¡£

(15:25)

_ ¤¢¤È²Î¤Ã¤Æ¤ë¤È¤«

(15:33)

_ ¤Û¤Û¡¼

16:28 <*******> I just compiled D to the JVM O_O

(16:36)

_ ¤Ê¤ë¤Û¤É

http://www.cs.rit.edu/~bja8464/NestedVM.pdf

¤³¤ì»È¤Ã¤¿¤½¤¦¤Ê

(16:37)

_ ¥í¥Ã¥¯¥Þ¥ó2

http://kai3-winchester.ddo.jp/

¤¬¤¤¤¤¡£ ¤¤¤ä¾¤âʹ¤«¤»¤Æ¤â¤é¤Ã¤¿¤ó¤À¤±¤É¡¼

(17:17)

_ ¤Ê¤ó¤È¤Ê¤¯

ÄáÀޤäƵ¢¤Ã¤Æ¤­¤¿¡£

¤¦¤°¤¨¤¦¤¨¤¨

(22:32)

_ ¤¦¤ª¡¼

http://mkosaki.blog46.fc2.com/blog-entry-288.html

µ×¡¹¤ËÌÌÇò²èÁü¥­¥¿¡¼¤È»×¤Ã¤¿¤éÁ°¤â¤³¤ì¸«¤¿¤è¤¦¤Êµ¤¤¬¤¹¤ë¤è¡ª ¤µ¤ß¤·¤¤¡ª

(22:43)

_ ¤°¤ª¤ª¤ª

¤è¤¯¹Í¤¨¤ë¤È 9¿Í¤È¤«¤É¤¦¤¹¤ë¤Í¤ó¤È¹Í¤¨¤Æ¤¤¤¿¤Î¤Ç¤¢¤Ã¤¿¡£

(22:47)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´2·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ kosaki [¤´¤á¤ó¡¢¤ª¤â¤í²èÁü¤Ï¤¹¤´¤¤¥á¥ó¥É¥¤¤Í¤ó¡£ ¥Í¥¿²èÁü¤Î¼ý½¸¤âº¬µ¤¤¤¤ë¤·]

_ shinh [¤¨¤¨¤¹¤¤¤Þ¤»¤ó¤¢¤ìÂçÊѤ½¤¦¤À¤Ê¡Ä¤È»×¤¤¤Ä¤Ä¤â³Ú¤·¤ß¤Ë¤¹¤ëÀ¼¤¬»ä¤ÎÃæ¤Ë¤¢¤ë¤è¤¦¤Ê¤½¤¦¤¤¤¦¡£]


2006-12-12

_ NegaPosi

http://www.namikilab.tuat.ac.jp/~sasada/diary/200505.html#d10

eval ̵¤¤¤È¤«¥Þ¥¸¥Ã¥¯¡Ä¤È»×¤Ã¤¿¤é lave ¤À¤Ã¤¿¡£

(03:34)

_ ¤Á¤Ê¤ß¤Ë

ÀΤϤ³¤¦¤¤¤¦¤Î¤â

19:49 <codegolf> zeriod submits 1B of Php for Paint By Numbers, ranking 1st (10000pts) in Php and 1st (10000pts) overall.

¤³¤ì¤Ï¥Ð¥°¤Ç¤·¤¿

(05:08)

_ ¤¹¤Ð¤éC

http://d.hatena.ne.jp/Cryolite/20061210#c1165857299

¤½¤·¤Æ½ñ¤­²¼¤¹ºî¶È¤ÏÌÌÇò¤¯¤Ê¤¤¤È»×¤¦¤ó¤À¤è¤Ê¤¡¡£ ¾¯¤Ê¤¯¤È¤âËͤˤÏÌÌÇò¤¯¤Ê¤¤

(05:51)

_ ÀÎÃΤäƤ¿¤³¤È¤ò

ºÆȯ¸«¤·¤¿

(10:41)

_ ¤³¤ó¤Æ¤Ê

i@um ~/test> cat cont.cc
#include <vector>
#include <ext/slist>
#include <list>
#include <set>
#include <ext/hash_set>
using namespace std;
using namespace __gnu_cxx;

int main() {
    typedef vector<int> v;
    typedef slist<int> sl;
    typedef list<int> l;
    typedef set<int> s;
    typedef hash_set<int> hs;
    printf("%d %d %d %d %d\n",
           sizeof(v), sizeof(sl), sizeof(l), sizeof(s), sizeof(hs));
}
i@um ~/test> g++ cont.cc
i@um ~/test> ./a.out
12 4 8 24 20

(11:21)

_ ¤ª¤¤¤Ä¤¤¤¿

1st  flagitious 52   Ruby     10,000 (v26)
2nd  shinh      52   Ruby     10,000 (v14)
3rd  kinaba     55   Ruby     9,454 (v11)

¤µ¤Æ¡Ä

(12:18)

_ ¤·¤«¤·

¤³¤ì¤Ï¤¤¤¤ÌäÂê¤À¤Í¤¨

(12:19)

_ C++

¤à¤º¤«¤·¤¤¤Ã¤Æ¤¤¤¦¤±¤É¡¢ ¤¢¤»¤ó¤Ö¤ê¤È¤«¤ï¤«¤Ã¤Æ¤¿¤é¤½¤ó¤Ê¤Ë¤à¤º¤«¤·¤¯¤Ê¤¤Éôʬ¤â ¿¤¤¤ó¤¸¤ã¤Ê¤¤¤«¤Ê¤¡¤È¤«»×¤¦º£Æü¤³¤Î¤´¤í¡£

¤³¤ó¤Ñ¤¤¤é¤Î¤­¤â¤Á¤Ë¤Ê¤Ã¤Æ¹Í¤¨¤ì¤Ð¼«ÌÀ¤ÊÉôʬ¤â¿¤¤¤è¤¦¤Ê¡Ä

¤Ç¡¢¤½¤¤¤¦¤³¤È¤¬ Write Great Code 2 ¤Î¥¤¥ó¥È¥í¤Ë ½ñ¤¤¤Æ¤Ê¤¯¤Æ¾¯¤·»ÄÇ°¡£ ¡Ö¤³¤ÎËܤòÆɤá¤Ð¥¢¥»¥ó¥Ö¥ê¤ÎÊ·°Ïµ¤¤¬¤ï¤«¤ë¤Î¤Ç¡¢ ¥³¥ó¥Ñ¥¤¥é¤Îµ¤»ý¤Á¤Ë¤Ê¤ì¤ë¤Î¤Ç¡¢ ÉáÃʤ«¤é¹â®¤Ê¥³¡¼¥É¤òÁªÂò¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡× ¤À¤ÈÆ°µ¡¤¬¼å¤¤µ¤¤¬¤·¤Æ¡£ ¥³¥ó¥Ñ¥¤¥é¤Îµ¤»ý¤Á¤Ë¤Ê¤ì¤Ð ¤Ê¤¼ÆÃ¤Ë C/C++ ¤¬¤³¤Î¸À¸ì»ÅÍͤˤʤäƤ뤫¤â¤ï¤«¤ë¡¢ ¤Ã¤Æ¤Î¤â½ÅÍפÊÅÀ¤À¤È»×¤¦¤ó¤À¤è¤Ê¤¡¡£

¤¿¤È¤¨¤Ð¤ï¤«¤ê¤ä¤¹¤¤¤È¤³¤Ç¤Ï C ¤Ç if ¤¢¤ì¤Ð switch ¤¤¤é¤Ê¤¤¤¸¤ã¤ó break ¥­¥â¤¤¡¢¤ß¤¿¤¤¤ÊÏäȤ«¡¢ mst ¤µ¤ó¤¬¥­¥â¤¤¤È¤ª¤Ã¤·¤ã¤Ã¤Æ¤¿ C++ ¤Î½é´ü²½¥ê¥¹¥È¤È¤«¡£ ¥­¥â¤¤¤â¤Î¤ò¤ï¤¶¤ï¤¶Æþ¤ì¤Æ¤ëÍýͳ¤¬¤ï¤«¤ë¤Ê¤ó¤ÆÁÇŨ¤Ê¤³¤È¤¸¤ã¤Ê¤¤¡£

(15:52)

_ ¥¹¥¯¥ê¥×¥È¸À¸ì

¤Ç½ñ¤¤¤¿¤é³ÈÄ¥¤È¤«¤·¤ä¤¹¤¯¤Æ¥é¥Ô¥Ã¥É¡ª ¤È¤¤¤¦Ïäʤ顢 ¥¹¥¯¥ê¥×¥È¸À¸ì¤ò¥³¥ó¥Ñ¥¤¥ëºÑ¤ß¥Ð¥¤¥Ê¥ê¤Ë ¸å¤«¤é³ÈÄ¥¤Î·Á¤ÇƳÆþ¤Ç¤­¤Ê¤¤¤â¤ó¤«¤Ê¡¼¤È¡£

(20:12)

_ OCaml

¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤ª¤¯

(20:14)

_ ¤Í¤à¤¤

¤Ï¤Æ¤Ê¤Ë¥í¥°¥¤¥ó¤¹¤ë¤Î¤á¤ó¤É¤¤

(20:29)

_ todo

¤è¤ä¤¯¤ò¤·¤è¤¦

(21:51)

_ ¥¸¥ç¥¸¥ç¤¿¤Á

/(-_-)  m9('-')  /(-_-)
   / /     / /     / |
 /'|     /'|     /'|

(22:02)

_ ¤ª¤ä¡¼

¤Þ¤À°ì°Ì¤Æ¤³¤È¡©

http://www.php.co.jp/fun/ranking/books.php?genre=pc

(22:04)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´1·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ Sxersvwm [¤³¤Î´Ö¤â½ÓÂÀϺ¤Î»í¤ò¤ª http://www.stlouisbusinesslist.com/business/5..]


2006-12-11

_ ¤¦¡¼¤ó

true_return_type.d(30): static assert  (is(long == long)) is false

¤³¤ó¤Ê¥¹¥Æ¥­¤Ê¥á¥Ã¥»¡¼¥¸¤â¤é¤Ã¤¿¤³¤È¤Ê¤¤

(00:52)

_ tDiary ¤Î¥Ñ¥Ã¥Á

http://www.tdiary.org/20061210.html

¤¿¤Ö¤ó¤¢¤Æ¤¿¡£

(04:30)

_ timeout

#!/usr/bin/env ruby

t=ARGV.shift

pid = fork do
  exec(*ARGV)
end

t.to_i.times do
  if (!File.exists?("/proc/#{pid}"))
    exit
  end
  sleep(1)
end

Process.kill(:INT, pid)

¤¢¤ê¤¬¤Á¤À¤±¤É¡¢»ØÄꤷ¤¿»þ´Ö¤¬·Ð²á¤·¤¿¤é»Ò¥×¥í¥»¥¹¤ò »¦¤·¤Æ½ªÎ»¤¹¤ëʪÂΤò¤¤¤¤¤«¤²¤ó¤Ë½ñ¤¤¤¿¡£ ÉáÄÌ¤Ë Unix ¥³¥Þ¥ó¥É¤Ë¤¢¤Ã¤¿µ¤¤¬¤¹¤ë¤±¤É³Ð¤¨¤Æ¤Ê¤¤

(06:45)

_ ¥«¥é¥¹

¥¨¥ó¥Ç¥£¥ó¥°¤Ë¤¤¤Ã¤·¤­¤µ¤ó¤Î̾Á°¤¬¤¢¤Ã¤Æ ¤ª¤ª¡¼¤È»×¤Ã¤¿¡£

¤½¤ì¤Ï¤½¤ì¤È¤·¤Æ½é¥×¥ì¥¤¤·¤¿¤±¤É¤è¤¯¤ï¤«¤é¤º¡£ ¼«µ¡¤Ï¤¨¡¼¤Æ¤Î¤È¡¢ Ũ¤¬ÆÍÁ³¤É¤Ñ¤Ã¤ÈÃƤ¦¤Ã¤Æ¤ë¤«¤Ü¤ó¤ä¤ê¤·¤Æ¤ë¤«¤Î ¤É¤Ã¤Á¤«¤È¤¤¤¦¤Î¤Ï¡¢ ¤Ä¤Þ¤ê¤Ê¤ó¤È¤¤¤¦¤«¡¢ ¥·¥å¡¼¥Æ¥£¥ó¥°¤È¤¤¤¦¤è¤ê¥ê¥ó¥¯¤À¤È¤«¥É¥ë¥¢¡¼¥¬¤À¤È¤«¡¢ ¤¢¤¢¤¤¤¦´¶³Ð¤Ë¶á¤¤¤Î¤«¤â¤·¤ì¤ó¤Ê¤¡¡£ ½â¤Ç¼é¤ê¤Ä¤Ä·õ¤Ç¤Ö¤·¤ã¡¼¡£

½â¥·¥å¡¼ºî¤ê¤¿¤¤¤Ê¡£

(07:56)

_ obfsucated oriented programming

(08:18)

_ MOP

http://www-06.ibm.com/jp/developerworks/java/051021/j_j-pg09205.shtml

¤Û¤¨¡¼¡£Á´Á³ÅÓÃæ¤Þ¤Ç¤·¤«Æɤó¤Ç¤Ê¤¤¤ó¤À¤±¤É MOP ¤Æ method_missing ¤Î¤³¤È¤Ê¤ó¤«¤¤¤Ê¡©

(09:41)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´1·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ Kim  [Thanks for this <a href='https://wepurpleit.com/top-twice-..]


2006-12-10

_ ¤á¤ó¤É¤¯¤µ¤«¤Ã¤¿¡Ä

Åꤲ¤Ã¤Ñ¤Ê¤·ÊüÃ֥᥽¥Ã¥É¤ÎÊý¿Ë¤Ç

(01:02)

_ ¤È¤Þ¤é¤Ê¤¤¥³¥ó¥Ñ¥¤¥é

i@u ~/test/d> dmd functional
functional.d(26): Error: 'this' is only allowed in non-static member functions, not f
functional.d(26): Error: 'this' for nested class must be a class type, not int
functional.d(26): Error: 'this' is only allowed in non-static member functions, not f
functional.d(26): Error: 'this' for nested class must be a class type, not int
functional.d(26): Error: 'this' is only allowed in non-static member functions, not f
functional.d(26): Error: 'this' for nested class must be a class type, not int

¤³¤ì¤¬±Êµ×¤Ë³¤¯¡£

(02:59)

_ ¤³¤ì¤«¤Ê¤¡

http://www.skynet.ie/~caolan/publink/winresdump/winresdump/doc/pefile.html

º£ÅÙ³Îǧ¤¹¤ë¡©

(03:49)

_ reverse

¤³¤ìÉáÄÌ¤Ë Perl ¤â¶¯¤½¤¦¤ÊÌäÂê¤Ë¸«¤¨¤ë¡£ p ¤¬¤¢¤ë¤«¤é Ruby Í­Íø¤È¤«¤¤¤¦¤ï¤±¤Ç¤â¤Ê¤µ¤½¤¦¤Ê

(06:25)

_ µ¬Ìó°ú¤¤¤Æ¤ß¤¿

http://d.hatena.ne.jp/odz/20061210

¤Õ¤à¤Õ¤à¡£

·¿Åª¤Ë¤Ï void* ¤Ç¤¢¤Ã¤Æ¤Ï¤¤¤±¤Ê¤¤¤Ï¤º¡£ ɸ½à¤Î¥É¥é¥Õ¥È¤Ë¤è¤ë¤È¡¢

-4- The macro NULL is an implementation-defined C++ null pointer constant in
this International Standard (conv.ptr).*

[Footnote: Possible definitions include 0 and 0L, but not (void*)0. --- end
foonote]

¤À¤È¡£¤Ä¤Þ¤ê 64bit ¤Ç¤â NULL »È¤¨¤ÐÌäÂê¤Ïµ¯¤­¤Ê¤¤¤ó¤À¤í¤¦¤Í¡£ ²ÄÊÑĹ°ú¿ô¤Î¤ß NULL »È¤Ã¤Æ¾¤Ï 0 »È¤Ã¤Æ¤ª¤¯¤Î¤¬ÌµÆñ¤Ã¤Æ´¶¤¸¤À¤í¤¦¤«¡£

__null ¤Ï GCC ¤¬Í½Ì󤷤Ƥë¤ß¤¿¤¤¤Ç ¥½¡¼¥¹¤Á¤ç¤Ã¤È¸«¤ë¸Â¤ê¤«¤Ê¤êÆüì¤Ê°·¤¤¤«¤Ê¤¡¡£ ¤Ê¤ó¤» lex.c ¤ËÆþ¤Ã¤Æ¤ë¤·¡£ ¤á¤â¡£ RID_NULL ¤È¤« null_node ¤È¤« null_ptr_cst_p

(18:05)

_ "¿·¤·¤¤"¸À¸ì¤Ã¤Æ¡¢

·ë¶É¤Û¤È¤ó¤É¤Ï»°¤Ä¤ËʬÎà¤Ç¤­¤ë¤è¤¦¤Êµ¤¤¬¤¹¤ë¡£ ¥¢¥«¥Ç¥ß¥Ã¥¯¤È¥Ó¥¸¥Í¥¹¤È¡¢¥³¥ó¥Ñ¥¤¥é²°¤È¡£ ¤Ç¤â¤½¤í¤½¤í¡¢¥¨¥Ç¥£¥¿¼ÂÁõ¤Î¼Â·Ð¸³¤Ë΢ÂǤÁ¤µ¤ì¤¿ ¿·¤·¤¤¸À¸ì¤¬À¸¤Þ¤ì¤ë»þ¤Ê¤ó¤À¤í¤¦¤Í¡£

http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=45298

¤³¤¦¤¤¤¦¤Î¸«¤Æ¤ë¤È¡¢ OCaml ¤Î¿äÏÀ¤·¤¿·¿¤È¤« ¼«Æ°Åª¤Ë½ñ¤­¹þ¤Þ¤ì¤Æ¤Æ¤â¤¤¤¤¤è¤Ê¤¡¤È¤« »×¤Ã¤¿¤ê¤¹¤ë¤ï¤±¤Ç¤¹¤Ê¤¡¡£

¤Ç¤â } (while) ¤Ï¥À¥á¤À¤í¤ª

(20:42)


2006-12-09

_ ¤ª¤ª¤ª

¤µ¤¹¤¬5ʬ¤Ç¤¹¤Ð¤é¤·¤¤Æ¶»¡¤Ç¤¹

http://d.hatena.ne.jp/ytqwerty/20061208#p2

¤¤¤¤¤È¤³¤í¤Îɾ²Á¤âƱ´¶¤¹¤ë´¶¤¸¤Ê¤Î¤Ç¤¹¤¬¡¢ Æä˰­¤¤¤È¤³¤í¤È¤«Ææ¤Ê¤È¤³¤í¤¬¤Þ¤µ¤Ë¤½¤ÎÄ̤ê¤À¤È»×¤¤¤Þ¤·¤Æ¡£

¤Ä¤Þ¤ê inout ¤É¤¦¤¹¤ë¤ó¤À¤í¤¦¤Ê¡¼¤È¤¤¤¦¤Î¤Ï Á´¤¯¤â¤Ã¤Æ¤½¤ÎÄ̤ê¤È¤¤¤¦¤«ºÇ¶á´Ø¿ô·Ï¤Ç Í·¤ó¤Ç¤ë¿Í¡¹¤Ï inout ¹Í¤¨¤Æ¤Í¡¼¤è¤Ê¡£

¤¿¤À instance ¤ÎÊý¤¬¹¥¤ß¤È¤¤¤¦¤Î¤Ï¡ª

¤È¤ê¤¢¤¨¤º¤¤¤â¤¦5ʬ¤ª´ê¤¤¤·¤Þ¤¹¤½¤·¤Æ¤½¤Î¤Þ¤Þ¤º¤ë¤º¤ë¤È¡£

(04:43)

_ ¤¦¡¼¤ó

¤É¤¦¸«¤Æ¤â¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¼ûÍפ¢¤ë¤Ê¡Ä¡ª FFI¤È¤«¥«¥¹¤ß¤¿¤¤¤Ê¼ûÍפÎʪÂκî¤Ã¤Æ¤ë¾ì¹ç¤¸¤ã¤Ê¤¤¤Î¤«¡£

(05:05)

_ ¤È¤ê¤¢¤¨¤º

Linux¤Î¤ä¤í¤¦¤¼

(05:07)

_ libphobos.a

gc.o ¤¬ 2¤ÄÆþ¤Ã¤Æ¤ë¤ï¤±¤Ç¤¹¡£

(05:19)

_ ¤Ä ¡¼ ¤«

phobos ¤Î¥½¡¼¥¹¤Ã¤Æ¤Á¤ã¤ó¤È¥Ó¥ë¥É¤Ç¤­¤ë¤ó¤À¤Í¡£ ¤¹¤²¡¼´Êñ¤Ëºî¤ì¤ë¤Î¤Ç¤¢¤Ã¤¿¡¼

(05:22)

_ ¤³¤¦¡¢¤µ

i@u wrk/backtrace/phobos> touch object.d
i@u wrk/backtrace/phobos> make -f linux.mak libphobos.a
make: `libphobos.a' ¤Ï¹¹¿·ºÑ¤ß¤Ç¤¹

Walter¥¿¥ó¤É¤¦³«È¯¤·¤Æ¤ë¤ó¡Ä ¤È»×¤Ã¤¿¤±¤ÉÈà¤Ï Windows ¤Ç½ñ¤¤¤Æ¤ë¤ó¤À¤í¤¦¤Ê¤¢¡£

¤È»×¤Ã¤¿¤±¤É¡¢¤¦¡¼¤óÊÌ¤Ë Makefile °­¤¯¤Ê¤¤¤¾¡£ ¤¢¡¼

(05:30)

_ bt

¤Ê¤ó¤«¤É¤¦¤Ç¤â¤è¤¯¤Ê¤Ã¤¿¡£

(06:08)

_ ¤½¤¤¤¨¤Ð¤½¤¤¤¦µ¨Àá¤À¤Ê¤¢

¤È»×¤Ã¤Æ HDD Æâõ¤¹¤â¸«¤Ä¤«¤é¤º¡£

http://tinyurl.com/yhfvox

http://maideriapress.web.fc2.com/UoT/UoT03.html

̱ÀĤȤ·¤Æ¡©

¤½¤·¤Æ¿·¤È¤«¤¢¤ë¤é¤·¤¤¡£ Èù̯¡£

ttp://maideriapress.web.fc2.com/UoT/img/newanti.jpg

(07:32)

_ ¤¢¤Ã¤¿

haku_tero.jpg

(07:41)

_ ¥Ç¥³¥ì¡¼¥¿

¤Ê¤ó¤«¤³¤Îµ¡Ç½¤Ï¤¸¤á¤Æ¸«¤¿µ¤¤¬¤¹¤ë¤ó¤À¡Ä ¤È»×¤Ã¤Æ¤ß¤ó¥Ñ¥¤¸«¤¿¤éºÜ¤Ã¤Æ¤Ê¤«¤Ã¤¿¡£ ¾¤Îʸ¾Ï¤âÆɤó¤Ç¤ß¤¿Êý¤¬¤è¤µ¤½¤¦¤À¤Ê¤¡¡£

¤·¤«¤·¥Ç¥³¥ì¡¼¥¿¤âʸˡŪ¤Ë¤Ê¤ó¤«¤­¤â¤¤¤Ê¤¡¡£ ¤¤¤ä¤³¤ì¤Ï¤³¤ì¤Ç¤¤¤¤¤ó¤À¤±¤É¡¢ ÀáÁब̵¤¤¤È¤Ï´¶¤¸¤ë¤È¤¤¤¦¤«¡£ ¤È¤¤¤¦¤ï¤±¤Ç°Ê²¼¤Ë̯¤Ë°ãÏ´¶¤¬¡£ ¸À¤Ã¤Æ¤ë¤³¤È¤Ï¤ï¤«¤ë¤ó¤À¤±¤É¡£

http://tabesugi.net/memo/2004/92.html#120951

(12:49)

_ ¤Õ¤Èµ¤ÉÕ¤¤¤¿

²ÄÊÑĹtemplate°ú¿ô¤Ï½ñ¤±¤ë¤±¤É ²ÄÊÑĹ°ú¿ô¤Ï½ñ¤±¤Ê¤¤¤è¡ª

(13:35)

_ 0805dac0 D D13TypeInfo_B2ii6__initZ

¤³¤Î¥·¥ó¥Ü¥ë¤ò¤É¤¦ÆÀ¤ë¤«¡£¤Ê¤«¤Ê¤«¤à¤º¤«¤·¤¤¤Ê¤¡¡£

Á°È¾Éôʬ¤Ï typeid(TypeTuple!(int, int)); ¤Ç¤¤¤¤¤Ï¤º¡£ ¤ó¤Ç¤³¤ì¤¤¤Ã¤¿¤¤Á´ÂΤʤó¤Ê¤ó¤À¡£

(14:02)

_ typeid(TypeTuple!(int, int))

¤À¤±¤Ç¤¤¤¤¤ß¤¿¤¤¤À¡£

(14:10)

_ ¤Õ¤à¤ï¤«¤Ã¤¿µ¤¤¬¤¹¤ë

(14:15)

_ ¤ó¤Ç¼¡¤ÎÌäÂ꤬¼Â¤ËÆñ¤·¤¤µ¤¤¬¤¹¤ë

typeid(TypeTuple!(int, int)); ¤ò¼Â¹Ô»þ¤Ëºî¤ê¤¿¤¤¡£

(14:18)


2006-12-08

_ ¤­¤ß

¤ä¤ë¤­¤¢¤ë¤Î

Version Size Lang        Uploaded        Status
3rd     144  Ruby less than a minute ago Passed
2nd     98   Ruby 5 minutes ago          Failed
1st     184  Ruby 9 minutes ago          Failed

(13:39)

_ > ÁêÂÐÀ­ÍýÏÀ¤ÏÎÌ»ÒÎϳؤζá»÷¤Ç¤¹¤¬

¤É¤³¤«¤é¤Ä¤Ã¤³¤á¤Ð¡Ä

(15:56)

_ pedantic

¤È¤¤¤¦Ã±¸ì¼«ÂΤ¬ pedantic ¤È¤¤¤¦¤³¤È¤Ï ´û¤Ë¸À¤ï¤ì¤Æ¤½¤¦

(16:11)

_ WGC2

¤È¤¤¤¦¤ï¤±¤Ç Write Great Code Vol.2 ¤òÇã¤Ã¤¿¡£ 2 ¤ÏÇã¤ï¤Ê¤¤¤¾¤È»×¤Ã¤Æ¤¿¤ó¤À¤±¤É¤Ê¡£

(16:11)

_ WiiÍߤ·¤¤¡ª

¤Ï¤ë¤Î¤ÏPS3Ç˲õ±ÇÁü¤È¤«¤Ç¤¤¤¤¤ó¤À¤í¤¦¤«¡£

(16:13)

_ ÆǤµ¤ì¤Æ¤ë

#import<algo.h>
char a[9];main(c){for(cin>>a;next_permutation(a,strchr(a,c||puts(a)))||c--;);}

¤³¤ì¤Ç¤¤¤¤¤ó¤¸¤ã¤Í¡¼¤È»×¤Ã¤¿²¶¤Ï¥´¥ë¥Õ¤ËÆǤµ¤ì¤Æ¤¤¤ë¤È»×¤Ã¤¿¡£

Åú¤¨: c ¤Î·¿¤¬Ìµ¤¤¡ª

(16:51)

_ gogogo

http://www.chikawatanabe.com/blog/2005/08/google.html

¤¹¤Ð¤é¤·¡¼

(18:18)

_ ¤Ü¡¼¤Ê¤¹

(19:58)


2006-12-07

_ ¤Û¤¨

irb(main):008:0> class Range; def to_a; p 'hoge'; end; end
=> nil
irb(main):009:0> p *0..9
"hoge"
TypeError: `to_a' did not return Array
        from (irb):9
        from :0

¤¦¡¼¤ó¡£

irb(main):023:0> p *1
1
=> nil
irb(main):024:0> p [1]
[1]
=> nil

(00:07)

_ ¤Ê¤ë¤Û¤É¡Ä

irb(main):003:0> class Fixnum; def to_a; p "hoge"; end; end
=> nil
irb(main):004:0> p *1
"hoge"
TypeError: `to_a' did not return Array
        from (irb):4

¤Ê¤ó¤È¤Ê¤¯¤·¤«¤ï¤«¤Ã¤Æ¤Ê¤«¤Ã¤¿

(00:09)

_ ¤Ò¤Ã¤«¤±¤â¤ó¤À¤¤

00:29 >i< class C { TypeTuple!(int, int) t; }
00:30 >i< C.sizeof ¤Ï¤¤¤¯¤é¤Ç¤·¤ç¤¦¡ª

(00:33)

_ ¤³¤á¤Ã¤È¤µ¤ó

ή¹Ô¤Ã¤Æ¤ë¤ó¤À¤«¤Ï¤ä¤Ã¤Æ¤Ê¤¤¤ó¤À¤«¡£

¤È¤ê¤¢¤¨¤º¥³¥á¥Ã¥È¤È¸À¤¨¤Ð¥Á¥ã¥Ã¥È¤é¤·¤¤¤Î¤Ç ËͤÎȽÃǤÏÀµ¤·¤«¤Ã¤¿¤é¤·¤¤¡£

(00:55)

_ ¤³¤³¤ÎÊý¤¬

³Î¼Â¤Êµ¤¤¹¤é¤¹¤ë¤Î¤Ï¤Ê¤¼¤À¤í¤¦¡£

¥á¡¼¥ëÅꤲ¤Þ¤·¤¿ > YT ¤µ¤ó wo ¤µ¤ó

(02:11)

_ ¤¦¤°¤¦

¥æ¥Ð¥ó¥È¥¥¡¼

(03:45)

_ ¤¤¤­¤Ê¤ê²¿¤¹¤ó¤Î¤è¡ª¤¢¤ó¤¿¤Ï̱ÀĤ«¡ª

Åܤé¤ì¤¿¡ä¡ã

¡ÖºÇ¶á¤ÏÁ´Á³¥Æ¥ì¥Ó¤â¸«¤Æ¤Ê¤¤¤Ê¤¢¡£º£¤É¤ó¤ÊÈÖÁȤ¬¿Íµ¤¤Ê¤Î¡×

¢ª¶¯¤¯¤·¤«¤ë

¤À¤Ã¤Æ¥×¥Á¥Ö¥ëŪ¤À¤·¡Ä

(04:25)

_ ¤Ä¤¯¤Ã¤Æ¤ß¤ë¤«¤¢

(06:00)

_ Wii vs PS3

http://dokoaa.com/ps3wii.html

(06:10)

_ DCon

http://www.digitalmars.com/d/archives/digitalmars/D/announce/D_Conference_2007_5536.html

June ¤Ê¤éÅÏÊƤ·¤Æ¤ë³ÎΨ¹â¤½¤¦¤Ê¡£

(14:34)

_ PKU

std:: ¤¤¤é¤ó¤Î¤«¡£

(18:07)

_ PKU1713

¤Ò¤µ¤Ó¤µ¤Ëƨ¤²¤ëΩ¾ì¤Ç¤¹¡£ ËͤϤ³¤ì¤ÇÂǤÁ»ß¤á¤«¤Ê¤¡¡£

(19:18)

_ count

ʸ»ú½ªÃ¼¼è¤ë¤Î¤Ë¶ìÏ«¤¹¤ë¤ó¤À¤±¤É¡¢ ¤¦¤Þ¤¤¤³¤È¥¹¥¿¥Ã¥¯¤Ë»Ä¤Ã¤Æ¤ëʸ»ú¿ô¤È¤«¤ò ¤Á¤å¤ë¡¼¤È¼è¤Ã¤Æ¤³¤ì¤Ê¤¤¤â¤ó¤«¤Í¤¨

(19:21)

_ newlib

char *
_DEFUN(_gets_r, (ptr, buf),
       struct _reent *ptr _AND
       char *buf)
{
  register int c;
  register char *s = buf;

  while ((c = _getchar_r (ptr)) != '\n')
    if (c == EOF)
      if (s == buf)
        return NULL;
      else
        break;
    else
      *s++ = c;
  *s = 0;
  return buf;
}

#ifndef _REENT_ONLY

char *
_DEFUN(gets, (buf),
       char *buf)
{
  return _gets_r (_REENT, buf);
}

glibc ¤Ï¤Þ¤À¤Ê¤ó¤È¤«¤Ê¤ê¤½¤¦¤À¤Ã¤¿¤±¤É¡¢ newlib ¤Ï¤³¤ê¤ã̵Íý¤À¤Ã¤Æ´¶¤¸¤À¤Ê¤¡¡£ ËÜÅö¤Ë¥ì¥¸¥¹¥¿¤Ë¾è¤Ã¤Æ¤¿¤é¤â¤¦¤É¤¦¤·¤è¤¦¤â¤Ê¤¤¤Ç¤¹¡£

(19:27)

_ Apache ¤Î NameVirtualHost

¤ä¤Ã¤È»È¤¤¤«¤¿¤Ë¹çÅÀ¤¬¤¤¤Ã¤¿¤è¡£

NameVirtualHost ¤Ï°ì²ó¤À¤± * ¤Ç½ñ¤¤¤Æ¡¢ ¸å¤Ï VirtualHost * ¤È ServerName hoge.example.com ¤È¤«¤Ç¡£

http://httpd.apache.org/docs/2.2/ja/vhosts/name-based.html

¤ä¤Ï¤ê¥É¥­¥å¥á¥ó¥È¤Ï¤­¤Á¤ó¤ÈÆɤޤʤ¤¤È¤¤¤±¤Þ¤»¤ó¡£

(21:54)

_ ¥±¡¼¥¿¥¤Íî¤È¤·¤¿

Åż֤ÎÃæ¤ÇÍî¤È¤·¤Æ¤Ê¤«¤Ê¤«½Ð¤Æ¤³¤Ê¤«¤Ã¤¿¤Î¤ÇÉ԰¤Ǥ¢¤Ã¤¿¡£

(23:11)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´3·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ YT [¥á¡¼¥ë¡õ¤ªÍ¶¤¤¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ÊÖ¿®¤¤¤¿¤·¤Þ¤·¤¿¡£ÌÞÏÀ¤½¤ÎÆɤߤÇÀµ²ò¤Ç¤¹¡£]

_ shinh [ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ º£¸å¤Ï¥á¡¼¥ë¤ÈƱ»þ¤Ë¤³¤³¤Ë¥á¡¼¥ëÅꤲ¤Þ¤¹¤¿&&¥ê¥ó¥¯¤Ï¤Ã¤Æ¥ê¥Õ¥¡¥é¤Çº¯Àפò»Ä¤¹¤Ê¤É¤Î¹©É×..]

_ YT [¤¤¡¢¤¤¤ä¡Ä¡Ä¤½¤³¤Þ¤Ç¤·¤Æ¤¤¤¿¤À¤«¤Ê¤¯¤Æ¤â(Âç´À ¤³¡¢º£²ó¤Ï¥µ¥ó¥À¡¼¥Ð¡¼¥É¤â¥¸¥ã¥ó¥¯¥á¡¼¥ë°·¤¤¤·¤Þ¤»¤ó¤Ç¤·¤¿¤·¤Ã¡£]


2006-12-06

_ D ¸«¤Æ¤ë¤È

¤Ê¤ó¤«¡¢ template ¤Ç ¤¤¤Ã¤¿¤ó̾Á°¶õ´Ö¤ÇÀÚ¤ì¤Æ¤ë¤Î¤¬¡¢ ¤³¤ì¤¬¤Þ¤¿¤Ê¤ó¤«ÉԻ׵ĤÊÍ­ÍÑÀ­¤òȯ´ø¤·¤Æ¤¤¤ë¤è¤¦¤Ê¡£ µ¤¤Î¤»¤¤¤«¤Ê¤¡¡£

writefln!("hoge %s")("hage")
~~~~~~~~~~~~~~~~~~~~
 ¤³¤³¤Þ¤ÇÀÅŪ¡ª¤Ã¤Æ¤¹¤´¤¯¤ï¤«¤ê¤ä¤¹¤¤¤È¤¤¤¦Ïä⤢¤ë¤·¡Ä

¤Þ¤¢¤Í¤à¤¤

(03:44)

_ ¤ê¤ç¤¦¤ê¤Ö¤í¤°

¥Á¥ã¡¼¥Ï¥ó¤òºî¤ê¤Þ¤·¤¿¡£ ¤¿¤Þ¤Í¤®¤â¤Ë¤ó¤Ë¤¯¤â¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ ÌýÆþ¤ì¤ÆÊÆÆþ¤ì¤ÆŬÅö¤Ë¤¤¤¸¤Ã¤Æ¤«¤é¡¢ »×¤¤½Ð¤·¤¿¤è¤¦¤Ë¥³¥·¥ç¥¦¤ò¤«¤±¤Æ¡¢ »×¤¤½Ð¤·¤¿¤è¤¦¤ËÂë¤ÎÄޤȡ¢ ¤Ê¤ó¤Ç¤â¤ª¤¤¤·¤¯¤¹¤ëÉԻ׵ĤÊÌý¤Ç¤¢¤ë¤È¤³¤í¤Î ¥´¥ÞÌý¤òÆþ¤ì¤Æ¡¢Å¬Åö¤ËÍñÆþ¤ì¤Æ¡¢ ¥·¥ç¥¦¥æ¤ò½¬¤Ã¤¿Ä̤ê¤Ë¤Á¤ç¤Ã¤È ¾Ç¤¬¤·¤Æ¤«¤é¤¬¡¼¤Èº®¤¼¤¿¤é¤ª¤¤¤·¤¤¥Á¥ã¡¼¥Ï¥ó¤Î¤Ç¤­¤¢¤¬¤ê¡ù

¤ª¤¤¤·¤«¤Ã¤¿¤Ç¤¹¤¬¡¢¥¿¥Þ¥Í¥®¤¢¤Ã¤¿¤éÎɤ«¤Ã¤¿¤Î¤Ë¡£

(04:24)

_ ÌäÂê

D ¤Î pragma msg ¤ò»È¤Ã¤Æ¡¢ 0Byte °Ê¾å¤Î compile time quine ¤òºî¤ë¤³¤È¤Ï¤Ç¤­¤ë¤«¡£

ËͤϤǤ­¤Ê¤¤¤ó¤¸¤ã¤Ê¤¤¤«¤È»×¤Ã¤¿¡£ ¤È¤¤¤¦¤Î¤Ï pragma msg ¤ÎºÇ¸å¤Ë¡¢¾¡¼ê¤Ë²þ¹ÔÆþ¤ë¤Î¤¬Äˤ¹¤®¤ë¡£ ¤µ¤é¤Ë¡¢ pragma msg ¤Ë¤Ï·×»»·ë²Ì¤òÅϤ»¤Ê¤¤¡£

¤·¤«¤·¡¢¤¤¤ä¡¢¤Ç¤­¤ë¤È¤Ï»×¤¦¤ó¤À¡£

(05:04)

_ ¤¢¡¢¤Ê¤Ë¤³¤ì

·×»»·ë²ÌÅϤ»¤ë¤¸¤ã¤ó

(05:07)

_ ¤Ç¤­¤¿¡¼

(05:26)

_ ¤À¤¤¤Ö

¤ß¤¸¤«¤¯¤Ê¤ë¤Ê¤¡

(06:39)

_ ³ÎΨ¤ÎÌäÂê

¹â¹»¤Î»þ¤Îͧã¤Ë³ÎΨ¤ÎÌäÂ꤬¿¤«¤Ã¤¿¤±¤É ¿ô³Ø¤ÎÌäÂê¤ò½Ð¤·¤Æ¤¯¤ë¿Í¤¬¤¤¤Æ¡¢ ¤½¤Î¿Í¤¬½Ð¤·¤Æ¤­¤¿ÌäÂê¤òÃë´Ö¹Í¤¨¤Æ¤ï¤«¤ó¤Ê¤«¤Ã¤¿¤é¡¢ ÌÀÆü¤Þ¤ÇÂԤäƤ¯¤ì¤½¤·¤¿¤éÅú¤¨¤Ï½Ð¤»¤ë¤È¤«¸À¤Ã¤Æ¡¢ ŬÅö¤Ë¥×¥í¥°¥é¥àÁö¤é¤»¤Æ¤ª¤é¡¼Åú¤¨¤Ï½Ð¤¿¤¼ ²òÀÏŪ¤Ê²óÅú¶µ¤¨¤í¡¢¤È¤«¤ä¤Ã¤Æ¤¿¤Î¤ò»×¤¤½Ð¤·¤¿¡£

Åú¤¨¤¬½Ð¤Æ¤ì¤Ð²òÀÏŪ¤Ê²óÅú¤Ï ¤ï¤«¤ó¤Ê¤¯¤Æ¤â¤È¤ê¤¢¤¨¤ºÎɤ·¤È¤·¤Æ¤¤¤¿ »×¹Í¤¬ÌÌÇò¤¤¤Ê¤¡¤È¤Õ¤È¡£ ¤½¤·¤Æº£¤â¤¢¤Þ¤ê¤½¤Î»ÑÀª¤ÏÊѤï¤Ã¤Æ¤Ê¤¤¤Ê¤¡¡£

¤³¤ì¤À¤«¤é²¶¤Ï

(06:54)

_ hello-

import std.stdio;
class HelloWorld {}
void main() {
    writefln(typeid(HelloWorld));
}

Imaichi

http://d.hatena.ne.jp/nazodane/20061205/1165316504

(07:36)

_ ŬÅö¤Ë¤ä¤Ã¤¿¤Î¤Ë

86.1%¤À¤Ã¤Æ

http://jakemandell.com/tonedeaf/

°Æ³°¤¤¤¤

(07:47)

_ Wine ¥á¥â¥á¥â

http://d.hatena.ne.jp/nazodane/20061018/1161170232

¤³¤ì¤Ï¤¿¤¹¤«¤ë

(08:02)

_ TODO

¤¤¤ä¤½¤ì¤Ï TODO ¤Ç¤Ï¤Ê¤¤¤Î¤À¤¬¡£

  • ¤·¤ã¤·¤å
  • backtrace (¤¿¤Ö¤ó¤ä¤é¤Ê¤¤)
  • FFI in D
  • dll loader
  • sevilwm ¤¢¤½¤Ó / CPU»ÈÍÑΨɽ¼¨ / Æ©²á

http://shinh.skr.jp/m/?date=20061119#p07

  • TODO ¤Î 2007ǯÌäÂê(¤Ä¤Þ¤ê2007ǯ¤ÎͽÄê¤Ï2007ǯ¤Ë¤Ê¤é¤Ì¤ÈÅÐÏ¿¤Ç¤­¤Ì)
  • ¥á¡¼¥ë¢ª¥³¥á¥ó¥È¥Õ¥£¥ë¥¿
  • HyperEstraier¥µ¥Ð¤Ë¥á¡¼¥ë¤ÈIRC¤Î¥í¥°¤ò(º£¤ÏWeb¤À¤±¤ä¤Ã¤¿¤Ã¤±)
  • estsave.el ¤ÎÉü³è
  • /usr/include ¤È¤«¤â¥Ä¥Ã¥³¤àÊýË¡¹Í¤¨¤ë
  • /usr/lib ¸¡º÷¤Ï¡©
  • ¿§¤Ä¤­¥½¡¼¥¹°úÍÑÌäÂê

estutf.cgi ¤Ë @mdate STRD ¤ò¤Ä¤±¤Æ¤ª¤¤¤¿¡£

(08:40)

_ ¤¦¤Ø¤¨¤ä¤ë¤ó¤Ç¤¹¤«

  • undump

(09:06)

_ hello ¤ÎÀ®²Ì

ÌÜ¤Ç core ¤Î¥×¥í¥°¥é¥à¥Ø¥Ã¥À¤¬Æɤá¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¿

(19:32)

_ ¤Ä¤Þ¤ê

000050 00 00 00 00 01 00 00 00 00 10 00 00 00 80 04 08  >................<
000060 00 00 00 00 00 00 00 00 00 10 00 00 05 00 00 00  >................<
000070 00 10 00 00 01 00 00 00 00 10 00 00 00 90 04 08  >................<
000080 00 00 00 00 00 10 00 00 00 10 00 00 06 00 00 00  >................<
000090 00 10 00 00 01 00 00 00 00 20 00 00 00 a0 04 08  >......... ......<
0000a0 00 00 00 00 00 10 02 00 00 10 02 00 06 00 00 00  >................<
0000b0 00 10 00 00 01 00 00 00 00 30 02 00 00 c0 e9 b7  >.........0......<
0000c0 00 00 00 00 00 10 00 00 00 10 00 00 06 00 00 00  >................<
0000d0 00 10 00 00 01 00 00 00 00 40 02 00 00 d0 e9 b7  >.........@......<
0000e0 00 00 00 00 00 d0 12 00 00 d0 12 00 05 00 00 00  >................<

¤ò 32Byte ¤º¤ÄÆɤó¤Ç¤Æ

found 15 program headers
8048000-8048000 0
8049000-804a000 1000
b7e9e000-b7e9f000 1000
b7e9f000-b7e9f000 0
b7fcc000-b7fce000 2000

¤È¤Ê¤ë¤Î¤¬¤ª¤«¤·¤¤¡£ 804a000- ¤¬¾Ã¤¨¤Æ¤ë¡£ ¤Ï¤ì¤Û¤ì¡¼¡© ¤³¤Î¥ë¡¼¥×ÊÌ¤Ë continue ¤â¤Í¤¨¤·¤Ê¤¡¡£

(19:40)

_ ·ëÏÀ

¤è¤¯¤ï¤«¤é¤ó

(19:50)

_ ¤Ç¡¢ C++ vs D

mywritefln!("hello %s")("world") ¤Î·ï¡¢ »×¤¦¤Ë mywritefln!("hello %s") ¤¬ compile time duck typing ¤Ê¤â¤ÎÊÖ¤·¤Æ¤ë¤Î¤¬ C++ ¤È¤Î°ã¤¤¤«¤Ê¤¢¡£ ¤Þ¤¡ C++ ¤Ç¤âŬÅö¤Ë class °ì¤Ä¶´¤á¤Ð¤¤¤¤¤ó¤À¤±¤É¡£ ÍפÏÎ㤨¤Ð D ¤À¤È¡¢

template mywritefln(char[] fmt)(T...) {
  static if (check_puts!(fmt)) alias puts mywritefln;
  else alias mywritefln_!(fmt) mywritefln;
}

¤È¤«¤Ç¤­¤ë¤Ã¤ÆÏäȤ¤¤¦¤«¡£ ¤¢¤ë¼ï°ú¿ô¤ÈÊÖ¤êÃͤ¬ÂÐÅù¤Ê´Ø·¸¤Ë¤Ê¤Ã¤Æ¤ëµ¤¤¬¤¹¤ë

(20:20)

_ hello--

import std.stdio;
class HelloWorld {}
void main() {
    typeid(HelloWorld).print();
}

¤Ê¤ó¤«°ã¤¦¤Ê¤È»×¤Ã¤¿¤ó¤À¡£

http://shinh.skr.jp/m/?date=20061206#p08

(20:48)

_ ¤¢¤¿¤Þ¤À¤ë¤¤¡Ä

(23:33)

_ Êк¹ÃÍ°ÕÌ£NEEEEEEEEEEEEEEEEEEEEEEE

http://www.37vote.net/game/1148654831/

(23:42)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´4·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ kik [¿ô³Ø²°¤¬¤è¤¯¤ä¤ë¤è¤¦¤Ë¡¢´Ø¿ô¤Î°ú¿ô¤ò F(x,y;a,b)¤ß¤¿¤¤¤Ë¡Ö;¡×¤Ç¶èÀڤ줿¤é¤¤¤¤¤Î¤Ë¤Ê¡¼¡£¡Ö;¡×¤è¤ê¸å¤í¤ÏÀÅ..]

_ shinh [¤è¤¯¹Í¤¨¤ë¤È C++ ¼°¤Î writefln<"hello %s">("world"); ¤ÎÊý¤¬(C++¤Ç¤Ï¤³¤ì¤Ç¤­..]

_ kik [²òÀÏŪ¤Ã¤Æ¤ó¤Ê¤é¤½¤ó¤Ê´¶¤¸¤Î¼°¤Ë¤Ê¤ì¤Ð¤¤¤¤¤«¤Ê¡£ ¤Ç¤â¡¢¤½¤³¤ÎLISP¤Î¼°¤Ã¤Æ¤¢¤Ã¤Æ¤ë¤Î¤«¤Ê¤¢¡© ¡Ön²ó°ú¤¤¤Æ12¼ï..]

_ shinh [¤¦¡¼¤ó¡£¤Ò¤ç¤³¤Ò¤ç¤³Æ¬¤Ò¤Í¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬¤¦¤Þ¤¯¤¤¤«¤º¡£¤È¤¤¤¦¤«º£Æ¬¤À¤ë¤¤¤Î¤Çº£Åٹͤ¨¤Þ¤¹¤ë¡Ä ¤È¤¤¤¦¤«¸µµ¤¤è¤¯¤Æ¤â¤ï..]


2006-12-05

_ ¤«¤Ö¤Ã¤Æ¤ë¤È¤«¥Á¥§¥Ã¥¯¤Ç¤­¤Æ¤Þ¤»¤ó¤¬¡Ä

¤È¤ê¤¢¤¨¤º assert ½Ð¤ë¤Ê¤é¥Ð¥°¤È¤¤¤¦Êý¿Ë¤Ê¤é¡£

i@u ~/test> cat tuple_spec.d
template hoge_(T) {}
template hoge(T...){
    alias hoge_!(T) hoge;
}

void f() {}

alias hoge!(f) a;
i@u ~/test> dmd -c tuple_spec.d
dmd: template.c:2622: void TemplateInstance::semanticTiargs(Scope*): Assertion `global.errors' failed.
zsh: abort (core dumped)  dmd -c tuple_spec.d
i@u ~/test> cat func_tmpl.d
template T(X...) {}
void f(){}
alias T!(&f) a;
i@u ~/test> dmd -c func_tmpl.d
global.errors = 0, gag = 0
0x8150cc8 symoff type=void(*)()
dmd: expression.c:774: virtual void Expression::toMangleBuffer(OutBuffer*): Assertion `0' failed.
zsh: abort (core dumped)  dmd -c func_tmpl.d

¤É¤Ã¤Á¤â WINE ¤Ç¤âºÆ¸½

(00:14)

_ PHP

http://d.hatena.ne.jp/w_o/20061204#p5

¤Ê¤ó¤«°ì½Ö PHP ¤ÎÆ°ºî¤¬¼«Á³¤Ë¸«¤¨¤¿¤ó¤À¤±¤É¡£

Io> A := Object clone do ( a := 1; f := method( write(a) ) )
==>  A_0x8d09508:
  a                = 1
  f                = method(...)
  type             = "A"
Io> B := Object clone do ( a := 2; f := method( A f ) )
==>  B_0x8d78570:
  a                = 2
  f                = method(...)
  type             = "B"

Io> B f
1==> nil

¤Þ¤¡¡£¤½¤ì¤Ï¤½¤¦¤«¡Ä PHP ¤Ï¸åÉÕ¤±¤Ç OO Æþ¤ì¤¿¤ó¤À¤è¤Ê¡£ ¤½¤ì¤À¤È¤½¤¦¤Ê¤ë¤«¤Ê¤¡¤È¤¤¤¦´¶¤Ï¤¢¤ë¡£

¤³¤ì¤¢¤È¤ÇÆɤࡣ

http://ll.jus.or.jp/lls2003/document/p2.log

(03:58)

_ ¤½¤Î pragma

http://d.hatena.ne.jp/kurimura/20061204

ÃΤé¤ó¤«¤Ã¤¿¤«Ëº¤ì¤Æ¤¿¡ª

(04:11)

_ ¤¤¤ä¡Ä¡ª

ÀÛ¼Ô¤Ë¤Ï print+ ¤Î + ¤¬Èó¾ï¤Ë°Å¹æ¤Ç¤´¤¶¤Ã¤¿¤Î¤Ç¤¹¡ª ¤Ê¤ó¤« print~~ ¤È¤«¤â¸«¤¿¤³¤È¤¢¤Ã¤¿¤ó¤Ç¤¹¤±¤É¤Í¡£

http://www.typemiss.net/blog/kounoike/20061204-116

¤È¤¤¤¦¤«Á´ÂΤ«¤éɺ¤¦¤¢¤ä¤·¤²¤Ê¥ª¡¼¥é¤Ç¤·¤ç¤¦¤«¡£ ¤ª¤ª¤Ê¤ó¤« Perl Golf ´·¤ì¤Æ¤ª¤é¤ì¤ë´¶¤¸¤À¤Ê¤¡¤È¤¤¤¦¥ª¡¼¥é¡£

(04:51)

_ ²òÀÏŪ¤Ë¤â²ò¤±¤ë¤À¤í¤¦¤±¤É

http://arton.no-ip.info/diary/20061205.html#p01


T=1000
expect=0.0
done_prob = 0.0

for i in 3..T
  prob = (1.0 - done_prob - 1.0/(3.0**(i-2))) / 3
  done_prob += prob
  expect += prob * i
end

p expect

¤¨¡¼¤È¸Ä¿ô°ìÈ̲½¤·¤¿¾ì¹ç¤Ï¡Ä º£Åٹͤ¨¤ë¤ë¤ë

(05:15)

_ K

06:44 <******c> we are the knights who say 'D!'
06:44 <******c> D!
06:45 <****y> D!
06:45 <****s> D! D! D!
06:45 <******c> D! D!
06:45 <*****]> D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D! D!

(06:47)

_ tho

¢£tho : ¡Úȯ²»¡Û©æ©Êu¡¢¡Ú¥ì¥Ù¥ë¡Û9
 ¡ÚÉû¡¦ÀÜ¡Û=though

¤Þ¤¡¤½¤¦¤À¤í¤¦¤Ê¤È»×¤Ã¤Æ¤¿¤±¤ÉÄ´¤Ù¤Æ¤Ê¤«¤Ã¤¿¤Î¤Ç°ì±þ³Îǧ¡£

(06:48)

_ ¤¢¡¼¤½¤ì¤À¤È

l: __asm__("pop %eax"); ¤Ê¤ó¤«¤ÈƱ¤¸¤³¤È¤Ç¤¹¤è¤Í¡£

http://d.hatena.ne.jp/giveup/20061205#1165270467

¤Ê¤ó¤È¤¤¤¦¤«¡¢°ì²óµ¢¤ë¤À¤±¤Î¥¹¥¿¥Ã¥¯¤ÎÉý¤Î ÅÔ¹ç¤ò¤¢¤ï¤»¤¿¤À¤±¤Ç¡¢ ¤â¤¦°ì¸Ä¥¹¥¿¥Ã¥¯¥Õ¥ì¡¼¥àºî¤é¤ó¤È 2²ó ret ¤Ï¤Ç¤­¤Ê¤¤¤È¤¤¤¦¤«¡Ä

l: ¤Î¤È¤³¤í¤Ç main ¤ÎƬÁêÅö¤Î ¥¹¥¿¥Ã¥¯¥Õ¥ì¡¼¥àºî¤ë½èÍý¤ò¤·¤Æ¤Ê¤¤¤Î¤¬ÌäÂê¤Ê¤Î¤Ç¡£ °ìÈÖ´Êñ¤Ê¤Î¤Ï main ¤ÈƱ¤¸½èÍý¤ò ¼«Ê¬¤Ç¥¤¥ó¥é¥¤¥ó¥¢¥»¥ó¥Ö¥é¤ÇËä¤á¤Æ¤ä¤ë¤³¤È¤Ê¤ó¤Ç¤¹¤¬¡¢

i@u ~/test> cat hello_again.c
#include <stdio.h>
#include <stdlib.h>
main(int argc, char **argv) {
    ((void (*)(void))&&l)();
    printf("world!\n");
    if (argc < 99) return 0;
l:
    __asm__("lea    0x4(%esp),%ecx;\n"
            "push   %ebp;\n"
            "mov    %esp,%ebp;\n"
            "push   %ebx;\n"
            "push   %ecx;\n"
            "sub    $0x10,%esp;\n");
    printf("Hello ");
    return 0;
}
i@u ~/test> gcc hello_again.c -g
i@u ~/test> ./a.out
Hello world!

¤³¤ì¤À¤ÈÌÀ¤é¤«¤Ë¾®ºÙ¹©¤¬¸«¤¨¤ë¤Î¤ÇÌÌÇò¤¯¤Ê¤¤¤· °Ü¿¢À­¤â̵¤¤¤·¡Ä¤È¤¤¤¦¤è¤¦¤Ê¡£

¤Ç¡¢ l ¤Î³ºÅö°ÌÃÖ¤ò memcpy ¤Ç main ¤«¤é¥³¥Ô¡¼¤·¤Æ½¦¤Ã¤Æ¤¯¤ì¤Ð¡¢ ·ë¹½ÌÌÇò¤¤¤«¤Ê¤¡¤È»×¤Ã¤¿¤Î¤Ç¤·¤¿¡£

Ëͤϥ¹¥¿¥Ã¥¯¥Õ¥ì¡¼¥à¤¬¸«¤¨¤Ê¤¤»Ò¤Ê¤Î¤Ç ¤³¤¦¤¤¤¦Í·¤Ó¤Ï¶ì¼ê¤Çº¤¤ë

(07:54)

_ italics

http://docs.sun.com/app/docs/doc/802-1930-04/6i5u966q3?l=ja&a=view

ZH ¤¬ enter_italics_mode ¤Ç ZR ¤¬ exit_italics_mode ¡£ ¤ó¤Ç¤â¤Ã¤Æº£»þ¤ÎüËö¤â¤¢¤ó¤Þ¤ê italics ¤ÏÂбþ¤·¤Æ¤Ê¤¤´¶¤¸¡¢¤Ê¤Î¤«¤Ê¤¡¡£

(09:03)

_ xcompmgr

¤¢¤Ã¤µ¤ê apt ¤ÇÆþ¤Ã¤¿¤Î¤Ç¾¯¤·Í·¤Ö¡£ sevilwm ¤ò¤Á¤ç¤Ã¤È¤¤¤¸¤Ã¤Æ¡¢

KEY(XK_o, ev_exec_command, "transset-df -p -i %d 0.3")
KEY(XK_o|SHIFT, ev_exec_command, "transset-df -p -i %d 1.0")

¤ß¤¿¤¤¤Ë %d ¤ò»ØÄꤹ¤ë¤È Window ID ¤¬ÅϤë¤è¤¦¤Ë¤·¤¿¤È¤³¤í¡¢ Ctrl+Alt+o ¤ÇÆ©²á¡¢ Ctrl+Alt+O ¤ÇÆ©²á²ò½ü¡¢¤È¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£

¸å¤ÏÇØ·Ê¤Ë IRC ¤Î¥í¥°¤Ç¤âή¤·¤Æ¤ª¤±¤Ð¥Ï¥Ô¡¼¤Êµ¤¤¬¤¹¤ë¡£ µ¤¤Î¤»¤¤¤«¤â¤·¤é¤ó¤¬¡£

¤¿¤ÀÆäËÆ©²á¤ò¥ª¥ó¤Ë¤·¤Æ¤ª¤¯¤È¥à¥Ã¥Á¥ã½Å¤¤¤Í¡£ ¤Þ¤¡°ì½ÖÆ©¤±¤µ¤»¤Æ΢¤ò¸«¤ë¡¢¤Ã¤ÆÍÑÅÓ¤ò¹Í¤¨¤Æ¤ë¤Î¤ÇÎɤ·¡£

(09:44)

_ PHP ¤Ï¤¸¤á¤Þ¤·¤¿

3rd   shinh             174  Php      9,827 (v21)

e-

(10:58)

_ PHP¥Ö¥í¥°

¤è¤¯¤¢¤ë¤³¤ó¤Ê¥³¡¼¥É¡£

i@un ~/test> cat stupid1.php
<?
for($i=0;++$i<10;)echo$i;
echo"\n";
i@un ~/test> php stupid1.php
123456789

for ¤ÎºÇ¸å¤Ë¤Ä¤±¤ë¤È¡¢

i@un ~/test> cat stupid1.php
<?
for($i=0;++$i<10;echo$i);
echo"\n";
i@un ~/test> php stupid1.php
PHP Parse error:  syntax error, unexpected T_ECHO, expecting ')' in /home/i/test/stupid1.php on line 2

¤¨¡¼¡£

print ¤Ê¤é

i@un ~/test> cat stupid1.php <? for($i=0;++$i<10;print$i); echo"\n"; i@un ~/test> php stupid1.php 123456789

ÌäÂê¤Ê¤¤¤ó¤Ç¤¹¡£¤¨¡¼¡£

(14:24)

_ ¤Ç¤â

Java ¤ÏµñÈݤ¹¤ë¢ö

¥À¥á¤¸¤ã¤Ê¤¤¡ª

(16:06)

_ ¤½¤ó¤Ê¤³¤È¤è¤ê

º£¸å¤Î D ¤Ë¤Ï¥Í¥¤¥Æ¥£¥Ö¸À¸ì¤«¤Ä ¤Ê¤ó¤Æ¤¤¤¦¤ó¤À¤¢¤ì¡¢ÀÅŪ¤Ë´Ø¿ô¹´Â«¡©¤¹¤ë¸À¸ì¤Ë¤ª¤±¤ë ¥é¥ó¥¿¥¤¥à¾ðÊó¤Î¤³¤ì¤«¤é¡¢ ¤ß¤¿¤¤¤Ê¤Î¤ò¸«¤»¤Æ¤â¤é¤¤¤¿¤¤¤Î¤Ç¤¹¡£

¤¼¤Ò¥é¥¤¥Ö¥é¥ê¤Ç·Ñ³½ñ¤±¤ë¸À¸ì¤È¤«¤Ë¤Ê¤Ã¤ÆÍߤ·¤¤¤â¤Î¤Ç¤¹¡£

(16:24)

_ ¤Ê¤ë¤Û¤É¤Ã

ºÇ¶á¥Í¥¿¥¹¥¯¥ê¥×¥È¸À¸ìºî¤í¤¦¤È»×¤Ã¤Æ¤¿¤«¤é LISP ¤«¤Ö¤ì¤·¤Æ¤¿¤Î¤«¡ª

¤¤¤ä LISP ¥»¥ß¥Ê¡Á¤Ç¤Þ¤µ¤Ë¤½¤ó¤ÊÏäòʹ¤¤¤¿¤«¤é¤Êµ¤¤â¤¹¤ë¤±¤É

(18:02)

_ ¤Ê¤ó¤«

¤Ï¤Æ¤Ê¤Ç¥³¥á¥ó¥È¤·¤¿¤é²½¤±¤¿¡£ EUC ¤Î¥µ¥¤¥È¤Ë w3m ¤Ç²½¤±¤ë¤È¤Ï¤Ê¤Ë¤´¤È

(19:08)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´2·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ ¤³¡¼¤Î¤¤¤± [¥ª¡¼¥é½Ð¤Æ¤Þ¤¹¤«¡£¤½¤ì¤ÏÎɤ«¤Ã¤¿¤Ç¤¹¡£°ÕÃϤǤҤͤê½Ð¤·¤¿¤Î¤Ç¡£ php¤Îecho¤Ã¤Æ³Î¤«¡Öʸ¡×°·¤¤¤¸¤ã¤Ê¤«¤Ã¤¿¤Ç¤·¤¿..]

_ shinh [»ä¤â Perl ¤Ç¥ª¡¼¥é½Ð¤»¤ë¤è¤¦¤Ë¤Ê¤ê¤¿¤¤¤È»×¤¤¤Þ¤¹¡£ php ¤ÎÏäϤ¨¤¨¡¢Ê¸¤Ê¤ó¤À¤È»×¤¤¤Þ¤¹¡£ echo(ech..]


2006-12-04

_ ¤Ø¤¨

http://d.hatena.ne.jp/colun/20061203#p1

Windows ¤À¤È¼«¸Ê½ñ¤­´¹¤¨¤¬¥¢¥ì¤È¤«¡£ º£ÅÙ¤ä¤Ã¤Æ¤ß¤è¤¦¡£ ¤½¤ÎÏäÎÇØ·Ê¤Ï shuJIT ¤À¤í¤¦¤±¤É¡¢ JVM ¤Î JIT ¤È¤«¤½¤¤¤¦´Ä¶­¤Ç¤ä¤ë¤ÈÂçÊѤʤΤ«¤Ê¤¡¡£

¤¢¤È NULL ¤¬ C++ ¤Ç¡Ä¤Ï¤Þ¤µ¤Ë¤½¤¦¤À¤Ê¤¡¡£ ¤¢¤ÈÆɤ߹þ¤ß¤µ¤ì¤Æ¤Ê¤¤¤È¤«¤â¤Þ¤µ¤Ë¤½¤¦¤À¤Ê¤¡¡£

(00:02)

_ ¥á¥â

¥á¥â¼è¤ê¤Î¥¢¥É¥ì¥¹¤òÉáÄ̤˽ñ¤¤¤Æ¤Æ¥¢¥Û¤«¤È¤ï¤é¤¿¡£ ¥¹¥Ñ¥àÍ褿¤éÌÌÇò¤¤¤Ê¤¡¡£ ¤Þ¤¡º£¤Î¤¦¤Á¤Ë From À©¸Â¤«¤±¤È¤¯¤«¡£ ¤Æ¤¤¤¦¤«´û¤Ë¤«¤«¤Ã¤Æ¤¿¤Ã¤±¡£

(00:03)

_ kinda

¤è¤¯¸«¤ë¤Ê¤¡¤È»×¤Ã¤ÆÄ´¤Ù¤¿¡£

¢£kinda : ¡Úȯ²»¡Ûk©×in(d)«°(¥«¥¤¥ó¥À¡¼)¡¢¡Ú¥ì¥Ù¥ë¡Û6
 ¡ÚÉû¡Û=kind of¡¢´öʬ¡¢¤Á¤ç¤Ã¤È¡¢¤¢¤ëÄøÅÙ¡¢¤«¤Ê¤ê

¤Ê¤ë¤Û¤É kind of ¤ÏÊØÍøɽ¸½¤À¤è¤Ê¤¡¡£ ÌäÂê¤Ï kinaba ¤È¶õÌÜΨ100%¤Ê¤³¤È¤Ç¤¹¤¬¡£

(01:06)

_ Ì´

¥Þ¥È¥ê¥ç¡¼¥·¥«±§ÃèÁ¥¤Èµ´¤´¤Ã¤³¤È¡£ ¥Þ¥È¥ê¥ç¡¼¥·¥«¤ÎÊý¤ÏÁϺî¤È¤Ï»×¤¨¤ó¤Ê¤¡¡Ä

(11:24)

_ Windows¥­¡¼¤È¤¤¤¦¡Ä

http://d.hatena.ne.jp/giveup/20061203#1165165185

¤¢¡¼¤Ê¤ó¤«HHK¤â¤è¤¯¸«¤ë¤È Alt^Opt ¤È¤« ½ñ¤¤¤Æ¤¢¤ë»È¤Ã¤Æ¤Ê¤¤¥­¡¼¤¢¤ë¤Ê¡¼¡£ ¤³¤ìº£¤Ï X Ū¤Ë¤Ï¥¹¥Ú¡¼¥¹¤«¡¼¡£

¤¦¤àͽÁÛÄ̤êÊÑ´¹/̵ÊÑ´¹¥­¡¼¤Î¤è¤¦¤À¡£ Thinkpad ¤òľÀÜ¿¨¤ë»þ¤Î¤¿¤á¤Ë¥¹¥Ú¡¼¥¹¤Ë¤·¤¿¤ó¤À¤Ê¡£ ¤Ä¡¼¤³¤È¤Ï¼«Í³¤Ë»È¤¨¤ë¡£ ¤±¤É¤³¤ì¥â¥Ç¥Õ¥¡¥¤¥¢¤Ë¤Ï¤Ê¤é¤ó¤è¤¦¤Ê¤ß¤¿¤¤¤Ê¡£

¤¢¤È¤½¤â¤½¤âÊÌ¤Ë Ctrl+Alt »È¤ï¤Ê¤¤»Ò¤Ê¤ó¤À¤è¤Ê¤¡¡£

(11:32)

_ ¤É¤¦¤Ç¤â¤¤¤¤¤Ç¤¹¤¬

http://d.hatena.ne.jp/giveup/20061203#1165166438

memset(&p, 0, sizeof(p)); ¤Ç¤Ê¤¤¤È¡Ä

Ïü«ÂΤϤ¿¤Þ¤Ëʹ¤¯Ïäʤó¤Ç·ë²Ì¤¬ÊѤï¤ë¤ó¤Ç¤·¤ç¤¦¤Í¤§¡Ä Èó¥Ì¥ë¥¼¥í´Ä¶­Íߤ·¤¤

(11:45)

_ ¤Á¤Ê¤ß¤Ë

showkey ¤Í showkey ¡£ key ¤Î¥­¡¼¤Î¥­¡¼¥Ü¡¼¥É¤Î¥­¡¼¥³¡¼¥É¤Î¥³¡¼¥É¤Î code ¤Î scan ¤Î¥¹¥­¥ã¥ó¤Îɽ¼¨¤¹¤ë¤Î¤Ï showkey ¤Ã¤Æ¥³¥Þ¥ó¥É¤À¤«¤é¡£ ¤³¤ó¤À¤±¤¢¤ì¤Ð¤Þ¤¿Ëº¤ì¤Æ¤â¸¡º÷¤Ç¤­¤ë¤À¤í¤¦¡Ä

(11:54)

_ ¤³¤ó¤Ê´¶¤¸¤Ç¡Ä

find `echo $PATH|sed 's/:/ /g'` -name *key*

¤ó¡¼

findpath () {
    find `echo $PATH|sed "s/:/ /g"` -name $@
}

¤Ê¤ó¤« noglob ¤Ë¤Ç¤­¤ó¤Ê¤¡¡£

(12:04)

_ screenrc

screen ¥Ð¥Ã¥Õ¥¡¤ò X ¤ËÁ÷¤ë ~/bin/__scr2x ¤ò¾¯¤·¼ê¤òÆþ¤ì¤¿¡£

#!/bin/bash

screen -X eval "msgminwait 0" "writebuf /tmp/scr" "bell_msg 'hoge'" "msgminwait 1"
trap '' SIGHUP
sleep 0.2
xclipstr "`cat /tmp/scr`" &
screen -X echo 'xclip'

Í×¤Ï sleep Æþ¤ì¤¿¡£ Æþ¤ì¤Ê¤¤¤È·ë¹½¥¢¥ì¤À¤Ã¤¿¡£

¤¢¤È copy »þ¤Î emacs ²½

markkeys "h=^B:l=^F:$=^E"

¤µ¤ì¤Æ¤Ê¤«¤Ã¤¿¤Î¤Ç¤·¤¿¡£ ¤³¤ì¤Ï¤Ê¤ó¤«¥¤¥ä¤ÊÍýͳ¤¬¤¢¤Ã¤¿µ¤¤â¤·¤¿¤ó¤À¤±¤É¡¢¤Ê¤ó¤À¤Ã¤¿¤«¡£

(13:13)

_ ¤¦¡¼¤ó

http://msdn.microsoft.com/library/ja/jpmemory/html/_win32_VirtualProtect.asp?frame=true

http://f4.aaa.livedoor.jp/~madprog/doc/self-mod.html

¼ê¶á¤Ê¤È¤³¤Ë Windows Íߤ·¤¤¤Ê¤¡¡£ ¤Ä¤Þ¤ê HHK ¤«¤é¼ê¤ò¤Ï¤Ê¤µ¤º¤Ë ¥í¥°¥¤¥ó¤·¤Æ¥³¥ó¥Ñ¥¤¥éÁö¤é¤»¤é¤ì¤ë¤¯¤é¤¤¤Îµ÷Î¥¤ËÍߤ·¤¤¡£

¥Ç¥£¥¹¥×¥ì¥¤ÃÖ¤±¤ë¤Á¤ã¤ÖÂ楲¥Ã¥È&& ¤Ê¤ó¤Á¤ã¤Ã¤Æ¥Ç¥å¥¢¥ë¥Ç¥£¥¹¥×¥ì¥¤|| ŬÅö¤Ë¥´¥ß¥Î¡¼¥ÈPC¥²¥Ã¥È&& VNC ¤Î¤É¤Ã¤Á¤«¤«¤Ê¤¡¡£ ¤Ê¤ó¤Á¤ã¤Ã¤Æ¥Ç¥å¥¢¥ë¤Ï¥Ç¥¹¥¯¥È¥Ã¥×¤Î Windows¥Þ¥·¥ó¤¬»ÈÍÑÉԲĤˤʤë¤Î¤¬Äˤ¤¡£

¤È¤ê¤¢¤¨¤º Windows ¥Þ¥·¥ó¤Ë VNC Æþ¤ì¤ë¤«¡Ä

(13:40)

_ eval qq{tr

¤ª¡¼¤³¤¦¤¤¤¦¥¤¥Ç¥£¥ª¥à¤¬¡£

http://d.hatena.ne.jp/tociyuki/20061204/1165201446

via http://d.hatena.ne.jp/sumim/20061203/p2

Ruby ¤ÎÊý¤Ï¤â¤¦¤Á¤ç¤¤Ã»¤¯¤Ç¤­¤ë¤«¤·¤é¡£

tr »È¤¦¤Ê¤é

echo HZPFIZ | ruby -pe '$_.tr!("A-Z",[*"A".."Z"].reverse*"")'

gsub ¤Ï Kernel#gsub ¤Î¤ª¤½¤í¤·¤µ¤ò³À´Ö¸«¤ì¤Þ¤¹¡£ ¥´¥ë¥Õ¤Ê¤é¤¢¤È1B¤Ï½Ì¤á¤ë¤±¤É¡£

echo HZPFIZ | ruby -pe 'gsub(/[A-Z]/){(155-$&[0]).chr}' 

String#gsub ¤È String#gsub! ¤Î°ã¤¤¤ÏÉáÄ̤Ǥ¹¡£ gsub! ¤ÎÊý¤Ï¸µ¤Îʸ»úÎó¤ò½ñ¤­´¹¤¨¤ë¤ï¤±¤Ç¤¹¡£ Kernel#gsub ¤È Kernel#gsub! ¤Î°ã¤¤¤Ï¤Ê¤ó¤È¡ª ½ñ¤­´¹¤¨¤Ê¤«¤Ã¤¿¾ì¹ç¤ÎÌá¤êÃͤ·¤«°ã¤ï¤Ê¤¤¤Î¤Ç¤¢¤Ã¤¿¡¼¡ª¡ª

¤É¤¦¤Ç¤â¤¤¤¤¡£

(13:49)

_ ¤¢¤È Perl ¤Ï

tr ¤è¤ê y ¤ÎÊý¤¬Ã»¤¤¤È¤«¤Ã¡Ä¡ª

(13:50)

_ ¥°¥ê¡¼¥Æ¥£¥ó¥°¥«¡¼¥É

NII ¤«¤é¾¤ËÁ÷¤ëÍѤΥ°¥ê¡¼¥Æ¥£¥ó¥°¥«¡¼¥É¤È¤ä¤é¤¬ Á÷¤é¤ì¤Æ¤­¤¿¤ó¤À¤±¤É¡¢ ÆüËܤ¬³Ë¹¶·â¼õ¤±¤Æ¤ë¤È¤·¤«»×¤¨¤Ê¤¤³¨ÊÁ¤À¤Ã¤¿¡£

(14:14)

_ SSL¤È¤«½ð̾¤È¤«

µ¶Áõ¤È¡¢´ÉÍý¼Ô¤Î̵ÃÎ/ÂÕÂƤˤè¤ë ´ü¸ÂÀÚ¤ì¤Î¶èÊ̤¬¤Ä¤«¤ó¤Î¤¬¤¿¤Ö¤ó¡¢ ¥»¥­¥å¥ê¥Æ¥£¤Î¿ÍŪ¤Ë¥·¥å¥Ã¥·¥å¥Ã¤Ê¤ó¤À¤È»×¤¦¤ó¤À¤±¤É¡£

´ü¸ÂÀÚ¤ì¤È¤«¡¢Ã±¤Ê¤ë GET ¤Ç¥Ö¥é¥¦¥¶¤¬ ¤¤¤Á¤¤¤Á¶¯¤¤·Ù¹ð½Ð¤¹¤«¤é¤¤¤«¤ó¤Î¤«¤Ê¤¡¡£ ¤Ö¤Ã¤Á¤ã¤±´ü¸ÂÀÚ¤ì¤Î¾ÚÌÀ½ñ¤È¤«¤Ã¤Æ¤Û¤Ü°ÂÁ´¤Ê¤ó¤¸¤ã¤Ê¤¤¤Î¤È¤«¡£ ǧ¾Ú¶ÉÄ̤äƤʤ¤¾ÚÌÀ½ñ¤ËÂФ·¤Æ¡¢ ¥Ñ¥é¥á¡¼¥¿¤òÅϤ¹¾ì¹ç¤Ë¸Â¤Ã¤Æ¡¢ ¤Ê¤ó¤«¶¯¤¤·Ù¹ð½Ð¤¹¤È¤«¤Ê¤é¤½¤ó¤Ê¤Ë¤¦¤Ã¤µ¤¯¤Ê¤¤¤·¡¢ ¥é¥¤¥È¤Ê¥æ¡¼¥¶¤âµ¤¤ò¤Ä¤±¤ë¤ó¤¸¤ã¤Ê¤¤¤«¤Ê¤¡¤È¤«¡£

CAVE¼°¤Ë

¤³¤ÎÀè¤Ë¤Ï¡¢Ë½ÎÏŪ¤Çµ´¤Î¤è¤¦¥ª¥ì¥ª¥ì¾ÚÌÀ½ñ¤¬¤¢¤Ê¤¿¤òÂԤäƤ¤¤Þ¤¹¡£
¤½¡¦¤ì¡¦¤Ç¡¦¤â¡¦Àè¤Ë¿Ê¤ß¤Þ¤¹¤«¡£
  YES
> NO

¤¯¤é¤¤¤ä¤ì¤Ð¤¦¤¶¤¯¤Æ¤¤¤¤¤ó¤¸¤ã¤Ê¤¤¤«

(14:30)

_ 狼¤½¤¦¤¤¤¦ extension ½ñ¤¤¤Æ

(14:30)

_ ¤Ñ¡¼¤ë¤´¤ë¤Õ

http://www.typemiss.net/blog/kounoike/20061204-115

Ê̲ò¤¬°Å¹æ¤À¤Ê¤¡¤¹¤´¤¤¡£

¤È¤³¤í¤Ç Code Golf ¤Î¥ë¡¼¥ë¤Ç¤¹¤¬¡¢ ¡Ö½ÐÎϤκǽé¤Ë²þ¹Ô¤òÆþ¤ì¤Æ¤¤¤¤¡×¤È¤¤¤¦¤Î¤¬ ¤¢¤ë¤È¤¤¤¦¤Î¤Ï°Æ³°ÃΤé¤ì¤Æ¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

(20:15)

_ another D in programming

¤Æ¤Ê¤ó¤«¤Í¡¼¤Èʹ¤¤¤Æ¤ß¤¿¤é¡¢ 2ch¤Ç¥Ø¥ó¤Êµ¤¤¬¤¹¤ë¤È¤¤¤Ê¤Ð¤µ¤ó¤¬¤ª¤Ã¤·¤ã¤Ã¤Æ¤¤¤¿ ³Ø¹»¤Îɾ²Á¤À¤í¡¼¤Í¤È¤¤¤¦Ïä餷¤¯¡£ ¤Ê¤ó¤« US ¤À¤È ABCDF ¤È¡¢ D ¤ÏÆüËܤǸÀ¤¦ C ¤È¤«²Ä¤Ê¤Î¤Ç¡¢ ¥×¥í¥°¥é¥ß¥ó¥°¤Îñ°ÌÉԲĤ¸¤ã¤Ê¤¯¤Æ¤è¤«¤¿¡¼¤È¤¤¤¦¡¢ D ¤Î°ÕÌ£¤¬°ã¤¦°Ê¾åÌõ½ÐÉÔǽ¤Î°ÕÌ£¤Ê¤Î¤«¤Ê¤¡¤È¤¤¤¦´¶¤¸¤À¤Ã¤¿¡£ ¤¿¤·¤«¤Ë Segfault ¤µ¤ó¤Æ̾Á°¤Î»þÅÀ¤Ç¤Ê¤ó¤« À®ÀÓ°­¤½¤¦¤Ê¤ï¤±¤Ç¤½¤ó¤Ê´¶¤¸¤Ê¤Î¤«¤Ê¤¡¤È¡£

¤¢¤ÈÆüËܤÎɾ²Á¤Ï SABC ¤¸¤ã¤Í¡¼¤Î¤«¤È¤«¸À¤ï¤ì¤¿¡£ ¥²¡¼¥àÂç¹ñ¡ª¡ª

(20:35)

_ 11

00: A, 01: B, 10: C, 11: D ¡¢ ¤Ç¤¹¤«¤é¡¢ 1·î1Æü¤¬ D ¤ÎÆü¤È¤¤¤¦¤Î¤âǼÆÀ¤¬¤¤¤­¤Þ¤¹¡£ ²¿¤ò±£¤½¤¦¡¢ C89 ¤Ï 1·î0Æü¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤Þ¤·¤¿¡£

(21:20)

_ ¤Æ¤³¤È¤Ï

C++ ¤Ç execl ¸Æ¤Ö¤È·ë¹½¤¢¤Ö¤Ê¤«¤·¤¤¤Î¤«¤Ê¤¡¡£

(22:58)

_ ¤¯¤½¤¦È¯À¸¤·¤Ê¤¤

¤ªÁ°ËÜÅö¤Ë 64bit ¤Ê¤ó¤«¡ª

(23:10)

_ ¥³¥ó¥Ñ¥¤¥é¤¬¥³¡¼¥É¾Ã¤¹¤Î¤Ï

http://d.hatena.ne.jp/giveup/20061204#1165241449

if (argc < 99) return 0;

¤È¤«¤Ç¤Ê¤ó¤È¤«¤Ê¤ë¤±¤É¡¢ ¥¹¥¿¥Ã¥¯¤ÎÄ´À°¤¬¤Ê¤¡¡£

memcpy(&main, &&l+???, 15);

¤È¤«¤ÇÆ°¤¯¤È¤«¤Ã¤³¤¤¤¤¤±¤É¡£

(23:32)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´5·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]

_ k.inaba [¡ÖD¤Ã¤Æ°­¤¤À®ÀӤʤϤº¤À¤«¤é¤è¤¯¤ï¤«¤é¤ó¤Ê¤¢¡×¢ª¡Ö¤È¤ê¤¢¤¨¤ºÄ¾Ìõ¤·¤È¤±¡×¢ª¡Ö2ch¤ÇÊ̤βò¼á(Dimension)¤¬..]

_ shinh [¤Ê¤ë¤Û¤É¡£¸Ä¿ÍŪ¤Ë¤ÏÌõ¤»¤ë¤â¤Î¤ÏÌõ¤·¤Æ¤â¤é¤Ã¤¿Êý¤¬¤ï¤«¤êÎɤ¤µ¤¤¬¤·¤Þ¤¹¡£º£¸«¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢ blockquote ..]

_ LETTER [ÌÌÇò¤½¤¦¤À¤Ã¤¿¤Î¤ÇFirefox¤Î³ÈÄ¥¤ò½ñ¤¤¤Æ¤ß¤Þ¤·¤¿¡£ http://d.hatena.ne.jp/letter/..]

_ shinh [¤ª¤ª¤ª¤¹¤Ð¤é¤·¤¤¡£¤µ¤Ã¤½¤¯Æþ¤ì¤Æ¤ß¤Þ¤·¤¿¡£¤³¤ó¤Ê°ÛÍͤʥá¥Ã¥»¡¼¥¸¤¬½Ð¤ì¤Ð¤µ¤¹¤¬¤Ë¤Ó¤Ó¤ê¤Þ¤¹¤Í¡ª ¤¢¤È¡¢¡Ö¤³¤ó¤Ê¤¢¤ä¤·..]

_ ¥¢¥ê¥Ð¥¤²ñ¼Ò [Ä̤ꤹ¤¬¤ê¤Ç¤¹¡£ <a href=http://dmajor.info/>¥¢¥ê¥Ð¥¤²ñ¼Ò</a>]


Á° 2024ǯ
11·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
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
1.Kim (2021-04-19 15:39) 2.shinh(2014-05-24 02:58) 3.rui(2014-05-24 02:58)
search / home / index

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

shinichiro.hamaji _at_ gmail.com / shinichiro.h