Open in app

Sign in

Write

Sign in

Lewis Fairweather
Lewis Fairweather

617 Followers

Home

About

Pinned

My Top Stories in 2020

Topics — Angular, JavaScript, Go and More… — Angular The Hardest Parts of Learning Angular Don’t Let Angular Universal Break You (or your app) 4 Ways to Listen to Page Scrolling for Dynamic UI in Angular ft. RxJS 6…

Software Engineering

1 min read

Software Engineering

1 min read


Published in

ITNEXT

·Nov 18, 2020

Angular Markdown with Stackedit.js

How to create an Angular directive to write and parse markdown to HTML using Stackedit.js — Why use Stackedit? Stackedit is a popular and widely trusted in-browser markdown editor. It is an open-source and full-featured editor based on PageDown, the WYSIWYG-style Markdown library used by Stack Overflow. As it is a Progressive Web Application (PWA) that you can download and use as a desktop application.

Programming

5 min read

Angular Markdown with Stackedit.js
Angular Markdown with Stackedit.js
Programming

5 min read


Published in

ITNEXT

·Nov 11, 2020

Scrape the Web Faster, in Go with Chromedp

A fast and simple way to interact with browsers supporting the Chrome DevTools Protocol in Go. — An easy, performant web scraper, crawler, pre-rendering solution, or screenshotting tool What is Chromedp? Chromedp is a fast, simpler way to interact with the Chrome DevTools Protocol without any external dependencies, such as selenium or phantomjs, that you’d find in other implementations. It is a lightweight Go implementation.

Programming

5 min read

Scrape the Web Faster, in Go with Chromedp
Scrape the Web Faster, in Go with Chromedp
Programming

5 min read


Published in

ITNEXT

·Nov 9, 2020

How to Write Bug-Free Goroutines in Go (Golang)

Here are the concurrency best practices for predictable, reliable, and bug-free Go code. — Concurrency in Go Go is well-known and loved for its concurrency. The go runtime manages lightweight threads called goroutines. Goroutines are quick and simple to write. You just type go before the function you want to execute asynchronously, in another thread. Sounds easy enough? Goroutines are Go’s way of writing asynchronous code.

Programming

6 min read

How to Write Bug-Free Goroutines in Go (Golang)
How to Write Bug-Free Goroutines in Go (Golang)
Programming

6 min read


Published in

JavaScript in Plain English

·Nov 4, 2020

The Hardest Parts of Learning Angular

Angular doesn’t have a learning curve, it has a learning cliff. But which parts are the hardest to grasp? — “Angular is beginner friendly” — Not a single person A Complete JavaScript Web Framework What makes Angular different? Angular is one of the most popular JavaScript frameworks. Developed and maintained by Google, it is used to build modern Single-Page Application’s (SPA’s), and Progressive Web Application’s (PWA’s).

JavaScript

12 min read

The Hardest Parts of Learning Angular
The Hardest Parts of Learning Angular
JavaScript

12 min read


Published in

ITNEXT

·Nov 3, 2020

How to Create a Go (Golang) API on Google App Engine

A simple walkthrough on creating an API with a server, written in Go, to deploy to Google App Engine. — Why Google App Engine? Google App Engine is Platform as a Service (PaaS). It aims to make deployment easier. It is fully managed, pay-as-you-go, high availability, it ensures a fast time to market, and supports a wide variety of programming languages. App Engine allows you to build scalable web and mobile back-ends with traffic…

Programming

5 min read

How to Create a Go (Golang) API on Google App Engine
How to Create a Go (Golang) API on Google App Engine
Programming

5 min read


Published in

Better Programming

·Oct 26, 2020

The Problems That Ethereum 2.0 Proof-of-Stake Aims to Solve

What does it mean for the network, building on it, and crypto mining? — The Bitcoin and Monero (XMR) communities remain some of the most committed to the concept of proof-of-work. Ethereum’s Long-Awaited Upgrade It feels like it has been coming for ages. That’s because it has. It has been in the works for years and discussed since 2018. Ethereum 1.0 had concerns over scalability and security…

Programming

11 min read

The Problems That Ethereum 2.0 Proof-of-Stake Aims to Solve
The Problems That Ethereum 2.0 Proof-of-Stake Aims to Solve
Programming

11 min read


Published in

JavaScript in Plain English

·Oct 23, 2020

How to Create a Dynamic Sitemap using Firestore and Cloud Functions

An easy way to automate the creation of sitemap.xml files, using Firebase Firestore data, that reflects our growing web content. — Modern Sitemaps Need Automation The sitemap.xml file is one of the most important files for search engine robots and spiders. It provides information about the pages and the relationships between them. It is the first thing that robots look at when it comes to your site.

JavaScript

8 min read

How to Create a Dynamic Sitemap using Firestore and Cloud Functions
How to Create a Dynamic Sitemap using Firestore and Cloud Functions
JavaScript

8 min read


Published in

JavaScript in Plain English

·Oct 14, 2020

‘Dumb’ Angular — Input Setter/Getter vs NgOnChanges

Understanding the right way to pass data to Dumb Angular components through NgOnChanges and Input bindings. — How Components Interact in Angular Angular components have multiple ways to share information with other parts of the application. Developing a complex Angular app will involve a lot of data, and subsequently a lot of interaction between components. Once you learn the methods that are used to handle data in components, it becomes easy to…

JavaScript

7 min read

‘Dumb’ Angular — Input Setter/Getter vs NgOnChanges
‘Dumb’ Angular — Input Setter/Getter vs NgOnChanges
JavaScript

7 min read


Published in

JavaScript in Plain English

·Oct 12, 2020

The Beauty of the Optional Chaining Operator (?.) in TypeScript

Optional Chaining offers a new way to refactor our TypeScript and JavaScript code. TypeScript 3.7 presents Elvis (?.) — The optional chaining operator is supported all popular browsers except IE, Firefox for Android, Opera for Android and Samsung Browser. The Elvis Operator ?. (AKA Optional Chaining) More shorthand JavaScript notation for cleaner code JavaScript moves fast and, as a result, TypeScript moves fast with it to push new features and innovations in the way we write JavaScript.

JavaScript

6 min read

The Beauty of the Optional Chaining Operator (?.) in TypeScript
The Beauty of the Optional Chaining Operator (?.) in TypeScript
JavaScript

6 min read

Lewis Fairweather

Lewis Fairweather

617 Followers

Software Engineer | Co-Founder @ tripapt.com

Following
  • Jennifer Fu

    Jennifer Fu

  • ✨ They Make Design ✨

    ✨ They Make Design ✨

  • Sean Kernan

    Sean Kernan

  • Jason McGathey

    Jason McGathey

  • Brian Dickens Barrabee

    Brian Dickens Barrabee

See all (805)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams