Category: Technologies & Coding

  • Writing software at an enterprise require different architecture tradeoffs

    Writing software at an enterprise require different architecture tradeoffs

    This post delves into balancing autonomy and consistency, why duplication isn’t always bad, and how simplicity can outshine forced uniformity. It offers practical principles for creating systems that adapt and thrive in complex environments.

  • Future of the web

    Future of the web

    I recently had the opportunity to attend WordCamp Asia in Taipei. It was my first time in a WordPress community event. One of the key takeaways for me was that WordPress adoption was in decline. Not only that, behind closed doors, I got to hear that number of websites created on the web overall is…

  • Euclidean distance vs Cosine Similarity for text searches

    Good article on the topic: https://cmry.github.io/notes/euclidean-v-cosine

  • This year, everything should go “Touch-first”

    This year, everything should go “Touch-first”

    Happy 2017! I’ve been considering buying an iPad Pro. I’ve always felt that the iPad is an “in-between” device that can’t fit my life well. But there is proof that the desktop is getting… deprecated. Here’s a good article from The Verge that talks about it. Is it time to transition over? By the end…

  • Ember.JS: How to handle invalid URLs

    There’s a lot of documentation for the new Ember Router. However, I found that no one was talking about how to handle the “*” route in Ember, i.e. the routes that don’t match anything. I first tried to look at the ApplicationRoute but that didn’t seem to throw anything. Ember just sits there with a…

  • How is Facebook Chat Heads possible on Android?

    This has been the question since the day I saw Facebook unveil the new Facebook Home suite of apps. Workmate of mine (@stevelarkin_) might have found the answer on good-ol’ StackOverflow! http://stackoverflow.com/questions/13346111/draw-overlay-in-android-system-wide ​Basically, you are able to spawn a service which draws directly on to the Android System’s WindowManager by adding a new subview on…

  • Passing session keys in headers for Embjer.JS Data REST calls

    Passing session keys in headers for Embjer.JS Data REST calls

    First thing you have to do is to override the RESTAdapter if you aren’t already. The ajax function is the key. It is given the jQuery hash that will get passed down so all you have to do is to populate the beforeSend key with a function like below. The ‘xhr’ passed in can be…

  • Trouble with Time Zones and Day Light Savings in iOS

    As you all know, Suneth and I are working on 60Hz 2.0 and we had the weirdest date related problem yesterday. We have a weekly calendar which tells you when your library shows air and what are the premiering (returning or new series) airing on any particular day.​ Yesterday, our calendar looked like this!!​ ​…

  • Problems with Bootstrap and Google Maps

    If you are having problems with image controls not showing up properly on Google Maps while using alongside Twitter Bootstrap, use this:

  • Gem: Export to Excel

    Creating excel spreadsheets (with charting) has never been easier. This looks like an amazing bit of code if you’re writing a data driven app that requires exporting to excel! ​