teleren/devto huggingface dataset:
Networking
Tags: networking, ip
Published: 2020-08-30 15:28:48

1) Transmission of a data across network takes place in the form of data packets. Headers play an important role in the transfer of data. Any data packet can have multiple headers. Three headers transmission is mostly a common thing.
**IP Header:**  It contains the IP addresses of the sender and the receiver, or the source and the destination, alongwith what protocol the data packet is of.
**TCP Header:** This has information about the port number of the packet.
**Ethernet Header:** It contains the MAC address of the source and destination machines.
**TLS Header:** This is present in case the transmission is encrypted through TLS(Transport Layer Security).

2) **Class of IP addresses:**
*Class A:* Range: 0-127: Used for large networks. All of them have been used.
*Class B:* Range: 128-191: Used by MNCs/corporates and some government networks. All of them have been used.
*Class C:* Range: 192-223: Commonly used by organizations.
*Class D:* Range: 224-239: Used for multicasting.
Class E:* Range: 240-255: Reserved for experimental usage.

3) The IP address 127.0.0.1 designates the machine someone is working on. This address is referred to as the **"loopback address"**. This is used to test the machine and the NIC card.

4) **Private IP addresses:** Some IP addresses are to be used within the organization only, for internal workstations and servers only. These IPs ranges are:
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

5) **IPv6:**
Compared to IPv4, IPv6 increases the IP address from 32 bits to 128 bits to support larger address demands. The encoding of IPv6 addresses uses a hierarchy similar to CIDR (Classless Inter Domain Routing), which simplifies the routing. Though the IP header size of IPv6 address is 4 times larger than IPv4 address, the IPv6 headers are only 2 times the size of IPv4. This greatly reduces the overhead of packet processing and header bandwidth.

