teleren/devto huggingface dataset:
Installing Python for machine learning in Ubuntu 18.04
Tags: ubuntu, python, linux, machinelearning
Published: 2019-10-17 08:42:51

##**Hey Everyone! The main reason is to help those who are having difficulties learning. Today I'll be installing Python on the ubuntu 18.04 LTS version.**

###Installing Python 3.7 on Ubuntu with `apt` is a relatively straightforward process and will only take a few minutes:

**1. Start by updating the packages list and installing the prerequisites:**

`# sudo apt update
 # sudo apt install software-properties-common`

**2. Next, add the deadsnakes PPA to your sources list:**

`# sudo add-apt-repository ppa:deadsnakes/ppa`

When prompted press `Enter` to continue:

`Press [ENTER] to continue or Ctrl-c to cancel adding it.`

**3. Once the repository is enabled, install Python 3.7 with:**

`# sudo apt install python3.7`

**4.At this point, Python 3.7 is installed on your Ubuntu system and ready to be used. You can verify it by typing:**

`# python3.7 --version`

`# Python 3.7.3`


###**Installing Python 3.7 on Ubuntu from Source**

####In this section we’ll show you how to download and compile Python 3.7:

**1.First, update the packages list and install the packages necessary to build Python source:**

`# sudo apt update`
`# sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget`

**2.Download the latest release’s source code from the Python download page using the following wget command:**

`# wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz4`

**3.Once the download is complete, extract the gzipped tarball:**

`# tar -xf Python-3.7.4.tgz`

**4.Next, navigate to the Python source directory and run the configure script which will perform a number of checks to make sure all of the dependencies on your system are present:**

`# cd Python-3.7.4`
`# ./configure --enable-optimizations`


The --enable-optimizations option will optimize the Python binary by running multiple tests. This makes the build process slower.

**For faster build time, modify the -j flag according to your processor. If you do not know the number of cores your processor, you can find it by typing `nproc` in terminal. The system used in this guide has 4 cores, so we are using the -j4 flag.**

**5. Start the Python build process using `make`**

`# make -j 4`

**6. When the build is done, install the Python binaries by running the following command:**

`# sudo make altinstall`

Do not use the standard make install as it will overwrite the default system python3 binary.

**7. That’s it. Python 3.7 has been installed and ready to be used. Verify it by typing:**

`# python3.7 --version`

**The output will show the Python version:**

`# Python 3.7.4`

###**You have installed Python 3.7 on your Ubuntu 18.04 machine and you can start developing your Python 3 project.**





You can follow me on @tahaadotdev at Instagram, twitter!!
Happy Coding!!
Sprint Goal in Scrum
Tags: agiledevelopment, agile, scrum
Published: 2019-10-17 11:00:59

---
title: Sprint Goal in Scrum
published: true
date: 2019-10-17 08:05:14 UTC
tags: Agile Development,agile,scrum
canonical_url: https://on-sw-integration.epischel.de/2019/10/17/sprint-goal-in-scrum/
---
A reading recommendation:
<section>
<header>
<a href="https://www.scrum.org/resources/blog/myth-having-sprint-goal-optional-scrum">Myth: Having A Sprint Goal Is Optional In Scrum</a> <em>(<span>Scrum.org</span>)</em></header>
<blockquote>Sprint Goals are one of the more elusive parts of the Scrum Framework. Most teams know they are important, but few use them - for a variety of reasons. In this post, Barry Overeem and I bust the myth that Sprint Goals are optional in Scrum. And we make an effort to show what makes them so vital in the face of complex work. And more importantly, what you can do to start working with Sprint Goals from now on.</blockquote></section>

I really like this article because I am in a Scrum team where everyone works in his/her niche area. So far we haven’t used Sprint goals. I agree with the observation in the “What happens without Sprint Goals” – section, especially:

> Without Sprint Goals, each Sprint implicitly has the same purpose: complete all the work.  **This makes all Sprints the same** , and can make people (rightfully) complain that they are artificial;

So if you’re in a Scrum team that doesn’t use sprint goals, this is definitely a must read.
Terminal of choice?
Tags: terminal, iterm, hyper
Published: 2019-10-17 07:58:42

