teleren/devto huggingface dataset:
Why IT Industry is fastest growing Industry in the World
Published: 2020-08-08 07:19:54

### 1. Easy entry for newcomer
The entry barrier for newcomer in IT industry is lowest compare to any other field. As almost anyone can learn any IT technology just by a computer and internet connection.

---

### 2. Automation
Once code is written for some work the work could be done millions or billions of times without any human need. Hence, unlike other industries, IT professionals can work heavy tasks in a short period.

---

### 3. Money
Automation leads to increased margins of profit for established IT companies. Hence the IT industry has the highest amount of money-flow inside it which leads to evolution of old technologies and invention of new-ones.

---

### 4. Free services to developers
The amount of free services the IT industry provides to its developers is unparalleled to any other industry.

Hence, the learning curve of new developers increases rapidly in a short period as there are almost no restrictions due to money on learning new technology.

---

### 5. Learning curve
As it is just a few clicks away to get any new information or a new skill. The learning curve in programming is way higher than in other industries.

Hence, the number of experts in technology is larger than in any other industry.

---

### 6. Millions of programmers & still counting
As it very easy to get in and the rapid learning, the number of programmers around the world increased exponentially and still increasing.

---

### 7. IT Industry penetration
As the IT industry is mainly based on Automation, precision & inventions, it is penetrating and becoming part of almost every other industry.
How to add CSS dynamically in Javascript?
Tags: javascript, css, webdev, beginners
Published: 2020-08-08 09:18:56

This post was originally published at https://www.blog.duomly.com/6-most-popular-front-end-interview-questions-and-answers-for-beginners-part-3/#how-to-add-css-dynamically-in-javascript

---

{% youtube vYA-a8jq46U %}

In the previous sections, you could learn how to manipulate with dom in a very simple way.

Like, we created a simple HTML element and created a script that was adding class to the element when the script loads.

We did it in two ways: jQuery (still alive, and still worth to know at least basics!), and the second one you learned is the DOM manipulation with pure JS.

In this section, we will go a bit more advanced.

You will learn how to do DOM manipulation related to the event. In this case, we’ll use the onclick method that we add to the button.

We can specify what element should be selected, by adding the “id” param to the function, and we’ll be able to specify the class name that should be added to the element.

Take a look at the code example that I’ve created for you.

We have here element with id “hero” and button that can fire the “addClass” function with the “onclick” attribute.

Next, we have a js script where we specified function named “addClass” that can take “id”, and “className” as params.

Inside the function, we iterate DOM to find an element with the id that we passed in button and add a class attribute with a class name that we added when fire “addClass” function.

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Learn coding on Duomly.com</title>
  </head>
  <body>
    <div id="hero">
      This is hero element
    </div>
    <button onclick="addClass('hero', 'rounded')">Add class</button>
    <script>
      function addClass(id, className) {
        const element = document.getElementById(id);
        element.setAttribute("class", className);
      }
    </script>
  </body>
