A web worker is a simple way to run Javascript code in background threads on the browser.
8 min read
#WebWorkers #JavaScript
8 min read
#WebWorkers #JavaScript
Medium
Web Workers Demystified
A web worker is a simple way to run Javascript code in background threads on the browser.
All of us write code that breaks at some point. That is part of the development process. When you run into an error, you may feel that you don’t know what to do. However, even the most seasoned developers introduce errors and bugs that break their code. We are humans after all.
4 min read
#Programming
4 min read
#Programming
freeCodeCamp.org
How to Improve Your Debugging Skills
by Nick Karnik
How to Improve Your Debugging Skills
All of us write code that breaks at some point. That is part of the development
process. When you run into an error, you may feel that you don’t know what to
do. However, even the most seasoned developers…
How to Improve Your Debugging Skills
All of us write code that breaks at some point. That is part of the development
process. When you run into an error, you may feel that you don’t know what to
do. However, even the most seasoned developers…
In this tutorial we will be going over how to integrate React Hooks into a React Redux project without changing the Redux code (reducers and actions) at all.
8 min read
#React #Redux
8 min read
#React #Redux
freeCodeCamp.org
How to integrate React Hooks into your project without changing your Redux code
How to integrate React hooks without changing your react redux code.
This is the story of Peter. Peter is a programmer that can do anything. He can create software as good as any of his other peers. However, there's a difference between a programmer with experience from a programmer without experience, even though both have the same technical skills.
6 min read
#Programming
6 min read
#Programming
Medium
A Smart Programmer Understands The Problems Worth Fixing
The difference between solving any problem and the right one
Recently, Prof. Tim Berners-Lee lifted the veil off a project called Solid. I decided to check it out. In this article, I describe what Solid aims to do, and also how you can get started with it.
5 min read
#Internet #DecentalizedWeb
5 min read
#Internet #DecentalizedWeb
freeCodeCamp.org
An introduction to SOLID, Tim Berners-Lee’s new, re-decentralized Web
Recently, Prof. Tim Berners-Lee lifted the veil off a project called Solid. I decided to check it out. In this article, I describe what…
What makes NodeJS distinguished from any other programming platforms is how it handles I/O. We hear this all the time when NodeJS is introduced by someone saying “A non-blocking, event-driven platform based on google’s v8 javascript engine”. What do all these mean? What do ‘non-blocking’ and ‘event-driven’ mean? Answer for all these lies at the heart of NodeJS, the Event Loop.
9 min read
#NodeJS
9 min read
#NodeJS
The JS Blog
Event Loop and the Big Picture — NodeJS Event Loop Part 1
What makes NodeJS distinguished from any other programming platforms is how it handles I/O. We hear this all the time when NodeJS is…
So you are planning to start with GraphQL and MongoDB. Then you realize how can I set up those two technologies together? Well, this article is made precisely for you. I’ll show you how to set up a GraphQL server using MongoDB. I will show you how you can modularize your GraphQL schema and all this using MLab as our database.
6 min read
#MongoDB #GraphQL
6 min read
#MongoDB #GraphQL
freeCodeCamp.org
How to set up a GraphQL Server using Node.js, Express & MongoDB
The most straightforward way to start with GraphQL & MongoDB.
The Docker instructions, CMD and ENTRYPOINT, are used in Dockerfiles and Docker Compose files to configure the commands used to run a container. This tutorial will explain the differences between them and how to best use them in your Dockerfiles.
5 min read
#Docker
5 min read
#Docker
freeCodeCamp.org
Docker ENTRYPOINT & CMD: Dockerfile best practices
The Docker instructions, CMD and ENTRYPOINT, are used in Dockerfiles and Docker Compose files to configure the commands used to run a…
This article will teach you the bare minimum you need to know in order to start creating apps on top of the Dropbox API.
5 min read
#API
5 min read
#API
freeCodeCamp.org
Learn the Dropbox API in 5 minutes
This article will teach you the bare minimum you need to know in order to start creating apps on top of the Dropbox API. Once you’ve read it, you can also check out our free course on the Dropbox API if you’re interested in learning more. In that
The road to becoming a software developer is a long and difficult one, especially for individuals like me who come from a completely non-technical background. I am a communication-oriented person. I have a passion for speaking foreign languages, immersing myself in foreign cultures, and trying all sorts of new food.
11 min read
#Programming
11 min read
#Programming
freeCodeCamp.org
How learning a foreign language helps you learn to code
The road to becoming a software developer is a long and difficult one, especially for individuals like me who come from a completely non-technical background. I am a communication-oriented person. I have a passion for speaking foreign languages, immersing…
So, you’re looking for a way to spend your Saturday, and you come across the brilliant idea to go spend the entire day at an organized hackathon. Fun! But not necessarily. Like anything else, hackathons are something where you get out what you put in. But at least here, you typically are going to get free 🥯, 🍕 and ☕️ for your trouble (if you have ever found a hackathon with a different menu, god bless your good luck).
8 min read
#Hackathon
8 min read
#Hackathon
freeCodeCamp.org
How to survive (and even thrive in) a Hackathon
So, you’re looking for a way to spend your Saturday, and you come across the brilliant idea to go spend the entire day at an organized…
Here, I’ll evaluate the three different methods in Node.js I used to read the files, to determine which is most performant.
8 min read
#NodeJS
8 min read
#NodeJS
ITNEXT
Streams For the Win: A Performance Comparison of Node.js Methods for Reading Large Datasets (Pt 2)
How readFile(), createReadStream() and event-stream stack up in performance testing.
Common scenario: your team maintains dozens of
There is more, you dream of being able to test your CI pipeline locally, instead of debugging in the CI server.
Am I right? Then, multistage docker builds are meant for you.
4 min read
#Docker #ContinuousIntegration
Jenkinsfile/.gitlab-ci.yml/whatever
, each one specific to its projects needs. You have tried to reuse these continuous integration scripts from one repo to another. But that is hard because each project has its own tech stack, versions, dependencies to other tools, etc.There is more, you dream of being able to test your CI pipeline locally, instead of debugging in the CI server.
Am I right? Then, multistage docker builds are meant for you.
4 min read
#Docker #ContinuousIntegration
ITNEXT
Shift your CI scripts to docker build
A better way to define your continuous integration pipeline
Increasingly sophisticated artificial intelligence suggests that machines could unlock the secrets of human creativity. But have we been here before?
8 min read
#ArtificialIntelligence
8 min read
#ArtificialIntelligence
OneZero
A.I. Will Enhance — Not End — Human Art
Increasingly sophisticated artificial intelligence suggests that machines could unlock the secrets of human creativity. But have we been…
I recently decided to improve unit test performance on a newly joined project. It felt like it takes too long to test the whole suite (32 tests only) as well as test a separate file in isolation with watch mode. The direct consequences of that are that developers are not enjoying the process and trying to avoid touching unit tests. Product quality suffers in the long run.
3 min read
#Testing #Jest
3 min read
#Testing #Jest
ITNEXT
How to make your sluggish Jest tests go faster
Make unit tests great again
In the implementation of the Wolfram Cloud notebook interface, performance is super-critical. We’re essentially writing our own layout engine in JavaScript, to support the rich typesetting constructs that notebooks offer.
10 min read
#JavaScript #Performance
10 min read
#JavaScript #Performance
Medium
Performance through Elegant JavaScript
Making code faster while also making it easier to read
The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term “document” is used in the broad sense — increasingly
9 min read
#DOM #Browser #JavaScript
9 min read
#DOM #Browser #JavaScript
Medium
DOM Manipulation the hard way
Introduction
If you are reading this you probably know how javascript manages the scope, but let’s refresh our memory. Javascript manages scope through its functions, meaning that any variable declared inside of a function is scoped to that particular function, and cannot be accessed from outside of that function. Now globals, are variables that are declared outside of any function, or variables that are used without being declared.
8 min read
#JavaScript
8 min read
#JavaScript
Medium
Javascript Conventions and Best Practices
Antipatterns
When it comes to the JavaScript Language comparing to other programming languages there are lots of worlds that you may hear or see really confusing to understand. One of them would be factory functions and the constructor functions.
7 min read
#JavaScript
7 min read
#JavaScript
Medium
JavaScript Factory functions vs Constructor functions.
Deep dive into JavaScript Factory functions vs Constructor functions.
In this series I’ll be looking a bunch of different aspects of Gatsby, a Static Site Generator based on React.js and GraphQL.
7 min read
#Gatsby #GraphQL #Serverless #JAMStack
7 min read
#Gatsby #GraphQL #Serverless #JAMStack
Medium
Gatsby Part 1: Gatsby, the JAMstack and Serverless Architecture
A series based on a Gatsby talk I gave at BrumJS, a Javascript Meetup in Birmingham, UK.