tech/webdev magazine

August 31, 2017

Understanding Scope in JavaScript

Thursday, August 31, 2017 Teklinks No comments

Scope is an important, yet ambiguous concept in JavaScript. Used correctly, it allows you to leverage good design patterns and helps you avoid bad side effects. In this article, we will dissect the different types of scope in JavaScript and how they work deep down in order to write better code.

Full article

React Crash Course for Beginners, Part 1

Thursday, August 31, 2017 Teklinks No comments

In this tutorial series we'll dive right into using React as we build a fully working app to display a gallery of movies. Learning how to build an app from scratch is a great opportunity to practise using all the key features of React whilst levelling up your development skills.

Full article

August 30, 2017

Is Success Down To The Quality Of Your Work?

Wednesday, August 30, 2017 Teklinks No comments

One of the biggest fallacies of our industry is that good work speaks for itself. It is a self-delusional lie that those with a good reputation tell themselves to explain their success. I will let you in on a secret; I am not that amazing at my job. Don’t get me wrong; I am good.

Full article

Set Up a React Environment, Part 3

Wednesday, August 30, 2017 Teklinks No comments

Throughout the rest of this tutorial series, we'll focus on setting up React locally. The first of these approaches is similar to CodePen, where the React scripts were inserted dynamically into your HTML file, before being rendered in the output window.

Full article

August 29, 2017

Set Up a React Environment, Part 2

Tuesday, August 29, 2017 Teklinks No comments

If you are new to React then, understandably, you just want to get coding, and play around with some simple components to see how React works. You really don't want to have to wade through a lengthy setup process in the first instance.

Full article

Set Up a React Environment, Part 1

Tuesday, August 29, 2017 Teklinks No comments

React is a JavaScript library for building user interfaces (UI). It's maintained and developed by Facebook, and is one of the most popular tools for creating web apps today. However, it's had a bit of a reputation for not being very user friendly to set up a React app, particularly for beginners.

Full article

August 28, 2017

Struggling to Find Great Senior JavaScript Developers? Mentorship is the Answer

Monday, August 28, 2017 Teklinks No comments

The more I study the impact of mentorship on the teams we work with, the more I’m blown away by the magnitude of change it produces. The cost of mentorship increases on a linear scale with time, but the impact of mentorship increases on an exponential scale, with compounding productivity returns orders-of-magnitude greater than the time and money invested.

Full article

Explaining React's license

Monday, August 28, 2017 Teklinks No comments

A few weeks ago, the Apache Software Foundation (the ASF) made a decision to list the BSD + Patents license as a Category-X license. This move affects users of much of Facebook's open source software, but especially the popular React project and the constellation of projects around it.

Full article

August 27, 2017

How Machines Learn: A Practical Guide

Sunday, August 27, 2017 Teklinks No comments

You may have heard about machine learning from interesting applications like spam filtering, optical character recognition, and computer vision. Getting started with machine learning is long process that involves going through several resources.

Full article

How do you separate components?

Sunday, August 27, 2017 Teklinks No comments

There is nothing inherently wrong with having large components in a React app. In fact, for stateful components, it is absolutely expected that they’ll have a bit of size. The thing about state is that it generally doesn’t decompose very well.

Full article

August 26, 2017

5 laws every developer should know

Saturday, August 26, 2017 Teklinks No comments

Laws - or principles - can give us guidance and teach us lessons from our peers’ mistakes. In this article, I will introduce you to five laws I always have in the back of my mind when designing or implementing a software.

Full article

Create Advanced Components in Angular

Saturday, August 26, 2017 Teklinks No comments

In this article, we are going to learn how to create a dynamic component that uses ng-content. We are going to learn advanced techniques like how to create an injector and passing TemplateRef or a Component as content. To demonstrate all this, we will create a tooltip.

Full article

Catch bugs systematically: how to build a GitLab CI testing pipeline in 4 steps

Saturday, August 26, 2017 Teklinks No comments

Your first app is a hit the day it’s launched. But one week later, you realize that it has no retention. You discover that this is because whenever a user clicks the “send” button, their comments get posted twice. The bug was so minor, but it killed your momentum. But that’s okay.

Full article

August 25, 2017

Docker Swarm vs Kubernetes: Pros and Cons

Friday, August 25, 2017 Teklinks No comments

Have you ever found yourself stuck choosing between Docker vs. Kubernetes? Well, if you did, then you are not the only one. Both of them are excellent container services, and the choice heavily depends upon your requirements or your team.

Full article

August 24, 2017

My Docker Cheat Sheet

Thursday, August 24, 2017 Teklinks No comments

I’ve been using Docker for years now, in my previous professional experiences and for my company (eralabs.io) customers and I wanted to share my knowledge, and that’s why I started Painless Docker Course.

Full article

YOLO: Real-Time Object Detection

Thursday, August 24, 2017 Teklinks No comments

You only look once (YOLO) is a state-of-the-art, real-time object detection system. On a Titan X it processes images at 40-90 FPS and has a mAP on VOC 2007 of 78.6% and a mAP of 48.1% on COCO test-dev. Prior detection systems repurpose classifiers or localizers to perform detection.

Full article

Using Chart.js in Angular With ng2-charts

Thursday, August 24, 2017 Teklinks No comments

Chart.js is a popular JavaScript charting library and ng2-charts is a wrapper for Angular 2+ that makes it easy to integrate Chart.js in Angular. Let’s go over the basic usage. This sets the base type of the chart. The value can be pie, doughnut, bar, line, polarArea, radar or horizontalBar.

Full article

August 23, 2017

I built a chatbot in 2 hours and this is what I learned

Wednesday, August 23, 2017 Teklinks No comments

We spend about 5 hours on our smartphones every day as per this study from Flurry. Not only is this statistic surprising in its own right, about 65% of this time is spent on communication related activities like social media, texting, emailing and phone calls. That’s 3 hours and 15 minutes. Every.

Full article