</html>
```

<a href="https://www.duomly.com/?code=lifetime-80">![Duomly - Programming Online Courses](https://dev-to-uploads.s3.amazonaws.com/i/bde89cw4h64z765g2l4r.png)</a>

Thank you for reading,
Radek from Duomly
Create React App with chakraUI and formik libraries
Tags: react, webdev, chakraui, formik
Published: 2020-08-08 08:54:39

## APP Overview
ReactBlog is a simple CRUD app that I built with React. Main goal of this app to learn how to implement hooks and how to use chakraUI and formik libraries with a react app.

**Demo Link**: [reactBlog](https://ma-ahmad.github.io/reactBlog)
**GitHub repository**: [Github](https://github.com/MA-Ahmad/reactBlog)

### Packages used in this app
* ChakraUI
* Formik
* react-transition-group
* react-animation-components
* react-dotdotdot
* react-image
* react-icons

Here is a little description of ChakraUI and Formik

### **ChakraUI**
Chakra UI is a simple, modular, and accessible component library that gives you all the building blocks you need to build your React applications.

### **Formik**
Formik is the world's most popular open-source form library for React and React Native. 
Formik is a small library that helps you with the 3 most annoying parts:

1. Getting values in and out of form state
2. Validation and error messages
3. Handling form submission
Wisdom engine "DEV Community" runtime exception
Tags: thepracticaldev, devto
Published: 2020-08-08 08:44:07

This is the crash message on Dev.to Android app.

> 🔊 Wisdom engine
>
> **"DEV Community" runtime exception**
> "DEV Community" is experiencing crashes. Please contact "DEV Community" customer service for a solution.
>
> OK Never Ask

- BTW, I don't know how to print screen Android notification area (Vivo).
- Also, BTW, what is Wisdom Engine?

{% github https://github.com/thepracticaldev/DEV-Android/issues/95 %}
Who needs Github ?
Published: 2020-08-08 08:38:39

---
title: Who needs Github ?
published: true
description: Build your own GIT server
tags: 
//cover_image: https://media-exp1.licdn.com/dms/image/C4E22AQG7PXjhyeQ5bA/feedshare-shrink_800/0?e=1599696000&v=beta&t=kgolBCJrZ59GPITJHbesWxHGm6Lks8JsL3tzgSJWK9Y
canonical_url: 'https://kevwe.se/article/build-your-own-git-server/'
---
Build your own GIT server

Most developers have nowadays migrated to Git from arcane, older legacy systems, and this is for good. We use it because we know that there our code is (mostly) safe.
There is a lot of actually very good providers out there that will help you and set up a server for you, on their machines. There is Gitea, there is GitHub, you just do your job, push to them and let them backup your own code.
For most people this is just fine, I can’t understand that well for companies tough...



https://kevwe.se/article/build-your-own-git-server/
Elementary Row Operations - [Linear Algebra #1]
Tags: computerscience, codepen
Published: 2020-08-08 07:18:26

#### Opening statement
So here I am, taking MA1101R Linear Algebra I - a required Math module for Computer Science undergraduate course at the National University Of Singapore. To make things slightly more interesting, I am going to try to make as many visualizations as I see fit, to demonstrate some of the concepts taught in lessons. This way, I guess I could say that Math is, in fact, useful to a web developer. 

#### What's the use of Elementary Row Operations (ERO)?
* Two augmented matrices are row equivalent if one can be obtained from the other by a series of ERO.
* Two row equivalent augmented matrices have the same solution.
* By transforming an augmented matrix to its Row-Echelon Form or Reduced Row-Echelon Form through Gaussian Elimination and Gauss-Jordan Elimination respectively, we can find out its solution.

| Comparison                             | Observation in REF                                                                         | Solution |
|----------------------------------------|--------------------------------------------------------------------------------------------|--------------------|
| More variables than equations          | There is a non-pivot column in the REF,  other than the last column                        | Infinitely many    |
| Same number of variables and equations | Every column of REF is a pivot column, except the last                                     | Only one           |
| Inconsistent system                    | Has a row with nonzero last entry but zero elsewhere, or the last column is a pivot column | None               |


#### A quick demo of elementary row operations
{%codepen https://codepen.io/tlylt/pen/oNxgbOp %}
Top Angular UI Framework/Library (2020)
Tags: angular, ui, components, library
Published: 2020-08-08 08:38:21

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/arw1v9u3s54lf78xhi0u.png)

# 1. Angular Material
Designed and maintained by Angular team so it is an official UI library.
- **Design system:** Material Design [material.io](https://material.io)
- **Components:** < 40
- **Github stars:** 20.1k
- **NPM weekly downloads:** ~977k
- **Site:**  [material.angular.io](https://material.angular.io)

# 2. PrimeNG
Designed and maintained by [PrimeTek Informatics](http://www.primetek.com.tr).
- **Design system:** PrimeOne Design / Material Design / Bootstrap
- **Components:** 80+
- **Github stars:** 6.1k
- **NPM weekly downloads:** ~269k
- **Site:** [primefaces.org/primeng](https://www.primefaces.org/primeng/)

# 3. NG-ZORRO
Designed and maintained by NG ZORRO team.
- **Design system:** Ant Design [ant.design](https://ant.design/)
- **Components:** < 70
- **Github stars:** 6.7k
- **NPM weekly downloads:** ~37k
- **Site:** [ng.ant.design](https://ng.ant.design/docs/introduce/en)

# 4. Nebular
Designed and maintained by [akveo.com](https://www.akveo.com/). The most popular angular admin dashboard [ngx-admin](https://akveo.github.io/ngx-admin/) (Github starts 21k) based on nebular.
- **Design system:** Eva Design System [eva.design](https://eva.design/)
- **Components:** 35+
- **Github stars:** 6.4k
- **NPM weekly downloads:** ~23k
- **Site:** [akveo.github.io/nebular](https://akveo.github.io/nebular/)

Also, there are some other popular components like ng-bootstrap and ngx-bootstrap but they have very few components like < 20.
Installing Realtek 802.11ac driver for Kali Linux
Tags: linux
Published: 2020-08-08 08:36:32

---
title: Installing Realtek 802.11ac driver for Kali Linux
published: true
description: 
tags: linux
//cover_image: https://direct_url_to_image.jpg
---

This is a short snippet of code on the installation of Realtek 802.11ac driver for Kali Linux.

```
apt update
apt install bc -y
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959.git
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
```
How To Check Codeigniter Version?
Tags: php, laravel
Published: 2020-08-08 08:13:02

In this tutorial, we'll see how to check Codeigniter version in project you are using. Check Version is easy but would be a challenge for someone getting started with Codeigniter framework.

I was working in an application built on Codeigniter. CI looks like an earlier release but I'm not sure about the exact version of Codeigniter the application runs. So I started digging out and found the answers - turn out to be simple like I presumed. And I wish to share here the way I used to find Codeigniter version for your reference.


<?php
    echo CI_VERSION;
?>

More Information: https://www.phpcodingstuff.com/blog/how-to-check-codeigniter-version.html
How to manage time? Time management tips for anyone.
Tags: podcast, productivity, webdev, codenewbie
Published: 2020-08-08 07:55:05

Hey there!
 
{% spotify spotify:episode:6oX9uB4c1jAuUA3RQXbBz4 %}

Here are a few main points from the podcast.
1. Observe what you spend your time on.
2. Track your time usage using tools like clockify.
3. Cut away your distractions.
4. In case you're distracted, make sure you come back from it ASAP.

Bonus tip:
1. The right food & sleep is crucial! ( Important )

Listen more in the podcast in 3 minutes! 

Written by,
{% user developertharun %}

# Thank you for reading, This is Tharun Shiv a.k.a Developer Tharun

![Tharun Shiv](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xtxq6bdms36fmn62450h.png)
Introduction to svelte
Tags: svelte, webdev, productivity, tutorial
Published: 2020-08-08 07:42:28

Hey Developers, I made this svelte introduction video for beginners! 

* Introduction to svelte
* Docs / Guide 
* Basic todo app creation
* Svelte directives
* Creating functions!
* Loops in svelte
* If-else stmt in svelte 

~ Thank You.

### Support Me
* [Youtube - Vuelancer](https://www.youtube.com/channel/UC0hmXRqXYVO0mocVt5D3GkQ)

* [Github - Vuelancer](https://github.com/vuelancer)

* [Scrimba](https://scrimba.com/@selvakumardhivakar)

* [Vuelancer - Patreon](https://patreon.com/vuelancer)
Understanding Linear Search and Binary Search in Programming

Published: 2020-08-08 07:41:53

Searching refers to iterating over the data structure's elements to retrieve some data. When searching in an array, there are two main techniques depending on whether the array is sorted.
With regards to Linear and Binary searching, Linear searches are especially flexible because they can be used with both sorted and unsorted data while Binary searches are specifically used with sorted data.

**Linear Search**
A linear search works by going through each element of the array one index after another sequentially. The following code example is an implementation of a linear search that iterates through the entire array of numbers to find out whether an item exists within the array.


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/znn2e6wn2u9zkbiexflg.png)



The time complexity of the linear Search algorithm is O(n) because in the worst-case scenario it will search through all the elements before return false


**Binary Search**

Binary Search is a searching algorithm that works on sorted array. Unlike the linear search algorithm in which every element of the array is checked, binary searches can check the middle value to see whether the desired value is greater or smaller than it. If the desired value is smaller, this algorithm can search through the smaller parts, or it can search through the bigger parts if the desired value is bigger.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/q1ulmg8zleyyqgz2dlj7.png)


The binary Search algorithm is fast but can be done only if the array is sorted. It checks the middle element if that is the element that is being searched for. If the search
element is bigger than the middle element, the lower bound is set to the middle element plus one. If the search element is less than the middle element, the higher bound is set to
the middle element minus one.
Learning Ruby: string concatenation
Tags: ruby, beginners
Published: 2020-08-08 07:13:08

I have been practicing my Ruby beginner skills on Codewars this week and I just came across this interesting Kata which taught me something new about concatenating strings. 

The description of the [Kata](https://www.codewars.com/kata/50654ddff44f800200000007/solutions/ruby) is as follows: 


*Given 2 strings, a and b, return a string of the form short+long+short, with the shorter string on the outside and the longer string on the inside. 
The strings will not be the same length, but they may be empty ( length 0 ).*

For example:
```
solution("1", "22") # returns "1221"
solution("22", "1") # returns "1221"
```

At first, I tried using the `concat` method, similarly to what I would do in JavaScript. I was surprised when the output of my function was:

```
def solution(a, b)
  puts a.length > b.length ? b.concat(a).concat(b) : a.concat(b).concat(a)