What is your terminal of choice? 

I used to dabble with Hyper for some time because of the customization i could do with it, but eventually dropped it because of the poor performance compared to the default (mac) terminal and Iterm. 

After i became bored with Iterm (and found it sluggish as well) i moved to the default terminal which gave me more than enough customization and most important of all, the performance i want.

But yesterday i opened Iterm again, and saw that it now includes things through its preferences (git status, upload / download speed, memory usage of the computer etc).

So for now i am moving back to Iterm 2. What is your Terminal of choice?
Has someone tried an Rpi 4 Cluster?
Tags: raspberrypi, cluster
Published: 2019-10-17 07:54:50

---
title: Has someone tried an Rpi 4 Cluster?
published: true
description: Has it sense?
tags: raspberrypi, cluster
---

Hi all!

Since the newest version has up to 4gb of RAM and the gigabit eth, has it sense to upgrade from a 5 rpi3 cluster to rpi4?

The main use would be docker development and testing, probably the greatest thing is that you can work in NFS storage with gigabit eth.

What do you think? Has it sense to spend money on this, or it is better to spend about twice in 3 Intel nuc boards?
Things to Know When Choosing a HostSailor KVM VPS Hosting
Tags: managedvps, kvmvpshosting, vpshosting, windowsvpshosting
Published: 2019-10-17 07:50:54

Different software-based tools are used to split a physical server into multiple VPSs that are smaller. KVM is one of the virtualization technologies that help to make that division in the webserver. HostSailor is dedicated to bringing the best possible KVM VPS web hosting service to our clients.

What is KVM VPS?
The acronym “KVM” represents the Kernel-based Virtual Machine. RedHat developed it back in 2008. In this type of hosting, the operating system of the physical server simulates the hardware for that of the virtual private server to function on top of the former. Resources are not shared with others who access the same web server, but these are dedicated. All users on the server remain fully isolated from one another. This isolation is very important because regardless of users’ actions, no one can interfere with how others’ website operates. This avoids hold-ups, which is a priority for most website owners.

Benefits of Choosing This Service from Us

All our web servers are being powered by this virtualization technology, thereby giving you the quickest VPS service possible. The KVM VPS service allows you to have full isolation in the web server, meaning your hosting package would not be affected by the activities of others. This type of web hosting service guarantees you the full availability of resources such as RAM, bandwidth, disk space, and so forth.

Every guest who utilizes our KVM hosting enjoys these dedicated resources, and part of what makes it so reliable is that independent access to VPS hardware. Consistently high levels of performance is also a given because our KVM VPS hosting servers allow for extremely quick processing of every task. It is more secure compared to shared hosting because this high-end virtualization technology helps make your server isolated from others.

For RedHat-supported KVM hosting with Windows or Linux as an OS, feel free to contact HostSailor.
https://hostsailor.com/vps-hosting/kvm-vps/
Gartner IT Symposium/Xpo 2019
Tags: it, symposium, event
Published: 2019-10-31 13:28:16

---
title: Gartner IT Symposium/Xpo 2019
published: true
date: 2019-10-17 07:50:00 UTC
tags: #IT, #symposium, #event
canonical_url: http://techcommunity.softwareag.com/techniques-blog/-/blogs/gartner-it-symposium-xpo-2019
---

# “The World’s Most Important Gathering of CIOs & IT Executives”!

