teleren/devto huggingface dataset:
Comparação entre IaaS, PaaS e SaaS
Tags: saas, iaas, paas
Published: 2020-10-21 19:03:34

Quando se fala em nuvem existem três tipos de serviços de nuvem que podem ser encontrados:
- **IaaS**:
  * Não tem custo inicial, o usuário apenas paga o que usa;
  * O usuário é responsável pela compra, instalação, configuração e gerenciamento de seus sistemas operacionais, middleware, e aplicações.
  * O provedor da nuvem é responsável por assegurar que a infraestrutura da nuvem está disponível ao usuário.
  * _Exemplo: Armazenamento e Backup de Bancos de Dados_


- **PaaS**:
  * Não tem custo inicial, o usuário apenas paga o que usa;
  * O usuário é responsável apenas por suas aplicações. O ambiente para o usuário trabalhar é fornecido pelo provedor
  * _Exemplo: Um framework de desenvolvimento_


- **SaaS**:
  * Não tem custo inicial, o usuário apenas paga uma subscrição, mensal ou anual;
  * O usuário apenas utiliza a aplicação.
  * O provedor do serviço é responsável por provisionar, gerenciar e manter funcionando a aplicação
  * _Exemplo: Office 365_
Memory efficient parsing in GO
Tags: go, json, xml, stream
Published: 2020-10-21 18:48:00

---
title: Memory efficient parsing in GO
published: true
description: 
tags: go,golang,json,xml,stream
cover_image: https://miro.medium.com/max/4800/1*xGNVMFqXXTeK7ZyK2eN21Q.jpeg
---

Instead of greedily reading the whole stream in memory and passing it to `json.Unmarshal`:

```go
json.Unmarshal(bigBlobOfData, &myStruct)
```

We can delegate the stream reading to our dear masters of golang:

```go
json.NewDecoder(myIOReader).Decode(&myStruct)
```

And read multi giga(tera?)bytes files with no sweat. Also works with `xml.NewDecoder`.
Make Imposter Syndrome Your Super Power
Tags: impostersyndrome, junior, career, codenewbie
Published: 2020-10-21 18:43:30

---
title: Make Imposter Syndrome Your Super Power
published: true
description: Imposter Syndrome is something that holds us back but it doesn't have to be, it can be our greatest strength
canonical_url: https://www.mitchstewart.codes/imposter-syndrome-superpower
tags: impostersyndrome,junior,career,codenewbie
cover_image: https://www.mitchstewart.codes/static/9974bd24e4a19823277942a6ec95eb18/fe9e8/superhero_2.png
---

Almost everyone at some point in their career suffers from the dreaded Imposter Syndrome for a variable length of time, some even never break free of it. Our industry thinks of Imposter Syndrome as a dreaded thing around our necks holding us down but it doesn't have to be that way. It can be the fuel that keeps your flame burning bright and motivate you to become a better developer than you were yesterday. You can take control of your Imposter Syndrome and make it your strength. Note: I am writing this from the perspective and experince of a white cis male, it may not help or apply to those of marginalized communities.

"I'm not a real developer" "Everyone else here is so much better than me" "I'm a fake and soon everyone will find out," if any of these quotes sound familiar then you have dealt with imposter syndrome at one time or another. It is the little voice in the back of your head that compares your knowledge with that of your team member's or even worse the entire developer community. We assume that knowledge is a linear path, that we learn X then Y then Z. Knowledge is not a linear railroad track that you follow along where you develop your skills in a sequential order where someone like Stacy the Senior Engineer on your team is further along the knowledge track and must have so much knowledge than I do. She has already been where I am on the knowledge track so she must know everything I know right? **WRONG!**

