teleren/devto huggingface dataset:
72: Knowledge Worker 
Published: 2020-08-10 04:26:07

This journal is not related to web development, I would like to be specific what to do, why I want to be a knowledge worker with evidence when I decide to study programming, which means that I should be qualified with real knowledge.

**The main reasons are...**
* Better Self-growths than a high salary, comfort zone. 
* To gain my problem-solving skills and be free from the social standard through creating my originality with coding. 
* The intellectual stimulus is motivating my lifestyle.

----------------

###**Here is a resource that I found out about knowledge workers.**

A knowledge worker is an employee whose primary contribution to the workplace is knowledge of a specific subject. Some examples of knowledge workers include physicians, academics, engineers and architects. Knowledge workers may be said to think for a living, rather than performing manual or interpersonal tasks.

[The world of Knowledge Worker](https://corporatefinanceinstitute.com/resources/knowledge/other/knowledge-workers/)
Churn Prediction
Tags: python, beginners
Published: 2020-08-10 04:21:54

I decided to look at a churn data set found on Kaggle ( https://www.kaggle.com/becksddf/churn-in-telecoms-dataset). A churn is when a customer decides to change their telecom service. So the point of this exercise was to try to identify factors that caused customers to switch their plans and to create a model to try and predict them. 

## EDA
After doing so preliminary exploratory data analysis, I found two stats that deserved more attention when trying to figure out important statistics. Customers who switched are labeled as one in the graphs below and are the second graph in each picture. 

<img src = "https://dev-to-uploads.s3.amazonaws.com/i/p3dtafvj51i3oiwgvwok.png" alt="drawing" width="500"/>

In this graph, you can see how customers with an international plan were more willing to switch plans. Maybe they weren't happy with the service or high prices.

<img src = "https://dev-to-uploads.s3.amazonaws.com/i/lknyr1etnign8vbdeadc.png" alt="drawing" width="500"/>

In this graph, you can see how customers who switched called customer service a lot more than customers who didn't switch. Maybe they were so unhappy with the service that they wanted to switch. This makes sense because people generally stick to the status quo until they absolutely have to change. 

## Modeling

Now time for some modeling.

![](https://media.giphy.com/media/3kruPvGDcRnY6hmzp0/giphy.gif)

No. Not that kind of modeling!

*Logistic Regression*

For my first take, I tried a logistic regression model on the data. This model found these columns important.

<img src = "https://dev-to-uploads.s3.amazonaws.com/i/8q5ckh7sasygi1spg725.png" alt="drawing" width="500"/>

Interestingly enough, this model found the number of customer calls the most important thing when predicting a churn, just like I thought earlier. However, this model was only 81% accurate.

For my next blog post, I will try a random forest model and see how well it fares.
Fuyuko v1.0.0-beta released
Published: 2020-08-10 04:10:10

Fuyuko, an open source Master Data Management (MDM) / Product Information Management (PIM) software, v1.0.0-beta released. Check it out at [here](https://github.com/tmjeee/fuyuko/releases/tag/v1.0.0-beta).

Cheers, enjoy and happy coding.  :-)
Frontend Developer in 2020 - 2021 ?
Tags: frontend, webdev
Published: 2020-08-10 04:08:56

     Skills to become a Frontend Developer in 2020 - 2021?

Hello programmers,this is Satyam,in todays blog we are to talk about some skills required to become a frontend developer in 2020 or 2021.It's only my opinion and views.Let's first talk about who is a Frontend developer.A Frontend Developer is a person who works on creating the User Interfaces i.e. creating the part of web which we see.Or by definition we can say "A Frontend Developer is the person who works on frontend technologies such as HTML,CSS and JavaScript as well as some Frameworks such as React,Angular and Vue".

Ten years  ago when there were no frameworks available in the market technologies such as HTML,CSS and Javascript were enough to get a Job but nowadays you at least need to know one Framework may be React and Angular which are the most popular frameworks currently in the market.Now the question arises that how to learn these frameworks.Learning is very simple,Learning this frameworks is very easy as tons of high quality tutorials are available on Platforms such as Youtube and there are also some good websites to learn these Frameworks.You can also learn frameworks such as MeteorJS or ElectronJS which are not actually frontend frameworks but you will not get paid only for few frameworks you need to know a lot of things including Desktop App Development.Because it is very neccessary to learn all these skills in this competetive World.

                    Roadmap of Learning

HTML is actually a markup language which is very easy to learn,talking about CSS which is stylesheets for HTML Page and the last but not the least that is the Javascript programming language which makes the Web Page look and feel Dynamic.Once You have learned these three technologies you can move on to frameworks such as React and Angular both are good frameworks.Angular was developed by Google and React was developed by Facebook.After learning all these skills you can work as a freelancer or you can also start a youtube channel to teach these skills to others or you can also write blogs.This is what I think about Frontend Development.

 
Blogs:DevTipsntricks.com

Programming Tutorial:BestPythonTutorials.com

 

                   Thanks For Reading
How to setup a local Docker registry with Kubernetes on Windows (includes 1 hidden step that official docs doesn't)?
Tags: devops, kubernetes, webdev, tutorial
Published: 2020-08-10 03:57:02

This post covers how to - 

1. Setup a local Docker registry with Kubernetes on Windows
2. How to push/pull images to/from the registry

### Prerequisites

1. You have Kubernetes installed
2. You have Docker installed


### Architecture

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

### 1A - Steps - Setting up the registry

1. Start the cluster and allow insecure registries `minikube start --insecure-registry "10.0.0.0/24"`
2. Tell minikube to start a registry inside a pod in the Kubernetes cluster `minikube addons enable registry`
3. Get the name of the registry pod, in my case it is, (the official docs didn't explain this) **registry-s4h7n** `kubectl get pods --namespace kube-system`
4. Forward all traffic to the registry, run the two commands in separate terminals  `kubectl port-forward --namespace kube-system registry-s4h7n  5000:5000`
5. Continued - `docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:host.docker.internal:5000"`
6. Done. Now, visit. `http://localhost:5000/v2/_catalog`

### 1B  - Steps - Testing the Setup

1. `git clone https://github.com/CT83/ping-google.git`
2. `docker build -t ping-google .` 
3. Make sure it works `docker run ping-google` 
4. Tag it and prepare for push to our newly created registry `docker tag ping-google localhost:5000/ping-google`
5. Push it  `docker push localhost:5000/ping-google`

6. Pull it back down on Kubernetes `kubectl create deployment ping-google --image=localhost:5000/ping-google`

7. Ensure it's running `kubectl get pods`

```
NAME                           READY   STATUS    RESTARTS   AGE
ping-google-7666ff8964-w5h44   1/1     Running   0          17s
```

`kubectl logs ping-google-7666ff8964-w5h44`

```
PING ns1.google.com (216.239.34.10) 56(84) bytes of data.
64 bytes from ns2.google.com (216.239.34.10): icmp_seq=1 ttl=97 time=73.0 ms
```

### Conclusion

That's basically it, this should greatly simplify your development workflow.
TypeScript Vs JavaScript Vs Ecmascript?Comparison?
Tags: javascript, ecmascript, typescript
Published: 2020-08-10 03:41:58

 TypeScript Vs JavaScript Vs Ecmascript

Hello guys in this blog we are going to compare Javascript,Typescript and Ecmascript.First of all let's talk about Javascript.Javascript was introduced in the early 90s as a programming language for web.Before Javascript Developers used Java as a Programming Language for Web and created Web Pages which were know as Applets.Now there was a Company named Landscape.They thought that they should develop a programming language for Web and hence they developed Javascript but in it's early stages it was not very popular but after some time it started growing and nowadays it is considered as the most popular programming language as we can develop Web Apps,Mobile Apps as well as Desktop App in Javascript.

 


Now let's talk about Typescript which is you can say an improvement of Javascript Programming Language.Typescript was developed by Microsoft and it says "TypeScript is a typed superset of JavaScript compiled to JavaScript. In other words, TypeScript is JavaScript plus some additional features". I think you are clear with both Javascript and TypeScript.


Now let's talk about Ecmascript,Ecmascript is nothing it has just improved Javascript or you can say it is an standarised version of Javascript.At early stages Javascript was a functional programming language but later through ecmascript Object Oriented Concepts such as Classes and Objects was introduced in Javascript.


Python Tutorial:BestPythonTutorials.com
Blogs:DevTipsNTricks.com

Thanks for Reading
Different Array Methods (pt. 4)
Published: 2020-08-10 03:38:30

We'll be going over a few more Array methods this week.

### Array.lastIdexOf() 

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

##### What it does: 
This method will look for the last instance of whatever you pass in as an argument to the method. You see in our example, we are looking for the number 3.  

##### What it returns: 
This method returns the index of the last instance that matches what you passed in as argument. We see that 3 is in the array twice, but the last instance of it is at the 3rd index.

### Array.toString()

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

##### What it does: 
This method does exactly what you think it will. It will stringify the array.

##### What it returns: 
This will return the contents of the array as a string. Even if there are nested arrays. 


### Array.forEach()

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

##### What it does: 
This method will execute a callback function for each item in the array. However, we usually avoid this in favor of the .map method, which returns an array.

##### What it returns: 
The forEach method will always return undefined.
Continuação...tuplas
Published: 2020-08-10 03:23:38

As Tuplas são sequências imutáveis, geralmente usadas para armazenar coleções de dados heterogêneos (homogêneas (vetores e matrizes) e heterogêneas (registros)).

 Tuplas também são usadas para casos em que uma sequência imutável de dados homogêneos é necessária. 

A diferença entre a Lista(list) - ela é mutável, ou seja, você pode alterar. A Tupla(tuple) - ela é imutável - não pode ser alterada depois de criada.
classe tuple( [ iterável ] ) 

**As Tuplas:**
* Não podem ser deletadas.
* Assim que for criadas, não podem adicionar novos elementos dentro delas.

_______________________
 
```
teste_tuple = tuple(("key", "comp", "tab"))
print(teste_tupla[1])
comp
```
**Indexação Negativa**

Indexação negativa, você acessa o fim dela,  
* -1refere-se ao último item
* -2refere-se ao penúltimo item etc.

________________________________

Você pode acessar uma parte dos índices especificando por onde começar e por onde terminar o intervalo.
Ao especificar um intervalo, o valor de retorno será uma nova tupla com os itens especificados.

Exemplo
Devolva o terceiro, quarto e quinto item:
```
teste_tuple = ("key", "comp", "tab", "pen","charge","glasses","brush")
print(teste_tuple[2:5])
('tab', 'pen', 'charge')
```
________________________________

**Pode utilizar para Loop:**
```
testetuple = ("key", "comp", "tab")
for x in teste_tuple:
  print(x)
key
comp
tab
```
As tuplas podem ser construídas de várias maneiras:

Usando um par de parênteses para denotar a tupla vazia: ()
``my_teste =()``


Usando uma vírgula final para uma tupla de singleton: (a,)
``my_teste =(42,)``

Separando itens com vírgulas: ou a, b, c(a, b, c)
``my_teste =(42,'towel', 'That's it. That's all there is')``


No caso do construtor constrói uma tupla cujos itens são os mesmos e na mesma ordem que os itens do iterável . Pode ser uma sequência, um contêiner que suporta iteração ou um objeto iterador, ela será retornada inalterada. 

Por exemplo:
```
teste_tuple = tuple(("key", "comp", "tab")) 
print(teste_tuple)
```
____________________

Inglês: 
![tuples python](https://static.javatpoint.com/python/images/tuple-indexing-and-splitting.png)
_____________________________
Port:

![port tuples(https://dev-to-uploads.s3.amazonaws.com/i/erlzynn1ie61tj53lhwv.jpg)

* Len(teste_tuple) # Cumprimento da tupla 
3
* teste_tuple.index("key") - posição do item key
0
* teste_tuple.count("key") # n números de ocorrências do elemento 
1
* print(teste_tuple[0]) # retorna o primeiro elemento da tupla
key
* teste_tupla = ("key", "comp", "tab",[1,2,3])
print(teste_tuple[2][0]) # retorna o elemento 0 da segunda  lista.
1

____________________________
**Bibliografia**

* [w3schools](https://www.w3schools.com/python/python_tuples.asp)
* [Docs - Python](https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences)
Day 70 : #100DaysofCode - Taking A Break And Learning From Others Is Important
Published: 2020-08-10 03:09:02

Today I was very busy with my family. I got a chance to go to the beach and enjoy the fresh air, while social distancing of course! Going to the beach did not stop me from coding and meeting with others. While on the road, I had the opportunity to meet two other ladies from my bootcamp who have graduated and started a book club that I have been invited to join! I am very excited to learn and grow together with them. 

Later in the day, I had a meeting with some of my classmates and we went over our rails project. Each project was fantastic and I am glad I had the opportunity to speak with them! They helped me with adding a scope to my rails project, which was one of the requirements. I updated my project to only allow 10 comments to show at a time based off the scope parameter that I set. 

I am glad I had the opportunity to speak, learn, and code today. 

As always, thanks for reading!

Sincerely, 
Brittany
Git + WordPress
Tags: discuss, git, wordpress, webdev
Published: 2020-08-10 03:08:34

Hi there 👋! I'm asking for your help again... I would like to ask if you know how to version a WordPress project with Git.

It's enough and safe with adding the files to a private repo?
Which files should have on the `.gitignore` file?
How can I version the Database too?

Thanks a lot for your help! 🤖
dsalib Beta Version is Available Now
Tags: showdev, python, codenewbie, computerscience
Published: 2020-08-10 03:07:44

dsalib is a clean and minimal Data Structure And Algorithms Library Implemented in Python. Currently, it’s in development mode. We are making dsalib for production-ready. We have seen developers writing Data Structure and Algorithms from scratch again and again. dsalib’s main motive is to reduce the burden from developers so they can focus on creating.

You can now buy me a coffee! And help me create more awesome projects. : Buy Me A Coffee

Source Code (Don’t forget to put a star if you liked our project😅): dsalib

Currently, it's in development mode. You can contribute to making it better.
And I'm also going to move the codebase from pure Python to Cython to make it faster.
Please share your feedback and help us to create a better community.
Thank you.
More Stuffs About React Native
Tags: reactnative, android
Published: 2020-08-10 02:48:41

This is an extension to my previous blog on Getting to know about React Native. In this article, I am going to discuss the advantages and disadvantages of react-native. This is going to be my experience in React Native and the information I gathered.

#Advantages
As I belong to Reactjs background I find it very easy to write a React Native code. The only difference I have seen as a beginner in react native is the HTML tags. As we are freely using HTML elements in Reactjs in jsx format. As far as I know, we are not allowed to do that in React Native. It imports different packages for different purposes. But as we are using basically the same language as we have been using in web development, it is quite advantageous. Other the rendering HTML elements everything else is the same starting from basic state management to using high-level state management techniques such as Redux.

#Disadvantages
According to the people who are already doing React Native it occasionally crashes during development for some unknown reason which makes it a little bit hard to debut. It has also some performance issues. The shortcomings that I faced during development in React Native is it usually requires different components for android and ios. And the design looks different so we generally have to change the code according to ios and android requirements. In short, the is relatively lots of extra stuff to do in React Native than any other framework.

#For job purposes
I would prefer learning to React Native if you are applying for jobs recently as React Native is being used in many companies and there is a high possibility of getting React Naive jobs then newly developed framework such as Flutter.
Continuous Deployments Foster DevOps Culture
Tags: devops, agile, productivity, technology
Published: 2020-08-10 02:44:42

---
title: Continuous Deployments Foster DevOps Culture
published: true
description: It is CD that can help achieve DevOps culture.
tags: devops, agile, productivity, technology
//cover_image: https://direct_url_to_image.jpg
---

DevOps culture is talk of the town now a days. Organizations are pushing their management and employees for faster adoption. The trend is noticeably similar to that of Agile adoption. Sadly, what started as a movement to improve the culture, seems to be heavily misunderstood, much like Agile was, and is being adopted and implemented in a way that would make zero difference. I have this feeling in the guts, that says very soon "DevOps is dead" will be trending.

As part of the adoption, most organizations now have a DevOps team. Many of them, to support the movement, have renamed operations to DevOps. These newly formed (rather renamed) DevOps teams are still not ready to let go the control over the release process. Likewise, the developers are neither ready nor being prepared for the added responsibilities that comes with the adoption of DevOps culture.

Organizations are adopting DevOps culture primarily to improve their rate of delivery. In my humble opinion, DevOps culture itself is not a cause but an effect. An effect itself cannot bring any improvement, rather its presence is a sign of improvement. So if DevOps culture if an effect then what is the cause ? Continous Delivery / Continuous Deployment is the cause. Organizations that adopt CD will only be the ones with true DevOps culture.

Organizations should focus on CD rather than the DevOps hype, to improve their speed of delivery. CD at its core is about improving developer productivity and for a successful CD implementation developers first should to be empowered and then made accountable for the entire release process.
How about a #100DaysStartup Challenge?
Tags: startup, entrepreneurship, 100daysofstartup
Published: 2020-08-10 02:37:27

I have met a lot of tech entrepreneurs who are very skeptical of their products. Most of the awesome ideas get killed in the process by either delaying the release in the pursuit of improving the product or not executing at all.

**Speed is the moat**:

After running my own digital agency for 5-years, the biggest lesson I have learned is speed is the most critical thing for any early-stage startup. If you can’t scope down your product to something simple that can be released within 3 months, most likely it might never happen. Many get caught up with this endless loop of adding features and trying to make things perfect. but what you need to understand is, things may never be perfect. you just need to build something and put it out there fast.

**You don’t need 100K**:

Don’t get disheartened by the fact that your friend says you need a lot of capital to start your own product for marketing and etc. it sure does help to have money to spend on ads etc, but it surely not the case for us developers at least. especially at the start.

Let's throw all that insecurities away and start the **#100DaysStartup** challenge.

The **goal** is darn simple: Pick a concept, build a product, release it, and earn at least a dollar within 100 days. You only can spend $100.

![Pick a concept, Build a product, Release](https://dev-to-uploads.s3.amazonaws.com/i/hi8f421u0hidjwj8krne.jpg)

I’m going to be taking the challenge with you’ all. I’ll be updating the daily status on twitter and also planning on creating an article and a video on my process weekly. They’ll be dead honest and no BS.

For those who are in the #100DaysOfCode club, you can pick this challenge right after you get a hang of the basics. there's nothing like putting the knowledge to some practical use. I’ll be providing the framework in a different article.

Follow me on twitter: 
https://twitter.com/coderkk1992

Youtube: https://www.youtube.com/channel/UCGXPVFVvA2RbMZNaoCu2LYg
Javascript: null coalescing
Tags: womenintech, codenewbie, developer
Published: 2020-08-10 01:57:53

In javascript, null coalescing (??) operator is used to get first "defined" variable from list.

For eg: x=a ?? b

Which is same as saying, 
x = (a!=null || a!=undefined)?a:b

#Advantage

It reduces amount of code needed to check for null or undefined value.

#Limitation

We cannot use ?? Operator along with && or || operator without explicit parenthesis.

Eg: x = a && b ?? c will raise syntax error.

x=(a && b) ?? c
Is correct way

#Comparison

We can use (||) operator as replacement to (??). But there is small difference between them.
?? returns first defined value while || returns first truth value.

#Reference

https://javascript.info/nullish-coalescing-operator
Hi!
Tags: welcome, introductions
Published: 2020-08-10 01:52:03

Hey everybody!
I'm Chethana and I'm a CS grad student. I just heard of this amazing community and wanted to join you all. I have recently started out on a journey as a problem-solver, which I am extremely passionate about. Very excited to be here and want to learn as much as my brain allows me, every day. I also love to bake, [sing](https://www.youtube.com/watch?v=ENAGCdBbWmA) and write(I used to have my own [blog](https://apennyeveryweek.wordpress.com/), but it's been a year since I wrote in it, maybe I should start it up again). I am going to share everything that I learn while solving problems as a beginner and every other interesting things in tech that I come across. I would be really happy if any of my future posts add value to a reader in any small way. Thanks for reading and take care :)!
enchantedForest[7]
Tags: javascript
Published: 2020-08-10 01:30:46

today, we wrote 3 lines of code. 

```python
def logout():
    if session.get("username"):
        del session["username"]
    return redirect(url_for("index"))
```

ok not really, 
@kaisucode actually did some stuff.

I'll probably do some stuff and maybe update this blog post.

But we did find a lot of bugs. So that's something!