ToDo:
http://pc8.2ch.net/test/read.cgi/tech/1165621441/72
ÊÌ¤Ë auto ¤Ï¤É¤Ã¤Á¤Ç¤â¤¤¤¤¤ó¤À¤±¤É¡¢ ¤ó¡¼¤È¡£
LongLongLongLongName!(T) f(T)(T t) { return new LongLongLongLongName!(T)(); }
¤³¤ó¤Ê¤ó¤¬¤á¤ó¤É¤¤¡£
template f(T) { alias LongLongLongLongName!(T) LN; LN f(T t) { return new LN(); } }
¸½¾õ¤³¤ì¤Ï¤Ç¤¤Ê¤¤¡£
YT ¤µ¤ó¤¬½ñ¤¤¤Æ¤¿¤ß¤¿¤¤¤Ë (http://d.hatena.ne.jp/ytqwerty/20061208#p2) ¤³¤¦¤¤¤¦¾ì¹ç¤Ë this »È¤¦¤è¤¦¤Ë¤·¤Æ¡¢ ¾Êά¤·¤¿¤éƱ̾¤È¤«¤¸¤ã¤Ê¤¯¤Æ this ¤È¤«¤Ê¤é ÌäÂê¤Ê¤¯¤Ê¤ë¤è¤¦¤Êµ¤¤â¤¹¤ë¤±¤É¡¢
LN this(T t) {
¤¦¤ª¡¼¥¥â¤¤¤¼¤È¤¤¤¦¤«¡¢ Ê̤ËÌäÂê¤ÏÊѤï¤Ã¤Æ¤Í¤¨¡£
(01:18)
¤³¤ì¤ÏÄ̤é¤Ê¤¤¡£
class C(T) { } template f(T) { alias C!(T) CT; CT f(T t) { return new CT(); } } void main() { f(1); }
¤ï¤«¤é¤ó¤Ê¡£
(01:24)
auto ¤¢¤ì¤Ð¤¦¤ì¤·¤¤¤Î¤«¤â¤·¤ì¤Ê¤¤¡£
auto f(T)(T t) { return new LongLongLongLongName!(T)(); }
¤Ç¤â¤³¤ì¤Þ¤¿ÂçÊѤ½¤¦¤Êµ¤¤¬¤¹¤ë¤ó¤À¤±¤É
(01:33)
http://d.hatena.ne.jp/hatenadiary/20061215/1166155734
¤Ï¤Æ¤Ê¤Î¥¹¡¼¥Ñ¡¼preµË¡¤Ç»È¤¨¤ë¸À¸ì°ìÍ÷¥ê¥¹¥È¡£
(02:55)
http://d.hatena.ne.jp/hasegawayosuke/20061222/p1
¤³¤ì¤Ï¥ê¥Æ¥é¥·¤¬¤¦¤ó¤Ì¤ó¤È¤«¤¤¤¦¥ì¥Ù¥ë¤¸¤ã¤Ê¤¯¤Æ ̵Íý¤À¤è¤Ê¤¡¡£
¤Ö¤Ã¤Á¤ã¤±²¶¤Ï¥¹¥Ú¡¼¥¹¤Ç ±¦¤ÎÊý¤Ë .exe ¤Ã¤Æ½ñ¤¤¤Æ¤¢¤Ã¤Æ¤â ¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤¹¤ë¤Í¡£ ¥ê¥Æ¥é¥·Ìµ¤¤¤·¡£
(05:13)
(global-set-key "\C-xt" nil)
¤ò skk.el ¤Ë¡¢¤Ç¤¤¤¤¤ó¤À¤í¤¦¤«¡£ \C-xrt ¤ò³Ð¤¨¤Æ¤«¤é typo Ψ°ÛÍͤ˹⤤¡£
(05:17)
¥¥â¤¤
http://www.yucasee.jp/index.php
¥¥â¤¤
https://www.todai-ob.net/about.html
via http://d.hatena.ne.jp/higepon/20061222/1166806513
¤¦¡¼¤ó¥¥â¤¤¡£
(05:27)
Firefox ¤Î swap ¤¬¤¦¤Ã¤µ¤¤¤«¤é swapoff ¤·¤Á¤Þ¤¨¡Ä ¤È¥ª¥Õ¤Ë¤·¤¿¤±¤É¡¢ ¤µ¤¹¤¬¤Ë¤½¤ì¤Ï¤É¤¦¤«¤Ê¡¼¤È»×¤Ã¤¿¤Î¤Ç¡¢ swappiness ¤ò¸º¤é¤·¤Æ¤ß¤¿¡£
i@u /proc/sys/vm> sudo sh -c 'echo 10 > swappiness'
(07:48)
http://pc8.2ch.net/test/read.cgi/tech/1165621441/84
¸Ä¿ÍŪ¤Ë¤Ï¡¢¤â¤¦ ¥³¥ó¥Ñ¥¤¥ë¥¿¥¤¥à¥·¥ó¥Ü¥ëÁàºî ÉáÄ̤ˤǤ¤ê¤ã¤¤¤¤¤Î¤Ë¤Í¡Ä¤È¡£
template (T, char[] name) getter { typeof(T) <[ name ]>() { return <[ name ~ "_" ]>; } typeof(T) <[ name ~ "_" ]>; } class C { getter!(int, i); }
(07:59)
http://d.hatena.ne.jp/nazodane/20061209/1165634909
Python ¤Î or Íߤ·¤¤·ã¤·¤¯Æ±°Õ¡¼¤È»×¤Ã¤Æ¤¿¤À¤±¤À¤Ã¤¿¤±¤É¡¢ Ruby ¤Ë := ¤È¤«¤¢¤Ã¤¿¤Ã¤±¡£
(09:31)
http://homepage3.nifty.com/mogami/diary/d0612.html#23t3
ǼÆÀ¤Ç¤¤Ê¤¤¤±¤É °ìÄêÀµ¤·¤¤¤Ê¤¡¤ß¤¿¤¤¤Ê¡£
(09:45)
\u3042=1; println(¤¢); // 1
println("1"+1-1); // 10
x=0; return x++; // 0 ¤¬µ¢¤ë
println(1..toString()); // 1
(17:41)
Á° | 2006ǯ 12·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
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°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£
>¥³¥ó¥Ñ¥¤¥ë¥¿¥¤¥à¥·¥ó¥Ü¥ë
¤Ä http://www.digitalmars.com/d/archives/digitalmars/D/41854.html
>Ruby ¤Ë := ¤È¤«¤¢¤Ã¤¿¤Ã¤±¡£
²¶¤Î´ª°ã¤¤¤Ç¤¹¡£Makefile¤Î?=¤È´ª°ã¤¤¤·¤Æ¤¿¤è¤¦¤Ç¤¹¡£
Ruby¤Ë¤Ï||=¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Î¤³¤È¤Ç¤¹¤«¤Í¡£
||=¤¬¤¢¤ë¡¢¤È¤¤¤¦¤è¤ê¤Ïñ¤Ê¤ësyntax sugar¤Ç¤¹¤¬¡£
¥³¥ó¥Ñ¥¤¥ë¥¿¥¤¥à¥·¥ó¥Ü¥ë¤Ïº£¤ÎD¤ÎÊ·°Ïµ¤¸«¤Æ¤¿¤éï¤Ç¤â¹Í¤¨¤ë¤è¤Í¤¨¤È»×¤¤¤Þ¤¹¤¬¤ä¤Ï¤ê¤¢¤Ã¤¿¤ó¤Ç¤¹¤Í¡£
¤¢¤È ||= ¤ÏǼÆÀ¤Ç¤¹¡£¥´¥ë¥Õ¤Î»þ¤¢¤ó¤Þ¤ê°Õ¼±¤·¤Æ¤Ê¤¤¤«¤é¡¢¤Ò¤ç¤Ã¤È¤·¤¿¤é½Ì¤àÌäÂꤢ¤ë¤«¤â¤·¤ì¤Ê¤¤¤Ê¤¡¤È»×¤¦º£Æü¤³¤Îº¢¤Ç¤¹¡£¤Þ¤¡Ìµ¤µ¤½¤¦¤Ç¤¹¤¬¡£