Knowledge is not a linear path we follow, but instead a [jigsaw puzzle](https://youtu.be/vtIzMaLkCaM?t=1809) where through our experinces we piece together a part of the puzzle that no one else has. No one else on your team has your exact lived experiences so you bring a unique perspective that more experienced developers on your team might not consider. Just being a beginner or junior brings a unique perspective to the table with the zen concept of ["beginner's mind" or Shoshin](https://zenhabits.net/beginner/), because we don't have preconceived notions of about what will or wont work we are much more eager and open to a world of possibilities in solving a problem that a senior on the team might never even think of or consider.

Think of that for a moment. You as a junior can see problems from a perspective that isn't clouded in ways that a senior's might be. That is one of your strongest contributions to the team and you need to utilize it to its fullest. Your questions and considerations that may come from a place of inexperience enable the team to see things in a light they wouldn't otherwise without you there.

[^1]: [Image courtesy of Undraw](https://undraw.co/)
Git Remote - Ignores all Features
Tags: opensource
Published: 2020-10-21 18:29:03

## Intro
Last week, I added a ignore feature to this [repo](https://github.com/tonyvugithub/GoURLsCheckerCLI). I made an [issue](https://github.com/tonyvugithub/GoURLsCheckerCLI/issues/11) to add the ignore feature. The repo owner got back to me and gave me the go ahead and assigned me the issue. The 3 things I gained insight while doing this feature was I gained a greater understanding of the Go programming language, git remote and code reviewing.

## The Language 
Go programming language is similar to a lot of other languages I use frequently but also slightly different. I did use a lot of regex in my solution so I got familiar with the go regex and strings libraries. I found Go pretty easy to get into because of my vast experience with C++ and JavaScript. I did enjoy programming in go though  it was a nice combination of scripting language and compiled programming language.

## The process
The process of getting my code merged with the repo was a process because at all points of adding the code I was in talks with the repo owner and the way my code was merged was not the normal pr but it was through git remote. I provided the repo owner with my fork and branch I was working on and The repo owner did code review and testing with git remote. This experience felt a lot more real and felt like it was more of a collaborative effort in implementing the feature.

## On the Other-Side
I did the same process with my [repo](https://github.com/zg3d/fireLinker) where someone wanted to implement this feature to my fireLinker and I also used git remote to review the [code](https://github.com/1jz/fireLinker/tree/ignore-urls). The process of reviewing the code this way was much more simpler than review a pr. I had an easier time testing it on my local machine.

## Reflection 
This whole process taught me a lot and made me get comfortable with a lot of things I use such as Go, Regex and Git. Overall, I found git remote to be a great tool to add to my arsenal when dealing with code review and merging repos.
Enthroning Ubuntu
Tags: ubuntu, linux, todayilearned, todayisearched
Published: 2020-10-21 18:27:16

Today, as part of my attempts to join an open-source software community namely amFOSS, I came across this beautiful website to share a small part of today's work. Here I present to you the ways in which I installed ubuntu and hence dual booted it with my windows 10.

First of all, I downloaded the official ubuntu file from https://ubuntu.com/ version 20.04 LTS. 
Then I also downloaded an installer or writer application name Rufus from the web.
I formated an existing USB of mine and wrote the ubuntu file into the Pendrive gently.
Opened the windows system manager, went to the storage settings, and finally freed abt 80GB as unallocated storage space.
Then I switched off my PC and rebooted it. While rebooting I continuously pressed the F12 key to load the boot settings. once the boot settings were opened I had faced a lot of difficulties because my device was set on Intel rapid storage technology for data mobility. I quickly changed it to AHCI and then launched Ubuntu because Ubuntu does not support this service.
Then I swiftly installed the ubuntu into my PC with the mount set in '\'. 
finally when I rebooted it to check whether I can still log into windows, came BitLocker. because I had the Microsoft Authenticator app already on my phone, I typed in my bit code and got back in.

THANK YOU FOR READING!!
HAPPY CODING
Let's build for Ruby and Rails developers - Part 12
Tags: rails, ruby, webdev, showdev
Published: 2020-10-21 18:43:18

---
title: Let's build for Ruby and Rails developers - Part 12
published: true
date: 2020-10-21 18:16:00 UTC
tags: rails, ruby, webdev, showdev
canonical_url: https://web-crunch.com/posts/lets-build-for-ruby-and-rails-developers-part-12
---


{% youtube mi3e9BDjGSk %}

In part 12 I continue rounding out our new job form using Vue.js. Since this is a multi-step form I wanted to create some visual cues giving the end user an idea of where they are in the process of posting a new job.

After this part I'll start focusing on getting stateful data in the mix for our Vue.js app. We'll render JSON back from the Rails app and hydrate the front-end using a central store to help us manage data as a new job gets created or changed.

#### The series so far

- [Part 1](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-2g1)
- [Part 2](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-2-3310)
- [Part 3](https://web-crunch.com/admin/posts/lets-build-for-ruby-and-rails-developers-part-3/)
- [Part 4](https://web-crunch.com/admin/posts/lets-build-for-ruby-and-rails-developers-part-4/)
- [Part 5](https://web-crunch.com/admin/posts/lets-build-for-ruby-and-rails-developers-part-5/)
- [Part 6](https://web-crunch.com/admin/posts/lets-build-for-ruby-and-rails-developers-part-6/)
- [Part 7](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-7-47n0)
- [Part 8](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-8-f1)
- [Part 9](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-9-56ip)
- [Part 10](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-10-48eo)
- [Part 11](https://dev.to/justalever/let-s-build-for-ruby-and-rails-developers-part-11-52ek-temp-slug-437378) 
- Part 12 (You are here)

- [View the entire collection](https://web-crunch.com/collections/lets-build-for-ruby-and-rails-developers)
Helpful Hacktoberfest
Tags: hacktoberfest
Published: 2020-10-21 18:15:21

## I learned a lot from Hacktoberfest. 
First of all, due to Hacktoberfest, I tried contributing to open-source which is an amazing experience. Secondly, I got to know that when people use the part of code which is written by you is also a grateful & satisfactory experience of giving back to the community & thus I will continue to contribute in Open Source :) 

I contributed to various types of repositories, from making README to writing code for making pages of websites. So the only advice I want to give is to keep contributing & give back to the community, it will help you also to grow more! 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/3l3o2p2mogbvau675f9r.PNG)
Completed 14 good Pull requests out of which a few are mentioned below:
1. https://github.com/twozero88/FibonacciForHacktoberFest/pull/25
(Added Fibonacci in PHP)
2. https://github.com/ietebitmesra/HacktoberFest-2020/pull/43 (Updated correct Hacktoberfest rules in README)
3. https://github.com/Cheatsheet-lang/HTML/pull/12 (Fixed Image bug from README)
4. https://github.com/codeezzi/utility/pull/67 (Added torque converter webpage)
5. https://github.com/deepanshu1422/List-Of-Open-Source-Internships-Programs/pull/28 (Fixed broken Links)
6. https://github.com/Cheatsheet-lang/HTML/pull/10 (Added emojis in HTML cheatsheet)
WHAT IS SITEMAP ? WHY IS IT NECESSARY?

Tags: html, css, codenewbie
Published: 2020-10-21 18:12:55

web site url link : 
https://www.teknobu.net/english/what-is-sitemap-why-is-it-necessary/

The hierarchical list of websites designed to be useful for search engines and users is expressed as sitemap, or sitemap . This sitemap showing pages including links for users can also be referred to as the sitemap.xml file. This map, which allows users to navigate within the site, can also be expressed as a text edited version of the sites. In this way, you can easily access the page you want. When you click on this relevant area placed on the site, in this case, the content table is created and you can easily see what is on which page.

You can create a sitemap in 3 ways, automatically, manually or online . These maps are almost a guide for Google search engines. Having a map on a site means that your site will be more easily found by users. In this way, it is added to the directory. In addition, instead of finding one by one, it can be easily processed with this feature. Websites have a specific browsing time. Scanners spend time scanning. This guide shows the importance of your page. Unimportant pages on your site will be scanned when there are no guides, and therefore the time will be exhausted before reaching useful pages.

It should be noted that the content of the site is always dynamic. At the same time, sitemap is beneficial in providing information to search engines. Search engines are warned if any page on your site is updated or removed. In this way, changes search results are also allowed on the site. Maps also help sites to change results on search engines organically. It is also important for the improvement of traffic.

Site map so sitemap provides a quick way of indexing sites. This map, which is also useful for site traffic, is very important for websites. If you are going to add a map to your sites, you should plan this well. At the same time, the current version of your site will be easily perceived by a map. The main way to develop a successful sitemap would be to take advantage of SEO among web design services. Investing in the required time will greatly affect the success of your site.



web site url link : https://www.teknobu.net/english/what-is-sitemap-why-is-it-necessary/
Create Project VueJS Cli
Tags: vue
Published: 2020-10-21 18:04:29

*// create project client vue cli*

`vue init webpack client`

`cd client`

`npm install --save bootstrap jquery popper.js`

*// main.js or app.js*
`import 'bootstrap';`
`import 'bootstrap/dist/css/bootstrap.min.css';`

*// Add vuex*
`vue add vuex`
You can be happy to know Python Counter - How to get the most common elements in a list
Tags: python
Published: 2020-10-21 18:01:53

I often use Python Counter to count elements of a list. The Counter class is a dict subclass and can be used from Python 3.1. The following is the most simplest example.

```
from collections import Counter

s = ['a', 'a', 'b']

c = Counter(s)

print(c)  # Counter({'a': 2, 'b': 1})
```

You can count the specified element of a list in the same way as getting the value of a dictionary by a key.

```
from collections import Counter

s = ['a', 'a', 'b']

c = Counter(s)

print(c['a'])  # 2
```

You don't need to create own functions to count items like this.

```
s = ['a', 'a', 'a', 'b', 'b', 'c']

c = 0

for i in s:
    if i == 'a':
        c = c + 1

print(c)  # 3
```

## Get the most common elements

The most_common() is one of the greatest method in the Counter class.

```
from collections import Counter

s = ['a', 'a', 'a', 'a', 'b', 'b', 'b', 'c']

c = Counter(s)

common = c.most_common(2)

print(common)  # [('a', 4), ('b', 3)]
```

This function returns the n most common elements as a list and n is 2 in the above case. If n is omitted, it returns all the elements and counts.

The detailed explanation is [here](https://www.atqed.com/python-counter). The collections module, which has the Counter class, helps us to shortcut developing. If you want to create the tiny or primitive function that might need the for statement, it's important to rethink if it's been already coded by Python Software Foundation.
Off I Go with Hacktoberfest  🚀 🚀 
Tags: hacktoberfest
Published: 2020-10-21 17:50:10

## What I Learned From Hacktoberfest

This was my first time contributing to open source. This was so much fun. I am new to development but due to this I learned a lot! I am in love with developing now. So great to see this these initiatives that make you push your limits. Wonderful experience. Onwards and upwards.🚀🚀
Filter method in JS
Tags: javascript, codenewbie, webdev, beginners
Published: 2020-10-21 17:46:19

```js
const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const numbersGreaterThanFive = numbers.filter(number => number > 5);
console.log(numbersGreaterThanFive); // [6, 7, 8, 9, 10]
```

---

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Twitter](https://twitter.com/codedrops_tech) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript  
**[codedrops.tech](https://www.codedrops.tech/)**
Run a React app bootstrapped using cra on a different port
Tags: react, webdev, codenewbie, beginners
Published: 2020-10-21 17:45:23

```json
{
	...
  "scripts": {
    "start": "PORT=7001 react-scripts start"
	}
}
```

---

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Twitter](https://twitter.com/codedrops_tech) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript  
**[codedrops.tech](https://www.codedrops.tech/)**
How to pass arguments to Flink App
Tags: flink, java, springboot
Published: 2020-10-21 17:31:41

At first when I started writing Flink application I thought of it as any other Java console application and started writing the same using Spring Boot Framework. However I soon realized that running the application in Flink is a bit different than executing a Java application on say command line using 

```
java -jar <jar_path>
```

My application was connecting to Kafka for reading stream from the topic and performing operation on the streams. Our Kafka cluster is secured using SSL and ACL that means I need certificate to read from the topic and publish the processed output on another topic and the certificates will change per environment. In the past I had written a Java consumer app which works on the similar principle but it was a containerized app and passing parameters to Docker container is simple enough using,

```
-e <env_variable>=<value>
```

However this was a Flink application and things are quite different since the Flink manager has all the controls to run the application. After breaking my head for several hour(s) I figured out that its like running any other Java app. Now the beauty of Java app is you can pass the properties you are reading from application.properties from the arguments without writing a single line of code as,

```
java -jar <jar_path> --<property_name>=<value>
```
So I thought why not try the same thing with Flink application after all its a Java app. So I ran below command,

```
~/flink/bin/flink run app.jar --brokers=Broker1:9093 --topic=some-topic
```

And to my surprise this worked and I could verify that by checking the logs on the Flink dashboard. Since this option worked I thought what if I pass the property and their values in a properties file, why not give it a try by running below command,

```
~/flink/bin/flink run app.jar -Dspring.config.name=<full-path>/application.properties
```

This also worked since I had implemented the application using Spring boot, I could pass the properties file with all the required values. 

You can choose either of the method according to your preference and it should work seamlessly.

Happy Coding :)
Unlocking Medium.com Paid Content with the help of Twitter
Tags: medium, unlockmedium, freemedium, content
Published: 2020-10-21 17:17:53

Hello fellows!

While I have nothing against paying for services - here's a way I managed to find online on how to unlock medium.com articles that show you the message that you are required to pay for. 

Using Twitter, you'll simply DM the link of the "premium article" to yourself, then clicking on that link will make it by miracle available to read freely.

Enjoy and spread the word

Check a quick demonstration on [link]

{% youtube b0F3qDVzbBE %}
Hacktoberfest 2020 done and dusted
Tags: hacktoberfest
Published: 2020-10-21 17:05:27

This is my fist DEV post and also my first official OSS event completion. The awesome resources and the amazing support of the community can get any newbie started with open source. I am immensely delighted after completing this challenge and also I haven't yet concluded my contributions! This was just the tip of the iceberg for me. This was a very good start for me into open source and would love to come back to Hacktoberfest 2021 as a mentor :)

https://dev-to-uploads.s3.amazonaws.com/i/ml6wb1xh7n1492smhglo.PNG

Cheers!!
22/10-Post 
Published: 2020-10-21 16:55:43

•Looking at how my colleague did her job makes learning great for me ! Though not for too long, I have my tasks as well & someone is watching me..heh
•Omg I'm at a pop up tutorial stage today, checkbox is hard..@_@, keep going! 
•My skillshare is expiring soon, been spending all of my free time learning to make good use before it expires. When that happens in 2 days, I plan on cutting down frontend learning to make room for other things. Time to replan~
Welcome Thread - v96
Tags: welcome
Published: 2020-10-21 16:24:57

---
title: Welcome Thread - v96
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
canonical_url: 
---

![Crocodile saying hello](https://media.giphy.com/media/3ohhwmcrvnu7OzD1mM/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
Evolving my publishing workflow
Tags: automation, bash, versioning, publishing
Published: 2020-10-21 16:28:20

---
title: Evolving my publishing workflow
published: true
series: Publishing workflow
tags: automation, bash, versioning, publishing
---

After i published my first Article I decided to work on my workflow.
In this article i will expand my bash script.
I want to have all Article on one location but in different subdirectories. This directory is organized like this:

```
├── content
│   ├── drafts
│   │   └── Evolving my publishing workflow.md
│   ├── ideas
│   └── published
│       └── 20-10-2020 Create a new post via API.md
└── helper.sh
```

In the `drafts` directory, i will have all my started article (hopefully only one file at the time). 
In `ideas`, i will collect my articles which have only a title and contains some hints, notes or links for discovery.
In `published` i will collect all my published Article.

When i published my Article, the file will be moved from the draft directory to the published directory. I don't want to loose the publishing date of the article, so i want to add a date in front of the filename. 

To achieve this i add the following lines in my bash script:
```bash
# escaping filenames with spaces for the mv command
filePath=$2
#get the current date
date=$(date +%m-%d-%Y)
# grap only the filename
fileName=$(echo "$filePath" | cut -d"/" -f3)
mv "$filePath" "$(pwd)/content/published/$date $fileName"

```

In the next article i will take look on [Front Matter](https://jekyllrb.com/docs/front-matter/) and how to use this in the context of publishing on dev.to.
Just the basics of github
Tags: hacktoberfest
Published: 2020-10-21 16:01:26

## What I Learned From Hacktoberfest
Honestly speaking I was new to github but due to this hactoberfest2020 I learnt to fork and  pull request in GitHub. Just the basics
<!-- What did you learn that can help others contribute to the project you worked on? What did you learn that can help the users of that project?! -->