![IPv4](https://dev-to-uploads.s3.amazonaws.com/i/tr7g1wxfwmfj73bpgce6.jpg)

![IPv6](https://dev-to-uploads.s3.amazonaws.com/i/thsm1bqvo9jedocvnoem.jpg)
How are you paying it forward as a developer?
Tags: discuss, leadership
Published: 2020-08-30 15:25:21

It's not like all developers come from upper-class backgrounds - and are just born affluent - but as designers and developers we're in a position of power. We create the things! We get to learn on the job - while getting paid pretty dang well. 

Have you found any great ways to help pay it forward? Do you mentor other developers - or help people on question and answer sites / or on StackOverflow - or run a local meetup?

{% youtube gq0QwnF0iFY %}
How to Create Your Own API Automation Framework Using Rest Assured
Tags: testing, tutorial, beginners, java
Published: 2020-08-30 15:17:42

In this video of Rest Assured For beginners, We are going to continue our journey to build the API Automation framework using RestAssured.

We are going to cover Patch Request, Delete Request. After this video, We have CRUD using Rest Assured covered

{% youtube 92510g88N1c %}

You can download the MindMap and source code below to Get started.
👉 Source Code - https://go.scrolltest.com/raw-p5
👉 https://github.com/topics/restassured
A Github Actions to upload automatically your YouTube video to Anchor.fm
Tags: actionshackathon, github, opensource, showdev
Published: 2020-08-30 15:11:35

---
title: A Github Actions to upload automatically your YouTube video to Anchor.fm
published: true
description: An automation Github Action that can upload your YouTube video over Anchor.fm podcast
tags: actionshackathon, github, opensource, showdev
---

[Instructions]: # (To submit to the GitHub Actions x DEV Hackathon, please fill out all sections.)

[![Youtube to Anchor.fm using Github Actions](https://dev-to-uploads.s3.amazonaws.com/i/5e6dp6xgratdvyzpqaqi.png)](https://github.com/marketplace/actions/upload-episode-from-youtube-to-anchor-fm)

### My Workflow

The Github action name is: [Upload Episode from YouTube To Anchor.Fm](https://github.com/marketplace/actions/upload-episode-from-youtube-to-anchor-fm) 
and it is available in the Github Actions Marketplace!

We already use this action in our project called Schrodinger Hat, that is an italian live show on YouTube and a podcast on every platform (including Anchor.fm).

This action will download a YouTube video, convert it in an audio file, then upload the audio file automatically to your Anchor.fm account, by setting up your Github repository secrets.

The action is built by a Dockerfile over Ubuntu 18.04.
The action is using youtube-dl, for donwloading the YouTube video, and puppeteer for the second stage (uploading to Anchor.fm).

It is very useful in a scenario where you have a YouTube account and also a podcast over Spotify, Anchor.fm, Play Music, iTunes etc.

Also, Anchor.fm, is not providing any APIs to let any developer integrate their platform. I'm guessing that this action will save time.

### Submission Category: 

DIY Deployments

[Note]: # (Maintainer Must-Haves, DIY Deployments, Interesting IoT, Phone Friendly, or Wacky Wildcards)


### Yaml File or Link to Code

{% github Schrodinger-Hat/youtube-to-anchorfm %}



### Additional Resources / Info

In our live show (Schrodinger Hat) we had this necessity. So we built it for the open source community and we use this action on this [repo](https://github.com/Schrodinger-Hat/youtube-to-anchorfm).

Every contribution it is appreciated, also a simple feedback.
Welcome and SQL vs NoSQL
Tags: datascience, sql, beginners
Published: 2020-08-30 15:11:18

Hello!

My name is Owen Lloyd and I’m a sophomore triple majoring in Mathematics, Data Science (with a focus in Statistical Modeling), and Economics. My interests in technology initially stemmed from playing video games and then progressed through my in-class and extracurricular experiences throughout middle school and high school. 

While I do not see a future for myself as an IT Professional specifically, I definitely know and want my career to be ingrained in or related to tech in some way. Coming into college I was only a Mathematics major, but after exploring the other programs and opportunities around Penn State, I found that Data Science was a great way to build off of my coursework and interest in Math and apply it to an area that is currently in much demand.

There are many areas where Data Science and Data Analytics, in general, can be applied that are a lot of interest to me. Specifically, I think that the application of data analytics and algorithms based on large historical sets of data to finance and the markets is a super interesting area and a career that could be super fulfilling. 

Over time I will be posting videos sharing my progression from a student to a professional in the technological field. In this first video, I will be discussing what SQL and NoSQL are, their difference, and their ideal situations for use. 

{% youtube 5948I_cuaDQ %}

Here is a quick summary of the information covered in the video:
1. Both SQL and NoSQL serve the same primary purpose of storing data for your project but differ in the way they go about that
2. SQL databases are relational while NoSQL databases are non-relational.
3. SQL databases are designed for vertical scaling, meaning they increase the load on a single server by increasing RAM, CPU, or SSD as the size of the database grows, while NoSQL databases are horizontally scalable, meaning they increase the number of servers in the NoSQL database.
4. SQL has a standard schema definition (a blueprint of how the data is organized) while NoSQL has no standard schema definition which makes it best suited for big data as flexibility is very important.

And here are the links to the articles shown in the video:
1. https://www.mongodb.com/nosql-explained/nosql-vs-sql
2. https://www.geeksforgeeks.org/sql-vs-nosql-which-one-is-better-to-use/
3. https://www.xplenty.com/blog/the-sql-vs-nosql-difference/#:~:text=SQL%20databases%20are%20relational%2C%20NoSQL,dynamic%20schemas%20for%20unstructured%20data.&text=SQL%20databases%20are%20table%20based,graph%20or%20wide%2Dcolumn%20stores.

Thank you for taking the time to read my blog and watch my introductory video on SQL vs. NoSQL. I will be making more of these blog/video combos throughout the fall semester and possibly beyond then.

Thanks again for reading!
Owen
TIL - CSS-Flexbox
Tags: css, beginners, flexbox
Published: 2020-08-30 14:34:38

Layout method for arranging elements in rows or columns, automatically adapting to available space and facilitating rearrangements.
A parent container (with the CSS display:flex property) contains child elements (items) to be arranged.

- [Guide to Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/)
- [interactive Flexbox](https://yoksel.github.io/flex-cheatsheet/#section-order) 
- [combine rules](https://flexbox.help/)
- [flex-size of items](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
- [good explanation of each flexbox-rule](https://tympanus.net/codrops/css_reference/flexbox/)

###center pictures with flexbox
```css
.imgContainer{
  display: flex;
  justify-content: center; 
  align-items: center;
  overflow: hidden;
  height: 700px
}
img{
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%
}
``` 

###push Footer to the bottom
```css
.wrapper{ 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    min-height: 100vh; 
}
``` 

[Great Game to memorize flexbox rules](https://flexboxfroggy.com/)
Level up your CLI with these 5 tools
Tags: productivity, cli, commandline
Published: 2020-08-30 14:32:44

- [starship](http://www.starship.rs/) is a cross platform terminal prompt. It works with ZSH, FISH, BASH and even Powershell. It has lots of customization options. It shows git status, package info, current folder and lots of stuff. 

{% asciinema 356568 %}

- [z](https://github.com/rupa/z) lets you jump to any folder by just its name no matter how deeply nested the folder structures is. Recently I'm working on a project with [amplify](https://aws.amazon.com/amplify/) which generates deeply nested lambda functions, thanks to z moving between functions is effortless. Z takes some learning so you have to cd around for a bit, after that, you can use z to auto jump.

{% asciinema 356570 %}

- [FZF](https://github.com/junegunn/fzf) & [Ripgrep](https://github.com/BurntSushi/ripgrep) are useful utilities if you use vim as your text editor. FZF is a fuzzy finder like `ctrl+p` in vscode and sublime text. Ripgrep is a grep replacement that respects .gitignore and with some other sane defaults. 

- [wipe-module](https://github.com/bntzio/wipe-modules) deletes node_modules of non-active projects. If you work in javascript/typescript, you need to free some space definitely try this package. 

- [ngrok](https://ngrok.com/) I have used this tunneling service to get https addresses for local testing. very handy while making OAuth lambdas. It also makes sharing your local development server very easy.

_Cover Photo by [bady abbas](https://unsplash.com/@bady?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/productivity?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)_
кафельщик ташкент
Published: 2020-08-30 14:27:25

Как утверждают эксперты, укладка кафеля должна проводиться по предварительно выровненному основанию.
Удалять старое покрытие можно несколькими способами, применение которых зависит от вида отделочного материала.
Примерно через два или три часа после этого можно приступать к демонтажным работам.
Если поверхность стены была предварительно обработана краской, то подобный слой нужно удалить до штукатурки.
Демонтаж лакокрасочных изделий проводится при помощи шлифовального диска, который устанавливается на болгарку.
Побелка со стены снимается при помощи специального скребка или металлического шпателя.
Старые обои снимают со стены полностью, после чего происходит очистка основания от остатков клея.
После проведения демонтажа старого покрытия основание зачищают наждачной бумагой и полируют.
Для начала рассмотрим технологию выравнивания основания с использованием штукатурки.
Для начала необходимо очистить и обезжирить базовый слой и только после этого приступают к основным работам.
При наличии значительных перепадов в верхней и нижней части стены натягивают леску или шнур, по которым.
Далее готовят цементно-песчаный раствор и наносят его в промежутки между маяками.
Смесь можно набрасывать при помощи шпателя или специального штукатурного ковшика.
Когда все изделия установлены места стыкования заделываются шпатлёвкой, после чего покрытие обрабатывают.
Для начала основание необходимо обработать специальной грунтовкой в несколько слоёв.
Использовать деревянное покрытие для укладки кафельной плитки эксперты не рекомендуют.
Это связано с тем, что подобный материал под слоями клея и кафеля теряет возможность дышать.
В дальнейшем на древесине появится грибок, что значительно сократит срок её службы.
Для начала необходимо правильно выбрать керамическую плитку в строительном магазине.
После подготовки всех необходимых строительных материалов и инструмента замешивают клеевую смесь и приступают.
При выборе клея на пол или для установки керамической плитки на стены ванной комнаты необходимо обращать.
От таких параметров будет зависеть количество раствора, которое может впитать плитка.
Рассматриваемый строительный материал может поставляться на рынок в качестве готового к применению раствора.
Для устройства покрытия в ванной комнате рекомендовано приобретать сухие строительные смеси на основании.
Клеевая смесь быстро застывает, поэтому готовить такой раствор необходимо из расчёта на квадратный метр.
После этого смесь укладывают на шпатель и переворачивают, необходимо чтоб она на инструменте.
Если клей начинает сползать, то в базовый состав добавляют ещё немного сухого порошка и перемешивают.
Подрезать кафель до необходимого размера или придавать изделиям нужную форму можно разными способами.
Также следите за выступанием углов кафеля, для избегания появления неровностей материал усаживают чуть.
Big Word : Multi Tenancy
Tags: architecture, design, be
Published: 2020-08-30 14:21:39

What is Multi Tenancy ?
It sounds like a big big word but its explanation is quite simple.
SO what it is !!!
According to wikipedia,
"The term "software multitenancy" refers to a software architecture in which a single instance of software runs on a server and serves multiple tenants. Systems designed in such manner are often called shared (in contrast to **dedicated** or **isolated**)."
Simply said it is a software architecture pattern where a single application is shared by multiple customers and they own separate databases.

It is quite common for many businesses to use Single Tenant approach. So what is that?
In simple words, Single Tenancy is where a single application has a single customer.

Now comes the point what does multi tenancy provides us that single tenancy does not and vice versa :
1. Multi tenancy reduces the cost
2. Adding new customers becomes easy
3. Maintaining the same application becomes easier
4. Also it maximizes resource usage

On the other hand,
1. Single tenancy provides an option for customization where in single tenants can customize their app according to their needs.
2. Single tenants can decide what option or update to they want for their product.

Obviously there is no preference guideline to choose between the two as it truly depends on the requirement.
The goal of this small article was to make familiar with both the options we have.
Hope it helps !
TIL - Media Queries & responsive Units in CSS
Tags: css, beginners, responsive
Published: 2020-08-30 14:08:00


##CSS: Units for responsive Webdesign

Unit | Description
--- | --- | 
em | Font size of the parent, in the case of typographical properties like font-size, and font size of the element itself, in the case of other properties like width.
ex |x-height of the element's font.
ch |The advance measure (width) of the glyph "0" of the element's font.
rem | Font size of the root element.
lh | Line height of the element.
vw | 1% of the viewport's width.
vh | 1% of the viewport's height.
vmin | 1% of the viewport's smaller dimension.
vmax | 1% of the viewport's larger dimension.

calc() to mix them 

[when to use which?](https://daveredfern.com/use-units-css/)
A rule of thumb is if the margins or paddings are related to that element, they should be ems. If they’re global sizes they should be rems.

#Media Queries

```css
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  
  //CSS
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
  //CSS
  
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  //CSS
  
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  //CSS
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  
  //CSS
  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
  //CSS
  
}
```
FUNDAMENTAL SKILLS, GREEN FIELD AND INSPIRATION – INTERVIEW WITH VLADIMIR KHORIKOV
Tags: dotnet, csharp, architecture
Published: 2020-08-30 14:02:06

I had chance to ask Vladimir Khorikov a few questions. 
Vlad is the Author of Unit Testing Principles, Practices, and Patterns book. He’s running https://enterprisecraftsmanship.com/ blog since 2014 The blog is focused on Domain-Driven Design, functional programming, enterprise software development patterns, and best practices. 

Inside you'll find:
- fundamental rules that every good software engineer should follow,
- most important programming rule according to Vladimir Khorikov,
- how to approach the greenfield project,
- idea on how to create your content

https://lukaszcoding.com/vk

What question would you ask Vlad, if you had a chance?
Where do you host your static sites?
Tags: webdev, discuss, hosting
Published: 2020-08-30 14:01:11

---
title: Where do you host your static sites?
published: true
description: 
tags: webdev, discuss, hosting
cover_image: https://miro.medium.com/max/650/1*zhzwvD9Bqihk27Ri4DhCgA.png
---
So far I've used just [Github pages](https://pages.github.com/) and [Netlify](https://www.netlify.com/), tho I've heard of other alternatives like [Firebase](https://firebase.google.com/), [Vercel](https://vercel.com/), [Google Cloud Storage](https://cloud.google.com/storage), [Surge](https://surge.sh/) and  [Render](https://render.com/).

Where do you host your static sites and why?
TIL - CSS Box Model
Tags: boxmodel, css, beginners, display
Published: 2020-08-30 14:00:37

##[Box-Model](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model#Types_of_CSS_boxes) Properties
|                            | `display: block`                                                 | `display: inline`                                                                                                  | `display: inline-block`                              |   
|----------------------------|------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| default at                 |`<h1>` and `<p>`        | `<span>` and `<em>`                                                                                                           |                                                                                                       |   
| width                      | width as the container                                           | width as the inline Element                                                                                        |                                                      | 
| width & height properties  | are respected.                       | width and height properties will not apply                                                                         |                                                      | 
| Padding, margin and border | will cause other elements to be pushed away from the box         |  will apply. Vertical will not cause other inline boxes to move away from the box/ Horizontal will cause other inline boxes to move away from the box  | causes the padding to be respected by other elements |  |                            |                                                                  | Horizontal will apply and will cause other inline boxes to move away from the box   |                                                      |  
| **center**ing stuff        | block box with `{margin: 20px auto; /* Vertical  Horizontal */}` | inline box with `{text-align: center}`                                                                             |                                                      | 

##Tips
 -> more on [centering](https://css-tricks.com/centering-css-complete-guide/) 

get rid of the *default white space in some browsers* from margin/padding added by your browser. 
`* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}`

####Dev Tools
[Chrome] (https://developers.google.com/web/tools/chrome-devtools/dom/, https://developers.google.com/web/tools/chrome-devtools/css/)
[Mozilla1] (https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML), [Mozilla2](https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS)

[first](https://pastebin.com/2xrYKPtE)[ step](https://pastebin.com/Lf3c5xvU)
Whiskey Wednesday - Episode #7 - Mental Wellbeing As A Developer
Tags: podcast
Published: 2020-08-30 13:58:02

---
title: Whiskey Wednesday - Episode #7 - Mental Wellbeing As A Developer
published: true
description: 
tags: podcast
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/298wnozwth32rhhrfxh1.jpg
---

## Whiskey Wednesday - 2020 August 26th

#### Episode #7 - Mental Wellbeing As A Developer

Becoming and being a developer is not an easy task. Many challenges
await us in the daily battle. It's important to keep good mental
wellbeing. We will talk about common problems among developers.

📺 [Watch it on Youtube](https://www.youtube.com/watch?v=0P8GTyBEUVE)

{% spotify spotify:episode:1xdozdWXWINddIIbxqZAzL %}