PartialFunctionã®ã¨ã¤ãªã¢ã¹ãä½ã£ã¦è¦èªæ§up...ããªããããããªã
PartialFunctionã¯ããã¹ã¦ã®å¤ã«ã¤ãã¦å®ç¾©ããã¦ããã¨ã¯éããªãé¢æ°ã示ãã¦ããFunction1ã®ç¹æ®ãªã±ã¼ã¹ã
val pf:PartialFunction[Int,String] = { case i if i>1000 => "Big" }
PartialFunctionãã®ãã®ã®è©±ã¯ã¨ããããç½®ãã¨ãã¦ãScalaã£ã¦ãããªæ¸ãæ¹ãåºæ¥ããåãã©ã¡ã¼ã¿ã2ã¤ã¨ãåã«ã¤ãã¦ã¯ä¸ç½®ã®ããã«ã§ããã
val pf:Int PartialFunction String = { case i if.... }
ã§ããããªãã ãããããããªããã§ã Int => String ã®ããã«æ¸ãããã®ã§ã
type ~>[A,B] = PartialFunction[A,B] val pf:Int ~> String = { case i if ... }
ã¨ãã¨ã¤ãªã¢ã¹ãå®ç¾©ãã¦ããã¨ãªãã ãè¦èªæ§ãUP!ã»ã»ã»ããï¼
ã¾ããããªæ¸ãæ¹ãåºæ¥ãScalaã®ç´ æµä»æ§ (
Windows7ã«ãããä¸ã帯åã ãç°å¸¸ã«çããªã£ãã®ã§ãã£ã¤ãã
ãªããæè¿åè¨å¸¯å 384kbpsãããã§ustreamã¨ããã³çæ¾éãã¦ã¦ãã¬ã³ã¬ã³ãã±ãããdropããã£ã¦ãã§ã使ã£ã¦ããããã¤ããdisã£ãããã¬ãããdisã£ãããã¦ããã®ã§ããã
disãããã¹ãã¯Windows7ããç¡ç¥ãªç§ã ã£ãããã§ãã
ã¾ããä½ãèµ·ãã£ã¦ãããã¨ããã¨å®çªRadishããã®æ¸¬å®çµæã§ãããªæãã
=== Radish Network Speed Testing Ver.3.2.2 - Test Report === 測å®æ¡ä»¶ ã精度:é« ãã¼ã¿ã¿ã¤ã:æ¨æº ä¸ãåç· ãé度:60.65Mbps (7.581MByte/sec) 測å®å質:99.5 ä¸ãåç· ãé度:6.204Mbps (775.5kByte/sec) 測å®å質:99.0 測å®è ãã¹ã:********.dynamic.ppp.asahi-net.or.jp 測å®ãµã¼ãã¼:大éª-æ°çº 測å®æå»:2012/3/17(Sat) 18:22
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ä¸ãé度ãä¸ãã®å®ã«ååã®ä¸ã¨ãããè¬ç¶æ ã
ãã§ããªãã§ãWindows7ã«ã¯RWINå¤ã®èªåãã¥ã¼ãã³ã°æ©è½ã¨ãããã®ãã¤ãã¦ãã¦ãããã¤ã®ããã§ä¸ãé度ãåºãªããã¨ãããããã®ã ã¨ãã
ã³ãã³ãããã³ããã管çè
権éã§éãã¦ã以ä¸ã®ãããªã³ãã³ããå
¥ããã¨å¶éã§ãã¾ãã
C:\>netsh interface tcp set global autotuninglevel=highlyrestricted
ãã¨ã¯RWINå¤ãè¨å®ã§ãããã¼ã«(nettuneãªã©)ã使ãã°ã¡ããã¨XPæ代ã¾ã§ã®ãã¥ã¼ãã³ã°ææ³ã使ãã¾ãã
æ¹åå¾ã¯ãããªæãã«ï¼
=== Radish Network Speed Testing Ver.3.2.2 - Test Report === 測å®æ¡ä»¶ ã精度:é« ãã¼ã¿ã¿ã¤ã:æ¨æº ä¸ãåç· ãé度:60.94Mbps (7.617MByte/sec) 測å®å質:99.6 ä¸ãåç· ãé度:85.20Mbps (10.65MByte/sec) 測å®å質:99.6 測å®è ãã¹ã:********.dynamic.ppp.asahi-net.or.jp 測å®ãµã¼ãã¼:大éª-æ°çº 測å®æå»:2012/3/17(Sat) 18:53
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ãªãã¨ä¸ãé度ã®ã»ããã¯ãããªã£ã¦ãã¾ãã¾ãããå¥ã«ãã¼ã¯ã¹ãã¼ããæ±ãã¦ããããã§ã¯ãªãustreamã¨ããã³çãå¿«é©ã«æ¾éã§ããã°ããã®ã§ä»åã¯ããã«ã¦çµäºã
[OAuth][mobile][socialapp][java] Shift-JISã«ããããããåé¡ã%7Eåé¡(signatureã®æ¤è¨¼ã«å¤±æããã±ã¼ã¹)
æGR社ãæDe社ã®ã¢ãã¤ã«ã½ã¼ã·ã£ã«ã¢ããªéçºã§è©°ã¾ããã¤ã³ãããããããªã®ã§ãã¾ã¨ãããã ããééããã±ã¼ã¹ã«ã¤ãã¦ã®ã¿ãªã®ã§ãç¶²ç¾ æ§ã¯ããã¾ããã
äºè±¡
ã¯ã©ã¤ã¢ã³ã端æ«ããéä¿¡ããã¦ããformã®å 容㫠"%7E"(åè§ãã«ãæå"~") ãå«ã¾ãã¦ããã¨ããoauth signatureã®æ¤è¨¼ã«å¤±æããããã¨ãã°G社ã®å ´åãG社ããéããã¦ãã¦ããoauth signatureã¨ãèªãµã¼ãå´ã§çæããoauth signatureãç°ãªã£ã¦ãã¾ããã¨ãããã¨ã
âBaseStringã®çæãããããã®ã ãã
çµè«(æ¥ãã§ãã人ã®ããã®çµè«)
BaseStringçææã« "%7E" 㯠"~" ã«unescapeãã¦ããããã¨ãã° ã«ã¿ã«ãã®"ã" 㯠Shift-JISã§ã¯ "%83%7E" ã§éä¿¡ããã¦ãããããã®é¨åã ããBaseStringåãã«ã¨ã³ã³ã¼ããã㨠"%2583~" ã¨ãªããã¨ãããã¨ã
詳細
ä»åãããã解決ã§ããã®ã¯ (TwitterID)chrno001ããã®POSTããã£ãããããã§ãããããã¨ããããã¾ããï¼ã§ã調ã¹ã¦ã¿ãã¨ãRFC5849ã®3.6. Percent Encodingã«ã
2. The values are then escaped using the [RFC3986] percent-encoding
(%XX) mechanism as follows:* Characters in the unreserved character set as defined by
[RFC3986], Section 2.3 (ALPHA, DIGIT, "-", ".", "_", "~") MUST
NOT be encoded.* All other characters MUST be encoded.
* The two hexadecimal characters used to represent encoded
characters MUST be uppercase.
ã¤ã¾ã %7Eã® "~" 以å¤ã«ãã¨ã³ã³ã¼ããã¡ããããªãæåããããã¨ã注æãã¾ãããã
RFC3986 2.3. Unreserved Charactersã«ãæ¸ãã¦ããã¾ãã
RFC3986 compliantãªã¨ã³ã³ã¼ããããã°ããã®ã§ãããä»åã®ããã¸ã§ã¯ãã¯Javaã ã£ãã®ã§ãããã«ã¤ãã¦å°ã調ã¹ã¦ã¿ãã
- java.net.URLEncoder ã¯ãã¡ (javadocåç § â http://java.sun.com/javase/ja/6/docs/ja/api/java/net/URLEncoder.html)
- org.apache.commons.codec.net.URLCodec ããã¡
ããããããã®2ã¤ã®ã¨ã³ã³ã¼ã㯠URLç¨ã¨ã³ã³ã¼ãã¨ãããã¨ã§ RFC3986æºæ ã¨ã¯æ¸ãã¦ã¾ããã*1ã
ãã®ã»ã
Shift-JIS使ããªããã¨è¨ããã¦ãG社ããæå®ããã¦ããã®ã§ä»æ¹ããã¾ããããã*1:ããã§ãã㨠"*" ãã¤ãããã ã...
ããã°ã©ãã¼ãºãã¤ã 第äºå¤ éå¬ãã¾ã
ããã°ã©ãã¼ãºãã¤ãã第äºå¤ãéå¬ãã¾ãï¼
ååã¨åã id:nagakura_eil ããã¨ã®ã³ã³ãã§ãï¼ äº¬é½ cafe la siesta ã«ã¦éå¬ã§ãï¼
ä»å㯠LTã¨ãDJãããªããªåéï¼ãçºè¡¨ãã¦ãããããã人ã«ã¯åè³/å·®ãå
¥ã/å¿æ´ããã ããçæ§ããã°ããºãªã©ãåªå
çã«é
ããã¦ããã ãã¾ã! TEâGAã¨ãï¼ãã°ãã§ããï¼
ã¡ãªã¿ã«ãååã®åéè¦é â http://twitter.g.hatena.ne.jp/nagakura_eil/20090410/1239369170
ä»åã®ãèªãå 容ãATNDãã転è¼ãã¾ãã
é±æ«ã®æ©ã«æã¾ã§é£²ã¿ã¾ãããã
ã»ãããã§ããªã話ã§ããã¾ããããã
ããã¨ãã«ããã¨ãã£ãå´é«ãªç®çãããããã§ããªããã§ããããã¾ã«ã¯é£²ã¿ãªããããã°ã©ã ã®è©±ã¨ããã¦ã楽ããã¨æãã¾ãããï¼ï¼ï¼
ããããªè©±ããããã§ãï¼
å ´æ:
äº¬é½ cafe la siesta
http://cafelasiesta.com/
æ¥æ:
2010å¹´10æ29æ¥
22æãç¿æï¼æ½ã¡æã¦ãã¾ã§ï¼
å½æ¥ã22æãã貸ãåãã«ãªãã¾ãããããã¾ã§ã®æéã¯é常å¶æ¥ãªã®ã§é£²ãã§ã人ã¯é£²ãã§ãã¨æãã¾ãã
éé¡:
å
¥å ´ç¡æ
飲é£ä»£ã¯åèªãã£ãã·ã¥ãªã³ã§ãé¡ããã¾ãã
詳細㯠ATNDã®ã»ãã§ç¢ºèªãã¦ãï¼
GDD ããã¯ãã³åé¡ãããã·ã¤
GDDã¨ã³ããªã¼ã®ããã®é¢é DevQuizããã£ã¦ããã®ã§ããã»ã»ã»
ããã¨ãã¯ã¯ãªã¢ã§ããã®ã§ãããããã¯ãã³ãããããæ¤è¨ãã¤ããªããæ¢ç´¢çãªã¢ã«ã´ãªãºã ã¯æ±ºå®è«çã¨ããããæé©è§£ãæ±ããæ¹åã¸ãã£ã¦ãã¾ããããããè¨åã®å ´åã¯ããããTSPçãªæ¹æ³ããGAã®ãããªã¢ã«ã´ãªãºã ã使ã£ã¦ãæé©è§£ã«è¿ã解æ³ããåºãå¿ è¦ãããã¨æãã®ã§ãããå ¨ç¶ããããªãã
åå è³æ ¼ãªããªã®ããªãããããã CodeJamã§ãã¾ã 3åæ¦ããä¸ã«ã¯åã¡ä¸ããã¦ããªãããã¢ã«ã´ãªãºã ã¨ãããã®ã¸ãã®å身ã«ã¤ããªãã¨ãã¡ã§ãããTopCoderã¨ãããã°ããã®ããª?
ã¼ããã®ç©ºæ°å ¬å£ / 空æ°å ¬å£
空æ°å
¬å£ã®ãã¹ããã¼ããã®ç©ºæ°å
¬å£ãåºã¦ã¾ããã
è¿ä½ãéãè±ãã¾ã§ãå«ãããªã(æéçã«)å¹
ã®åºãã»ã¬ã¯ã·ã§ã³ããã ãå人çã«æå¤ã ã£ãã®ã¯ãããããã®ããããç½ããªãã³ããå
¥ããªãã£ããã¨ã
ãã¡ããã¡ãããæ²ãªã®ã«â¦ãªãã ãæ®å¿µãªæ°æã¡ãªã®ã¯ãªããªãã ã
空æ°å ¬å£ã®ç´ æ´ãããã¯è²ã ããã®ã§ãããç§ã¯ä½ç·¨æ²ã«ã¨ã¦ãæ¹ããã¦ãã¾ããã¡ããã£ã»ã³ã¹ããããã¨ãªãããç¬ç¹ã®é²è¡æã¯ã¨ã¦ãè³ã«å¿å°è¯ãã§ãã
- ã¢ã¼ãã£ã¹ã: 空æ°å ¬å£
- åºç社/ã¡ã¼ã«ã¼: SPACE SHOWER MUSIC
- çºå£²æ¥: 2010/03/17
- ã¡ãã£ã¢: CD
- è³¼å ¥: 2人 ã¯ãªãã¯: 44å
- ãã®ååãå«ãããã° (51件) ãè¦ã
- ã¢ã¼ãã£ã¹ã: 空æ°å ¬å£,å±±å´ããã
- åºç社/ã¡ã¼ã«ã¼: ããããã¥ã¼ã¹é³æ¥½åºç
- çºå£²æ¥: 2006/12/20
- ã¡ãã£ã¢: CD
- ã¯ãªãã¯: 17å
- ãã®ååãå«ãããã° (49件) ãè¦ã
kindle DXã¯æ¥½è/é³æ¥½æ¸ãã¥ã¼ã¢ã¨ãã¦ç¸å½ã¤ã±ã¦ãã
ä¼ç¤¾ã§ Amazon kindle DX ãè²·ã£ãã®ã§ãããkindle SDKã¨ãããããèããåã«ããã®ããã¤ã¹ããµã¤ã¼ã«ãããã触ã£ã¦ã¿ã¾ããã
ãã®ä¸ã§ãããã¯ãããã¨æã£ãã®ãã楽èãé³æ¥½æ¸ã®ãã¥ã¼ã¢ã¨ãã¦ä½¿ããã¨ãããã®ãã¾ããkindle DXã¯PDFã表示ã§ããã®ã§ãPDFå½¢å¼ã«ãã¦ããã楽èãªã©ã転éãã¦ããã¾ãã
ãã¢ããªã楽èå°ããã¾ããããã®ä»ã®æ¥½å¨ã®äººã§ãèé¢å°ãããã°Kindleã¯ç½®ãã¾ãããããã«æ¥½èã¨ãã¦è¦ãã«ã¯å°ããã®ãé£ã§ãããã¾ãã
- 風ã§ãããããããªã
- 製æ¬ãã¦ãã楽èã®å ´åããããã¨æãçãã¤ããã¨ãããªãã¦ãããã©ãã©ãã¦æ»ã£ããããªã
- é³ã®ç¢ºèªããçè«ã確èªããªããç·´ç¿ããã«ã¯å å
- æ¼å¥ããªããã«ã¯ãããã«ããããããã¼ã¸éãã¯å²ã¨ååæä½ã§ãã (æ £ãã人ã®ãã¢ãã®èãããã»ã©ã§ã¯ãªããã©ãå®ç¨ã¬ãã«)
ããã¦ãããã¯ã·ã¼ã³ãé¸ã³ã¾ãã"Real Book"ãªã©ããªãã¨ããã¾ãããã°ãæ²åã§æ¤ç´¢ãã¦ãªã¼ãã·ã¼ãããµãã¨åºããã¨ããã°ã¬ã¤ããªã»ãã·ã§ã³ãã¬ã¤ã¤ã¼ã«ãªããããããã¾ããããã§ã« iPhoneç¨ã® "iRealBook"ã¨ããã¢ããªããããããã¯ç§ãå®ç¨ãã¦ãã¾ããããã¼ãèããªãã®ãçã«çãkindleãªãååãªãµã¤ãºã§ãã