source

Privacy perspectives have always been changing. They are different from a person to another. Whether it is for the right to use an entertainment app or to simply get a ride, we tend to agree to loosen some privacy standards. it sometimes feels natural to notice when our privacy is being violated, often we just have a hard time deciding what’s private and should stay that way and what is just not.

By consensus in public GitHub forums and open Zoom meetings, the W3C members get to collaborate on and determine new rules that browsers and the whole WEB ecosystem…


Part 1: Overview — Part 2 (next article): W3C and User Privacy Standards

source

Founded in 1994, the World Wide Web Consortium (W3C) is the global standards organization for the web. It is considered one of the most Web's geekiest corners.

The consortium is governed by its membership. It is made up of member organizations that maintain full-time employees working on the standards developments. Meaning it is basically an online community for people that manage the internet to come together and discuss potential technical features, the proposal of standards, and eventually their deployment.

from Wikipedia:

The Consortium is jointly administered by…


source

Canvas is an HTML5 element that is used to draw graphics on a web page. Like Wikipedia defines it — It allows dynamic, scriptable rendering of 2D shapes and bitmap images. It is a low-level, procedural model that updates a bitmap and does not have a built-in scene graph.

The Canvaselement can be created in order to solve various web development problems. The following are few examples:

  • Visual enhancements (like creating a logo)
  • Security/Fingerprinting
  • Creating art (for more on that, go to the source link of the above image)
  • Creating animations

— Let’s now create a 2D square canvas with…


.catch() — Why?

source

This article is intended to clarify and highlight the basic motivations behind error catching.

Asynchronous JS operations need promises to work. And as you might already know, promises represent the eventual success or failure of that asynchronous operation along with the resulting data.

we use .then() to get the result value when the promise is of success.

On the other hand, .catch() allows us to catch the exception in the case of a rejected promise.

You might be wondering…

why bother and catch errors?

-Two (2) whys -

Catching errors and handling them is unmissable. It helps…


About Intersection API Usage

Source

The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document’s viewport - from MDN. In this blog post, I’m going to show how it could help us improve the performance of websites operations with the DOM.

Let’s start by taking a look at this HTML code:

<html lang="en">

<!-- <head> -->

</script>
</head>
<body>
<p>exampleexampleexample</p>
<ul>
<li> example </li>
<li> example </li>
</ul>
<h1>Test</h1>
<ul>
<li> example </li>
<li> example </li>
</ul>
</body>

Let’s say we needed to keep…


Big O notation — Part 2 🪵

source

Very sure by now, you already know that algorithms are complex.

Great!

In the previous blog post, I went over the main time complexity types we deal with in software engineering and how by determining the complexity of an algorithm, we get a hint of how long the steps would take, of course, based on the size of the input. This post is meant to walk us through an example of a O(log(n)) complexity and an O(nlog(n)).

O(log(n)) or Logarithmic Time Complexity

from Wikipedia on logarithm: In mathematics, the logarithm is the inverse function to exponentiation. That means…


Big O notation — Part 1

source

An algorithm is a step-by-step list of instructions used to perform an ultimate task and like almost everything else in life, their efficiency is measurable. It’s important to know how many resources an algorithm is using. The least those resources are the most efficient the algorithm is.

Efficiency covers lots of resources, including:

  • CPU (time) usage
  • memory usage
  • disk usage
  • network usage

In computer science, big O notation — also known as the Landau’s Symbol is used to classify algorithms according to how their run time or space requirements grow as the input size…


What is it? Popular FaaS

Source

If you are a programming expert or a newbie, I bet you’ve definitely heard of serverless computing. Basically, using off-site servers to handle some of your computing. FaaS or Function as a Service is one of its two categories that has been the main reason behind the current buzz around serverless computing. Baas or Backend as a Service is the other category, which is an older version that has not been as successful as the latter one — FaaS.

What is the difference between FaaS and BaaS?

BaaS services are cloud-hosted services to manage server-side…


Map Object Explained With Examples Using a Skin Care E-Shop Products (ES6)

Photo by pisauikan on Unsplash

The Mapobject is going to be the main - champion - of this data structure new series. Starting from the basic idea behind the Map usage or simply showing some key differences between the Mapand the traditional object, how to create a Map, properties, methods along with some usage examples.

What is a Map?

It is an object just like almost everything in JavaScript. A collection of key-value pairs similar to the traditional object. Unlike for objects (only strings or symbols), the keys can be anything functions— objects — or primitive values…


I just learned about classes in JS as well. This post is super helpful!

Noura Loudani

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store