tutorial

tutorial

Deeplearning.ai with Tensorflow 2.0: Vectorization

Andrew Ng's deeplearning.ai Coursera course starts with talking about how using vectorized operations instead of for loops can drastically improve the performance of machine learning and deep learning computations. The course talks about implementing functions such as sigmoid, softmax and more using Numpy. In this series, we'll go through implementing the entire deeplearning.ai using tensorflow 2.0. This post talks about implementing vector operations using the tensorflow framework.

Read
tutorial

Hosting a Gatsby Static Site on AWS S3 and Cloudfront

Jekyll introduced me to the world of static site generators. The developer experience of pushing updates to your GitHub repo and seeing the updates reflect on the Github pages was quite satisfying. No build step required. While over the time, I have tried several other static site generators such as Hugo and Hexo, the one that has won my heart over is Gatsby.

Read
tutorial

Correctly handle async function errors in Javascript

How we write asynchronous code in JavaScript has changed drastically in recent years. We went from callback to promises and now we're in the sweet async-await land. With tools such as Typescript allowing developers to use async functions to target even es3 supported browsers, the adoption of async functions is only going to increase.

Read
tutorial

Using UIPickerView as an input view to UITextField in iOS using Swift 4

Android has Spinners to restrict users to a particular set of values in a form. Limiting the user to a set of values when entering data in a text field is not natively supported in iOS. However, UIPickerView or UIDatePicker can be configured as input view to a text field to achieve this functionality. We'll explore this idea further in this blog post.

Read