HMAC-SHA1 Base64 Result With Objective-C

A few days of hard done nights were all inspired by faulty encodings. Talk about “Hello World” experiences LOL. Keeping things in mind, to really smooth things up between Objective-C and PHP, in any Objective-C functions needing to encode/decode strings like PHP, here’s the encoding type: NSASCIIStringEncoding Do not interchange this with any other or things will go wrong :( Here are snippets to generate HMAC-SHA1 hashes in its Base64 form encoded correctly for OAUTH v1. [Read More]

OAUTHnesia Client for Objective-C

Okay for the last few hours, I’ve been learning how to code in Objective-C and the first result is an OAUTH client for Urbanesia. I haven’t tested thoroughly though. The class basically wraps POST & GET requests to Urbanesia with OAUTH requirements. Instantiating the class, you will have to provide Consumer Key & Secret obtained from Urbanesia. The current implementation requires User Key & Secret for every requests too. Future release of OAUTHnesia will include non Use Key/Secret methods and XAUTH. [Read More]

Happy 7th of August Everyone!

Yabba Dabba Doooooo!!! This is one of the most significant day of the year for me. It’s a time to be thankful, reflect and most importantly taking a moment to step out of the routines and introspect. I am another year closer to my personal goals. Amongst many, I’m very grateful that during the last 1 year, everything is going upwards steadily. It’s actually one of the best years in my life. [Read More]

Blackberry Coordinates From Cell Tower

I’m beginning to like coding in Blackberry since now an official JDE for Mac is available. Then I decided to have a look and prepare myself for some rather annoying but pleasant surprise from Blackberry’s JDE. To be honest, I don’t like Blackberry’s behavior of complicating simple things. But then I learned a lot from the codes. Urbanesia is a location based service and therefore location is very important. I’ve been trying out a few ways to get the device’s location and after all the things I’ve tried, I resorted into plain GMM solution. [Read More]

Google Analytics JS - Here's a Non JS Fix

This will be the second time I once again dissect what is really happening with Urbanesia’s analytic results. The first time I dealt with it, we ended up breaking our own sacred oath not putting any inline Javascript with our HTML. Well now, we ended up not using any Javascript (in the future). These past few weeks our servers recorded an increase compared with previous months and somehow Google Analytics is not showing anything unusual. [Read More]

CodeIgniter Session With Memcache + Anti Bots!

Last night was a thrilling change of routine. Urbanesia was crippled because of the unprecedented growth of our MongoDB databases. I must admit that MongoDB is like Memcache with steroids, well it overdosed. MongoDB doesn’t have any mechanism to limit its memory usages, the only limit we can define is the size of its individual files. Therefore, something must be done! The second flaw was with CodeIgniter by design. By default, CodeIgniter uses its own Session handling mechanism either by using cookie and or database. [Read More]

Spontaneous Writing Episode II

The second episode of Spontaneous Writing is now in session continuing from this previous session. For tonight, my iTunes is happily playing songs by Tohpati in his rather old solo album. By the way, from what I’ve been trying to do the past few weeks, it seems that only when I got home will then writing moments will be abundant for my fingers. Can’t seem to do this while at the office. [Read More]

Small is NOT so small

It’s been like a few months not posting into my own blog. The 24th day of 2011 and it seems that months have passed by just like that. In the span of 24 days that have passed, every single day is cramped with all the aspects of being a startup. Just today, I went from a programmer, a cable crimper, a business partner, a troubleshooter, a mobile app consultant, a colleague to a friend for a friend, all in just one day. [Read More]

Cryptic Consequences - Memcache

This is yet another blog post about the almighty Memcache hehehe. As do all of us I assume, more than often Memcache has always been a lifesaver won’t you say? Well at least when it is tamed, I’m positive it’s a lifesaver anytime, when it’s still wild, extremely saying: you shit bricks lol. Well here’s another Memcache experience. First of all you gotta visit http://memcached.org man. The header from the top right is littered with illustrations of either rabbits or cats. [Read More]