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 ]

8 common pen testing mistakes and how to avoid them

Categories

Tags cloud-and-infrastructure security-and-privacy miscellaneous leadership-and-career

Penetration testing is vital, but are you doing it right? Here are some common mistakes and advice on how to avoid them. An article by Michelle Drolet.

One of the most effective ways to uncover flaws and weaknesses in your security posture is to have a third party carry out planned attacks on your system. Penetration testing is all about exposing gaps in your defenses so that they can be plugged before someone with malicious intent can take advantage. There are several different types of pen test designed to target different aspects of your organization.

The article then dives straight into mistakes, such as:

  • Failure to prioritize risks
  • Using the wrong tools
  • Box-ticking mentality to pen testing
  • Poor reporting
  • Disrupting the business
  • Using out of date techniques

… and more to be found in this interesting article. Nice one!

[Read More]

Clarifying RxJS Observables under 5 minutes

Categories

Tags backend-development frontend-and-mobile

Observables are the essential elements of the Angular framework; you can’t do too many things without using them. An article by Gábor Soós.

While a Promise only emits the result once, Observables can emit multiple values over time.

The article is split into these sections:

  • Promises
  • Multiple results
  • Synchronous execution
  • Array methods

When learning Observables, the RxMarbles site can help to made them crystal clear. RxMarbles are graphical representations on a timeline describing the behavior of an Observable composition.

We liked: The subscriptions of an Observable will be executed synchronously after a value is passed in. Good read!

[Read More]

What is the Visitor Design Pattern?

Categories

Tags software-engineering backend-development frontend-and-mobile

An article by Jakub Kapuscik about the visitor design pattern. The idea behind the visitor design pattern is to put parts of the code that have specific responsibilities outside of the class.

The most common use case for the pattern is reporting and exporting data to a given format. Those are very useful features that can easily get complex. They operate on data stored in an object but have very specific tasks to perform.

The single responsibility principle states that a class should have only one reason to change. If we want to add reporting or exporting on a structure of data, we will have at least two responsibilities.

Author work with example implementation in PHP. A visitor has the following elements:

  • Visitor (Visitor) – Defines the interface of visitors
  • Concrete Visitor (SickLeaveReport) – Concrete implementation of operations defined in the Visitor interface
  • Element (Visitable) – Defines the “accept” operation interface, taking Visitor as an argument
  • Concrete element (Student, University) – Concrete implementation of elements.

Source code is provided in GitHub repo. Good one!

[Read More]

Fifteen things you need to know before buying a telescope

Categories

Tags leadership-and-career miscellaneous how-to

Your guide to buying new telescope. Buying a telescope is a big step, especially if you’re not sure what all those terms – f/ratio, magnification, go-to – mean. So, to eliminate confusion and make sure you understand what you’re buying, here’s what to check out before you write the check out. Older, but very useful guide by Michael E. Bakich.

The 3 main types of telescopes use lenses, mirrors, or a combination of both.

Refracting telescopes use lenses – combining at least two, and as many as four, pieces of glass – as their objective (the primary light-gathering device).

Reflecting telescopes use mirrors to gather and focus light. In a Newtonian reflector – the most common type – light reflects from the primary mirror (whose surface is ground into a parabola so light comes to a common focus). The light strikes a smaller, flat secondary mirror near the top of the tube. The light then is bent 90° and enters the eyepiece through a small hole in the tube.

Catadioptric, or compound, telescopes incorporate a primary mirror coupled with a corrector lens placed at the front of the tube. The primary mirror’s curve is ground to a simple shape, usually a sphere. Ordinarily, a spherical mirror would introduce aberrations in the viewed image, but the corrector of a catadioptric scope “pre-bends” the light before it strikes the mirror. Two popular catadioptric telescopes are the Schmidt-Cassegrain and Maksutov-Cassegrain designs.

Further details in this interesting guide! Well worth your time!

[Read More]

Kubernetes with OpenShift 101: Exercises to enhance your apps with machine learning

Categories

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

With containers, you can create a clean, virtual environment to set up and train your neural networks in. Then, you can deploy the neural networks at scale with the exact same same environment. Article by Mo Haghighi.

This tutorial can help you understand how to deploy and manage a machine learning app on Minishift and Red Hat® OpenShift® on IBM Cloud™. When you complete the exercises, you will know how to do the following tasks:

  • Recognize handwritten digits with Keras+, the MNIST dataset
  • Build a neural network
  • Deploy the neural network
  • Deploy the app to Minishift
  • Train the neural network

