Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Composing Angular Components with Typescript Mixins

Categories

Tags nodejs javascript web-development

Blog post by Giancarlo Buomprisco on how to learn to maximize reusability in your Angular components by using composition instead of inheritance.

Authors favorite way is to compose components in small units and use Inputs and Outputs to communicate between components. In order to share logic pieces between components, he likes how Mixins can help us avoid some pitfalls from using class inheritance. Author focuses more on the relationship between Class Inheritance and Class Mixins, how they differ, and some pitfalls from using Mixins for building components.

Use tools like Bit (Github) to increase code reuse by sharing and collaborating on Angular components across projects. Share your reusable building blocks to a collection on bit.dev, for future compositions.

The article then deals with:

  • The pitfalls of Class Inheritance
  • Typescript Mixins
  • Scenario: A social media aggregator app
  • Building a base post component with Inheritance
  • Enter Composition
  • Pitfalls of using Mixins

Try not to apply too many Mixins; if you have too many Mixins, maybe you should split the component into several components and use component composition with inputs and outputs to communicate between each other. Some good advice here!

[Read More]

5 things I have learned in 20 years of programming

Categories

Tags programming learning miscellaneous how-to

Erik Dietrich wrote this piece about his experiences working in software development industry. The demand for programmers has grown so dramatically over the last 4-5 decades that the number of programmers is always doubling every five years.

As a result, a programmer with 5 years of experience has more industry tenure than half of the entire industry.

The following are the things author considers to be the most important lessons and takeaways from a 20 year long programming career.

  • Duplication of knowledge is the worst
  • Code is a liability
  • Senior developers: trust but verify
  • TDD is legit, and it’s a game-changer
  • Evidence is king

We liked:

Get yourself used to running experiments, rather than loudly expressing and doubling down on your opinions. This has the immediate value of empirically validating your thinking.

Use this advice (or don’t) in good health. Nice one!

[Read More]

5 myths about strategy

Categories

Tags management big-data data-science miscellaneous agile teams

Stephen Bungay is author of this summary about 5 myths about strategy. According author there are lies, there are big lies, and then there are myths. And myths are the worst of the three.

Myths present a different, subtler trap, which is what makes even smart people fall for them. They are usually based on a plausible half-truth, and they do not immediately lead you astray if you start to act on them. It’s only with the passage of time that you realize that you’ve made a mistake, but by then your wrong choices can’t be unmade and the damage is done.

The myths mentioned in the article:

  • Strategy is about the long-term
  • Disruptors change strategy all the time
  • Competitive advantage is dead
  • You don’t really need a strategy; you just need to be agile
  • You need a digital strategy

We liked: Thinking about strategy as some kind of long-term commitment can blind you to that need Strategy is not about the long term or the short term, but about the fundamentals of how the business works: the sources of value creation, the drivers of the cost to deliver it, and the basis of competition. Well worth your time!

[Read More]

Natural language processing for Node.js

Categories

Tags big-data data-science machine-learning robotics

An article by Jordan Irabor about processing unstructured textual data using Natural language processing for Node.js.

Natural language processing (NLP) is a subfield of linguistics, computer science, information engineering, and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to process and analyze large amounts of natural language data.

Modern computer systems can make sense of natural languages using an underlying technology called NLP (natural language processing). This technology can process human language as input and perform one or more of the following operations:

  • Sentiment analysis (Is it a positive or negative statement?)
  • Topic classification (What is it about?)
  • Decide on what actions should be taken based on this statement
  • Intent extraction (What is the intention behind this statement?)

The article then takes on the NLP journey:

  • Prerequisite and installation of natural library
  • Tokenization – demarcating and possibly classifying sections of a string of input characters
  • Stemming – refers to the reduction of words to their word stem
  • Measuring the similarity between words (string distance)
  • Classification – also known as text tagging is the process of classifying text into organized groups
  • Phonetic matching

.. and much more. All the code is included and available in this GitHub repo. Also plenty of links to further reading.

[Read More]

Do you know what's in Helm 3?

Categories

Tags kubernetes devops containers cicd web-development

Understand new capabilities and migration options for Helm 3, the package manager for Kubernetes. By Martin Hickey on IBM Developer Blog.

Helm 3 is one of the most eagerly anticipated releases for the last year or so. This latest version of Helm, the package manager for Kubernetes, is now available.

The excitement for this release was heightened by the promise of removing Tiller, the in-cluster component of Helm that interacted directly with the Kubernetes API server to install, upgrade, query, and remove Kubernetes resources. However, Helm 3 goes far beyond removing Tiller.

New capabilities in Helm 3:

  • Client only architecture
  • XDG base directory specification
  • No need to initialize Helm
  • Release storage changed
  • Modifications to charts
  • Chart repository status
  • Improved release upgrade strategy
  • Simplified CRD support
  • Helm test framework updates
  • Helm 2 interface still supported
  • Helm Go library overhauled
  • Other changes

