teleren/devto huggingface dataset:
YouTua - Download Videos in the best Quality available..
Tags: dohackathon, python, showdev, tkinter
Published: 2021-01-08 13:40:45

## What I built:
- YouTua is a GUI Program to download videos from various supported sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS.

<a href="https://github.com/dhhruv/YouTua">
    	<img src="https://img.shields.io/github/downloads/dhhruv/YouTua/total?color=important">
    </a>

### Screenshots:
![YouTua Working Screenshot](https://user-images.githubusercontent.com/72680045/103865422-32378200-50ea-11eb-9d30-113c98dceb47.png)

### Description:
- YouTua is a GUI Program to download videos from various supported sites. By using this software you can download videos from various supported websites for any purposes. It can be used by journalists and human rights organizations to save eyewitness videos, by educators to save videos for classroom use, by Uploaders to save backup copies of their own uploaded videos, and by users worldwide to watch videos on hardware that can’t run a standard web browser, or to watch videos in their full resolution over slow or unreliable Internet connections.
 
### Link to Source Code:
[YouTua Source Code](https://github.com/dhhruv/YouTua)

### Permissive License:
- MIT License

### How To Use !
1. Select the OUTPUT Folder by manually adding path or selecting the FOLDER using the SELECT FOLDER Button.
(By Default the OUTPUT FOLDER is set to the current directory.)
2. Enter the Link of Video you want to download.
3. For Downloading video with RESOLUTION<=720p proceed normally to download.
4. For Downloading video with MAXIMUM RESOLUTION (=>720p) available according the video link, check the MAX RES Settings and choose the output format (.mp4 or .mkv) as per preferences. 
5. To download the available subtitles check the subtitles button.
6. Click START DOWNLOAD and enjoy.<br>

## Background:
- I've seen over the past time that students need to download videos regarding there lectures because the Internet connectivity in many areas is still too slow to watch live lectures and so to make an app that is easy to use and they can download videos according to their preferred quality with minimal data loss. That thing inspired me to make something which can be useful and make some difference.

### How I built it:
- During the making of this software, I learned many new things in Python programming language including scrapping and many other aspects in the same domain. I'm still working on making it even better and easy to use. Next feature will be to download the given in quality as asked by the user.
Kaggle Guide for a noob Kaggler
Tags: machinelearning
Published: 2021-01-08 13:39:55

Hello, I'm Steve Kwon!

I am a UTS student who studied Python last April and joined the military service in the same year.

I didn't have much time to study because of the army, so I just started to study machine learning and Kaggle.

Kaggle is the biggest platform and community for data scientists all over the world.

In order to understand and get started, I've written a document called Hello Kaggle! while reading the Kaggle Guide book and the official Kaggle documents.

I'd appreciate it if you could look around and press star if it is helpful to you!

https://github.com/stevekwon211/Hello-Kaggle
Agora.io with React.js (Configuration/Demo)
Tags: react, javascript
Published: 2021-01-08 13:37:21

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nfrec0csz2w86e2nz34h.png)
On the previous video of React Native with Agora.io , i did a configuration of Agora.io in React Native and do a demo application for video calling , now this video is the sequel of that topic and in this video we will learn how to integrate Agora.io with React.js and create a demo app.

https://www.youtube.com/watch?v=-hj4btDAh1Q

hope you will enjoy and learn also Like Share and Subscribe to my youtube channel
Always use semantic HTML inputs
Tags: html
Published: 2021-01-08 13:29:40

I know sometimes is tedious to use a correct component for requesting a user input in HTML. But using the proper component will significatively enhance the user experience and it's easier to see it in action while in mobile devices.

Today I Learned that you can step x decimal in an input `type="number"`. Let's say you want to ask for a price:

```
<input type="number" required name="price" min="0" value="0" step="any">
```

If you omit the `step="any"` part, the input will validate only for integer values.

But if you use instead:


```
step=".01"
```

Then, every time you click on the arrows, the value will be updated to ±0.01. Pretty handy isn't it?
How to learn computer science using codecombat
Tags: python, javascript, learning
Published: 2021-01-08 13:22:32

---
title: How to learn computer science using codecombat
published: true
description: We look into the codecombat game that helps pupils learn coding and guide teachers in how to teach computer science in a fun and engaging way.
tags: python, javascript, learning
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/9l3d4gyllc2qr697jowc.jpg
---

{% youtube LTcTYkor770 %}

We look into the codecombat game that helps pupils learn coding and guide teachers in how to teach computer science in a fun and engaging way.
JavaScript Engine optimization during closure
Tags: javascript, webdev, uiweekly, developer
Published: 2021-01-08 13:20:50

TIL that Javascript engines optimize out unused variables available in outer lexical environment if they aren't used inside nested functions.

Earlier I used to think this is the default Spec behaviour but it's rather an optimization 💡.

In this video, we see how exactly Firefox confirms that for us !!
Apps Allow on Firewall
Tags: firewallrule, appfiltering
Published: 2021-01-08 13:19:44

***GoToMeeting Domains***
*To Be on Firewall*
```

logmeininc.com|getgo.com|gotomeeting.com|216.115.208.230|expertcity.com

```

Server Side SSL Certificate Chain Error Website List

```

slscr.update.microsoft.com

```
Links em HTML
Tags: html, braziliandevs, beginners, webdev
Published: 2021-01-08 13:07:41

Olá pessoal, hoje vamos aprender sobre _links_ em **HTML**. A Internet não existiria como conhecemos hoje sem a criação dos _links_, que serve para estabelecer uma forma de ligação entre as páginas _web_.

Imagine que você precisa chegar a um determinado local, a primeira coisa que viria a pensar seria "**onde?**" Então os _links_ servem para isso, para informar para onde devemos ir. Em uma página _web_, o local pode ser na própria página ou uma página externa.

A _tag_ `a` é utilizada para criar uma ligação entre páginas e também para podemos navegar na própria página.

<mark>Não confunda a _tag_ `a` com _tag_ `link`, a _tag_ `link` é utilizada para vincular (anexar) arquivos externos ao documento **HTML**, por exemplo, um arquivo de estilo **CSS**.</mark>

_Link_ na própria página.

```html
<a href="#lorem1">Lorem 1</a>

<a href="#lorem2">Lorem 2</a>

<div id="lorem1">
Donec sit amet ante volutpat, sodales tellus sit amet, posuere ipsum. Maecenas vel ultricies nibh. Proin metus tellus, ullamcorper non aliquet nec, gravida a odio. Curabitur ornare lacus vulputate, bibendum lectus sed, euismod felis. Maecenas eget sapien felis. Praesent ut mattis tortor. Fusce sodales augue vel imperdiet cursus. Etiam ut tempor leo, nec fermentum dui. Etiam ornare cursus dapibus. Suspendisse eget augue neque. Nam quis lacus porta, ultricies turpis et, efficitur dui.
</div>

<div id="lorem2">
Vestibulum id erat feugiat, efficitur tortor eu, gravida turpis. Vivamus tincidunt urna lacus, eu ullamcorper nisl volutpat id. Aliquam viverra at augue vitae fermentum. Nulla non nulla ligula. Praesent gravida tortor eu turpis cursus blandit. Nam dictum hendrerit rutrum. Donec fermentum gravida interdum. Phasellus et laoreet libero. Vestibulum ut nulla et dolor tincidunt vulputate a eu massa. Nulla facilisi. Praesent at imperdiet massa.
</div>
```

{% jsfiddle https://jsfiddle.net/franciscochaves/u1cn2jxh/7 result,html %}

_Link_ entre páginas do mesmo projeto, veja a estrutura de pasta abaixo.

```html
project/
  - index.html
  - about.html
```

Caso queiramos acessar a página _about_, sendo que estamos na página _index_, podemos utilizar o caminho relativo, o caractere ponto representa o local atual do arquivo. 

```html
<a href="./about.html">About</a>
```

Também temos como utilizar _links_ para páginas externas.

```html
<a href="https://www.google.com" target="_self">Google</a>

<a href="https://www.google.com" target="_blank">Google</a>
```

{% jsfiddle https://jsfiddle.net/franciscochaves/atdgqco8/3 result,html %}

Podemos observar o atributo `target`, utilizado para direcionar onde a página **HTML** vinculada será exibida:

- `_self`
  - É o padrão, abre a página na mesma janela.
- `_blank` 
  - Abre a página em uma nova janela.

Valeu pessoal 😎✌!
Setup Mautic with lando & composer
Published: 2021-01-08 13:03:07

**Update:** You can also easily checkout this repo and just `lando start` to spin it up: https://github.com/saschaeggi/mautic-lando-starterkit
 
## Requirements

* lando
* composer

## Install Mautic via composer

```
composer create-project mautic/core YOURPROJECTNAME ^3 --no-dev
```

Replace YOURPROJECTNAME with the name of the projects folder.

## Lando

### Config

Create `.lando.yml` with the following content:

```
name: mautic
recipe: lamp
config:
  webroot: .
  php: '7.3'
  database: mysql:5.7

tooling:
  mt:
    service: appserver
    description: Run Mautic commands
    cmd: bin/console

proxy:
  mailhog:
    - mail.mautic.lndo.site

services:
  appserver:
    type: php
    build_as_root:
      - docker-php-ext-install sockets
    xdebug: true
    config:
      php: .lando/php/php.ini
  database:
    type: mysql:5.7
    portforward: true
    creds:
      user: mautic
      password: mautic
      database: mautic
  mailhog:
    type: mailhog
    portforward: true
```

### Build containers
```
lando start
```

This will create the needed docker containers (can take a while).

Once the containers are up and running we can access 
`https://mautic.lndo.site/`

## Let's setup Mautic

Let's open `https://mautic.lndo.site/`
You should see now the following screen:

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

### Step 1

Set Database settings to use the following:

Database: mautic, 
Password: mautic,
Username: mautic
Host: database,
Port: 3306

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

### Step 2

Setup your admin user:

Username: admin
Password: SETYOURPASSWORD
Name: Your name
Last name: Your last name

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

### Step 3

We set to use the mailserver to be the mailhog docker container:

Server: mailhog,
Port: 1025

And we can access Mailhog via
`http://mail.mautic.lndo.site/`

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

### Login

You can now login to your freshly installed Mautic setup with the credentials from the previous step.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/sfj296ngmd2cetwi86mb.png)
The Only Way To Grow
Tags: developer, growth, founder
Published: 2021-01-08 10:06:13

---
title: The Only Way To Grow
published: true
description: 
tags: developer, growth, founder
---

I thought I'd let people know about the constant rejection that I've been getting since starting Archbee. It's tough, y'all.

YCombinator rejected me 3 times:

- W2019 didn't even hear back from them.
- S2020 they invited me to an interview, did the interview, and then rejected me after a couple of days.
- W2021 (was still in 2020) invited me to an interview again, but still rejected me. Even after being #1 on ProductHunt, having lots of great reviews, and showing revenue growth.
2 Tier-2 accelerators also rejected me.

In 2020 I talked to 18 angel investors. 12 rejected me.

Also in 2020, I talked to 8 VC firms. 5 didn't provide any feedback. The other 3 rejected me.

I looked in my calendar for sales calls, about 100 since mid-2019. 70 rejected me, the others bought the software. Some of those churned, so that also counts as a rejection.

I asked 3 of my developer friends to become co-founders. All rejected me.

I asked 2 people I met on Zoom to become co-founders. They rejected me.

I tried 3 cold outreach campaigns with hundreds of people in them. Some responded, but 0 customers, all rejected me.

I asked 2 friends to invest in Archbee. Rejected.

I asked some people with a good audience on Twitter to tweet about our ProductHunt launch. Nobody did.

I tried to sell an Archbee subscription to a CTO I used to work with. He said "what if you get hit by a bus?" knowing that I'm building this by myself. So cruel.

I asked for help many times. VERY few people did.

Seeing it laid out here feels even worse.

But I completely understand why it happened when I analyze my own rejections of other people.

I also rejected 1 accelerator, 3 angels. I fired 4 customers (yes, I did). Some co-founder requests. Rejected all 5 VC firms who didn't bother to tell me anything, by not following-up with them. I also rejected many people pitching me their services. And 300+ candidates on my job ads on LinkedIn. I fired my 1st employee.

It's how we work as a species. By default, we don't believe. We are "no men". We don't submit to requests. We only help if it's 0 or 0.1 effort. If it's 0.5 or more effort, then we have to gain something as well.

But... it's most likely the way it should be. To maximize the chances of survival.

Man up, face rejection. It's the only way to grow.

EDIT: Not looking for "hang in there" or hug emojis with this post. Just telling developers how fucking hard it is to bend the universe to your will.

EDIT: I wrote this for other developers that are trying to change the world in any meaningful way. You are going to go through the same thing or worse.
Daily Developer Jokes - Friday, Jan 8, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-01-08 13:00:11

---
title: "Daily Developer Jokes - Friday, Jan 8, 2021"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Friday%2C%20Jan%208%2C%202021"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12594523a5e.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ What did the process say after working in an infinite loop all day?

___A:___ I need a break.
 -->
Do you have a habit of over-engineer your projects?
Tags: watercooler, productivity
Published: 2021-01-08 12:58:55

---
title: Do you have a habit of over-engineer your projects?
published: true
description: 
tags: watercooler, productivity
cover_image: https://miro.medium.com/max/3000/1*YfxWi5QZkShNHS0XLuKlMQ.png
---
Sometimes, by trying to achieve more and be a perfectionist, you might actually end up shooting yourself in the foot.

Do you have a habit of over-engineer your projects?
What are you doing now that your future self will thank you for?
Tags: development, lifehacks, quickfix, selfcare
Published: 2021-01-08 13:21:14

---
title: What are you doing now that your future self will thank you for?
published: true
date: 2021-01-08 12:56:00 UTC
tags: development,lifehacks,quickfix,selfcare
canonical_url: https://craignicol.wordpress.com/2021/01/08/what-are-you-doing-now-that-your-future-self-will-thank-you-for/
cover_image: https://craignicol.files.wordpress.com/2020/02/wp-1582925757209.jpg?w=1200
---

_There’s a lot of productivity guides and self-help advice out there, but if you really want to make a lasting change, you need a mantra or a question that cuts through all of that and helps you focus. I know some people like Does This Being Me Joy? Is This True To My Inner Self, or What Would Joe Do?_

I think whatever it is, it has to be yours. Mine is “What are you doing nw that your future self will thank you for?”, and was forged out of “write your code as if the next person to read it is an axe wielding maniac who knows where you live” with the footnote “everyone can become an axe wielding maniac at 3am in the morning when nothing is working”.

Be kind to yourself. In the moment, of course. But to really find peace and satisfaction, you need to be kind to your future self.

- Write a test suite for your future self so they just need to add one more test for that error condition you didn’t think of, instead of having to write the entire harness.
- Be smart enough to write dumb code. 3am you is not as smart as now you, and has forgotten the context you currently have.
- Do the dishes. Especially the porridge bowls.
- Embrace Mise En Place. Prepare your space, lay things out beforehand. Even the night before. Tomorrow you will be happy not to search for things before morning coffee.
- Get some rest. Tired you doesn’t like Doomscrolling you.
- Switch off from work. Future you didn’t want to be an always-on stress bunny. Future you would much rather know tourist French or the 4 Seasons on guitar.
- Document your decisions. Especially design decisions. You can never have too much context.
- Always be ready for your next holiday. Write things up as you go. Don’t be irreplaceable.
- Share 80% of something ok and get feedback to turn it in to great, instead of trying to release 100% fantastic. Future you likes the conversations the feedback sparks, and that last 20% wasn’t the way you would have done it alone.
- One small step now is far more effective than a possible leap in the future.
- Valuable unfinished tasks pay compound interest. Figure out how to find the valuable ones.
- Check in with your past self once in a while and think about what you would do differently to make today easier. Then do that.
Infracost  -  cloud costs for devs
Tags: terraform, aws, devops
Published: 2021-01-08 12:54:41

[Infracost](https://github.com/aliscott/infracost) helps developers and DevOps engineers get cost estimates from their IaC (Infrastructure as Code). Here's an example of it running:

[![Infracost example](https://dev-to-uploads.s3.amazonaws.com/i/k2b2gyp74hhtvouibhxv.png)](https://asciinema.org/a/353843)

The complexity of cloud costs keeps increasing - When we were building PlanForCloud in 2012 AWS had just hit 10,000 different pricing points for their services - now there are over 300,000.

We found existing tools fit in too late in the process and are not aimed at the people in control of the infrastructure. It's difficult to get cost estimations when you are building and deploying your services, which often leads to bill shock and no easy way to track down these costs. So we wanted to build a CLI tool that can plug into your existing development and operations processes and bring cost visibility to the engineers.

Currently Infracost supports AWS and Terraform, but we will add support for more cloud vendors ([GCP](/docs/supported_resources#google-cloud-platform-gcp), [Azure](https://github.com/infracost/infracost/issues/64)) and other IaC tools ([Pulumi](https://github.com/infracost/infracost/issues/187)).

**Update 25 Nov 2020 : We have now added initial support for Google cloud.**

We also want to go beyond just the baseline costs of infrastructure - data transfer costs and other usage-based costs can often be a significant portion of a cloud bill, and are also the hardest to predict and track down. If you have any ideas about the best way to handle these then please [reach out to me on Twitter](https://twitter.com/aliscott).

Infracost is open source, you can check it out at [https://github.com/infracost/infracost](https://github.com/infracost/infracost).
Configuration of webserver using Dynamic Variable
Tags: ansible, linux, aws
Published: 2021-01-08 12:53:22

Hello everyone, 

In this blog, we will be Creating an Ansible Playbook which will dynamically load the variable file named same as OS_name, and just by using the variable names, we can Configure our target node. 

Let's get started:

> First create inventory in the Controller node

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

Here I have created an inventory and added the IP of my target nodes.

> Now check the connectivity between managed node and controller node by pinging

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

> Now create an ansible configuration file

To create an ansible conf file, create a file with an extension **cfg**.

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

> Now I have created Variable files for RedHat Os and Ubuntu Os

- For Ubuntu OS create a variable file named Ubuntu-20.yml

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

- For Redhat Os create a variable file named **RedHat-8.yml**

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

> Now I have created an HTML page

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

I have used a variable in the code that will dynamically fetch the OS name and print it.

And I will upload this page to the root document of OS

> Now create Playbook to configure Webserver in both OS

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

This playbook will dynamically find the OS and configure the Webserver in it.

> Now run the Playbook

To run the playbook use the command ansible-playbook <Playbook_name>

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

Here you can see the playbook run successfully!!!

> Now let's check in our Os is the webserver configured or not?

- In RedHat OS

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

Here you can see the webserver is configured successfully!!

- In Ubuntu OS

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

Here also Web server is configured successfully!!

> Now lets check webserver is working or not

- copy Redhat OS IP and paste that IP in browser with HTML web page that we have uploaded

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

Here you can see it is working.

- Now let's check for Ubuntu.

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

So that how we can configure web servers in different OS using Dynamic Variable.

Thank you!!!