Everyone Loves Python

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.”

Paul Prescod – ISOGEN consulting engineer @ O’Reilly

“Power, elegance, simplicity, equality, liberty, fraternity: This is heady stuff, and it explains the evangelical tone of some Python programmers.”

DevChix

“Web scrape and encode to disk in 54 lines”

Bruce Eckel, author of Thinking in…Why I love Python

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

My own opinion on Why Python

“Python’s power and scalability is proven, not hype. See: Google, NASA, ILM, Phillips, Honeywell, EVEOnline, and YouTube.”

Kamaelia: Open Source Python Framework

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.

References:

Super Heroes Flash Games

June 23, 2008 § 2 Comments

Batman

Spiderman

Iron Man

Hulk

Bonus: Iron Man’s Adventure

iPhone Late Reaction

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!

Fuck It Principle

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.

References:

Configuring Apache2 VirtualHost for Multiple Host Names

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!

Resources:

  • http://drupal.org/node/238805
  • 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

SmugMug – Photo Sharing Site

June 5, 2008 § Leave a comment

No, I don’t use SmugMug. All my photos are at Flickr.

But, SmugBlog, is very interesting to read. It’s another high scalability tales from real developer.

He uses Amazon Web Services(S3 and EC2) and very happy with it.

He is so satisfied with AWS, he explains how much he, numerically, have saved by using AWS.

Code Python in Chinese

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.

Resource:

ZHPY @ Google Code

Where Am I?

You are currently viewing the archives for June, 2008 at RAPD.

Follow

Get every new post delivered to your Inbox.