Universal OAuth 1.0 Provider in Python with Redis -€“ Stage 2

Been doing some more work with this OAuth 1.0 Provider and as it turns out, my implementation so too lean. Having said that, it’s exactly what I aimed for in the beginning: A simple lean OAuth 1.0 Provider implementation without getting buried over the concept of OAuth itself. This iteration still have more things to be introduced. As pointed by willhn at GeekTalk.in here, OAuth 1.0 allow the OAuth authorization data to be passed through HTTP Authorization Header and POST. RFC 5849 documentation states the standard here. At the current 0.3.0 version, Authorization data are picked up only from Authorization Header. ...

June 10, 2013 · Batista Harahap

Naive Bayes Classifier in Python v1.0.4

Just finished work on a Naive Bayes Classifier in Python. Was interested to benchmark Python performance with large data sets. Also had the chance to get to know more about Cython. Indeed as a C extension, it increased performance. So this project all started from my own implementation in PHP here. As it turns out, PHP is more performant than Python as of version 1.0.4 of this library. But there are differences. The Python module redis available at PyPi is not compiled as a C extension while the PHP counterpart is definitely a C extension. So the bottleneck here I suspect is with the Redis client. Expect some more enhancements to the Redis clients in future versions. ...

June 7, 2013 · Batista Harahap

Tweeting #JustForFun

Java is an interesting fat lady if ur into BBW PHP is a supermodel still figuring out her identity JavaScript is a transvestite in Thailand: sexy, hot but not a woman still C is the girl that got away Objective C is someone you'd marry if you just spend more time understanding her Ruby is a definitely the best one night stand ever Bash is ugly but always there when you need her SQL can handle anything, works best on a threesome with NoSQL NoSQL is marriage material if only she understood me better Basic is the one we all shagged :p Virginity is a luxury lost over n over with developers alike with each new Hello World Python is muscular like her name but will u date muscular all the time? Your call lol Perl is autistic in her own space, mysterious and ur still finding reasons to get close to her Cassandra is sweet, exotic but doesn't speak english, but I guess love is universal :p

August 4, 2011 · Batista Harahap