• Learn React Native 2017: Animations

    I’ve been working on my app for a while now and I’ve decided to use react-native because I want to speed up the development and also learn a cool new tool for creating apps. I’ve been learning about how to animate views in react native and I want to share my findings with you.

    Thursday, April 13, 2017

    react react-native ios

  • Heap Data Structure

    You’re a doctor at a hospital’s ER and you have many patients to see. There are too many patients to see, so you decide to make a queue program. The patients put their name in the program and they get added to the end of the queue.

    That works, but it’s not right. Not every patient should be treated the same. In the event that one patient has a stomach ache while another has a gunshot wound, this system would give them priority on a first come first serve basis.

    We need a priority queue. The priority queue will place people inside the queue based on their priority. A patient with a gunshot wound has more priority than someone who has a stomach ache. How do we make a priority queue? It’s implemented as a heap data structure.

    Tuesday, October 4, 2016

    heap sort efficient tree

  • Learn React Series

    I realized that I’ve written many posts on react so here are all the posts in the right order!

    Wednesday, August 10, 2016

    reactjs

  • Learn Node Series

    I realized that I’ve written many posts on node so here are all the posts in the right order!

    Wednesday, August 10, 2016

    nodejs

  • 7 habits of highly effective people

    I recently read a book by Stephen Covey called 7 habits of highly effective people. In this post, I’ll list the different things I learned form the book.

    Sunday, May 1, 2016

    books productivity ambition life

  • The Power of Habit

    I recently read a book by charles duhigg called The Power of Habit. It talks about how people can create new habits and how powerful habits can be. I want to talk about the two things I learned from this book.

    Thursday, April 28, 2016

    books productivity ambition life

  • Custom Transitions

    One of the coolest things about a beautiful UI/UX is the transitions. When I started out in web, I used to find interesting animations in javascript and css and try to recreate it. I feel the same about mobile. Transitions between views is very important and can distinguish your app from the millions of others. Make sure to check out jTribe’s post as it contains everything from this post and more.

    Thursday, April 14, 2016

    ios animation transition navigation

  • Defer statement

    This is an interesting addition to the Swift 2.0 language. It acts like a finally for your methods and can be placed anywhere. It is the statement you use when you want to clean up resources. You can learn more about it by reading this nshisper post.

    Monday, April 11, 2016

    ios apple finally

  • Guard Statement

    The new guard keyword allows us to solve one of the most important parts of coding: preconditions. Its addition to the Swift language was welcomed with open arms. I’ll explain how it works in this post and you’ll quickly understand why it’s so great.

    Monday, April 4, 2016

    ios apple guard preconditions

  • Custom Pull to Refresh

    The pull to refresh feature has become indispensible in modern iOS apps. This post will show you how to make a custom pull-to-refresh feature for your UITableView. To understand how to create this feature, I read this post from appcoda and this post from jackrabbitmobile.

    Monday, March 28, 2016

    ios tableview

  • Learn React v2: Webpack

    I made several posts on react, but the web has changed a lot over the past year and I needed to make an updated post on how to Javascript. The two things that have changed Javascript are Babel(Lets you write ES6 and ES7 code) and Webpack (Which bundles modules and loads them for you at the right time). I’m going to go over how to use Babel and Webpack together with React. This post is just a short summary of this amazing post and the source code.

    Saturday, March 26, 2016

    react webpack babel modules bundle

  • LRU cache

    I came across an interesting post on writing up a quick least recently used (LRU) cache in java that I wanted to write about. So we’ll break that post down and explain each line.

    Thursday, March 24, 2016

    linkedlist hashmap cache lru

  • The Talent Code

    I recently read a book by Daniel Coyle called The Talent Code. It talks about the famous 10000 hour rule to mastering a skill and how to achieve those 10000s efficiently. This post will summarize the 3 steps needed to have the perfect session.

    Wednesday, March 23, 2016

    books productivity ambition life

  • Swipable UITableViewCell

    This post will show you how to add a custom swipe action to your TableViewCells. I was trying out Ray’s guide to swipable cells and wanted to make a post that about the least amount of code needed to make a swipable cell.

    Sunday, March 20, 2016

    ios mobile swipe

  • Counting sort

    I don’t need to mention why sorting data can be extremely helpful. If you are searching for an element in a list of a million elements, the O(log n) algorithm will take 20 searches to find your element while the O(n) time will take a million searches.
    There are many sorting algorithms, the good ones run in O(nlogn) and the great ones run in O(n). I’ll be showing you how to perform a counting sort which runs in O(n).

    Wednesday, March 9, 2016

    sorting java linear python

Random Posts