script
文章平均质量分 85
macyang
Chance is waiting for prepared people and my Status is read the fucking source code.
展开
-
神奇的Scala Pattern Matching
原文地址:http://kerflyn.wordpress.com/2011/02/14/playing-with-scalas-pattern-matching/推荐阅读:http://ofps.oreilly.com/titles/9780596155957/Roun原创 2011-09-23 10:45:30 · 2054 阅读 · 0 评论 -
Introducing Akka – Simpler Scalability, Fault-Tolerance, Concurrency & Remoting through Actors
文章地址:http://jonasboner.com/2010/01/04/introducing-akka.htmlAKKA源代码:https://github.com/jboner/akkaScala API查询: http://www.scala-lang.原创 2011-10-09 19:31:02 · 1674 阅读 · 0 评论 -
关于scala Curry和Partial Function的文章
I ran into a problem where i wanted to get a formatted string for each tuple in a list but ended on a detour to learning about partial functions. Consider this simple example:scala> val wordCount =原创 2012-01-31 10:23:01 · 1219 阅读 · 0 评论 -
python quick guide
一般写udtf都得用python,所以这个非常适合python入门: http://www.tutorialspoint.com/python/python_quick_guide.htm Python Overview:Python is a high-level, interpreted, interactive and object oriented-scripting la转载 2012-12-30 18:18:18 · 2010 阅读 · 0 评论 -
Python Exception Name
An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions. In general, when a Python script encounters a situation that it转载 2012-12-31 23:06:28 · 857 阅读 · 0 评论 -
Why does Python print unicode characters when the default encoding is ASCII?
From the Python 2.6 shell:>>> import sys>>> print sys.getdefaultencoding()ascii>>> print u'\xe9'é>>> I expected to have either some gibberish or an Error after the print statement, since th转载 2012-12-31 15:23:06 · 2147 阅读 · 1 评论