ãã£ããSQLiteãéç¿ãã¦ã¿ã¾ãã(æ¥åã§ã¯å ¨ããå人çã«ãå ¨ã触ã£ã¦ãªãã£ãã®ã§)ã ã»ã¼è¦ãæ¸ãç¨åº¦ãªã®ã§ãã¡ããã¨ããå 容ã¯ã¡ããã¨ããã¨ããã§èª¿ã¹ã¦ãã ãã(ç¬ ç¢ºèª sqlite3 -version ãªãã£ããã¤ã³ã¹ãã¼ã« sudo dnf install sqlite databasâ¦
ãã£ã¤ãåå¿é²ã https://gallu.hatenadiary.jp/entry/20090317/p2 ã§ãæ¸ãã¾ãããã ã客æ§ã¯ãèªåãå¿ è¦ãªãã®ããåå ¨ã«ãã¾ãè¨èã«ã§ãããã¨ã¯éããªãã®ã§ããã®è¾ºãã¡ãã£ã¨åºæ¿çãªè¨ãåãã«ãã¦ããã¡ã®åãã¡ã«ã¯ãã客æ§ã¯åãã¤ãããªãã¦â¦
ã¯ã¼ãã¨ãã¦ã¯ãè¤æ°ãã¡ã¤ã³éã§ã®ã»ãã·ã§ã³ã®å ±æãã¨ãããµããã¡ã¤ã³éã§ã»ãã·ã§ã³ã®å ±æãã¨ããå¥ãã¡ã¤ã³ã§ãã°ã¤ã³(èªå¯)æ å ±ãå ±æãã¨ããããªæãã«ãªãã¾ãããã ã±ã¼ã¹ã¨ãã¦ã¯æ¯è¼çã¬ã¢ãã¨æãã®ã§ãããä»åã®å ´å ã»ãè¤æ°ã®ã²ã¼ã ãâ¦
è²ã ãã£ã¦ãããããã£ãã®ã«è§¦çºããã¾ãã(ç¬ ããæå®éã«å®åã§å®è£ ãããã¨ããã£ããã§ããã®è¾ºãè¸ã¾ãã¦ã 大åæã¨ã㦠ã»ãã°ã¤ã³ãã¸ãã¯ã«ä»å ¥ã§ãã ã»ã¦ã¼ã¶ã®ãæçµãã°ã¤ã³æéããææã§ãã(ã±ã¼ã¹ã«ãã) ãå¿ è¦ã«ãªãã¾ããã§ã注æãâ¦
ã¨ããããinstall composer require robmorgan/phinxinitã§åæåããããããã vendor/bin/phinx initphinx.php ãçããã [ 'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations', 'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds' ], 'environments' =>â¦
ãã©ã¨æè¦ãããã¤ã¼ã群â¦â¦å¤åããã®è¾ºãçºç«¯ããªã???https://twitter.com/tokuhirom/status/1682531879990497280 å¨ãã®ã¨ã³ã¸ãã¢ã«ä¸æ©å·®ãã¤ããæ¹æ³ã¨ãã¦ããã¬ã¼ã ã¯ã¼ã¯ãããã«ã¦ã§ã¢ãã©ã¤ãã©ãªã®ããã¥ã¡ã³ããæåããæå¾ã¾ã§ã¡ããã¨èªãâ¦
ãã¡ãã ãã¥ãã²(Hygge) ããã®ã¨ããã®ã ãã©ã³ãåçã«ã¯ãFIKADAGS(ãã£ã¼ã«ãã°ã¹)ãã§ãããã®ãããã? ãªãããã®ãã£ã³ãã©ã£ã¦ãè²·ãã¨ããæ°ãã¤ããªãã¨çµæ§é£ãããã£ã¦è¦ããã¦ããã ãã©ãããã¯ãªãã¦ãããããµã©ã£ã¨ãã¦ã¦ã¨ã¦ã飲ã¿ãâ¦
ã¾ããã¦ãã¦ããªãã ãã©ãä»å㯠ãã¥ãã²(Hygge) ããã®ã¨ããã®ã ãã©ã³ãåçã«ã¯ãFIKADAGS(ãã£ã¼ã«ãã°ã¹)ãã§ãããã®ãããã? è½ã¡çãã好ã¿ã®ãå³ã§ããå¤æ®µãå»ä¾¡ãªã®ã§ããã¶é£²ã¿ãããããï½ï½ï½ï½
æ°å¦è¦æãªãã§(â¦â¦ã¨ãè¨ã£ã¦ãããªããã ã)ã馬åã§è¨ç®ãã¦ã¿ãï½å³å¯ã«ã¯ã3以ä¸ã®æã¯æè½å¤(ç)ã足ããããã®ã§ããã®è¾ºã§å°ãå æ¸ããããã ãã©ã ãã£ããããã¤ã¹ç®ã ããã§ãé°å¾³å¤ç¡èæ ®ã§ç´ç²ã«ããã¤ã¹ã®ç¢ºçãã§ç¢ºèªã ããã°ã©ã ã§ãã£ããâ¦
åæ æ¢ç¥é¨åã®ç¢ºèª é²è¦§ã§ããããã«ãã location ã§ããã£ã¦ãã ãã£ã¬ã¯ããªã«ãã£ã¦ã¯ãå¥ã®DocumentRootãè¦ããããã«ãã æªããç®ãªæ¢ç¥é¨åã®ç¢ºèª æªç¥é¨åã¸ã®è¸ã¿è¾¼ã¿ try_files ã使ã£ãå é¨çãªç§»å try_files ã§PHPã絡ãã¦ã¿ã æªç¥ã®æ¬çªâ¦
ãªããããµã¨æãã¤ãããç¨åº¦ã®ã話ã§ã¯ããã®ã§ãããã¾ãåæã¨ãã¦ãValue Objectã¨ã¯ãä¸ææ§ããªã交æå¯è½ãªãã®ãã¨ãã¦ããã¾ããããã¡ããã®å¥½ã¿çã«ãã¤ãã¥ã¼ã¿ãã«ãã§ãã£ã¦æ¬²ããã¨æã£ã¦ã¾ããããã®è¾ºã¯ã¾ãä½è«ã ãã¨ãã¡ããã£ã¨åºã¦ãâ¦
php artisan queue:work ã«ã¯ãè²ã ãªå¼æ°ãããããã§ãã ãã¼ã¸ã§ã³ã«ããããã ãããªããã¨æãã®ã§ãããã¨ããããæå ã® 8.83.27 ã®ãã¼ã¸ã§ã³ã§ã話ãé²ãã¾ããã¨ããããå¼æ°ã®ä¸è¦§ã¯ãvendor/laravel/framework/src/Illuminate/Queue/Console/Woâ¦
ããã¾ããã®ã¾ãã¾ãªã®ã§ããã ããã¡ããã®ä»ã¾ã§ã®çµé¨çã«ã»ãã°ã¨ãå±¥æ´ã¨ãæç´°ã¨ããã¼ãã¼é¡ãã®DBã¯ããã®1ãã¼ãã«(群)ã§æ å ±ãå®çµãããããã«ãã¦ãããã»ããå§åçã«ããã¨æã£ã¦ããã®ã§ããã®è¾ºã«ã¤ãã¦å°ããã¿ç ãã¦ãè²ã ã¨çããã®ã¯â¦
å¥ä»¶ã§èª¿æ»ããã¦ãã¦ããµã¨ããã? call_user_func_array() ã«hashé å渡ããããååä»ãå¼æ°çã«ããæãã«å¦çãã¦ããããã¢ãã?ãã£ã¦æã£ãã®ã§ãæ©éå®é¨ãååä»ãå¼æ°(PHP8.0ãã) https://www.php.net/manual/ja/functions.arguments.php#functiâ¦
ã©ã£ã¡ãã£ã¦ãã¨ãTRPGããã§ã«ãã£ã¦ãã人ãã¡ã¨è°è«ãããããã®åå°ãã¨ããããã¯ãã¾ã ä¸åº¦ããã£ããã¨ããªã人ã«åãã¦ã®èª¬æãã£ã¦åãå£ãæ³å®ãã¦ã¾ããã§ããããªæãã§ã ã¤ã¡ã¼ã¸ã¨ãã¦ãã¼ã¹ã«ããã¨æ¥½ãªã®ããã³ã³ãã¥ã¼ã¿ã®PRG(ãã©ã¯ã¨ã¨â¦
ãç¥èéæ³ãã¨ãä¿¡ä»°éè¡ãã ã©ã¡ãããããããç¥ã ã®ä¿¡å¥è ãã使ããã®ã ãã両è ã«ã¯æ確ãªåºåããããç¥èéæ³ã¯ãèãªããã®ã®åå¨ã"ãã"ãã¨ãåæã«ããéæ³ãã§ããããã以å¤ã®éæ³ã¨åæ§ã«ã"éåãæ±ãããã®æ³å"ã®1å½¢æ ãã§ãããã¨æãâ¦
â¦â¦ãã®åååã ã¨ååã®ç¹å®ãã§ããªããªã(ç¬ ããã¡ããã¯ããTOMIZ(å¯æ¾¤ååº)ãããã§è³¼å ¥ã https://tomiz.com/item/00245500 ãããã§ããªãããã¹ãããªããæ¸ã¿å«ãã¦ãããããã¨é£²ãã¦ã¨ã¦ãè¯ãæãã§ãããã¾ãã æè¿ã常飲ãã¦ããè¶èã§ããã
å ãã¿ã https://twitter.com/komi_edtr_1230/status/1562230567101693953 èªç§°ã·ãã¢ã®ããªã¼ã©ã³ã¹ãã(ç¬)ããã®PR㧠if (foo == âbarâ) { return true } else { return false } ã¨ããã²ã©ãã³ã¼ãããã£ã¦æããã²ã³ããªãã¦ã.... é§ãåºãã¨ã³ã¸ãã¢â¦
å»ä¾¡å¢(ç¬ ããã ãã¯ããã£ã¼ãã¬ã¹ãããªãã¦é»åã¬ã³ã¸ã§ããã¦ã¾ã(ç¬ å¤§ããªãã°ã«ããã«ãã£ã¼ããã¯3ã¤å ¥ãã¦æ¿ãç®ã«åºãã¦ããçä¹³ãå ¥ãã¦ãã£ã¦æãã§ããã ãã§ãããã¯ã¯ãã¼ããããããã£ã¤ã¹ãã¤ã¹å ¥ãããçå§å ¥ããããè²ã ã¨å°ç´°å·¥ããâ¦
å²ã¨å»ä¾¡ãªè¶è(å¤å)ã ã¡ãã£ã¨é¦ããå¼·ãç®ãªã®ã§ãããã¾ã許容ç¯å²å ã ãã§ãå³ããããã£ããã¨ã¹ããã³ã°ãªæãã§ãå²ã¨ãããã¡ãã£ï¼ï¼ãã£ã¦æãã®å³ããã§ããæ¥å¸¸çã«é£²ãã®ã«é£²ã¿ãããã¦ãæ°è»½ã«é£²ããæãã§ãã ãã«ã¯ã1/3ãããå ¥ãã¦ãâ¦
ãã»ã·ãªã¢ã³ã»ã¤ãã³ãã ãã¨â¦â¦ãã¾ã«ãã¼ãã¼è¡¨ç¾ã使ãã®ã§ãããå³ããªãã¦ããããç¾ãããã æãç·ç«¯æ¸ãã£ã¦æ¥æ¬é ã§ãã®å½¢å®¹è©ä½¿ã£ããªããç¾ãããããã£ã¨ããå³ãããªã®ã§ãæ¬å½ã«ãã¹ã³ã³ã¹ã³ã³é£²ãããæãã§ãâ¦â¦ãå¤æ®µçã«ã¯ãããªã«ã¹ã³ã³â¦
ãã°ã©ã³ ã㯠ã·ã§ãªãã£ã¦èªããããã§ãã ããã¯çµæ§æããããããã£ãããããã¾ãã£ã¦ããè¶èã§ããã«ã¯ãã£ã¼ã«ããã¨å¤§å¤ã«ç´ æ´ãããã¹ãã©ã·ã¤ã§ã(èªå½)ã ããã§è¦ãããªãè¶èãªã®ã§ãMARIAGE FRERESããã§æ¯åã²ãã£ã¦ã¾ãâ¦â¦ããæãã£ãã®â¦
ãè¶ã¯å ¨è¬çã«å¥½ããªã®ã§ãã(æ¥æ¬è¶ãç´ è¶ãä¸å½è¶ã)ã æè¿ãç´ è¶ã®é »åº¦ãé«ãã®ã¨ãéæã¯ãã£ããã¨è³å ããæããããã®ã§ãåå¿é²ç¨ã«(ç¬ãªã飲ã¿æ¹ã§ããããªã¼ãã§3ï½4åããã¹ãã§2ï½3åãããã®æ½åºæéãå¤ãã§ãã æ½åºã¯ãã£ã¼ãã¬ã¹ã使ã£ã¦â¦
ãªã«ãã§ã¡ããã£ã¨æ°ã«ãªã£ãã®ã§ãã£ããæ¤è¨¼ããã®ã§ã軽ãlogæ®ãã åºæ¬çã«ãforeachã«æå©ãªå¦ç*1ããªã®ã§ãã¾ãåèç¨åº¦ã«è¦ã¦ããã ããã°ã ãã è¨ãæ¹ãå¤ããã¨ãã ããå¦çã«ãã£ã¦ã¯(ãé åã2åã¶ãåããäºã«ãªããã)array_*使ãã¨å¦ççâ¦
ãã¦ãé·ãå説ãåæã«ãã¦ãæ¬é¡ã ããã¯ãMessage Queueãã£ã¦æèã§å¿ è¦ãªã®ã¯ã»ãã¥ã¼ãç©ãå ´æ â ç©ã¿æ¹(enqueue â é»æãã©ã¼ããã â èªã¿æ¹(dequeue ã»ãä»äºãæ¶åããããã â èµ·åã®ä»æ¹ã¨çµäºã®ä»æ¹ â 寿å½ã¯æãããããã®ãï¼ â ããä»äºãâ¦
ã¡ããã¨ãLaravelã®Message Queueãã«ã¤ãã¦èª¿ã¹ãç¨äºããã£ãã®ã§ã 調ã¹ç©ã®åå¿é²ç¨ã«æ¸ãã¦ããã®ã§ãééãã¨ããããããããªãã®ã§ ã»ä½¿ãæã¯æ°ãã¤ãã¦ãã ãã ã»ééãã«æ°ä»ãããã³ã¡ã³ããªã©ã§çªã£è¾¼ãã§ããã ããã°ãã¨æãã¾ãã ã¨ããâ¦
å ãã¿ã¯ãã´ã¼ã¸ã£ã¹â ã¢ã¤ãªã³ã®ãP94ããããªã®ã§ããã ã¡ããã¨ã¾ãã¯å¼ç¨ã(漫ç»ãé¢ç½ãã®ã§æ¯é)ãã´ã¼ã¸ã£ã¹â ã¢ã¤ãªã³ (æèµçã³ããã¯ã¹)ä½è :èæ¨ é£å彦éè±ç¤¾Amazon ãâ¦åºã«çå¼¾ããï¼ ã¾â¦ã¾ããç¡æ°ã®ï¼ ãã§ã« åºã«ç¡æ°ã®çå¼¾ãä»æãã¦ããã®â¦
å ãã¿ã¯ã https://speakerdeck.com/twada/growing-reliable-code-phperkaigi-2022?slide=84 ãè¦ã¦ãã³ã³ã¹ãã©ã¯ã¿ã2ååãã®ï¼ï¼ãã£ã¦è³ªåããã£ãã®ã§ã 端çã«ã¯ãPHPã«ããã¦ã³ã³ã¹ãã©ã¯ã¿ã¯ãã¸ãã¯ã¡ã½ããã§ããã¸ãã¯ã¡ã½ããã¯ã¡ã½ããã ããâ¦
TRPGã®ã話ã§ãããã ã·ã¹ãã ã¯å²ã¨ãã©ãã§ãããTRPGã§ãããç¨åº¦(以ä¸)社ä¼æ¦ããããã£ã©ã«ããã¦ãæãã¯ã·ã¹ãã ã«ããã¦ã¯ãåºæ¬çã«å ¨å¡*1ãã¨ãã ãã³ãã¯ã·ã§ã³(ç¥å·±ãå人ãã¤ãªãããç¸æ ããã®ä»)ãã®é¡ãã¯å²ã¨å¿ è¦ã§éè¦ã«ãªãã¾ããâ¦â¦ãâ¦
ã¡ãã£ã¨æ ãããã¾ãã¦ããã¥ã¼ãã¿ã«ã¤ãã¦ã¡ãã£ã¨æ°ã«ãªãäºããã£ãã®ã§èª¿ã¹ã¦ã¿ã¾ããã Laravelã®ãã¼ã¸ã§ã³ã¯8ã§æ¤è¨¼ãã¦ã¾ãããå¤åã¾ãã©ã®ãã¼ã¸ã§ã³ã§ããã»ã©ã®å·®ç°ã¯ãªãããããªããã¨(æ°ããçããã¡ã½ãããé¤ã)ããã¥ã¼ãã¿ã«ã¤ãã¦ã¯ä¾â¦