teleren/devto huggingface dataset:
walkthrough- how to create an IOT HUB and connect it to a device on Azure portal.
Published: 2023-06-07 17:48:10

The internet of things (IoT) is a network of physical devices that connect to and exchange data with other devices over the internet or other network. Anything that can be embedded with necessary sensors and software can be connected over the internet.

1. on the Azure portal search and open IoT HUB, you would be shown this page>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rx31txu3n16dql3cqidy.png)
click on create by the top left side of you screen.

2. On The next page input the required details.
.subscription, Resource group, Regions, Tier and daily message limit.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5vzqwec74p8xkj8d465.png)
click on review and create to proceed.

3.After your deployment is complete click on "Go to Resources"

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

4.click on devices and Add device.

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

5.name the device you want to connect and click on save. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/657l382i0d1mhfxmu3hs.png)
. for the purpose of this demonstration am naming my device "chriscctv", and am using a Raspberry pi simulator as my device.

6.open the device you named and copy the primary connection string.

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

7. I proceed to open my raspberry Pi simulator and paste the primary connection string in the place holder meant for "connection string" in line 15, and clicked on Run.

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

8. under RUN/RESET you can see messages being sent to Azure IoT HUB.

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

9. Here is the confirmation of the communication between my IoT HUB and the Device (Raspberry pi simulator)'

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qriawokqpr486kqvftp7.png)
TexCreate 3.2 News
Tags: programming, news, opensource, rust
Published: 2023-06-07 17:40:34

I haven't been working on TexCreate lately because the current 3.1 version works well without any significant issues with my daily writing. However, I have noticed a latency issue when finding updates, which causes me to use the `--ignore true` flag frequently. The Github release strategy could be more scalable, and I could not create a working database model that was simple for me to maintain. 

While researching ways to centrally distribute my books, I came across MongoDB, and I was surprised at how easy it was to perform CRUD operations on a __free__ database cluster. I am considering making improvements to notify users if they are waiting for new updates, allowing them to try reconnecting or ignore it after a specific timeout. 

My next plan is to release TexCreate templates v4, which will include four more templates, and I plan on migrating my current release system to MongoDB. This will require a refactor; I don't expect this release to be ready for a few months. However, I am excited about the scalability and performance improvements this change promises to bring.
The Key to Your Digital Kingdom: An Introduction to Password Vaults
Tags: passwordlesslogin, socialauthentication, identitymanagement, multifactorauthentication
Published: 2023-06-07 17:36:31

## **Introduction**

As technology continues to intertwine itself into the fabric of our daily routines, the importance of safeguarding our digital assets cannot be overstated. The threat of hackers attempting to exploit our personal and professional lives is constant, and weak passwords serve as an open invitation for unauthorized access. In this digital arms race, password vaults stand as the vanguard of defense, employing cutting-edge encryption and advanced security protocols to shield our passwords from prying eyes.

## **What is a Password Vault?**

Password vaults often come equipped with a browser extension or a mobile app, making it effortless to integrate them into our daily digital routines. These extensions and apps enable password autofill functionality, automatically populating login fields with the appropriate credentials when we visit websites or launch applications. This streamlined experience not only saves time but also reduces the risk of errors that may occur when manually entering passwords.

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

**## Can a Password Vault be Hacked?**
Implementing a secure backup strategy is crucial to safeguard against the loss of password vault data. Password vault providers often offer backup options, allowing users to store encrypted backups in a secure location. Regularly backing up the password vault ensures that data can be recovered in case of device failure, loss, or other unforeseen circumstances.

## **How Does a Password Vault Work?**

The encryption and decryption processes within a password vault are designed to be seamless and efficient. Users experience minimal delays or performance issues when accessing their passwords, as the vaults are optimized to handle encryption and decryption operations swiftly, allowing for a smooth user experience.

## **Pros and Cons of Using a Password Vault**

There are several pros and cons to using a password vault:

**Pros:**

Security
Convenience
Time-saving
Encourages good password habits

**Cons:**

Vulnerability to hacking
Dependence on a single password
Difficulty in migrating
Cost

## **How to Implement Password Vaulting**

Choose a password vault provider
Install the password vault application 
Create a master password
Add passwords
Use the password vault

## **Conclusion**

