teleren/devto huggingface dataset:
Biblioteca de links de Python
Published: 2021-02-10 14:08:42

O post de hoje é para você salvar nos favoritos do seu navegador
e recorrer a ele sempre que você quiser ver algo sobre a
linguagem de programação Python.

FIGURAS ILUSTRES
****************************************************************
Soraya Roberta
    Instagram
    https://www.instagram.com/projetopoesiacompilada/
    https://www.instagram.com/soraya_rbrt/

Ana Paula Mendes
    Twitter
    https://twitter.com/ananoterminal

Thais Viana
    Twitter
    https://twitter.com/thaisviana

Judite Cypreste
    Twitter
    https://twitter.com/juditecypreste

Eduardo Mendes - Live de Python
    YouTube
    https://www.youtube.com/user/mendesesduardo

    Twitter
    https://twitter.com/dunossauro

    O post comemorativo que fiz foi inspirado neste tweet
    https://twitter.com/dunossauro/status/1357846410604007430

    Vídeo em que participei de uma das lives
    https://www.youtube.com/watch?v=zTEJm-Yjjjg

Henrique Bastos
    YouTube
    https://www.youtube.com/user/henriquebastosnet

    Instagram
    https://www.instagram.com/henriquebastosnet/

    Blog
    https://henriquebastos.net/

Fernando Masanori
    Twitter
    https://twitter.com/fmasanori

Luciano Ramalho
    Twitter
    https://twitter.com/ramalhoorg

    SpeakerDeck
    https://speakerdeck.com/ramalho

Bruno Rocha
    Twitter
    https://twitter.com/rochacbruno
    
    YouTube
    https://www.youtube.com/channel/UCMre98RDRijOX_fvG1gnsYg


SITES
****************************************************************
PyCoders
    https://pycoders.com/

RealPython
    https://realpython.com/

Blog da Vinta Software
    https://www.vinta.com.br/blog/

LIVROS E CURSOS
****************************************************************
Pense Python
    https://penseallen.github.io/PensePython2e/

Python Fluente
    https://novatec.com.br/livros/pythonfluente/

Fernando Masanori - Python para Zumbis
    https://www.youtube.com/playlist?list=PLUukMN0DTKCtbzhbYe2jdF4cr8MOWClXc

Eduardo Mendes - Curso Introdutório de Python
    https://www.youtube.com/watch?v=yTQDbqmv8Ho

EVENTOS
****************************************************************
PyCon Estados Unidos
    https://pycon.org/

EuroPython
    Edição de 2020
    https://ep2020.europython.eu/

PyCons pelo mundo
    https://pycon.org/#regional-events

Python Brasil (Conferência)
    Edição de 2020
    https://2020.pythonbrasil.org.br

    Canal do YouTube com as palestras de várias edições
    https://www.youtube.com/channel/UCiCQrFh8ckR_LXQyOAsOZiw

Python Nordeste
    Edição de 2019
    https://2019.pythonnordeste.org
CSS Battle #27 - Lock Up css, html, webdev, tutorial
Published: 2021-02-10 14:04:16



So this brain bending challenge requires you to be comfortable with absolute positioning and border-radius. 
# Goal
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pz7laywwphkswvevlmbj.png)

# Observation of Goal
1. For sure Margin of the body need to be zero
2. If we observe it carefully we can see that
   1. A big circle at the bottom 
   2. 2 quarters at the bottom left and top right side 
   3. a small circle at top of the quarters
3. All shapes have origin from center
4. Red Big circle is the base then we make 2 quarters of yellow color and on top of it is again a circle of red color.
Note: It is prudent to guess the size of shapes say width and height rather than manually plugging in value. (Your neurons transmit information way faster than your hands in the editor)
 
