Before we dive into Lambda Container Image (Let’s refer to it with LCI from now on), we need to understand Lambda service first. So what is it?
Lambda is a serverless computing service provided by AWS which we can use to run functions, self-contained applications written in one of the supported languages (Node.js, Python, Go, Java, and more). …
This article introduce you to AWS covering some of its advantages and some basic topic which can help you start learning and using AWS.
In today’s competitive market, customers demand low latency, highly scalable, responsive applications that work all the time. Customers expect to receive the same level of performance and consistency of applications regardless of their location and how often they use those applications.
With the classic infrastructures, there are always problems related to cost, flexibility, scalability and more. The cloud solved all these issues.
The AWS Cloud provides infrastructure services, such as compute, storage, networking, and databases, and…
We’ll be discussing binary options, and why you shouldn’t trade in these.
Everyone should have seen it and I bet you did too, an ad on social media and on many websites showing a nice and attractive chart with 2 buttons, a green one to ‘call ‘and a red one to ‘put’. Hitting those two buttons is called trading in binary options. If you don’t know what these are, you can read the definition below. Otherwise, feel free to skip it.
Binary options are one among the derivatives available in the market like CFD’s, Futures and Options. Using binary options…
We’ll be talking about how we SHOULD change the way we think about money and why you SHOULD learn about this and actually plan something!
If you list my previous articles, you’ll be like ‘what the heck!?’ cause yeah, I usually write about programming related stuff, but here I go with the first article sharing my thoughts about financial independence. If you can relate, that’s great! If you don’t, please take the time to write a comment and tell me why I am wrong.
The thing is, I don’t wanna pass the rest of my life programming. It’s true that…
We gonna explore in simple terms how Node.js actually works. All the stuff you need to know so you build efficient node apps.
To follow along, you need to have some basic understanding about asynchronous and backend programming.
In terms of Node’s dependencies, there’s basically a couple of libraries that Node depends on in order to work properly:
Libuv: an open source library with a strong focus on asynchronous Input/Output…
We’re gonna talk about why we can’t assume that a function is asynchronous even if it takes a callback.
Maybe you’re answer is “when argument of a function is a function”. Basically yes, but not exactly, every asynchronous function takes a function argument, but not every function that does so is asynchronous because argument function can be called synchronously.
Simply taking a callback doesn’t make a function asynchronous. There are many examples of functions that take a function argument but are not asynchronous. For example there’s
forEach in Array. …
I am gonna show you what I did to prevent videos link sharing, so they’re only available for subscribed users.
I was working on an e-learning website where users obviously gonna watch videos, but the problem was, how to prevent subscribed users from sharing a video source with other unsubscribed users?
To secure getting the video source from the database is easy, you can use middlewares or anything that controls access. But after getting the link, it’s hard to prevent the user from copying the link from the source of the web page and share it.
“A user is guilty…
Before we jump in, I totally recommend reading my previous article first which gives an introduction about async JS for you to get your feet wet. In the other hand, I don’t recommend that you continue if you are new to JS.
Iknow, you’ve been hearing about Promises so much, tutorials always mention it. But the good thing is that now you had the courage to discover it. Congrats, you’re on the right path!👌
let btn = document.addEventListener('click', …
This means it executes code in order and must finish executing a piece of code before moving onto the next one. It’s synchronous, but at times that can be harmful. …
You should have some familiarity with HTML/CSS. You do not need prior programming experience.
// Here goes your JS code
You can place any number of scripts in an HTML document. Scripts can be placed in the
<body>, or in the
<head> section of an HTML page, or in both.
I am glad you asked because there is a difference, and…