SpiceDBã§èªå¯å¶å¾¡ããã¨ãã«ãã¼ã¹ã¨ãªãã¹ãã¼ãã®ãã¿ã¼ã³ãã¦ã¼ã¹ã±ã¼ã¹ã«åããã¦ã¡ã¢ SpiceDBã®ã¹ãã¼ãããªã¬ã¼ã·ã§ã³ã¯å ¬å¼ã®ãã¬ã¤ã°ã©ã¦ã³ãã§æ¤è¨¼ã§ããï¼ ãã¼ã«/ã°ã«ã¼ããã¿ã¼ã³ ãã¼ã«ã«å¯¾ããèªå¯ åºæ¬ã®ãã¿ã¼ã³ definition user{} definition document { relation reader: user relation writer: user permission read = reader permission write = writer } definition user{} definition group { relation reader: user relation writer: user permission read_document = reader + writer permission write_docum
SQLã¯ã©ã¤ã¢ã³ããã¼ã«ãDBeaverããããCloud SQL Auth Proxyçµç±ã§Google Cloud SQLã«æ¥ç¶ããæé ãã¾ã¨ãã¾ããã ãµãã¼ãããã¦ããDBã¨ã³ã¸ã³å ¨ã¦(MySQL, PostgreSQL, SQL Server)ã«ããã¦æ¥ç¶ã§ãããã¨ãä¸å¿ç¢ºèªãã¦ã¿ã¾ããã ãããããDBeaverãã¨ã¯ï¼ã«ã¤ãã¦ã¯ãä¸è¨ã®è¨äºããåç §ãã ããã ãã¼ã¸ã§ã³æ å ± ãã¼ã«ã«ãã·ã³ $ sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H524 MySQL : 8.0.26 PostgreSQL : 14.2 SQL Server : 2019 Express Cloud SQL Auth Proxyçµç±ã§ã®æ¥ç¶ Cloud SQL Auth Proxyãå©ç¨ããã¨ãä¸è¨ãªã©ã®å©
ããã«ã¡ã¯ãã¯ã©ã¦ãã¨ã¼ã¹ SRE é¨æå±ã®ç¬ åã§ãã SIerã»ã³ã³ãµã«ãã£ã³ã°ãã¡ã¼ã ãçµã¦ 2024 å¹´ 3 æã«ã¯ã©ã¦ãã¨ã¼ã¹ã¸ä¸éå ¥ç¤¾ãã¾ããã ã¯ã©ã¦ãã¨ã¼ã¹ã§ã¯å ¥ç¤¾æã®ç ä¿®ã®ä¸ç°ã¨ãã¦ãªã³ãã¼ãã£ã³ã°èª²é¡ã¨ãããã®ã«åãçµã¿ã¾ãã ä»åã®ããã°ã§ã¯ãç§ããã®é¡æãå®æ½ãããªãã§ãã³ã³è©°ã¾ã£ããªããã¨ãããã¤ã³ãã¨ãã©ããã£ã¦è§£æ±ºããããè¨è¼ãããã¨æãã¾ãã ã¯ããã« ä»ååãçµãã 課é¡ã®æ¦è¦ã¯ä»¥ä¸ã®éãã§ãã â»ãã¾ãæ¸ããããã¨å¾é²ã®æ¹ã ã¸ã®ãã¿ãã¬ã«ãªã£ã¦ãã¾ãã®ã§ãå°ãçç¥ãã¦è¨è¼ãã¾ãã Google Cloud ä¸ã«ããã¸ã§ã¯ããä½æããVirtual Private Cloudï¼ä»¥ä¸ãVPCï¼å ã« Virtual Machineï¼ä»¥ä¸ãVMï¼ã¨ ãã¼ã¿ãã¼ã¹ï¼ä»¥ä¸ãDBï¼ã¤ã³ã¹ã¿ã³ã¹ããã¹ãããã VM ãã DB ã¤ã³ã¹ã¿ã³ã¹ã«ã»ãã¥ã¢ã«ãã©ã¤ãã¼ãæ¥ç¶ã§ãã
ã¯ããã« ãã¾ã¾ã§å¼±å°ããã¯ã¨ã³ãã¨ã³ã¸ãã¢ã¨ãã¦Javaã使ã£ã¦ãä»äºããã¦ããã®ã§ãããããã³ãã¨ã³ãã®éçºã«æºããæ©ä¼ã訪ãã¾ããã Reactã§éçºããã¨ãããã¨ã§ããåå¼·ãã¦ãç°¡åãªWEBã¢ããªãä½ããã¨ããããæ§ã ãªæè¡ã¹ã¿ãã¯ã®ã¯ã¼ããåºããåºããã»ã»ã» ããããä½ãªã®ã調ã¹ãã®ã§ãèªåç¨ã«åèãªã³ã¯éãæ®ãã¦ããã¾ãã å¤è¦³ Node.jsã¨TypeScriptã¨nvmã¨npmã¨Reactã¨Next.js Node.jsã«ã¤ã㦠æ¦è¦ OSä¸ã§JavaScriptãåããããã®JavaScriptå®è¡ç°å¢ã®ãã¨ã JavaScriptã¨ã³ã¸ã³ã¨ãã¦ãV8ã¨ã³ã¸ã³ã使ç¨ãã¦ããã åèï¼æ¦è¦ç解 åèï¼Node.jsã®æ´å² ãã¼ã話ï¼Deno 2020å¹´ã«Denoã¨ãã対æ馬ãç»å ´ãã¦ãã模æ§ãNode.jsã®ã·ã§ã¢ã奪ããã®ãã©ããã Node.jsã®è£½ä½è ããNode.j
Pythonã§å ±éã®ãã¼ãæã¤è¾æ¸ãè¦ç´ ã¨ãããªã¹ããsort()ã¡ã½ãããsorted()é¢æ°ã§ã½ã¼ããããã¨ããã¨ãããã©ã«ãã§ã¯ã¨ã©ã¼TypeErrorã«ãªã£ã¦ãã¾ãã sort()ã¡ã½ãããsorted()é¢æ°ã®å¼æ°keyãæå®ãããã¨ã§è¾æ¸ã®ãªã¹ããç¹å®ã®ãã¼ã®å¤ã«å¾ã£ã¦ã½ã¼ãã§ããã å ±éã®ãã¼ãæã¤è¾æ¸ã®ãªã¹ãã¯JSONãèªã¿è¾¼ãã¨é »ç¹ã«ééãããPythonã§ã®JSONã®èªã¿æ¸ãã¯ä»¥ä¸ã®è¨äºãåç §ã é¢é£è¨äº: Pythonã§JSONãã¡ã¤ã«ã»æååã®èªã¿è¾¼ã¿ã»æ¸ã込㿠ã¾ãããã®ãããªè¾æ¸ã®ãªã¹ãã¯ãã¼ã¿åæã©ã¤ãã©ãªpandasã®pandas.DataFrameã«å¤æã§ãããããããã®å¦çãããã®ã§ããã°pandas.DataFrameã«å¤æããã¨ä¾¿å©ã é¢é£è¨äº: pandasã®json_normalizeã§è¾æ¸ã®ãªã¹ããDataFrameã«å¤æ 以éã®ãµã³ãã«ã³ã¼ã
人éã®å¿ã®ä¸ã«ã¯çã¾ãã¤ãããé³æ¥½ãæµãã¦ãã¦ããã«ä¼¼ãæ²ã人ã¯å¥½ãã«ãªããã ã¨ãããèªåã®æ²ãã¯ä½ã ããã¨ãã¤ãèããªããæè©ãå訳ãã¦ãã¾ãã I have heard that every one of us has a special music running deep inside our soul and whatever music we love in our lives has something in common with it. I always translate English lyrics into Japanese, wondering what my music sounds like. ä¸»äººå ¬ãç¸æã«å¯¾ãã¦ãããããããã¨æã£ã¦ãããã¨ã¯ãããã¾ãããç´ æ´ãããããã ç¸æã®æ¹ã¯ä¸»äººå ¬ã«åãããã«å¯è½æ§ãããã¨è¦ã¦ããã®ã§ããããï¼ OK, the na
API ã¸ã®ãªã¯ã¨ã¹ãã§ä¾å¤ãçºçããã¨ããLaravel ããã©ã«ãã® HTML ãè¿ã£ã¦ããã JSON ãåãåãæ°ã§ããã®ã«ãHTML ããã£ã¦ããã ä¾å¤ãçºçããã®ããããããã©ãã HTML 渡ããã¦ãæ±ãã¥ããã®ããã JSON ã§ä¾å¤ã¬ã¹ãã³ã¹ãè¿ãããã«ãã ããã¥ã¡ã³ãã«ãä¾ããããã©ã App\Exceptions\Handler ã«ã«ã¹ã¿ã ã¬ã³ããªã³ã°ã¯ãã¼ã¸ã£ãç»é²ãããã¨ã§ãªã¼ãã¼ã©ã¤ãã§ããã Laravel ã®ããã©ã«ãã®ã¨ã©ã¼ãã¼ã¸ãã³ãã¬ã¼ãã«ã¯ä»¥ä¸ã®ã¹ãã¼ã¿ã¹ã³ã¼ãã®ãã®ãããã®ã§ããããã®ä¾å¤ãçºçããå ´åã«ã¯ä»£ããã« JSON ã¬ã¹ãã³ã¹ãè¿ãããã«ããã 401: Unauthorized 403: Forbidden 404: Not Found 419: Page Expired 429: Too Many Requests 500: Se
ãããã調ã¹ã¦ã¿ãã¨JPEGã®è¦æ ¼ã®ä¸ã«åç»ã®è¦æ ¼ã¯ããã¾ãããããããä¸æã®JPEGãã¡ã¤ã«ã®ä¸ã«è¤æ°ã®ç»åãè©°ãè¾¼ãè¦æ ¼ãããã¾ããããããã©ãã©æ¼«ç»ã®ããã«è¡¨ç¤ºããã®ãmotionJPEGã®ããã§ãã ãã¡ãããã®ã¾ã¾ã§ã¯ãåçé度ããã·ã³ã«ãã£ã¦å¤ãã£ã¦ãã¾ãããé³å£°ãæ ¼ç´ã§ãã¾ãããããã§ãAVIãã¡ã¤ã«ãMOVãã¡ã¤ã«ã¯motionJPEGãåºæ¬ã®ã¨ã³ã³ã¼ãã¨ããã³ã³ããè¦æ ¼ã¨ãã¦å®ãããã¦ãã模æ§ã§ãã ä»åã¯AVIãMOVãã¡ã¤ã«ã®ãã³ã¼ãã¯ããã«motionJPEGãã¡ã¤ã«ããã©ãã©æ¼«ç»ã®ããã«è¡¨ç¤ºãã¾ãã15fpsãããã§ãã°åç»ã®ããã«è¦ããã®ã§ãããã©ããããåºããã¯æªç¥æ°ã§ãã ã¨ãããããããã°ã©ã ã®ãã¼ã¿ã¨ãªãmotionJPEGãã¡ã¤ã«ãä½ããã°ãªãã¾ããã ã¤ã³ã¿ã¼ãããä¸ã«ããããã¸ã«ã¡ã§é²ã£ãAVIãã¡ã¤ã«ããç»åãããããå«ã¾ããã²ã¨ã¤ã®jpegãã¡
ã¯ããã« ä¸äººã¢ããã³ãã«ã¬ã³ãã¼ã¨ãã¹ã¿ã¼ããã¦ãã¾ããã æ¬è¨äºã¯ API ã·ããªãªãã¹ããã¼ã«ã§ããã runn ã®ãã¥ã¼ããªã¢ã«ãã¹ããããã¤ã¹ãããã§ç解ãã¦è²°ããï¼ã¨ããã®ã趣æ¨ã§ãã 25 æ¥éã®ãã¥ã¼ããªã¢ã«ãçµã¦ã runn ã使ã£ã¦ã® API ã·ããªãªãã¹ããã API ã¨é£åãããèªååå¦çãä¸äººã§è¡ããããã«ãªããã¨ãç®æ¨ã«ãã¦ãã¾ãã runn is ä½ï¼ã¨ããæ¹ã¯ã以ä¸ã«ç´¹ä»è¨äºãæ¸ãã¦ãã¾ãã®ã§ãããããé¡ããã¾ãã ãã¥ã¼ããªã¢ã«ãå®éã«è©¦ããããèºããç®æãããã°ãè¨äºã®ã³ã¡ã³ãæ¬ã«ãç¥ããããã ããã¨å¹¸ãã§ãã åæ¥ã®è¨äºã¯ãå¤æ°ã使ã£ã¦ã¿ããã§ããã å¤æ°ãå¤é¨ããä¸ãã¦ã¿ã æ¨æ¥ã®è¨äº ã§å¤æ°ã®å®ç¾©ã¨åç §ããæ¹æ³ã説æãã¾ããã ä»åã¯å¤æ°ãå¤é¨ããä¸ããæ¹æ³ã«ã¤ãã¦èª¬æãã¾ãã å¤æ°ãå¢ããã¦ãããããã¾ãããå¢ããè¨è¿°æ¹æ³ã¯ 1 ã¤ã®ã¿ã§ãã $
è¨å®ãã¡ã¤ã« config/cors.php ã®ä½ææ¹æ³ Laravel11 ã§ã¯ configé ä¸ã« cors.php ã¯é ç½®ããã¦ããããpublish ããå¿ è¦ãããã¾ãã artisan ã³ãã³ãã使ã£ã¦ corsã®è¨å®ãã¡ã¤ã«ãçæãã¾ããã cors.php ã publish ãã artisan ã³ãã³ã php artisan config:publish cors cors.php ã®åæè¨å® <?php return [ /* |-------------------------------------------------------------------------- | Cross-Origin Resource Sharing (CORS) Configuration |-------------------------------------------
MINIMALIGHTã®ãªã³ã©ã¤ã³ã·ã§ãã
todoãªã¹ããä½ã£ã¦ãåºæ¥ãªãã¨ããç¸è«ãããããããã®ãªã¹ããèªåã«ã¨ã£ã¦éçãè¶ ãã¦ããå¯è½æ§ããæ¬å½ã«ããããã¨æã£ã¦ããã®ã ãããã¨ããã§ããªãã£ãæã«ç½ªæªæãåºãã¨ããã«åºæ¥ãªããªãã¨ããè²ã èãããã¨ã¯ããã®ã ãããã¯ä¸æ¦ããã¦ããã ä»åã¯å 延ã°ãã«å¯¾ãããã³ãã¤ã³ããªå¯¾çã¨ããããã¯ãããããçãæ¹ããã¦ãããå 延ã°ããçµæçã«æ¸ãã¾ããã¨ãã説æã æ½å¨æèã¯å ¨ã¦ã®æ å ±ãè¨é²ããããã®æ å ±ã«å¾ã£ã¦ç§ãã¡ã¯èªåçã«è¡åãã¦ãããã«ã«ãã¹ãç¾å³ãããã«é£²ãã§ããã®ãè¦ã¦ãã¹ã¼ãã¼ã«è¡ã£ãæã¤ãæã«åã£ã¦ããã¨ããããããå¬ç è¡å¸«ãä¸çä¸ã«ããããåå¨ãã¦ããã æ½å¨æèã¯åæªã«ã¤ãã¦å¤æããªããèªåã幸ç¦ã«ãªãããä¸å¹¸ã«ãªãããé¢ä¿ãªããå ¥åãããæ å ±ã«åºã¥ãã¦ãèªåçã«çããåºãã ãã ä¸å®ã«ã¤ãã¦é »ç¹ã«èãã¦ãããããããã人ãã¡ã«å²ã¾ãã¦ããã°ãã®ä¸å®ã¯ç¾å®åãããæ°
[ï¼] ãã®è¨äºã¯å ¬éããã¦ãã1年以ä¸çµéãã¦ãã¾ããæ å ±ãå¤ãå¯è½æ§ãããã¾ãã®ã§ãã注æãã ããã ã¯ããã« è¿å¹´ãCI/CDã¨ããè¨èãããè³ã«ãã¾ããéçºã»ãªãªã¼ã¹ã®ããã»ã¹ãèªååãããã¨ã§ãå質ãçç£æ§ã®åä¸ã»äººçãã¹ã®æ¸å°ã»ãªãªã¼ã¹ãµã¤ã¯ã«ã®æ¹åãé«éåã»ã³ã¹ãåæ¸ãªã©ãã¡ãªããã¨ãã¦æãããã¦ãã¾ãã ä¸ã®ä¸ã«ã¯æ§ã ãªCI/CDã®ãã¼ã«ãããã¾ããããã®è¨äºã§ã¯GitLabã®CI/CDã¨é£æºãã¦ãã¤ãã©ã¤ã³ãå®è¡ããGitLab Runnerã®æ§ç¯æ¹æ³ã¨èª²é¡å¯¾å¿ã«ã¤ãã¦ç´¹ä»ãã¾ãã CI/CDã¨ã¯ ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³(Continuous Integration)ã¨ç¶ç¶çããªããª(Continuous Delivery)ã¾ãã¯ç¶ç¶çãããã¤(Continuous Deployment)ã®ç¥ã§ããã®2ã¤ãçµã¿åããããã®ããCI/CDãã¨å¼ã³ã¾ãã CIã¯ã½ã¼ã¹ã³ã¼ã
ã¯ããã« ä¸äººã¢ããã³ãã«ã¬ã³ãã¼ã¨ãã¹ã¿ã¼ããã¦ããããã©ã¹ãã¹ãã¼ãã§ãã æ¬è¨äºã¯ API ã·ããªãªãã¹ããã¼ã«ã§ããã runn ã®ãã¥ã¼ããªã¢ã«ãã¹ããããã¤ã¹ãããã§ç解ãã¦è²°ããï¼ã¨ããã®ã趣æ¨ã§ãã 25 æ¥éã®ãã¥ã¼ããªã¢ã«ãçµã¦ã runn ã使ã£ã¦ã® API ã·ããªãªãã¹ããã API ã¨é£åãããèªååå¦çãä¸äººã§è¡ããããã«ãªããã¨ãç®æ¨ã«ãã¦ãã¾ãã runn is ä½ï¼ã¨ããæ¹ã¯ã以ä¸ã«ç´¹ä»è¨äºãæ¸ãã¦ãã¾ãã®ã§ãããããé¡ããã¾ãã ãã¥ã¼ããªã¢ã«ãå®éã«è©¦ããããèºããç®æãããã°ãè¨äºã®ã³ã¡ã³ãæ¬ã«ãç¥ããããã ããã¨å¹¸ãã§ãã åæ¥ã®è¨äºã¯ãCDPã使ã£ã¦ãã©ã¦ã¶æä½ãã¦ã¿ããã§ããã CIã«çµã¿è¾¼ãã§ã¿ã ä»ã¾ã§è²ã ãªã·ããªãªãä½æãã¦ããã¾ããããèªåãã¹ãã¨ãã¦çµã¿è¾¼ã¿ãããªãã¾ãã ä»æ¥ã¯ runn ã GitHub Acitons ã® wor
DBãããã¼ã¿åå¾ãã§ããã«è©°ã¾ã£ãã®ã§åå¿é²ã èµ·ããã㨠node.jsã®ããã±ã¼ã¸ä½¿ã£ã¦ãMySQL8.0ã«æ¥ç¶ãããã¨ããã¨ã¨ã©ã¼çºç Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client ã¨ã©ã¼ï¼ER_NOT_SUPPORTED_AUTH_MODEï¼ã¯ã©ã¤ã¢ã³ãã¯ãµã¼ãã¼ããè¦æ±ãããèªè¨¼ãããã³ã«ããµãã¼ããã¦ãã¾ããã MySQLã¯ã©ã¤ã¢ã³ãã®ã¢ããã°ã¬ã¼ããæ¤è¨ãã¦ãã ãã ï¼Googleç¿»è¨³ï¼ mysql> SELECT user, host, plugin FROM mysql.user; +------------------+-----------+-
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}