2007-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã¨ãããã¡ãªãã¿ã§ãã¾ã£ããé¢ä¿ãªãè¬ç¾©åãã¦ãã¨ãã«ãµã¨æãã¤ããã #include <stdio.h> #include <string.h> char COUNTER_CODE[] = { 0x55,0x89,0xe5,0xff, 0x05,0x00,0x00,0x00, 0x00,0xa1,0x00,0x00, 0x00,0x00,0xc9,0xc3 }; /* int falsecounter(){ return ++*(</string.h></stdio.h>â¦
ããããã¼ãã¼ãééãã¡ãã£ããªããã¤ã³ã¿ã¼ãããä¾åçãªãã¦è¨èæã£ã¦ããã¾ã§ããªãããã¡ãªããã確å®ã«åå¨ãããããªããã¡ãªããã¯ä¾¿å©ãªã®ã¨æ¥½ããã®ã¨ã
ãã£ã±ã楽ãããªããã¯ããã¨ã¯ um-spec.txt ã®ã#12. Load Program.ããªãã¬ã¼ã·ã§ã³ãæ¸ãã°åãã¯ããæ¬å½ããªããåããªãããããªããåããã© program scroll ãæ£ããèªãã¦ãªããã»ãã
ããã°ã©ã ã§å¤§ããªä¿®æ£å ãããããã©ãããããªã³ã¢ãã³ããã¦ãããããããã§ããããã¬ã§ã§ã°ããããã¨æã£ãããã·ã³ã« gdb ãå ¥ã£ã¦ãªãã£ããä»æ¹ãç¡ãã®ã§ããã©ããããã© Visual Stdio ã®ãããã¬ä½¿ãã¹ããã¨ãä¹ ãã¶ãã« VC6 èµ·åãvim ã§æ¸â¦
http://www.boundvariable.org/task.shtml ããããããããæãã¿ãã¬èªãã ããããã©ãããæã®ä¿ºã«ã¯ãã³ãã³ã«ã³ãã³ã ã£ãããªãã ã§ãµãããªæ¶ãã¦ããªãã®ã§ãé常ã«æ°é®®ãªæ°æã¡ã§ææ¦ä¸ãã¾ãæ詮俺ã ããæ°é·ã«ããã¹ã ICFP Contest ã§æ績è¯ãâ¦
åã§ãPostscript ããããã°ã©ãã³ã°ããã°ã©ãã³ã°ããé¨åãé¤ãããµãã»ããã XML ã§å®ç¾©ãã¦ã¿ã¾ãããã¿ãããªãã©ã¼ãããã ã¨äºæ³ãã¨ãè¨ã£ããã©ãæ¬å½ã«ããã ãªããããã®ããã«ä»æ§ã¨ãã®ã©ãã«ãPostscript ã®æåãç¡ããã©ãããã¨ãããã«â¦
Java5 ããã int[] a = {1, 3, 2, 4, 8}; for(int i : a){ System.out.printf(i); } ããããæ¸ãæ¹ã§ããã®ãã
ãªãã C++ ã£ã¦ããç¨åº¦èªã¿æ¸ãã§ããªãã¨æ¥ãããããããªæ°ããããæ¥ããããã£ã¤ãããC++ ã«ã¤ãã¦æ¥½ãããã«èªã£ã¦ã人å¤ãããç¥ããããã ãã©ã俺ã¯ãã¶ãã¾ã Java ã®æ¹ãããã£ã¦ããã©ã£ãã«ãJavist ã®ããã® C++ è¬åº§ãã¨ãç¡ãããªãææ¥ã¯â¦
ãã£ã±ãè±èªã®æç« èªãã«ã¯æ £ããä¸çªéè¦ã ãªããæ £ãã£ã¤ãããå¿ççæµæãåãé¤ããã¨ã£ã¤ãããæ £ãã£ã¡ã¾ãã°ãä¸è¨ãã Postscript ã®ããã¥ã¢ã«ã¨ãã³ã³ãã¥ã¼ã¿ç³»ã®æç« ã¯ãã¶ãããªãèªããããã®çéãã¿ãªãããã£ã¡ããæ¥ãåèªãããã¾ãæ¥â¦
ããããã°ä¿ºã Postscript ã«èå³æã£ããã¦ãshinhããããPostscript 楽ãããï¼ãã¨è«ããã¦ãã®ãè¦ã¦ããã ã£ããããã¶ãã ãããªããã§ã echo ãçãããã¦ã¿ããã /e{(%stdout)(w)file(%stdin)(r)file read{write e}if}def e ãããªãããªãæå¾â¦
Postscript ã®ææ³ã¯ããããããï¼ãå¾ç½®è¨æ³ã§ããã®ä¸è¨ã§æ¸ã¿ã¾ãï¼ããç°¡åã«ã°ã©ãã£ã«ã«ãªããã°ã©ãã³ã°ã¨ãã§ãããç´ æµãããªãæã£ã¦ãããã ãã©ããªããããã¨ãPostscript ã¯æ±ç¨è¨èªãããã«ï¼ãã¿ãããªä¸»å¼µãèãã®ã§ãã¡ãã£ã¨ãªãã¡ã¬ã³â¦
http://www.cc.uec.ac.jp/~kazutaka/ptt/index-j.html 5/31 @ UEC 俺ã¿ãããªä¸é¿åå¦çãæ°è»½ã«è¡ã£ã¦ããããããããããã©ããã
ãªããã3.141592653ãã£ã¦100åå ¥åãã¦ããã®ã¿ã¤ãã®éãã®åä¸æ²ç·ããã»ãã»ãããèå¯ã¨ãã¤ãã¦ã¬ãã¼ãããããã¨ãã®æéã¯ããããã°ã©ã ã¨ããèªåã§ã¤ãããã¿ãããªèª²é¡ãã¨ããè¬ç¾©ã§åºã¦ããã§ããã好ããªè¨èªã§ããã°ãããçãªãã¨ãè¨ã£â¦
俺ãååæãã¦ãã®ã¯ãåååºãã¦æ¥ãããããã¨æ¸ãã¦ãªããã¨ããææã¨ããããªãåååºãã¦è¯ããã¨ããã»ã©ä¾¡å¤ãããã¨æ¸ãã¦ãããã©ãã
ãç°¡åãªã·ã§ã«ããã°ã©ã ãã¤ãã£ã¦ã¬ãã¼ããæåºããªãããã§ã A4 ï¼æç¨åº¦ã«åã¾ãç¨åº¦ã§ããããããªãã¦è¬ç¾©ãããã¾ãã¦ãå¾ãã®æ¡ä»¶ãç¡ããã°ã¾ãè³ã¿ãç±ããªã£ã¦é¦¬é¹¿ãã¾ãã¨ããã§ããã©ãã¾ãé©å½ã« fork ã㦠exec ããç¨åº¦ã®ããã°ã©ã æ¸ãâ¦
æè¿ããã¦ããã¤ã§ãè±èªã®æ¬ãä¸å以ä¸ã¯æã¡æ©ãã¦ã¾ããæé空ãã¦ãã¨ããªããã«èªãç¨ãä¸å¿è±èªã®åå¼·ã¨ããæ°æã¡ããç¡ãããã§ã¯ãªãããããªã«ã¯ç¡ããè±èªã®æ¬ã£ã¤ã£ã¦ãè±èªã®ãåå¼·ããã¹ãã¨ããããªãã¦ããªããé©å½ãªããã°ã©ãã³ã°è¨èªã¨â¦
ä»æ¥ã®è¬ç¾©ã§ (Emacs) Lisp ãã¨ããã¤ãã£ããã ãã©ãããªã¹ãã§è¡¨ç¾ãããæååã«ãæåãæ¿å ¥ï¼åé¤ããé¢æ°ã¤ãã£ã¦ã¿ãã¤ã¼åé¡ã§ç¤ºããã解çã®ã½ã¼ã¹ã³ã¼ãã« setcdr ã¨ãã¯ãã£ã¦ã¦ã»ãããµã¤ã¼ã« (defun insert (string offset character) (if (=â¦
Java ã£ã¦ã®ã¯çµæ§ç¾ããè¨èªãªã®ããµã¸ãµã¸ã¿ãããªæè¦ã£ã¦ããã®ã¯ä¸ã®ä¸ã§çµæ§æµ¸éãã¦ããããªæ°ããããåè¦ããã俺ã¯ãã㨠Generics 大好ãã ãã ? æ¼ç®åã好ããªãã ãã©ãããããã®ã¯ Java çã«ã¯ Java ã£ã½ãã³ã¼ããªãããªãã ããããããâ¦
大å¦ã®èª²é¡ã§ã10ç§ééã§ç´°ããã»ãã»ããªéåãã¦ãã»ãããåæ°ã¨ãã人éã®ãµã¤ã¯ã«æéã¨ããããªè¦³ç¹ã§èå¯ãã¦ã¡ã¼ã«ã§æåºãããçãªã®ããããã§ããã©ã説æä¸æã ãªä¿ºã¯ãã§ã10ç§éã®ã¢ã©ã¼ã ãä½ååãé³´ããå¿ è¦ããã£ã¦ã ããããªéå®ç¨éãªâ¦
Apache Tomcat ã®ãã¹ã³ãããã£ã©ãããã¨ãã¢ãã¨æããã§ããã©ãã©ãããã°ãããã§ããããã 大å¦ã§å»å¹´ã®åè«ã®è¦æ¨éãæãèªã¿ãã¦ããããªããããã SVG ã®ãã¨æ¸ãã¦ãè«æå¤ãã£ããããªãäºã¤ã ãã ã£ããããããªããã©ãSVG ã£ã¦ããã ããâ¦
æè¿ã¯ããã® FizzBuzzãã¯ãã£ã¦ãããã£ã¤ã¼ãã俺ï¼ï¼ï¼ ã®æ¹ããããããªãã¨æãããã¦ã¦ãã£ã¦ã¿ãã for($i=1;$i<=100;++$i){ print $i%3!=0&&$i%5!=0?$i:$i%3!=0?"Buzz":"Fizz".($i%5==0?"Buzz":""); } ã§ãããè¯ãã£ãããããåç·ãã¦ãªããããä¹ â¦