Java
github.com ãã®ãã¼ã¸ã§ã³ãããEmbulk clientã¨serveréã§TLSã§ã®æ¥ç¶ãã§ããããã«ãªãã¾ããã è¨å®æ¹æ³ (ã¯ã©ã¤ã¢ã³ã) ã¾ããuse_tls ãªãã·ã§ã³ãtrueã«è¨å®ãã¦ãã ããããµã¼ãå´ã(ã¯ã©ã¤ã¢ã³ãã«ã¨ã£ã¦)æ¢ç¥ã®CA証ææ¸ã§ãµã¤ã³ããã証ææ¸ã使â¦
Embulkã®executor pluginã®ä»çµã¿ã¨ãããã¯ã¼ã¯ããã°ã©ãã³ã°ãå¦ã³ããã£ãã®ã§ãåå¼·ãã¦ããã®ãããªãã©ã°ã¤ã³ãä½ã£ã¦ã¿ã¾ããã github.com ã§ããã㨠Embulkã®ã¿ã¹ã¯ã®å®è¡ãå¥ã«ç«ã¦ãå°ç¨ã®ãµã¼ã(以ä¸Embulkãµã¼ãã¨å¼ã³ã¾ã)ä¸ã§å®è¡ã§ãã è¤â¦
TL;DR ã©ã ããªãã¸ã§ã¯ãã®åãã©ã¡ã¼ã¿ãåå¾ããã¹ãã¼ããªæ¹æ³ã¯ä»ã®æè¦ã¤ãã£ã¦ããªã ããåºç¤ããã°ã©ã ã§ãããããã¨ããããå ´åã¯ãã©ã ããç¦æ¢ãã¦ãå¿åã¯ã©ã¹ã使ã ããæ¹æ³ããã£ããæãã¦ãã ãã æ¬æ Javaã§åºç¤ããã°ã©ã çãªã®ãä½â¦
ãããã使ã£ã¦ã¿ããã¨ãããã¨ã§å ¥éãã¦ã¿ã¾ããã JUnit Jupiter ãã¡ãã«ãæ¸ããã¦ã¾ãããJUnit 5ã¯è¤æ°ã®ãµãããã¸ã§ã¯ããããªããJUnit 5ã§ãã¹ããæ¸ãããæ¡å¼µæ©è½ãæ¸ãããã®ã¯ã©ã¹ã¯JUnit Jupiterã¨ããããã¸ã§ã¯ãã«ããã¾ãããªã®ã§ããâ¦
each_sliceã¨ããã®ã¯é åãæå®ããè¦ç´ æ°ã®é åã«åããå¦çã§ãããªã¹ãã®ä¸èº«ãn件ãã¨ã«å¦çããã¨ãã«ä¾¿å©ã§ãã Javaã«ã¯åæ§ã®å¦çã(ãã¶ã)æ¨æºAPIã«ã¯ç¡ãã®ã§ããããªæãã§è¡ãããã§ãã import java.util.Arrays; import java.util.List; impâ¦
Streamã® parallel ã¡ã½ãããå¼ã¶ã¨ã¹ããªã¼ã ã®å¦çã並åã«å®è¡ã§ãã¾ãããããã¯å é¨çã«ã¯ååç´¹ä»ããForkJoinPoolã使ããã¦ãã¾ããForkJoinPoolã¯å é¨ã§common poolã¨å¼ã°ããå ±éãã¼ã«ãæã£ã¦ãããæ示çã«Poolãæå®ããªã ForkJoinTask#invoâ¦
ForkJoinPoolã¯Java 7ããå°å ¥ãããæ°ããExecutorã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã æ§æ¥ã®Executorã¨éãã®ã¯ãã¿ã¹ã¯ã®ã¹ã±ã¸ã¥ã¼ã«ã®ã¢ã«ã´ãªãºã ã¨ãã¦ãwork-stealingãæ¡ç¨ãã¦ãããã¨ã§ããããã¯å帰å¦çãã¿ã¹ã¯ã®ä¸ã§æ´ã«ç´°ããªåã¿ã¹ã¯ãçæãããããâ¦
jjug.doorkeeper.jp Embulkã®ãã©ã°ã¤ã³ãKotlinã§æ¸ãç´ãããæè¿èªåã®ä¸ã§æ¿ã¢ãè¨èªã®Kotlinã®åå¼·ä¼ãéãããã¨è¨ãã®ã§æ©éåå ãã¦ãã¾ããããµã¤ãã¼ã¨ã¼ã¸ã§ã³ãã®ãµã¼ããµã¤ãã®äºä¾ã ã£ããSpringã®Kotlin対å¿ã ã£ããKotlinã®æ³¢ãæ¥ã¦ããã®ãâ¦
embulk-input-remoteãKotlinã§æ¸ãç´ããv0.3.0ããªãªã¼ã¹ãã¾ããã GitHub æåã«æ¸ãç´ããæã®PR RubyGems Kotlinã¯4å¹´ã»ã©åã«ä¼ç¤¾ã®ã¬ãã¼ãã§ã¡ãã£ã¨èª¿ã¹ãã¾ã¾ã§ç¥èãæ¢ã¾ã£ã¦ã¾ããããæè¿ã¯Androidããµã¼ããµã¤ãã®äºä¾ãå¤ãåºã¦ããã®ã§åå¼·â¦
Goldman Sachsã®ä½æããJavaã®ã³ã¬ã¯ã·ã§ã³ã©ã¤ãã©ãªã®GS Collectionsã®ãã³ãºãªã³ã«åå ãã¦æ¥ã¾ããã ãæ±äº¬ãJJUG ãã¤ãã»ããã¼ ãGS Collections éå ´ãjjug.doorkeeper.jp Java8ã§Streamã追å ããã¦å°å ¥ããçç±ãå°ãªããªã£ãããªã¨æã£ã¦ã¾ããâ¦
ãä¹ ãã¶ãã§ããæè¿ã¯æè¡Tipsã¯Qiitaã«æ¸ãäºãå¤ãã®ã§ãããã°ã¯ãç¡æ²æ±°ã§ããã æè¿ç¤¾å¤åå¼·ä¼åå ãã¦ãªããªã¼ã¨æããã¡ããã©æã«Twitterã§éå¬ããã¦ãããã¨ãç¥ãwãä¹ ãã¶ã*1ã«åå ã¦ã¿ã¾ããã çµæãã¡ããã¡ãåºæ¿åãã¾ããããã£ã±ããâ¦
SpringAOPã®ãããã·åã®ä»çµã¿ã«ã¯ JDK dynamic proxyã¨CGLIBã¨ããäºã¤ã®ä»çµã¿ããããã§ãã(ããã©ã«ãã¯JDK dynamic proxy) JDK dynamic proxyã§Proxyåãããbeanã®ã¤ã³ã¹ã¿ã³ã¹ãç´æ¥å®è£ ã¯ã©ã¹æå®ã§Autowiredåºæ¥ãªãä»æ§ãããã§ããâ»ãã®è¾ºãåâ¦
絶è³è² è·è©¦é¨ã§ä½¿ã£ã¦ããã®ã§ãåãã£ããã¨ãã¡ã¢ ã¹ã¬ããã°ã«ã¼ãã«ã¤ã㦠ãRapm-upæé(s)ãã®éã«ãã¹ã¬ããæ°ãåã®ã¹ã¬ãããä½ã£ã¦åã¹ã¬ããããã«ã¼ãåæ°ãåã«ã¼ããã ä¾ãã°Ramp-upæé600ãã¹ã¬ããæ°60ãã«ã¼ãåæ°10ã ã¨ããã¨ã10åã®éâ¦
ã0x1234ãçã«16é²æ°ã§æ¸ããã®ã¯ç¥ã£ã¦ãã®ã§ããã0ãã ããé ã«ã¤ããã¨8é²æ°ã«ãªãã®ã¯ç¥ããªãã£ãã®ã§ã public class OctalInteger { public static void main(String[] args) { System.out.println(0001); // 1 System.out.println(0010); // 8 Sysâ¦
â»æ³¨æ 以ä¸ã®è©±ã¯SpringAOP3.1.1ã§ç¢ºèªãã¦ãã¾ããSpringAOPã§å¦çãæã¿è¾¼ã¾ããbeanã¯å®ä½ãProxyã¯ã©ã¹ãªã®ã§ãbeanã使ã£ã¦ã¡ã¿ããã°ã©ãã³ã°ããããå ´åãã¡ãã£ã¨å°ããã¨ãããã¾ããã å°ããã¨ä¾ ä¾ãã°Commandãã¿ã¼ã³ãå©ç¨ãã以ä¸ã®ãããªCoâ¦
Intellij IDEAã§ä¾åé¢ä¿ã®ããã¢ã¸ã¥ã¼ã«ãããããã¸ã§ã¯ãããªã³ã¯ããã
éçºä¸ã«ä¾ãã°coreãã¸ãã¯ã®ã¢ã¸ã¥ã¼ã«ã¨webã¢ã¸ã¥ã¼ã«ãåãã¦éçºãã¦ããã¨ãã« webã¢ã¸ã¥ã¼ã«ãä¾åãã¦ããcoreã¢ã¸ã¥ã¼ã«ããã¼ã«ã«ã®ããã¸ã§ã¯ãã«åãããã¨ãããããã¨æãã¾ãããããªã¨ãã®æ¹æ³ãã¡ã¢ã£ã¦ããã¾ãã ï¼ãã£ã¨ç°¡åãªæ¹æ³ããâ¦
ç¥ããªããªãã¦è¨ããªãNoSQLã¾ã¨ãï¼1ï¼ï¼KVSç³»NoSQLã®ã¾ã¨ãï¼HibariãDynamoãVoldemortãRiakç·¨ï¼ (2/4) - ï¼ ITä¸è¨ã®è¨äºãèªãã§ãã¦ãã³ã³ã·ã¹ãã³ãã»ããã·ã³ã°ããªãåè¦ã®åèªãè¦ã¦ã調ã¹ã¦ã¿ã¾ããã ã³ã³ã·ã¹ãã³ãããã·ã¥æ³ - Wikipedia Conâ¦
Listã®2大å®è£ ã§ããArrayListã¨LinkedListã ãã®æã©ã®ãããªç¨éã§ä½¿ãã®ããããã調ã¹ã¾ããããå®éã®ããã©ã¼ãã³ã¹ã¯ã©ããªã®ãã調ã¹ã¦ã¿ã¾ããã 調æ»æ¹æ³ äºã¤ã®Listã«å¯¾ãã¦ä»¥ä¸ã®é çªã§å¦çããã¦ããã¾ãã é çª å¦çå å¦çå 容 1 addSequencâ¦
Javaã§ã¯åºæ¬ãã¼ã¿åã¨String以å¤ã®ãªãã¸ã§ã¯ãã¯ãã¹ã¦åç §æ¸¡ããããããããããªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ãè¤æ°ã®ãªãã¸ã§ã¯ãã§åç §ããã¦ããå ´åãäºæ³ããªãã¨ããã§åç §ãªãã¸ã§ã¯ãã®æ¸ãæãããçºçãããã°ãçºçããå¯è½æ§ãããã¾ããCloneâ¦
Setã®å±éã¯ã©ããä¸çªæ©ãï¼ - ãã¾ãã¾æ¥è¨ï¼åã«åºããçµè«ã¯æ®éã«iteratorãforeachã ã£ãã®ã§ãããæ¬æ¥ãææãåãã¾ãã¦èª¿ã¹ãªããã¦ã¿ã¾ããã åããã¾ãããæ®éã«ãã£ã¡ãé ãã£ãã§ããã RT @kamatama_41: æ¡å¼µforã«ã¼ãã£ã¦å調ã¹ãã¨ãæ®éâ¦
ã¬ã¬ã·ã¼ã³ã¼ãæ¹åã¬ã¤ããèªãã§ãã¦ç¥ã£ãã®ã§ãããC++ã¯ã³ã³ã¹ãã©ã¯ã¿å ã®ã¡ã½ããã®ãªã¼ãã¼ã©ã¤ããç¦æ¢ããã¦ããããã§ããã¬ã¬ã·ã¼ã³ã¼ãæ¹åã¬ã¤ã (Object Oriented SELECTION)ä½è : ãã¤ã±ã«ã»Cã»ãã§ã¶ã¼ãº,ã¦ã«ã·ã¹ãã ãºæ ªå¼ä¼ç¤¾,å¹³æ¾¤ç« ,è¶â¦
enumã®valueOfã£ã¦åå¨ããªãæååãæ¥ãã¨ä¾å¤ãçºçãããã§ããã nullãè¿ã£ã¦ããã®ãã¨æã£ã¦ã¾ããã å ¥åå¤ã®ãã§ãã¯ãå¿ è¦ã£ã¦ãã¨ãããã*1 *1:å½ããå
Class#getInterfaces()ã¯èªåã®ã¯ã©ã¹ãå®è£ ãã¦ãã ã¤ã³ã¿ã¼ãã§ã¼ã¹ããæ¤åºãã¦ããã¾ãããã¹ã¼ãã¼ã¯ã©ã¹ã¾ã§é¡ã£ã¦èª¿ã¹ããå ´åã¯jakarta commonsã®ClassUtils#getAllInterfacesããããã¯springframeworkã使ã£ã¦ããæ¹ã¯commonsã®ClassUtilsãæ¡å¼µâ¦
è¿½è¨ ï¼ç¶ï¼Setã®å±éã¯ã©ããä¸çªæ©ãï¼ - ãã¾ãã¾æ¥è¨ï¼ å調æ»ãããã¨ããçµæãå¤ãã£ã¦ãã¾ãã - ã£ã¦ãã¨ã§èª¿æ»ãã¦ã¿ã¾ããã toArray()ã§é åã«å¤æãã¦ããå±é for-eachã§å±é iteratorã使ã£ã¦å±é Listã«å¤æãã¦ããå±é import java.util.Aâ¦
ä»ã¾ã§ã¯ArrayListãã使ã£ã¦ããªãã£ãã®ã§ããã ç¨éã«ãã£ã¦ä½¿ãåããããããã«ãªããªããã°ãã¨æãã¾ããã ArrayList è¦ç´ ãé åã§ä¿æãã¦ãã é åãã¡ã¢ãªä¸ã§ã¤ã³ããã¯ã¹åããã¦ãã ã¤ã³ããã¯ã¹ã®ä¿®æ£ãã³ãã¼ã«å¯¾ããã³ã¹ããè¦ç´ æ°ã«æ¯ä¾â¦
æéã空ãã¦ãã¾ãã¾ããããæ¬æ¥ã¯ï¼ç« ã®ã¯ã©ã¦ã俳å¥é¨ãä½æãã¾ããããã£ããã¨ã¯ GoolgeAppEngineã®XMPPãå©ç¨ããBOTã®ä½æ ã§ãã http://cloudhaiku-by-kamatama.appspot.com/ãã®ã¢ããªã®æ¹è¯ãã¤ã³ã 使ããåèªãå¢ããããã«ãã ã¤ã³ã¿ã¼ããâ¦
Webã¢ããªã±ã¼ã·ã§ã³ãä½ããã¨ãæãç«ã£ãã®ã§ãæ¬ãè²·ã£ã¦ä½ã£ã¦ã¿ã¾ãããä½ãã°ãããï¼Google App Engine for Javaããã°ã©ãã³ã°ä½è : ä¸å£å¥å¿åºç社/ã¡ã¼ã«ã¼: ç¿æ³³ç¤¾çºå£²æ¥: 2011/04/23ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 3人 ã¯ãªãã¯: 104åãã®ååãå«ããâ¦
ç¾å¨æ¥åã§JMockã使ã£ããã¹ããè¡ããã¨ãã¦ãããããJMockã®åå¼·ä¸ã§ããæåã¯ä»¥ä¸ã®ãã¼ã¸ jMockã使ã£ã¦ã¿ã ãåèã«ãã¹ãã³ã¼ããæ¸ãã¦ããã®ã§ãã æ¡å¼µãã¦ãããã¡ã«ã¨ã©ã¼ãåºã¦ãã¦ãã¾ãåµã£ã¦ãã¾ã£ããããã®ç¹ãã¡ã¢ å¼æ°ã®æ¯è¼ JMockã§â¦
天æ°æ å ±ãèªã¿è¾¼ã - ãã¾ãã¾æ¥è¨ï¼ 天æ°æ å ±ãèªã¿è¾¼ã ãã®ï¼ - ãã¾ãã¾æ¥è¨ï¼ååã®è¿½è¨ã§WeatherFormatterãã¨ã©ã¼ã«ãªã£ã件ã§ããããã¯ãã©ã¤ãã©ãªã¼ãç¡ãã£ãã ãã®ããã§ããã çµå±ãµã³ãã«ã½ã¼ã¹ãåããã®ã«å¿ è¦ã ã£ãã©ã¤ãã©ãªã¼ã¯ä»¥ä¸ã«â¦
ååã®ç¶ãã§ãã 天æ°æ å ±ãèªã¿è¾¼ã - ãã¾ãã¾æ¥è¨ï¼ãããã調ã¹ã¦ãããã¡ã«è±èªã§ãããèªåã®ãããããã¨ããã£ã¦ãããµã³ãã«ãµã¤ããçºè¦ããããããã¡ãã§Yahoo! Weatherã®ãã¼ã¿ãåå¾ããå¦çã使ã£ã¦ã¿ã¾ããã Maven by Example - 4.6. Simpâ¦