2024-03-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« ããã¿ã®å¤åããããã¨ã éåã®æ¥ä¸æ è¡ã£ã¦ãã¾ãããnikkieã§ã ãã®ã¨ã³ããªã¯ãã¿ã¤ãã«ãå ¨ã¦ã§ãã ä»å¹´ã1VS Code Conferenceã§ã話ããã¡ããã¾ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ VS Code Conference Japan 2024 ã¤ãã³ãç´¹ä»ï¼å æ¥ã®Meetupããâ¦
Object-Oriented Conference 2024ãç´ æ´ãããã«ã³ãã¡ã¬ã³ã¹ããããã¨ããããã¾ããï¼1 ãã®ã¨ã³ããªã¯ãã¿ã¤ãã«ãå ¨ã¦ã§ãã ç®æ¬¡ ç®æ¬¡ ã½ããã¦ã§ã¢ãä½ãããã£ãç§ã¸ ãå¤æ´ããããã³ã¼ããæ¸ãã³ããè¦ãã¦ããä»ä¼ãããããã¨ã è³æé¡ çºè¡¨ä¸ã®â¦
ã¯ããã« THEã»å¹´åº¦æ«ï¼ nikkieã§ãã å æ¥Pythonã§Notionã«pageãä½ãHello worldããã¾ããã ä»åã¯Markdownãã¡ã¤ã«ã®å 容ã¨åãpageãä½ãã¾ãï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ ååï¼Pythonã§Notionã«pageãä½ã Markdownãã¡ã¤ã«ã®å 容ã§Notionã«pageãä½ã Marâ¦
ã¿ã¤ãã«ãå ¨ã¦ã§ãï¼ openai-python 1.xããµãã¼ãããæ°ãã¼ã¸ã§ã³ããªãªã¼ã¹ãã¾ããã ç®æ¬¡ ç®æ¬¡ ååã®SpeechRecognition openai-python 1ç³»ãµãã¼ã æèã¡ã¢ çµããã« å¤æ´å±¥æ´ ååã®SpeechRecognition é³å£°èªèãã¼ã«ãããã©ã¤ãã©ãªã®ã¡ã³ãããâ¦
ã¯ããã« ããã³ã°ãã¼ãï¼1 nikkieã§ãã Notionã§ãããpageã®ä¸ã«åã®pageãä½ãèªååã試ãã¾ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ããpageã®ä¸ã«åã®pageãä½ã ã¤ã³ãã°ã¬ã¼ã·ã§ã³ ã¤ã³ãã°ã¬ã¼ã·ã§ã³ã®ä½æ 親pageãã¤ã³ãã°ã¬ã¼ã·ã§ã³ã«å ±æãã notion-clieâ¦
ã¯ããã« ããªãã®ã©ã¤ãã©ãªã¼ãããç¹æ°ã§è¦ãããã»ã³ã¹ããX以ä¸ã®ã¢ã¼ãã£ãã¡ã¯ãã»ã«ã¼ããï¼ææ¢ãããããå ´ã«åºãã1 nikkieã§ãã ç°å¸¸ç³»ã¸ã®å¯¾å¿ã¨ããæèã«ãªãã¾ãããPDFã«ãOCRãé©ç¨ã§ãããã§ãï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ pdfminer.sixã§PDFâ¦
ã¯ããã« ã¢ã¼ãã£ãã¡ã¯ããæ大ï¼ã¤ã¾ã§å¯¾è±¡ã¨ããããããã¢ã³ã¿ããããã1 nikkieã§ãã OCRï¼å å¦æåèªèï¼ã½ããã¦ã§ã¢ Tesseract ãPythonãã触ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ååã®Tesseractï¼ pytesseract pytesseractã§ãç»åå ã®æ¥æ¬èªããã¹ãâ¦
ã¯ããã« ã¢ã¼ãã£ãã¡ã¯ããæ大ï¼ã¤ã¾ã§å¯¾è±¡ã¨ããããããã¢ã³ã¿ããããã1 nikkieã§ãã OCRï¼å å¦æåèªèï¼ãã§ããã½ããã¦ã§ã¢ Tesseractã®è§¦ãåºããã°ã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ Tesseract macOSã«Tesseractãã¤ã³ã¹ãã¼ã« æ¥æ¬èªãæ±ããããã«â¦
ãªãªã¼ã¹å ±åã¨ã³ããªã§ãã kurenaiï¼ç´ ã»ãããªãï¼ããç´¹ä»ï¼ ç®æ¬¡ ç®æ¬¡ kurenai 0.0.1 ãªãkurenaiãä½ã£ãï¼ è¨è¨ï¼rouge-scoreãèãã©ãããã kurenaiã®ä»å¾ï¼TODOãªã¹ãï¼ çµããã« kurenai 0.0.1 pip install kurenai >>> from kurenai.rouge_scorâ¦
ã¯ããã« é¢ä¿è é¢ãã¼ãã£ã¼ï¼1 nikkieã§ãã 2022å¹´æ«ã«å ¬éãããæ ç»ãããã¿ã®å¤åããåä½å°èª¬ã¨ãã©ãé常ã«åºããããã®ããã°ã§ä½æ¬ãè¨äºãæ¸ãã¦ãã¾ãã2ã æè¿ãµã¨ã¿ã¤ãã«ããã£ããããã§ãã¦ããªã¨æ°ã¥ãããããè¨äºã«ãã¾ãã â»ãã®è¨äºâ¦
ã¯ããã« ãããã°ãããã¨ãé¡ããã¾ãï¼ å³ã¤ãã¦ã¦ããããã§ãï¼nikkieã§ãã é±æ«3/24(æ¥)ã®OOC 2024 ç»å£1æºåããã¢ã¦ããããã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãããã殺ããAPIã«çµ¡ãå¦çããå°ããã®é¢æ°ã¨ãã¦ã¾ã¨ããã¯ããªã®ã«...ã ã¡ãããã¤æ¬ 第â¦
ãªãªã¼ã¹å ±åã¨ã³ããªã§ãã sphinxcontrib-extdevhelper-kasaneãçèªãã¾ããï¼ ç®æ¬¡ ç®æ¬¡ sphinxcontrib-extdevhelper-kasaneï¼ç¾å¨ 0.2.0ï¼ kasaneã«è³ãã¾ã§ kasaneãæä¾ããSphinxæ¡å¼µéçºä½é¨ çµããã« P.S. æ©ãåãããã¦sphinx-revealjsã®attakeiâ¦
ã¯ããã« ç¾ååã¡ããããèªçæ¥2æ¥ç®ãããã§ã¨ããããã¾ãï¼ï¼ nikkieã§ãã é±æ«3/24(æ¥)ã®OOC 2024 ç»å£1æºåããã¢ã¦ããããã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãããã殺ããå°ããã®é¢æ°ã¨ãã¦ã¾ã¨ããã¯ããªã®ã«...ã å¢ç°ããã®ã¹ã©ã¤ããå ¥åºåã¨è¨ç®â¦
ã¯ããã« ç¾ååã¡ããããèªçæ¥ããã§ã¨ããããã¾ãï¼ï¼ nikkieã§ã1ã PHPã³ãã¥ããã£ã®çãä¸ãããæãã¦ãæåPHPã«ã³ãã¡ã¬ã³ã¹ãã¨ã¯ãã¾ãè¨ãåãã ã¨æãã¾ã2ã ç§ã®æã«é¦´æãè¨èªã§ããPythonã®çéããåå¼·ä¼ãçµæ§ç®ç½æ¼ãã«ãªã£ã¦ããã®â¦
ã¯ããã« ã¶ã£é£ã°ãï¼ï¼ nikkieã§ã å æ¥è¨èªå¦çå¦ä¼ã§Pythonä»®æ³ç°å¢ã®è©±é¡ãããã以ä¸ã®ãã¤ã¼ãã«å¤ãã®åé¿ãããã ãã¾ããã æ å ±éãå¢ãããè¨äºãæ¸ãã¾ãã ãã ããããå½¹ã«ç«ã¤é¨åã§è¨ãã¨ãã¤ã¼ããè¶ ããæ å ±ã¯ãªãããªããã®ãªãã·ã§ã³ãâ¦
çµè«ï¼ããã¹ãé§åPython 第2çãããï¼ è¤æ°ã®ãã¹ããã¡ã¤ã«ã§ãã£ã¯ã¹ãã£ãå ±æãããå ´åã¯conftest.pyãã¡ã¤ã«ã使ãå¿ è¦ãããã¾ãã(Kindleç p.95) 第3ç« ã§ãã£ã¯ã¹ãã£ã詳ãã解説ããã¦ãã¾ã ç®æ¬¡ çµè«ï¼ããã¹ãé§åPython 第2çãããï¼ ç®â¦
ã¯ããã« ã¡ã¯ãã¶ã ç¥ä»£ãèãã ç«ç°å·ãnikkieã§ãã ã©ã¤ãã©ãªrouge-scoreããã®ã¾ã¾ä½¿ãã¨ãæ¥æ¬èªããã¹ãã®ROUGEã¯ç®åºã§ããªããã¨ãç¥ãã¾ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ rouge-score ãµã³ãã«ã³ã¼ã Hugging Face Spacesã§è§¦ã åãã¡æ¸ããããæ¥æ¬â¦
ã¯ããã« ã¢ã¯ã¢ãã¼ã16話ããã£ã±ããã nikkieã§ãã pdfminer.sixã¨ããã©ã¤ãã©ãªãç´ æ¯ããã¾ããã ç®æ¬¡ ã¯ããã« ç®æ¬¡ PDFã®å 容ãèªã¿åããã pdfminer.six extract_textï¼ Dockerã¤ã¡ã¼ã¸ã§ã試ãã¦ã¿ã 宿é¡ï¼èªã¿åããªãPDFãããã¿ãã çµãâ¦
ã¯ããã« ã å§ ã ã nikkieã§ã å¦ãã¹ã«æã£ã¦ããã¦ãªãã§ãæ¬æ¥ã®ä¸æ¬ã ãRefactoring -- Not on the backlog!ãã®ææ³ãæ¸ããã®ããã£ããã«æ°ã¥ãããã¨ãæ¸ãæ£ããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ åæï¼ãRefactoring -- Not on the backlog!ãææ³ â¦
ã¯ããã« ååå¢ã®èã¿ãnikkieã§ãã åå¨ãæãã¦ããã ãããRefactoring -- Not on the backlog!ãã®ææ³ã¨ã³ããªã§ãã é常ã«ãã£ããæ¥ã¾ãããèã¿ï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ Refactoring -- Not on the backlog! æãåºãããã® äºã¤ã®å¸½åï¼ããªãã¡ã¯â¦
ã¯ããã« venvã®--upgrade-depsããããããï¼ nikkieã§ãã ã¿ãªãããPythonã®ããã¥ã¡ã³ããæå ã§ãã«ãããããªããã¨ã£ã¦ããã¾ãããï¼ï¼ ã¨ãããã¨ã§ãã£ã¦ã¿ã¾ãããï¼ â»æ¬è¨äºã¯ããã©ããã§å½¹ã«ç«ã¤ãã¨ã¯ãªãé¨é¡ã®ä¸æ¬ã¨æããã¾ã ç®æ¬¡ ã¯ãâ¦
ã¯ããã« ï¼ã財å¸ãï¼è©¦ãããä»æã人ãnikkieã§ãã ããã¹ããå«ãã ç»åãLLMã§æ±ããæ å ±ãåãåºãæã«åèã«ã§ããããªäºä¾ãããã«æ¸ãåºãã¾ãã ç®çã¯ç¥ã£ã¦ããäºä¾ã®æ´çã§ãã 試è¡é¯èª¤ã«é²ãããã§ä¸åº¦æ¸ãåºãã¾ãã ããã¹ããå«ãç»åã®â¦
ä»å¹´ãè¦ãã¿ãæ¶èãã¾ãã1 2025å¹´ã«åãã¦æ¸ãæ®ãã¾ã ç®æ¬¡ ç®æ¬¡ åé²ï¼ãã¤ããã¼ã¿ã«ã«ã¯ãã°ã¤ã³ã§ãã è¦ãã¿1ï¼ã·ã¹ãã ãç解ã§ããªãã¾ã¾è§¦ãã®ãä½åãªãããã¦ãã è¦ãã¿2ï¼ç解度ãä½ã確å®ç³åãç§ãæ£ããé²ãã¦ããã®ãåãããªã çµããâ¦
ç®æ¬¡ ç®æ¬¡ attakeiããã«ããsphinx-revealjs sphinx-revealjs with sphinx-new-tab-link å¿ è¦ãªè¨å® reSTå稿ã®ä¾ çµããã« P.S. ã³ãã³ãã¢ãããã¼ãç attakeiããã«ããsphinx-revealjs sphinx-revealjsã¯ãSphinxã§Reveal.js製ã¹ã©ã¤ããçæã§ããã©â¦
ã¯ããã« åæ° å°æ¬ å ¬é éä¸ ç¢ºç´ ãããããã®ãªãã¼ã¸ã¥ã§ç»å ´ããã®ã¯ãnikkieã§ãã 3/6(æ°´)ã«Findyããéå¬ã®ãTechBrew in æ±äº¬ãã«åå ãã¾ããï¼ããã°ã©ã¤ãã£ã³ã°æ ï¼ã ãã®ã¬ãã¼ããããããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ åå¼·ä¼ã®æ¦è¦ nikkieã®â¦
æ¬æ¥ã¯å°ãã¿æ´æ°ã§ã ç®æ¬¡ ç®æ¬¡ pyperfãç¥ã pyperf - Toolkit to run Python benchmarks PEP 604ã®ã¡ã¼ãªã³ã°ãªã¹ãã«è¦ã pyperf ã¯ä½ããã£ã¦ããã®ã çµããã« pyperfãç¥ã å æ¥PEP 604ï¼Pythonã§Unionåã|ã§è¡¨ããï¼ã®ã¡ã¼ãªã³ã°ãªã¹ããè¦ãã¾ããâ¦
ä»ã®ç§ã®çµè«ãè¨ãã¨ã好ã¿ã§ãã Union[X, None] ã¨ãã3æç®ãããã¾ããã好ã¿ã ã¨æãã¾ãã ã¯ããã« ããªã·ã¿ã®é¦¬å ´ãã®ã¿ãã1ãããããããnikkieã§ãã 表é¡ã®ä»¶ã«ã¤ãã¦ã綴ã£ã¦ããã¾ãã å¤å°ã®ãã ãæ¸ããå ãã¦ãã¾ãããè¦ã¯ã好ã¿ã§ããâ¦
ã¯ããã« ä¸çã¯ãã²ã¨ã¤ãã¤å¤ãããã¨ãã§ããã1 nikkieã§ãã ãã®ãã³ãå ¬å¼ããã¥ã¡ã³ãã翻訳ã§ããè¨å®ãæ´ãã¾ããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ typoãè¦ã¤ããããã«ãªã¯ã¨ã¹ããåºãã¦ã¾ã å ¬å¼ããã¥ã¡ã³ãã翻訳ã§ããããã«æ´ãã¾ãã Transifexã®ã¢â¦
ãªãªã¼ã¹å ±åã¨ã³ããªã§ãã ãsphinx-new-tab-linkã¨ã¯ãªãã ãããã¨ããæ¹ã¯ã以ä¸ã®è¨äºãã¾ãã©ããï¼ ç®æ¬¡ ç®æ¬¡ sphinx-new-tab-link 0.3.0 åçã«ã¯ã©ã¹ãçæãã¦ãTranslatorã«æå®ãã æ°ã¥ããã㨠ã·ã¹ãã ã¯2度æ»ã¬ 解ãæ¾ãããsphinx-new-tabâ¦
ã¯ããã« ãªã¼ã¤ã·ãã«ã¼ããããããã¨ããããããï¼ï¼ vol.2ããã§ã¨ããããããï¼ï¼ nikkieã§ãã èªä½ã®Sphinxæ¡å¼µãä¾ã«ãPythonã«ãããç¶æ¿ã«ã¤ãã¦æ¸ãã¦ããã¾ãã ãã£ã¦ã¯ãããªãäºè±¡ã®å ±æã«ãªãã¾ãï¼ä¿ºã¿ããã«ãªããªï¼ï¼ ç®æ¬¡ ã¯ããã« ç®â¦