ååã®ããããã¨ä»åã®è©±
ååã¯æç¶ãåãã©ãã¤ã ã¨ãªãã¸ã§ã¯ãæåãã©ãã¤ã ãè¦æ¯ã¹ãã¨ãã«ããã²ã¨ããã¾ãã®ãã¼ã¿ã¨ãããæä½ããæç¶ããä¸ã«æã«ã¾ã¨ãã¦å®ããã¨ããæ¹åã«è¨èªãé²åãã¦ãã£ãã¨ããã²ã¨ã¤ã®å²è¦³ã示ãã¾ããããã®ä¸ã§è¿çã¨ãã¦ãæ§é åããã°ã©ãã³ã°ãã®æç¹ã§ãã®è¦ç¹ã¯ãã§ã«ããã¨ããææãé ãããããã¾ããããã ããã²ã¨ããã¾ãã®ãã¼ã¿ã¨ãããæä½ããæç¶ããä¸ã«æã«ã¾ã¨ãããã¨ããçºæ³ããªãã¸ã§ã¯ãæåã®ãã²ã¨ã¤ã®å´é¢ã¨ãã¦ã¯ããããã«ããã¾ããããã®å´é¢ãè¦ãã¨ããªãã¸ã§ã¯ãæåè¨èªã«ãè¨èªãã¶ã¤ã³ã§ãã£ã¦ããã°ã©ãã¼ããããè¡ãããããããã¨ããé¢ãè¦ãã ããã¨ãã§ãããã§ããããã¦ããã®è¦ç¹ã«ç«ã£ãã¨ãã«ãèã£ã¦ãããã¤ããè¨è¨ã¨ãã¦ãããã¼ã¿ãé²åºãã¦ãããå¥ã®ã¯ã©ã¹ã®ãã¼ã¿ããã£ã¦ãããè¤æ°ã®ç°ãªããã¼ã¿ã«é¢å¿ããã£ã¦ãã¾ã£ã¦ãããã¨ãããã®ãæãã¦ã¿ã¾ããã
ãã¦ãä»åã¯ããããä¸æ©é²ã¿ãç´ç²é¢æ°åè¨èªã®è©±ã§ãã
ãªãã¸ã§ã¯ãæåã¯ãã¼ã¿ãå®ããããã®ã
ãã¦ããé¢é£ã®æ·±ããã¼ã¿ãæç¶ããã¾ã¨ãããããã¼ã¿ãå¤ããã¾ãããã¨ããè¦ç¹ã§ãªãã¸ã§ã¯ãæåãè¦ãã¨ãã«ãååã¾ã§ã®ãªãã¸ã§ã¯ãæåã¯æ¬å½ã«ãã¼ã¿ãå®ããã¨ã«æåãã¦ããã®ã§ããããâ¦â¦ï¼ãããã«ãprivate ãªå±æ§ãå®ç¾©ããã°ããã®å¤ã¯ãã®ã¯ã©ã¹ã®å¤ããã¯å¤æ´ãããªããã¨ãä¿è¨¼ããã¾ããããããã»ãã¨ãã«ããã§ãååããªã®ã§ããããâ¦â¦ï¼
ãããã®èãã§ã¯ãçã㯠NO ã§ãããããã«ã¢ã¸ã¥ã¼ã«ã®å¤ãããã¼ã¿ãå®ããã¨ã«ã¯æåãããªãã¸ã§ã¯ãæåã§ããããå®è¡ã³ã³ããã¹ããããã¯ãã¼ã¿ãå®ãããã¾ããã§ãããããã§ãå®è¡ã³ã³ããã¹ããããã¼ã¿ãå®ããã¨ãã§ããªããã¨ã¯å°ãªãã¨ããµãã¤ã®æå³ãæãã¦ãã¾ããã²ã¨ã¤ã¯ãè¤æ°ã®å®è¡ã³ã³ããã¹ãããå®ããªãã¨ãããã¨ãããã²ã¨ã¤ã¯ã以åã®å®è¡ã³ã³ããã¹ããããã¼ã¿ãå®ããªãã¨ãããã¨ã
ãã¨ãã°ã¹ã¬ããã»ã¼ãã®è©±
ã¾ãã¯åè ããè¤æ°ã®å®è¡ã³ã³ããã¹ããããã¼ã¿ãå®ããªããã«ã¤ãã¦è¦ã¦ããã¾ããããä¾ã¨ãã¦ãã¹ã¬ãããæãããã¾ããã¯ã©ã¹ã®ä¸ã«ãã¼ã¿ãé è½ãã¦ããã¯ã©ã¹ã®å¤ããæä½ããããã£ã¦ãã¨ããªãããã¨ãããã¨ãä¿è¨¼ã§ããã¨ãã¦ããããã ãã§ã¯ãè¤æ°ã®ã¹ã¬ãããï¼ã»ã¼ï¼åæã«å¤ãæ¸ãæãã¡ãã£ã¦å¤ãªæåããããã¿ãããªãã¨ã¯é²ãã¾ããããã¨ãã° Java ã§ããã°ã©ã ãæ¸ãã¨ããããã°ã©ãã¼ã¯å¸¸ã«ããããããããã®å¤ã¯å¥ã®ã¹ã¬ãããæ¸ãæãã¦ãã¾ã£ã¦ãããããããªããã¨ãã³ããªããããã°ã©ã ãæ¸ããã¨ã«ãªãã¾ããåæã«æ¸ãè¾¼ã¿ããããã¨ã ããåé¡ã§ã¯ããã¾ãããåæã«2ã¤ã®å®è¡ã³ã³ããã¹ããèµ°ã£ã¦ãã¦ãçæ¹ãæ¸ãè¾¼ã¿ãçæ¹ãèªã¿è¾¼ã¿ã§ãã£ã¦ãããã»ãã¨ã¯èªã¾ããåã«æ¸ãè¾¼ã¿ãã¦ãããªãã¨ã ããªãã ãã©ãæ¸ãè¾¼ã¾ããåã«èªãããã£ããã¨ããããããªã±ã¼ã¹ã§ãã°ãçã¿åºãå¯è½æ§ãããã¾ããããã¦ããã«æªããã¨ã«ãã¹ã¬ããã»ã¼ãã§ãªããã¨ãåå ã§èµ·ãã£ããã°ã¯åç¾æ§ãä½ãããã¹ãã§æ¤ç¥ããã®ãåç´ãªãã°ãããé£ããã¨ãã¾ããããããã解決ã¾ã§ã«10æé以ä¸ããã£ãæãåºããããªããã®ãã°ãããã®ãã°ãããã®ãã°ããè¤æ°ã®ã¹ã¬ãããã²ã¨ã¤ã®ãã¼ã¿ã«ã¢ã¯ã»ã¹ããã®ãåå ã ã£ããªâ¦â¦ä¿ºãä½ãè¾¼ãã ãã°ãããªãã®ã«â¦â¦ä¼æ¥ã¯ã¤ã¶ããç¡ç æéã¯æ¸ãâ¦â¦ã¦ããã¨ããå¿ã®éãæã£ãããã°ã©ãã¼ã¯å¤ãã®ã§ã¯ãªãã§ãããããããã¯ãã²ã¨ã¤ã®ãã¼ã¿ãè¤æ°ã®å®è¡ã³ã³ããã¹ãã«å ±æããã¦ãã¾ã£ã¦ãããã¨ãåå ã§èµ·ãã£ã¦ãã¾ããã¤ã¾ããã¯ã©ã¹ã®å¤ãããã¼ã¿ãé è½ããã ãã§ã¯ããã¼ã¿ãå®ããããã¨ãã§ããªãã£ãã®ã§ãã
ãããã¯ã¡ã½ããå¼ã³åºãé åºä¾åã®ã¯ãªã
ãã¦ãå¥ã®è©±ã¨ãã¦ã以åã®å®è¡ã³ã³ããã¹ãã«ãã¼ã¿ãä¾åãã¦ãã¾ãã¨ãããã¨ã«ã¤ãã¦è©±ãã¾ãããããã¨ããªãã¸ã§ã¯ãæåã§å¤ãããã¼ã¿ãæ¸ãæãããã¨ãã§ããªããªã£ãã¨ãã¦ããåããªãã¸ã§ã¯ãã®ä¸ããã¯æ¸ãæãããã¨ãã§ãã¾ããããã¦ãããçãåé¡ã®ãã¡ã®ã²ã¨ã¤ã¨ãã¦ãããã£ãã®ãªãã¸ã§ã¯ããã¡ã½ãã a ãå¼ãã§ããã®ã㨠b ãå¼ã°ãªãã¨ä¾å¤åãããã¿ãããªåé¡ãããã¾ããã¡ã½ãã b ã¯ãå®ã¯ã¡ã½ãã a ããªãã¸ã§ã¯ãã®å é¨ã®ãã£ã¼ã«ãã®å¤ãæ¸ãæãã¦ãã®ããã®æºåããã¦ããã¦ãããã¨ãæé»ã®åæã¨ãã¦ãããã¿ãããªãã¤ã§ãããããã¯ãã¡ã½ãã b ããå ã«ã¡ã½ããaãå¼ãã§ããã¦ãã¨ããã³ã³ããã¹ããæå¾ ãã¦ããã¨ãããã¨ã§ããããã§ãããå®è¡ã³ã³ããã¹ããã®éã®æãããã¼ã¿ãå®ããã¨ã«å¤±æãã¦ãã¾ãã
ãã¡ãããããããåé¡ã¯è½åã®ããããã°ã©ãã¼ãååã«æ°ãã¤ãã¦ã³ã¼ããæ¸ããã¨ã§åé¿å¯è½ãªåé¡ã§ããã§ããããªãã¨è¨ã£ããããè½åã®ããããã°ã©ãã¼ãååã«æ°ãã¤ãã¦ã³ã¼ããæ¸ãã° C è¨èªã§è¯ããã£ã¦è©±ã«ããªãã¾ããããã§è¨ãããã®ã¯ããã¯ã©ã¹ã®ä¸ã«ãã¼ã¿ãé è½ããã¨ããè¨èªã®æ©è½ ã ã ã§ã¯ãã³ã³ããã¹ããããã¼ã¿ãå®ããã¨ã¯ã§ããªãã£ãããè¨ãæ¹ãå¤ããã¨ãå®è¡ã³ã³ããã¹ããããã¼ã¿ãå®ãããã®æ©è½ããè¨èªã¬ãã«ã§ãã©ãã¤ã ï¼ã¾ãã«æ çµï¼ã¨ãã¦ãµãã¼ãããã¦ããªããã¨ãããã¨ã§ãã
ç´ç²é¢æ°åè¨èªã®è©±ã«å ¥ãããã®åã«
ãã¦ãåç´ã«ãã¼ã¿ãã¯ã©ã¹ã®ä¸ã«é è½ããã ãã§ã¯ããã¼ã¿ãå®ããããã¨ãã§ãã¾ããã§ãããã¨ãªãã¨ããã£ã¨ã©ãã£ã«ã«ãªè§£æ±ºçãèããå¿ è¦ãããã¾ãããããã§ç´ç²é¢æ°åè¨èªã«æ³¨ç®ãã¦ã¿ã¾ãããã
ã¨ãããã¾ã§æ¥ãããªããããããããããç´ç²ãé¢æ°åè¨èªã®è©±ããã¦ããã®ãã«ã³ã®ããã²ã¨ã¯æ°ã¥ãã¦ãããã§ãããããã§ãããã¯ãå¤æ°ã®åä»£å ¥ãç¦æ¢ããã¦ãããã¨ãããã¼ã¿ãå¤åããªããã¨ãã«æ³¨ç®ãããã¨èãã¦ããã®ã§ããé¢æ°åè¨èªã®ä¸ã«ã¯ãã¼ã¿ã®åä»£å ¥ãå¯è½ã ã£ããå¤ãæ¸ãæãã¦ãã¾ããã¨ãå¯è½ã ã£ãããããã®ãããããããã«ã¤ãã¦èããã¨ãã«ã¯ããã¼ã¿ãå®ããã¨ããã®ã¨ã¯ã¾ãå¥ã®è¦ç¹ããèããå¿ è¦ãããã¨æãã¾ããã ãããããã¯ããã§ã¯ãç´ç²é¢æ°åãã«éå®ãã¦è©±ãé²ãããã¨ã«ãã¾ãã
ã¨ããã§ãå°ã話ã¯ããã¾ãããå¤æ°ã®åä»£å ¥ã®ç¦æ¢ã¨ãã¼ã¿ãå¤åããªããã¨ã®éã«ã¯å¾®å¦ãªéããããã¾ãããã¨ãã°ãå¤æ°ã®åä»£å ¥ãè¡ã£ã¦ããªãã«ãé¢ããããã¼ã¿ãå¯å¤ã§ãããã¿ã¼ã³ãèãã¦ã¿ã¾ããããããããã®ã¯ã©ãã§ããï¼
irb(main):001:0> str = "nyan" => "nyan" irb(main):002:0> str.object_id => 70284024921600 irb(main):003:0> str.upcase! => "NYAN" irb(main):004:0> str.object_id => 70284024921600
ãã®ã³ã¼ãã«ã¯ä¸åº¦ãå代å
¥ã¯åºã¦ãã¾ãããããã str
ã®å¤ã¯å°æåãã大æåã«æ¸ãå¤ãã£ã¦ãã¾ããããã«ãstr
ãå°æåãã大æåã«æ¸ãå¤ãã£ã¦ãã¦ããstr
ã® object_id
ã¯å¤åãã¦ãã¾ãããã¤ã¾ããstr
ã¯ãåããã®ããæãã¦ããã«ãé¢ããããããã¼ã¿ã®å
容ããæ¸ãå¤ãã£ã¦ããã®ã§ãã
ã§ã¯ä»åº¦ã¯åä»£å ¥ãã¦ããã¼ã¿ãå¤åãã¦ãªãå ´åãè¦ã¦ã¿ã¾ãããã
irb(main):001:0> str = "nyan" => "nyan" irb(main):002:0> str_2 = str => "nyan" irb(main):003:0> str = "wan" => "wan" irb(main):004:0> str_2 => "nyan"
str = "wan"
ã§å¤æ°ã«å¤ãå代å
¥ãã¦ãã¾ããã"nyan"
ã¨ãããã¼ã¿èªä½ã¯æ¸ãå¤ãã£ã¦ããªãã®ã§ãstr_2
ã«ã¯ "nyan"
ãæ ¼ç´ãããã¾ã¾ã§ãã
ç´ç²é¢æ°åè¨èª
ãã¦ã話ãæ¬ç·ã«æ»ãã¾ããåç´ãªãªãã¸ã§ã¯ãæåã§ã¯ãã³ã³ããã¹ãããããã¼ã¿ãå®ããªãã®ã¯ä¸ã«è¦ãéãã§ãããããã¯ãªããï¼ããã¯ãªãã¸ã§ã¯ããå¯å¤ãªç¶æ ãæã£ã¦ãã¾ãããã§ãã
å¯å¤ãªç¶æ ã¯ã以åã®å®è¡ã³ã³ããã¹ããå¥ã®å®è¡ã³ã³ããã¹ãã«ãã£ã¦ãããã«ä½ãå ¥ã£ã¦ããããã決ã¾ãã¾ããã以åã®ã³ã³ããã¹ãã§ã©ãããå¤ãããã«å ¥ã£ã¦ãããæé»ã®ãã¡ã«æå¾ ãã¦ãããã¨ããå¥ã®ã¹ã¬ãããå¤ãæ¸ãè¾¼ãã ãã¨ããã§ããå¤æ°ãä¸åº¦å®ç¾©ãããããã®å¤æ°ãä½ãããããå¤ããããå¤ãæ¸ãå¤ãããªããã¨ãä¿è¨¼ããã¦ãããï¼
ããããã¡ã¯ãããã³ã³ããã¹ããã®ãã¨ãæ°ã«ãããã¨ã¯ããã¾ãããã ãããã©ãããããå¤ãæ¸ãæãããã¨ãã§ããªãã®ã ããããããããããã®å¤ã¯å¥ã®ã¨ããã§å ã«æ¸ãæãã¦ããã¦ããããªãã¨ã ããªã®ãããã¨ããããããããå¥ã®ã¹ã¬ãããããã®å¤ããããããããã¿ãããªãã¨ãæ°ã«ããå¿ è¦ããªããªãã¾ãã
ããã§ãã¤ãã«ããããã¡ã¯ãã¼ã¿ãå®å ¨ã«å¤ããå®ããã¨ã«æåãã¾ããï¼ï¼ãã§ãããã§ãããâ¦â¦ã¨ããã¡ããããã¯åå±ããããã¾ããã
ç´ç²é¢æ°åè¨èªããããªã«ç´ç²ã§ã¯ãªã
ç´ç²é¢æ°åè¨èªã¨ãã®å ¥éæ¸ã«ã¯ã ãããä¸ã®ãããªãã¨ãï¼è¡¨ç¾ã¯ç°ãªãã¾ããï¼ãæ¸ãæããããªãã¦ã¾ããã£ã¡ãå®å ¨ã ãããæé«ã ããããã¡ã©ãã£ã¦ãããããã¿ãããªãã¨ãæ¸ããã¦ãããã¨ã常ãªã®ã§ããããªããããã£ã¦ã ã¾ããã¦ãæ°ããã¾ããï¼ããããã¯ã ã¾ããã¦ããæ°ããã¾ããã ã£ã¦ããä¸åº¦å®ç¾©ãããããããã¼ã¿æ¸ãããããªãã®ã ã£ãããã©ããã£ã¦ "ç¾å®ã®åé¡" "ã解決ãããã ï¼ãã¨ãã話ã«ãªãã¾ããã ã£ã¦ããã¼ã¿ã«å¤ããä½ãå½±é¿ãä¸ãããã¨ãã§ããªããªãããã®ããã°ã©ã ã¯ãã¤ãã«åããã¨ããã¦å¸¸ã«åãå¤ãè¿ããã®ãã«ãªã£ã¦ãã¾ãã¾ããããã£ã¦ä½ã®å½¹ã«ç«ã¤ãã ãï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼
ã ãããç´ç²é¢æ°åè¨èªã«ãããã³ã³ããã¹ãã«ãã£ã¦å¤ã決ã¾ããã®ããè£å£ãããã£ããéã³è¾¼ã¾ãã¦ãã¾ãããã¨ãã° Haskell ã§è¨ãã°ãã¢ãããããã§ãã
ç´ç²é¢æ°åè¨èªãå¦ã¶ã¨ãã®ã²ã¨ã¤ã®è¦ç¹
ããã§ãç´ç²é¢æ°åè¨èªï¼ã¨ãããã¶ã£ã¡ããHaskellï¼ãå¦ã¶ã¨ãã«æ³¨ç®ãã¹ãè¦ç¹ã®ã²ã¨ã¤ãå°ãã ããã®ã§ã¯ãªãã§ãããããããã¯ãããã¯ã³ã³ããã¹ãã«ãã£ã¦å¤ã決ã¾ãé¨åãªã®ã§ç¶æ ãæèããªããã°ãªããªãã®ãï¼ããã¨ãããã§ãªãããç¶æ ã®ãã¨ã¯æ°ã«ããªãã¦ããã®ãï¼ãã¨ããè¦ç¹ã§ããéã®æ¹åããè¦ãã°ãç´ç²é¢æ°åè¨èªã¯ãã³ã³ããã¹ãã«ä¾åããé¨åãã¨ãããã§ãªãé¨åããè¨èªä»æ§ä¸å¼·å¶çã«åé¢ãããã¨ã§ããã³ã³ããã¹ãä¾åã®ãã¼ã¿ç ´å£ããããã°ã©ããå®ããã¨ããä¸é¢ããããã¨ãããã¨ãè¨ããã®ã§ã¯ãªãã§ãããããã¨ãåãããªãã¨è¨ã£ã¦ã¾ãããããå®ã¯ä»ç§ãåã«ããããè¦ç·ã§ Haskell ãç¾å¨åå¼·ä¸ã§ããã£ã¦ã ãã§ãï¼ãã£ã¨è©³ããã²ã¨ããã£ã¨ããè¦ç¹ã§ãã説æãã¦ãããã®ãæå¾ ãã¦ããã ãã©ã ãããã¿ããªãããé£ãããã¨è¨ãï¼é£ãããã®ã説æããã¨é£ãããªãã®ãããã¾ãã ãç解ã§ããªããããã®å´ã®åé¡ã ã¨ããã®ããªãã®ãã¨ã¤ããï¼
ãã¾ãã®ã¯ãªã
ãã¦ããã®ãããªãã°ãããæããç´ç²é¢æ°åè¨èªã§ããããã®ããã身ããµãããªããã¨ãè¨ãã¨ããã£ã¡ãé£ãããã§ãããå°ãªãã¨ãä»ã®ãããã«ã¯ãã£ã¡ãé£ãããä»ã¾ã§ã¯å¯å¤ã®ç¶æ ãæã£ã¦ã³ã³ããã¹ãã«ä¾åãããã¨ããããã¾ãã«èãã¦ããã®ã«ããã³ã³ããã¹ãã«ä¾åããã¨ãã°ããããã»ã¨ãã©ã®é¨åã¯å¯å¤ç¶æ ãããªããã¨ã«ããããããããã³ã³ããã¹ãæã¤ãããªé¨åãä¾å¤ã ãããããããé¨åã¯ããã°ã©ã å ¨ä½ãããã£ã¡ãåãã¦å±æçã«ããããªãã¨è¨èªã«è¨ããã¦ãããããããµãã«ã³ã¼ããæ¸ãã®ã¯å®éãã£ã¡ãé£ãããã¤ããã
ããã§ããã¾ãã¨ãã¦ãç´ç²ã§ãªãè¨èªãã¡ããã³ã³ããã¹ãä¾åãã«å¯¾ãã¦ã©ãç«ã¡åããã®ããã¨ããè¦ç¹ã§ããããç´¹ä»ãã¦ã¿ã¾ãããã
Dè¨èªã¨ããããããããããã¯ããã²ã¨ã¤ã®å®è¡ã³ã³ããã¹ãã«ãã¼ã¿ãä¾åãã¦ãã¾ããã«å¯¾ãã解決çã¨ãã¦ãããã®ã¡ã½ããï¼é¢æ°ï¼ãå¼ã°ããåã«ã¯ç¶æ ã¯ãããªã£ã¦ãã¯ãã ããã£ã¦ã®ãã³ã¼ãå ã«å®ç¾©ãã¦ãããã¨ã«ãã£ã¦ãããã¾ã£ãã³ã³ããã¹ããä½ãè¾¼ãã§ãã¼ã¿ãç ´å£ããããã¨ãé²ããã£ã¦ããææ³ã§ãï¼ã¨ç§ã¯ç解ãã¦ããï¼ããã ãããå¥ç´ããã°ã©ãã³ã°ã®ãã©ãã¤ã ãæä¾ãã¦ãããè¨èªãã£ããã¨ãªãã®ã§ããããå ·ä½çãªãã¨ããããªãã
Erlang ã¨ã akkaï¼akkaã¯è¨èªãããªããã©ï¼ ã¨ããããã¯ãè¤æ°ã®å®è¡ã³ã³ããã¹ããåæã«ããªããã¼ã¿ããã£ã¦ãã¾ããã«å¯¾ãã解決çã¨ãã¦ãããããè¤æ°ã®å®è¡ã³ã³ããã¹ãã¯åæã«ããªããã¼ã¿ããããªããã¡ããã°ããããããªãã®ãã£ã¦ããçºæ³ã§ãç°ãªãå®è¡ã³ã³ããã¹ãã¯ãã¼ã¿ãå ±æããã«ã¤ãã¥ã¼ã¿ãã«ãªãã¼ã¿ãåã渡ããã¨ã«ãããããã¨ãããã©ãã¤ã ããã¤ã¯ãã®ãããã®è©±ã¯ ãªã akka ã使ãã¹ããªã®ã ã¨ããè¨äºã§å»å¹´ä¸åº¦æ¸ãã¦ããã
ãã¨å¤åãªã¢ã¯ãã£ãããã°ã©ãã³ã°ã£ã¦ãã©ãã¤ã ããã®ã¸ãã®ãã³ã³ããã¹ãã«ãã£ã¦å¤ã決ã¾ããã¨ã«ããå¼å®³ãã解決ããã¨ããè¦ç¹ã§è¦ããã£ã½ãã¨æããã ãã©ããããªã¢ã¯ãã£ãããã°ã©ãã³ã°ã®ãã¨ä½ãç¥ããªãâ¦â¦ãã ããæãã¦â¦â¦ã
ããããã®è©±
ã¨ããããã§ããã®ãå®è¡ã³ã³ããã¹ãã«ã©ãç«ã¡åããã®ããã¨ããåé¡ã¯ãä»ã¾ãã«ãããããªãã©ãã¤ã ãæå±ããã¦ãããæªè§£æ±ºåé¡ãã§ããã¨æãã¦ãã¦ãããã°ã©ãã¼ã¨ãã¦ç©å¿ã¤ããã¨ãã«ã¯ãªãã¸ã§ã¯ãæåããã§ã«æ®åãã¦ãããããã«ã¨ã£ã¦ããªã¢ã«ã¿ã¤ã ã§æãããããæ´å²ã®åãããªã®ã§ããããã¯ããããªãã®åé¡æèããã£ã¦ãã®åããè¦å®ã£ã¦ãããããªãã¨æã£ã¦ããã®ã§ãããï¼ç 究è èã§ã¯ãªãã®ã§ãããã¯ãã®æµããä½ãä¸ããå´ã®äººéã§ã¯ãªãã®ãã³ã³ãã¬ãã¯ã¹ã®ã²ã¨ã¤ãªãã ãã©ããç§ã¯ãããããµãã«è¦ã¦ããããããããè¦æ¹ãã§ããã¨æããã ãããã£ã¦ã®ããªãã¹ãããããããä¼ããã®ã ã£ã¦ã²ã¨ã¤ã®å½¹å²ã ããã£ã¦æã£ã¦ãé¨åãããï¼
TMTOWTDI ãããã¯éã®å¼¾ä¸¸ã¯ãªã
ããã¦ããã ãã¯è¨ã£ã¦ãããªãã¨ãããªãããã¼ã¿ãå®ãã¨ããè¦ç¹ããè¦ãã°ããããã®è¨èªã¯ããªãå®å ¨å´ã«åããã¦ããã¨è¨ããããé²åã ã¨æããã ãã©ãããã¯ããã¾ã§ããã¼ã¿ãå®ããã¨ããè¦ç¹ããè¦ãã¨ãã®è©±ã ããã¨ãã°ããã«ãã£ã¦æè»æ§ãç ç²ã«ãã¦ãããã¨ããä½ããåãã°ä½ãã失ãã£ã¦ã®ãä¸ã®å¸¸ã§ãããã¹ã¦ã«ããã¦ä»ã®è¨èªããåªããè¨èªããªãã¦åå¨ããªãã
èèã®ãã¨ãå«ããã PHP ã«ã ã£ã¦ããã ãããã©ããªã¬ã³ã¿ã«ãµã¼ãã¼ã«ãå ¥ã£ã¦ããã¨ãããï¼è³ªã¯ã¨ãããï¼äººå¡ã®ç¢ºä¿ããããããã ã¨ããããã¨ããã¯ãããroot ã©ããã ssh ã§ãµã¼ãã¼ã«ãã°ã¤ã³ããã§ããªããä»äºã¨ãã解決ãããåé¡ããæå ¥ãã人éã®æ°ã¨ãã®æéããéã«å¤ãããã¨ããªãã° PHP ã使ããã¨ã ã£ã¦ååã«åççãªå¤æã ã¨æãï¼ãããã¯ãªãã¹ããã®ä»äºã«é¢ãããããªããï¼ãè¨èªã®é¸æãããã¦ãããããã¯ã²ã¨ã¤ãããªããããã¦éã®å¼¾ä¸¸ã¯ãªãã
ãã¤ã ã£ã¦ãã解決ãããåé¡ããå ã«ãã£ã¦ãããã解決ããããã®æ段ã¯ãã®å¾ã«ãããã®ã ã¨æããã ãããããã¯ãå¾ããçã¾ããè¨èªãåããããè¨èªããããã¹ã¦ã«ããã¦åªãã¦ãããªãã¦åç´ãªå²è¦³ã¯ãããªãããã ãã³ã³ãã¥ã¼ã¿ã¼ãæ´»èºããåéãå¢ãããã¨ã§ãå¤ç¨®å¤æ§ãªè¦æ±ãåé¡ãçã¾ããããã«å¿ãã¦ãããã解決ããããã®å¤ç¨®å¤æ§ãªãã©ãã¤ã ãçã¾ãã¦ãããããããããçã¾ãã¦ããã¨ããå²è¦³ãæã£ã¦ãããããã®ã¨ããã誤解ãã¦ã»ãããªãã®ã§ä¸å¿æå¾ã«æ¸ãã¦ãããã¨æãã