MacBook Proï¼2009 Midï¼ã®ã¡ã¢ãªã4GBãã8GBã¸äº¤æãã¾ããã
MacBook Proï¼2009 Midï¼ã®ã¡ã¢ãªã4GBãã8GBã¸äº¤æãã¾ããã
æ°å MacBook ã®ã¡ã¢ãªã 4GB ã«äº¤æ
Archives 2011å¹´5æ (2) 2011å¹´1æ (1) 2010å¹´12æ (3) categories æè¡æ å ± éè¨ Recent Entries WebSocketåå¼·ä¼ã§çºè¡¨ããã¦ããã ãã¾ãã ãã¹ããã¦ã¾ãã? å°ãã¿ï¼CORS by iframe-d script tag WebSocketã¨native TCP/UDP daemonã®èæ Setup lighttpd-1.4.26 w/ OpenSSL at ãããVPS(CentOS 5.5) Recent Comments
ã¿ã¤ãã«ã®éããubuntuã«ç¾æç¹(2010/10/4)ã®ææ°çã®rubyã¨railsãã¤ã³ã¹ãã¼ã«ããéã®ã¡ã¢ã§ãã ä»åã¯serverçã®ubuntuã§ãç¹ã«ä½ãå ¥ã£ã¦ãªãã®ã§ãã¾ãã¯rubyã®ã¤ã³ã¹ãã¼ã«ããã ç¾æç¹ã®ææ°ã¯ruby1.9.2ã aptitudeã§ã¯å ¥ããªãã®ã§ãã½ã¼ã¹ãããã¦ã³ãã¼ããã¦ã³ã³ãã¤ã«ãããã¼ã»ã»ã»ãã£ã¦æã£ã¦ããããªãã¨æè¿ã¯rvmã¨ããã®ãããããããããªãã§ããã rvmã¨ã¯ãRuby Version Managerãã®ç¥ã§ãrubyã¤ã³ã¿ããªã¿æ¬ä½ã®ç®¡çç¨ã¢ããªã±ã¼ã·ã§ã³ã ã¨ãªãããã使ãã¨ãè¤æ°ã®ãã¼ã¸ã§ã³ã®rubyã¤ã³ã¿ããªã¿ãå ±åããããã¨ãã§ããã¨ãã ã¤ã³ã¹ãã¼ã«ãããrubyã¯ã~/.rvm/rubies/ã以ä¸ã«å ¥ãããã®ä»ãgemãåããããªå ´æã«ã¾ã¨ãã¦ä¿åããããããããã¼ã ãã£ã¬ã¯ããªä»¥ä¸ã«ã¤ã³ã¹ãã¼ã«ãããã®ã§ãã¤ã³ã¹
C# 2.0 ã§ã¯ãfixed ã¹ãã¼ãã¡ã³ãã使ç¨ãã¦ããã¼ã¿æ§é å ã«åºå®ãµã¤ãºã®é åãä½æã§ãã¾ãããã®æ©è½ã¯ãå¥ã®è¨èªã§ä½æãããã³ã¼ããæ¢åã® DLL ããã¸ã§ã¯ããæ¢åã® COM ããã¸ã§ã¯ããªã©ãå種æ¢åã³ã¼ããæä½ããã¨ãã«ä¾¿å©ã§ããåºå®é åã¯ãæ¨æºã®æ§é ä½ã¡ã³ãã®ããããå±æ§ã¾ãã¯ä¿®é£¾åã使ç¨ã§ãã¾ããå¯ä¸ã®å¶éã¨ãã¦ãé ååã boolãbyteã charã shortãintãlongãsbyteãushortãuintãulongãfloatãã¾ã㯠double ã«ããå¿ è¦ãããã¾ãã private fixed char name[30]; 解説 C# ã®ä»¥åã®ãã¼ã¸ã§ã³ã§ã¯ãé åãæ ¼ç´ãã C# æ§é ä½ãé åè¦ç´ ãå«ã¾ãã代ããã«é åè¦ç´ ã¸ã®åç §ãå«ããããC++ ã¹ã¿ã¤ã«ã®åºå®ãµã¤ãºã®æ§é ä½ã宣è¨ããã®ãå°é£ã§ããã C# 2.0 ã§ã¯ãå®å ¨ã§ãªãã³ã¼ã ã
TIPSï¼Win32 APIãDLLé¢æ°ãå¼ã³åºãã«ã¯ï¼ ã§ã¯ã.NETã®ããã°ã©ã ããWin32 APIãDLLãã¡ã¤ã«ã«ããé¢æ°ãå¼ã³åºãããã®åºæ¬çãªæé ã解説ãã¦ãããããã§ã¯ãããDLLé¢æ°ã«æ¸¡ããã©ã¡ã¼ã¿ããæ§é ä½ãã§ããå ´åã®åãæ±ãæ¹æ³ã«ã¤ãã¦è§£èª¬ããã .NET FrameworkããWin32 APIãDLLé¢æ°ãå¼ã³åºãå ´åã«ããã©ã¡ã¼ã¿ãæ»ãå¤ã«æ§é ä½ã使ç¨ããã¦ããã¨ãã¯ããã®æ§é ä½ã¨ç価ãªãã®ãC#ã§æ¹ãã¦å®ç¾©ããªããã°ãªããªããWin32 APIã§ä½¿ç¨ããæ§é ä½ã¯ãTIPSï¼Win32 APIãDLLé¢æ°ãå¼ã³åºãã«ã¯ï¼ ã§è§£èª¬ãã¦ããå®æ°ã¨åæ§ã«ããã©ãããã©ã¼ã SDKã®ãããã»ãã¡ã¤ã«ã«ãã®å®ç¾©ããããã¾ããæ§é ä½ã«é¢ãã¦ã¯MSDNã®ããã¥ã¡ã³ãé¡ã«ãå®ç¾©ãè¨è¿°ããã¦ããã ä¾ãã°ãWin32 APIã§ãã°ãã°ä½¿ç¨ãããæ§é ä½ã®1ã¤ã«POINTæ§é ä½ããã
ãã¼ãªã¨ç´æ°å±é ä¿¡å·å¤§å¦å·¥å¦é¨ããäºæ¾¤è£å¸ ãã¼ãªã¨ç´æ°å±éã¯ãä¿¡å·ã¨ã¹ãã¯ãã«ã®é¢ä¿ãç解ããä¸ã§æãéè¦ãªæ¦å¿µã§ãã ãã®å 容ãææ¡ã§ããã°ããã¼ãªã¨å¤æãé¢æ£ãã¼ãªã¨å¤æããµã³ããªã³ã°ã®ç©ççãªæå³ãã ãããã®ç¸äºé¢ä¿ãç解ãããã¨ã容æã§ãã ããã§ã¯ãæ°å¦çææ³ã«åºãå³å¯ãªè§£èª¬ã¯é¿ããããç´è¦³çã«ç解ã§ãããããªãã¼ã«ãããã¤ãç¨æãã¾ããã å³ä¸ã®ãã¿ã³ãæä½ãããã¨ã«ãããé¢æ°ã®æ³¢å½¢ããã¼ãªã¨ä¿æ°çã®æ°å¤ãã¤ã³ã¿ã©ã¯ãã£ãã«å¤æ´ãããã¨ãå¯è½ã§ãã ããããæ´»ç¨ãã¦ãä¿¡å·ã®å¯¾ç§°æ§ã¨ãã¼ãªã¨ä¿æ°ã®é¢ä¿ããç´äº¤é¢æ°ã®ã¤ã¡ã¼ã¸ã«ã¤ãã¦ãç解ãæ·±ãã¦ä¸ããã 1.ãå®ç¾©(ãã®ï¼) ã¯ããã«ããã¼ãªã¨ç´æ°å±éã®å®ç¾©ã示ãã¾ããããã å¨æé¢æ°ã x(t) ã¨ãã¾ããããã§ ï½ ã¯æéãT0  ã¯å¨æã表ãã¾ãã ãã®é¢æ°ãããã£ãªã¯ã¬ã®æ¡ä»¶ãæºããã¨ããT0 ã®æ´æ°åã®å¨
Hi, I'm Emelia, a highly experienced software engineer and founder based in Berlin, Germany I'm perhaps most known for my voice on Mastodon, where I talk about Tech, Politics, Distributed Web, Social Media Moderation, rights for sex workers and equality. You can find my writing on Medium, when I publish it. You may also know me as the tech princess, or the trans woman who left tech (I'm back). For
2011å¹´10æ11æ¥ node.js + websocket-serverï¼åå¿é²ãã®ï¼ ã¯ããã« websocket-server ã¨ãããã®ã使ã£ã¦ã¿ãã®ã§ãã®ã¨ãã®åå¿é² socket.ioã¨ã¡ãã£ã¦websocketå°éã®ã¢ã¸ã¥ã¼ã«ã ããåããããã¼ã¿ãã·ã³ãã«ãªã®ã§ãéä¿¡ãwebsocketã ãã«å²ãåããªããã¡ãã®ã»ããè¯ãã®ã§ã¯ã¨æããã ä»å試ããã®ã¯ ver 1.4.04 npm ã§æ±ãæã«ã¯ websocket-server ãªã®ã ããã© npm install websocket-server githubã§ã¯node-websocket-serverã¨ãªã£ã¦ããã ããã¥ã¡ã³ãã¯ãã¡ããhttp://static.brandedcode.com/nws-docs/ã ããä»ã®ã¨ããã¯ã½ã¼ã¹è¦ãã®ãä¸çªãããããããªãã client_id æ¥ç¶ãã¦ã
websocket-server 2011å¹´10æ12æ¥ node.js + websocket-serverï¼åå¿é²ãã®ï¼ ã¯ããã« close() 㨠reject() ã«ã¤ãã¦æ¸ãã ä»å¾ã¯websocket-serverã¯ãã¾ã使ããªãã¨æãããã©ããã¡ããæ¸ãã¨ãã¦ããããã¨æãã [email protected] ã使ã£ã¦ããã close() ã«ããã³ãã¯ã·ã§ã³ã®åæ connection.close() ã¨ãã¦ãåæã§ããªãã£ãã node-websocket-server æ¬ä½ã® lib/ws/connection.js ãã¿ã¦ã¿ã㨠function close(connection) { connection._socket.end(); connection._socket.destroy(); debug(connection.id, 'soc
This domain may be for sale!
BD-Jã§ã¾ã¨ããªã½ãããä½ã£ã¦ãªãã®ã«è²ã éã³ãããªãã®ãè¡åã£ã¦ãã¤ã æ¬æ¥ã®åéã«ã¡ããã¨ãã¢ã½ããã§ãçµãã§æè¡ã®ç¢ºèªã ããã£ã¦ã¿ãã åèã«ããã®ã¯ã°ã°ã£ã¦ãããçã®é«ãè¨äºã websocketãã¿ã§ãµã¼ããµã¤ããJavaï¼pythonï¼golangï¼Javascript㨠å¦ã«æ¬å½å®ã¾ããªãé°å²æ°ãªã®ã§ï¼ããã¦ä»ãæ¢ãã¦ã¿ãã @makoto_inoue ããã«åãããã®ããã£ã¦rubyã¤ã¾ãem-websocketã§ãã£ã¦ã¿ãã ï¼ãªãã ããã³ãã³å¨ä½ã®æ¹ãããã node.websocket.jsã§è¶ é©å½ãã¯ã¤ããã¼ãã¢ã㪠http://blog.bornneet.com/Entry/268/ em-websocket http://github.com/igrigorik/em-websocket em-websocketã®ãµã³ãã«ã§ããecho.rbã¨ä¸è¨ãã¯ã¤ãã
jQueryã®Sortableã¨em-websocketãçµã¿åãããåããã¼ã¸ããã©ã¦ã¶ã§é²è¦§ä¸ã®ã¦ã¼ã¶ããå ±åãã¦ãªã¹ãã®é çªãªã©ãå¤æ´ã§ããªããRuby on Railsã§è©¦ãã¦ã¿ã¾ããã ã¾ã誰ããæä½ä¸ã¯ãè¦åã¢ã¤ã³ã³ã表示ããããã«ãã¾ããã ã½ã¼ã¹ http://github.com/nkmrshn/share_sortable ç¨æ Gemfileã«em-websocketã追å ãããbundle installãã§ã¤ã³ã¹ãã¼ã«ãã¾ãã gem 'em-websocket' gem 'jquery-rails'ã¾ããä»åã¯prototype.jsã§ã¯ãªãjQueryãªã®ã§ãjquery-railsã追å ããã¢ããªã®ä½æã¯ãrails new APP_NAME -Jãã¨prototype.jsãä½ãããã¤ã³ã¹ãã¼ã«å¾ã« rails generate jquery:instal
並å1000ã³ãã¯ã·ã§ã³ã«èããï¼ Ruby ã®ã¤ãã³ãé§åã©ã¤ãã©ãª Rev 㨠EventMachine ã® HTTPã¯ã©ã¤ã¢ã³ã ããã«ã¡ã¯ãtakada-at ã§ãã Rubyã®ã¤ãã³ãé§ååãããã¯ã¼ã¯ããã°ã©ãã³ã°ãã¬ã¼ã ã¯ã¼ã¯ Rev 㨠EventMachine 㧠HTTPã¯ã©ã¤ã¢ã³ããåããã¦ã¿ã¾ããã ã¤ãã³ãé§ååãããã¯ã¼ã¯ããã°ã©ãã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã¨ã¯ä½ã説æãã ãã¨é£ããã§ãããä¸è¨ã§è¨ãã¨ã以ä¸ã®ããã«ãªãã¾ãã # ãµã¤ãã®ããã¼é§ååããã°ã©ã Net::HTTP.start(host, port){|http| res = http.get(path) #ãã®å¦çãçµãã£ã¦ãã } puts "done" #ãã®æ¬¡ã®å¦çãå®è¡ããã # ã¤ãã³ãé§ååããã°ã©ã client = Rev::HttpClient::connect(host, port
ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã§é¢åãªã®ããéä¿¡ç¸æã«ãã¤ãåããéããªããããããã³ã«ãã·ãªã¢ã©ã¤ãºæ¹æ³ããèããªãã¨ãããªããã£ãããè¤æ°ã®ã¯ã©ã¤ã¢ã³ãã«å¯¾å¿ãããã¨ããã¨ã¹ã¬ããããã¤ãã³ãé§åãããèããªãã¨ãããªãã¨ããã§ããªããªãæ¬è³ªçãªãã¸ãã¯ã®å®è£ ã«æãä»ãããããã©ããããªãã¾ãã ãã®ãããã®é¢åãªé¨åãã¾ã¨ãã¦è¯ãã«è¨ãã£ã¦ãããRPCã©ã¤ãã©ãªãä½ã£ã¦ããã¨è¯ãããã§ãã ã¨ã¯ãããRPCã¬ã¤ã¤ã¼ã¯ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã®ä¸ã§ãé度ã¨ä¿¡é ¼æ§ã«å¤§ããå½±é¿ããé¨åã§ãããã¾ããå®è£ ã丸ã é è½ããã¦ãã¾ãã¨ãå¾ã«ãªã£ã¦ã«ã¹ã¿ãã¤ãºã§ããã«å°ã£ããã¨ã«ãªãããããã¾ããã æåã®ãããã¿ã¤ãã³ã°ã¨ãã¦ç°¡åã«ä½¿ããããã«ã¹ã¿ãã¤ãºãå¹ããããªæè»æ§ã欲ããã¨ããã§ãã ããã§Rubyã®é«éãªã¤ãã³ãé§åIOã©ã¤ãã©ãªã§ããRevã¨ããã¤ããªãã¼ã¹ã®ã·ãªã¢ã©ã¤ãºå½¢å¼ã§ããMes
ã¨ã¦ãç°¡åã§ãã 10åãããããã«è©¦ããã®ã§ããã£ããã©ããã ä¸å¿githubã«ã½ã¼ã¹ãç½®ãã¦ã¾ãã®ã§ãèå³ãããããã¯ãã¡ããè¦ã¦ã¿ã¦ä¸ããã(âÊ»â¡Ê»â) https://github.com/nihitok/Kantan-websocket ä½ããã® websocketã§åããã£ãã æåã«ãgemã§em-websocketãã¤ã³ã¹ãã¼ã«ãã¾ããem-websocketã®è©³ç´°ã¯ãã¡ããhttps://github.com/igrigorik/em-websocket $ gem install em-websocket ç°å¢ã«ãã£ã¦ã¯ä¾åããã©ã¤ãã©ãªããªãã¦æããããããããããã¾ãããããã®å ´åã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ã§ã°ã°ãã¦è¦ã¦ä¸ããã 次ã«ãé©å½ãªHTMLã§ãindex.htmlããä½ãã¾ãã <html> <head> <script src='http://ajax.go
ãã¾ WebSocket ãã«ããã«æ³¨ç®ãéãã¦ããããã§ãã ãã©ã¦ã¶ã¨ãµã¼ãã®éã§ãªã¢ã«ã¿ã¤ã ãªåæ¹åéä¿¡ãå®ç¾ããæ©è½ã§ãHTML5ã«è¿½å ãããï¼ãããäºå®ã®ï¼æ°ããä»æ§ã§ãã ãã®WebSocketã使ãã«ã¯ããã©ã¦ã¶å´ã®JavaScriptã®è¨è¿°ã ãã§ãªãããµã¼ãå´ã®å®è£ ãå¿ è¦ã«ãªãã¾ãã ããã§ãRubyã§ä½¿ããWebSocketã®ãµã¼ãã©ã¤ãã©ãª rev-websocket ããªãªã¼ã¹ãã¾ããã gemã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ãï¼gem install rev-websocket æ©éããã¢ã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ã¾ããï¼ã·ã£ã¦ããã¼ã*1 WebSocket ã使ã£ããã£ããã·ã¹ãã ã«ãã¡ãã£ã¨ããæ¼åºãå ããã·ã³ãã«ãªã¢ããªã±ã¼ã·ã§ã³ã§ããéãã¿ã¤ãããã»ã©å¤§ãã表示ãããã¨ãã趣åã§ã^^; WebSocket ã«å¯¾å¿ãã¦ãããã©ã¦ã¶ã¯ä»ã®ã¨ãã Safari 㨠Chr
ãã3ãµæè¿ãåã§ãããWebSocketãããã³ã«ã®Draft76ãå ¬éããã¾ããããã®Draft76ã§ã¯ãããã¾ã§ã®Draft75ã¨ãã³ãã·ã§ã¤ã¯ã®å 容ãå¤ãã£ã¦ãã¾ããã draft-hixie-thewebsocketprotocol-76 - The WebSocket protocol ã¨ãããã¨ã§ãæ°ããä»æ§ã¨Pythonã®åå¼·ãã¦ãã«echoãµã¼ãã¼ãæ¸ãã¦ã¿ã¾ããï¼å®è¡ç°å¢ã¯ä»¥ä¸ã®éãã§ãã Mac OS X 10.6.4 Python 2.6.1 Chrome 6.0.472.4 Firefox 4 β1 以ä¸ããµã¼ãã¼å´ã®ã½ã¼ã¹ã³ã¼ã(WSP76_echo.py)ã§ããgithubã¨ã使ããï¼ã£ã¦æãã¯ãã¾ããããã ã®ãµã³ãã«ãªã®ã§é¢åãã(ry #!/usr/bin/env python #-*- coding:UTF-8 -*- from optparse imp
Ruby & WebSockets: TCP for the Browser â igvita.comãåèã«ããã ã§ãã http://dev.shokai.org/test/ws/chat/ ã½ã¼ã¹ã³ã¼ã https://github.com/shokai/ruby-websocket-test websocketãªã®ã§chromeãsafariãiPhoneã§åããã©ãFirefoxã¨IEã§ã¯åããªãã â ãµã¼ãã¼ ãµã¼ãã¼ã¯rubyã®EventMachine::WebSocketã使ã£ãã ã¾ãgemã§ã¤ã³ã¹ãã¼ã«ãã¦ãã㦠gem install em-websocket EM::runã®ä¸ã§EM::WebSocket.startããã ãã 1ããã»ã¹ã«è¤æ°ã¯ã©ã¤ã¢ã³ãã¤ãªãã£ã±ãªãã«ãã¦ãå ¨ã¯ã©ã¤ã¢ã³ãã«ã¾ã¨ãã¦ã¡ãã»ã¼ã¸ãéãããã«EM::Channelã使ã£ããEM::W
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}