Bind Peek ããã£ã¨ä½¿ãããï¼(æ´ç° æ©) - JPOUG Advent Calendar 2014(Day 5) -æ© æ´ç°
ããã«ã¡ã¯ãé±æ«æµ·ã§ãã³ãã¦ãç²ã£ã¦ãããã©ã®ã¢ã¯ã«ã¹ã«è¥²ããã@hirataraã§ããä»åã¯Perl Data Languageã«ã¤ãã¦ç´¹ä»ãã¾ãã Perl Data Languageã¨ã¯MATLABãNumpyãRãªã©ã¨åæ§ã«ãå¤æ¬¡å é åãå¹çããæ±ã£ã¦æ°å¤è¨ç®ãå®ç¾ããããã®ã©ã¤ãã©ãªã§ããcpanmã§æ®éã«ã¤ã³ã¹ãã¼ã«ããã°ä½¿ãã¾ãããã°ã©ããæç»ãããæ¬æ ¼çãªæ°å¤è¨ç®ã®ã©ã¤ãã©ãªã§ããGSLã®ãã¤ã³ãã£ã³ã°ãå©ç¨ãããããå ´åã¯homebrewã§ã´ãã§ã´ãã§ãããããå¿ è¦ãããã®ã§ãå¤å°é å¼µã£ã¦ä¸ããã åºæ¬çã«ã¯pdlé¢æ°ã§ãªãã¸ã§ã¯ãã«å¤æ´ãã¦ãã使ãã¾ãã use PDL; my $pdl = pdl [[1, 0, 0], [0, 1, 0], [0, 0, 1]]; print $pdl; ãå®è¡çµæã [ [1 0 0] [0 1 0] [0 0 1] ] pdlã
Ansible 1.9ããªãªã¼ã¹ããã¾ã㶠2015å¹´3æ25æ¥ã«Ansible 1.9ããªãªã¼ã¹ããã¾ãããçµæ§ãªéã追å ã»å¤æ´ããã¦ãã¾ãã®ã§ãããã§ãªãªã¼ã¹ãã¼ãã訳ãã¦ã¿ãªãã¾ã®ãå½¹ã«ç«ã¦ãã°ã¨æãã¾ãã åºæ¬çã«äºææ§ã確ä¿ããã¦ãã¾ãã®ã§ãplaybookãæ¸ããªããå¿ è¦ã¯ãªãã¨æãã¾ãããã ããgitã¢ã¸ã¥ã¼ã«ãªã©ã®ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ç¨ã®ã¢ã¸ã¥ã¼ã«ã§ãã¼ã«ã«ã«å¤æ´ãããã¨å¤±æããã¨ãããå®å ¨å´ã«åããå¤æ´ãããã¦ãã¾ãã®ã§ããã®ç¹ã§playbookãå¤æ´ããå¿ è¦ãããããããã¾ããã ãªãã1.9ã¯1ç³»ã®æå¾ã®ãªãªã¼ã¹ã¨ãªãã¾ããå¤§å¹ ã«æ¸ããªããããAnsible 2.0ã¯è¿ããã¡ã«åºãäºå®ã§ãã ãªãªã¼ã¹URL: https://github.com/ansible/ansible/blob/devel/CHANGELOG.md#19-dancing-in-the-s
« golang ã®ããã±ã¼ã¸ã Google Code ã«ä¾åãã¦ããã調ã¹ãã³ãã³ãä½ã£ãã | Main | C++ åãã®æ±ãããã json ã©ã¤ãã©ãª μjson » Goã§channelãcloseãã¦ããã©ããç¥ããã ã¨ããã¢ã³ããã¿ã¼ã³ - beatsync.net ããããGoã®channelãcloseãã¦ããã©ãããç¥ãããã£ã¦ããçç±ã¯ãã ããããGoã®channelã¯ãã¤ã¼ãã ãããã¨ããã¨ããã«èµ·å ããã®ã¯ãªããã¨æãã¾ãã https://beatsync.net/main/log20150325.html golang ã«ã¯å ã closed() ã¨ãããchannel ãéãããã¦ãããã©ãããè¿ãçµã¿è¾¼ã¿é¢æ°ãããã¾ããããããå»æ¢ããã¾ããã closed 㯠API ã¨ãã¦ã¯ç®çãéæåºæ¥ã¦ããã®ã§ãããbuiltin ã1ã¤å¢ãããchanne
APT ã¨ã¯ Annotation Processing Tool ã®ãã¨ã§ï½¤Java ã§ã³ã¼ãã®èªåçæãè¡ãéã«å©ç¨ããã。 APT ãå©ç¨ããã¨ï½¤Java ã¯ã©ã¹ããªã½ã¼ã¹ã®èªåçæãå¯è½ã¨ãªã。 ã¤ã³ã¿ã¼ãããã«æ å ±ã¯çµæ§ããã®ã ã、æã®ãã®ãå¤ãã¦ï½¤Eclipse ã« JAR ã追å ãã¦äºã ã¨ãããããæãã®ãã®ãå¤ãã¦è¾ãã®ã§èª¿ã¹ããã¨ãã¾ã¨ãã¦ãã。 ã¢ããã¼ã·ã§ã³ãä½ã é©å½ãªã¢ããã¼ã·ã§ã³ãä½ã。 import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.SO
ãè«çåé¤ãäºã ã«ã¤ã㦠- mike-neckã®ããã°ããèªãã§ã ãã¼ã¿ãã¼ã¹è¨è¨ã«ããã¦ãããã¼ãã«ã®æ¸ãæãããããªãimmutableãªãã¹ã¿ã¨æ´æ°ãã°ã«ãã£ã¦å ¨ã¦ãæ§æãããã¨ãããã®è¨äºã®ä¸»å¼µã¯ã¢ããªã³ã°è«ã¨ãã¦å ¨ãæ£ããã ã ããæ®å¿µãªãã¨ã«ããã£ã¹ã¯ãã¡ã¢ãªãè²´éãªè³æºã ã£ãæ代ã®æè¡ã§ããRDBã¯ããã®ãããªã¢ããªã³ã°ã«åºã¥ãã¦è¨è¨ããããã¼ã¿ãã¼ã¹ã«ã¯å¿ ãããé©ãã¦ããªãã 第ä¸ã®åé¡ã¯ãRDBã«å¯¾ãã¦ãªãããæ§ã ãªãæ´æ°ãï¼ãã©ã³ã¶ã¯ã·ã§ã³ï¼ã¯ä¸å®å½¢ï¼ã©ã®ãã¼ãã«ãã©ã®ããã«ä¿®æ£ãããã¯ã¢ããªã±ã¼ã·ã§ã³ä¾åï¼ã ã¨ããç¹ãä¸å®å½¢ãªãæ´æ°ããæç³»åã«ãã£ã¦RDBã«è¨é²ãã¦ããã®ã¯ãè¨è¨ã¨ä¸¦èµ°æ§ã®ç¹ã«ããã¦å°é£ãããã¯ç ©éãªã³ã¼ãã£ã³ã°ãå¿ è¦ã«ãªãï¼ã¨ãããããã®ãããªãã¤ãã³ããã«ãããå¤åãã¯REDOãã°ã«æ¸ãããã®æ´æ°ããããç¶æ ãããã¼ãã«ã«åæ ãã¦ããã¨ããã®ã
Kazuhoããã®è«çåé¤ã¯ãªããçãæªããããèªãã§ã UPDATEãçºçããªããã¼ãã«ãªãã°ãåé¤ãã©ã°ã使ã£ãå®è£ ææ³ã§ãç¾å¨ã®ç¶æ ã¨æ´æ°ãã°ãå¥ã ã«è¡¨ç¾ã§ããçµæã¨ãã¦å¹çã¨éå»ã®æ å ±ãåç §ã§ããã¡ãªãããç°¡æ½ã«ä¸¡ç«ã§ããã®ã§ã¯ãªãããã¨ãã話ã 大åæã¨ãã¦å ¨ãåæãªã®ã ãã©ããä»ãããã¼ãã«ã«deleted_atã足ãã ãã§ãéå»ã®ã¬ã³ã¼ãã復æ§å¯è½ãªããã«ãããï¼ï¼ ã¿ããã«æã£ã¡ãã£ãåã®ãããªäººéãå®éã«åãã¹ãå®è£ ææ³ã¯ä½ãããããã¯ããããæ³å®ãã¦ä»ãã£ã¦ããã¹ããã¼ãã«è¨è¨ã¯ã©ããããã®ãï¼ï¼ã¨ããã®ãæå¾ã®çåã ã¾ãUPDATEããªããã°ãimmutableãªãã¹ã¿ãæ´æ°ãã°ããç¾æç¹ã®ãã¥ã¼ãã®ï¼ãã¼ãã«ã¯ãä¾ãã°æ¬¡ã®ããã«ãªãï¼PostgreSQLã®å ´åï¼ï¼ -- immutableãªãã¹ã¿ã create table records ( id serial
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}