teleren/devto huggingface dataset:
Ibuprofeno.py💊| #59: Explica este código Python
Tags: python, spanish, learning, beginners
Published: 2024-03-21 15:31:39

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Intermedio</mark></center>

```py
## Reto #59
my_dict = dict(["a1", "b2", "c3"])

print(my_dict.get("d"))
print(my_dict["d"])
```

👉 **A.** `0`, `0`
👉 **B.** `KeyError`, `KeyError`
👉 **C.** `None`, `KeyError`
👉 **D.** `None`, `None`

---

Respuesta en el primer comentario.
We need more women
Tags: wecoded, womenintech
Published: 2024-03-21 15:29:48

It is a fact that **gender-diverse teams are more effective**. Research has shown that they produce more effective results, learning opportunities, and task mastery.

Diverse teams can improve business in many different ways like:

* **Innovation**, where diversity can bring different experiences, ideas, and perspectives to the table
* **connection**.  An inclusive culture increases employee engagement and productivity and will impact directly customer engagement.

There are many studies demonstrating that [Gender-Diverse Teams Perform Better](https://insight.kellogg.northwestern.edu/article/gender-diversity-successful-teams).

**First Question**:

Why I can count with three hand fingers my women colleagues in my 20 years of career working in Engineering?

Let's count:

> * Rebeca
> * Maria
> * Eva
> * Laura
> * Nina
> * Marisa
> * Itziar
> * Cristina
> * Mercedes
> * Angela

Brian Uzzi says:

> **“The benefits of gender diversity are kind of hidden, and because they’re hidden, they’ve been underutilized.”**

**Second question**: Are women hidden?

I don't think so.

## The Female Factor

This [study](https://hbr.org/2011/06/defend-your-research-what-makes-a-team-smarter-more-women) findings relates:

*There’s little correlation between a group’s collective intelligence and the IQs of its members. But if a group includes more women, its collective intelligence rises.*

> The chart plots the collective intelligence scores of the 192 teams in the study against the percentage of women those teams contained. The red bars indicate the range of scores in the group of teams at each level, and the blue circles, the average. Teams with more women tended to fall above the average; teams with more men tended to fall below it.

![The Female Factor](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9x60wl3gew0vv66ufyph.gif)

**Third question**: Are we afraid of intelligent people, and therefore we are afraid of women?

I miss a team where I could learn more from diversity and more women in the same team. I miss your creativity, your intelligence and your ideas.
New Year, New Voices, New Roles
Tags: aws, mentorship, speaking, training
Published: 2024-03-21 15:27:18

Welcome folks, another interesting blog post !! Well, with new year already crossing the first quarter, I am excited to share my journey as "AWS New Voices Training Program Coach  2024" :-)

This year's AWS Training New Voices program has started already and about to be completed by end of March '24. This is one of the many life changing initiatives from AWS were in new voices(new speakers from our student club, AWS Community Builder, AWS Cloud Captain, AWS Hero) are welcomed, trained & mentored to be a great speaker, by professionals who already have excelled in this area.

It is an unbelievable response from varied group of people, showing interest, joining the training program, getting coached by professional speaking coach(our beloved Meredith Grande, a big round or applause & hearts to Meredith !!) along with renowned speakers of AWS. Given the interest of the candidates, their time & effort to present on dynamic topics, different approaches, ideas, tips, suggestions, perspectives were all received & orchestrated rightly. I was amazed to see, how down to earth people are, all of the trainees aren't newbies, each one of them are experts, achievers, emerging, upcoming, enthusiasts in their own field and yet they took their time out to learn & grow and opted for this program. A big hats off to all trainees


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

Overall, program was organized by Mark Pergola & Team, AWS, this was well thought & planned agenda, sequence of actions, sessions organized, invites sent, technical glitches mastered and handled the best way possible !!  

What say? Coaches weren't less enough though !! All were experts, busy enough to not to look into the program invite too, yet, people contributed their priceless time, feedback, tips & tricks, suggestions from their speaking experience and above all, constructive feedback was shared. 

I proudly admit, that I do have takeaways from this program and would recommend for any AWS Cloud aspirants out there !! 

Well done AWS New Voices 2024 Team !! Rock On !!

######Photo Courtesy:[AWS: Mark Pergola]######
Interview with Sebastian Holstein, Founder of Qaze
Tags: rust, tauri
Published: 2024-03-21 15:25:36

Welcome to the 1st episode of our new series “Building with Tauri”, where we chat with developers who build amazing projects and products using Tauri.

In the first episode, [Eleftheria](https://twitter.com/BatsouElef) discusses with [Sebastian](https://twitter.com/Sebholstein), founder of [Qaze](https://qaze.app/), a NATS Management GUI:

* How he started
    
* What inspired him
    
* The current state of Qaze
    
* Plans and goals for the future
    

In the following video, Sebastian not only demonstrates the most powerful Qaze features but also shares a presentation about NATS.

{% embed https://youtu.be/gbyvN-YxJtY %} 

## Find Out More 🔗

* Learn more about Qaze [here](https://qaze.app/).
    
* During our interview, we referred to [NATS](https://nats.io/) quite a few times! If you want to learn more about it, Sebastian suggests [this](https://www.youtube.com/watch?v=hjXIUPZ7ArM&list=PLgqCaaYodvKY22TpvwlsalIArTmc56W9h) tutorial series.
    
* We also discussed [DevTools](https://crabnebula.dev/devtools/). Gain insight into your Tauri apps for free!
    

*Have you built something cool with Tauri? Ping Eleftheria (username: eleftheria\_b) on* [*Discord*](https://discord.gg/tsvf4TEaB5) *to schedule your interview! This is your chance to demonstrate your product to a community of thousands of developers.😏*

---

Author: @eleftheriabatsou, Community Manager at @crabnebuladev.
Unleash Your Front-End Skills
Tags: frontendchallenge, devchallenge, css
Published: 2024-03-21 15:22:25

_This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack._

## Inspiration 
<!-- What snack are you highlighting today? -->

## Demo
<!-- Show us your CSS Art! You can directly embed an editor into this post (see the FAQ section of the challenge page) or you can share an image of your project and share a public link to the code. -->

## Journey
<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->


<!-- Thanks for participating! -->
"Day 47 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( P & C- 2)
Tags: data, maths, developer, dataengineering
Published: 2024-03-21 15:17:34


PERMUTATION AND COMBINATION - 2



Fundamental Principle of Counting. :- 


 2.  Fundamental Addition Principle of Counting. :- 

If there are ‘m’ different ways of doing an even and ’n’  other different ways of doing same event ,m then the number of ways in which the event can be done is given by ’m+n’ different ways.


( Only one event is there )


Model - 1

There are two houses -house 1 and house 2, From house 1 to house 2 we have three ways to travel by train, with 4 ways to travel by bus and 2 ways by air.

Find total ways

The total ways to go from house 1 to house 2 = 3+4+2 = 9

In this case one event takes place only. ( only one event is there ).
This previous decision does not depend on others.




Model - 2

There are four boxes 1,2,3,& 4 
Boxes has 
1 - 5 different chocolate
2 - 4 different chocolate
3 - 3 different chocolate
4 - 2 different chocolate
IN how many ways a boy/girl can eat one chocolate.

Total possibility = 14
Because only one event takes place out of one event. 





🙏 Thank you all for your time and support! 🙏
Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨
DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities
Tags: frontendchallenge, devchallenge, css, javascript
Published: 2024-03-21 15:14:10

_This is a submission for DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities_

## What I Built
<!-- Tell us what you built and what you were looking to achieve. -->

## Demo
<!-- Show us your project! You can directly embed an editor into this post (see the FAQ section from the challenge page) or you can share an image of your project and share a public link to the code. -->

{% codepen https://codepen.io/SH20RAJ/pen/wvZJRbJ %}

### Previous Version

{% jsfiddle https://jsfiddle.net/sh20raj/7gwym8sn/1/ %}

## Journey
<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->


<!-- Thanks for participating! -->
Closures JavaScript
Tags: webdev, javascript, programming, tutorial
Published: 2024-03-21 15:08:57

understand the structure of how to write code for closures that run into the callstack, then the level 2 function of the closure, is returned, and assigns that function to another variable and calls the function, so then the calling function must consider the passage of The function is written, , so the function is assigned to a new variable, how can we see the function, and when do those closures end?
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hr2gffho92i2cqf4rdvq.png)
CSS Art: Favorite Snack
Tags: frontendchallenge, devchallenge, css
Published: 2024-03-21 15:08:46

_This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack._

## Inspiration 
<!-- What snack are you highlighting today? -->
Fun

## Demo
<!-- Show us your CSS Art! You can directly embed an editor into this post (see the FAQ section of the challenge page) or you can share an image of your project and share a public link to the code. -->
{% codepen https://codepen.io/SH20RAJ/pen/vYMxvoO %}

### Without Cherry 
{% jsfiddle https://jsfiddle.net/sh20raj/5hdp0nob/ %}

### Adding Cherry 
{% jsfiddle https://jsfiddle.net/sh20raj/5hdp0nob/1/ %}

## Journey
<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->
Good

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->


<!-- Thanks for participating! -->

@ben - I want to say that you should Improve the embedding of jsfiddle like codepen in liquid syntax. (show the results directly)
Here I have added the jsfiddle and JavaScript isn't added but the JavaScript tab is showing that is not suppose to be shown there.
And codepen is working file, I added jsfiddle because there's a code version feature in jsfiddle.


Hoping the improvement.
Laravel 11: Health Check Routing Example
Tags: laravel, laravel11, routing, webdev
Published: 2024-03-21 15:00:38

In this article, we'll see how to health routing in laravel 11.
 
New Laravel 11 applications include a health routing directive, which instructs Laravel to define a simple health-check endpoint that may be invoked by third-party application health monitoring services or orchestration systems like Kubernetes.

 By default, this route is served at /up. When HTTP requests are made to this route, Laravel will also dispatch a DiagnosingHealth event.

So, let's see laravel 11: health check routing example, health routing in laravel 11.

bootstrap/app.php

```
<?php
  
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
   
return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__.'/../routes/web.php',
        commands: __DIR__.'/../routes/console.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
        //
    })
    ->withExceptions(function (Exceptions $exceptions) {
        //
    })->create();
```

For checking open the following URL:

```
http://localhost:8000/up
```

---

Output:


![Laravel 11: Health Check Routing Example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8074evxqn7verg90jz8i.png)

---

You might also like:

#### **[Read Also: How to Create Interface in Laravel 11](https://techsolutionstuff.com/post/laravel-11-health-check-routing-example)**
AI – No Coding Skills Required: Introducing DavinciAI Toolkit
Tags: ai, tools
Published: 2024-03-21 14:57:50


Image generated by Stable Diffusion

Artificial intelligence (AI) is transforming industries, but most tools remain in the hands of developers and experts. DavinciAI Toolkit is here to change that.  This innovative platform puts cutting-edge AI solutions directly into the hands of everyday users, empowering them to streamline tasks, boost creativity, and save precious time.

The User-Friendly Face of AI

DavinciAI Toolkit understands that not everyone is an AI whiz. That's why they've built a platform with an intuitive interface and simple customization options. Whether you're a small business owner, a content creator, a student, or simply someone looking to work smarter, DavinciAI has tools you can start using right away.

What Can DavinciAI Toolkit Do?

This all-in-one platform offers a suite of AI-powered tools. Here's just a taste:

    Conquer Content Creation: Write articles in minutes, generate marketing content, and get instant feedback to improve your writing.
    Image Insights and Manipulation: Analyze images, generate unique visuals based on your descriptions, and even turn simple images into engaging short videos.
    Say It Your Way: Explore voice cloning to create realistic voiceovers for presentations or fun projects.
    And More! DavinciAI Toolkit includes tools for data analysis, task automation, and more - all designed for ease of use.

Beyond the Bells and Whistles

DavinciAI Toolkit isn't just about features; it's about making your life easier. The potential to train custom AI assistants means the platform can adapt to your specific needs. Say goodbye to juggling multiple niche tools –  DavinciAI centralizes and simplifies the way you work.

DavinciAI Toolkit: AI for Everyone

Whether you want to supercharge your productivity or simply want to explore what AI can do, DavinciAI Toolkit unlocks the possibilities. By making AI accessible, DavinciAI empowers individuals and businesses to focus on what matters most.

Visit the [DavinciAI Toolkit](https://davincit.site) website to sign up for early access or learn more about this game-changing platform.
delicious chocolate chip cookie
Tags: frontendchallenge, devchallenge, css
Published: 2024-03-21 14:54:23

_This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack._

## Inspiration 
<!-- What snack are you highlighting today? -->

Your challenge has sparked a creative craving of a delicious and mouth-watering chocolate chip cookie! Let's craft a delightful homemade choc chip cookie using nothing but HTML + CSS.

## Demo
<!-- Show us your CSS Art! You can directly embed an editor into this post (see the FAQ section of the challenge page) or you can share an image of your project and share a public link to the code. -->

Here's the source code or view it directly in its freshly made [GitHub oven](https://github.com/pizofreude/fec-delicious-choco-chip-cookie).

```html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chocolate Chip Cookie - CSS Art</title>
<style>
body {
  background-color: #f5f5dc;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.cookie {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #c1755e;
  position: relative;
  margin: 100px auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.chocolate-chip {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #332920;
  position: absolute;
}

.chocolate-chip1 {
  top: 20%;
  left: 20%;
}

.chocolate-chip2 {
  top: 60%;
  left: 40%;
}

.chocolate-chip3 {
  top: 80%;
  right: 20%;
}

.chocolate-chip4 {
  bottom: 20%;
  right: 40%;
}

.crumb {
  width: 10px;
  height: 5px;
  background-color: #f5f5dc;
  border-radius: 2px;
  position: absolute;
  transform: rotate(45deg);
}

.crumb1 {
  top: 10%;
  left: 30%;
}

.crumb2 {
  top: 40%;
  left: 50%;
}

.crumb3 {
  right: 10%;
  top: 30%;
}

.crumb4 {
  right: 40%;
  bottom: 20%;
}
</style>
</head>
<body>
<div class="cookie">
  <div class="chocolate-chip chocolate-chip1"></div>
  <div class="chocolate-chip chocolate-chip2"></div>
  <div class="chocolate-chip chocolate-chip3"></div>
  <div class="chocolate-chip chocolate-chip4"></div>
  <div class="crumb crumb1"></div>
  <div class="crumb crumb2"></div>
  <div class="crumb crumb3"></div>
  <div class="crumb crumb4"></div>
</div>
</body>
</html>


```

## Journey
<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

This code creates a round cookie with a background color resembling a baked cookie. It then positions four circular elements on top to represent chocolate chips. Finally, a few crumbs are added using rotated rectangles for a touch of realism.

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

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



<!-- Thanks for participating! -->
Celebrating Open-Source Excellence: Key partner leverages Vaunt for a doc improvement hackathon
Tags: opensource, github, community, startup
Published: 2024-03-21 14:46:00

## Introduction

[Our partner](https://github.com/pingcap/docs/tree/master/.vaunt) looked to Vaunt, a platform for open-source communities, to successfully distribute digital badges to participants in their [docs improvement hackathon](https://www.pingcap.com/blog/inaugural-tidb-docs-dash-recap/), encouraging contributions to their documentation and fostering a stronger community around the project.

## Challenge

Manual badge distribution for a large event can be time-consuming and prone to errors. [Our partner](https://github.com/pingcap/docs/tree/master/.vaunt) needed a solution that could

* **Automate badge issuance:** Eliminate manual work and ensure accurate badge delivery.
    
* **Personalize badges:** Allow custom badge design using their brand guidance.
    
* **Recognize and award participants:** Award badges based on specific participation criteria, such as PR, issue, etc.
    

## Solution

[Our partner](https://github.com/pingcap/docs/tree/master/.vaunt) integrated Vaunt with several of their GitHub Doc repositories, allowing seamless achievement awards based on predefined criteria for participation scores. For example, participants who completed specific tasks or contributed content received corresponding scores, and the top five contributors earned special badges.

**Benefits**

* **Increased efficiency:** Automated badge distribution saved [our partner](https://github.com/pingcap/docs/tree/master/.vaunt) significant time and resources.
    
* **Improved accuracy:** Manual errors were eliminated, ensuring everyone received the correct badge.
    
* **Enhanced engagement:** Personalized badges motivated participants and boosted community spirit.
    
* **Valuable data insights:** Data provided by Vaunt on badge acquisition and engagement will aid future event planning.
    

## Results

* **Badge distribution:** Vaunt successfully issued over **70** digital badges to [docs improvement hackathon](https://www.pingcap.com/blog/inaugural-tidb-docs-dash-recap/) participants.
    
* **Positive feedback:** Participants praised the personalized badges and appreciated valuable recognition for their contributions.
    

## Call to Action

[**Sign up for Vaunt today**](https://github.com/marketplace/vaunt-dev) and shine a spotlight on your developer contributions!

To stay in the loop on future developments, follow us on [X](https://twitter.com/VauntDev) or join our [Discord](https://discord.gg/mn29Xkvry2)! And don’t hesitate to make feature requests.
FINQ's weekly market insights: Peaks and valleys in the S&P 500 – March 21, 2024
Tags: ai, stockmarket, sp500, data
Published: 2024-03-21 14:45:03

This week's spotlight shines on S&P 500's standout performers and those facing hurdles, illuminated by our advanced AI insights.

**Top achievers:**

- Salesforce (CRM) climbs to the top, showcasing its edge in innovation and market reach.
- Amazon (AMZN), with its strategic growth and strong sales, secures a close second.
- Nvidia (NVDA) continues to impress in third, driven by its dominance in AI and technology.

**Facing challenges:**

Highlighted under-performers requiring strategic pivot:

- Loews Corp (L)
- Viatris Inc (VTRS)
- Factset Research Systems Inc (FDS)

**Importance of insight:**

Leveraging Crowd Wisdom, Professional Wisdom, and deep company Fundamentals, our AI framework provides a layered perspective of the market. This approach enables strategic investment decisions, offering clarity in the complex landscape of stock investment.

Stay tuned for ongoing insights to navigate market dynamics effectively.

**Disclaimer: Information provided is for educational purposes only, not financial advice. Always consider your financial goals and risk tolerance before investing.**
Get started: Similar to ChatGPT
Tags: codepen, tailwindcss
Published: 2024-03-21 14:42:00

I have created a view with Tailwind CSS, I'm developing these designs with the aim of improving my attention to detail. Tailwind CSS is an excellent tool for creating user interfaces. In this case, I have crafted a similar example to the ChatGPT login.

Check out this Pen I made!

{% codepen https://codepen.io/italofantone/pen/yLrMpqp %}

1. **Typed.js**
2. **Tailwind CSS**