![](http://techcommunity.softwareag.com/documents/10157/10893595/gartner_symp.jpg/b04c6e3f-9c92-4d97-abeb-f0d65c3b6080?t=1571404685301)

Change makers - thinkers, planners, collaborators and innovators – unite! Come to the Gartner IT Symposium/Xpo in Spain and meet the company who can take you forward faster with the Internet of Things. That’s us, Software AG.

To show how important this event is, we are not just attending the [Gartner IT Symposium/Xpo™ 2019](https://www.gartner.com/en/conferences/emea/symposium-spain) in Barcelona, Nov. 3-7, we are also a premier sponsor. Nearly 7,000 CIOs and IT executives focused on creative disruption, mission-critical priorities and early technology adoption, will gather there.

This high-profile conference that covers a range of tech topics, everything from advanced analytics to cloud strategy and innovation management.

We will be leading two sessions that highlight the art of the possible with the IoT:

- Our CEO Sanjay Brahmawar, with featured guests, will explain the necessity of a distributed intelligent integration fabric in _“Disrupt or be disrupted – The extreme competitiveness of a truly connected enterprise.”_
- _"Live Demo: Living in a Truly Connected World”_ features Martin Neuenhahn, our Director of Cross-Product Strategy, showcasing a real-world connected manufacturing experience to demonstrate how Software AG enables companies to turn data into value.

At our booth themed _“Truly Connect Your World – From App to Edge,”_ our experts will be on hand to tell you more about the Software AG story. Booth visitors will learn how our leading platform accelerates innovation and enables them to integrate any app or device. They’ll see how we’re best able to help them define their IoT strategy, understand their best path forward, and deliver their future digital business.

Need advice for your next project?  
[Sign up for a one-to-one session](https://www.softwareag.com/corporate/company/events/Gartner_IT_xpo/default.html) with our executives and experts on the IoT and analytics, integration and APIs, or business transformation. Challenge us with your toughest questions!
Frequently Asked JavaScript Interview Questions in 2020
Published: 2019-10-17 07:43:20

JavaScript has been one of the most in-demand languages in the niche of website development. If you also have various lined up interviews for JavaScript, then we have prepared this blog for you. In this blog, the most frequently asked <a href=https://www.codingtag.com/top-30-javascript-interview-questions><b>JavaScript Interview Questions</b></a> have been enlisted along with their appropriate answers. Note that these questions and answers have been prepared for both fresher as well as experienced to tackle the technical interview sessions.

1.	What is the difference between Java and JavaScript?
Java is an Object Oriented Programming language; however, JavaScript is a client-side scripted language which can be inserted into HTML code to be understood by the browser.

2.	What different data types are used in JavaScript?
Different data types which are included in JavaScript are:
•	String
•	Number
•	Boolean
•	Undefined 
•	Object

3.	What is the use of isNaN function in JS?
isNaN function in JavaScript is used to check whether the argument which is passed is a number or not. If the argument is not a number, the function returns true. Else, it returns false. 

4.	What do you mean by negative infinity?
Negative Infinity in JavaScript refers to a number that is generated every time any negative number is divided by zero, giving the output as negative infinity. 

5.	What is the concept of timers in JavaScript?
In JavaScript, timers are used to specify which code will be executed at what time and also to repeat the code execution at a given interval of time. Various timers function included in JavaScript are:
•	setTimeout to start a function at a given delay
•	setInterval to repeat the function execution in a specific time delay until it has been canceled
•	clearInterval to stop the timers function execution


You can also visit <a href=https://www.codingtag.com/ios-interview-questions><b>Technical Interview Questions</b></a> of you want to learn more in terms of Website development interviews.



Source url : https://codingtag.webnode.com/l/frequently-asked-javascript-interview-questions-in-20202/
JavaScript ES6 one-liners: merge two sorted lists
Tags: javascript, merge
Published: 2019-10-17 07:37:17

One of the steps in the merge-sort algorithm is merging two sorted lists together. In the spirit of doing everything on a single line (see my other posts), here is an admittedly hokey one-liner for merging two lists together (it creates a new merged list and clobbers the second of the two original sorted lists):
```javascript
const orderedList1 = [1,3,5,7,9];
const orderedList2 = [0,2,5,8,11];

console.log([...orderedList1.reduce((a, e) => 
  [...orderedList2.some(r => 
    e > r? a.push(orderedList2.shift()): false)?a:a, e], []), 
  ...orderedList2]);
// [ 0, 1, 2, 3, 5, 5, 7, 8, 9, 11 ]
```
A bit of an explanation for this monstrosity:

The outer "reduce" starts with an empty list, goes through each element of the first list, extracts all the elements of the second list that are ahead of the current element of the first list and inserts them into the merged list, and then inserts the current element. Finally, the remainder of the second list, if any, is appended at the end of the merged list. The fake ternary operator smuggles in the "some" call inside the spread operator collecting the merged list in progress. Not sure if this can be done more neatly.
Hi everybody
Tags: gatsby, mdx, image
Published: 2019-10-17 07:19:54

Hi all.
I'm new here. I'm Chris from France. Ex backend dev in Java ( >10 years), then plumber (3years, yep funny this one), math teacher and now back in IT with react and gatsby. I hope i'll be able to help some people here.
I'm currently migrating a corporate website from wordpress to gatsby + datocms and I have issues to make work both mdx and image lazy-loading. But I guess there is worst in life.
Chris
How Opencart Multivendor Seller Product attributes and attributes Groups works?
Tags: opencartmultiseller, opencartmultivendor, multivendorextension, pencartmultivendor
Published: 2019-10-17 07:03:26

In the Purpletree Opencart multi-vendor, we have added the new functionality called seller product attributes. In the sellers can their own product attribute and attribute groups. Product attributes are additional characteristics of a product.
For example:-
Opencart Multivendor Extention Product attributes can be size and color. You first create the attribute, such as size. Then, you create values for this attribute. For example, for size, you can create values S, M, L, and XL. Finally, to associate a product with its attributes, you must go to the Products page and Create product variations. Seller product attributes will also be displayed at these locations (with the option to turn them off):
· Cart page
· View Order page on the front end for customers
· Emails that go to the customer, including:
· Receipt (Order Processing) email that goes to the customer
· Order Complete email that goes to the customer
· Customer Invoice email
· New Order email that goes to the administrator
· Admin Order Details page on the back end, under Order Items, Grouped product page.
· Shop page (including product category and tag archives).
Create seller product attribute:-
· To create the product attribute go to Seller Options > Product Attributes menu > Click on it > Then click to Add button.
· Then enter the name of the attribute then select the attribute group.
· In the product attribute group, the attribute group should have to create them from attribute groups. To create the product attribute groups go to Seller Options > Product Attribute Groups > Click on it > Then click to blue color add button.
· Then enter the Attribute group name and sort order name then click to blue color save button.
· After Creating the Attribute group ten the attribute started to visible inside Attributes > Select Attribute group from there seller can select the attribute group.

Get This Extension At: https://www.purpletreesoftware.com/multi-vendor-marketplace-opencart.html

Assign attribute to the product:-
· Go to Seller Options > Products menu > Click on it >Click to blue color button Add/Edit the product. In my case, I click to edit the button. > Then click to attribute tab > Select to attribute > Enter text > then click to save button.
For any query, requests get back to us or raise a ticket at https://www.helpdesk.purpletreesoftware.com.
Blazor PWAs are awesome!
Tags: csharp, dotnet, webdev
Published: 2019-10-17 06:44:29

---
title: Blazor PWAs are awesome!
published: true
description: 
tags: csharp,dotnet,webdev
---

I recently wrote about a [Blazor WebAssembly app](https://dev.to/bradwellsb/i-created-some-fi-re-calculators-using-blazor-webassembly-opi) I developed.  Yesterday, in a matter of minutes, I made that web app a Progressive Web App (PWA).  It can be installed on desktop and mobile, it works offline, and it is treated like a first-class citizen.
![](https://thepracticaldev.s3.amazonaws.com/i/burhxzbexps68qrrqt2w.png)

Here's the code: {% github bradwellsb/blazor-fire-calculators no-readme %}

Here's the demo and installable PWA: [fire.wellsb.com](https://fire.wellsb.com/)
![](https://thepracticaldev.s3.amazonaws.com/i/6sdlc7mmmd6gpq16gbvd.png)


And here's one tool that made the process easy: {% github SQL-MisterMagoo/Blazor.PWA.MSBuild no-readme %}
Stop focusing on the technology for permanent roles
Tags: career
Published: 2019-10-17 06:32:17

(originally posted on LinkedIn)

I've been a computer programmer since I was 8 years old; and professionally for over 20 years. During the 35 years I've been programming, these are some of the languages I've used:

    - Basic
    - Pascal
    - Modular-2
    - C
    - COBOL
    - C++
    - Java
    - Coldfusion
    - ActionScript
    - Javascript
    - PHP
    - Haxe
    - Python
    - Go
    - Elixir

There are loads others that I've played around with, but not done anything of interest (Rust, Ruby, Julia, Lua, Elm) - and I'm not even going to go into frameworks and tooling.

One of the things that people who are not in the programming world (and some who are) don't realise, is that it's pretty easy to pick up a language and start programming with it. The amount of learning resources is incredible; and with the wisdom of the internet, if you get stuck then an answer is only a search engine away.

The reason for this post, is that I often see job adverts (for permanent roles) that seem to require a fully formed individual who has follow the exact same path that the organisations development team have followed. This often means you get very silly job adverts, demanding exact matches in key technologies, with very little emphasis on the underlying experience or knowledge an individual might have. 

Most good programmers I know can easily switch from their current language to a new one, and get up to speed pretty damn fast. In the past, as a hiring manager, I've recruited people who HAVE NOT used the languages the platform was developed in, but I knew from their experience they could easily learn and get up to speed pretty damn quick.

So, organisations, hiring managers, recruiters - stop focusing on the technology and focus on experience and knowledge for your next permanent hire.
Postman Collection Viewer with VueJs
Tags: vue, showdev
Published: 2019-10-17 05:19:44

If you are building API with Postman and don't have a paid plan then it's very hard to share the API documentation with others. I had this problem while working on [MondayMetrics](https://mondaymetrics.com), So I built a simple postman collection viewer with VueJs. It's opensource on [GitHub](https://github.com/gopalkildoliya/postman-collection-viewer)

https://github.com/gopalkildoliya/postman-collection-viewer

Check out and like if you love it.

Thanks
What and how is your development environment?
Tags: beginners, discuss, productivity
Published: 2019-10-17 04:21:17

Hi, I had some inconvenience to develop multiple systems over time on my computer. Mainly when I try to isolate each environment for each project and this is where my doubt / question lies.
What is the best way / technology / good practices to have an efficient and safe development environment?
I have been using Vagrant, but I doubted if I wanted to use Docker, after researching, I found that many articles that talked about Docker should not be used so much for a development environment, but for its implementation.
I would like to know how they have customized their development environments.

Mainly I develop web applications with Python / Django, JS, React, etc.
Learn NumPy Fundamentals - Python Library for Data Science
Tags: python, machinelearning, tutorial, beginners
Published: 2019-10-17 02:18:25

All the basics to start using the Python library NumPy. In this course I'll cover the basics of using number and have several interactive course videos that will challenge you to learn how to use NumPy.

**We'll cover:**
* Why use NumPy?
* NumPy Arrays
* Array Math
* Array Indexing
* Advanced Indexing
* Broadcasting
* & much more!

**What you'll learn**
* Python
* NumPy

{% youtube HV6gY0r1fZY %}
Difference between Performance Testing and Performance Engineering.
Tags: webperf, testing, todayisearched
Published: 2019-10-17 01:10:31

Performance Testing : 
------------------------
This is testing of any application let it be web , desktop or mobile to know certain aspects/ parameters of that application under given load conditions. It gives us statistics and data to conclude about the behavior of application under that load.
Let us take an example, i want to login GMail, as an end user i want that to happen within 2 seconds. Now, how GMail will behave if 1000 users comes to login the page  simultaneously. The application may give some error, or may be it will be capable to handling all 1000 users at a time. So, to assure such behaviors and collect statistics, we do Performance testing.
Now, there are major two tools in the market used for Performance Testing.
a. LoadRunner- Free for 50 Virtual Users need to pay above that.
b. JMeter- Completely Open Source Tool

You can use any of them to start with. Typically, AS A performance tester your responsibility is to script the scenarios, setup test according to the workload given, run the test and share the results with all the stakeholders including performance engineer. 

Performance Engineering :
--------------------------
This is the process of analyzing performance test results given by performance tester. In this step we try to find out the reason why the exceptions did not match during performance testing. This process also called “Route Cause Analysis(RCA) “.
In the above example , If the average response time of GMail application becomes 10 seconds then its performance engineering process we try to find out why the response time became 10 seconds ? Why the application is not behaving as expected ?
So, a performance engineer is capable of not only identifying a performance issue, but also digging in to help identify the root cause. And potentially prototyping a solution.

Hope this was useful.