end

solution("a", "bb") 
# returns "abbabb"
```

As a matter of fact the `concat` method in Ruby will change the initial string, and that is why the last `.concat(a)` was concatenating an incorrect value. The same happens when you use the method `<<`, which is equivalent to `concat`.

In order to resolve the Kata, I used the + operators, which does not mutate the initial string. 

```
def solution(a, b)
  puts a.length > b.length ? b + a + b : a + b + a
end

solution("a", "bb") 
# returns "abba"
```

####Summary


In Ruby, there are various ways to concatenate two or more strings: 

#####+ operator
Strings can be appended to one another using the + operator, like in JavaScript and other languages. This will not modify the initial string.

#####concat method
This method will change the string instead of creating a new one.

#####<< method
This is an alias for concat and it also mutates the initial string.
Friday Blast #89
Tags: fridayblast, links, post
Published: 2020-08-09 05:50:59

---
title: Friday Blast #89
published: true
date: 2020-08-08 07:00:00 UTC
tags: fridayblast,links,post
canonical_url: https://horia141.com/friday-blast-89.html
series: "Friday Blast"
---

[When you should NOT use Rails (2020)](http://codefol.io/posts/when-should-you-not-use-rails/) - I’ve never used Ruby on Rails, but it does seem like a great tool - opinionated, powerful, flexible, etc. However, like all tools ithas its place and might not be good in “all circumstances”. Folks sometimes forget this. The linked article talks acouple of such situations, and what alternatives there are.

[Introducing Domain-Oriented microservices architecture (2020)](https://eng.uber.com/microservice-architecture/) - regardless of your opinion of Uber as a business, or of their seemingly excessive tech, you have to give credit that many of their ideas are good and intriguing. This one is like that - transposing [Domain Driven Design](https://dddcommunity.org/learning-ddd/what_is_ddd/) ideas to the realm of microservices. But not just inside “one microservice”, but in _groups of them_, corresponding to business domains.

[What you should know before you start grad school in English Literature (2012)](https://jakeseliger.com/2012/05/22/what-you-should-know-before-you-start-grad-school-in-english-literature-the-economic-financial-and-opportunity-costs/) -Tl;dr: don’t do it!

[Can engineering productivity be measured (2020)](https://charity.wtf/2020/07/07/questionable-advice-can-engineering-productivity-be-measured/) - to a certain degree yes. But only if you’re looking at teams, and if you have proper processes in place - from outcome based goals, to performance calibrations, etc.

[Common hiring manager mistakes (2020)](https://lethain.com/common-hiring-manager-mistakes/) - designing a proper engineering interview system is a _hard thing_. Besides building it, you need to make sure you’re not screwing up in a bunch of “little” ways - lack of calibration, lack of predefined steps, not getting the data you want, etc.
Sieve of Eratosthenes
Tags: algorithms, python, computerscience
Published: 2020-08-08 06:31:41

![Sieve of Eratosthenes](https://dev-to-uploads.s3.amazonaws.com/i/bbxtuecn2jkddsx4wdiy.jpg)

### Topic: [Sieve of Eratosthenes](https://dev.to/codeperfectplus)

> In mathematics, the sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite the multiples of each prime, starting with the first prime number, 2.

Example:-
```
Input : n = 10
Output : 2 3 5 7 

