hello.js

var please = require('share');
console.log('thank you');

Thursday, 17 October, 2019 UTC

What are product and sum types?

What are product and sum types?

Product and sum types are collectively known as ‘algebraic data types’. These are two ways of putting types together to make bigger types. Product types multiply their states, while sum types add them. With these two ‘operations’, we can precisely target ... more


Thursday, 17 October, 2019 UTC



Wednesday, 16 October, 2019 UTC

The Smallest Homebrewed TTL CPU In the World

The Smallest Homebrewed TTL CPU In the World

The may very well be the smallest homemade TTL CPU we’ve ever seen. Measuring at one square inch, this tiny chip boasts 40 connections, an 8-bit databus, a 16-bit address bus, a 64 kB memory space, reset and clock inputs, and 5 V power lines. TTL (transistor ... more


Wednesday, 16 October, 2019 UTC

Release Notes for Safari Technology Preview 94

Release Notes for Safari Technology Preview 94

Safari Technology Preview Release 94 is now available for download for macOS Mojave and the macOS Catalina beta. If you already have Safari Technology Preview installed, you can update in the Software Update pane of System Preferences on macOS. This ... more


Wednesday, 16 October, 2019 UTC

Designing and Enforcing Codes of Conduct

Designing and Enforcing Codes of Conduct

It's 2019 and the issue by now seems to be mostly settled: Codes of Conduct, as it turns out, are an important tool for any community to promote inclusion and protect their members from harassment that would otherwise distract them or push them away. ... more


Wednesday, 16 October, 2019 UTC

Hi, Ning

Hi, Ning

Hi! My name is Jiangning. I am delighted to join Wiredcraft as an Android Developer. Before this, I worked for a video-sharing website in Shanghai for several years. What attracted you to apply here? After a couple of years in the same role, I wanted ... more


Wednesday, 16 October, 2019 UTC

Let’s Make a Fancy, but Uncomplicated Page Loader

Let’s Make a Fancy, but Uncomplicated Page Loader

It’s pretty common to see a loading state on sites these days, particularly as progressive web apps and reactive sites are on the rise. It’s one way to improve "perceived" performance — that is, making it feel as though the site is loading ... more


Wednesday, 16 October, 2019 UTC

Ten-Ton Widgets

Ten-Ton Widgets

At a recent conference talk (sorry, I forget which one), there was a quick example of poor web performance in the form of a third-party widget. The example showed a site that installed the widget in order to add a "email us" button fixed to ... more


Wednesday, 16 October, 2019 UTC

10 Interesting JavaScript and CSS Libraries for October 2019

10 Interesting JavaScript and CSS Libraries for October 2019

Our resources collection for the month of October includes helpful fronted libraries, a cute CSS framework, and some awesome Node.js tools. Continue reading on Tutorialzine. ... more


Wednesday, 16 October, 2019 UTC

Asynchronous JavaScript: Refactoring Callbacks to Promises in Node.js

Asynchronous JavaScript: Refactoring Callbacks to Promises in Node.js

If you know how the event loop mechanism works in JavaScript you know how it enables you to work with asynchronous events. You might also know how to refactor your code into separate functions to reduce the amount of nesting associated with a sequence ... more


Wednesday, 16 October, 2019 UTC

10 Things You Need to Know Before Getting Started with TensorFlow

10 Things You Need to Know Before Getting Started with TensorFlow

Though I took two college electives related to artificial intelligence (AI) and have used quite a few machine learning (ML) libraries, I am by no means a ML developer. However, like many developers nowadays, I am extremely curious about ML and TensorFlow, ... more


Wednesday, 16 October, 2019 UTC

Build a JavaScript Command Line Interface (CLI) with Node.js

Build a JavaScript Command Line Interface (CLI) with Node.js

As great as Node.js is for “traditional” web applications, its potential uses are far broader. Microservices, REST APIs, tooling, working with the Internet of Things and even desktop applications: it’s got your back. Another area where Node.js is really ... more


Wednesday, 16 October, 2019 UTC

Echo JS

Echo JS

... more


Tuesday, 15 October, 2019 UTC

[Course] react: Immutable JavaScript Data Structures with Immer

[Course] react: Immutable JavaScript Data Structures with Immer

Using immutable data structures provides many benefits, including making your code easier to reason about and less prone to bugs. However, since JavaScript doesn't include support for immutable data structures out of the box, you need to use a third party ... more


Tuesday, 15 October, 2019 UTC

How to Create a QR Code

How to Create a QR Code

QR codes aren’t everyone’s cup of tea but I quite like them. If I see something I want to remember or check out later, especially when on the road, it’s super easy to take a quick picture — it’s much easier than trying to remember a URL and much faster ... more


Tuesday, 15 October, 2019 UTC

Coming Next, JavaScript Private Class Fields & Methods

Coming Next, JavaScript Private Class Fields & Methods

Private class fields are finally coming to JavaScript with no less than three separate TC39 proposals that define the new capabilities. By Guy Nesher ... more


Monday, 14 October, 2019 UTC

javascript: Style vanilla JavaScript apps with Emotion

javascript: Style vanilla JavaScript apps with Emotion

In this lesson, we look at how we can style any JavaScript application with the framework agnostic "emotion" package from Emotion. We leverage the `css` function - which takes in some styles, and returns a className - to apply styles to a heading ... more


Monday, 14 October, 2019 UTC

Scrape the Web with scrapestack (Sponsored)

Scrape the Web with scrapestack (Sponsored)

I first grew to love Firefox not as a web developer but as user, and what drew me to this amazing new browser was its add-on ecosystem. The add-on I used the most? Web scrapers. Piracy had just hit mainstream and I also need imagery and documentation ... more


Monday, 14 October, 2019 UTC

React is Trending

React is Trending

React is all the rage these days. It has been for a while now, honestly. The other day I found this site that graphs NPM package downloads. It’s fun to play around with. Here’s a graph of the monthly NPM downloads of React, Vue, and Angular since 2017: ... more


Monday, 14 October, 2019 UTC

Building a REST API with Node and Express

Building a REST API with Node and Express

Introduction In this tutorial, we are going to build a REST API to manage books with Node.js and Express. To get started with it, I assume that you have Node.js installed, you have some experience in JavaScript, and some basic knowledge of HTML and Bootstrap. ... more


Monday, 14 October, 2019 UTC

Grokking Simplicity – HTML All The Things [Podcast]

Grokking Simplicity – HTML All The Things [Podcast]

In this episode, I talked about my new book “Grokking Simplicity – Taming complex software with functional thinking”. https://mcdn.podbean.com/mf/download/dcjidh/EP_63_PRODUCTION.mp3 HTML All The Things Transcript Matt: Hello everybody and welcome to ... more


Friday, 11 October, 2019 UTC

Node v12.12.0 (Current)

Node v12.12.0 (Current)

Notable changes build : Add --force-context-aware flag to prevent usage of native node addons that aren't context aware #29631 deprecations : Add documentation-only deprecation for process._tickCallback() #29781 esm : Using JSON modules is experimental ... more


Friday, 11 October, 2019 UTC

Build a Real-Time Polling Application Using Vue and Socket.io

Build a Real-Time Polling Application Using Vue and Socket.io

In this article, we'll utilize Vue and Socket.io to build a real-time polling application. An opinion poll, often simply referred to as a poll or a survey, is a human research survey of public opinion from a particular sample. This makes it easily accessible, ... more


Thursday, 10 October, 2019 UTC

Spotted: Real-life Key-value pairs

Spotted: Real-life Key-value pairs

JavaScript Fun 1 of 5 Well, JavaScript Well, JavaScript Thanks Brendan for giving us the Javascript Thanks Brendan for giving us the Javascript Javascript Drinking game Javascript Drinking game Javascript dreams Javascript dreams Java vs Javascript The ... more


Thursday, 10 October, 2019 UTC

Asynchronous JavaScript: Advanced Promises with Node.js

Asynchronous JavaScript: Advanced Promises with Node.js

JavaScript Promise objects are a considerable improvement over basic JavaScript callback functions. Promises provide an object that represents both the state of an asynchronous function and the values returned by it. The state indicates whether the promise ... more


Thursday, 10 October, 2019 UTC

How we failed, then succeeded, at migrating to TypeScript

How we failed, then succeeded, at migrating to TypeScript

Over four years ago, Heap began to use TypeScript in place of CoffeeScript. Despite a broad preference for TypeScript among engineers, migration was slow and there was no clear path to a 100% TypeScript codebase. In fact, if the goal was to switch entirely ... more


Thursday, 10 October, 2019 UTC

Creating Custom JavaScript Syntax with Babel

Creating Custom JavaScript Syntax with Babel

#309 — October 10, 2019 Read on the Web It's a pretty quiet week, so we're opening with a fun item :-) Remember to hit reply and send in your own projects for inclusion in future issues though! Node Weekly ascii-themes: A Node CLI Interface to Generate ... more


Thursday, 10 October, 2019 UTC

Google takes AMP to the OpenJS Foundation

Google takes AMP to the OpenJS Foundation

AMP, Google’s somewhat controversial project for speeding up the mobile web, has always been open-source, but it also always felt like a Google project first. Today, however, Google announced that the AMP framework will join the OpenJS Foundation, the ... more


Thursday, 10 October, 2019 UTC

WebStorm 2019.3 EAP #5: TypeScript 3.7, Support for Vue.js Named Slots, and Completion for CSS Libraries on CDN

WebStorm 2019.3 EAP #5: TypeScript 3.7, Support for Vue.js Named Slots, and Completion for CSS Libraries on CDN

WebStorm 2019.3 Early Preview build #5 is now available! If you’re unfamiliar with our Early Access Program or if you want to catch up on all the new features, check out the previous EAP blog posts. The Toolbox App is the easiest way to get the EAP builds ... more


Thursday, 10 October, 2019 UTC

How Random is Random?

How Random is Random?

Many languages feature a random number generator library for help with tasks like rolling a die or flipping a coin. Why, you may ask, is this necessary when humans are perfectly capable of randomly coming up with values? [ex-punctis] was curious about ... more