scala
ä½ã£ãã www.npmjs.com github.com esbuildã¨ã¯JSã®ãã³ãã©ã§ããããã¡ããã¡ãé«éã«åä½ããã®ãã¦ãªã§ããã esbuild.github.io ããã¦ä»åèªåãä½è£½ãããã®ãã©ã°ã¤ã³ã使ãã¨ãesbuildãScalaã®ã³ã¼ãã®importãè¦ä»ããã¨åæã«ãã«ãã»ãã³ãã«â¦
ããã¯ãå人æªè¸ã®å°ã«é£ã³è¾¼ãã§ãã£ãæ¼¢ãã¡ã®ç©èªã»ã»ã» ããã³ãæããã£ã±ãããã¨æãã¾ããã©ãã©ãããã³ãã§è³ãããã¦ãã ãããISUCONã®çµé¨ããããªã«ããããã§ã¯ãªãã®ã§ãã¢ãã¿ãããªãã¨ããã¦ããããã俺ãBIGã«ãã¦ãã ããï¼ ã¾ããæ¸â¦
cleanããã¨ã ãããæ²»ãã docsããã¸ã§ã¯ãã«ããã¥ã¡ã³ããæ¸ãã¦ããã¨ã㯠docs / clean ãã¦ããåçæããã¨ããã ãªãã§ãããªå£ãæ¹ããã®ãã¯è¬ ããã¯Scala Advent Calendar 2024ã®7æ¥ç®ã®è¨äºã§ãã qiita.com
Scalaã§Dockerã¤ã¡ã¼ã¸ãä½ã話ã¯å®æçã«æ¸ãã¦ããããããä»åãä¸çªç°¡åã§ãã blog.3qe.us blog.3qe.us blog.3qe.us ã¾ãã§ä½åæ¸ãã¦ãã ã¨ãã話ã ããDockerã³ã³ããã¯ãã¾ãã«ãæ¥å¸¸ã®ä¸é¨ã«ãªã£ã¦ãã¾ã£ã¦ããã®ã§ãScalaã§ãDockerã³ã³ãããç°¡åâ¦
Scala Nativeã§http4sãªã©ã使ããã¨ããã¨ãã«ãã¿ã¤ãã³ã°ã§ãã®ãããªã¡ãã»ã¼ã¸ãåºãããã: Found a call to not defined static method Member(Top(java.nio.channels.AsynchronousServerSocketChannel),D4openL42java.nio.channels.AsynchronousChanâ¦
Scala.jsã§SyntaxError: Cannot use import statement outside a moduleãåºããã¨ãããã ç°å¢ val scala3Version = "3.5.2" addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0") tl;dr .withOutputPatterns(OutputPatterns.fromJSFile("%s.mjs")ãâ¦
ãããããã¤ã¼ããè¦ãã Scalaã®ãã£ã¼ã«ããclassåã®ããå¾ãã®ãã£ãå ã«æ¸ãã®ã¨bodyã«æ¸ãã®ä½ãã¡ãããâ Neo (@GlassesNeo) 2024å¹´11æ24æ¥ Scalaã®ãã£ã¼ã«ããclassåã®ããå¾ãã®ãã£ãå ã«æ¸ãã®ã¨bodyã«æ¸ãã®ä½ãã¡ããã ã¤ã¾ãããã®äºè ã¯â¦
æè¿ä»äºã§ã¹ãããã·ã§ãããã¹ããå®æ½ãããä¸å®ã®ä»æ§ã§ãã¼ã¿ãæååã§åãåºãæ©è½ãããããã®åºåãå ¥åã«å¯¾ãã¦å®å®ãã¦ãããã©ãããä¿è¨¼ãã¦ããããã®ã ããã®æã¯vitestã«æè¼ããã¦ããæ©è½ãå©ç¨ããã vitest.dev ãã£ããè¨ãã¨ãã¹ããâ¦
ä½ã£ã Scalaã®éå ¬å¼ãªãã£ã©ãä½ã£ãã GitHubã«SVGãããã¾ããCC BY-SA 4.0ã§ã©ã¤ã»ã³ã¹ãã¦ããã®ã§ãããã«åºãã¦åæã«ä½¿ã£ã¦ãã ãããä¾ãã°ãã¹ã©ã¤ãã«æ¿å ¥ããã(ã¹ã©ã¤ãæ«å°¾ãé©å½ãªå ´æã«ã¯ã¬ã¸ãããã¦ãã ãã)ãã©ã¤ã»ã³ã¹ãç¶æ¿ãããã¨â¦
ä¼ç¤¾ã§ã¯å®æçã«Scalaã®æ°ããªãããã¯ã確èªãããå ±æãããããä¼ããã£ã¦ãããããã§Scalaã®Redditãè¦ã¦ããã¨ãos-libã®ãã¼ã¸ã§ã³ã¢ãããç¥ãããã¦ããã è¦ãã¨æè¿ã®ãã¼ã¸ã§ã³ã§ã¯os-libã¯ZIPãæ±ããããã«ãªã£ã¦ãããAPIã便å©ãããªã®ã§ç´¹â¦
çªç¶ã ããã®Scala 3ã®ã³ã¼ãã¯ã³ã³ãã¤ã«ããã ããããå ã«æ£è§£ãè¨ã£ã¦ããã¨ãã³ã³ãã¤ã«ããã(Scala 3.5.0)ã class Foo: val x = y val y = 42 ã§ã¯ããã®Fooã«åãã¦ä»¥ä¸ã®å¼ã³åºããè¡ãã¨ã©ããªãã ããï¼ Foo().x é©ããªããããã®å¼ã¯0ã«è©ä¾¡ãâ¦
Pulumiã¨ã¯IaCãã¼ã«ã§ããã www.pulumi.com 競åã¨ãã¦Terraformã¨ãCDK TerraformããããPulumiã¯SDKãæã¤å¥½ããªããã°ã©ãã³ã°è¨èªã§å¥½ããªãããã¤ãã®ãªã½ã¼ã¹ãè¨è¿°ã§ããé¢ç½ãã¢ã¼ããã¯ãã£ã«ãªã£ã¦ãã¦ãä¾ãã°KubernetesãCloudflareãAWSãªã©â¦
æ¡å¤ã¾ã¨ã¾ã£ãæé ããããã«ãªãã£ãã®ã§æ¾æµãã¦ããã¾ãã ã©ãããã¨ãã«èªãã sbt-native-packagerã§Dockerã¤ã¡ã¼ã¸ãä½æãããã¨ããã /bin/sh: adduser: command not found ã¨è¡¨ç¤ºãããã¨ã sbt-native-packagerã¨ã¯ ScalaãDockerãdebããã±ã¼â¦
社ã®Slackã§ããããçºè¨ãè¦ãã Go ã¿ããã«ããã°ã©ã ã¨ãã¹ããåã dir ã«å ¥ãããã ããããã°ããã¹ãã¨ã³ã¼ããåãå ´æã«é ç½®ããè¨èªãããè¦ããããããããããã¹ãã¨ã³ã¼ããåãä½ç½®ã«ç½®ãã¨ããææ³ã(ãã¹ãã®)ã³ãã±ã¼ã·ã§ã³ã¨å¼ã¶ããã â¦
Reads[A]ã«ã¯composeWithã¡ã½ãããããããããããå©ç¨ãã¦ä½åãªãã£ã¼ã«ããæ¤åºã§ãããcomposeWithã¯ããã£ããå¥ã®Readsãäºåã«çµç±ãããã¡ã½ããã Scala 3.3.0ãplay-json 3.0.4ã§ç¢ºèªããã åæ ã¾ããããcase classã¨ãä½åãªãã£ã¼ã«ããå«â¦
Scalaã«ã¯fs2ã¨ããéåæã¹ããªã¼ãã³ã°å¦çãçç£çã«è¡ããã©ã¤ãã©ãªããããã¹ããªã¼ãã³ã°å¦çãªã®ã§ã沢山ã®ãã¼ã¿ãã©ãã©ãæµãã¦ããããããã°ãã¼ã¿çãªæ å ±ãæ±ãä¼æ¥ã§ããå©ç¨ããã¦ããã fs2.io speakerdeck.com æåããéåæå¦çã«å¯¾å¿â¦
Scala 3ã«ã¯summonã¨ããé¢æ°ããããæ®æ®µã¯ãã¾ã使ããã¨ããªãããç¥ã£ã¦ããã¨usingã¾ããã®ãããã°ã«ã使ããã¨ã¦ã便å©ãªãã¤ã ããã®è¨äºã§ã¯summonã®ä¾¿å©ãªå©ç¨æ³ãç´¹ä»ããã docs.scala-lang.org åã®ä¸è´ã確èªãã summonã®å ¸åçãªã¦ã¼ã¹ã±ã¼â¦
Scalaã®éåæå¦çãã¬ã¼ã ã¯ã¼ã¯ã§ããCats Effectã«ã¯ãéåæå¦çã®ããã®ãã©ã¨ãã£è±ããªé¨åã沢山æã£ã¦ãã¦ãããããçµã¿åããããã¨ã§ç°¡åã«æè»ãªéåæå¦çãæ¸ããããã«ãªã£ã¦ããã ä¸ã§ãããç»å ´ããé¨åãResourceã ãResourceãå©ç¨ããâ¦
tl;dr ã©ã¡ãããå·¦ãå®è¡ãã¦ããå³ãå®è¡ãã§ãããã¨ã«å¤ãããªã *>ã¯å帰ã»ã¼ãã§ã¯ãªã å¤æ¸¡ã(IO[B])ãã¦ãããã¨ã«èµ·å ãã >>ã¯å帰ã»ã¼ã åå渡ã(=> IO[B])ãã¦ãããã¨ã«èµ·å ãã ç¹ã«çç±ããªããã°>>ã使ãã Scaladoc ãã£ããScaladocã«èª¬â¦
ç¾ä»£ã®ã¯ã©ã¦ããã¤ãã£ããªéçºã«ããã¦ã¯ããããFaaS(Function as a Service)ãæ¬ ãããªãåå¨ã¨ãªãã¤ã¤ãããAWSã§ã¯AWS Lambdaã¨ãã¦ãGoogle Cloudã§ã¯Cloud Functionsã¨ãã¦æä¾ããããã®ãµã¼ãã¹ã¯ãå°ããªã³ã¼ãçããã·ã³ã®ãããã¤ãè¡ããã¨ãªâ¦
Scala.jsãNodeç°å¢ã§åä½ãããã¨ãã«ç°å¢å¤æ°ãåå¾ãããã£ããã©ãã¾ãåããã«ããã£ãã®ã§ã¡ã¢ã tl;dr val env = js.Dynamic.global.process.env.asInstanceOf[js.Dictionary[String]].toMap Scala.jsã¨ç°å¢å¤æ° é常Scalaã§ç°å¢å¤æ°ã«ã¢ã¯ã»ã¹ããã«â¦
å»å¹´ã¯ããã§ããã¡ãã»ãã¹ã¿ã¼ããããã¦ãããããã®ã§ãä»å¹´ãæ´æ°ãããã¨ããæ°ã«ãªã£ãã blog.3qe.us 以ä¸ã®é ç®ã«ã¤ãã¦æè¡ã¹ã¿ãã¯ãèãã¦ããã太åã¯ä»å¹´ã«ãªã£ã¦è¿½å ãããã®ã è¨èª ã¨ãã£ã¿ ãã«ããã¼ã« ã¹ã¯ãªããã£ã³ã° ãã®ã³ã° ãã¹ãâ¦
å ååã® id:tanishiking24 ãããScalaMatsuri 2024ã§WASMã®çºè¡¨ãããã®ã ããããããã£ã¦WASMã¸ã®èå³ã湧ãã¦ããèªåãã¡ãã£ã¨WASMã§éãã§ã¿ããã¨æã£ãã ããã§ãã´ãªã©æ°ãæ¸ããWASMã®è¨äºãèªãã§Scalaã§WASMãã¤ããªããã¼ã¹ãã¦ç°¡åãªWASIãâ¦
å æ¥ãããããã¤ã¼ããæµãã¦ããã Q:ãªãéèç³»ã§ã¯æªã ã«COBOLã使ããããã§ããï¼A:ãæå ã«Excelãããã¾ãããä»»æã®ã»ã«ã«ã=4.8-4.7-0.1ãã£ã¦å ¥ãã¦ã¿ã¦ãã ãããâ éæé¨é·F/S&RWAs (@fstora) 2024å¹´6æ6æ¥ Q:ãªãéèç³»ã§ã¯æªã ã«COBOLã使ãâ¦
Scala 2ã§ã¯ãããã表ç¾ããã¾ã«ãã£ã: trait Entity { type Key } type KeyOfEntity[E
Tagged Type ã¨ãããã¯ããã¯ãããï¼TypeScriptçéãªã©ã§ã¯Branded Typeã¨å¼ã°ãã¦ããããã ï¼ãå®è¡æã®åã¨ãã¦ã¯åãã ããåã·ã¹ãã ä¸ã¯ãããåºå¥ãã¦å¥ç©ã¨ãã¦æ±ããæ··åã§ããªãããä»çµã¿ãä½ãããã®ãã®ã ã AIããï¼ãµã ãã¤ã©ã¹ãä½ã£ã¦ï¼â¦
æè¿WASMã«èå³ãã§ã¦ãã¦ãã´ã¼ã«ãã³ã¦ã£ã¼ã¯ã«WASMã©ã³ã¿ã¤ã ãScala 3ã§å®è£ ãã¦ãããããçµæ§ãªå½ä»¤ãå®è¡ã§ããããã«ãªã£ã¦ããã¤ããªããã¼ã¹ãã¦è¶³ãç®ãå®è¡ããããããªãã§ããããã«ãªã£ãã WASMã¯æ©æ¢°èªãªã®ã§ããªãã³ã¼ãã¨å¼æ°ãå½ä»¤ã¨ãâ¦
å æ¥ãGitHub Actionsããããã¼ã¸ãã©ã³ãã¼æ±ãã§AWS CodeBuildãå¼ã³åºããããã«ãªã£ãã aws.amazon.com CodeBuildããã¯Lambdaç°å¢ãå¼ã³åºããã¨ãã§ããã®ã§ãç°¡åãªå¦çãªãLambdaã使ãããã«ããªã©ã®å¤§æããã§ãã¡ã¤ã«ã·ã¹ãã ã触ããããªå¦çâ¦
ãã®è¨äºã§ã¯ãScalaåå¿è ãããã¸ã§ã¯ããä½ãã¨ãã«åããã«ãã(ã§ããã)ãã¤ã³ããåãããã¨ãããã®ã§ãã ãããªè¨äºãèªãã ã trap.jp æ®æ®µRustãæ¸ãã¦ãã人ãScalaãæ¸ãã¦ã¿ãã¨ããå 容ã®è¨äºã§ãæ®æ®µScalaã«æ¯ãã¦ããªã人ã®è¦ç¹ããã£ã¦ã¨â¦
Airframe DIã«ã¤ãã¦èª¿ã¹ã¦éãã§ã¿ãã¨ããè¯ãããã ã£ãã®ã§ç´¹ä»ãã¾ããDIã«ã¤ãã¦ç¥ã£ã¦ãã人ã¯å é 2ç¯ãã¹ããããã¦ããã§ãã ãµã³ãã«ãããã¾ãã github.com ã½ããã¦ã§ã¢ã§ããããåé¡: åå²ãçµåã交æ DIã¨ã¯ Airframe DIã¨ã¯ Airframe DIâ¦