… each of this is described in detail in the article. There are a lot of new capabilities worth trying out in Helm 3. Give it a go!

[Read More]

Going serverless with OpenFaaS and Golang -- The ultimate setup and workflow

Categories

Tags golang serverless containers apis

Martin Heinz put together this article on building serverless OpenFaaS application with Go. OpenFaaS which is open source Function as a Service tool for developing cloud-native serverless applications.

You will learn how to setup (IMHO) the ideal project and workflow for developing OpenFaaS functions, as well as creating your first function using Golang.

You might be asking, why - out of all the frameworks like AWS Lambda, Google Cloud Run, OpenWhisk etc. - would I choose OpenFaaS?

  • No Vendor-Lock
  • Cloud Native
  • Any Language
  • Performance

To run the functions we need a cloud environment and considering that we will be using local machine, we should probably choose the most lightweight option possible, here author will use Ranchers k3s (alternatively you could also use KinD).

The article then dives into detailed steps how to build your own version of OpenFaas and your first Go function, including set up, unit tests, automation with Taskfile for function deployment, simple CI/CD. Excellent!

[Read More]

Why everyone working in DevOps should read the Toyota way

Categories

Tags learning agile teams management devops

Ian Miell wrote this essay about Toyota’s way. The Toyota Way is a set of principles and behaviors that underlie the Toyota Motor Corporation’s managerial approach and production system.. His advice is simple: Ignore the noise, go to the signal.

Once author started reading The Toyota Way, he realised that it was the real deal, and was articulating better many of the things I’d done to make change in business before.

One of the most obvious objections to anyone that foists The Toyota Way (TTW) on you is that its lessons apply to manufacturing, which is obviously different from a knowledge industry. How can physical stock levels, or assembly line management principles apply to what is done in such a different field?

The author points out that the book explains:

  • The Toyota Way is a philosophy, not a set of rules
  • Waste and pipelines are universal
  • How flow is not achieved: Failure to ‘Go and See’

Some excellent points done in this review. A rather shocking amount of time can be spent in knowledge industries producing information that doesn’t get used. Fantastic!

[Read More]

How to buy the right CPU: A guide for 2019

Categories

Tags app-development miscellaneous learning open-source

Matt Safford wrote this guide for tomshardware.com about choosing CPU for your PC. Whether you’re building or upgrading a PC, the processor matters a lot. We’ll help you choose the right one for your needs.

Higher clock speeds and core counts can make a major difference in overall performance, providing a snappier system, smoother gameplay and faster completion of intensive tasks such as video editing and transcoding.

Plus, the CPU you choose will also dictate your motherboard options, as each processor only works with a specific CPU socket and set of chipsets.

This article will guide you through:

  • AMD or Intel: Which Should You Get?
  • What do you want to do with your CPU?
  • What generation CPU do you need?
  • How do you read the model names and numbers?
  • Should you overclock?
  • What are the key CPU specs and which should I care about?
  • What do you need more: clock speed, cores or threads?
  • What socket does my motherboard need for this CPU?

You can’t lose with AMD or Intel: For mainstream users, so long as you’re considering current-generation parts (AMD Ryzen 3000 or Intel 9th Generation Core), this debate is basically a wash. Nice one!

[Read More]

The Hows, Whats, and Whys of Elixir Telemetry

Categories

Tags web-development programming erlang elixir

“What gets measured gets managed.” This quote – wrongly attributed to Peter Drucker – tells us that when we monitor information about something, we can make decisions about what it is we’re monitoring and where to go next. An article about monitoring in Elixir by Samuel Mullen.

The article deals with:

  • The Value of Monitoring
  • Lies, Damned Lies, and Vanity Metrics
  • Getting Started with Telemetry

Telemetry is a library giving us a dynamic dispatching library for metrics and instrumentations." It’s a simple library providing a standardized interface for capturing and handling metrics from monitored events.

Telemetry isn’t a revolutionary idea and the maintainers don’t claim it is. What they do claim is that it provides a simple and flexible means for capturing data. Good read!

[Read More]

10 ways to smarten up your customer experience

Categories

Tags miscellaneous career cio software

CMO asks the experts for some practical tips for better customer experience management and optimisation. An article by Vanessa Mitchell (www.cmo.com.au).

Does CX begin with the customer? Or the product? Is it just customer service, or does it need to feature throughout the customer journey, beyond purchase? Or perhaps it even begins before all this?

It is well known brands concentrate on CX are more profitable, and enjoy more customer loyalty. But even with the statistics, switching a product-focused company to a customer-focused one takes a lot of work and stakeholder agreement.

Some practical tips to make it work for brands mentioned:

  • Discover first
  • Embrace the emotion
  • Define your strategy
  • Invest in technology
  • Build a bigger picture

… for more follow the link to the article. Some good advice here!

[Read More]