YAPC::Asia Tokyo 2010
ä»åãã¹ãã³ãµã¼æ ã§YAPC Asia Tokyo 2010ã®ãã±ãããæã«å
¥ã£ãã®ã§ãåãã¦YAPCã«åå ãã¦ãã¾ããã
ä¼ç¤¾ãæè¡ã«ç解ãããã®ã¯ããã°ããããåã®ä¼ç¤¾ã«ããããå°ãªãã¨ãä»åã¯åå ãã¦ããªãã£ãã
ãã¯ãä»åãå°ãéã«è¿·ã£ãããå¶ç¶ãåºå ±ã®æ¹ã«åºä¼ã£ã¦æ¡å
ãã¦ããã£ãã
ä»åããã£ãããã«ãã£ã°ããºãªã©ã
ã°ãªã¼ã®ãã¼ãã¨ãã¼ã«ãã³ã¨ã·ã¼ã«ã¯ä»å¹´ä½ã£ãããã«ãã£ã
mixiã¯ããã°ï¼ãããå©ãã£ãï¼ã¨ãããªã¹ã¯ã
DeNAããã¯ã¢ãã²ã¼ã®ã³ã¤ã³ã¨äº¤æã§ããã«ã¼ããããããã
ã¢ãã³ã¤ã³ã«ã¼ãã¯é
ããããã¦ã
ãµã¼ãã¹å°å
¥ã«ãè¯ãã¦ãè¯ãã¢ã¤ãã¢ã ãªãããªã©ã¨æã£ãã®ã§ããã
Web APIã®ããã 巨人ã«ãããªãåã by @xaicron
http://blog.livedoor.jp/xaicron/archives/51178458.html
http://blog.livedoor.jp/xaicron/:@xaicronããã¯ãDeNAã§ãªã¼ãã³ã½ã¼ã·ã£ã«ããã£ã¦ããæ¹ã
Web APIã®ç¨®é¡
- ãããªãã¯ã«ä½¿ãããã®
Google Mapãªã©ã
APIå
¬éå¾ã®ã¢ã¯ã»ã¹æ°ã¯äºæ³ä¸è½ã
- èªè¨¼ãå¿ è¦ãªãã®ãå é¨çã«ä½¿ã£ã¦ãããã®
ãªã¼ãã³ã½ã¼ã·ã£ã«ã®APIãªã©ã
é常ãã¦ã¼ã¶ã¼ç»é²ãå¿
è¦ãªã®ã§ãã¢ã¯ã»ã¹æ°ã¯ã¦ã¼ã¶ã¼æ°ããäºæ³å¯è½ã
Web APIã§éè¦ãªãã®
æ©ããéè¦ãæ©ããªãã¨ä½¿ãæ°ãèµ·ããªãã
æä¾ãã¹ãWeb API
Web APIãæµè¡ããã©ããã¯èª°ã«ãããããªããå ¬éãã¦ã¿ããããªãã
é«éãªWeb APIã®æä¾æ¹æ³
æ¢åã®WAFã¯ä½¿ããªããç¡é§ãªæ©è½ã®ç¡ããããããWAFãè¯ãã
ãã¼ã¿å½¢å¼
Web APIããXMLãYAMLã®å½¢å¼ã§çµæãè¿ãã¦ãã誰ãå¬ãããªã
ãããªã®ãã
Webãã¬ã¼ã ã¯ã¼ã¯ã¤ãããªã
ã¡ãã£ã¨ãããã®ãªãããæ¸ããã
ãããã«ãåé¡ã¯OAuthã®èªè¨¼ã¾ãããããããªã
å®è·µç·¨
- é«éãªãã£ã¹ãããã£ã¼ã¯ç°¡åã«æ¸ãã
- åé¡ã¯ã¢ãã«ã®æ§é ã
- perlã®ããã©ã¼ãã³ã¹ã§ã¯ãã¡ã½ããã®å¼ã³åºããæ¸ãããã¨ã§ããã©ã¼ãã³ã¹ãä¸ããããã
- ãªãã¸ã§ã¯ãã®çæãæ¸ããã®ãæå¹ãORãããã¼ã¯ã³ã¹ãé«ãã
éç¨ç·¨
- ãã°åºåã¯å¿ è¦ã
APIãå
¬éããå ´åãåãåããã«å¯¾å¿ããããã«ãã°ã¯è¶
å¿
è¦ã ãªãã
ã¾ã¨ã
ãããããã¬ã¼ã ã¯ã¼ã¯ã¯ç°¡åã«ä½ãããããæããã«ä½ã£ã¦ã¿ã¾ãããã
nginx & Perl by sfujiwara
http://d.hatena.ne.jp/sfujiwara/20101016/1287205507
nginx
HTTPã®ãããã·
ãã«ãããã»ã¹ + non blocking IOãªãµã¼ãã¼
å²ãè¾¼ã¿ããã£ããããã¡ãã®å¦çãå
ã«è¡ããå°ãªãããã»ã¹ã§æ²¢å±±ã®å¦çãè¡ããã
ããããã¢ã¸ã¥ã¼ã«ç´¹ä»
Perlã®çµã¿è¾¼ã¿
èªåçã«ã¯å ¥ããªãã®ã§ãã«ããå¿ è¦ã
nginxã®æ³¨æç¹
æéã®ãããå¦çã¯æ¸ãã¦ã¯ãããªã
ã¢ããªã±ã¼ã·ã§ã³ã®å¦çã¯æ¸ãã¦ã¯ãããªãã
ãããã·ã ããé常ãå¦çãæ¸ãå¿
è¦ãªãã§ãããã
Ajax Application Testing by Yappo
http://blog.yappo.jp/yappo/archives/000722.html
Ajaxç¨ã®ãã¹ããã¼ã«ã®ç´¹ä»ã
ãã¹ã¯ããããæ±ããã¨è©å¤ããã®äººã¯ããããã¨é¢ç½ããªã
Perl 5 is Alive! by Jesse Vincent
ã¨ã³ã¿ã¼ãã¤ãã¼ã話ãé¢ç½ãã£ãã
- Perl5ã¯ã¾ã ã¾ã 使ããããæ©è½ãå¢ãã¦ãã£ã¦ããã
- ã¨ããããPerl5ã¨ãPer6ã¯å¥ã®è¨èª
- 5ã¨6ã®éãã¯Larryã®è³ã®ãã¼ã¸ã§ã³ã®éã
- Perl5ã¯æ»ãã ï¼ æªãã¯ã¹ãªã§ããã£ã¦ãã®ã§ããã
- 5.12ã§ã¯ãã¦ãã³ã¼ãã®ãããªããµãã¼ãããããã¤ãã®ã·ã¥ã¬ã¼ã·ã³ã¿ãã¯ã¹ã®ãµãã¼ã
- ã¡ã³ããã³ã¹ãªãªã¼ã¹ã ã£ãã¯ãã ãã沢山ã®æ©è½ãå¢ãã¦ããã
- pumpkingãã©ãã©ãæãã¦ããããªãã¨ãããããã¡ã³ããã³ã¹ãªãªã¼ã¹ã®æã®æ©è½è¿½å ã¯ãã²ãããã«é ¼ãã
- Perl6ï¼Rakudo Starï¼ã¯ã2010/7/29ãã«ãªãªã¼ã¹ããã¦ããã
Perl ã§èªç¶è¨èªå¦ç by @overlast
http://www.slideshare.net/overlast/perl-5460697
- èªç¶è¨èªå¦çã¨ã¯ãèªç¶è¨èªãã³ã³ãã¥ã¼ã¿ã¼ã§å¦çãããã¨
ãã¤
- æåã¯ç°¡åã«ãå¾ã ã«æ´ç·´ããã¨è¯ãã
- æ©æ¢°ã¯ãã¹ãããå°ãã®ééãã¯è¨±å®¹ãããã¨
- ãã¼ã¿ã¯èªåã§éãã¦ãèªåã§ç®¡çãããã¨
Webãµã¼ãã¹ã«ããããæ©ã¿
Webã¦ã¼ã¶ã¼ã®åéæ§ãé«ããã
- ã¬ã³ã¡ã³ãã使ã
èå³ãä¼¼ã¦ããã¦ã¼ã¶ã¼ãæ¤ç´¢ãã¦è¡¨ç¤ºã
ä¾. CPAN Algorithn::NaiveBayes
- ã¢ã³ã«ã¼ããã¹ããã¤ãã
ä¾. CPAN Text::Darts
ãã¼ã¿ããããã©ãæ¤ç´¢æ©è½ããªã
ç¨æããã
åèªAãåèªBã£ã¦ä¸ç·ã«ãªããªãã®ï¼
æ£è¦åããã
代表表è¨ã決ãã¦ãå¯ããã
ã¦ã¼ã¶ã¼ãå ¨ã¦ã®ã¢ã¤ãã ãè¦ã¦ãããªã
ã©ã³ãã 表示ãããªã©ãã¦å¯¾å¿ã
åºåçµæã®é çª
ã½ã¼ãé ãå¤ãã
ã½ã¼ãé ãæ©æ¢°å¦ç¿ããã
ãã¼ã¿ã«ã«ãã´ãªå
ææ³
èªåã¯ä»ã¯Webãµã¼ãã¹ããã¦ããã®ã§ãçºè¡¨å 容ã¯ã¨ã¦ãåèã«ãªãã¾ããã
æ ç»ã«åºã¦ããããã«ã¼ã«ãªããã by cho45
http://subtech.g.hatena.ne.jp/cho45/20101016/1287204627
ããã«ã¼ã®ç¹å¾´
- æåãæµãã
- æå·ã使ã
ä½æ ããã«ã¼ã«ãªãããã
ãã¦ãããã
ããã«ã¼ã«ãªããããä½ãããã
ä½ãããã°ã©ã ãä½ãã
ãã ããå®ç¨æ§ã欲ãã
tail -f
ããããã£ã¨ãã£ããã
ãªã¢ã«ã¿ã¤ã ã«ã°ã©ããä½ã£ã¦è¡¨ç¤ºã
Unix Programming with Perl by Kazuho Oku
ã¡ãã£ã¨å¸ã足ããªãã£ãã
ã¨ã©ã¼NO
ãã£ã¬ã¯ããªãç¡ãã¨ãã«ã©ããããã
ãã£ã¬ã¯ããªã®åå¨ãã§ãã¯ããã ãã§ã¯ä¸ååã
â Errnoã¢ã¸ã¥ã¼ã«ã§å¤å®ãã¾ãããã
$!ã¨Errnoã¢ã¸ã¥ã¼ã«ã¨ã®éã
$! ã¯æ°åã¨å¤å®ããã¨æ°åãè¿ããæåã¨å¤å®ããã¨ã¡ãã»ã¼ã¸ãè¿ã
Errno㯠ã·ã¹ãã ã®ã¨ã©ã¼ãã³ãã¼ãè¿ãã
- ã¨ã©ã¼ãã³ãã¼ã調ã¹ãã«ã¯ãmanã使ãã
$ man 2 mkdir
fork
forkã¯ã¡ã¢ãªãã³ãã¼ããã
å
ã®ããã»ã¹ããã£ã¦ãããã¡ã¤ã«ã®ããã¯ããæ°ããããã»ã¹ã§ãåããã¡ã¤ã«ã®ããã¯ãè¦ã¦ãã¾ãã
ãã¡ã¤ã«ãã³ãã©ã¼ãªã©ããåããã®ãè¦ã¦ãã¾ãã
é²ãã«ã¯
ãã¡ã¤ã«ã¯ã¯ãã¼ãºãã¦ããã¨è¯ãã
Unix Signal
çªç¶ããããã¯ã¼ã¯ãæ¢ã¾ãã
SIGPIPEã«ãããä½ããã失æããã¨ãã«æ¢ã¾ã£ã¦ãã¾ãã
é²ãã«ã¯
SIG{PIPE} = 'IGNORE'
ãã»ããããã°è¯ãã
Welcome Perl 6! Is Rakudo Star useful? by risou
Rakudo Star
2010/07/29ã«åºããPerl6ã®å®è£
ã
ææ°ã¯9/28ç
使ããæ©è½ãã¾ã 使ããªãæ©è½ãããã
Rakudo Starã®å¿é ç¹
- 使ãããã
- æ©ã
Easy Using
- Perl5ã¯ã¨ã¦ã便å©ãã¢ã¸ã¥ã¼ã«ãå¤ãã
- Perl6ã®ã¢ã¸ã¥ã¼ã«ãå°ãªãã®ã§ãå©ä¾¿æ§ã¯Perl5ã«ã¯åã°ãªãã
- æ å ±ããªãã
Speed
- é ãã
Rakudo Starã¯ä½¿ããã
- Perl5 is alive
- Perl5ã«ãPerl6ã®æ©è½ãå ¥ã£ã¦ããã®ã§ãPerl5ã§ãè¯ãããããªãï¼
- Perl6ã¯ãæ£è¦è¡¨ç¾ãè¯ãã®ã§ã使ã£ã¦ããã
Inside mbga platform by Toru Yamaguchi
http://www.slideshare.net/zigorou/inside-mobage-platform
- PCåãã¯å ¨ã¦ 2-Legged OAuth
å人çã«ã¯ããã®çºè¡¨å
ã§æã注ç®ããçºè¨ã
å®ã¯èªè¨¼ã¾ãããã©ããã¦ããã®ããããããçåã ã£ãã®ã ãæè¨ãã¦ããããã¨ã§è§£æ±ºã
Yahooã¢ãã²ã¼ã§æãåã£ã¦2-Legged使ãã¨ãããã¨ã¯ãä»ã®ã¢ãã²ã¼ã®ãµã¼ãã¹ã®ããã¤ãã®èªè¨¼ã2-Legged OAuthã使ã£ã¦ããã«éããªãã
ãªã¼ãã³ã½ã¼ã·ã£ã«ã®ã³ã³ããã®ä½ãæ¹
ä»ç¤¾ã®ç¶æ³ãçµæ§ã¤ããã§ããããã ã
- ãã¼ã¿å½¢å¼ã¯PCãJSONããµã¼ãã¼éã§ããã¨ãããå ´åã¯RESTã
- ç´ãã¹ãç®æãããããã
PHPçã®Shindigãä½ããJavaçã¨ä¼¼ã¦ããã®ã§ãç´ãå ´æã¯å¤§ä½ããªãã«ãªãã¾ãã
PHPçã®Shindigã¯ãPHPã ãã©ãPHPã®æµåã§ã¯æ¸ããã¦ããªãã®ã§ãã
- Shindigã«ã¯ãããããä¸æºãããããã ã
Web APIã®ä½ãæ¹
- Web Frameworkã¯æ¥µå使ããªãã
- ãªã¯ã¨ã¹ã â ãã£ã«ã¿ã¼ãã§ã¤ã³ï¼ãã£ã«ã¿ã¼ x ããã¤ãï¼ â ã³ã³ããã¼ã©ã¼
- ã¬ã¹ãã³ã¹ã¯åãçµè·¯ãéã£ã¦è¿ãã
- ãã¼ã¿ã®å å·¥ã¯ããã¼ã¿ãåã£ã¦ããããã©ã¼ããã¿ã¼ã«æ¸¡ãã
- æåã®å¾®å¦ãªéãã¯è¨å®ãå¤ãã¦èµ·åãããããã®è¨å®æ¯ã«ã¤ã³ã¹ã¿ã³ã¹ãç¨æãã¦ããã
DBã¢ã¯ã»ã¹
ææ³
æ¥åã被ã£ã¦ããã®ã§ãã¨ã¦ãã¨ã¦ãåèã«ãªãã¾ããã
ä»åã®YAPCã§ã¯ãè¯ãçºè¡¨ã«ãããã¦æ票ãè¡ãäºãã§ãã¾ãã
ãã®çºè¡¨ãèããã¨ããæ¢ã«æ票æ¸ã¿ã ã£ãããã©ãæ®ã£ã¦ãããããã®çºè¡¨ã«æ票ãããã£ãã
ãã®çºè¡¨ã ãã§YAPCã«åå ãã価å¤ãããã¾ããã
ãã¾ã
èãã話ãããmbga platform ã®ä½ããäºæ³ãã¦ã¿ãã
ååã¯ã¦ãã¨ã¼ãããèãããããµã¼ãã¼ãå¦çãã¦ãããã°ã¯ã¼ã«ã¼ã¨ããããªãã
ãã¼ã¿ãåã£ã¦ãå å·¥ãã¦è¿ããå³ã«å
¥ããªãã£ããã©ããã¼ã¿ãã¼ã¹ã¨ã®éã«ãã£ãã·ã¥ã¨ãç¨æããã¦ããã¨æãã