2016-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãã®è¨äºã¯Kotlin Advent Calendar2016ã®6æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã¯ RyotaMurohoshiããã® ãã!ã£ã¦ãªãã ãKotlinã¨Javaãnullã¨PlatformTypeãNullableã«NotNullã ã§ããã ææ¥ã¯ kikuchy ããã® ãã ã§ãã æ«å°¾å帰ã§FizzBuzz ãã®è¨äºã§ã¯Kotlinã®æ«â¦
æ³ãªã®ã§è¦ããã®ãé ããªã£ãã¨ãããããå¿ããã®ãæ©ããªã£ãæãããããDockerã®ãã¨ããã£ããå¿ãã¦ãã®ã§ã復ç¿ãããDockerã®ä½¿ãæ¹ã¬ãã«ãªã®ã§èªåãå¾ããã ãã®ã¨ã³ããªã¼ã dockerã³ã³ããã«ç°å¢å¤æ°ã渡ã -e VARIABLE=VALUE ã§æ¸¡ãã dockerâ¦
Freeã¢ããããããçãªè©±ãããã4ã5å¹´åãããã«æµè¡ã£ã¦ãã®ã ãããã®é ã¯Haskellãªã©è§¦ã£ã¦ãªãã£ãåã«ã¯é¢ä¿ã®ãªã話ã§ããã Haskellã触ã£ã¦ã¦ãIOã¢ã¯ã·ã§ã³ã®ãããããªããã°ã©ã ããã¹ãçã«åããã¦ã¿ããã¨ããã¨é端ã«å°ãããã§ãã ä¾ãâ¦
表é¡ã®ã¨ããã§ãã www.java-users.jp 以ä¸ãåå ããã»ãã·ã§ã³ã®ç¬æã¨åè¦ã«ããã¬ãã¼ãã§ãã Prepare for Java 9 : Java9ã«åããã Java9å åãã®ã»ãã·ã§ã³ã§ãã Jigsaw Kullar éäºææ å ± ãã¡ã¤ã«/ãã£ã¬ã¯ããªæ§é ãå¤ãã話 ããããã£ãã¡ã¤â¦
KuickCheckãä½ã£ãæã«Kotlinã®ãªãã¬ã¯ã·ã§ã³ãä¸éã触ã£ãããå®å ¨ã«å¿ãã¦ãã¾ã£ãã®ã§ããããã¦ã¡ã¢ã ããã§ã¯ã¯ã©ã¹ã表ãKClassã¨ãã®ããããã£ãããã³ããããé©ç¨ã§ããã¯ã©ã¹ãã¾ã¨ãã¦ããã Kotlinã³ã³ãã¤ã©ã¼ãçæããã¯ã©ã¹ KClassã®ãâ¦
å°ãããã£ãã®ã§ã¡ã¢ã Kotlinã§Bean Validationã使ã£ãæã«ãvalidationãããªãã®ã§ãStackoverflowãªã©ãèªãã§ããããã¢ããã¼ã·ã§ã³ã®æ¸ãæ¹ã工夫ããæ¨ãã£ãã ã¾ãã¯validationãããªããã¿ã¼ã³ data class Person ( @NotEmpty val name: Stringâ¦
表è¨ã®ã¨ããã§ãã ãã¹ããã¼ã¿ãã©ã³ãã ã«èªåçæãã¦è¤æ°åå®è¡ãããã¨ããã©ã¤ãã©ãªã¼ã§ãã調ã¹ã¦ã¿ãã¨ãããKotlinç¨ã®ãã®ããªããããªã®ã§ãä½ã£ã¦ã¿ã¾ãããååã¯KuickCheckã¨ããååã«ãã¦ãã¾ãããä»å¾ã©ããªãããããã¾ããããã¨ãåâ¦
ãªãã¬ã¯ã·ã§ã³ãããããããã£ã¦ãã¦æ°ã«ãªã£ãã®ã§ä¸éå端ã«ã¾ã¨ãã¦ã¿ã Kotlin ã¯ã©ã¹ã®ã¡ã¢ Kotlinãã³ã³ãã¤ã«ããã¨çæãããã¯ã©ã¹ ã¯ã©ã¹/ã¤ã³ã¿ã¼ãã§ã¼ã¹/enum/ãªãã¸ã§ã¯ã1ã¤ã«ã¤ã1ã¤ã®ã¯ã©ã¹ ããã±ã¼ã¸ã«æå±ããé¢æ°/ãããã㣠-> Ktã¯â¦
Javaã§OpenCVããã«ããã«ãããã®ã«ãå°ãæéåã£ãã®ã§ã¡ã¢ã ã¤ã³ã¹ãã¼ã«ããç°å¢ãªã©ã¯æ¬¡ã®ã¨ããã Mac 10.11.5 ã¤ã³ã¹ãã¼ã«ã«ã¯brewã使ã OpenCV 3.1.0 IntelliJ IDEA 2016.1.2 Java8u92 OpenCVã®ã¤ã³ã¹ãã¼ã« (1) pythonãbrewã§ã¤ã³ã¹ãã¼ã« $ bâ¦
FizzBuzzãããã®ã«TensorFlowã¨ãããã¿ãã¤ã¼ãããã£ãã®ã§ããæ©æ¢°å¦ç¿ FizzBuzzãã§æ¤ç´¢ããããã§ã«ããã¤ããã£ãã®ã§ãçä¼¼ãã¦ã¿ãããªã£ããã¡ãªã¿ã«æ©æ¢°å¦ç¿ã®ãã¨ã¯å ¨ç¶ããã£ã¦ã¾ããã qiita.com blog.amedama.jp ITä¼ç¤¾é¢æ¥å®ï¼ãæ°åãåæâ¦
Gradle2.11ã§Javaã½ããã¦ã§ã¢ã¢ãã«ã«å¯¾ãã¦JUnitã«ãããã¹ãããµãã¼ããããã®ã§è©¦ãã¦ã¿ã¾ããã åºæ¬ ãã£ã¬ã¯ããªã¼æ§æã¯ä»¥ä¸ã®ã¨ããã§ãã root ââsrc ââdata â ââjava ââdata.test â ââjava ââexceptions â ââjava ââfunctions ââjava 使ç¨ããJaâ¦
gradleã®ãã¼ã¸ã§ã³2.11ãã¨ã£ãã®æã«åºã¦ããã®ã§ããªãªã¼ã¹ãã¼ããæ訳ãã¦ããã¾ããã åæã¯ãã¡ã Gradle2.11ã§ã¯ã½ããã¦ã§ã¢ã¢ãã«ã¨IDEé£æºããã³ã³ã³ãã£ãã¥ã¢ã¹ãã«ããå¼·åãã¦ãã¾ãã ã½ããã¦ã§ã¢ã¢ãã«æ¹åã¯Gradleã®ç¾å¨ã®ç®æ¨ã¨ãªã£ã¦â¦
ä¹ ã ã«ãã½ã³ã³ã®åã«åº§ã£ãã®ã§ããªãããªä»£ããã«å æã«ãªãªã¼ã¹ãããGradle2.10ã®ãªãªã¼ã¹ãã¼ãæ訳ã¨ããããä¸éå端ã«ç¿»è¨³ãããåéãå¤ãã£ãã®ã§è¨³ãã¦ãªãã¨ãããããã¾ãããå¼ãç¶ãå ¥é¢ãã¦ãã®ã§ã翻訳ã®ç¶ãã¯ããã¾ããã ãªãªã¸ãã«(è±â¦