tech/webdev magazine

March 31, 2018

Machine Learning for Humans??

Saturday, March 31, 2018 Teklinks No comments

Part 1: Why Machine Learning Matters. The big picture of artificial intelligence and machine learning — past, present, and future. Part 2.1: Supervised Learning. Learning with an answer key. Introducing linear regression, loss functions, overfitting, and gradient descent.

Full article

March 29, 2018

The complete guide to Angular Material Themes

Thursday, March 29, 2018 Teklinks No comments

Theming support in an application can be pretty useful. From nice to have feature like letting user to chose from available color schemes to get personalized experience to more mission critical branding capabilities like building multi-tenant SaaS product where every client wants to use their own domain, logo and colors to offer branded services to their end customers.

Full article

18 Things You Need To Give Up To Become A High-Achieving Person

Thursday, March 29, 2018 Teklinks No comments

A secret about success is that it is just as much about what you give up as what you gain. Are you willing to give up late nights out for late nights in working? Are you willing to turn a deaf ear to blind criticisms? Are you willing to listen to helpful ones? Are you going to be able to give up the doubt, the resistance, the uncertainty, the avoidance mechanisms?

Full article

Tomorrow’s ES Modules Today

Thursday, March 29, 2018 Teklinks No comments

Seven months ago I released an experimental module loader that enabled ES modules in Node. With over a million downloads, thousands of commits, and the tremendous help of early adopters and the JavaScript community, it’s ready for its stable release! ???

Full article

March 27, 2018

Nested Ternaries are Great

Tuesday, March 27, 2018 Teklinks No comments

Conventional wisdom would have you believe that nested ternaries are unreadable, and should be avoided. The truth is, ternaries are usually much simpler than if statements. People believe the reverse for two reasons:

Full article

March 26, 2018

How to reset a Windows password with Linux

Monday, March 26, 2018 Teklinks No comments

If you (or someone you know) ever forget your Windows password, you'll be glad to know about chntpw, a neat Linux utility that you can use to reset a Windows password. For this how-to, I created a Windows virtual machine and set the password to pass123 on my user account, Archit-PC.

Full article

Clean code: takeaways from a love story

Monday, March 26, 2018 Teklinks No comments

I’ve just finished reading “Clean code” by Robert C. Martin and it really was an experience. I never thought I’d enjoy this book so much. What was interesting about it to me is that the author mentioned stuff which I’ve always taken for granted, but the sole fact that they were worth mentioning got me thinking: maybe I was taking them too much for granted.

Full article

Scaling Node.js Applications

Monday, March 26, 2018 Teklinks No comments

Scalability in Node.js is not an afterthought. It’s something that’s baked into the core of the runtime. Node is named Node to emphasize the idea that a Node application should comprise multiple small distributed nodes that communicate with each other.

Full article

March 25, 2018

March 23, 2018

March 21, 2018

Angular in Production

Wednesday, March 21, 2018 Teklinks No comments

In this informal essay I’ll go through a case study of my experience in using Angular (2 and above) in production. Last April, together with a small team, we started working on an educational application; the second version of a product that I developed about 3 years ago using Angular 1.

Full article

How to build a SaaS with $0

Wednesday, March 21, 2018 Teklinks No comments

Last October I launched ipdata.co — an IP Geolocation API — and my first SaaS. My plan at the time was to throw as much up against the wall as I could and narrow my focus to what sticks.

Full article

GraphQL over REST with Node, Heroku, and Apollo Engine

Wednesday, March 21, 2018 Teklinks No comments

Wrapping your REST endpoints in GraphQL is a quick way to make it easier to use the data you have in your existing backends. In just a few hours, you can implement a thin translation layer using Node and Apollo Server and start getting the main benefits of having a GraphQL API without having to dive in to the backend implementation.

Full article

March 20, 2018

March 19, 2018

JavaScript vs. TypeScript vs. ReasonML

Monday, March 19, 2018 Teklinks No comments

In this blog post, I describe the pros and cons of three programming languages/dialects: JavaScript, TypeScript and ReasonML. My descriptions are based on recent experiences with TypeScript and ReasonML on a few smaller real-world projects and on years of experience with JavaScript.

Full article

March 18, 2018

React Tutorial Pt 1: A Comprehensive Guide to Building Apps with React.js

Sunday, March 18, 2018 Teklinks No comments

By now you’ve probably heard about facebook’s React. You’ve probably even heard really good things. There has never been a better time to take the leap and start learning React. The difficulty starting out with React isn’t React itself. It’s important to remember React is “just the V in MVC” or “just the view layer”.

Full article

March 17, 2018

March 16, 2018

An Introduction to NGINX for Developers

Friday, March 16, 2018 Teklinks No comments

Picture this - you’ve created a web application and are now searching for the right web server to host it from. Your application might consist of multiple static files — HTML, CSS, and JavaScript, a backend API service or even multiple webservices.

Full article

Learn Bootstrap 4 in 5 minutes

Friday, March 16, 2018 Teklinks No comments

This January, Bootstrap 4 (aka v4) finally got released after being in alpha for over two years. It represents a major rewrite. Not only are there a lot of changes under the hood, but there are also a few new concepts you’ll need to wrap your head around.

Full article

Five Key Git Concepts Explained the Hard Way

Friday, March 16, 2018 Teklinks No comments

If you’ve ever read a git man page, you’ll know that trying to understand git can be an intimidating experience. So here’s five core git concepts explained. This post uses the ‘hard way‘ method to teach the concepts by having you type out the commands and think through what’s going on, without having to worry about breaking anything.

Full article

March 15, 2018

Angular 5 App Structure With Multiple Modules

Thursday, March 15, 2018 Teklinks No comments

Since I couldn’t find any resources on Angular 5 app structure with multiple modules, I decided that whilst rebuilding an AngularJS app, I would implement a multiple-module architecture and document it. Below is the approach I took, with some justifications for the decisions I took.

Full article

Say Hello to Houdini and the CSS Paint API

Thursday, March 15, 2018 Teklinks No comments

Houdini is an ambitious project to give developers more power over CSS than we’ve ever had before. The first piece of this project to emerge is the CSS Paint API. This article will explain why Houdini is so exciting, then show you how to get started with the Paint API.

Full article

Advanced caching with RxJS

Thursday, March 15, 2018 Teklinks No comments

When building web applications, performance should always be a top priority. There are many things we can do to speed up our Angular applications like tree-shaking, AoT (ahead-of-time compilation), lazy loading modules or caching.

Full article

Monitoring with Prometheus

Thursday, March 15, 2018 Teklinks No comments

Monitoring applications & application servers is an important part of the today’s DevOps culture & process. You want to continuously monitor your applications and servers for application exceptions, server’s CPU & memory usage or storage spikes.

Full article

March 14, 2018

March 13, 2018

State management in Angular with observable store services

Tuesday, March 13, 2018 Teklinks No comments

Observable stores are a state management solution for Angular apps implemented using RxJS to mimic Redux architecture. The post explains how to create, use and test these observable store services. Effective state management in front-end development is a challenge, especially in larger and more complex single page applications.

Full article

Animating Elements Along SVG Paths: Introducing PathSlider

Tuesday, March 13, 2018 Teklinks No comments

One of the elements that attracts me most of SVG is the path element. If you follow my tutorials you probably have noticed it :) And we can do so many things with the SVG paths, that I never tire of experimenting with them, always trying to use them to create attractive and original experiences in the front-end of our websites or applications.

Full article