2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
google ãã©ãã ãä¸çãå¤ããããèãã次ã«ä¸ã®æ å ±ã価å¤ã¯ãããªãã¯ãªé åã¨ãã©ã¤ãã¼ããªé åã«åæ£ããäºãæãæµ®ãã¹ãæãfb ã®ä¾¡å¤ãè¦ããæ°ãããã ãã©ã¤ãã¼ããªé åã«ã¢ã¯ã»ã¹ããã«ã¯ Social Graph ã極ãã¦æå¹ãªæ段ãªã®ã ããã©ã¤ãã¼â¦
TextMate, QuickSilver ã使ã£ã¦ãã㨠AppleScript ãæ¬ ãããªããã®ã«ãªã£ã¦ããã ä»ã¾ã§è¦ããè¦ã¾ã㧠AppleScript ã使ã£ã¦ãããã©æãããã«ãããªãããã®ã§ãªãã¡ã¬ã³ã¹ã«ç®ãéãã¦ã¿ããã¡ã¤ã³ã¯ã³ã¼ãã¨ä¸ç·ã« gist ã«ãgist ã«æ¸ããªãã£ãè¦â¦
ãã¼ã¹ããã¼ã¯1çºã§ä»»æã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¹ã¤ãããããã¤å ¨ã¦ã£ã³ãã¦ãåé¢ã«æã£ã¦ãã QS Action ç¨ã® AppleScript ãæ¸ãã¾ãããã¦ã Interface Builder ç¨ã§ãã QS ã® Action ã«ç»é²å¾ãQS -> . -> Interface Builder ã¨ã¿ã¤ã -> Action ã§å½â¦
MongoId å¯æãããMongoIdã mongo æ¨æºã®ã·ã§ã«ã«æ½ããã r c ãã¦ã³ã³ã½ã¼ã«ããå©ãæ¹ã楽ãªã®ã§å°ãï¼å¬ããæå³ã§ï¼ã 以åã¯ããåºæ¥ãã®ã where(:price => {'$gt' => 0}) ä»ã¯ãã where(:price.gt => 0}) ã¾ã exclude, not_in ã®ãããªè¦æ £ããªâ¦
AppleScript ã£ã½ãäºã ruby ã§ããªç°å¢ãä¸éã調ã¹ã¦ã¿ãã rb-applescript ä»ã¯ãããç¾å½¹ãRuby ã ãã§ãªã python, Objective-C ã®ãã¤ã³ãã£ã³ã°ããããã¨ãããå°ã£ãäºã«ãã¯ãªãããã¼ãã«ã¢ã¯ã»ã¹ãããã¨ãã㨠osax ã 64bit ruby ã§åããªãâ¦
"å ¨ææ¤ç´¢ã«ã¤ãã¦ç°¡åã«èª¿ã¹ãã¡ã¢" ç¶ã注æç¹ã¨ãã¦ã¯ æ¥æ¬èªã¯ UTF-8 ä¸æ æ¤ç´¢å¯¾è±¡ DB ã UTF-8 ã ã¨æ¥½ Ngram ã®ã¿ ã¤ã³ããã¯ã¹ã®é¨åçãªæ´æ°ã«é£ãã blog, ãã¥ã¼ã¹, ãã©ã¼ã©ã ã¨ãã£ãèç©åã®ã³ã³ãã³ãã«ã¯è¯ã æ´æ°æè»æ§ããããã©ã¼ãã³ã¹ãâ¦
ãã£ãã調ã¹ãã æ¦è¦ãç¥ã èªã http://ja.wikipedia.org/wiki/å ¨ææ¤ç´¢ Ngram(N-gram)ã¨ã¯ä½ã & å½¢æ ç´ è§£æã¨ã®æ¯è¼ ã¡ã¢ å½¢æ ç´ è§£æ: è¾æ¸å質ã«ããæ¤ç´¢è½ã¡ã N-Gram: ãã¤ãº: äº¬é½ -> æ±äº¬é½åº ã¤ã³ããã¯ã¹ãµã¤ãºè¥å¤§å è©ä¾¡ææ¨ recall (åç¾ç):â¦
Rails 3 + warden ã§èªè¨¼æ©è½ãå®è£ ããã®ã§å¿ããªããã¡ã«ã¡ã¢ãä½ãéå¹çãªäºããã¦ãããããï¼ã¢ãã«ã¯ AR ã§ã¯ãªã mongodb + MongoIdï¼ Gemfile gem "warden" gem "rails_warden" initializers/warden.rb >|ruby| Rails.configuration.middleware.useâ¦
http://pure-rspec-rubynation.heroku.com/ èªãã ã¡ã¢ã ï¼è¿½è¨ï¼æ´ã« http://eggsonbread.com/2010/03/28/my-rspec-best-practices-and-tips/ ãèªãã§ã¡ã¢ã追è¨ããã RSpec2 ã¡ã¢ its ãåããªã undefined method `its' ã¡ã¢ implicit subject & it deâ¦
ä¹ ã autotest å©ãã¦ã¿ããã¨ã©ã¼ãåºã¦ãã loading autotest/rails_rspec2 Autotest style autotest/rails_rspec2 doesn't seem to exist. Aborting. 解決çã¯ãã®è¾ºãã http://www.ruby-forum.com/topic/206187æ´ã«ãZenTest 㨠rspec-rails ãåä¸ãã¹â¦
ã¯ãã¯ãããéçºã³ã³ãã¹ã24ã«å¿åãã¾ãããã¢ãã¯ãã¡ããFind wit éå¤ãéå¦è·¯ã§è¦ã¤ããè²ããªäºããI #findwit :)ã㨠tweet ãã¦ã·ã§ã¢åºæ¥ãã°ä¾¿å©ï¼ä½ãããªãã£ã¹ã¾ã§ã®éã®ãã楽ããã ãããªãã¨æãä½ã£ã¦ã¿ã¾ããã pure JavaScript ã¢ããªâ¦
CouchDB definitive guide ãå±ããã¿ã¤ãã³ã°ã§ MongoDB ã«ä¹ãæãã¦ãã¾ããRails 3 ã¨å ±ã«æ¯ãä¸ã æç« ãåæ£ãã¦ãããæ¬ ãã¦ãããããã®ã§ã¡ã¢ãæ®ãã¦ã¿ãã Gemfile gem "bson_ext" gem "mongoid", ">= 2.0.0.beta2" run generator g mongo:configâ¦
ä½åº¦ããä½åº¦ããä½åº¦ã§ãè¨ãããiPad ã¯è²·ãã ãä¾ãä»è²·ããªãã¨ããæªæ¥ã®ããªã㯠iPad ã®ä¿ç´¯ãè²·ãããããæ£çµ±ãã失æã¨ããå±ãä¹ãè¶ããé æãã¯ãã¦ããã æã ã¯ãã£ã¨ãã¼ãã¼ãã¨ãã¦ã¹ãæ¨ã¦å»ãäºãåºæ¥ãããã®æ©ä¼ã«æµã¾ãããä»ç®ã®åâ¦
controller åã®åæ°ã¨è¤æ°ãééããã¾ã¾ãããã³ã°ãã¦, ãããã resources/resource ã¯ããããã³ã³ããã¼ã©åãåæ°/è¤æ°ã§åããããï¼or No routes matchesï¼æ¬¡ auth æ¬æã«ä½ããã®ãã©ã¼ãããå°å ¥ æ稿æ©è½ ç©ã¿æ®ã match ã«å¯¾å¿ãã url/path ã®â¦
Lazy Loading ããã§è¯ãã®ãã©ããããã¾ã åé·ã«æããã®ã§ãã£ã¨è¯ãä»ã®éãããã®ããã query = Entry.recent query = query.ranged params if params[:year] @entries = query.paginate :page=>params[:page] || 1, :per_page=>Entry.per_page query â¦
äºç®æãç¥ãã®ã¯å¤§äºã ã å人çã«ã¯ç©ã¿ä¸ãã¦æ¯ãè¿ãæ¹ã好ããªã®ã§äºç®æ®µéãã諦ãããçµã£ããã¯ããªãã>http://fukui.livedoor.biz/archives/2920275.html>| 人ã1å¹´éã«ä½¿ããæéã¯4,000æéã ã ä»äºããã¦ãã人ã§ããã°ã2,000æéã¯å¤±ãããâ¦
ä½ã§ãããã§ãæ¸ãã¦ã¿ããï¼ã¨æã£ã¦ããããæ¯ãè¿ãã®è¦éããä¸ããã®ã§æ¹é転æã ç°¡æ½ã«ã å¦æ³ãã³ã¡ã³ãããè¨é²ãã
çµå± logware ãä½ãäºã«ã ä½ãã¤ã¤å ¬éãã¦ããã®ã§ç©å¥½ããªæ¹ã¯ fork me on github次 will_paginate entry åä½è¡¨ç¤º slug å®è£ entry 詳細æ å ±æ´å æ¬æã«ä½ããã®ãã©ã¼ãããå°å ¥ æ稿æ©è½ ç©ã¿æ®ã factory_girl ããã® db:fixtures:load ï¼ããããç¨â¦
AR on Rails3 ã® scope & chain ã¯ã¨ã¦ãã¹ãããªã®ã ãã©ãscope ã§æ½è±¡åã㦠chain ãã£ã¦ãã¨ç´ãã«æ¡ä»¶ä»ãé£éãæ¸ããããªãããããªæã Song.list.recently.send( cond ? 'played' : 'callee' ).pageâ¦.ï¼ä»¥å¾ã延ã ã¨ç¶ãï¼ èª¿ã¹ã¦ããããããããâ¦
ã¼ã¡ã¼ã¡ãã®ãã³ãä½ã£ã¦ã¿ãã Bundler 0.8 -> 0.9 㧠:only å»æ¢ã:group ã«ãªã£ã generator 㯠./script/rails generate ã«ãå¼ã£è¶ã ã¾ã¨ã http://sousk-log.blogspot.com/2010/03/play-with-ralis3-setup-your-bundler-and.html åç §å http://www.â¦
Amazing Gadgets for the Poorãé¢ç½ãã貧å°ä¸çï¼è±ããã«æãå±ããªã人ã ï¼ãã¿ã¼ã²ããã«ããæ´»åããããã¯ãã«ã¯ã¦ãã¼ã¯ã§é¢ç½ãçºæããã£ã±ãããã ãã®è¨äºã«ä¸ãã£ã¦ãã諸ã ã楽ãããKiva ã®è¨è¿°ã«ãã has facilitated more than $124 milliâ¦
http://about.digg.com/node/564MySQL -> Cassandra cassandra is a distributed database with a BigTable data model running on a Dynamo like infrastructure it is column-oriented and allows for the storage of relatively structured data fully deâ¦
SQL like ãªã·ã³ã¿ãã¯ã¹ãæ¡ç¨ãããã°ã®ãã¼ã¹ãã¼ã« UserWarning: Unknown distribution option: 'install_requires' ãåºã¦ãã©ãããã¾ããã£ã¦ãªãã½ãã æ念ããã setup python install python26 and python_select via MacPorts type python -l (lâ¦
åéã®ãã¼ãã£ã¼ã«è¡ã£ã¦ã¿ãã¨å¤å½äººã®ãªãä¼ã ã£ãã æ¥æ¬äººè£æ£ãå¹ããªãã¨è¾ãè¾ãã話ããã£ã©ãã¤ã¾ããªãç¸æã¯ç®¸ã«ãæ£ã«ãå¼ã£ããããªãã ãã¿æ¯ããã¦ãå 容ç解ã«èªä¿¡ãç¡ãã®ã§èãééãï¼ã¨ãæã£ã¦ãã¾ãã çµå±ãã¸ã¬ã¹ã«ãªã£ããããã¿â¦
Rails ã«å¯¾ãã¦ãããã¯ã¡ãã£ã¨ãªã¼ãã¨æã£ã¦ããã表é¢ã¯ã¨ã¬ã¬ã³ãã ãå é¨ã®ã³ã¼ãã¯ãã¼ãã£ã¨ããæ°´é³¥ãªé¨åãææãããããã«è¦ããã ãã«ã¢ã¼ãã¼ZZã¿ããã ï¼ã¨æã£ã¦ããéåé·å¤§æãã¢ã¸ã¥ã¼ã«ï¼ç²çµåã§åçãåºããããªã spec è¦ã¦ãã ãã®â¦
routing éè¦ã è²ã èãããescaping by default ã¯ãã£ã¨ãï¼ã£ã¦æãã ãã©ã sources en: http://guides.rails.info/3_0_release_notes.html ja: http://blog.bluemoderns.com/articles/2010/02/07/ruby-on-rails-3-1 more infos http://guides.rails.inâ¦
node.js ã Scala/Lift ã§ããã§ã¼ï¼ã¨ãè²ã éããã®ã«ç§»ããã¨æã£ã¦ããã®ã ãã©ãã£ã±ã rails3 ã¯æ¼ãããäºã«ããã ãã£ã±ãããã§ããããã¢ããªã®æ°ã ãã¬ã¼ã«ããã£ã¦ãããããã¯å¤§å¤ããããRails1 ãã Rails3 ã«ä¸¦ã¹ãã¨ãã®æ代ã«å¯ãæ·»ããâ¦
使ããããªã®ã§ã¡ã¢ http://japan.zdnet.com/sp/feature/07tenthings/story/0,3800082984,20409456,00.htm ç価ã¨çå¤ã®éã, == 㨠=== å¤æ¸¡ãã¨åç §æ¸¡ãã®éã ããªã¢ã¼ãã£ãºã æ²è¦³çããã¯ã¨æ¥½è¦³çãã㯠çªç¶èããã¦çããããã®ã£ã¦ãåç §æ¸¡ããããªâ¦
http://factoryjoe.com/blog/2008/12/20/where-were-going-with-activity-streams/ http://www.slideshare.net/factoryjoe/activity-streams-presentation
-- show index show indexes from table_name -- remove FK ALTER TABLE `table_name` DROP FOREIGN KEY `FK_name`; ALTER TABLE `table_name` DROP INDEX FI_name;