• Simplify Asynchronous Control Flow in Javascript - Part 2

    Hi again, this is part 2 of a series on Javascript fundamentals. If you haven’t already, check out the first part. As I promised in the first part, I am going to refactor fetchEachSynopsis() to work in parallel. For that, I will introduce a worker queue, to manage the execution of individual calls (tasks) to movieApi.fetchSynopsis(). At its most basic, the queue constructor will accept a function to process individual task, and the queue instance will accept inputs (in our case, the movie titles) for the task.

    Continue reading...
  • Simplify Asynchronous Control Flow in Javascript - Part 1

    This post is meant to help Javascript newcomers understanding asynchronous workflow and keeping such code manageable and readable. Consider the following example to asynchronously download the latest movie titles at every hour. And because this hypothetical movieApi is inefficient, you would then need to download each synopsis individually!. After each pair of title and synopsis is downloaded, it will be rendered into the UI.

    Continue reading...
  • Making Asynchronous Code Synchronous In Javascript

    Well I have been guilty of not exploring ES6, and even the ES7 standard was already finalized!

    Continue reading...
  • Wake An Android Device On Deployment

    When working with android development, simple tasks like turning on the screen of your device during code deployment could easily become tiresome and annoying, if you have to do it every few minutes. One solution is to enable “Stay awake” via the “Developer options” of your device. But that is not very energy friendly!.

    Continue reading...
  • Web Scraping Using Nodejs

    One of the projects I’m working on requires us to download web pages for some security analysis. Not only we need to download and store the main HTML source code, but also other resources the page pulls (eg: images, stylesheets).

    Continue reading...
  • Hi, we are Rakit

    Watch this space!



    We’ll add more content soon! :D

    Continue reading...