teleren/devto huggingface dataset:
Dongfeng GX crea más valor y se convierte en referencia para camiones pesados de alta gama en China
Published: 2023-08-30 11:48:32

Al identificar con [precisión ](https://extremadura24h.com/)las necesidades del mercado y de los clientes, Dongfeng lanzó una nueva generación de camiones pesados de alta gama Dongfeng GX "especialistas en [logística](https://islascanarias-24h.com/)", con una actitud progresista. Según los datos de las pruebas, muchos índices de GX son [comparables ](https://larioja24h.com/)a los más altos del mundo, lo que ha superado la barrera técnica del mercado de camiones pesados de alta gama y se ha exportado a Europa, Estados Unidos y otras [regiones](https://malaga-24h.com/)
Daniela Kriston: transformando a jóvenes y mujeres con Spectrumville LATAM
Published: 2023-08-30 11:46:22

Daniela Kriston, Holding K Group, una entidad que trasciende las fronteras. Una de las [joyas ](https://extremadura24h.com/)es Stllr, una agencia latinoamericana que brilla en la [creación ](https://larioja24h.com/)y producción de estrategias de contenido digital multiplataforma. Esta agencia ha desempeñado un papel fundamental en la génesis de Spectrumville, una empresa resplandeciente que se erige como un faro en el [horizonte ](https://islascanarias-24h.com/)de América Latina. Daniela, en otro momento, ocupó el cargo de CEO para una consultora de [América](https://malaga-24h.com/) Latina, dejando una marca tangible en su camino de transformación y crecimiento.
Lyra: las fintech y su rol en la inclusión financiera
Published: 2023-08-30 11:45:19

Las fintech permiten a personas al margen del sistema financiero ser parte, ayudar a mejorar su estabilidad económica y les abre las puertas a diversas oportunidades. A pesar de los muchos beneficios de Fintech, también hay desafíos que considerar, como posibles violaciones de seguridad y preocupaciones sobre la privacidad de los [datos](https://larioja24h.com/). Bajo este escenario, nuevas tendencias como Openfinance, su [complejidad ](https://extremadura24h.com/)y posibilidad al mercado financiero tecnológico. Este término se refiere al principio de intercambio de información financiera no solo de bancos, sino de cualquier entidad financiera. De esta manera, en un servicio financiero se pueden agregar cuentas de diversas instituciones, [consolidando ](https://islascanarias-24h.com/)los diferentes formatos que manejan en uno solo. Esta tendencia tiene gran potencial, ya que permite mejorar los [servicios ](https://malaga-24h.com/)financieros,
Reset wsl user's password
Tags: wsl, root, password, linux
Published: 2023-08-30 11:29:25

---
title: Reset wsl user's password
published: true
description: Reset wsl user's password
tags: 'wsl, root, password, linux'
cover_image: 'https://raw.githubusercontent.com/campelo/documentation/master/posts/assets/cover.png'
canonical_url: null
id: 1584404
---

###### :postbox: Contact :brazil: :us: :fr:

[Twitter](https://twitter.com/campelo87)
[LinkedIn](https://www.linkedin.com/in/flavio-campelo/?locale=en_US)

---

# Reset wsl user's password

Open cmd.exe
```
# Display a list of distros.
wsl -l 

# Open a connects at distro with a specified user
wsl -u my-user -d my-distro

# Change user password
passwd my-user

# Quit distro
exit
```

## Typos or suggestions?

If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to https://github.com/campelo/documentation and open a new pull request with your changes.
CloudDefense.AI Discovers Critical Security Data Breach for Oil Giant Shell
Published: 2023-08-30 11:29:16


![CloudDefense.AI Discovers Critical Security Data Breach for Oil Giant Shell](https://cdn-images-1.medium.com/max/2800/0*SCL6CIUB-edAb2ki.png)

**CloudDefense.AI, a cybersecurity company, uncovered a critical data leak affecting Shell, the oil giant. The breach exposed the personal information of electric vehicle (EV) drivers, including the Greenlots CEO’s personal details.**

During the investigation, CloudDefense’s security researcher discovered an unprotected internal database linked to Shell Recharge. This extensive database contained nearly a terabyte of logging data related to Shell’s vast network of EV charging stations, which it obtained, in part, through the acquisition of Greenlots in 2019. Greenlots had been providing EV charging services and technology to customers with vehicle fleets.

The database, hosted on Amazon’s cloud infrastructure, comprised millions of logs containing sensitive customer information. Disturbingly, the lack of password protection meant that anyone with internet access could freely browse and access the data.

[TechCrunch](https://techcrunch.com/2023/06/09/shell-recharge-security-lapse-exposed-drivers-data/), upon examining the leaked information, found that it included names, email addresses, and phone numbers of fleet customers utilizing Shell’s EV charging network. Furthermore, the database disclosed the names of fleet operators, which allowed for the identification of organizations, such as police departments, with vehicles reliant on the charging network. Some of the compromised data even included vehicle identification numbers (VINs).

In addition to customer data, the exposed database unveiled the locations of Shell’s EV charging stations, encompassing both public and private residential charging points. Notably, TechCrunch identified a record containing the residential address of Greenlots CEO Andreas Lips among the exposed information.

The cause and duration of the database’s exposure remain unclear, although some of the compromised data was as recent as 2023. Upon discovering the breach, CloudDefense’s security researcher Anurag Sen promptly notified Shell. However, when he did not receive a response, he alerted TechCrunch, who then contacted Shell on his behalf. Shortly after being contacted by TechCrunch, Shell took action to render the database inaccessible.

Shell spokesperson Anna Arata acknowledged the incident and stated that Shell had implemented measures to contain and identify the exposure of Shell Recharge Solutions data. The company is actively investigating the matter, continuously monitoring their IT systems, and will take necessary actions accordingly.
Wednesday Links - Edition 2023-08-30
Tags: java, jvm, jdbc, productivity
Published: 2023-08-30 10:57:58

j.u.LinkedList.size() can return a negative value (30 sec)😮
https://twitter.com/jerrinot/status/1696794228934819974

Java 22: Panama FFM Provides Massive Performance Improvements for Native Strings (1 min)🚄
https://minborgsjavapot.blogspot.com/2023/08/java-22-panama-ffm-provides-massive.html

An In-depth Look at Gradle's Approach to Faster Compilation (10 min)🚄
https://blog.gradle.org/our-approach-to-faster-compilation

Spring Data JDBC - How To Maintain Your Database Schema (5 min)🧳
https://spring.io/blog/2023/08/29/spring-data-jdbc-how-to-maintain-your-database-schema

JdbcClient from Spring Framework 6.1 (4 min)💾
https://www.sivalabs.in/spring-boot-jdbcclient-tutorial/

CannotMeasureProductivity (5 min)🧑‍💼
https://martinfowler.com/bliki/CannotMeasureProductivity.html

Measuring developer productivity? A response to McKinsey (16 min)🧑‍💼
https://newsletter.pragmaticengineer.com/p/measuring-developer-productivity
Data science: telling the outcome of a table tennis game
Tags: data, datascience, eventsinyourcity, beginners
Published: 2023-08-30 10:25:55

Data science refers to: using data to tell the future.

I did a simple project to tell the outcome of table tennis games. 

I chose games from these tournaments because I was able to confirm their data on multiple platforms.
Setka cup, Czech Republic TT star series, Pro League Czech Republic , TT cup world

There are many things that are thought to influence the outcome of a game.

 Such as the Form(a player performance in the previous games played) of the players, The preparation of the players for the game, 

 H2H history( the history of results of games played between both players), rank of a player in terms of skill, experience of player, etc.

From this project, I realised that THE FACTOR that determines the winner of a table tennis game is the H2H history between both players.

By interpreting the factor correctly, I was able to tell the winner of 47 out of 50 games.

I attribute the outcome of the 3 lost game, to unexpected events that could not be accounted for in the data I was working with.

Such unexpected events could include: luck, preparedness of players before the game, fitness of players, change of style of players, ect.

I have not been able to tell the exact correct score of a table tennis game yet, as I have not identified THE FACTOR that determines the correct score.

**CONCLUSION**

To tell the winner of a table tennis game from data,

1) Identify THE FACTOR that determines the outcome of games.

2) INTERPRET the factor correctly to know the game's winner.

3) If your expected winner loses the game, that should be as a result of unexpected circumstance that your data could not account for, 

and not because you were unsure of your choice of winner.

My aim is to use Data science to help companies to tell future events.

For example, to help a Sportswear shop to know WHO  amongst a group of potential shoppers WILL make a purchase.
The Struggle of Finding the Right Programming Partner for Project
Tags: community, programmers
Published: 2023-08-30 10:19:08

## Introduction to the problem

Have you ever gotten into this situation? You have a great idea for your next programming project and you have time to build the project? But there is one problem. You can’t do it alone. Either it would take a long time or you lack some of the skills needed to build, test and deploy the project.   

  

So you start searching for some programming buddies that would help you with your project. Either you looked into some free communities or uploaded your project to GitHub but everybody that you found left after a few weeks or even after a few days. Let me tell you something. You are not alone in this. This happened to nearly every one of us. It is a struggle that a lot of self-thought as well as graduated programmers have. Matter of fact as much as 85% of programmers who responded to my small independent survey experienced this struggle.  

  

Just to be on the same page here I do not blame free communities for this. Even though they are not as good in providing programming buddies these communities are one of the best places for programmers to learn, get help or share interesting thoughts.  

  

## Tips for finding more reliable programming partners  

  

**Firstly**, the best solution for this problem is to find or ask somebody in person. If you are still in high school or college go look for some coding clubs or coding classes. Often high schools as well as colleges have these so students can learn to code in their free time. On the other hand, if you are working go ask some interns if they would be interested in helping you out. These guys usually have more time than seniors and would be glad to add another interesting project to their portfolio.  

  

**Secondly**, you can try looking for some private or paid websites made especially for finding programming buddies. These private/paid communities or websites usually have more reliable people. Because people have to pay – even if it is a small fee – they usually consider it more when joining a project so they do not just waste money on something they do not even like that much. One I created is called DevBud https://devbud.eu. Even though it is yet to be launched in a few days I believe it will be a great place for programmers to find reliable buddies.   

  

**Finally**, I would like to say that none of these tips guarantee you 100% that you will finish your project and your partner won’t leave you. Sometimes there is something more important at the moment and they suddenly have to stop working on the project but I hope these tips help you increase the chance of finding a reliable partner who will be there until finish.
Java ArrayList Index Out of Range: Need Quick Fix
Tags: webdev, javascript, java, beginners
Published: 2023-08-30 10:14:58

Hi Everyone,

I'm running into an issue with a Java ArrayList, and I'm hoping someone can help me out. I keep getting an "Index out of range" error when trying to access elements. Here's a snippet of what I'm dealing with:


**import java.util.ArrayList;

public class Main {
    public static void main(String[] args) {
        ArrayList<String> myList = new ArrayList<>();
        myList.add("First Element");
        String element = myList.get(1); // IndexOutOfBoundsException
        System.out.println(element);
    }
}
**
I'm puzzled because I've only added one element to the list, so shouldn't it be at index 0? Why am I getting an exception when trying to access index 1? If you've encountered this before or have any idea what might be going on, your input would be greatly appreciated.
How To Set Up Git Hooks In An Nx Repo
Tags: nx
Published: 2023-08-30 10:09:57

Git hooks can be used to automate tasks in your development workflow. The earlier a bug is discovered, the cheaper it is to fix (and the less impact it has). Therefore it can be helpful to run tasks such as linting, formatting, and tests when you are e.g. committing and pushing your code, so any problems can be caught as early as possible.

This post will cover how to get an efficient development workflow using Git hooks that runs the necessary tasks at the correct times in your development workflow, all automatically.

TLDR:
We will use Husky to execute tasks for these hooks:

commit-msg: Ensuring our commit messages are following conventional commits format.
pre-commit: Run linting and formatting on staged files using lint-staged with eslint, style-lint and nx format:write.
pre-push: Run unit and component tests on affected projects.

You can read the blog post [here](https://christianlydemann.com/how-to-set-up-git-hooks-in-an-nx-repo/).
VSCode에서 prettier가 Error handling text editor change, Invalid host defined options이 뜨면서 작동이 중지됐을 때
Tags: prettier
Published: 2023-08-30 10:03:19

`.vscode/setting.json`의 `prettierPath` 에 `index.cjs` 를 넣거나 빼보면 된다.

```json
{
  "[javascript]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[svelte]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "prettier.prettierPath": "./node_modules/prettier/index.cjs",
  "prettier.configPath": "./.prettierrc"
}
```
Make rules simple for social platform viewers
Published: 2023-08-30 10:01:35

There is a huge obstacle when viewing social profiles on the handheld table, but electronic viewer have solved it well through long-term efforts. There is only one thing that makes people tired of traditional gatherings on weekends, which is reading the rules. “Kings said that many special words and concepts in social profile viewer are already familiar to users, which allows them to easily switch to another social platform and delve into it with almost no rules. If these basic settings are changed, it may seriously affect players' mastery.

However, diversity also means creating social profile viewer that are easier for players to understand, such as a rich and ever-changing sandbox, accompanied by an adventure without skills, equipment, or numerical value. There are many directions that social profile viewer – [latest onlyfans viewer tool](https://ofsview.com/) can try and should try at the same time.

I believe the public's choice regarding the revival of social profile viewer or traditional social platform is the right one, but I don't think we should waste this opportunity. We should find ways to expand social profile viewer to a wider range. We don't need to give up fantasies or classic numerical systems, but these should not become limitations for our future creations, “Kings said.
Mastering Event Propagation with `e.stopPropagation()` in React
Tags: javascript, react, html
Published: 2023-08-30 10:00:00

In the world of React, handling events and their propagation can be a delicate task, especially when you're dealing with complex component hierarchies. Fortunately, React provides a handy method called `e.stopPropagation()` that allows you to gain fine-grained control over event flow. In this post, we'll explore how to use `e.stopPropagation()` effectively and why it's invaluable in React development.

## Understanding `e.stopPropagation()`

At its core, `e.stopPropagation()` is a method that prevents the further propagation of an event. In simpler terms, it stops an event from "bubbling up" the DOM tree. This can be particularly useful in scenarios where you want to isolate event handling within specific components or elements.

Let's dive into an example to illustrate its usefulness.

Consider the following code snippet:

```jsx
<li
  style={{ cursor: "pointer" }}
  onClick={(e) => {
    setEventSolutions(!eventSolutions);
    setEventSolutionsBracketing(false);
    setEventSolutionsWarZone(false);
    setEducation(false);
  }}
>
  {/* ... */}
</li>
```

> In this snippet, we have an onClick event attached to an `<li>` element. Without e.stopPropagation(), this onClick event would trigger not only when you click the `<li>` itself but also when you click its child elements. This could lead to unintended behavior and complicate your component's logic.

## Keeping Events Isolated

Now, let's take a closer look at how e.stopPropagation() can help us maintain isolation:

```jsx
<li
  onClick={(e) => {
    e.stopPropagation();
    setEventSolutionsBracketing(!eventSolutionsBracketing);
  }}
>
  {/* ... */}
</li>
```

> In this example, we've added e.stopPropagation() to the onClick event of another `<li>` element nested within the first one. What happens now is that when you click this nested `<li>`, the event no longer propagates up to the parent `<li>`.This means that the parent's onClick event won't get triggered, and you can keep the functionality separate and well-organized.

## Real-World Application

The real power of e.stopPropagation() becomes apparent in more complex scenarios, like dropdown menus or nested components. In the provided code snippet, we use it to control the opening and closing of dropdowns within a navigation menu. Without it, clicking on a dropdown item would also trigger the parent's click event, causing confusion and disrupting the user experience.

## Conclusion

In the realm of React development, mastering event propagation is crucial for building robust and maintainable applications. The e.stopPropagation() method is a valuable tool in your toolkit, allowing you to precisely control how events traverse the component hierarchy.
Higher-Order Functions
Tags: dotnet, csharp, functional, aspdotnet
Published: 2023-08-30 09:58:53

In C#, higher-order functions refer to functions that can accept other functions as arguments and/or return functions as results. In other words, these functions treat functions as first-class citizens, just like any other data type. This concept is an integral part of functional programming, which aims to treat computation as the evaluation of mathematical functions and avoid changing-state and mutable data.

Higher-order functions enable a more modular and expressive way of writing code, as they allow you to encapsulate behavior in functions and pass that behavior around as needed. This can lead to more concise, readable, and reusable code.
{% embed https://youtu.be/8AfI0prW0nI %}
Native AOT in .NET 8
Tags: csharp, dotnet, aot
Published: 2023-08-30 09:57:52

In this presentation, we will delve into the latest native Ahead-of-Time (AOT) capabilities designed for ASP.NET Core within the .NET 8.0 framework...
{% embed https://youtu.be/Fj2Jk4R1lH0 %}
The art of Focus(Become more focused)
Tags: frontend, webdev
Published: 2023-08-30 09:51:23

Minimalism is so valuable in terms of an approach to life. I have been teaching this for decades. Minimalism is not only a design vibe. If you go to some of the art galleries, you will notice that they are very minimalists.

So, most people when they think of minimalists, it is like an interior designer who sets up a minimalists space. Lot of light, not a lot of photos, and lots of glass.

For a lot of years, I have coached a lot of elite people going into the decades. I’m simply saying, one of the things I have helped them understand Minimalism is not just a design vibe.

Minimalism is a way to set up your entire life.

You see, this is one of the secrets for world class. Do few things strikingly well.

Most people right now are suffering. And I use the word suffering on purpose. They are suffering from massive levels of complexity. Whether it is on the social media, whether it is diversion through devices, or they have so many friends, and they have so many books to read, and they have so many social engagements, and they haven’t stepped back from the complexity of their lives, to say, ‘Why am I doing all these?’ They just think it is normal. Some of them have numbed themselves, and it is part of their normal lives, they don’t even know they are doing it.

Remember, histories heroes were not complexitarians, they were minimalists. They had a few possessions, they had a few friends, they didn’t have 5 homes, they didn’t have 7 cars, they didn’t have 40,000 followers. They kept is staggeringly simple.

If you simplify versus go complex, what happens then is that you can take your energy and your focus, and your personal resources and focus them on the few things that will be most important. And that is what the great ones do.

If you stripped away all the noise and focused on the signal, you stripped away all the complexities, you got concentrated on just a few things, you will be brilliant at those few things.

If you liked my article, be sure to follow me on X where I share free content on health, philosophy, relationships and coding. Also, if you are interested in starting coding, you can get my eBook HTML and CSS(Zero to Hero) here
How to select a File Using Ctrl+P In PHPstorm as I did in VSCode and VSCodium
Tags: howto, vscode, phpstorm
Published: 2023-08-30 09:45:22

In my phpstorm I wanted to open a File using `Ctrl+P`by a given path. In order to solve this problem I followed this:

https://stackoverflow.com/a/63869631/4706711

Then I replaced keyboard shortcuts with the one from VSCode by oppening File->Settings and sellecting these stuff:

![How I fixed my shortcuts into onwe used in VSCode](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ya4lfy1nx8ojqxyw2hyw.png)