GitHub repository with the code is also available. Excellent!

[Read More]

Top 5 SD-WAN takeaways for 2019

Categories

Tags cloud-and-infrastructure security-and-privacy devops-and-ci-cd software-engineering

An article by Tobias Mann about key things related to SD-WAN in 2019. SD-WAN reached an inflection point in 2019.

SD-WAN adoption is poised for liftoff, with IDC is predicting revenues in the space will exceed $5 billion by 2023, and the market’s meteoric growth has lead Avant Communications to declare SD-WAN the most disruptive technology of 2019.

With that in mind, here are the top five SD-WAN takeaways from 2019

  • Room for growth
  • SD-WAN is in, but MPLS is far from out
  • Untapped markets
  • Security remains a top concern
  • Branch and SASE

Gartner predicts that there will be several SASE product announcements in 2020, and that at least one of the major cloud providers – Amazon Web Services (AWS), Microsoft, or Google – would enter the market before long. Good read!

[Read More]

Sample REST API in Rust and Go

Categories

Tags software-engineering how-to leadership-and-career miscellaneous

Julio Manuel Merino Vidal wrote about his experiences about prototyping a bunch of web apps whose ideas had been floating in author’s mind for a long time. Author spent quite a bit of time learning about REST APIs and, as part of these exercises, implemented skeletons of REST servers in both Go and Rust.

The API let us manipulate a collection of tasks where each task contains a textual description and a bit to indicate whether it is done or not.

Some guiding principles used by Julio:

  • Decouple the REST API manipulation from the business logic
  • Using JSON for the requests and responses as the serialization format
  • Storing state in-memory only
  • Staying away from high-level do-it-all frameworks
  • Error handling needn’t be very accurate

You will get implementation in both Rust and Go, with all the code explained. Nice one!

[Read More]

The difference between programming and coding with Leslie Lamport

Categories

Tags software-engineering how-to

Coding is the easy part of programming. Leslie Lamport, 2013 Turing Award Laureate and inventor of LaTeX, explains why the two are fundamentally different. By Tibi Puiu.

“You don’t understand something until you’ve written it down carefully – carefully enough to explain it to somebody else. And if you haven’t done that, you’re just thinking you understand it,” Lamport said at HLF 2019.

For people not involved in software development, programming and coding sound like the same thing — except they’re not, and it can be important to look at the differences. Coding is basically the process of writing code from one language to another, whereas programming is the process of developing a program so that human inputs and machine outputs are in sync.

Leslie Lamport was the recipient of the 2013 Turing Award for imposing clear, well-defined coherence on the seemingly chaotic behavior of distributed computing systems, in which several autonomous computers communicate with each other by passing messages.

To learn more, click to original article to watch interview. Excellent!

[Read More]

Adding Auth0 to Ionic Angular app using Auth Connect

Categories

Tags frontend-and-mobile security-and-privacy backend-development

Learn how to secure your Ionic app by adding user authentication with Auth0 and Ionic Auth Connect. A tutorial by Matt Netkow.

An author will teach you how to add an Auth0 login and logout experience to an Ionic Angular mobile app using Ionic’s Auth Connect plugin. To see a complete working example, take a look at this GitHub repo.

The tutorial also provides info about:

  • What is Ionic framework?
  • What is Ionic Auth Connect?
  • Prerequisites, installation and configuring Auth0
  • Creating a new Ionic app
  • Installing Cordova/Capacitor and Auth Connect

Explanatory screen shots and video also provided. Nice read!

[Read More]

Design Scenarios -- Communicating the small steps in the User Experience

Categories

Tags frontend-and-mobile backend-development product-and-design

Design scenarios are useful tools for communicating ideas about user actions. Mapping design scenarios also has the added benefit that it helps formalize ideas and to take creative approaches to those ideas. By Katie Inglis.

Most importantly of all, it will ensure that your designs are firmly rooted on terra firma and taking a “what our users want/need” approach from the outset. In general, user scenarios are designed to capture the key interactions with a system and not all possible interactions.

A user scenario simply describes a basic story of an action or goal that a user wants to accomplish. It might be how Kevin needs to buy a CD online for delivery today for his friend’s birthday, for example. Of course, scenarios can be much more detailed too the idea is to work out the: who, what, when, where, why and how of the user’s scenario.

The article explains:

  • What is a user scenario?
  • When should scenario mapping be used in a project?
  • How to do user scenario mapping?

User scenarios are a great way of communicating the key tasks a user will perform with a system. Good read!

[Read More]