2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãã£ã¦ããããcf. http://wiki.centos.org/HowTos/Disk_Optimization cf. http://www.nuclex.org/blog/personal/80-aligning-an-ssd-on-linux kouhei@lion:~$ sudo fdisk -S32 -H 32 /dev/sdd Command (m for help): n Command action e extended p primaryâ¦
V320/Q790/Wæ¡ç¹å¾ ã¡ä»¥ä¸åèã«ãªããªãã¡ã¢
require_relativeããã¤ã©ã¤ããããããã«ãããªã©ã kouhei@havana:~$ cat .vim/ftplugin/ruby.vim nnoremap <buffer> <silent> K :Refe<CR> setlocal include=^\\s*\\<\\(load\\\|\w*require\\\|require_relative\\\\)\\> syn keyword rubyInclude require_relative</cr></silent></buffer>
æè¿rubyãã¿ã°ã£ãã§ãã主ã«æ¸ãã¦ãã®ã¯Cã§ãã
try_funcãgcc warningåºãã®ãé¿ããã±ã£ã¡ require 'mkmf' # replace f**king try_func def try_func(func, libs, headers = nil, &b) headers = cpp_include(headers) try_link(<<"SRC", libs, &b) or #{headers} /*top*/ #{MAIN_DOES_NOTHING} int t() {â¦
ãã ã®æèããã
å ãã¿ã®å ãã¿ï¼Rails Oceania Google Groupã®David Leeæ° å ãã¿ï¼pk stuffæ° http://krnjevic.com/wp/?p=209ãã¤ãå¿ããã®ã§ã¡ã¢ãdebian(ubuntuãï¼)ã«ã¯ãcloneãåãã½ããã¦ã§ã¢ã®ç°ãªããã¼ã¸ã§ã³ã管çããããã«ãupdate-alternativesã¨ããã¦ã¼â¦
æ°ã¥ãã¨2ã¶æããã¦ã...
ruby1.9ããm17n対å¿ãããStringã¯ã©ã¹ã ãã©ãä½ãèããã«rubyæ¡å¼µããrb_str_newããã¨ã¨ã³ã³ã¼ãã£ã³ã°ãæªæå®ã®ç¶æ ã«ãªã£ã¦ String#sizeã¨ããæ£ããå¤ãè¿ããªããªãããã£ã¦ãå¤é¨æ¡å¼µããã®Stringçææã«ã¯ãã¤ãåãUTF-8æååã ã¨æ示çã«ã¨â¦
topã½ãUIã®ç£è¦ãã¼ã«ãä½ãããã£ãã®ã§ncursesã使ã£ã¦ã¿ããã©UTF-8æååãæååããã¦è¡¨ç¤ºã§ããªãã£ãã®ã§è§£æ±ºçãã¡ã¢ãncursesã¯ãããããã«ããã¤ãæåã®è¡¨ç¤ºã«å¯¾å¿ãã¦ããªãã®ã§ããã®å¯¾å¿çã§ããncurseswã使ãå¿ è¦ãããã å¤ãã®ãã£ã¹ãâ¦
æ¸ãã¦ãããªãã¨ãã£ã±ãå¿ããã®ã§é¢åã§ãããããã¡ã¢ãæ®ãããã«ãããã
ä»ã¯ãã£ã¨ç°¡åã«ãªã£ã¦ãï¼ d:id:nyaxt:20120104UNetBootInãæ£ããåä½ããããã¨ãåºæ¥ãªãã£ããããdebianã§æä¾ããã¦ããboot.img.gzãå©ç¨ããã¤ã³ã¹ãã¼ã«æ¹æ³ã解説ãããUNetBootInã¯æ§ã ãªOSã®CDã¤ã³ã¹ãã¼ã«ç¨isoãã¡ã¤ã«ãç¨ãã¦ãBootableãªUâ¦
æ£è¦è¡¨ç¾ãããã§Squidã«å¯¾ãã¦PURGEãå®è¡ãã¦ãããpurgeã¦ã¼ãã£ãªãã£ã¨ãããã®ãããã¾ãã http://www.wa.apana.org.au/~dean/squidpurge/cronã§ã¾ããã¹ã¯ãªããã§ãããå®è¡ãããã¨ã§å®æçã«ãã£ãã·ã¥ãã¯ãªã¢ãã¦ã¾ãã ä¸å¿DBã«æ´æ°ããã£ãå ´â¦
config.ru: #!/usr/bin/ruby require 'rubygems' require 'rack' require 'sinatra' $: << File::dirname(__FILE__)+"/.." require 'app' run Sinatra::Application config.yml: --- chdir: /home/xxxx/xxxx user: www-data group: www-data port: 14567 serâ¦
ã¢ã¯ã»ã¹éãå¤ããã¨ãäºæ³ãããçºãSquidãããã³ãã«ç½®ãæ§æã«ãå®éã®æ§æ㯠Squid(cache) => lighttpd(revproxy/vhost) => thin(dynamic contents)ã¨ããæããããã§ãthinãé ä¿¡ããåçã³ã³ãã³ããå ¨ã¦squidã§ãã£ãã·ã¥ã«è¼ããªãåé¡ãçºçãåâ¦
http://sinatra-book.gittr.com/ã«æ¸ãã¦ããFastCGIç¨è¨å®ã¯2010/5/4ç¾å¨outdatedã set :logging, false set :server, "FastCGI" ã®ã¿ã§ããã¯ãããããPATH_INFOã¯ç©ºã«ãªãã®ã§ãREQUEST_URIããé©å½ã«ã¨ã£ã¦ãã¦ãã class Rack::Handler::FastCGI clasâ¦
ãã¤ã°ã¬ã¼ã·ã§ã³ã®ãã¼ã¸ã§ã³çªå·ã¯schema_infoãã¼ãã«ã§ç®¡çããã¦ããã®ã§ããããã¿ã¦ããããªã»ãããããã¨ãã¯dropãã¦ããã
æ°æã¡æªãã£ãã®ã§@db = Sequel.newãã¦ããã©åé¡ãããããã
Sequel + Sinatra + Thinã¨ããrubyçã§ã¯ææ°ï¼ã®æ§æã§Webã¢ããªãä½ã£ãã®ã§ããããããã ç®çã¯ãããªãã®ãã©ãã£ãã¯ãæã£ã¦ããã¨ç 究ã¨ãã«ä½¿ããããªã¨ãã¨ããå®éã¯è¶£å³ã§ãããããªããã次ä½ãã¨ãã¯Scalaã§ãããã
ãããããè¼ã£ã¦ãªãã®ã§ããèªãã©ãï¼ã¦ã®ããã£ãããã²æãã¦ãã ããã Economic models for resource management and scheduling in Grid computing (ä»®æ³?)çµæ¸ãã¼ã¹ã®ã¢ãã«ã®ãµã¼ãã¤ï¼ãªã½ã¼ã¹ããã¼ã«Nimrod-Gã®å®è£ ã¨ãã¨ã çµå±ã³ã¹ãG$ã¦ãªâ¦
ãªããæè¿ããããæ´æ°ãã¦ãªãã®ã§ããµã¼ãã¤ãã°ãããã¯åãåºãã¦ã¿ãã
ããæè¿1å¹´åãããéçºãã¦ããIznaStorã¨Iznaãã©ãããã©ã¼ã ã«ã¤ãã¦ã第åå åP2P SIPåå¼·ä¼ã«ã¦è¬æ¼ããã¦é ãã¾ããããã®ã¨ãã®çºè¡¨è³æãå ¬éãã¾ããä½ã質åçããã°ãæ°è»½ã«ã³ã¡ã³ãæ¬ã¾ã§ã©ãããã¾ãIznaããã¸ã§ã¯ãã¡ã³ãã¼ã¯éæåéä¸ã§â¦
å®å®ç©çç³»ã®ç 究ã§ã¯IDLã¨ãããã¼ã¿è§£æç°å¢ã使ããã¾ãã ã¤ã³ã¿ãã§ã¼ã¹è¨è¿°è¨èªã§ã¯ãªãã¦ãInteractive Data Languageã®æ¹ã§ããã¨ããããã§æ¯å使ãæ¹å¿ããã®ã§ããããã¡ã¢ æ§æã®åºç¤ hoge=1 ; å¤æ°ä»£å ¥ 宣è¨å¿ è¦ãªã function,arg1,arg2,namedaâ¦