teleren/devto huggingface dataset:
Sin inmutarse
Tags: news, infomation
Published: 2024-02-05 13:19:18

Un Pramod Sharma tembloroso hace cola frente a la entrada principal del campus de la Universidad Maharshi Dayanand (MDU) en Rohtak, una pequeña ciudad en el estado de Haryana, en el norte de la India, a unos 84 kilómetros (52 millas) de Nueva Delhi.
A Sharma, de 43 años, se le unen cientos de otros hombres que se presentan a una prueba de habilidades para el papel de carpintero en Israel: la primera vez que el sector de la construcción israelí se abre a los indios, que anteriormente habían encontrado trabajo allí principalmente como [cuidadores](https://structurebusinessman.com).
Después de más de 100 días de [guerra ](https://streamingnewyork.com)de Israel contra Gaza, ha surgido una crisis laboral en el país, arraigada en su decisión de impedir que decenas de miles de palestinos trabajen en Israel.
En octubre, según se informa, las [empresas ](https://betterupdigital.com)de construcción israelíes solicitaron a su gobierno en Tel Aviv que les permitiera contratar hasta 100.000 trabajadores indios para reemplazar a los palestinos cuyas licencias de trabajo fueron [suspendidas ](https://confidentialpostal.com)después de que comenzó la ofensiva en Gaza.
En la India, la búsqueda desesperada de mano de obra por parte de Israel ha expuesto a su vez un abismo entre las afirmaciones de éxito económico del gobierno del primer ministro Narendra Modi, que insiste en que un PIB creciente está convirtiendo a la nación en una potencia mundial, y la realidad vivida por millones de personas. . Mientras India se acerca a las elecciones nacionales, la tasa de desempleo ronda el 8 por ciento.
En diciembre, el gobierno de Haryana anunció 10.000 puestos para trabajadores de la construcción en Israel, incluidos 3.000 puestos para carpinteros y herreros, 2.000 para instaladores de baldosas y 2.000 para yeseros. Su anuncio decía que el salario de los puestos de trabajo sería de alrededor de 6.100 shekels, o aproximadamente 1.625 dólares, al mes, en un estado donde el ingreso per cápita es de alrededor de 300 dólares al mes.
El mismo mes, Uttar Pradesh, el estado más poblado de la India, también publicó un anuncio similar para otros 10.000 trabajadores. Los informes dicen que la campaña de reclutamiento comenzó el martes en la capital del estado, Lucknow, y atrajo a cientos de solicitantes.
What is an Responsive Web Design?
Tags: javascript, webdev, learning, frontend
Published: 2024-02-05 14:39:39

Responsive Web Design is an approach to building websites that ensures they look and function well on a variety of devices and screen sizes. Instead of creating separate designs for different devices, RWD uses flexible grids and layouts, images, and CSS media queries to create a single, dynamic design that responds to the user's environment.

## Why is Responsive Web Design Important?

Responsive web design ensures optimal user experience across various devices.

### 1. **Improved User Experience:**

Responsive websites adapt to the user's device, providing a seamless and enjoyable experience. Whether on a desktop, tablet, or smartphone, users can navigate and interact with the content effortlessly.

### 2. **Search Engine Optimization (SEO):**

Google and other search engines favor responsive websites. Having a mobile-friendly site positively impacts your search engine rankings, making it easier for users to find your content.

### 3. **Cost-Efficiency:**

With RWD, there's no need to create and maintain separate websites for different devices. This can significantly reduce development and maintenance costs.

## Where to Use Responsive Web Design?

Responsive Web Design is crucial for various scenarios, including:

### 1. **E-commerce Websites:**

Ensuring a seamless shopping experience on both desktop and mobile devices is vital for e-commerce success.

### 2. **Blogs and Content Websites:**

Content should be easily accessible and readable, regardless of the user's device.

### 3. **Corporate and Business Websites:**

Professional websites need to convey information effectively, regardless of the platform.
## Sample Example

Let's create a simple example using HTML and CSS in a `readme.md` file:

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
      body {
        font-family: "Arial", sans-serif;
        margin: 20px;
      }

      .container {
        max-width: 800px;
        margin: 0 auto;
      }

      img {
        max-width: 100%;
        height: auto;
      }
    </style>
    <title>Responsive Web Design Example</title>
  </head>
  <body>
    <div class="container">
      <h1>Responsive Web Design Example</h1>
      <p>
        This is a simple example of a responsive web design. The content and
        images will adjust based on the screen size.
      </p>
      <img src="example-image.jpg" alt="Responsive Web Design Example" />
    </div>
  </body>
</html>
```

Hit the like button and unlock a treasure trove of knowledge on my blog. Elevate your understanding by visiting [Learndevprojects](https://learndevprojects.vercel.app)
Peacock.com/tv Enter Activation Code
Tags: peacocktvcomtv, programming, productivity
Published: 2024-02-05 14:33:10

[peacocktv.com/tv](https://www.com-peacocktv.com)  is one of the streaming services that many people around the world are interested in. NBC Widespread possesses Peacocktv.com/tv, the administrations offered incorporate many movies and Network programs open for streaming. A couple of the famous and most notable shows on the pop scene incorporate Works of art like the workplace and the cheers as well as current shows like Rule of peace and law and This Is Us.
the difference between "virtualenv" and "-m venv" in creating Python Virtual environments
Tags: python, beginners, tutorial, opensource
Published: 2024-02-05 14:29:34

{% stackoverflow 44091886 %}

Sorry if I sound a bit foolish. I'm confused about this: What's the difference between the two:

`virtualenv myvenv`

and

`-m venv myvenv`

The first one works well for me in creating virtual environments while the other does not.

I cd into my development directory and use virtualenv myvenv and it creates the virtual environment. But if I use -m venv myvenv, it just gives errors.



**answer: **
You would need to use 

`python -m venv myvenv `

for that to work..., where 

`python -m`  calls the venv module as a script and passes myvenv as an argument to that script.


Coastatin answers in the same thread: 

https://stackoverflow.com/questions/44091886/whats-the-difference-between-virtualenv-and-m-venv-in-creating-python-virt


**Venv **is a package shipped directly with python 3. So you don't need to pip install anything.

**virtualenv** instead is an independent library available at https://virtualenv.pypa.io/en/stable/ and can be installed with pip.

They solve the same problem and work in a very similar manner.

If you use python3 I suggest to avoid any "extra" dependencies and just stick with venv.

Your error is probably because you use Python2/pip2.


and furthermore we can read **the following: **
https://stackoverflow.com/questions/44091886/whats-the-difference-between-virtualenv-and-m-venv-in-creating-python-virt


I think the** virtualenv docs** explain this the best: ( https://virtualenv.pypa.io/en/stable/ )

1. **venv is a subset of virtualenv** integrated into the standard library since Python 3.3. The subset meaning that only part of virtualenvs functionality is in venv:
2. venv can be slower since it does not have the "app-data seed method". See more about virtualenv Seeders in the docs.
3. venv can only be updated by upgrading the Python version, while virtualenv is updated using pip.
5. venv is not extendable
6. virtualenv has richer programmatic API (describe virtual environments without creating them). See the venv API here. 
7. venv cannot automatically discover arbitrarily installed python versions, while virtualenv does. This means, that with venv you have to specify the full path of the python executable, if you want to use some other python version than the first one in the PATH. With virtualenv, you can just give the version number. See python discovery in the virtualenv documentation.

and **Niko Föhr **continues: To me the differences are quite subtle and the only practical difference has been that venv is included in the standard library (since 3.3). I have been using python -m venv venv for a long time and have never needed an alternative.

cf. https://stackoverflow.com/questions/44091886/whats-the-difference-between-virtualenv-and-m-venv-in-creating-python-virt
Datetime Generator for MySQL: How to Create Random Datetime Data
Tags: mysql, mariadb
Published: 2024-02-05 14:22:12

When developing databases, it is necessary to generate sample data for testing and validating database functionality to detect any issues before they appear in production. Gata generation is very often used by database developers, database administrators, analysts, or testers. In data generation scenarios, users have populate tables with different random data, including datetime values if they work work with time-related information.

In the article, we'll explore what DATETIME and TIMESTAMP are and how they differ. We'll also examine how to generate random timestamp and datetime data using the MySQL Data Generator tool available in the MySQL GUI tool - dbForge Studio for MySQL.

Read in full to get more info: https://www.devart.com/dbforge/mysql/studio/mysql-datetime-generator.html
Azure Site Recovery
Tags: azure, cloud, reliability, 100daysofcloud
Published: 2024-02-05 14:19:32

In the ever-dynamic realm of IT infrastructure, business continuity and disaster recovery stand as pillars of resilience. Enter **Azure Site Recovery**, a robust solution designed to fortify your organization against unforeseen disruptions.

## Understanding Azure Site Recovery

### Defining the Essence

Azure Site Recovery is a cloud-based service by Microsoft, meticulously crafted to ensure the continuity of your operations in the face of disasters. Whether dealing with data center outages, system failures, or other unexpected events, Azure Site Recovery steps in as a guardian, providing seamless replication and failover capabilities.

## Key Features and Functionalities

### 1. **Automated Replication**

Azure Site Recovery automates the replication of your on-premises workloads to Azure. This ensures that in the event of a disruption, your applications can swiftly resume operations from the replicated data in the Azure cloud, minimizing downtime and ensuring business continuity.

### 2. **Multi-Platform Support**

Versatility is key. Azure Site Recovery extends its support across various platforms, enabling the replication of virtual machines running on Hyper-V, VMware, and even physical servers. This inclusive approach ensures that regardless of your existing infrastructure, Azure Site Recovery has you covered.

### 3. **Orchestrated Recovery Plans**

Planning for recovery is as critical as the recovery itself. Azure Site Recovery allows you to create and customize recovery plans, providing a structured approach to the restoration process. This orchestration ensures that your applications are brought back online in a predefined sequence, optimizing the recovery workflow.

## The Advantages of Azure Site Recovery

### 1. **Minimized Downtime**

Downtime can have significant financial implications. Azure Site Recovery's swift failover capabilities and automated replication contribute to minimizing downtime, ensuring that your business remains operational even in the face of adversity.

### 2. **Cost-Effective Solution**

Investing in disaster recovery shouldn't break the bank. Azure Site Recovery follows a pay-as-you-go model, allowing businesses to optimize costs by paying only for the resources consumed during the replication and failover processes.

### 3. **Simplified Management**

Managing disaster recovery shouldn't be a cumbersome task. Azure Site Recovery provides a user-friendly interface, simplifying the configuration, monitoring, and management of your disaster recovery plans.

## Conclusion: Elevating Disaster Recovery to New Heights

Azure Site Recovery emerges not just as a contingency plan but as a strategic investment in the resilience of your business. With its automated replication, multi-platform support, and orchestrated recovery plans, it becomes a beacon of assurance in an unpredictable digital landscape. Embrace Azure Site Recovery, fortify your organization, and stride confidently into the future. Your resilience starts here.
Environmental Conservation Jobs in the USA | Green Jobs Board
Tags: usa, environmentaljobs, sustainabilityjob
Published: 2024-02-05 14:09:06

The Green Jobs Board is your one-stop platform for discovering these exciting career paths. Whether you are an experienced professional or just starting, this platform connects job seekers with employers who share their passion for environmental conservation. With its extensive database of job listings, you can explore various positions across different sectors and locations in the USA.

By utilizing the Green Jobs Board, you can access exclusive opportunities for [Environmental Conservation Jobs](https://www.greenjobsboard.us/) that align with your values and interests. You can browse job descriptions, requirements, and application details all in one place. This user-friendly platform ensures you have all the information needed to make informed career choices.

For details visit Green Jobs Board.
How to convert a TypeScript built-in enum to a GraphQL enum
Tags: graphql, typescript, enum, programming
Published: 2024-02-05 14:05:20

At [Woovi](https://woovi.com) we are [GraphQL](https://graphql.org) lovers, hence we develop many helpers around this tool to bring a good developer experience.

A helper that we developed is `graphqlEnumBuilder`, this helper allows us to convert a TypeScript built-in enum into a `GraphQLEnum` without difficulty. Thus, if you add a new value in your TypeScript enum, you don't need to edit your GraphQL enum, because it's generated from your TypeScript enum.

## How it works

```ts
enum Gender {
  Male = 'Male',
  Female = 'Female',
}

const GenderEnumType = graphqlEnumBuilder(
  'GenderType',
  Gender,
);
```

When you call this `GenderEnumType` in some query or mutation as an argument and generate your schema file, note that the `GenderEnumType` is declared as an enum in the GraphQL notation.

Here is an example:

```graphql
enum GenderType {
  Male
  Female
}
```

## Code solution

```ts
import { GraphQLEnumType } from 'graphql';

type EnumObject = {
  [index: string]: string;
};

type EnumObjectResult = {
  [index: string]: {
    value: string;
  };
};
export const enumBuilderValues = <T = EnumObject>(
  constants: T,
): EnumObjectResult =>
  Object.keys(constants).reduce(
    (prev, curr) => ({
      ...prev,
      [curr]: {
        value: constants[curr],
      },
    }),
    {},
  );

export const graphqlEnumBuilder = <T = EnumObject>(name: string, values: T) =>
  new GraphQLEnumType({
    name,
    values: enumBuilderValues(values),
  });
```

---

[Woovi](https://woovi.com/) is a Startup that enables shoppers to pay as they like. To make this possible, Woovi provides instant payment solutions for merchants to accept orders.

If you want to work with us, we are [hiring](https://woovi.com/jobs/)!

---

Photo by <a href="https://unsplash.com/@tomhermans?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Tom Hermans</a> on <a href="https://unsplash.com/photos/book-lot-on-table-9BoqXzEeQqM?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a>
Captcha Generator & Validator using HTML CSS & JavaScript
Tags: webdev, javascript, beginners, programming
Published: 2024-02-05 14:03:53

## Overview:
**Welcome to our JavaScript Captcha Generator App Tutorials.**

In this article, we'll walk you through a step-by-step guide to building a fully functional CAPTCHA generator app from scratch using HTML, CSS and of course JavaScript.

You'll learn how to implement a powerful CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) system from scratch is a vital security measure for protecting websites from bots, malicious activities and automated spam.

## Prerequisites:
Basic knowledge of HTML, CSS and JavaScript.
A code editor of your choice.

You might like this: [Password Validation Check ](https://dev.to/sharathchandark/password-validation-check-in-html-css-javascript-show-hide-password-toggle-4d7c)

`I haven't included the coding part here like in previous articles due to the fact that in this video, more details were explained for each line of code.`

Let's get started on creating your own awesome CAPTCHA generator app now! HAPPY CODING!

✅ Watch Live Preview 👉👉 [CAPTCHA Validation](https://youtu.be/7g0iGXTHojg)

Throughout this video, we'll cover key concepts such as DOM manipulation, event handling and how to design a user-friendly CAPTCHA generator and then dive in to JavaScript magic to generate random challenges and validate user input that visually appealing user-friendly interface.

{% embed https://youtu.be/7g0iGXTHojg %}
By the end of this video, you'll have a fully functional secure and effective CAPTCHA generator that you can integrate into your own projects or use to bolster the security of your websites.

> Conclusion:
> Congratulations! You've successfully created a CAPTCHA generator app using HTML, CSS and JavaScript. This project is an excellent starting point for learning web development and can be expanded with additional features to suit your needs. Happy coding!.

Join our ever-growing community on YouTube, where we explore [Full Stack development](https://www.youtube.com/watch?v=dyRYpFaOgT8&t=4s), learn, and have fun together. Your subscription is a vote of confidence, and it enables us to keep producing high-quality, informative videos that you can enjoy and share with your friends and family.

So, if you haven’t already, please hit that subscribe button, click the notification bell, and be a part of our YouTube family. Let’s continue learning, growing, and sharing knowledge in exciting and innovative ways.

Thank you once again for your support, and we look forward to seeing you on our YouTube channel!
I didn't land anything this week :(
Tags: beginners, career, learning
Published: 2024-02-05 14:00:00

I hate not landing things. And I didn’t land anything this past week.

Last Monday, I was given a task that seemed simple. Like we’re thinking 20 lines changed if you count the unit tests. It ended up taking all the way to Friday to resolve, and the ticket was closed with a PR and a doc abandoned and no changes to the actual product. I wanted to go stand in the rain.

This post is for me to reflect on how that even happened, and to remind myself to give Regina (me) some grace. Shit happens, so I might as well know exactly what “shit” happened and what I could do better to dodge that “shit”. Plus sharing is fun so 💃

Here’s what happened in those 5 days:

- Scope creep. We all had different ideas on what should be done for this ticket and why - it took a day to figure out what’s the goal of this ticket, what’s the tightly-related-but-still-non-goal part we can split away, and what’s the actual done bar.
- Implementation is not as easy as we thought. Classic. 😑 And the more we were trying to implement it, the solution started to feel a bit forced . Really made us wonder if this is really fixing the problem.
- Finally, we were slowly finding out, “Wait, how big is this problem actually?” . By Thursday, we learned that we can expect that the issue was not gonna be as big as a problem as it was previously. Completely tanked the importance of the ticket by Friday. Goodbye, my sweet PR—you will be missed.

Anyway, we’re all about learning from experience out here. I’ve talked to my manager, and here are useful questions he’s suggested me to often check in on:

- What’s the context of this ticket? What’s the problem we’re trying to solve? Why is that problem a “problem”?
- This is also a good time to double check the current proposed solution — sometimes a solution that seemed good at first might not be the best solution once you have a better sense of the problem.
- What’s the “done bar”? What are the conditions that if fulfilled, this ticket is considered resolved?
- “If I don’t do this right now, what would happen?” This is a good way to check the importance of this task compared to other tasks.

I’m teaching myself that it’s okay to take the time to check in often with people. I’ve been on the other side of this where I forge forward on a task without checking in on these, only to come back with a PR that’s not addressing the right thing (too big, or the problem evolved, etc.) or no longer needed. That actually sucks more than being, what, “annoyingly communicative”? “Checks in often”? You see how these are not problems compared to “wasted X days implementing stuff we don’t need”?

And ultimately, honestly, after all that, shit just might not work out. Priorities and understanding evolve—they can get outdated. Hey, maybe the real treasure was, say it with me, ✨the friends we made along the way✨

I’m interested in y’all’s thoughts on this. Have you encountered this before? How did you avoid it?
"Day 24 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis (Statistics Day -3)
Tags: data, analyst, statistics, datascience
Published: 2024-02-05 13:47:06

STATISTICS FOR DATA ANALYTICS - 3


DESCRIPTIVE STATISTICS 

Measure of Frequency : -

A Frequency is the number of times a value of the data occurs.


Frequency Distribution :- 

It shows how the data of frequency is spread, it basically means group-by with each with no. of repetition of a value..

Types

Ungrouped Frequency  Distribution 
Individual value 


Grouped Frequency  Distribution 
Grouped value

Relative Frequency  Distribution 
It divides frequency with the total population.



Cumulative Frequency  Distribution 
It is like relative frequency and sum of frequency below it. 



Follow me on this where every day will be added if i learn something new about it  :- https://dev.to/nitinbhatt46

Thank you for your time.