#Solution
Combining the above observations we can figure out the code looks similar to the below code 
```
<div class="container">
	<div> </div>
	<div> </div>
	<div> </div>
	<div> </div>
</div>
<style>
body {
	background: #E38F66;
}

.container>div {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
}


/* Big circle */

.container >div:nth-child(1) {
	border-color: #AA445F;
	border-radius: 50%;
	border-width: 100px;
	border-style: solid;
	z-index: -1;
}


/* Quarter Circle */

.container > div:nth-child(2) {
	background: #F7EC7D;
	height: 70px;
	width: 70px;
	transform: translate(0px, -70px);
	border-radius: 0 300px 0 0
}


/* Quarter Circle */

.container > div:nth-child(3) {
	background: #F7EC7D;
	height: 70px;
	width: 70px;
	transform: translate(-70px, 0px);
	border-radius: 0px 0 0 300px
}


/* Small  Inside Circle */

.container > div:nth-child(4) {
	border-color: #AA445F;
	border-radius: 50%;
	border-width: 40px;
	border-style: solid;
}
</style>
```
Do let us know how much time you took to achieve the target by yourself in the comments so we can monitor our progress.
Day 36:100DaysOfCode
Tags: 100daysofcode, productivity, programming
Published: 2021-02-10 13:30:38


leetcode ques on bst 
practised some past ques from cf and spoj...
.
.

studied cpu scheduling....etc(other os algo...s)
EOD

