teleren/devto huggingface dataset:
Cómo crear un entorno virtual en Python (Fácil y rápido)
Published: 2022-12-12 19:26:37

# 1. Instalación del entorno virtual

En la carpeta raíz de tu proyecto abre la consola y ejecuta el siguiente comando <code>virtualenv -p python env<code>

Se creará una carpeta con nombre "env". 

Siendo "env" el nombre de la carpeta, nombre qué es opcional pero que acostumbra ser "env" por enviroment o "venv" por virtual env.

# 2. Activar entorno virtual

Ahora, en la consola ejecuta el comando <code>.\env\Scripts\activate<code>

Si has hecho todo bien y n la consola en la linea de comando te aparece un "env" significa que ya está funcionando el entorno virtual.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ty0mwqz2dag2owgghb5l.png)

Ahora todos los comandos que ejecutes y paquetes que instales funcionaran en tu entorno virtual del proyecto.

# 3. Desactivar entorno virtual

Para desactivar nuestro entorno sólo deberás ejecutar este comando <code>deactivate<code>

Si te ha servido esta lectura sígueme en mis redes sociales @gregglatines

Consejos:
## 1. Requirements.txt

Cómo en javascript tenemos el package.json en Python tenemos el requirements.txt.

El requirements.txt permite almacenar las dependencias que necesita un proyecto.

Este archivo txt lo podemos crear una vez estando activado nuestro entorno virtual ejecutando el codigo <code>pip freeze > requirements.txt<code>
filosofia e fenomenologia dei linguaggi della programmazione
Published: 2022-12-12 19:21:53

La filosofia e la fenomenologia della programmazione è una disciplina che si occupa degli aspetti umanistici e fenomenologici della programmazione e dell'interazione tra programmazione e computer. Esploriamo le implicazioni cognitive e fenomenologiche della scrittura dei programmi e mostriamo come la programmazione influenza la percezione e la comprensione del mondo.
Utilizziamo un approccio olistico che abbraccia gli aspetti sia delle culture occidentali che di quelle orientali per comprendere meglio come la programmazione può influire sulla nostra percezione e comprensione del mondo. Inoltre, consideriamo l'estetica e la bellezza del codice come aspetti importanti della qualità della programmazione e riconosciamo che lo scrivere codice può essere un processo artistico e una vera e propria arte
[Video] Deep Dive Into Vue.js
Tags: vue, react, javascript, tutorial
Published: 2022-12-12 19:21:16

_A 45-minute deep dive into the Vue.js framework, including its technical philosophies, how it differs from the React library, and how it should be applied to new applications at an enterprise scale._

