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 ]

Benchmarking Angular, React and Vue for small web applications

Categories

Tags software-engineering miscellaneous leadership-and-career

A benchmark and comparison article by Abhay Srivastav about comparing 3 main JavaScript frameworks for small web projects. These are Angular, React and Vue. In the article author takes more practical approach to compare these 3 frameworks by creating a simple application using each of them.

Author walks you through building sample application (Movies of 2018). Application makes an api call, to get the movies having the word “Love” in their title, in the year 2018 and displays them in tabular format. You can sort the movies according to year and name. The links to the application hosted on Github are provided.

Author selected simple comparison criteria:

  • JS bundle size
  • First Contentful Paint (FCP)
  • Learning curve

Simple methodology for both criteria are explained. For First Contentful Paint author uses limitations to make xperience more real life like. CPU and Network throttling is set to: Fast 3G, 4x CPU slowdown. To see which result, click for the whole article!

[Read More]

Programming paradigms for dummies: what every programmer should know

Categories

Tags software-engineering miscellaneous leadership-and-career

Adrian Colyer published this review on a chapter by Peter Van Roy mapping out the space of programming language designs. This chapter gives an introduction to all the main programming paradigms, their underlying concepts, and the relationships between them… We give a taxonomy of about 30 useful programming paradigms and how they are related. Link to 49 pages long resource included.

Programming paradigms are approaches based on a mathematical theory or particular set of principles, each paradigm supporting a set of concepts.

A language should ideally support many concepts in a well-factored way, so that the programmer can choose the right concepts whenever they are needed without being encumbered by the others.

Van Roy is a believer in multi-paradigm languages: solving a programming problem requires choosing the right concepts, and many problems require different sets of concepts for different parts.

Plenty of charts and diagrams helping to explore various paradigms. Really good read!

[Read More]

Handling imbalanced datasets in machine learning

Categories

Tags data-and-analytics miscellaneous ai-and-machine-learning

An article by Bapriste Rocca about handling imbalanced datasets in machine learning. He searches and answer on question what should and should not be done when facing an imbalanced classes problem.

The acrticle first gives an overview of different evaluation metrics that can help to detect “naive behaviours”. It then discusses a whole bunch of methods consisting in reworking the dataset and shows that these methods can be misleading. Finally, it shows that reworking the problem is, most of the time, the best way to proceed.

For detecting the naive behaviour author suggests to use one of:

  • Confusion matrix, precision, recall and F1
  • Receiver Operating Characteristic (ROC) and Area Under the ROC curve (AUROC)

Whenever using a machine learning algorithm, evaluation metrics for the model have to be chosen cautiously. We must use the metrics that gives us the best overview of how well our model is doing with regards to our goals.

Well balanced article with many charts and supporting mathematical reasoning. Links to further resources also included. Excellent!

[Read More]

Practical introduction to functional programming

Categories

Tags frontend-and-mobile software-engineering

Mary Rose article focusing on practical aspects of functional programming. Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. It shows examples of imperative, unfunctional code that people write every day and translates these examples to a functional style.

The examples are in Python, because many people find Python easy to read. A number of the examples eschew pythonicity in order to demonstrate functional techniques common to many languages: map, reduce, pipeline.

Functional code is characterised by one thing: the absence of side effects.

name_lengths = map(len, ["Mary", "Isla", "Sam"])

print name_lengths
# => [4, 4, 3]

The first section of the article takes short, data transforming loops and translates them into functional maps and reduces.

The second section takes longer loops, breaks them up into units and makes each unit functional.

The third section takes a loop that is a long series of successive data transformations and decomposes it into a functional pipeline. Nicely written!

[Read More]

Structurae: Data structures for high performance JavaScript

Categories

Tags frontend-and-mobile software-engineering

Maga D. Zandaqo published an article about high performant data structures in JavaScript. After author’s last attempt to speed up a Node.js server by replacing some JavaScript with a native addon yielded less than exciting results, he has decided to collect and share some common structures he uses to optimize my JavaScript code: structurae.

The techniques aim at performance–sensitive applications such as games or real–time data processing. They are hardly applicable to most of our Todo apps and might do more harm than good if used indiscreetly.

We can help JavasScript engines by addressing the “weak points” of JavaScript when it comes to performance: dynamic typing and garbage collection.

Recommendations summarized:

  • Simplify and normalize data structures
  • Be consistent with the “shapes” of objects
  • Avoid creating garbage