Input : n = 20 
Output: 2 3 5 7 11 13 17 19
```

### Steps to Implement sieve of Eratosthenes

- Create a list of consecutive integers from 2 to n: (2, 3, 4, …, n).

- Initially, let p equal 2, the first prime number.

- Starting from p2, count up in increments of p and mark each of these numbers greater than or equal to p2 itself in the list. These numbers will be p(p+1), p(p+2), p(p+3), etc..

- Find the first number greater than p in the list that is not marked. If there was no such number, stop. Otherwise, let p now equal this number (which is the next prime), and repeat from step 3.

{% post codeperfectplus/bubble-sort-implementation-in-python-1kae %}
### Implementation of Sieve of Eratosthenes in Python3.

```python
def get_primes(n):
  m = n+1
  #numbers = [True for i in range(m)]
  numbers = [True] * m #EDIT: faster
  for i in range(2, int(n**0.5 + 1)):
    if numbers[i]:
      for j in range(i*i, m, i):
        numbers[j] = False
  primes = []
  for i in range(2, m):
    if numbers[i]:
      primes.append(i)
  return primes

print(get_primes(25))
```
Why don't voice apps see more adoption?
Tags: voice, skills, alexa
Published: 2020-08-08 06:23:51

---
title: "Why don't voice apps see more adoption?"
description: "Why aren't voice apps seeing adoption?"
published: true
tags:
  - voice
  - skills
  - alexa
---

I read [this summary of smart speaker usage](https://voicebot.ai/2020/05/03/streaming-music-questions-weather-timers-and-alarms-remain-smart-speaker-killer-apps-third-party-voice-app-usage-not-growing/) and was struck by how little adoption third party smart speaker apps are gaining. It's not particularly _surprising_: just ask anyone not super familiar with the technology if they've used an Alexa skill. It seems like the third party ecosystem would have been more robust by now.

#### A Quick Note on Discoverability

From what I've been reading, there's a ton of discourse in the voice application community on discoverability. Sure, discoverability is really important for lots of applications. Ask yourself this: how many of the applications on your phone did you install after finding them in the app store?

I don't think discoverability is the key. If users were getting consistent value, we'd see adoption.

#### It's all about jobs to be done

_What can your user accomplish that they can't accomplish easier by picking up their phone?_

I think the Jeopardy skill is an excellent example--it's actually easier to dictate answers to Jeopardy than it is to write them on your phone.

There are a ton of reasons why the subset of jobs to be done with third party voice apps is really small right now. What do you think is the key?

_mirrored [here](https://camden.codes/blog/voice-and-adoption/)_
Google Sheets Translate
Tags: developer
Published: 2020-08-08 06:18:14

Today I wanted to show you guys a cool feature I only recently discovered, and it's in Google Sheets!

As a developer, you're not always working in programming languages; sometimes, a simple excel formula can do things quicker.

I tend to use Excel quite a lot actually for quick replacing/searching/comparing etc.

Today we are looking at translating string in Google Sheets!

## Translate a String in Google Sheets!

So what we'll build is a multi-column setup; in column 'A', we will have our input words in English. Then in `B', we will translate these into Dutch. In`C`, we'll translate to Spanish, in`D`, to German and in`E` too Arabic.

