markOnSoftware

Mark Chavez

Hi, I'm Mark Chavez. Creator of Get Things Done, yamda, public_apis, js_issues, bitcoin_index and a whole bunch of open-source projects. Join me on my adventures as I unfold the good and bad bits about software writing. You can also follow me on twitter and github for more goodies. Also, I love #oss!

What I Learned In 2017

20 December, 2017

The year is coming to an end and I’m excited about it. What have you learned? Have you reached your goals? What are your plans for the…

Path to Learning React

04 December, 2017

With all the existing resources and tutorials surrounding React.js , it is pretty hard or rather overwhelming to start off. Unfortunately…

Public APIs resources

03 December, 2017

Today, I developed an app that uses @toddmotto ’s valuable API list. Good thing is he provided us with a JSON dump of all available API…

React Lifecycles. When Do I Use Which?

27 November, 2017

React comes together with a number of lifecycle methods. These methods are basically functions that gets called on a specific phase of a…

Making Reusable Components with React

24 November, 2017

Building a component-based application is fairly reasonable. It can’t be that hard and at the same time, it can’t be that trivial…

Introduction: JavaScript Event Loop

25 October, 2017

Today I want to talk a bit about the Event Loop . If you want to get deeper with JavaScript, it is very essential to understand the…

Learning JavaScript

23 October, 2017

I’ve been learning JavaScript for the past few days and I found a reasonable article about the important things we should know as a…

Notes on Redux

14 October, 2017

I decided to make this article for the purposes of actually learning the fundamentals of redux. Technically speaking, it is a container that…

Arrow Function and When To Use It

18 September, 2017

Since the release of ES6, there has been a number of new and exciting features. One of those is the arrow function . In the surface, arrow…

Finally Loving Mobile Development

28 August, 2017

Looking back during the last 10 years or so, mobile apps are nothing but a stranger of this world. Then suddenly, it boomed and went crazy…

A Quick Demo of Javascript Promises

11 August, 2017

Using fetch Using fetch, but with error checking The above code looks good but lacks an error checking mechanism. What if we provided a…

10 Commandments of Egoless Programming

07 August, 2017

I came upon an article that has inspired me more to work better as a programmer and just in case you haven’t read it yet, kindly do so. It…

Avoid Conditionals in Elixir

04 August, 2017

I used to love conditionals. I think everybody did. It gave us the ability to decide what the system should do depending on many factors. It…

Anonymous Functions with Elixir

01 August, 2017

Anonymous functions are simply functions or methods that is not assigned a name. While named functions are very much a common thing…

How Phoenix Define an Application?

26 July, 2017

Hey there. How are you? It’s been a while since I last published an article! Well, that’s because I am currently involved in a JavaScript…

Building a Mock Database Server from Scratch in Elixir

13 July, 2017

Hello again! So I decided to build a mock database server in Elixir without using GenServer . In the real world, this is probably something…

Concurrency vs Parallelism

10 July, 2017

Concurrency and Parallelism are two of the most talked-about topics in computer science. The reason why is because these are very important…

Writing a RESTful Rails Controller

28 June, 2017

It is very important to keep your controllers clean. It must be readable, concise and RESTful in a sense. With Rails, it is pretty easy to…

Why You Should Avoid Rails Callbacks?

21 June, 2017

tl;dr - Just avoid them at all costs Callbacks are evil. Well, maybe at this point in time, you haven’t realized that yet but I want you to…

Functional Programming & Elixir

14 June, 2017

Looks like functional programming is gaining a lot of traction for quite some time now. I just started reading about Elixir and it seems…

Rails & Russian Doll Caching

10 June, 2017

Let’s show a list of products. This works fine. Until…there are thousands of records. So, let’s apply caching. With caching Now using…

Lesson Learned: The Importance of Code Reviews

05 June, 2017

As one of the developers on our team, writing efficient and well-written code is a serious responsibility. Our current setup assumes that…

Tell, Don't Ask

29 May, 2017

Rubyists often write a block of code that is similar to the one below. This is a code smell. Here’s a better way to do it. The above example…

The Hidden Complexity of Ruby

28 May, 2017

Ruby’s simplicity has reached a whole new level. It has given developers a new approach to writing code. For me, coding should be fun and…

The Power of Ruby's Struct

25 May, 2017

I like Structs. They are simple and useful. They provide the same functionalities like classes do. I normally use a Struct if I only need to…