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 ]

Sample REST API in Rust and Go

Categories

Tags programming how-to learning 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 programming 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 web-development infosec nodejs android

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 web-development nodejs ux

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]

Everything you need to know about HTML5 local storage and session storage

Categories

Tags web-development javascript nodejs

An article by Yogesh Chavan. Local and Session storage comes under the category of HTML5 Web Storage. In this article author uses the term Web Storage when we talk about Session and Local Storage together.

Web Storage is used for storing data on client side. So the data will be available across page refresh. Previously before Web Storage came into play, the only way of storing the data on client side was using cookies.

Both Local and Session Storage has storage limit of 5MB. All modern browsers support Web Storage. Regarding internet explorer, its supported from IE version 8 and above.

You will also get access to GitHub repo with demo application written in React just to understand the web storage concepts. Nice one!

[Read More]

Explore and visualize a dataset with Python

Categories

Tags big-data data-science python

How to learn to create beautiful and insightful graphs with Python – a code-along guide. By Fabian Bosler.

This is part of series of tutorials. In previous part “Extracting data from various sheets with Python” author provided information on how to retrieve and unify data from different sources (Google Sheets, CSV, and Excel).

In this guide the author put together info on:

  • How to combine and wrangle the data
  • How to explore and analyze the data
  • How to create beautiful graphs to visualize your findings

The code examples are included together with example of charts and visualizations. We liked the heatmap to visualize multiple dimensions of the data at the same time. Great!

[Read More]

Tutorial for learning Go functions, loops, and errors

Categories

Tags golang programming learning

Go is a modern, open source, and general-purpose programming language that began as an internal Google project and was officially announced at the end of 2009. This guide was written by Mihalis Tsoukalos on Linode.

Although Go is not perfect, it has many advantages, including: It has support for procedural, concurrent, and distributed programming, Go supports garbage collection so you do not have to deal with memory allocation and deallocation.

In this guide author covers the following topics:

  • A quick introduction on how to execute Go code
  • How to use loops
  • How to create functions
  • How to handle errors

Excellent for anybody starting looking seriously into Golang. Nice one!

[Read More]

Create a voice-controlled device with Alexa and Arduino IoT Cloud in 7 minutes

Categories

Tags data-science big-data machine-learning robotics

Umbobaldi wrote this piece about official announcement of the official Arduino Amazon Alexa skill launch.

You can now securely connect Alexa to your Arduino IoT Cloud projects with no additional coding required. You could use Alexa to turn on the lights in the living room, check the temperature in the bedroom, start the coffee machine, check on your plants, find out if your dog is sleeping in the doghouse… the only limit is your imagination!

While creating IoT applications is a lot of fun, one of the main concerns regarding IoT is data security. Arduino IoT Cloud was designed to have security as a priority, so compatible boards come with an ECC508 crypto chip, ensuring that your data and connections remain secure and private to the highest standard.

Below are some of the features that will be available:

  • Changing the color and the luminosity of lights
  • Retrieving temperature and detect motion activity from sensors
  • Using voice commands to trigger switches and smart plugs

Everything is also explained in youtube video. Getting started with the Arduino IoT Cloud is fast and easy, and by following this tutorial you will get a detailed run through of the different functionalities and try out some of the examples Nice one!

[Read More]

How to become a data scientist

Categories

Tags data-science big-data machine-learning learning

Author heard a question how one can become a data scientist by many people in recent months. So he decided to spend a great deal of time making this guide so that most people have access to it. By Marcos Silva.

Even the most experienced professionals still have difficulty defining the scope of the data scientist. One possible delimitation is that the data scientist is the person responsible for producing predictive and / or explanatory models using machine learning and statistics.

The article then dives into:

  • What is a data scientist?
  • What is the required background?
  • What to study?
  • Step by step of the subjects
  • Recommendation of courses, books and movies
  • Next steps

The article offers some great advice for anybody in big data, data science, software engineering. Recommended.

[Read More]

Testing dynamic forms in Angular

Categories

Tags nodejs javascript web-development angular

Learn how to create a dynamic form in Angular and then create tests for the form to ensure it works as expected. Blog post by Christian Nwamba.

It covers testing of dynamic forms in Angular. Dynamic forms in Angular are forms that are created using reactive form classes like Form Group and Form Controls. We will write tests for these forms to ensure that they function as intended.

The article covers:

  • Initializing application
  • Creating sign-up form
  • Testing the form
  • Form rendering
  • Form validity
  • Input errors

It also mentioned end-to-end UI test automation coverage. Interesting for anyone beginning the journey with Angular and test driven development.

[Read More]