Articles

It is a common requirement to render dynamic content into our HTML page. Templating engines is a great way to support this feature. In this post, we will learn how to perform templating in NodeJS using the Express Pug view engine.

If you are new to Express, check out this post on getting started with ExpressJS.

Source de l’article sur DZONE

Hello!

Omar from LightningChart here. As my first article for DZone, I wanted to experiment with how to create different charts available from the lcjs library.

Source de l’article sur DZONE

It’s common for websites to have a subscription button, where you can pass along your email address, and you’ll receive emails every week, month, or day. Sometimes, these are automated emails, and sometimes they are custom posts written by an editor.

It’s also common to pay for this service, sometimes extortionately. In this article, I’ll show you it’s pretty easy to create your own, although you will obviously still have to pay for hosting. Let’s look at how to create an email subscription service with MongoDB and Node.JS.

Source de l’article sur DZONE


What is Deno?

Deno a pristine method to compose worker-side JavaScript. It solves many of the problems that Node does. It was created by the same person as Node. It uses the V8 JavaScript engine under the hood but the rest of the runtime is implemented in Rust and Typescript.

What Reason Does Deno Utilize Rust?

Deno may be a safe TypeScript run-time on Chrome V8. It had been initially written in Go and now has been revamped in Rust to remain far away from potential garbage collector issues. Deno is like Node js yet is centered around security. The rationale that Deno made was JavaScript. Significantly more horrendous than having a competitor who understands your thing back to front, Deno was made expressly to fix what Dahl saw due to the crucial weaknesses of NodeJs — including security issues, use of a centralized repository system (npm), and heavy tooling.

Source de l’article sur DZONE

The incredible amount of data available publicly on the internet for any industry can be useful for market research. You can use this data in machine learning/big data to train your model with tens of thousands of entries.

Here, in this article, I’m going to discuss the development of a web scraper with Node.js, Cheerio.js, and send back-end data to Vue.js in the front-end. Along with that, I’m going to use a simple crawler Node.js package.

Source de l’article sur DZONE

In 2019, the market revenue of IoT reached $ 212 billion. There are about 26.66 billion connected IoT devices worldwide, and this number is to reach 75.44 billion by 2025. The UN estimates that, in May 2020, the world population is 7.78 billion people. A simple math operation tells us that an average person owns from 3 to 4 IoT devices. Do you have one? Maybe a smartwatch? A smart TV? Or a smart car?

Moving further, the population is expected to reach 8.1 billion people in 2025. The same math calculation shows us that, in 2025, an average person will have from 9 to 10 smart devices in their possession. Do you see where I am leading you to? Do you want to join this prosperous market niche and make your IoT device to be one of these 9 to 10?

Source de l’article sur DZONE

Multiple tech news sites have reported that  event-stream , a popular JavaScript library with almost two million weekly downloads, contained malicious code for several weeks. It was first reported in a GitHub post last week, but developers were only able to decipher the purpose of the code yesterday. The code targeted users of the cryptocurrency wallet Copay, and was designed to steal Bitcoin and Bitcoin Cash.

GitHub user right9ctrl injected the malicious code in a package called flatmap-stream after offering to help maintain the library, according to a post on the Snyk security blog. Handing off control to other users happens frequently in open source communities, as the original authors and maintainers move on to other projects. Adding libraries as dependencies is also common in open source, although the  event-stream npm package hadn’t been substantially updated for about two years prior to September 2018, when flatmap-stream was first added. According to Ars Technica, the next phase took place on October 5, when malicious code was implemented to transfer the balances of Copay wallets to a server in Kuala Lumpur. 

Source de l’article sur DZONE

Hiring technical talent has always been one of my most difficult tasks as a startup CTO. Development talent is in short supply for all company sizes, and we’ll see an estimated 30% increase in the number of development positions by 2026. Salaries have increased 15% in the last five years with a 2017 median salary of just over $103K, and salaries will continue to rise at a faster pace as the number of positions increases.

For these reasons, we had to look outside our established hiring channels when building our development team at CUE Marketplace. We needed reasonably-priced talent that could grow as we grew. Our company started in Boulder in a co-working space/coding school called Galvanize. We were lucky to have good candidates right outside our door. It’s been two years since our start, and now we have a solid development team full of boot camp grads. Here are five keys to our success in building that team.

Source de l’article sur DZone (Agile)