GeekTalk.in - A collection of readables for geeks

I love Hacker News. There’s a lot of reading materials there that’ll empower you to do or even not do things. However, it’s not localized to where I have my most interest: Indonesia. So there you have it, a clone. First things first, GeekTalk.in is built with Telescope, a Hacker News clone coded for Node.js with Meteor. Meteor is great for real time web apps, it’s very principle is database everywhere meaning that any CRUD operations is available everywhere within the server and the client with the same codebase/API. ...

June 2, 2013 · Batista Harahap

OAUTHnesia for Python

Having a really good time with Python and finding things to be a LOT merrier and enjoyable. That being said, I coded OAUTHnesia for Python; an OAUTH v1.0a client for Urbanesia’s API. A tutorial here really describes how easy it is to submit your own packages to PyPi. I followed through and to install this package is as easy as: (sudo) pip install oauthnesia OAUTHnesia is built upon requests and requests-oauthlib. Usage is really simple. To do a search about steaks, one can do below: ...

May 27, 2013 · Batista Harahap

Compiling nginx 1.4.0 With SPDY on CentOS 6

Just a few days ago, the latest version of nginx at 1.4.0 was released to the public. The version bump adds a lot of new capabilities for your web stack. The most interesting for me was support for SPDY 2 protocol. Excerpts from Chromium SPDY’s page reads below: As part of the "Let's make the web faster" initiative, we are experimenting with alternative protocols to help reduce the latency of web pages. One of these experiments is SPDY (pronounced "SPeeDY"), an application-layer protocol for transporting content over the web, designed specifically for minimal latency.  In addition to a specification of the protocol, we have developed a SPDY-enabled Google Chrome browser and open-source web server. In lab tests, we have compared the performance of these applications over HTTP and SPDY, and have observed up to 64% reductions in page load times in SPDY. We hope to engage the open source community to contribute ideas, feedback, code, and test results, to make SPDY the next-generation application protocol for a faster web. In order for SPDY to work, one will need an SSL certificate and OpenSSL 1.0.1c at least to compile and run a website successfully with nginx. SPDY needs NPN enabled with OpenSSL and CentOS only provides 1.0.0. According to a blog post here, we can just add a repo to get OpenSSL to work nicely. Here are the steps needed to compile nginx with SPDY support: $ rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm $ yum --enablerepo=axivo update openssl $ cd /opt/src $ wget http://nginx.org/download/nginx-1.4.0.tar.gz $ tar xfz nginx-1.4.0.tar.gz $ cd nginx-1.4.0 $ ./configure --with-pcre --with-http_ssl_module --with-http_spdy_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_stub_status_module --prefix=/usr/local/nginx $ make -j4 $ make install ...

May 6, 2013 · Batista Harahap

chuck-norris-php

It is what is - A PHP client to get Chuck Norris from The Internet Chuck Norris Database: icndb.com. Codes at the usual - https://github.com/tistaharahap/chuck-norris-php Chuck will come after you…you have been warned!

November 9, 2012 · Batista Harahap

Naive Bayes Classifier - Revisited

During the last week, I’ve been following up work with a side project to do machine learning with Urbanesia’s comprehensive data. A lot of late night reading and fiddling with foreign codes were the highlights of my last week. Wanted to elaborate my implementations and how several kinds of technologies affect benchmarks particularly with classification performance. The repo for the codes is at Github here. During time span of the first batch of codes until now, I have made lots of changes to the codes and also the data store. I wasn’t sure at first, which database will bring the best performance. I’m testing on a fairly low spec hardware which is a Macbook Air Late 2011 with 4 GB DDR3, SSD and Intel Core i5 1.7GHz, this is nothing compared to a real server relatively. By the way, although relatively low spec, she’s got a name, it’s Claire. ...

October 16, 2012 · Batista Harahap

Gotchas Upgrading C# Projects to Visual Studio 2012

My previous post is about my experience developing for Windows 8 RTM using Visual Studio 2012, there were BREAKING changes with Visual Studio 2012 and I feel obliged to map my own efforts for the benefit of other developers. So I’m going straight to the topic. Most of the content is NOT from my own experience, I put them down here to compile the gotchas. Everything you see here is actually available as a whitepaper published by Microsoft here. ...

October 8, 2012 · Batista Harahap

Windows 8 RTM & Visual Studio 2012 - Urbanesia on Windows 8

My first experience with Hello Worlds was through an old 8088XT that shows up a primitive BASIC IDE to hack on codes. Well now with the Urbanesia team and also past members of the team, we’ve created a native Windows 8 app for Urbanesia. We were in it from the start when Windows 8 was seeded as a Developer Preview. Our first IDE was Visual Studio 11 Beta that is now Visual Studio 2012. ...

October 7, 2012 · Batista Harahap

Jokowi and Basuki - Social Media Campaign

This is a cool video for a great Governor campaign by Jokowi and Basuki. Respect for both of them for understanding the young generation of Jakarta!

August 28, 2012 · Batista Harahap

Products & Technology

Tons of blogs and various other reading sources discuss about products & technology across different perspectives and also geographically. What may be successful in one country (area) could be successful in other places or it may fail horribly. The point is, products are hand made using technology as its driver, a fact that is always true anywhere in the world. So what’s the deal here in Indonesia? Usually between products & technology, they both play catch up with each other depending on the product owner’s focus. But as a product become more and more mature, it is technology that is the driver behind all the innovation. This paragraph is like proposing that a Minimum Viable Product (MVP) is the way to go but I don’t think it is necessarily so. ...

August 25, 2012 · Batista Harahap

Hi D

My blog is a place for my own personal branding, well this post is the “personal” in personal branding. I rarely write like this but here goes anyways. On my 30th birthday, just a few days before it, someone came into my life and she shook the living world out of me. Caught me off guard and boy The Guy Above knows what each of us need in His own perfect timing. ...

August 10, 2012 · Batista Harahap