teleren/devto huggingface dataset:
How to Become a Data Scientist 2023/2024 – A Complete Roadmap
Published: 2023-10-04 20:27:17

In broad terms, Data Science can be defined as a scientific field that uses scientific methods to extract knowledge and insights from structured and unstructured data and apply knowledge and actionable insights from data across a broad range of application domains, according to Wikipedia. 
Data science is a field of study that utilizes cutting-edge tools and techniques to uncover hidden patterns and trends, thereby generating valuable insights that can be used to make more informed business decisions. It also encompasses predictive analytics, in which data scientists employ a variety of machine learning or statistical algorithms. (https://towardsdatascience.com/why-is-statistics-important-in-data-science-machine-learning-and-analytics-92b4a410f686)
In 2023/2024, the roadmap to becoming a data scientist can be confusing as this desirous career has myriad ways and contents. A unique, well-curated, and straightforward path to becoming a data scientist is an invaluable gift to a beginner in the field of data science.
The value of data in the 21st century cannot be overemphasized, as there are compelling reasons for businesses to be more efficient in the world with technological innovations that generate inconceivable data every second. Organizations and individuals constantly quest for data-driven decision-making as the world transitions to the digital economy, and transformation is commonplace.
The current requirement for employment includes competencies in a data science-related field, and this article focuses on the pathway to upskill to a data science-related role.
Statistics is critical for Data Scientists
Understanding the basics of statistics will help any newbie to get comfortable on the path to a data science career.

Data manipulation
Data scientists can clean and organize large data sets using Excel, R, SAS, Stata, Power Query M, Apache Spark, and other systems.

Critical thinking
Using linear regression, data scientists identify and model relationships between dependent and independent variables. Data scientists choose procedures with underlying assumptions that are considered during implementation. If beliefs are violated or incorrectly selected, the results will be incorrect.

Organization
Data scientists are constantly inundated with data from various sources and project opportunities. Expertise in statistical functions enables data scientists to work effectively within budget and time constraints. Routine processes also contribute to data security protection.

Problem-solving
In addition to pure computations and fundamental data analysis, data scientists use applied statistics to relate abstract discoveries to real-world problems. Additionally, data scientists utilize predictive analytics to plan future actions. All of this necessitates careful consideration and rational and innovative problem-solving strategies.
Soft Join in PostgreSQL using LLMs
Tags: python, database, openai, opensource
Published: 2023-10-04 20:20:36

Data Analytics often struggle when there is no common column between two datasets, and therefore, there is no way to join 2 tables and aggregate the stats across datasets. 😩 However, thanks to LLM, we can now achieve it. 🙌

In this short post, I will illustrate how EvaDB enables AI-powered soft/semantic joins between tables that do not directly share a joinable column. 😎 The remarkable part is that this can be done without leaving your favorite database, whether it's PostgreSQL, MySQL, etc. 🚀

### Challenge: "AI-Powered" Join

Consider a scenario where you have two tables - one with details about AirBnB listings in San Francisco and the other providing insights into the city's parks. Our objective is to identify Airbnb listings located in neighborhoods with a high concentration of nearby parks. These tables/datasets lack a common column for a straightforward join. The Airbnb dataset includes a `neighborhood` column, while the parks dataset features a `zipcode` column.

![Cannot join tables with no common columns](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zibnztdahemkj2tp9o1i.png)


EvaDB addresses this challenge by facilitating the merging operation using LLMs. Below is the key query to create a new reference table that can be joined with other tables easily.

```sql
CREATE TABLE reference_table AS
SELECT parkname, parktype, 
       LLM(
       "Return the San Francisco neighborhood name when provided with a zipcode. The possible neighborhoods are: {neighbourhoods_str}. The response should be an item from the provided list. Do not add any more words.",
       zipcode) 
FROM postgres_db.recreational_park_dataset;
```

As depicted in the figure below, it generates a new table with the `neighborhood` column corresponding to the `zipcode`, enabling us to seamlessly join the two datasets using the `neighborhood` column. 
![LLM powered Ssoft join](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3sn65jonfmtr2usaiq1p.png)


How cool is this? 🤩 Mind-blown! 💥

- Full Tutorial: [Google Colab](https://colab.research.google.com/github/georgia-tech-db/eva/blob/staging/tutorials/15-AI-powered-join.ipynb).
- Show some ❤️❤️ to [EvaDB](https://github.com/georgia-tech-db/evadb)!  Your support motivates me to keep the project going.
 🤝
small-swoole-patterns 22.2.0
Tags: php, openswoole, designpatterns, showdev
Published: 2023-10-04 20:15:37

small-swoole-patterns 22.2.0 has just been released

- new stack management
- new state management
- add collection to run different task asynchronously

Take a look on [framagit](https://framagit.org/small/small-swoole-patterns)
Data Science for Beginners: 2023 - 2024 Road Map.
Tags: beginners, python, datascience
Published: 2023-10-04 20:14:47

# **Guide to starting a career in datascience**


![Roadmap Picture](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4r72mxnf3fx7fy3kbuj0.png)


## Get familiar with the basics.

There are a lot of tools used in data science. However there are some fundamentals needed. You would need to get familiar with statistics, calculus, linear algebra, an object oriented programming language of choice (Python, R or Java) and Structured Query Language.

## Apply the basics.

It is one thing to read/know about something and another to put it n practice. The next step would be to learn and actively apply the tools you've gotten familiar with, learn their use cases and methods of application. This would be in the form of data analysis, data visualization, and/or data cleaning.
 
## Learn Intermediate datascience concepts.
 
You should familiarize yourself with concepts such as machine learning, processing leading to machine learning and the do's and don'ts. Learn how to preprocess and create machine learning algorithms/models, improve created models by hyperparameter tuning and/or selecting important or relevant features for the models. 
 
## Participate in competitions or learning forums.
 
Sites such as Kaggle, Zindi and others hold various competitions which are a good platform to polish your acquired skills and also identify areas of improvement. 
 
## Learn advanced datascience concepts
 
You would need to learn advanced machine learning techniques. These include, deep learning techniques, computer vision, natural language processing(NLP), keras and cloud computing.

## Keep Learning!

The data field is always growing, you should join data communities and platforms not only for networking (which is important) but for keeping in touch with the current trends in order to keep your skills on toes. These communities can be found on Kaggle, Zindi, LinkedIn, and Twitter.

_**Godspeed on your data science journey!!**_
Gerador de Currículo
Published: 2023-10-04 20:03:26

Na era digital, a busca por oportunidades profissionais exige mais do que nunca a apresentação de um currículo sólido e atrativo. Se você está buscando uma ferramenta eficiente para criar o seu currículo de forma rápida e profissional, o site [https://ocurriculo.com.br] pode ser a resposta que você procura. Neste artigo, vamos explorar as funcionalidades e vantagens deste site que tem conquistado espaço entre profissionais em busca de novas oportunidades de carreira.

**1. Facilidade de Uso:**

Uma das principais características do [https://ocurriculo.com.br] é a sua interface intuitiva e fácil de usar. Mesmo para aqueles que não têm experiência em design de currículos, a plataforma oferece uma experiência amigável.

**2. Modelos Diferentes:**

Os modelos de currículo disponíveis no site permite que você escolha aquele que melhor se alinha com a sua área de atuação e personalidade profissional. Desde modelos mais tradicionais até opções mais criativas.

**3. Acesso Gratuito:**

Uma das grandes vantagens do [https://ocurriculo.com.br] é que ele oferece acesso gratuito à sua plataforma, permitindo que qualquer pessoa crie um currículo profissional de alta qualidade. No entanto, para aqueles que desejam ainda mais recursos e personalização, o site oferecerá em breve, opções premium a preços acessíveis.

Seja você um profissional experiente ou alguém em início de carreira, considerar essa plataforma pode ser o passo certo em direção ao seu próximo sucesso profissional. Experimente o [https://ocurriculo.com.br] e coloque o seu melhor pé para frente no mundo profissional.
[LINUX] Como alterar o layout do teclado Debian (VM)
Published: 2023-10-04 19:50:39


Toda vez que instalo uma VM debian no meu virtualbox eu me deparo com esse problema
Há uns bons meses eu não precisava instalar, pois utilizava tudo em containers dockers ou LXC, mas desta vez é/foi preciso instalar em uma VM (host).
Assim que feita a instalação, o teclado do VM trocava algumas (muitas) teclas, por exemplo, a "/" do teclado meu teclado fisico era interpretada como "-" na VM e com isso nem pra editar os arquivos eu conseguia!
Logo precisei fazer uma configuração com o dpkg (executar como root `#`)
```
# dpkg-reconfigure locales
```


![debian vm dpkg-reconfigure locales fix keyboard layout linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k2pfelagx8eyauh9samz.png)
Escolhi o locale de minha preferência (como o padrão das VMs e servidores são no idioma en-us, o mantive)
O deixei como padrão na tela a seguir

![debian vm dpkg-reconfigure locales fix keyboard layout linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aq5klqrimg1wep9ngwfd.png)


![debian vm dpkg-reconfigure locales fix keyboard layout linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nlhlgt0yhhxtfgryxu2b.png)
Após aplicar, eu reiniciei o computador 
```
# init 6
```
Finsh!
Bandit Level 11 Level 12
Tags: bandit, ctf, overthewire, writeup
Published: 2023-10-04 19:33:48

### Introduction

In Level 11 of the Bandit wargame, we're faced with a cryptographic challenge that requires some clever manipulation. Let's jump right into the steps to crack it.

### **Steps.**

1. **Access the Remote Server**: Open your terminal and connect to the remote server using this command:
    
    ```bash
    ssh bandit10@bandit.labs.overthewire.org -p 2220
    ```
    
    Input the password from the previous level: `6zPeziLdR2RKNdNYFNb6nVCKzphlXHBM`.
    
2. **Decrypt with `tr`**: Once connected, run this command to decrypt the data:
    
    ```bash
    cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'
    ```
    
    The `tr` command shifts each letter by 13 positions, revealing the concealed message.

The output of the command contains the password for the next level:

```
JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv
```
Improve WSL Security with Read-Only Filesystem
Tags: linux, wsl, windows
Published: 2023-11-20 21:00:23

---
title: Improve WSL Security with Read-Only Filesystem
published: true
date: 2023-10-04 19:30:00 UTC
tags: linux,wsl,windows,linux
canonical_url: https://tonym.us/improve-wsl-security-with-read-only-filesystem.html
---

Originally on [tonym.us](https://tonym.us/improve-wsl-security-with-read-only-filesystem.html#improve-wsl-security-with-read-only-filesystem)

By default, all Windows drives are mounted with read & write access (rw) within WSL . Though this is convenient for beginners, it opens up VM shell attacks on your Windows host files.

Instead, we can disable the auto mount feature using `wsl.conf` and selectively add read-only drives inside the WSL VM using `/etc/fstab`

## Overview

1. Deactivate "auto mount" in `/etc/wsl.conf`
2. Enable fstab using `MOUNTfStAB = true` in `wsl.conf`
3. test config files and mounting work well
4. reboot the wsl VM to complete the setup

## Example WSL Config `wsl.conf`

Place this inside the /etc/ directory on the WSL VM

```
# Automatically mount Windows drive when the distribution is launched
[automount]

# disable auto-mounting of c:
enabled = false

# process fstab entries
mountFsTab = true

# disable launching windows exe files
[interop]
enabled = false
appendWindowsPath = false

```

## Example `/etc/fstab`

First, make the target directory

```
$ mkdir -p /mnt/Users/USERNAME/Downloads

```

Add the entry to `/etc/fstab`

```
#file system dir type options dump pass
# READ ONLY MOUNTS
c:\\Users\\USERNAME\\Downloads /mnt/Users/USERNAME/Downloads drvfs defaults,ro 0 0

```

## Testing FSTAB Before Launch

Test by un-mounting and re-mounting via fstab

```
$ umount /mnt/Users/USERNAME/Downloads
$ mount -a # mount fstab entries
$ ls -l /mnt/Users/USERNAME/Downloads

```

this should produce no errors and show the expected files at the target directory

## Re-launch WSL to Complete Test

OUTSIDE the VM, run `wsl --shutdown DISTRO`. You can launch the VM by opening a new WSL tab in Windows terminal or via start menu

## More Information on WSL-Conf

Full details on the wsl config file can be found on [MS' Documentation for wsl.config](https://learn.microsoft.com/en-us/windows/wsl/wsl-config)
Exportar e importar una base de datos con MongoDB en Docker
Tags: spanish, docker
Published: 2023-10-04 18:49:57

En este post vamos a revisar como exportar e importar una base de datos hecha en MongoDB y que esta alojada dentro de un contenedor de Docker.

La verdad es que es bastante sencillo aún que hay que tomar algunas consideraciones si estamos trabajando en Windows.

* Exportar la base de datos

Tenemos que ejecutar el siguiente comando iniciando con docker exec mas el nombre del contenedor seguido de sh y el parametro -c y entre comillas el comando normal de mondodump, lo interesante es que apuntamos a localhost y el puerto por defecto porque es dentro del contenedor, pasamos el nombre de la base de datos a exportar junto con el usuario y contraseña de acceso, por último le decimos que la salida sea un archivo se cierran las comillas y ocupamos el operador > para decirle que haga la persistencia en el archivo de db.dump Ahora solo es cuestión de pasarlo al servidor o a la maquina que lo necesites.

![Exportar base de datos de MongoDB](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vh27dnq0klxxyac11r9j.png)

* Importar la base de datos

Una vez hecho el archivo de respaldo para importarlo directamente a MongoDB dentro de Docker se ejecuta el siguiente comando. La diferencia con el anterior es que volvemos a usar docker exec pero ahora con el argumento de -i, seguido del nombre de contenedor la palabra sh y el argumento -c y dentro de comillas el comando normal de mongorestore, volvemos a decirle que localhost el nombre de la base de datos, nombre del usuario y contraseña que tiene acceso y por ultimo el parametro --archive, por ultimo el operador < y el nombre del archivo de respaldo. Este comando funciona en Linux, Mac y Windows con CMD


![Importar una base de datos de MongoDB](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ipc4244f3zblt9qu1a9c.png)

Cuando ocupamos Powershell de Windows tenemos que hacer una ligera modificación al final para que no nos de error del operador < y quedaría de la siguiente manera.


![Importar una base de datos de MongoDB en Powershell](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7njs8pnkmc4t7yqodehm.png)

Si este articulo te parece interesante o aprendiste algo nuevo te agradecería que me siguieras y compartieras para que llegue a las personas.
Responsive Design with SCSS: A Handy and Beautiful Approach
Tags: scss, css, responsive, mediaquery
Published: 2023-10-04 18:43:53

In the ever-evolving world of web development, responsive design has become a crucial aspect of creating user-friendly and accessible websites. **SCSS** (Sassy CSS) is a powerful extension of CSS that offers enhanced flexibility and organization for styling web pages. In this article, we will explore a handy and beautiful approach to managing responsive design using [SCSS](https://sass-lang.com/).

**Breakpoints and the Breakpoints Map:**
One of the key elements in responsive design is defining breakpoints, which are specific screen widths where your website's layout and styling need to adapt. In our SCSS approach, we start by defining a breakpoints map. The breakpoints map is a Sass map that associates names (such as `xxs, xs, sm, md, lg, xl`) with corresponding screen widths.

The breakpoints map is defined as follows:
```scss
$breakpoints: (
  xxs: 480px,
  xs: 768px,
  sm: 991px,
  md: 1280px,
  lg: 1920px,
  xl: 5000px
);
```



**Media Queries Mixin:**
To handle the responsive behavior, we create a mixin named `break` that takes a breakpoint name as a parameter. The mixin checks if the provided breakpoint exists in the breakpoints map. If it does, it extracts the maximum width associated with that breakpoint and generates a media query with the provided styles.

The `break` mixin is defined as follows:
```scss
@mixin break($breakpoint) {
  @if map-has-key($breakpoints, $breakpoint) {
    $max-width: map-get($breakpoints, $breakpoint);
    @media screen and (max-width: $max-width) {
      @content;
    }
  } @else {
    @error "Invalid breakpoint: #{$breakpoint}.";
  }
}
```

**Usage Example:**
Now let's see how we can use the `break` mixin in our SCSS styles. Imagine we have an element with the class `.my-element`, and we want to apply different styles based on different breakpoints.

```scss
.my-element {
  @include break(xs) {
    // Styles for extra-small devices
  }

  @include break(sm) {
    // Styles for small devices
  }
}
```

In the above example, for screen widths smaller than or equal to 600px (xs breakpoint), the styles within the `break(xs)` block will be applied. Similarly, for screen widths smaller than or equal to 991px (sm breakpoint), the styles within the `break(sm)` block will be applied.

**Conclusion:**
With the handy and beautiful SCSS code provided in this article, managing responsive design becomes more organized and efficient. By defining breakpoints and utilizing the `break` mixin, you can easily adapt your website's layout and styles to different screen sizes. SCSS empowers developers to create responsive designs with ease, providing a better user experience across various devices.

**Download scss source:**
For easier access to the entire source code, you can download it from the [gist](https://gist.github.com/esmaeilbahrani/e7970dbc071dff89f1e28e5015c1ec8c) on GitHub.
"Empowering Developers of All Abilities": CodeNewbie Podcast S25E8
Tags: discuss, codenewbie, podcast, career
Published: 2023-10-04 18:37:54

In our last episode of Season 25 of the CodeNewbie Podcast, @saronyitbarek talks about learning to code as someone who is blind and improving accessibility in tech with [Judith Lung](https://www.linkedin.com/in/judith-lung-60a726146/), Software Engineer at LinkedIn.

{% embed https://www.codenewbie.org/podcast/empowering-developers-of-all-abilities %}

Judith is an accessibility engineer with a background in English, rehabilitation counseling, and assistive technology. She is passionate about using technology to create inclusive experiences and opportunities for people of all abilities.

- [Listen on Apple Podcasts](https://podcasts.apple.com/us/podcast/codenewbie/id919219256?i=1000630155026)

- [Listen on Spotify](https://open.spotify.com/episode/3ZC57UyDxpO00mNraH1IoR?si=608b8a767f2f42a3)

Or, listen wherever you normally get your podcasts!

***

### We will see you next week, happy coding

PS: Make sure to subscribe to the CodeNewbie podcast if you haven't yet + review us on your chosen platform!
Celebrate Hacktoberfest with these Exciting Open Source Repositories to contribute to
Tags: opensource, resources, hacktoberfest, hacktoberfest23
Published: 2023-10-04 18:17:15

Hey !!!

Are you into Hacktoberfest

Here are few repositories which you can contribute 👇 

- [**Harmony Code**](https://github.com/DhanushNehru/HarmonyCode)
A music app to listen while coding created using react, next js. 

- [**Python Scripts**](https://github.com/DhanushNehru/Python-Scripts)
Add automated python scripts which can automate your daily tasks

- [**Calculator**](https://github.com/DhanushNehru/calculator)
Use html, css, javascript to make this code better. Add issues or solve the existing ones

- [**Web Development Resources**](https://github.com/DhanushNehru/Ultimate-Web-Development-Resources)
There are a wide variety of web development resources available online, some are curated here. Feel free to add more.

- [**Breakout Game**](https://github.com/DhanushNehru/breakout-game)
This one is breakout game built with html canvas, css & javascript. Try to make it better, check the issues section or enhance the functionality.

- [**NodeJs Resources**](https://github.com/DhanushNehru/Ultimate-NodeJs-Resources)
An ultimate list of nodejs resources. Add more resources or sections related to nodejs to make this repository as a nodejs resource hub.

- [**Board**](https://github.com/DhanushNehru/board)
A board currently made up of html, css & javascript for just scribbling or writing things. Try to make it better, check the issues section or enhance the functionality.

- [**Tech Jobs List**](https://github.com/DhanushNehru/Ultimate-Tech-Jobs)
A collection of job sites which every developer can refer

- [**DevOps Resources**](https://github.com/DhanushNehru/Ultimate-DevOps-Resources)
A collection of DevOps resources at one place. Add more resources to make this repo a DevOps resource hub

You can contribute by adding more resources/ solving the existing issues/ creating new issues & providing solution for them.
I would be updating this blog post on necessity for more repositories/ opensource related content.

Thanks for reading ❤️

If you have found any repositories useful support it by starring ⭐
If you have any repositories to mention feel free to comment below.

Happy contributing !!!
Connect with me via [Twitter](https://twitter.com/home), [Instagram](https://www.instagram.com/dhanush_nehru/), or [Github](https://github.com/DhanushNehru/) & subscribe to my [Youtube Channel](https://www.youtube.com/@dhanushnehru?sub_confirmation=1)