(sem exams are going on :(  )
You can Follow me->
https://github.com/singhtaran1005
https://www.linkedin.com/in/taranpreet-singh-chabbra-27517918a/
Giving this a go because ...
Tags: welcome
Published: 2021-02-10 13:27:50

... tech twitter isn't what it used to be. I remember the old days of robust debate and genuine insight. These days it's mainly people trying to get into the industry and only slightly more qualified people taking advantage of that by writing endless lists with the word Javascript in them. ( What is twitter's obsession with JS!? ... and tailwind ) anyway, give me a follow. I'll be posting about insights in general, while I am opinionated, in a technical sense, remain openminded. I've been making websites for a very long time, there is no right answer, only preference, experience and context.
How to Export Outlook PST File 2016 to PDF in Batch
Tags: outlook, pst, pdf, file
Published: 2021-02-10 13:23:55

Users are searching for solution to solve how to export Outlook PST file 2016 to PDF query and at this time they want direct Outlook emails to PDF migration solution but sometimes they fail and does not successful so this blog helps them at this time.
Users can go with <a href="https://www.pcvare.com/pst-to-pdf-converter.html">PCVARE PST to PDF Converter</a> that is reliable solution and created with advanced techniques. It supports ‘Add Files & Add folders’ options to export Outlook PST files to PDF and ‘load Outlook Profile..’ option to directly convert configured Outlook files into PDF. You can handle it as per your requirement to export Outlook PST file 2016, 2013, 2010, 2019, 2010 & 2007 into PDF. It is simple to use for everyone so easily export Outlook PST files to PDF with attachments, images, formatting, hyperlinks, etc.

The outlook is good mail app and supports PST file extension to store all data while PDF is the document file format of Adobe Reader. PDF is used in all over the world to display documents for personal, professional & governmental purposes. so there may need of users to save PST files of Outlook into PDF. At this time the <a href="https://www.pcvare.com/outlook-file-converter/">Outlook Migration</a> tool helps them and simply overcome from the PST to PDF migration problem. It enables to convert all PST files data into PDF at once and save users’ time from single processing.

If you are in confusion to save Outlook emails to PDF then you can go with its free demo edition that allow free exporting 25 Outlook emails to PDF without any issue so users are capable to try it perfectly.
PartnerBO | Informatica Enterprise Data Management Solutions & Consultants 

Published: 2021-02-10 13:18:21

PartnerBO is helping companies go beyond just data. Our B2B, Cloud, Big Data, Industrial, Enterprise Data Management and Governance consulting services will help you to map out your data future, manage and govern data holistically & add life into the data. Agile Enterprise Data Management using the best in class solutions for your enterprise.
https://www.partnerbo.co/
Like Animation with Lottie and React Native
Tags: reactnative, animation
Published: 2021-02-10 13:15:25

---
title: Like Animation with Lottie and React Native
published: true
description: In this video we'll learn how to replace a state change for a liked/unliked stated with a lottie animation.
tags: reactnative, animation
//cover_image: https://direct_url_to_image.jpg
canonical_url: https://www.reactnativeschool.com/like-animation-with-lottie
---

{% youtube FySemYmSPHg %}

In this video we'll learn how to replace a state change for a liked/unliked stated with a lottie animation.

Lottie: [https://github.com/lottie-react-native/lottie-react-native](https://github.com/lottie-react-native/lottie-react-native)

Lottie File: [https://lottiefiles.com/44921-like-animation](https://lottiefiles.com/44921-like-animation)

Code: [https://github.com/ReactNativeSchool/lottie-like-animation](https://github.com/ReactNativeSchool/lottie-like-animation)
Key Docker Commands
Tags: docker
Published: 2021-02-09 05:59:42

Compilation of most used Docker commands.
*   `docker build .` : Build a Dockerfile and create your own Image based on the file
    *   `-t NAME:TAG` : Assign a `NAME` and a `TAG` to an image
        *   `docker build -t myapp:1.0 .`
*   `docker run IMAGE_NAME` : Create and start a new container based on image `IMAGE_NAME`
    *   `--name NAME` : Assign a `NAME` to the container. The name can be used for stopping and removing etc.
    *   `-d` : Run the container in detached mode – i.e. output printed by the container is not visible, the command prompt/terminal does NOT wait for the container to stop
    *   `-it` : Run the container in “interactive” mode – the container/application is then prepared to receive input via the command prompt/terminal. You can stop the container with `CTRL + C` when using the `-it` flag.
    *   `--rm` : Automatically remove the container when it’s stopped
*   `docker ps` : List all running containers.
    *   `-a` : List all containers including stopped ones.
*   `docker images` : List all stored images
*   `docker rm CONTAINER` : Remove a container with the name `CONTAINER`
*   `docker rmi IMAGE` : Remove an `IMAGE`
*   `docker container prune` : Remove all stopped containers
*   `docker image prune` : Remove all untagged images
    *   `-a` : Remove all locally stored images
*   `docker push IMAGE` : Push an image to DockerHub (or another registry) – the image name/tag must include the repository name/ URL
    *   `docker push johnkevinlosito/myapp`
*   `docker pull IMAGE` : Pull (download) an image from DockerHub (or another registry) – this is done automatically if you just docker run `IMAGE` and the image wasn’t pulled before
*   `docker run -v /path/in/container IMAGE` : Create an anonymous volume inside the container
*   `docker run -v some-name:/path/in/container IMAGE` : Create a named volume (`some-name`) inside a Container
*   `docker run -v /path/on/your/host/machine:path/in/container IMAGE` : Create a BindMount and connect a local path on your host machine to some path in the Container
*   `docker volume ls` : List all currently active/stored volumes (by all Containers)
*   `docker volume rm VOL_NAME` : Remove a volume by its name
*   `docker volume prune` : Remove all unused volumes (i.e. not connected to a currently running or stopped container)
*   `docker network create NETWORK_NAME` : Create a container network
*   `docker run -network NETWORK_NAME --name my-container my-image` : Run a container on the network (network must be created first)
*   `docker-compose up`: Start all containers/services mentioned in the Docker Compose file
    *   `-d`: Start in detached mode
    *   `--build` : Force Docker Compose to rebuild all images
*   `docker-compose down` : Stop and remove all containers/services
    *   `-v` : Remove all Volumes used for the Containers – otherwise, they stay around, even if the Containers are removed
Daily Developer Jokes - Wednesday, Feb 10, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-02-10 13:00:19

---
title: "Daily Developer Jokes - Wednesday, Feb 10, 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=Wednesday%2C%20Feb%2010%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/5e1259169f6cb.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:___ A SQL developer walked into a NoSQL bar.

___A:___ They left because they couldn't find a table.
 -->
motivated
Published: 2021-02-10 12:47:52

today is a new day that we need to start to be motivated in learning new things because in the world of technologies they are so fast-growing and evolving every time  so if don't want that we are left behind with the other devs we need also to invest a time in learning so that we can able to become rival what I say that rival is that when we are applying in a job we able to impress the interviewer and show what we can do so that's all today 
Happy coding to all and stay healthy
Save function parameter to a global array incoming from socket.on in node.js .why it only save the last element of the data
Tags: node, javascript
Published: 2021-02-10 12:26:36


        var corona = [[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]];
    
        var lastclient;
     
       
        socket.on("playedemitbuy", function (veri) {
           
         lastclient= veri.lastclient;
        
          console.log("writedata :"+lastclient);

         
          corona[lastclient][veri.playedbuy] = 5;
  
        console.table(corona); //why does it not print all incoming data ?
 
        
            });
WSL: Instalando Linux no Windows
Tags: powershell, tutorial, beginners, linux
Published: 2021-02-10 12:15:09

Seguindo a linha de quem melhor pode explicar sobre algo é seu criador, vamos definir WSL como: 

"O Subsistema do Windows para Linux permite que os desenvolvedores executem um ambiente GNU/Linux, incluindo a maioria das ferramentas de linha de comando, utilitários e aplicativos, diretamente no Windows, sem modificações e sem a sobrecarga de uma máquina virtual tradicional ou instalação dualboot."

Essa explicação e mais detalhes estão disponíveis na [documentação oficial](https://docs.microsoft.com/pt-br/windows/wsl/about), que como sempre recomendo a leitura. 

Nesse artigo, não vamos entrar muito no mérito de como utilizar ou o que exatamente é ele, e sim em como podemos fazer a instalação de forma automatizada pelo Powershell. 

Eu escrevi esse script para uma aula de Sistemas Operacionais da Fatec, como um tutorial de instalação do Ubuntu já que não queria utilizar uma maquina virtual e me parecia interessante mostrar que dentro do Windows 10 podemos fazer coisas bem legais. 

Inicialmente, vamos verificar se já temos o WSL disponível no sistema. Caso ela não esteja, fazemos a instalação e orientamos que o usuário reinicie o computador para que ela fiquei totalmente habilitada. 

Depois disso, vamos fazer o download do sistema operacional, que em nosso exemplo vai ser o Ubuntu 1604. Salvamos o artefato como um APPX conforme está disponível no site da Microsoft. 

Concluído o download, fazemos a instalação e apagamos o arquivo. 

{% gist https://gist.github.com/IGDEXE/9f039b7bd242b77a847c27749e18751c %}

Assim deixamos disponível um terminal Linux para utilização dentro do Windows 10. 

Recomendo isso caso precise treinar comandos ou brincar um pouco com o sistema. No caso da aula, serviu ao proposito de treinar alguns comandos.
You can now group tabs in Google Chromes (like a workspace)
Tags: chrome, webdev, productivity, news
Published: 2021-02-10 12:14:06

## Group

![Alt Text](https://storage.googleapis.com/gweb-uniblog-publish-prod/original_images/TabGroups-Expand_Collapse.gif)

You can group tabs to keep related pages together in one workspace. To create a tab group, just right-click any tab and select Add tab to new group.

## Link

[https://blog.google/products/chrome/manage-tabs-with-google-chrome/](https://blog.google/products/chrome/manage-tabs-with-google-chrome/)
Free Product Update Template
Tags: tailwindcss, html, css
Published: 2021-02-10 12:05:42


This free product update template is built in Tailwind CSS and is perfect for communicating product updates to your clients or keeping a product changelog.

Optimized for mobile, tablet and desktop use. Icons included in these designs are from the awesome heroicons library.

Build with Tailwind CSS version 2.x

Download for free here

https://www.themes.dev/library/windlog-tailwindcss/
Django discussion
Published: 2021-02-10 12:05:09

I'm currently working on my side project which is an app has features that allows admin add new table and users can go to that table to add, update, delete their own records ( specified by their staff ID ). My approach is using Django and Mongodb. Mongodb will store data as follow, a collection represents a record has userId, userName, tableName and admin have rights to add more columns. The problem is how to handle those added dynamic fields ( I mean how to render those dynamic fields to input field in which users are able to input and submit? ) Do you now any project that similar to this project?
Emulate a Go HTTP server in your browser
Tags: go, webassembly
Published: 2021-02-10 11:30:20

Hi 👋 I'd like to share `github.com/nlepage/go-wasm-http-server`

{% github nlepage/go-wasm-http-server %}

This project allows you to build Go HTTP handlers to WebAssembly and embed it in a ServiceWorker to emulate an HTTP server!

I'd really appreciate to have feedback from people who would give it a try 🙂

The readme has a usage section and some examples to guide you.

Here is a video from FOSDEM 21 explaining how this works:

{% youtube O2RB_8ircdE %}

Contributions on the project are more than welcome.

Thanks!
What is a Proxy Server?
Published: 2021-02-10 11:18:33

If you are new to the idea of using proxy servers, here is everything you need to know to use them well. We cover the benefits of using proxies, different types of proxies, explain all the jargon and help you get started in the right direction.

What is a proxy server?

Every device on the internet is assigned an IP address that is unique to that device. Right now, as you are reading this, you are using an IP that's unique to you on the internet.

Like everything else in life, IP address allocations follow some patterns. Using these patterns and tracebacks, many web site administrators can tell where the traffic is coming from, including, many times, the specific country, state, city, or even the block and house from which it is coming.

Using this information, they can also tell how many times you have tried to access their website.

Websites may selectively restrict access to their services based on your location or usage.

Sometimes, it may be necessary to bypass this restriction. That's where Proxy servers come into play.

A proxy server is another machine that fetches the website or video you need on your behalf. It is useful if the proxy is in a location that the target website allows access to. For example, if you are in India and you want to access the Hulu streaming service, you can access it through a proxy server that is located in the US because Hulu recognizes your IP and blocks you.

The other use of the proxy is to overcome usage restriction. Then you need to rotate proxy servers around every now and then so you can continue using the service.

Using proxies for general web browsing
Many great articles explain how to use proxies when browsing the web.

Using proxies for web crawling
If you are a programmer and are interested in web crawling, using a rotating proxy service is almost a must.

Otherwise, you tend to get IP blocked a lot by automatic location, usage, and bot detection algorithms, especially if you are trying to scrape big networks like Amazon, Facebook, Twitter, Instagram, etc.

Our rotating proxy server Proxies API provides a simple API that can solve all IP Blocking problems instantly.

With millions of high speed rotating proxies located all over the world
With our automatic IP rotation
With our automatic User-Agent-String rotation (which simulates requests from different, valid web browsers and web browser versions)
With our automatic CAPTCHA solving technology
Hundreds of our customers have successfully solved the headache of IP blocks with a simple API.

A simple API can access the whole thing like below in any programming language.
MVVM explained
Tags: android, architecture, beginners
Published: 2021-02-10 10:54:18

Model View ViewModel or MVVM isn't as hard to understand as you might think. It really just describes one way we can write and organise our code so it's easier to maintain, refactor and test.

MVVM basically says look instead of writing all of your code inside your fragment or activity, separate it into three distinct parts, the View, ViewModel and  Model.

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

* **View** that where you're going to place your business logic and it's going to provide the data to your UI.

* **ViewModel** is going to act as a bridge between the View and Model. ViewModel provides data to the view and it communicates with the model.

* **Model** contains the business logic that handles data operations i.e querying local and or remote data source.

Each parent component is only dependent on the child component directly below it. The child component doesn't know about the parent above it. This means that if anything happens to the parent component, the child is not affected by that change. The child components may not have a direct reference to the parent component above but it does have a reference to the parent by Observables. The child exposes the Observable to the parent component so that the parent can listen and respond to any changes. 

As you go along your coding journey you'll definitely come across other buzzwords like MVP or MVC these are just other design patterns. There is no rule set in stone regarding which pattern you should use however it is good practice to follow best practice and to separate your code into distinct sections.
[Learning Notes] Learning to Learn: The Lies
Tags: zerotomastery, learning
Published: 2021-02-10 11:11:46

Part Two of the *Learning to Learn* course builds on top of the principles from the previous part and covers **The Lies** that have been told about learning. In this section of the course, the lies are described and the reality behind them is discussed.

- ***Follow Your Passion***
Passion might be a good place to start, but it is not everything. **Creativity** + **Control** + **Impact** are needed, passion is not. Embrace the craftsman's mindset that always pushes towards becoming better.
- ***You Can Avoid Risk***
This is not true, so you better learn to accept risk and enjoy it. Those who only ever play it safe will never be exceptional. Taking risks means taking the opportunity to grow.
- ***Trust this One Person***
Do not accept the one person who says, "I am the absolute. Listen to me because I know everything." They are charlatans who really know nothing. Learn from multiple sources, see multiple perspectives.
- ***10,000 Hours Rule***
Practice matters, a lot, but it is not everything. There are other factors like genetics, personal history, etc. that will affect you and your outcomes. It is important to remember that blindly putting in the hours will not move you forward. It is better to put in smart hours.

Do not believe in the old things. They might have sounded like the height of wisdom before, but it is better to always keep learning instead.