Implementing a **[password vault](https://www.loginradius.com/blog/identity/what-is-password-vault-how-does-it-work/)** is a straightforward process. Users need to choose a provider that aligns with their needs, install the application on their devices, and create a master password. Once set up, they can effortlessly add their passwords to the vault for secure storage.
Sets in Python part 1: What are sets?, how we create them?, and basic operations.
Tags: python, beginners, programming
Published: 2023-06-07 17:35:03

## What are sets?

Sets are one of Python's 4 built-in data types used to store data collections.

Sets in python are similar to sets in mathematics, so they share characteristics. For example, both stores unordered, and unindexed data. Sets can't store multiple instances of the same data.

The python representation of sets also doesn't allow changing the value of the items, but we can remove and add items. Set items can be of any data type, and different data types can be contained in a set.

## How do we create a set?

Similarly to how we create dictionaries in Python, we use curly brackets to create sets.

To create an empty set, we use the `set()` function. We can also use the `set(<iter>)` function to create sets, passing an iterable as an argument.

{% embed https://replit.com/@UlisesAlexander/Setscreation?v=1  %}


## Set operations

### Checking length

We use the `len(<set>)` function to the length, the number of elements, of the set.

### Checking membership

To test if an item forms part of the set, we use the `in`, and `not in` operators.

{% embed https://replit.com/@UlisesAlexander/Setslengthandmembership?v=1 %}

### Adding

To add items to a set, we can use the `add(<elem>)` method, which only accepts one item at a time and can accept tuples as an item.

We can also use the `update(<elem>)` method, which can take lists, strings, tuples, and other sets as its arguments.

{% embed https://replit.com/@UlisesAlexander/Setsadding?v=1 %}

### Removing

We have 4 ways to remove elements from a set.

The `remove(<elem>)` method removes `<elem>` from the set but raises a `KeyError` exception if `<elem>` doesn't exist in the set.

The `discard(<elem>)` method does the same as `remove(<elem>)`, but instead of raising an exception does nothing if `<elem>` doesn't exist in the set.

The `pop()` method removes an arbitrary element from the set. If the set is empty raises a `KeyError` exception.

At last, the `clear()` method is used to remove all the elements from the set.

{% embed https://replit.com/@UlisesAlexander/Setsremoving?v=1 %}

## Further reading

[Sets in python - Real Python](https://realpython.com/python-sets)

[Python Sets - GeeksforGeeks](https://www.geeksforgeeks.org/python-sets/)

[Python sets - W3Schools](https://www.w3schools.com/python/python_sets.asp)

[Python - Set Methods - W3Schools](https://www.w3schools.com/python/python_sets_methods.asp)

[Mathematics | Set Operations (Set theory) - GeeksforGeeks](https://www.geeksforgeeks.org/set-operations/)

---

## Format

With this blog post, I'm experimenting with the format for the code block. Instead of using code block with Markdown, I use Replit embeds so that you can see and execute the code.

What will you prefer in the future Markdown, GH Gists, Replits, or a combination of them?
sass mixins that are way too good
Tags: sass, css
Published: 2023-06-07 17:21:22

---
title: sass mixins that are way too good
published: true
description: sass 
tags: sass,css
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7vxCRBOI--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/i/hwr7c2c2najfq9p5ie5k.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-05 15:33 +0000
---

## All sass font weights:

```
$font-weights: ("thin":100,"extrlight":200,"light": 300,"regular": 400, "medium": 500,"semibold":600, "bold": 700,"extrabold":800,"black":900);
```

### Usage: 

```
.selector{
font-weight: map-get($font-weights, thin);
}
```

## Add CSS vendor prefix:

```
@mixin prefix($declarations, $prefixes: ()) {
  @each $property, $value in $declarations {
    @each $prefix in $prefixes {
      #{'-' + $prefix + '-' + $property}: $value;
    }

    // Output standard non-prefixed declaration
    #{$property}: $value;
  }
}
```

### Usage:
```
.selector {
  @include prefix((
    column-count: 3,
    column-gap: 1.5em,
    column-rule: 2px solid hotpink
  ), webkit moz);
}
```

## Breakpoints

```
$bp: (
  mobile: 480px,
  tablet: 768px,
  desktop: 1440px
);

@mixin query($display) {
  @each $key, $value in $bp {
    //  defining min-width
    @if ($display == $key) {
      @media (min-width: $value) {
        @content;
      }
    }
  }
}
```
### Usage:
```
.selector{
  display: flex;
  @include query(mobile) {
    flex-direction: column;

    // you can pick any value you wish.
    height: 500px;
  }
}
```
Why it's so hard to write a single page application(SPA) with just vanilla JavaScript?
Tags: react, javascript, interview, webdev
Published: 2023-06-07 17:10:29

Front-end web applications are all about
-> Handling data + displaying data in a user interface.
-> User interface needs to stay in sync with data

Building a complex frontend with vanilla javascript alone requires a large amount of direct DOM manipulation and traversing .

1.Our code would be extremely complex and really hard to understand and we will probably just end up with a huge mess of entangled spaghetti code.
2.Typically in vanilla javascript apps state such as simple text or numbers are oftentimes simply stored right in the DOM. So right in the HTML elements itself rather than in a central place in the application.

The result is that we end up with many parts of the app accessing and changing that Dom state directly, which makes the spaghetti code even harder to understand and it will most certainly introduce many bugs into our application.

So basically frameworks like Angular, React or Vue take this hard work of synchronizing data with the user interface away from developers.
[Source](https://www.linkedin.com/feed/update/urn:li:activity:7072130404475891712/)
Topics to learn to become a fullstack MERN developer
Published: 2023-06-07 17:06:41

```

1. JavaScript Fundamentals
   - Variables, Data Types, Functions, Control Flow, Object-Oriented Programming

2. Node.js Basics
   - Node.js Setup, Runtime Environment, Core Modules

3. Asynchronous JavaScript and Promises
   - Event Loop, Non-blocking I/O, Callbacks, Promises

4. Node Package Manager (npm)
   - Package Management, Dependency Installation, package.json

5. Express.js Framework
   - Routing, Middleware, Request Handling, Template Engines

6. Middleware
   - Custom Middleware, Logging, Authentication, Error Handling

7. Database Integration
   - MongoDB, MySQL, PostgreSQL, ORMs, Query Builders

8. RESTful API Development
   - HTTP Methods, Status Codes, Request/Response Handling, Validation, Security

9. Authentication and Authorization
   - User Authentication, Session Management, User Roles and Permissions

10. Error Handling and Logging
    - Handling Runtime Errors, Logging Application Events, Error Tracking

11. Testing and Debugging
    - Unit Testing, API Testing, Debugging Techniques

12. Deployment and DevOps
    - Server Setup, Environment Variables, Process Managers, Docker, CI/CD

```
Que discos pinchar en una sesión remember electrónica
Tags: remember, music, electronic
Published: 2023-06-07 16:56:27

La música Remember abarca varios géneros electrónicos que fueron populares en décadas anteriores, como el trance, el techno y el house. Aquí tienes algunas sugerencias de discos icónicos que podrías pinchar en una sesión Remember electrónica:

"Children" de Robert Miles
"Insomnia" de Faithless
"Born Slippy .NUXX" de Underworld
"Café del Mar" de Energy 52
"Sandstorm" de Darude
"The Age of Love" de Age of Love
"1998" de Binary Finary
"Greece 2000" de Three Drives
"9 PM (Till I Come)" de ATB
"Silence" de Delerium ft. Sarah McLachlan
Estos son solo algunos ejemplos de canciones icónicas de la época Remember. Recuerda que también es importante tener en cuenta el flujo de energía y la progresión de tu set, así como las preferencias del público presente en el evento. Combina éxitos populares con canciones menos conocidas para mantener la emoción y la sorpresa durante tu [sesión remember](https://www.youtube.com/watch?v=rg9ENQf2IaY).
Trucos para ser un buen Dj para eventos
Tags: dj, musica, music
Published: 2023-06-07 16:54:44

Aquí tienes algunos trucos y consejos para convertirte en un buen DJ para eventos:

Conoce tu equipo: Familiarízate con tu equipo de DJ, ya sea que utilices controladores, platos de vinilo o software. Aprende a manejarlo y explora todas las características y funciones disponibles. Cuanto mejor conozcas tu equipo, más fluida será tu actuación.

Amplía tu repertorio musical: Como DJ, es esencial tener un amplio conocimiento de diferentes géneros musicales. Investiga y descubre nuevos artistas y canciones en diversos estilos para poder adaptarte a diferentes audiencias y eventos. Mantén tu biblioteca de música actualizada y diversa.

Desarrolla tu técnica de mezcla: Practica y mejora tus habilidades de mezcla. Aprende a sincronizar ritmos y hacer transiciones suaves entre canciones. Experimenta con diferentes técnicas de mezcla, como fading, looping y efectos, para agregar creatividad y energía a tus sets.

Lee a la audiencia: Observa y sintoniza con la audiencia. Lee sus reacciones y ajusta tu selección musical en consecuencia. Un buen DJ sabe cómo adaptarse al estado de ánimo y los gustos del público para mantenerlos emocionados y comprometidos.

Crea una narrativa musical: Construye una narrativa musical coherente en tus sets. Piensa en la progresión de la energía y la emoción a lo largo del tiempo. Comienza con canciones más suaves y lentas para luego aumentar gradualmente la intensidad. Crea momentos destacados y sorpresas para mantener el interés del público.

Domina la técnica de ecualización: Aprende a utilizar los ecualizadores para mezclar y dar forma al sonido. Ajusta los graves, medios y agudos para que las canciones se mezclen de manera armoniosa. Experimenta con la ecualización creativa para resaltar ciertos elementos y agregar dinamismo a tu música.

Sé organizado y preparado: Antes de cada evento, organiza tu biblioteca musical y prepara una selección de canciones que se ajusten al estilo y la temática del evento. Asegúrate de tener copias de seguridad de tus archivos de música y de llevar contigo cables y accesorios adicionales en caso de emergencias.

Trabaja en tu presencia escénica: Un buen DJ no solo se trata de la música, sino también de la presencia en el escenario. Mantén una actitud positiva y enérgica, interactúa con el público y muestra entusiasmo por tu música. Sé profesional, cortés y amigable con los asistentes.

Practica y mejora constantemente: La práctica constante es clave para mejorar tus habilidades como DJ. Dedica tiempo regularmente a practicar mezclas, experimentar con nuevas técnicas y descubrir música. Escucha sets de otros DJs para inspirarte y aprender de su estilo.

Construye una marca personal: Establece una identidad y una imagen distintiva como [DJ para eventos](https://veladamoderna.com). Crea una presencia en las redes sociales y promociona tus sets y eventos. Trabaja en tu imagen y crea un estilo visual que te represente. Construir una marca sólida puede ayudarte a destacar y conseguir más oportunidades.
Running around in circles
Tags: java, spring, developer, tutorial
Published: 2023-06-07 16:43:31

Hey everyone it was just another clueless Wednesday for me. 
I flunked another interview today why? They asked MCQ's based on concepts which literally no one uses anyways at this point I really feel only pros can help not CHATGPT or google. 

I really need guidance its been 3 years as IT. I still feel I don't know anything. I love Java programming language what should I do? what should be a practical and doable approach to master the language and its frameworks, especially frameworks. 

I can't find any solid answers to this. I am an electronics guy working as developer in IT so you can take a guess about my background. I am ready to put down efforts but I really some guidance here. 

Thank you all.
User Registration Settings: Need Email Verification
Tags: emailverification, userregistration, wordpress, usermetapro
Published: 2023-06-07 16:40:12

🔒 Secure your User Registration Process with Email Verification🔒

When it comes to user registrations, email verification plays a crucial role in preventing fake or unauthorized accounts. By verifying email addresses, you can validate the authenticity of user registrations and maintain a trusted user base.

✅** Step-by-Step Guide to Implement Email Verification:**

1️⃣ **Set Up Email Verification Page:**
Learn how to create an email verification page where users will be redirected to verify their email addresses. We'll show you how to add a placeholder, %email_verification_url%, for the verification link in the user registration email.

2️⃣** Configure Email Templates:**
Discover how to customize and format the user registration email template to include the verification link. We'll walk you through adding the %email_verification_url% placeholder, ensuring each email contains a unique verification link.

3️⃣ **Notify Users of Email Verification:**
Understand how to trigger email verification notifications to users after a successful registration. We'll explore methods to generate and send these notifications, allowing users to take the necessary steps to verify their email addresses.

4️⃣ **Validate User Registrations:**
Learn how to handle user registrations and account activation by validating the email verification status. We'll guide you through the steps required to ensure only verified users can access your platform's features.

By the end of this tutorial, you'll have a comprehensive understanding of setting up email verification for user registrations, empowering you to maintain a secure and authentic user community.

https://youtu.be/X1aDL_SNSfI
10 Most-Important Resume Writing Tools 🎯
Tags: resume, beginners, programming, productivity
Published: 2023-06-07 16:38:16

## Here is a list of 10 Most-Important Resume Writing Tools:


### 1. thisresumedoesnotexist - https://thisresumedoesnotexist.com/
An AI-powered resume generator that creates unique and professional resumes for job seekers.

### 2. kickresum - https://kickresume.com/
A resume builder that allows users to create professional-looking resumes quickly and easily.

### 3. resumestar io - https://www.resumestar.io/
A tool that helps users create highly-customizable resumes and cover letters using templates.

### 4. HyreSnap - AI driven - https://hyresnap.com/
AI driven - A resume builder that utilizes AI to create personalized resumes and cover letters based on user's job preferences and experience.

### 5. resumeworded - https://www.resumeworded.com/
A tool that analyzes user's resume and provides personalized feedback and suggestions for improvement.

### 6. skillroads - https://skillroads.com/
A resume builder that uses AI to create custom resumes and cover letters based on user's skills and experience.

### 7. hiration - https://www.hiration.com/
A tool that helps users optimize their resume for ATS (Applicant Tracking System) and provides expert resume writing services.

### 8. enhancv: 1000+ cvs - https://www.enhancv.com/
A platform that enables users to create professional and visually-appealing resumes using customizable templates.

### 9. resumA.I. (uses ChatGPT) - https://www.resumai.com/
A tool that uses AI to create unique resumes based on user's work experience and skills.

### 10. copy ai - https://www.copy.ai/
An AI-powered writing assistant that can help users write a variety of text-based content, including resumes and cover letters.


If you found this useful, consider:

> ✅ Follow @iarchitsharma for more content like this
> ✅ Follow me on [Twitter](twitter.com/iArchitSharma) where I share free resources on regular basis!