{% embed https://www.youtube.com/embed/bpRgHWTs168 %}

**Recording**

The video was recorded at a Keyhole Software Public Education Event in December 2022. Speaker Zach Gardner is a Senior Consultant and Architect at Keyhole Software with over 15 years of experience helping clients exceed their goals with custom software solutions.

## Video Overview

​This presentation dives into the Vue.js framework, including its technical philosophies, how it differs from the React library, and how it should be applied to new applications at an enterprise scale. ​

The top two current ​contenders for greenfield UI development are React and Vue.js. Most JavaScript developers are familiar with React, though few have worked on Vue. Both frameworks have a similar heritage and are more straightforward than competitors (e.g., Angular), and this presentation will explore their differences and similarities. ​This includes the pros/cons and parallels of how Vue approaches events, conditional rendering, computed, component lifecycle events, watchers, and events compared to React.

The presentation also includes a common sense perspective into when our clients might best consider Vue.js versus React. If you want to expand your knowledge of popular JavaScript libraries, this presentation is for you.
How to get the Fluent Emojis on Windows 10
Tags: tutorial, windows, beginners, firstpost
Published: 2022-12-12 19:10:28

Microsoft recently introduced their new Fluent Emoji set in the latest update to Microsoft Teams. If you're a fan of these emojis and want to use them across your entire operating system, you're in luck. While the Fluent Emoji set is the default on Windows 11, it is not the case for Windows 10. However, it is easy to change your OS-wide emoji set.

Please note that while this method is unlikely to cause any issues, it is still recommended to back up your Registry and create a System Restore Point before proceeding.

To get started, you will need to download the Segoe UI Emoji font family (Fluent Edition) from here: [Click ⏬](https://ricovz.me/dl/fluentemoji/seguiemj.ttf). And have a basic understanding of how to use Windows.

Once you have downloaded the font, open Command Prompt as an administrator and run the following command:

```bash
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Segoe UI Emoji (TrueType)" /f
```

This step may not always be necessary, but it is recommended for ensuring the success of the process.

Next, open the downloaded font file and click "Install". Once the font is installed, restart your system to complete the process and enjoy the new Fluent Emojis across your entire operating system.

If you want to revert to the Windows 10 emojis at any point, simply download the Windows 10 Segoe UI Emoji font from [here ⏬](https://ricovz.me/dl/w10emoji/seguiemj.ttf), and follow the steps above again, using the new font file.

---

_Info: I extracted the Segoe UI Emoji (Fluent Edition) .ttf from a Windows 11 VM._

---

Thanks for reading! If you enjoyed this post, consider following me on [GitHub](https://github.com/rico-vz) to stay up to date with my latest projects and contributions.
How to classify chess pieces using TensorFlow, Keras, and convolutional neural network ?
Tags: python, tensorflow, ai
Published: 2022-12-12 19:03:59

Hi,
This is a Convolutional neural network tutorial that demonstrate how to classify chess pieces based on images.
First, we will build and train a model using CNN and see the model accuracy & loss, and then we will test a new image of a chess piece and predict what is in the image.
Moreover, I recommend This graphics card: NVIDIA GeForce RTX 3060 Ti . I am using it to train my Tensorflow models.
Perfect results and performance:   [https://amzn.to/3mTa7HX]

The link for the video tutorial is here : [https://bit.ly/3mZi1iM]
I also shared the Python code in the video description.

Enjoy

Eran
Confluent Cloud Faster Stream!
Published: 2022-12-12 18:49:58

Do you want a faster and better stream on the cloud? Join Confluent Cloud for free seeing is better, faster, and more secure. It can stream data from your favorite platform-managed Apache Kafka clusters hosted on AWS, Azure, and Google Cloud. The best it comes with a free credits 400 dollars on your https://www.confluent.io/get-started/?utm_campaign=seo_podcasts&utm_source=seo&utm_medium=bl
What is artificial intelligence?
Tags: ai
Published: 2022-12-12 18:17:50

Artificial intelligence (AI) is the simulation of human intelligence in machines that are programmed to think and act like humans. These machines are designed to learn, reason, and solve problems in a way that is similar to human cognitive processes. AI can be used to automate tasks, make predictions, and process large amounts of data quickly and accurately. The goal of AI is to create machines that can perform tasks that typically require human intelligence, such as recognizing patterns, making decisions, and solving problems.
SQL Cheet Sheat
Tags: sql, beginners
Published: 2022-12-12 17:32:04

##Data Definition Language
```
CREATE SCHEMA hollywood;
CREATE TABLE hollywood.films (title text, release date, awards
text[]);
```
```
CREATE TABLE personen
(ID INTEGER PRIMARY KEY,
Name CHAR(30) NOT NULL,
Abteilung VARCHAR(5),
Telefonnummer TEXT, 
Postleitzahl NUMERIC,
Name_des_Wohnorts CHAR(30),
Jahr_der_Einstellung DATE REFERENCES Abteilung); //secondary Key
```
##Data Manipulation Language
```
insert into Vorlesungen (VorlNr, Titel, SWS, gelesenVon)
values (5099, `Methaphysik‘, 4, 2137);
```
```
insert into hören
select MatrNr, VorlNr
from Studenten, Vorlesungen
where Titel= `Logik‘ ;
```
`update Studenten set Semester= Semester + 1;`
`delete`

#Data Query Language
## select
`select distinct ..`
`SELECT a, a*100/c AS percentage`
`SELECT a "given as an A" 
`COUNT(*)` with wildcard counts every line or `COUNT(name)` counts every filled line, `COUNT(distinct name)` 
##sort
`select name from personen order by Rang desc,Name asc`
##Join
`FROM (student s JOIN personen h ON (s.Matr_nr=h.Matr_nr and s.Name='Lovelace')`
`students JOIN lectures v USING Vorl_nr`
`students NATURAL JOIN lectures`
`students LEFT JOIN lectures` also students without a lecture are in table
##UNION, INTERSECT, EXCEPT
find all: `select name from assistent) union (select name from professors)`
#LIKE
wildcard "%" ; "_"
"%" any amound
"_" exactly one char
`where title like '%thik%';`


# notin, all, ect
ect: 'avg(age), max(age), min(age), count(*), sum(meter)`

`where PersNr not in (select gelesenVon from Vorlesungen );`
`where Semester >= all ( select Semester from Studenten);`
same as: `where Semester >= ( select max(Semester) from Studenten); `
`
# group by
```
select gelesenVon, Name, avg(SWS)
from Vorlesungen, Professoren
where gelesenVon = PersNr
group by gelesenVon, Name
having avg(SWS) >= 3;
```
#Query in FROM 
`FROM`(SELECT * FROM Studenten s JOIN hoeren h USING (Matr_nr)
WHERE s.Name='Lovelace') lovelace_hoert`
has to have a name

#declutter querys
```
With alias_name1 as
(select ...from... where...),
alias_name2 as
(select ...from... where...)'
```
`select * from Studenten where Semester between 1 and 4;`
`select * from Studenten where Semester in (1,2,3,4);`
```
select MatrNr, (case when Note<1.5 then ‘sehr gut‘
when Note<2.5 then ‘gut‘
when Note<3.5 then ‘befriedigend‘
when Note <= 4 then ‘ausreichend‘
else ‘Nicht bestanden‘ end)
from pruefen;
```

```
select s.MatrNr, s.Name, avg(Note) as persDurchschnitt,
(select avg(note) as Gesamtsschnitt from pruefen p)
from Studenten s, pruefen p
where s.MatrNr=p.MatrNr
group by s.MatrNr, Name
having persDurchschnitt < select avg(note) from pruefen p
```
Among us: Identifying & Managing Imposter Syndrome [Slides]
Tags: womenintech, career, community, gdg
Published: 2022-12-12 17:23:54

This weekend, I had the opportunity to present a talk at [Google Developer Groups](https://gdg.community.dev/gdg-london/) [DevFest 2022](https://devfest2022.gdglondon.dev/) on Imposter Syndrome. As promised, I am sharing the deck slides here for the dev.to community - please let me know if you have additional questions in the comments below.

##Talk overview
During this session Anisha will dive into how imposter syndrome can manifest differently across technical teams. Additionally, she will share her experience on dealing with Impostor Syndrome within the developer community. Anisha will show the audience how to be better equipped to cope with imposter syndrome and she will also share tips & tactics you can use to help manage Imposter Syndrome and grow trust within your team.

{% speakerdeck 1c141ebe91904b039068644603edadfe %}


📣 Follow me @ [anisha.dev](https://anisha.dev)
rE-tHInK!ng the reAl vAlUe oF iNfoMaTion
Published: 2022-12-12 17:07:35


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5nqff16sz8j1qbcj8ivn.jpg)
[digital_equity](https://odysee.com/@projectsocial.space:a/digital_equity-2022-12-12-11_37_41:1)
Ball Catcher: Part 3 | Create a hard real-time system, across multiple electronic boards with Luos.
Tags: opensource, microservices, cyberphysicalsystems, luos
Published: 2022-12-12 16:49:48

Now it’s time for the third video of the ball catcher series where Viktoria will explain how to introduce and integrate the Luos engine real-time mechanism called timestamp:

{% embed https://www.youtube.com/embed/52TTLvVF3io %}

Feel free to comment on the video and give us your feedback!

I hope you will like this Christmas gift before Christmas ;)
Meme Monday 🎉
Tags: jokes, discuss, watercooler
Published: 2022-12-12 16:44:36

**We are back to Monday, after doing Tuesday last week.** It's the little things in life.

Today's cover image comes from [last week's thread](https://dev.to/ben/meme-tuesday-5fdn).

DEV is an inclusive space! Humor in poor taste will be downvoted by mods.
Python download telegram media
Tags: python, pyrogram, telegram
Published: 2022-12-12 16:32:32

```
# Download from Message
await app.download_media(message)

# Download from file id
await app.download_media(message.photo.file_id)

# Keep track of the progress while downloading
async def progress(current, total):
    print(f"{current * 100 / total:.1f}%")

await app.download_media(message, progress=progress)
```

## Parameters:

- `message` (Message | str) – Pass a Message containing the media, the media itself (message.audio, message.video, …) or a file id as string.
- `file_name` (str, optional) – A custom file_name to be used instead of the one provided by Telegram. By default, all files are downloaded in the downloads folder in your working directory. You can also specify a path for downloading files in a custom location: paths that end with “/” are considered directories. All non-existent folders will be created automatically.
- `in_memory` (bool, optional) – Pass True to download the media in-memory. A binary file-like object with its attribute “.name” set will be returned. Defaults to False.
- `block` (bool, optional) – Blocks the code execution until the file has been downloaded. Defaults to True.
- `progress` (Callable, optional) – Pass a callback function to view the file transmission progress. The function must take (current, total) as positional arguments (look at Other Parameters below for a detailed description) and will be called back each time a new file chunk has been successfully transmitted.
- `progress_args` (tuple, optional) – Extra custom arguments for the progress callback function. You can pass anything you need to be available in the progress callback scope; for example, a Message object or a Client instance in order to edit the message with the updated progress status.
HackNITR 4.0
Tags: hackathon, programming, community, beginners
Published: 2022-12-12 16:27:14

[Register here](https://www.hacknitr.com/) 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oajjvtrxzub2wyqnz7n6.png)
As the legacy continues, we bring our flagship event back. HackNITR 4.0 is a collaboration between DSC NIT Rourkela and OpenCode, is all set to get the ball rolling with a larger definition than the previous editions. With more than **2200 registrations**, **50+ sponsors** and **INR 5,00,000+ worth prizes**, HackNITR 3.0 is in itself a testimony to the grandeur we await this time.
Buckle up! HackNITR 4.0 is going to be a bumpy ride full of perks, goodies, experience and fun. 
With the love and feedback that we received from the last edition, here are a few added perks why you should definitely join us in this hacking extravaganza

**About HackNITR 4.0**

HackNITR 4.0 is a hackathon to encourage you to use your imagination and invention to develop cutting-edge technology-based solutions to challenges in the real world. It was put together by a large group of tech enthusiasts from **Google Developer Student Club** (GDSC) NIT Rourkela and **OpenCode**. The main goal is to grow our local community and give hackers an unforgettable experience. The plethora of fun and excitement is waiting for you from 6th Jan 2023.

**HackNITR accomplishments so far!**

HackNITR is glad to announce its 1000+ registration. But this is just the beginning. We provide you with this wonderful opportunity to network with others who share your interests, collaborate with them, and share expertise to quickly create exceptional projects and find answers to urgent real-world problems.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oxk7ijs431vvo3pvbi1g.png)
Register now to experience one of the largest student-run hackathon of India.

**How can I participate?**

As the countdown starts for D-day Our HackNITR team is all set to begin with the registrations. Still here? Head over to the website link given below and register right away for the largest student-run hackathon in East India, HackNITR 4.0 and complete the first step to discovering all that we have in store for you.

PS - There is absolutely **no prerequisite**. If you look forward to your first hackathon or craving an offline tint to your hacking journey, we have it all covered.

[Registration Link](https://www.hacknitr.com/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gpp6vitj91w2fumo8uod.gif)

**Follow our Social Handles to stay tuned**
HackNITR Website:  https://www.hacknitr.com/
HackNITR Instagram: https://www.instagram.com/hacknitr/
HackNITR LinkedIn: https://www.linkedin.com/company/hacknitr/
HackNITR Twitter: https://twitter.com/hacknitr

Let's make this event grand and succesfull
Thank you❤️
Appwrite Camp
Published: 2022-12-12 16:12:44

As a remote company with a diverse and global team, Appwrite has faced the unique challenge of asynchronous communication and time zone differences. However, in our two years of existence, we have mastered the art of understanding accents and facilitating effective remote collaboration. We are proud of the dedicated and hardworking team we have built, and we are committed to fostering a supportive and empathetic work environment that prevents burnout.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hmwqjw0yfnh3c507jlxl.jpg)


To further enhance team building and facilitate idea generation, we created Appwrite Camp. This is a 5-day offsite company meetup that takes place twice a year, 6 months apart. The location is carefully chosen based on team preferences and offers opportunities for team members to get to know each other, discuss company milestones, brainstorm ways to improve the product and community, and have fun with activities like movie nights, team dinners, food tours, escape rooms, and rock climbing.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yq6iy5q2jjjb7xjyg71o.JPG)



The first edition of Appwrite Camp was held in Rome, and the second edition took place in Serbia. We are excited to continue this tradition and bring our team together in unique and interesting locations. The Appwrite Camp is just one way we are investing in the well-being and success of our team members.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g68tsb2jchlwnhqs630d.JPG)
Let's be Controversial: I Don't care about MERN, MEAN or Any Stack
Tags: discuss
Published: 2022-12-12 15:57:27

I have been thinking about this lately.  Why do people think it is a good idea to give you a "menu" sort of thing for the technologies you'll use?  I find the **MERN** and variants ones particularly disturbing since they use NoSQL.  NoSQL storage is great, but is not for everything.  If anything, I bet only the *minority* of projects require NoSQL and would benefit more from a relational storage.

So guys, tell me:  What's this need from people to try to tell you "this or that combination is the winning combo"?  I'm not here to buy combos, I'm here to pick the right tool for the job.

I hear you.
Easy way to split a pdf
Tags: tutorial
Published: 2022-12-12 15:46:41

There are several reasons why you might want to [split a PDF](https://www.adobe.com/acrobat/online/split-pdf.html) file into multiple smaller files. Some common reasons include:

- To make the PDF more manageable and easier to navigate. For example, if you have a large PDF with hundreds of pages, splitting it into multiple smaller PDFs can make it easier to find specific pages or sections.

- To share only specific pages or sections of the PDF with others. If you only want to share a few pages of a large PDF with someone, you can split the PDF and send them only the pages that you want them to see.

- To extract specific pages or sections of the PDF for use in another document. For example, if you want to include a few pages from a PDF in a presentation or report, you can split the PDF and extract only the pages that you need.

- To reduce the size of the PDF. Splitting a large PDF into smaller PDFs can help to reduce the overall size of the file, which can make it easier to share or store.

Overall, splitting a PDF into multiple smaller files can make the document more manageable and easier to use in different situations.

**## How to split a pdf 
**

To split a PDF, you can use a PDF splitter tool. There are many tools available online that can help you split a PDF into multiple smaller PDF files. Some of these tools can even split a PDF based on specific page ranges, so you can easily split a large PDF into smaller, more manageable files.

One way to split a PDF is to use a free online tool like SmallPDF.com. To use this tool, follow these steps:

- Go to SmallPDF.com and select the 'Split PDF' option.

- Click the 'Choose file' button and select the PDF that you want to split.

- Once the PDF has been uploaded, you will see a preview of the document. Use the 'Page Range' option to specify which pages you want to include in each new PDF file.

- Click the 'Split PDF' button to start the splitting process.

- When the process is complete, you can download the resulting PDF files.

Another option is to use a desktop PDF editor like Adobe Acrobat. With Acrobat, you can split a PDF into multiple files and save them to your computer. To do this, follow these steps:

- Open the PDF that you want to split in Adobe Acrobat.

- Go to the 'Tools' menu and select the 'Split PDF' option.

- In the 'Split PDF' dialog box, specify the page range that you want to include in each new PDF file.

- Click the 'OK' button to start the splitting process.

- When the process is complete, the resulting PDF files will be saved to your computer.

I hope this helps! Let me know if you have any other questions.
Beauty Tips and tricks
Tags: fashion, tips, live
Published: 2022-12-12 15:27:31

Fashiontipslive is concentrated on makeup and the world of beauty. We are looking for guest post articles that relate to these different areas, but also what encircles these areas such as self-confidence, well-being, etc . Fashiontipslive is you go-to page for the Beauty & Health-Monger. Also, stay updated with the latest beauty and fashion trends. Visit us at fashiontipslive to help us help you.  [Beauty Tips  and tricks](https://fashiontipslive.com/write-for-us/)
Music Monday — What are you listening to? (Punk Rock Edition)
Tags: watercooler, music, discuss
Published: 2022-12-12 15:25:01

_cover image source: [Epitaph Records](https://giphy.com/gifs/epitaphrecords-music-video-epitaph-your-mom-H6uaIKxSvtAfXqE6dA)_

**Continuing to zoom into Rock's sub-genres, I'd like to put the magnifying glass on punk rock. I personally don't claim to be that well versed in this sub-genre of music, but I know that it spans multiple decades and there are plenty of sub-genres within the sub-genre (post-punk, hardcore, pop punk, etc.) It's also more than music — it's a whole cultural movement and even a lifestyle for some. Whatever punk means to you, I'd like to hear it. Please share your favorite punk musicians, songs, albums, and school me on everything punk!**


![a picture of The Ramones standing in leather jackets, the words "hey, ho, let's go" appear over each person's head](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q5dqxosqjajc38k8qwf2.gif)

***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others suggestions.

If you like talking about music, consider following the org [#music discussions](https://dev.to/music-discussions) for more conversations about music!

{% embed https://dev.to/music-discussions %}

***

Alright, let's rock! 🤘 _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

I look forward to listening to y'all's suggestions! 🎶