Read more how structurae is focusing on the first item by providing a set of classes that aid in representing and operating on complex data structures using simple numbers and ArrayBuffers. Where possible, prefer simple types over objects, numbers over strings, small integers over other numbers, TypedArrays over Arrays, and dense Arrays over sparse Arrays. What a good read!

[Read More]

Good engineering practices while working solo

Categories

Tags leadership-and-career software-engineering devops-and-ci-cd miscellaneous

An article by Shalvah about time when you got to go it alone and how do you make the most out of it. And while much of product development involves being able to manage or work with the rest of the team, it’s equally important to develop good practices while working solo.

Why should I bother about my engineering practices?

  • You’ll be an asset to your team
  • You’ll be a better developer

Some of these good practices:

  • Stick to a workflow
  • Compose reusable components and modules
  • Write documentation
  • Communicate
  • Monitor
  • Observe and iterate

We liked: Transparency leads to accountability. When you know you have to report your dealings to someone (be it your peers or your boss), it helps you to remain focused. This is one reason why many companies have standup meetings. Nice one!

[Read More]

Behavioral programming with Petri Nets

Categories

Tags software-engineering miscellaneous

Fabrizio Romano Genovese wrote article about behavioural programming and how to use Petri nets to design software. A Petri net, also known as a place/transition (PT) net, is one of several mathematical modeling languages for the description of distributed systems.

In behavioral programming, as the name suggests, you must think in terms of which properties (behavior) you want your software to have.

In this sense, programming becomes goal-oriented, and starts with a high-level sketch of the software structure. In our context, this means that we will start sketching the code structure, we will test for its behavior and then we will refine it so that it meets our goals.

The article then explains very simple and understandable problem: you have four philosophers at a table which can either think or eat. The catch is that they have to share cutlery, and coordinate between them about this.

Read the article to learn how they model it! There are also links to further resources and video explaining modeling of the problem using Petri nets. Nice read!

[Read More]

Application metrics in Istio

Categories

Tags devops-and-ci-cd architecture-and-apis

Mete Atamel authored simple tutorial for adding Application metrics in Istio. The default metrics sent by Istio are useful to get an idea on how the traffic flows in your cluster. However, to understand how your application behaves, you also need application metrics.

Author then points at Prometheus and it’s client libraries that you can use to instrument your application and send those metrics. Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud.

Author then explains:

  • Istio versus standalone Prometheus
  • Sending application metrics
  • Configuration

He also describes some common problems, e.g. Iisue with Istio certificates and Prometheus. The ocde examples are available for download. Very useful!

[Read More]

9 Reasons why feature teams are the best team structure

Categories

Tags devops-and-ci-cd leadership-and-career software-engineering

Interesting read by Łukasz Muszyński on SoftwareHut web site. They are primarily Agile software house believing in Agile to be main factor in their success. They discovered in the recent time that features teams based structure is one of the best Agile team structure for our software development projects.

In the past, they used to organize their teams around the layers of architectures.

While working on the new project it turned out that our architecture focused teams responsible for presentation layer couldn’t get a good grasp – either of their JavaScript developers nor the structure as a whole.

Experimentally, they gathered some of their developers from various specialization areas to create one team.

The main benefits of feature teams the SoftwareHut observed:

  • Scaling up Agile development
  • End-to-end delivery of working features
  • Better code quality
  • The power of a balanced multidisciplinary team
  • Highly effective communication

… and few more. Some interesting points!

[Read More]

Kubernetes ingress controller setup using KOP and Nginx-Ingress

Categories

Tags frontend-and-mobile devops-and-ci-cd architecture-and-apis

A tutorial by Lokesh Jawane explaining how to set up Kubernetes ingress controller using kops (Kubernetes Operations) & Nginx-Ingress. Kops automates the provisioning of Kubernetes clusters in AWS and GCE. Authors like to think of kops as kubectl for clusters.

The Ingress is a Kubernetes resource that lets you configure an HTTP load balancer for applications running on Kubernetes

Managing the multiple load balancer for services deployed on k8s is a difficult job, where k8s itself is a big world. It can be expensive to have multiple load balancers. In this tutorial author uses only single load balancer.

The tutorial then walks you through:

  • Creation of namespace, service account, default secret and customization config map
  • RBAC configuration
  • Ingress controller deployment
  • Getting access to ingress controller
  • Application deployment

All commands listed and in the tutorial. Links to further resources included. Well done!

[Read More]