So in Google Sheets, google added the formula `GOOGLETRANSLATE` it looks like this:

```js
=GOOGLETRANSLATE(cell with text, “source language”, “target language”)
```

So here is the list of formulas;

- `Dutch` = `=GOOGLETRANSLATE(A2,"EN","NL")`
- `Spanish` = `=GOOGLETRANSLATE(A2,"EN","ES")`
- `German` = `=GOOGLETRANSLATE(A2,"EN","DE")`
- `Arabic` = `=GOOGLETRANSLATE(A2,"EN","AR")`

You can find these two-letter abbreviations on the following page [ISO Codes](https://www.loc.gov/standards/iso639-2/php/code_list.php)

![Google Sheets Translate](https://dev-to-uploads.s3.amazonaws.com/i/br3l2b3ws0km6hxdjfsy.gif)

You can also find an example from my sheet here:

[View my Translate Sheet](https://docs.google.com/spreadsheets/d/1Ap45D1wfJBTSVXmkzfkgSjf8BJRpk0vdJ5n2TXcbZzU/edit?usp=sharing)

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
Created a Twitter bot which retweet hashtag #AzureDevOps
Tags: showdev, news
Published: 2020-08-08 06:11:06

Recently I have been exploring the Twitter API & in process thought to create a Twitter Bot.

Many topics came to my mind while creating the twitter bot, but finally pinned down to #AzureDevOps as it is one topic I am also very much interested in & there wasn't a twitter bot for the same.

Without further ado, let me present to you the #AzureDevOps twitter bot - https://twitter.com/azuredevopsbot

Feel free to follow the bot for the latest news & updates on #AzureDevOps.