↓ Skip to main content

Posts

2017

Using Go to post messages on Slack

··257 words·2 mins
A sample application to kind of get started with Go. This application involves pinging a channel on Slack via a webhook. Slack provides a unique URL in order to ping Slack with messages from a script/application.

Using Docker Multi Stage builds to run unit tests

··1212 words·6 mins
This is a suggestion piece and not a recommended way of using docker or anything. Motivation # The question we would want to know here is how do we exactly run the full on/all the unit tests for our applications built via Docker. One way to do this is to rely on a build server like Jenkins to create the required environment which we would need for a build and then run the unit test needed. However, this would mean that there is need to bootstrap a environment to do so.

Screen Recording on the Server

··717 words·4 mins
Over the weekend, I’ve been experimenting whether if its possible to set up screen recording on a linux server. This is partly just out of curiosity but also, a little a bit of frustration. Imagine if you were in a position where you aim to assist people in recording their training sessions over on Google Hangouts but in order to do so, you would need to be around and your computer needs to be “sacrificed” in order to do the recording.

Sending ggplot graphs to googleslides

··1085 words·6 mins
IMPORTANT: THE FOLLOWING BLOG POST IS OUTDATED. THERE IS AN UPDATE TO GOOGLESLIDES API WHICH DISABLE USAGE OF GOOGLE DRIVE IMAGES. NOW ALL IMAGES HAS TO BE FROM PUBLIC SOURCES. THERE IS A FEATURE REQUEST TICKET CREATED TO ADD THIS FUNCTIONALITY BACK BUT THERE IS A HIGH LIKELIHOOD IT WONT BE BACK FOR A LONG TIME

Rgoogleslides Updated to v0.2.0-alpha

··330 words·2 mins
The rgoogleslides package is being upgraded with a quite a big change in methodogy. Refer to the following release notes for more detailed information. https://github.com/hairizuanbinnoorazman/rgoogleslides/releases/tag/v0.2.0-alpha The previous design package suffer from several design flaws, some of which would be detailed below:

Restructuring Rgoogleslides

··324 words·2 mins
In the initial draft of the rgoogleslides package, there were several wrapper functions that serve to immediately call the Google Slides API immediately after it is being used. Some of the examples are below:

Using Service Accounts with RGA

··961 words·5 mins
RGA is one of the packages I often use in my line of work and I use it to extract data from Google Analytics Platform into R. From there, I can easily utilize data manipulation packages such as dplyr and tidyr to get the results I would need before pushing those results back to Googlesheets via the googlesheets R package.

Tips on Microservices

··648 words·4 mins
Setting up microservices is really quite hard. Its not just about the technology but it involves culture and habits that the team have in order to have the discipline and also the ease in order to create services that would scale well. One would have to kind of switch the thinking behind all the best practices and theory. I kind of summarized some points that are found interesting about how some of the companies deal with and manage microservices.

R is an object oriented language?

··533 words·3 mins
Although it is often mentioned in many of the online tutorials and wikis that R is a Object Oriented language, the code examples on the web definitely don’t show too many hints of that. Many of the code tutorials and code examples do not showcase such language features but instead mainly using functions to get things done.

2016

Data Science Maturity in an Organization

··428 words·3 mins
Domino released a pretty comprehensive paper on data science maturity models in organizations. Link to the paper: https://www.dominodatalab.com/p/data-science-maturity-model-ungated Data Science is not something that a company can just immediately buy from the market (hiring and tooling); its much more than that. It requires time for the organization to get used to having the Data Science team and the practises that the team preach. However, having a guy from C-level who believes in the impact of Data Science would definitely help in having the rest of the organization engage the rest of the company.

Slides API announced by Google!

Earlier this year, Google announced a couple of new APIs for the set of Google Products in its productivity and office suite, namely the Google Slides API https://gsuiteupdates.googleblog.com/2016/05/new-ways-to-keep-data-flowing-between.html It has been a long time but ever since the announcement in the Google IO earlier this year, I’ve been anticipating for the arrival of the API and it’s already here!!