June 30, 2008 § 2 Comments
Why everyone loves Python: (I never get tired of evangelizing Python =)
Eric Raymond @ Linux Journal
“I was generating working code nearly as fast as I could type. When I realized this, I was quite startled.”
“in Python, I was actually dealing with an exceptionally good design. Most languages have so much friction and awkwardness built into their design that you learn most of their feature set long before your misstep rate drops anywhere near zero. Python was the first general-purpose language I’d ever used that reversed this process.”
“So the real punchline of the story is this: weeks and months after writing fetchmailconf, I could still read the fetchmailconf code and grok what it was doing without serious mental effort.”
“Power, elegance, simplicity, equality, liberty, fraternity: This is heady stuff, and it explains the evangelical tone of some Python programmers.”
“Web scrape and encode to disk in 54 lines”
Paul Graham, 2004 – The Python Paradox
“the Python paradox: if a company chooses to write its software in a comparatively esoteric language, they’ll be able to hire better programmers, because they’ll attract only those who cared enough to learn it.“
Python Mailing List – response to Paul Graham’s love of Python
Ubuntu Forum – Why to love Python
“Python’s power and scalability is proven, not hype. See: Google, NASA, ILM, Phillips, Honeywell, EVEOnline, and YouTube.”
June 28, 2008 § Leave a Comment
Kamaelia is not yet another Rails-esque framework, thus making it more interesting.
Kamaelia is open source framework for building concurrent system. It was conceived inside BBC.co.uk r & D lab. It is written in Python, making it double interesting.
It draws its inspiration from UNIX pipeline. UNIX pipe allows chaining processes so that the output of current process goes directly to the input of the next process. The ‘pipeline’ module is called Axon.
From its documentation, Kamaelia is more like collection of components. The components comprises a lot of thing; TCP server/client, GUI builder, Audio codec, IRC client, etc…
This framework is most definitely different.
June 23, 2008 § 2 Comments
June 13, 2008 § Leave a Comment
Like everybody else, I am really liking the iPhone 3G.
I know, I know, I’m 2 days too late.
I am late because I was stuck with this phrase:
OMFG, $199 iPhone??????? WTF!!!!! I am sooo getting one!!!!
Now that I am saner…
This is what my thoughts on iPhone 3G:
- Well priced. $199 will drives all the copycats crazy.
- All the other iPhone plans that Jobs said in WWDC are awesome, no need to add my opinion.
- It has real GPS, THAT will drive GPS companies crazy as well.
- If what Jobs said about the battery life is correct, then it is definitely better than any of my hand held gadgets.
- Irreplaceable battery? I’m not too worried about that. Many electronic gadgets’ lifespan is shorter than Apple battery’s lifespan.
- And of course, iPhone sync to MacBook (and to MobileMe) are definitely awesome!
June 11, 2008 § Leave a Comment
In software development, being able to say fuck it, and not implementing the not-so-important features is a good thing.
By saying Fuck It(TM):
- There’s less code to debug.
- There’s less features to unit test and functional test.
- Security schema protects less things.
- There’s less complication (in an already complex application). See: Feature Creep
- Deadline does not get pushed further and further.
- It prevents a decently good idea becoming stupid, by having too much features.
As a reminder, I must never ever attempt to add too much Cruft.
Fuck It is more or less similar to YAGNI, as 1 reader pointed out.
Hope this post can be a helpful reminder for readers as well.
June 9, 2008 § Leave a Comment
I kept forgetting on how to do it.
This is a reminder for myself, and hopefully can be useful for readers.
See this Drupal article!
- Mac OS X hosts file is located at: /etc/hosts
- Default Apache2 vhosts file on Mac OS X is located at: /private/etc/apache2/extra/httpd-vhosts.conf
June 5, 2008 § Leave a Comment
But, SmugBlog, is very interesting to read. It’s another high scalability tales from real developer.
He is so satisfied with AWS, he explains how much he, numerically, have saved by using AWS.
June 3, 2008 § Leave a Comment
With ZHPY(zippy) one can use a fully featured Python language in simplify or traditional Chinese.
From the project’ description, it uses pyparsing to detect Chinese keywords, class names, methods, arguments, and variables and translate them back to Python.
Check out the basic usage, it’s interesting.