2023-03-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« ã¨ããããããã¨ãã¼ã¼ã¼ã¼ï¼ï¼ï¼1 nikkieã§ãã ãããã¹ãPythonãã§typing.TypedDictãç¥ã2ã便å©ãªãã¨ã«æ°ã¥ããæ¸ãåãã³ããã¡ãã£ã¨ãã¤å¢ããã¦ãã¾ãã mypyã使ã£ãåãã§ãã¯ã§å°ãç解ãé²ãã ç¹ããã£ãã®ã§ã¢ã¦ãããããã¾ãã â¦
ã¯ããã« åãéãã®ã¯ãä»æ¥ããä¸æä¸åæ¥ã¾ã§ã1 nikkieã§ãã 2023å¹´ã«èãã¦ãããããã¨ã®1ã¤ã«èª¿çã¹ãã«ãæãã¾ããã ããã¤ããã£ã¦ã¿ãããã¨ãæµ®ãã¶ä¸ã§ãç§ã®ç¾æç¹ã®èª¿çã¹ãã«ã«ã¤ãã¦ä¸æ¬æ¸ãã¡ããã¾ãï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ ç飯å¨ãæâ¦
ã¯ããã« ã¡ãã£ã¨ããã¡æ¥ãªãï¼1 nikkieã§ãã æçµè²¬ä»»æç¹ãPyCon USã«é¢ãã¦ä¸çªæµ®ãã¶è¨èã§ã2ã å æ¥æºåã赤信å·ã¨èµ¤è£¸ã ã«ç¶´ãã¾ããããæºåã®ä¸æ©ç®ã¨ãã¦æ¨å¹´ã®æ§åãæ å ±åéãã¦ã¿ã¾ããã 2023å¹´åå ãèãã¦ããç«å ´ã§åèã«ãªã£ãã¨ããç¹â¦
ã¯ããã« ãµããæ§ãï¼328ï¼ãnikkieã§ãã ãããã¹ãPythonããèªã¿å§ãã¾ããã å°æ¥ã®éçºè ã«æå³ãä¼ããPythonã®æ¸ãæ¹ãæåãããï¼è°è«ã®ããã®ï¼æ¬ã§ãã 10ç« ã®ã¯ã©ã¹ãããã¯ããã¤ãè°è«ãããäºé ãããã®ã§ãããã¾ãã¯èªãã§ã®ç§ã®ç解ãã¢â¦
ã¯ããã« æ æ¨ç¢§ããããèªçæ¥ããã§ã¨ããããã¾ãï¼ nikkieã§ãã 3/9ã®ç»å£ããæéã空ãã¾ããããç»å£å ±åã¨One more thingï¼ãç¥ããï¼ãããã¦ããã ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ 3/9(æ¨) 第29å MLOps åå¼·ä¼ ãXPï¼ã¨ã¯ã¹ããªã¼ã ããã°ã©ãã³ã°â¦
ã¯ããã« ã¯ã½ãã«å¤©ä½¿æ§ããªãã¦ç¥ã ãã...ãnikkieã§ã èªã¿å§ãã¾ããããããã¹ãPythonãï¼1 å°æ¥ã®éçºè ã«æå³ãä¼ããPythonã®æ¸ãæ¹ãæåãããï¼è°è«ã®ããã®ï¼æ¬ã§ãã ç´è¿ã§ã³ã¬ã¯ã·ã§ã³ã«ã¤ãã¦å°ã調ã¹ã¦ãããã¨ããã2ãã5ç« ã³ã¬ã¯ã·ã§â¦
ã¯ããã« ãããã£ã¡ãããã§ã¨ããï¼ nikkieã§ãã ζ*'ã®')ζï¼ãã£ã㼠ζ*'ã®')ζï¼ãã£ã㼠ζ*'ã®')ζï¼ãã£ãã¼ ãããªãã§ããæ¥ã«ããã¡ãã®æ¬ãä¸ã«è§£ãæ¾ããã¾ãããããããã¹ãPythonãï¼ ãã£ãã楽ãã¿ã«ãã¦ããä¸åã§ã大èãªã®ã§ã¾ã èªã¿åã£ã¦â¦
ã¯ãã㫠京é½ãªãµã¼ããã¼ã¯ã«ã¦éå¬ã®YAPC::Kyotoã§ããã«ãã£ãåãåããåå è ã®1人ãnikkieã§ãã èªæ¸ä¼é§åã§ããé§åæ¬ï¼ãè¯ãã³ã¼ãï¼æªãã³ã¼ãã§å¦ã¶è¨è¨å ¥éãï¼ãèªãã§ãã¾ãã 7ç« ã§ã¯ãã¡ã¼ã¹ãã¯ã©ã¹ã³ã¬ã¯ã·ã§ã³ãç´¹ä»ããã¾ãã Pythonâ¦
ã...ããã®ã¾ã¾ã«ä»èµ·ãã£ããã¨ã話ããï¼ â»ä»åã¯ç¹å¥ç·¨ã§ã ç®æ¬¡ ç®æ¬¡ ãããããã¨ã®ã¯ãã¾ã㯠ifãè¤æ°ä½¿ã£ãå å 表è¨ãåããã§ãï¼ è¨èªãªãã¡ã¬ã³ã¹ã®æ§æå®ç¾©ãç¢ºèª çµããã« ãããããã¨ã®ã¯ãã¾ã㯠éææ¥ã®ããé§åæ¬_èªæ¸ä¼ï¼7ç« ã³ã¬ã¯ã·â¦
ã¯ãã㫠京é½ãªãµã¼ããã¼ã¯ã«ã¦éå¬ã®YAPC::Kyotoã§ããã«ãã£ãåãåããåå è ã®1人ãnikkieã§ãã Pythonã¯ã¯ã©ã¹ã«ç¹æ®ã¡ã½ãã1ãå®ç¾©ãããã¨ã§ãã¤ã³ã¹ã¿ã³ã¹ã«ç¹å¥ãªæ¯ãèããããããã¨ãã§ãã¾ãã ä»åã¯ãã¤ã³ã¹ã¿ã³ã¹ãforæã§ä½¿ããããã«â¦
ã¯ãã㫠京é½ãªãµã¼ããã¼ã¯ã«ã¦éå¬ã®YAPC::Kyotoã§ããã«ãã£ãåãåããåå è ã®1人ãnikkieã§ãã Pythonã®åãã³ãã¯é²åãæ©ããPython3ç³»ã®ãã¤ãã¼ãã¼ã¸ã§ã³ã¢ããã§åãã³ãã®æ°ããªæ¸ãæ¹ãå°å ¥ããããã¨ãå¤ãã¨æãã¾ãã Python 3.9ã¨3.10â¦
ç®æ¬¡ ç®æ¬¡ ãã£ãã ä»åã®åèæç® ã§ãããã®ï¼ã³ã¼ãä¸ã®ãã¹ã¦ã®æååãç½®ãæã ããã¥ã¡ã³ãã¡ã¢ parse / unparse dump NodeTransformer Constant ãã£ãã æ¨æ¥åå ããYAPC::Kyoto 2023ã ãã®ä¸ã®ASTã®ãã¼ã¯ã«è§¦çºããã¾ãã ããã¤ãä¾ãè¦ãã¦â¦
ã¯ããã« ããã°ãæ¸ãã¾ã§ãYAPCãnikkieã§ãã YAPC::Kyoto 2023ã«åå ã§ãã¾ããï¼1 1æ¥å¤§éã®æ å ±ãæµ´ã³å¿å°ããç²å´æã®ä¸ãã¾ã¨ã¾ããªãã¨æãã¾ããåå ããã°ï¼éå ±ï¼ãããããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ YAPC::Kyoto 2023 ææ³ çµããã« P.S. éãâ¦
ã¯ããã« ï¾ï¾ï¾ï½¶ï¾ï½½ï½¹ï¾ï½°ãnikkieã§ã1ã ã¡ãã£ã¨ãã³ãã ãªã¨æã£ã¦ãããã¨ãããã¾ãã¦ããããæ¬æ¥ã®1ã¨ã³ããªãã¿ã¨ãã¾ãã ç¾æç¹ã®ããã¯ã¢ããã¨ãã¦èªåç¨ã«æ¸ãåºãããã®ã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ PyCon USæºåã®é²æã 0 % ã§ãï¼ nikkieæ°ã3æã®â¦
ã¯ããã« æ¥ã§ããï¼ï¿£Ïï¿£ï¼1ã nikkieã§ãã æµ·å¤ã®PyConã®ãããã¼ã¶ã«æåºæéãä¸è¦§ã«ãã¾ã2ã ç· åãèªåãææ¡ããç¨ã§ãã 2020å¹´ã«æµ·å¤PyConã§ãªã³ã©ã¤ã³çºè¡¨3ãã¦ä»¥æ¥æµ·å¤ã§ã®çºè¡¨ãé¸æè¢ã«å ¥ã£ã¦ãã¦ããéã£ããè¡ã£ã¡ããã®ããããããªããã¨â¦
ã¯ããã« ã´ããã´ããï¼ nikkieã ã´ããï¼1 表é¡ãå ¨ã¦ã§ãã ãåå ã»ãæ¸ è´ããã ããçãã¾ãèª ã«ãããã¨ããããã¾ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ ã¿ããªã®Pythonåå¼·ä¼#91 ChatGPTã«ã¤ãã¦ä»ä¸çªè©±ããããã¨ã話ãã¾ããï¼ ChatGPTããããã¢ã«ãååãâ¦
ã¯ããã« ãããã¯ãã£ã¦ãã®1ãCodespacesï¼ nikkieã§ãã æè¿ã¡ãã£ã¨ãã¤ä½¿ãå§ãããGitHub Codespacesã«ã¤ãã¦ææãå ±æãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ VS Code Conference Japan 2022 - 2023ã§åå¨ãç¥ã ããé§åæ¬_èªæ¸pyã§ç°å¢å ±æãã¦ä½¿ã£ã¦ã¿ã Sâ¦
ã¯ããã« ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼ãã£ããï¼1 nikkieã§ãã 表é¡ãå ¨ã¦ã§ããã æ°ãããã¼ã¸ã§ã³ã®SpeechRecognitionãã楽ãã¿ãã ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ SpeechRecogâ¦
ã¯ããã« ããã£ãâï¸ nikkieã§ãã å æ¥ãPythonã®loggingã¢ã¸ã¥ã¼ã«ãå®å ¨ã«ç解ãã¾ããã æ·±ã¾ã£ãç解ããã¨ã«ãããã¥ã¡ã³ãã®ããã£ã¨ãåç´ãªä¾ãã説æãã¦ã¿ã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãã£ã¨ãåç´ãªä¾ logging.warningã¯logging.basicConfigãå¼â¦
ã¯ããã« ã¨ã£ã¦ã大好ããç¥ãã¦TD1ãnikkieã§ãã ãè¯ãã³ã¼ãï¼æªãã³ã¼ãã§å¦ã¶è¨è¨å ¥éãï¼é称ããé§åæ¬ï¼ã®èªæ¸ãã°ã§ãã 次åã®ããé§åæ¬_èªæ¸pyã«åããã7ç« ãã³ã¬ã¯ã·ã§ã³ãã®äºç¿ãã¼ããå ¬éãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ 7ç« ãã³ã¬ã¯ã·ã§ã³â¦
æ¬æ¥ã¯ç¢ºå®ç³åã§é常ã«æ¶èããã®ã§ç°¡ç¥çã§ã ããã¼ãã確å®ç³åããããã ããã ããã ããã ï¼ã¸ã¿ãã¿ã¸ã¿ãã¿æ¡å ã«ã¯ãã£ã¡ããã£ããè¡ãã£ã¦æ¸ãã¦ãããã©ããã£ã¦ã¿ããããããã¤ãã¢ããªã§ã«ã¼ãèªã¿åãã®ã¯"éæ³"ããã¦ãç´é¢ãã¦ãã¨ã©ã¼ã¨â¦
ã¯ããã« ä¸æãnikkieã§ãã 2022å¹´12æå ¬éã®æ ç»ãããã¿ã®å¤åãã ç§ã«ã¨ã£ã¦ã¯ãããã¦ã»ããã£ãè¨èãèãããã£ãè¨èãããã«ããä½åã§ãç¹°ãè¿ãéè³ã«éã£ã¦ãã¾ãã ä»åã¯3ææç¹ã§ã®ãããã¿ã®å¤åãéè³æ å ±ãèªååãã«ã¾ã¨ãã¾ãï¼ ç®æ¬¡ â¦
ï¼MLOpsåå¼·ä¼ã§ã®çºè¡¨ããæ¸ è´ããã ããããã¨ããããã¾ãããä»åãç°¡ç¥çã§1æ¥1ã¨ã³ããªãã¤ãªãã¾ãï¼ ç®æ¬¡ ç®æ¬¡ åæ ããã·ãã£ã®å®ç¾© ãã¢ã¸ã£ã¤ã«ãªè¦ç©ãã¨è¨ç»ã¥ããã ãClean Agileã ãã¢ã¼ãã»ãªãã»ã¢ã¸ã£ã¤ã« ãããããã¡ã³ãã IMOï¼éâ¦
ï¼ç»å£æºåãããç¶æ³ã§ãããç°¡ç¥çã§1æ¥1ã¨ã³ããªãã¤ãªãã¾ãï¼ ç®æ¬¡ ç®æ¬¡ tailã³ãã³ãã¨+ã§ã§ãããï¼ ç°å¢æ å ± æ«å°¾n=10è¡ã表示ï¼ãã¤ãã®ï¼ n=10è¡ç®ä»¥éã表示ï¼Today I learned!ï¼ åè tailã³ãã³ãã¨+ã§ã§ãããï¼ ç°å¢æ å ± macOS 12.6.3ã®PCï¼zâ¦
ã¯ããã« é å¼µãã°ãä½ããããã£ã¦ãä¿¡ãã¦ããnikkieã§ãã 2022å¹´12æãããªãªã¼ã¹ãã¼ãã«è¦ç«ã¦ãæã®ãµãããããå§ãã¦ãã¾ãã 1æã®ãµããããã¯ãã¡ãï¼ ããã§ã¯2æã®ãµããããããã£ã¦ã¿ã¾ããã¼ï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ æè¡ã¾ãã å¼ãç¶ããæ¯â¦
ã¯ããã« èãã¦èãã¦ï¼ nikkieã§ãã ã¿ã¤ãã«ããã¹ã¦ã§ãã 3/16(æ¨)ã® ã¿ããªã®Pythonåå¼·ä¼#91 ã«ç»å£ãã¾ãï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ ã¿ããªã®Pythonåå¼·ä¼#91 10åç¨åº¦ã®ãã¼ã¯ã®2æ¬ç«ã¦ ChatGPTã«ã¤ãã¦ä»ä¸çªè©±ãããã㨠Pythonã®loggingå ¥é çµããâ¦
ã¯ããã« æ£çæ¦ãã¤ããã£ãï¼ nikkieã§ãã VS Codeã®å°ããªtipsã®å ±æã§ãã ããã«æ°ã¥ããæããããçã«ã¯ãã¡ããã¡ããã³ã·ã§ã³ä¸ããã¾ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ åãä¸ããVS Codeã®2ã¤ã®æ©è½ Quick Open ã³ãã³ããã¬ãã ã¾ã¨ãï¼ã¤ãªããï¼ Quâ¦
ã¯ããã« è±ä¸¸ã¡ããããèªçæ¥ããã§ã¨ããããã¾ãï¼1 nikkieã§ãã ããé§åæ¬_èªæ¸py 第14ç« ããªãã¡ã¯ã¿ãªã³ã°ãã®äºå¾ã¨ãªãã¾ããããäºç¿ãã¦ããäºé ã®ã¢ã¦ããããã§ãã Uncle Bobã®ãClean Craftsmanshipãã®ãªãã¡ã¯ã¿ãªã³ã°ã®ç« ï¼ç¬¬5ç« ï¼ãèªâ¦
ã¯ããã« ããã£ãâï¸ nikkieã§ãã èªæ¸ä¼ã«é¢é£ããã¦ãè¯ãã³ã¼ãï¼æªãã³ã¼ãã§å¦ã¶è¨è¨å ¥éã14ç« ã®äºç¿äºé ã®1ã¤ãåãä¸ãã¾ãã 14.2ãåçµãã¦ããé§åããã®ããæ¹ãä½é¨ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ è¬è¾ 14.2 ã¦ããããã¹ãã§ãªãã¡ã¯ã¿ãªã³ã°ã®ãâ¦
ã¯ããã« ååã«çºéããç§å¦æè¡ã¯ãéæ³ã¨è¦åããã¤ããªãã1 nikkieã§ãã Breaking news!! ChatGPTã¨WhisperãWeb APIã§æä¾éå§ããã¾ããï¼ï¼ Whisper APIã«ã¤ãã¦nikkieã®è¦ç¹ï¼ã·ãªã³ã»ããã¸ã§ã¯ããSpeechRecognitionã¡ã³ããè¦ç¹ï¼ã§è§¦ã£ã¦ã¿ã¦â¦