Games Shelf REST/GraphQL App developed with Go and React

Posted on
Last modified on

Since I started to use Go on a project at my current job, I decided to create some real projects using the language to understand the language more. After studying some patterns and understanding how the language works, I decided to create a Games Shelf Application with REST communication, and then, I added GraphQL to the game. I decided to use PostgreSQL as my database and React.js in the front-end, because, even as I have not used it for a long time, both are my preferred technologies when I think about a database and a front-end framework.…

Read more »

Why I love Open Source?

Posted on
Last modified on

Since I started to code in 2012, I learned to love the open-source life and to love how the community is open to share and help other people, sharing the coding which they worked hard and making it possible to run in a couple of minutes for anybody in the world, sharing your knowledge with questions and answers on the StackOverflow and all of the StackExchange sites, creating docs and tutorials in blogs and sites like Medium and GitHub.…

Read more »

Launching EC2 instances using the Node.js AWS SDK

Posted on

The EC2 service is one of the most fundamental services offered by AWS. It underpins many of the other services in AWS, so it’s always a good idea to understand how to use and the best way to use it. In this post, I’ll show how to create EC2 instances directly in the code using the AWS SDK for JavaScript in Node.js. To run your application in AWS, we need to have one or more EC2 instances to execute that code.…

Read more »

Converting graphic files to WebP format on Android Studio 2.3

Posted on

For all who don’t know the webP format, Android has supported this image format for many years. As I said on my previous article: the WebP files are smaller than JPGs or PNGs and like PNGs, they support transparency. But creating them files has always been a bit of a chore. Now, with Android Studio 2.3, you can convert your existing graphical files into WebP files very easily. On this article, I’ll show how to convert your created image files to the WebP format on the new version of the Android Studio.…

Read more »

Inspect APK files with the APK Analyzer on Android Studio

Posted on

The Android Studio 2.2 added a new tool called the APK Analyzer. It lets you look at packaged apps, those APK files that are in zip archive format that you use to deploy an application. Using the APK Analyzer, you can see inside the APK file and see what files and directories are largest so you can decide how you can shrink down that APK. The example application I’ll show you how to use the Apk Analyzer tool with an existing project that is available on my GitHub, where you can clone or download and try to follow the below steps on your own Android Studio.…

Read more »

ES6 Destructuring assignments

Posted on

In this article I’m going to talk about the Destructuring assignments in ES6. The Destructuring Assignments don’t really offer us any new features, but rather they enable us to write more readable and less repetitive code. So, have you ever had a function that was dealing with these enormous deeply nested objects and it felt like your code was kind of sprawling out of control, it was getting hard to read?…

Read more »

ES6 Arrow Functions

Posted on

Arrow functions are another notable addition that came with ES5 and are available here in ES2016. They are useful for two essential reasons: the first is that they reduce boilerplate and are more succinct and the second thing is that they allow us to preserve the context of the wrapping function. As I write before, the arrow function, one of its main features is that it’s more succinct, it reduces boilerplate.…

Read more »

ES6 - Limitations of using const and let

Posted on

As I mentioned at my previous article, one of the main things that we need to understand about const and let: is that const, is a constant, so, it’s not going to change and let is something that might change, it could change. Let’s explore a little bit what that means because this is actually a gotcha in some cases. So, be careful, const isn’t actually an immutable variable, it can be changed.…

Read more »

var, const and let in ES6, when I use? They can be hoisted?

Posted on

Perhaps the most recognizable addition to the JavaScript language was that of const and let. Two new key words that allow us to declare variables, which behave differently than var. When choosing which JavaScript variable to use, there are a number of factors we have to weigh. We have var, const, and let available to us, and we need to think what is the scope of each of these variables? That means, what can it be called?…

Read more »

ES5, ES6, ES7 and ES2015 and ES2016. Isn't it just all JS?

Posted on
Last modified on

JS, Why we love you? One of my biggest loves on the coding word is the JS (JavaScript) language. I don’t know why, but since I started to make simple code with JQuery and to research about the language under your hood and I got what is JS, the first thing that I did was thanked how the coding world can be really beautiful and simple with a programming language like that.…

Read more »