YaneuraLabsããã®ããã°è¨äºãGAEã®ã¢ãããã¼ããä½ã£ã¦ã¿ããã¯ãã¡ã¤ã«ã¢ãããã¼ãã ã©ããã£ãããããã§å¤§å¤åèã«ãªã£ãã®ã ããç»åã ãã«ãã¼ã£ãæã«ã ãç»åã®æ¨ªå¹ ãç¸¦å¹ ãã©ããã£ããåå¾ã§ããã®ãï¼ã ã®ããæ¹ãåãããªãã£ãã®ã§ç»åã¢ãããã¼ããä½ã£ã¦ã¿ãã 以ä¸è©³ç´°ã ãªããããªãã¨ãããããã£ããã¨ããã¨ã ã»ã¢ãããããç»åãè¦å®ã®æ¨ªå¹ ãµã¤ãºãã大ããã£ãããã®ãµã¤ãºã«ãªãµã¤ãº ã¾ãã ã»å¤§ããªç»åã¢ãããã¼ãæã«æ¨ªå¹ ãµã¤ãºãæå®ãã¦ãã®ãµã¤ãºã«ãªãµã¤ãº ã¨ãããããªãã¨ããããæã«ã¢ããããç»åã®æ¨ªå¹ ãåå¾ããå¿ è¦ããã£ãã®ã§ãã GAEã«è§¦ãã¾ã§ã¯Pythonãªãã¦ãã£ããã¨ããªãã®ã§æ £ç¿ã¨ãå³ãå·¦ããããããPHPã§ã¯ç°¡åãªç»åå¨ãã®å¦çæ¹æ³ãã¾~ã£ãããããããGAEã®Image APIã¯ãªãµã¤ãºã諸ã ã¯ã§ãã¦ãç»
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
åé¤ã¯æåã§ç»é¢ã Reload ãã¦ç¹°ãè¿ãå®è¡ããã°ããã r = db.GqlQuery("select * from Stock limit 100") for rr in r: rr.delete() å¾æ¹ä¸è´ ( like *key_word ) ã®å ´åãoffset ã§ç§»åãããã r = db.GqlQuery("select * from Model limit 100 offset " + str(offset) ) start = int(offset) + 100 self.response.out.write('<a href="/xxx?offset=%s">del</a>' % str(start) ) for rr in r: if rr.trackback_url.find('</td></tr>') <>-1: ã»ã»ã» ããã°ã©ã 㧠LOOP ãã㦠o
Google App Engine | 07:12 | ãããããã¾ã¨ããµã¤ããç³»ããµããµãã¨åã£ã¦ã¿ã¦ãå°ãæ°ä»ãããã¨ãããã1.ä¸é¨ã®è¨äºã®åå¨ã«æ°ã¥ãã¦ããã£ã¦ããããé£ã³é£ã³ã§ãªã³ã¯ãã¯ããã¦ããå ´åããã2.è¨äºã«ãã£ã¦ã¯ãè¨åããã¦ãããããã¯ã«èª¤è§£ããããããä¾ãã°2ã¤ã®ãããã¯ã«è§¦ãã¦ããã®ã«1ã¤ã ã訳ãããã®ã¨ç解ããã¦ãã¾ã£ã¦ããå ´åã¢ãª3.ã©ãããèªå以å¤ã«ã翻訳ãå§ãã人ãããã¿ãããã¬ã³ãã¬ï¼1çªç®ã®åé¡ã«ã¤ãã¦ã¯ããã®ããã°ãã®ãã®ã«ã¢ãã¼ã«åã足ããªãã®ã§ãæ°çè¨äºãä¸æãæ¾ã£ã¦ãããã®ãé£ãã以ä¸ãä»ã¯ã©ããããããªãã ããã2çªç®ã®åé¡ã«ã¤ãã¦ã¯ããã£ã±ã1ã¤ã®ã¨ã³ããªã¼ãé·ããã¦ãèªãæ°ã«ãªããï¼ãã£ã¦äººãå¤ããã証ãªãã ãããªãããã¨ãè¨äºãè¤æ°ã®ã¨ã³ããªã¼ã«åæ£ãããã¨èªãã§ããããªãå¯è½æ§ãé«ããã£ã¦ã®ãæ°ã«ãã¦åºæ¥ãéãã²ã¨ã¾ã¨ãã«ãã¦ãããã
å®ã¯Google App Engineï¼ä»¥ä¸GAEï¼ã§å ¨ææ¤ç´¢ãè¡ããã¨æã£ã¦ã ç¾ç¶APIã¯æä¾ããã¦ãã¾ããã ã¾ããGoogleã®ã¢ããªã§æ¤ç´¢ãã§ããªããªã㦠èãã¦ãããªãã£ãã®ã§ããªãé©ãã¾ããã ã¨ããã¤ã¤ãããç¨åº¦å¯¾å¿ã¯å¯è½ã§ãã ã»åæ¹ä¸è´æ¤ç´¢ 以ä¸ã®ããã«ç¯å²æ¤ç´¢ãå©ç¨ãã¦ã¦ãã³ã¼ãã æ¬ä¼¼çã«åæ¹ä¸è´æ¤ç´¢ãããã¨ãã§ãã¾ãã db.GqlQuery('SELECT * FROM Test WHERE w >= :1 and w < :2', word, word + u'\uFFFD') ã»å ¨ææ¤ç´¢ï¼éå ¬éãè±èªã®ã¿ï¼ éå ¬éã§ã¯ããã¾ãããå ¨ææ¤ç´¢ãè¡ãSearchableModelã¨ãã ã¯ã©ã¹ãæä¾ããã¦ãã¾ãã 使ç¨æ¹æ³ã¯ã¢ãã«ãç¶æ¿ããdb.Modelãsearch.SearchableModel ã«å¤æ´ããæ¤ç´¢æã« Test.all().search(sea
google appengineã«ã¯å ¨ææ¤ç´¢ããªããããã ãgoogleãªã®ã«ï¼ãããªé¦¬é¹¿ãªï¼èªåã§ä½ããããªãã®ãï¼ï¼ã ã¨æã£ããã ãã©ããããªã®ãã§ã«ä½ã£ã¦ã人ãããããããªããã¨æãç«ã¡ãæ¢ãã¦ã¿ããã»ã»ã»ãªãã¨é ãæ©è½ã§ãã§ã«åå¨ãã¦ãããæ§åï¼ããã¥ã¡ã³ãåããã¦ãªããã©ï¼ 以ä¸åèãªã³ã¯ How-to: Full-text search in Google App Engine ã¨ããããã§ã使ãæ¹ã¨ãã¦ã¯db.Modelã®ä»£ããã«search.SearchableModelã使ã£ã¦ãæ¤ç´¢å¯¾è±¡ã¯StringPropertyãããã¯TextPropertyã«ãã¨ãããããã¨ãæ¤ç´¢ããã¨ãã¯Article.all().search(âæ¤ç´¢åèªâ)ã¨ããã¨ãdb.Modelããåãæ¿ããã®ã¯ãããç°¡åãªã®ã§ãã¡ããã£ã¨ãã£ã¦ã¿ãã確ãã«æ¤ç´¢ã§ãããã»ã»ã»è±èªã¯ãè±åèªã®ã¿ãªãã°ã
LL Hacker 大éå - LL Saturday ã«è¡ã£ã¦ãã¾ããã [ Perl , ç§çæ´» ] ä»æ¥ã¯å°é¢¨ã§ããããæ°å㧠Lightweight Language Saturday ã«è¡ã£ã¦æ¥ã¾ãããæ¸è°·ã¯æ³å¦é¤¨ã«ã¦éå¬ã Lightweight Language SaturdayPerl,PHP,Python,Rubyã³ãã¥ããã£ãååãã Lightweight Languageã大好ããªäººéã®éã¾ãã¨ãã¦ããLightweight Language Saturdayã(é称: LL Saturday)ãä¼ç»ãã¾ããã ã£ã¦ãªè¶£æ¨ã®ã«ã³ãã¡ã¬ã³ã¹ãå½å ã®åLLã³ãã¥ããã£ãå¼ã£å¼µã£ã¦ããèåãªæ¹ã ãä¸åã«ä»ãã¦ãããåã«ã¨ã£ã¦ã¯é²ã®ä¸ã®ãæ¹ã¿ãããªäººãããããæ¥ã¦ã¾ãããã¤ãã³ãããã°ã©ã ããããã®é¡ã¶ãã®ä¸é¨ãå£éè¦ããã¨ãã§ããã¨æãã¾ããå ãã¦ã観客å¸ã«ãè¦ããã¨ãã
Dive Into Python | 04:20 | çºç«¯ Noooooooooooooooo!! ããããããè½ã¡çãã¦èãã¦ããã俺ãæ£ç´æ··ä¹±ãã¦ããã ãâ¦ãæ¬å½ã¯ä»æ¥ããããããProject: ã¹ãã¤å¤§ä½å çãã®éçºæ¥è¨ãåéãããã¨æã£ã¦ããã ããã©ã試ãã«ãã®ä¼ç»ãä¸å¸ã«è©±ããããå¤åæéä¸ã«å®è£ ãã¦è¯ãããã£ã¦è©±ã«ãªã£ã¦ãªããããã渡ãã«è¹ã£ã¦è¨ããã ãï¼ããããã®ãé ãã£ã¦ãã¡ãã»ã¼ã¸ãã¼ã¿ããªã¬ã®JavaScriptã§æ¸ããã©ã¤ãã©ãªã§æå·åãã¡ãã£ããããã¨ã³ã¬ãããã¦ãªã£ã¡ããã®ï¼ã¿ããã«è¡æ²¸ãèè¸ã£ãã¯ã±ããã§ããã¯ããããã¾ããã§ãã¾ãããããã¦ä¸ããï¼ãã¿ãããªå¢ãã§ããã¸ã§ã¯ããã¹ã¿ã¼ããã ããªãããã You! æ¥åã«é¢é£ããæ å ±ã¯å£å¤ãã¡ãé§ç®ã Yo! ã¨ããäºå®ãçºè¦ãã¡ã¾ã£ã¦ããããµã¼ãã¤ã¬ã¤ã¬ã ãè½ã¨ãç©´ãã¹ãã«ãªå¿ãã¦ãã¼ï½¥ï½¥ï½¥ãããªã¯ã±ã§ãä¼ç»ã¨
dseg æ°ãã "æ¨å¹´ã¯/.-Jã«ãã¤ã³ã¿ãã¥ã¼ã»ã¯ã·ã§ã³ãåµè¨ãããæ¬å®¶ã®ã¤ã³ã¿ãã¥ã¼è¨äºãå¤æ°ç¿»è¨³ã»æ²è¼ãããã ãã®ä¸ã«ã¯ãPerlã®ä½è ã§ããã©ãªã¼ã»ã¦ã©ã¼ã«æ°ã¸ã®ã¤ã³ã¿ãã¥ã¼ããRubyã®ä½è ã§ããã¾ã¤ãã¨ããã²ãæ°ã¸ã®ã¤ã³ã¿ãã¥ã¼ãå«ã¾ãã¦ããã è¨èªã®çãç«ã¡ããè¨è¨è ã®ææ³ã¾ã§èå³æ·±ãèªããã®ã§ã¯ãªãã ãããã ããã§ä»åã¯ãæ¬å®¶/.ã®éå»ãã°å庫ã«ã²ã£ããã¨åã¾ã£ã¦ãããPythonã®ä½è ã»Guido van Rossumæ°ã¸ã®ã¤ã³ã¿ãã¥ã¼ã®ç¿»è¨³è¨äºãã è¨èªç¹ããã¨ããäºããããå±ããããã¨æãã Pythonã¯æµ·å¤ã§ã®äººæ°ãå è¡ãããªãã¸ã§ã¯ãæåã¹ã¯ãªããè¨èªã ãã©ã¼ã¢ããªã±ã¼ã·ã§ã³ã®Zopeã®ç»å ´ãªã©ããããè¿å¹´ãã®æ®å度ã»éè¦åº¦ã¯å¢ãã°ããã ã æ¬å®¶/.ã§ã®æ²è¼ã2001å¹´æ¥ã®è¨äºã§ãããå 容çã«å¤å°è³å³æéãéãã¦ããæã¯å¦ããªããã è¨èªã®è¨è¨ææ³ãPy
Pythonã¯1991å¹´ã«ã°ã¤ãã»ã´ã¡ã³ã»ãããµã ã«ããéçºãããããã°ã©ãã³ã°è¨èªã§ããã æåã«ãªãªã¼ã¹ãããPythonã®è¨è¨å²å¦ã¯ããã¯ã¤ãã¹ãã¼ã¹(ãªããµã¤ãã«ã¼ã«)ã®é¡èãªä½¿ç¨ã«ãã£ã¦ã³ã¼ãã®å¯èªæ§ãéè¦ãã¦ããããã®è¨èªæ§æã¨ãªãã¸ã§ã¯ãæåã®ã¢ããã¼ãã¯ãããã°ã©ããå°è¦æ¨¡ãªããã¸ã§ã¯ããã大è¦æ¨¡ãªããã¸ã§ã¯ãã¾ã§ãæ確ã§è«ççãªã³ã¼ããæ¸ãã®ãæ¯æ´ãããã¨ãç®çã¨ãã¦ããã Pythonã¯åçã«åä»ãããã¦ãã¦ãã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ããã¦ãããæ§é åï¼ç¹ã«æç¶ãåï¼ããªãã¸ã§ã¯ãæåãé¢æ°åããã°ã©ãã³ã°ãå«ãè¤æ°ã®ããã°ã©ãã³ã°ãã©ãã¤ã ããµãã¼ããã¦ãããPythonã¯ããã®å æ¬çãªæ¨æºã©ã¤ãã©ãªã®ããããã°ãã°ãããããªã¼ãå«ããè¨èªã¨è¡¨ç¾ããã¦ãã[â 1]ã Pythonã®ã¤ã³ã¿ããªã¿ã¯å¤ãã®OSã«å¯¾å¿ãã¦ãããããã°ã©ãã¼ã®ã°ãã¼ãã«ã³ãã¥ããã£ã¯ãèªç±ãã¤ãª
Pythonãé¸æããçç± é常ã®ããã°ã©ãã®çããã¨åæ§ã«ãçè ããããããªæ¥åãç§çãªããã°ã©ãã³ã°ã«ããã¦è¤æ°ã®è¨èªãå©ç¨ãã¦ãã¾ããçµã¿è¾¼ã¿ã·ã¹ãã ã®æ¥åãããã¨ãã¯Cè¨èªã使ç¨ãã¾ãããæè¿ã®ç§çãªããã¸ã§ã¯ãã§ã¯Erlangã使ã£ã¦ãã¾ããã趣å³ã«ããã¦ã¯MathematicaãRãªã©ã使ç¨ãã¾ãã éå»ãã·ã¹ãã ã¤ã³ãã°ã¬ã¼ã·ã§ã³ãæ¥ã¨ãã¦ããææã¯ãC++ãJavaãå©ç¨ãã¦ãã¾ããããç¾å¨ãããããå©ç¨ãããã¨ã«å¼·ãæµæãæããããã§ã¯ããã¾ããããã®ããã«ç®çã«å¿ãã¦å©ç¨ããããã°ã©ã è¨èªãå¤ãã¦ããã®ã§ãããç·ãã¦ã¿ãã¨ãPythonãå©ç¨ããé »åº¦ãé«ããªã£ã¦ãã¾ããçè ãæ¥å¸¸çã«å©ç¨ããè¨èªã¨ãã¦ãPythonãé¸æããçç±ã¯å¤§ãã次ã®2ã¤ãããã¾ãã ã»ã¢ã¤ãã¢ãããã«å®ç¾ã§ããããã ã»Zopeã§å©ç¨ãã¦ããããã 以éããã®2ã¤ã®çç±ã«ã¤ãã¦èª¬æãã¾ãããä¸è¨
ããã«ã¡ã¯ã ä»ãPythonã¨Rubyã©ã¡ããã¡ã¤ã³ã§å¦ã¶ã¹ãããèãã¦ããè¯ãã£ããçæ§ã®æè¦ãåèã«ãããæãã¾ãã ç¾ç¶ Ruby 7ã¶æ Python 1ã¶æ ã»ã©ã®çµé¨ãããã¾ããï¼ããã°ã©ãã³ã°ã¯ã¾ã åå¿è ã§ããï¼ Rubyã®æ¹ãæ £ãã¦ããã®ã§ããã以ä¸ã®ãããªèãããPythonãã¡ã¤ã³ã§ä½¿ã£ãæ¹ãããã®ãèãã¦ãã¾ãã 以ä¸ãåã®èã ä»å¾ãRuby on Railsãã©ãã©ã使ããã ãã¦ãç¾å¨ã®PHPã®ãããªå½¢ã§Rubyã使ãããããããªããã ã¨ããã¨ãRubyã使ã£ã¦ãä»ã®äººã¨å ¨ãå·®å¥ååºæ¥ãªãåãæ¿ãã®å¹ãã¦ãã¾ãããã°ã©ãã«ãããªããªãã®ã§ã¯ã Pythonã®å ´åã¯ãã¾ã æ¥æ¬ã§ã®ã¦ã¼ã¶ã¼æ°ãå°ãªããã¨ããããRuby,PHPã«æ¯ã¹ãã°èªåãå·®å¥åãããã¨ã«ã¤ãªããããã®ã§ã¯ãªããã ã¨ããã°ãPythonã使ã£ãæ¹ããããï¼ ã¡ãªã¿ã«ã³ã¬ä»¥å¤ã«ä»æã£ã¦ãããã¨ã¨
ããã°ã©ãã³ã°ææ³ã¯ãããããã®å¤ããã½ããã¦ã§ã¢éçºæ¥çã«è¶³ãè¸ã¿å ¥ããã¨ããã大ããªå¤åãéãã¦ãããéçºãã¼ã«ã ãã§ãªããè¤éãªåé¡ã«å¯¾ããã½ãªã¥ã¼ã·ã§ã³ãæ示ããããã«å©ç¨ããè¨èªãå¤åããã ä»æ¥ãã½ããã¦ã§ã¢ã®éçºãä»äºã«ãã人ã ã¯è¤æ°ã®è¨èªãé§ä½¿ãããé常ãå½¼ãã«ã¯å¿ ãè¤æ°ã®ããã°ã©ãã³ã°è¨èªã§ã¢ããªã±ã¼ã·ã§ã³ãéçºããçµé¨ããããå¤ãã®ã¢ããªã±ã¼ã·ã§ã³ãå®è£ ããã«å½ãããããã¤ãããã¯è¨èªãã¨å¼ã°ããã¯ã©ã¹ã®è¨èªãåªå çã«é¸ã°ããããã«ãªã£ãéç¨ãèå³æ·±ãã®ã§ãããã§ãããè¦ã¦ãããã æ¬ç¨¿ã¯ãã®ã¿ã¤ãã®è¨èªã«ã¤ãã¦ããªã人æ°ãé«ãã®ããèãããããã®ãã¡PerlãPythonãããã¦Rubyãä¸å¿ã«ã主ãªä»æ§ãåè¨èªã®éããããã¤ãç解ã§ããããè¦ã¦ããã ãã¤ãããã¯è¨èªã¨ã¯ä½ãï¼ æè¡çã«ã¯ãå®è¡æã«æ©è½ã®ä¿®æ£ãå¯è½ãªãã®ããã¤ãããã¯è¨èªã¨ãããã©ããããã¨ãã¨ãã
èªåã¨ã¹ã±ã¼ãæ©è½ãå¶å¾¡ãã¾ãããã®ã¿ã°ã¯å¼æ°ã« on ã¾ã㯠off ãå ãããããã¯å ã®èªåã¨ã¹ã±ã¼ãã®æå¹ã»ç¡å¹ã決å®ãã¾ãã èªåã¨ã¹ã±ã¼ãããªã³ã®å ´åãå¤æ°ã®å¤ã¯å ¨ã¦ãæçµçãªæåååºåã«ãªãç´åã« HTML ã¨ã¹ã±ã¼ãããã¾ã (ä»ã®ãã£ã«ã¿ã¯å ã«é©ç¨ããã¾ã)ããã®åä½ã¯ã å¤æ°ã« escape ãã£ã«ã¿ãæåã§é©ç¨ããå ´åã¨åãã§ãã ä¾å¤ã¨ãã¦ãå¤æ°ããã³ãã¬ã¼ãã«æ¿å ¥ããã³ã¼ããã safe, escape 㨠ãã£ããã£ã«ã¿ã®é©ç¨ã«ãã£ã¦ã âsafeâ ãã¼ã¯æ¸ã¿ã®å¤æ°ã¯ã¨ã¹ã±ã¼ãããã¾ã ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}