You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ãéå°ãªDRYãæè¡çè² åµãçããã¿ãããªå 容ã®è¨äºãæ¸ããããããã¾ãè¨èªåã§ããªãããéå°ãªé£äºå¶éãå¥åº·ãæãªããç¨åº¦ã®å 容ã«æãä¸ããããã ãã©ããããªããããªããã ã⦠@methane å®è£ ã«ãããDRYã¿ãããªãã®ãèãã¦ãã¦ãããããã¨åè ã®DRYã¨ããã®ãã©ãã«ä½ç½®ã¥ãããããã¯ããããªããã§ãããã¨ã«ããæé»ç¥ã¿ãããªãã®ãéå°ã«å¢ããDRYã¯è¯ããªããããã¨ãããããªè©±ãªãã§ã ã¨ãã@moriyoshitããã®ãã¤ã¼ãï¼1, 2ï¼ãè¦ãããã®ã§ãåã®èãæ¹ãã³ã¡ã³ããmoriyoshitããã®èãããåé¡ã¨ã¯ãããã¦ãããã DRYåã®å罪ã¨ã¯ä½ãï¼ åã®ç解ã§è¨ãã¨ãå ±éããã³ã¼ãçãDRYåãããã¨ã«ã¯ä»¥ä¸ã®å¤åãããããã 循ç°çè¤é度ã¯å¤åããªã ã³ã¼ã«ã°ã©ãã¯è¤éåãã ã¢ã¸ã¥ã¼ã«ãã¾ããDRYåãè¡ãã¨ãã¢ã¸ã¥ã¼ã«éã®ä¾åé¢ä¿ãè¤éåãã*1 é¢æ°å ã®è¤
æè¿è©±é¡ã® Vagrant ããã¯ãLinux ã®ç°å¢ãä½ã£ããå£ããããã¦éçºã¨ã試é¨ã楽ã«ãªãããã¨ç´¹ä»ããããã¨ãå¤ããã©ãWindows ã®ç°å¢ã ã£ã¦ä½ã£ããå£ããããããï¼ ãããã調ã¹ã¤ã¤ç°å¢ãä½ã£ã¦ã¿ãã®ã§ããã®æé ãå ±æãã¦ããã å®æã¤ã¡ã¼ã¸ã¯ãããªæããã³ãã³ãããã³ãããã vagrant up ãããã VirtualBox ä¸ã« Windows Server 2012 R2 ã®ç°å¢ãæºåããã¦ãããã«ãªã¢ã¼ã ãã¹ã¯ãããã§æ¥ç¶ãã¦ããã ããããããã£ããã¨ã« vagrant destroy ãããç°å¢ã¯æ¶ãå»ã£ã¦ãvagrant up ããããã¾ããã¾ã£ãããªç¶æ ãã使ããã ã¡ãã£ã¨æ³¨ç®ãã¦ã»ããã®ã¯ãã²ã¹ã OS ã® C:\vagrant ã«ãã¹ãå´ã® Vagrantfile ããã¦ã³ãããã¦ããã¨ããããã®ãããã®å¦ç㯠Vagrant-Windows
ââãã¾ã£ã·ããã¬ã¸ã³ãã¨åãåºç社ããåºã¦ããã¨ã¯ç¥ãã¾ããã§ãããå ¨ç¶ãéãä¸ç観ã§ãããã ããã§ããããã¾ã£ã·ããã¬ã¸ã³ãã®ããã«ãã¹ãã¼ã¹ã®è¨±ãéãï¼ä»¶ã§ãå¤ãç©ä»¶ãç´¹ä»ãããã¨ããã®ããã¬ã¤ãããã¯ã®ä¸è¬çãªèãæ¹ã§ãããã®ã»ãããå¾æãããã¾ãããã ãã ãï¼åã®æ è¡ã§ããã ãã®æ å ±éããã¯ããã¦ä½¿ãåããã®ã§ãããããå®ã¯ãéã«æ å ±éãå¤ããã¦é¸ã¹ãªãã¨ããè¦ãã ãã§ãè ¹ãã£ã±ãã¨ããç¹ã«å¥³æ§ã®ã¦ã¼ã¶ã¼ããã¯ãããã声ãå¤ãã®ã§ããããã§ãããã¨ãã£ã·ãã§ã¯ãããã¦æ å ±ãçµããä½ç½ãå¤ãä½ã£ã¦ãã¾ãã ä½ç½ãä½ãã®ã«ã¯ãçãããèªåã§ã¡ã¢ã§ããããã«ããç®çãããã¾ããç´ããéçããã¼ã«ã¼ãä¹ãããããã®ã«ãã¦ãã¾ãããã¾ã£ã·ããã¬ã¸ã³ãã®ãããªã¤ãã¤ãããç´ã§ã¯ãã¤ã³ã¯ãã¯ããã¦ãã¾ãã®ã§ã 観å 客丸åºãã¯ãæ¥ããããï¼ ââããã¨ãã£ã·ãã¯æ£æ¹å½¢ã®ãããªå°åãµã¤ãºãç¹å¾´
Gruntã«ã¤ãã¦ææ°ã®æ°æã¡ ::ãããã ä¸è¨ã®ããã°ã¨ã³ããªãèªãã§é常ã«ä»èªåãæãã¦ãããã¨ã¨å ±éç¹ãæãã¾ããã Gruntã«å¯¾ããææ°ã®æ°æã¡ã§ã¯2ã¤ã®åé¡æèµ·ãããã¦ã¾ããã 1. Gruntfile.jsãé·ããã(700è¡ã¨ã) 2. ããããå ¨é¨gruntã§ãããªãããããªãã®ã 1.ã«é¢ãã¦ã¯è²ããªè§£æ±ºæ段ãããã¾ããããã°ã®çè ã解決ããã¦ããããã§ããããã®ä»¶ã«é¢ãã¦ã¯æ¬¡åã®Maintainable Gruntfile.jsã§è§¦ãã¾ãã æåã¯2.ã«é¢ãã¦ã®ãå ¨é¨gruntã§ãããªãããããªããã ã£ããã¨ããçåã«é¢ãã¦ã§ãã åãåãæãããã¦ãã®ã§ãå調ãã¦ããã°ãæ¸ãã¾ãã gruntã«ã¤ã㦠è¨ããã¨ç¥ããã¿ã¹ã¯ã©ã³ãã¼ã§ãããgruntã使ãã¨javascriptã®minifyãmeta cssã®ã³ã³ãã¤ã«ã¨ãã£ãããã³ãã¨ã³ãã«ãããã¡ãªä½æ¥ãèªåå
2014å¹´3æ18æ¥ã«ä¸è¬å ¬éäºå®ã®Java SE 8ã¸ã®ãã¼ã¸ã§ã³ã¢ããã§ã¯ãæ°ããªè¡¨è¨æ³ã¨ãã¦ãã©ã ãå¼ãã追å ããã¾ãããã®ã©ã ãå¼ã使ããã¨ã«ãã£ã¦å¹æãçºæ®ããæ°ã ã®APIã追å ããããã¨ã«ãªããä»åã®ãã¼ã¸ã§ã³ã¢ããã¯Javaã使ã人ã«ã¨ã£ã¦ç¡è¦ã§ããªããã¼ã¸ã§ã³ã¢ããã¨ãªãã¾ãã ãããã©ã ãå¼ã¯ä»ã¾ã§Javaããã°ã©ãã³ã°ããã£ã¦ãã人ã§ãåæç¥èãªãã«ã½ã¼ã¹ã ããè¦ã¦ç解ããã®ã¯é£ããå 容ã¨ãªã£ã¦ãã¾ãããã®é£è¼ã§ã¯ãä»ã¾ã§Javaã®çµé¨ã¯ãã£ã¦ããã©ã ãå¼ã¯ãã¾ã ç¥ããªããã¨ãã人ã対象ã«ã©ã ãå¼ã«ã¤ãã¦è§£èª¬ãã¦ããã¾ãã JDK 8ã¯2013å¹´9æ10æ¥ã«éçºè åããã¬ãã¥ã¼çãå ¬éããã2014å¹´2æ18æ¥ç¾å¨ãEarly Accessçããªãªã¼ã¹ããã¦ãã¾ãã ã³ã©ã ããããããJavaã®ãã¼ã¸ã§ã³çªå·ã Javaã®ãã¼ã¸ã§ã³çªå·ã«ã¤ãã¦ãã¨ããã©ããã§1.8ã®ã
Google ã§ã¯ãæ°ããçã¾ãå¤ãã£ã Google ãããã®æä¾ãéå§ãã¾ãããã®æ°ãããããã¯ãæ¨å¹´ 5 æã«ç±³å½ã§çºè¡¨ããä¸é¨ã®æ¥æ¬ã®ã¦ã¼ã¶ã¼ã®çããã«ãã試ãããã ãã¦ãããã®ã§ããå¤æ°ã®è²´éãªãæè¦ããè¦æããå¯ãããã ãã¾ãã¦ããããã¨ããããã¾ãããæ°ç Google ãããã¸ã®åãæ¿ãã¯ãä»å¾ãæ°é±éããã¦è¡ã£ã¦ã¾ããã¾ãã æ°ãã Google ãããã§ã¯ããã£ã¨ä¾¿å©ã«ãè¡ãããå ´æãæ¢ãããããªã¢ã«ã¿ã¤ã ã®äº¤éç¶æ³ã確èªããããç¾ããè¡ä¸¦ã¿ãã覧ããã ããããã«ãªãã¾ããã ã¹ãã¼ãã£ã¼ãªæææ±ºå® ã¡ãã£ã¨ã³ã¼ãã¼ã飲ããå ´æãæ¢ãããã¨æã£ããã[ ã«ã㧠] ã¨æ¤ç´¢ããã ãã§ããããç»é¢ä¸ã«æ¤ç´¢çµæã表示ããã¾ããç®çå°ããã©ããããã®è·é¢ã«ãã©ããªã«ãã§ãããã®ãä¸ç®ã§ãããã¾ããæ¤ç´¢çµæã®èµ¤ãã¢ã¤ã³ã³ãã¯ãªãã¯ããã¨è©³ç´°ãªæ å ±ãè¦ããã¨ãã§ãã¾ãã çµè·¯æ¤ç´¢ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? è¿½è¨ ããã¤ããã£ã¼ãããã¯ãé ããã®ã§è£è¶³ã ã¾ãã Dart 㨠NaCl ã¯æ¯è¼å¯¾è±¡ãããªãã ãçãªè©±ã¯ãå¥ã«æ¯è¼ãã¦ã¾ããã ä½ãæ°ããå®è¡ç°å¢ãè¼ãããªã LLVM ãä¹ã£ãæ¹ãæ±ç¨æ§ãããã®ã§ã¯ï¼ã¨ããæå³ã§ãã Dart ã NaCl ã§åãã°ãããã ãããã ãã¨ã Angular.Dart ã¯ç¢ºãã« Angular.js ã®ãã¼ãã£ã³ã°ã«çã¾ããã Dart ãªãã§ã¯ã®å®è£ ã«ãªã£ã¦ããã¨èãã¾ãã Angular ã¯æµè¡ã£ã¦ãããã«æãã¾ããã DI å¨ãã¨ãè¦ã¦ãçµæ§ JS ã®éçãçªç ´ãã¦ããæããããã®ã§ã ãã
ããã¯ä¼ç¤¾ã§vue.jsãæ¡ç¨ã説å¾ããããã®è³æãªã®ã§stickitãç½µåãã vue.js http://vuejs.org/ backbone.stickit http://nytimes.github.io/backbone.stickit/ Backbone.stickitã¨Vue.jsã®æ¯è¼ ã#menuãæ¼ãããå³ã«100pxåããã¿ãããªã³ã¼ããæ¸ãã¦ã¿ãã¨ããã templateé¢æ°ã¯Jadeãã³ãã¬ã¼ããå±éããé¢æ°ã ã¨æã£ã¦ã»ãã Backbone.stickit ã®å ´å class MenuView extends Backbone.View initialize: -> @model = new Backbone.Model() @render() render: -> @$el.html template(""" #menu.js-open """) @stic
å ç³ã³ã¼ããã¤ã¹ã¿ã¼ã¨ãã¦ã¯ãçç£æ§ã«ã¤ãã¦ã¯æãã¨ããããã æè¡çå°é深度ãæ·±ã人ãããªãã¨ãããããããªãã³ã¼ãã£ã¦ã®ããã¡ããåå¨ãã¦ããã®åæã§10åã¨ã100åã«ãªããã話ãããã ãããããã¤ãã¹ã«ãªã人ãããã£ã¦è©±ã é ããã©ã¡ã¼ã¿ãã¢ãã«å ã¨ã³ã¸ãã¢A:ãé±ã«10ã®ææãåºãã¦3ã®è² åµãçã人ããèããããã®äººã¯éçºãæ¢ãã¦ãªãã¡ã¯ã¿ãªã³ã°ãããã°10-3 = 7ã®æè¡çè² åµãè¿å´ã§ããã¨ããã ããã§æ£ç¢ºã«ã¯ææ10ã«ã¯* aã®ä¿æ°ãæãã£ã¦ãããããã¯ããã¸ã§ã¯ãéå§æ1.0ã§ãæè¡çè² åµã貯ã¾ãã»ã©0ã«è¿ã¥ãã¦è¡ã 次ã«ãã¨ã³ã¸ãã¢B:ãé±ã«15ã®ææãåºãã¦10ã®è² åµãçã人ããèãã(ããã«ãä¿æ°aãããã)ããã®äººã¯è¦ãç®ä¸ã¯ä¸ã®äººã®1.5åéãææãåºãã¦ããããã«è¦³æ¸¬ã§ããããè² åµããã¾ããããããªãã¡ã¯ã¿ãã¦ã綺éºã«ãªãã«ããã ããã¯å²ã¨ã¨ã³ã¸ãã¢ã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}