teleren/devto huggingface dataset:
Unleash the Magic: Conquer Hacktoberfest 2023!
Tags: hactoberfest, contributorswanted, opensource, webdev
Published: 2023-10-04 23:10:35

Dear fellow tech enthusiasts,

As the leaves turn golden and the air grows crisp, it can mean only one thing – Hacktoberfest is upon us! This year, let's embark on a journey through the enchanted forest of open source, casting spells with code to unlock the most wondrous rewards!

**Step 1: Prepare Your Magical Arsenal**

Before you embark on this mystical quest, ensure your development cauldron is well-stocked. Choose your programming language wisely, as it will be your wand. Brush up on your spellbook, which in our world, is equivalent to documentation. Familiarize yourself with the GitHub familiars, also known as repositories.

**Step 2: Seek Your Open Source Quests**

Venture forth into the enchanted realm of open source repositories! Explore GitHub, GitLab, or Bitbucket – the gateways to open source realms. Visit the forests of renowned projects or discover hidden gems in the underbrush. Seek quests tagged with 'Hacktoberfest' labels – your map to glory!

**Step 3: Weave Your Code Spells**

Now, with your trusty keyboard as your wand, weave code spells that make a difference. Tame wild bugs and elusive issues. Craft enchanted features and enhancements. Contribute to projects that resonate with your magical essence.

**Step 4: Share Your Magic with the World**

Every skilled wizard knows the importance of sharing knowledge. Submit your magical pull requests. Share your wisdom with fellow enchanters. Inspire others with your accomplishments.

**Step 5: Collect Your Rewards**

As the moon waxes and the calendar turns to November, collect your rewards like a true sorcerer. Receive a coveted limited-edition Hacktoberfest spellbook, which is essentially a T-shirt. Gain digital badges and mystical stickers. Earn the admiration of your fellow developers.

**Step 6: Reflect on Your Journey**

In the calm after the magical storm, take a moment to reflect on your journey. Celebrate your achievements. Consider what new spells (skills) you've learned. Share your Hacktoberfest tales with the community.

Remember, the real magic of Hacktoberfest lies not in the rewards but in the connections you make, the knowledge you gain, and the impact you create.

Join us on this enchanted quest, fellow tech enthusiasts, and let's conjure a brighter, more collaborative future together.

May your code be bug-free, your commits be swift, and your journey be filled with wonder!
Snowflake + ChatGPT Integration
Published: 2023-10-04 22:51:52

Hey folks! 🎉
Today, I played around with combining #Snowflake #streamlit and #ChatGPT to answer questions about customers. It feels like having a chat with my database! 😄
A quick look at what I did:

It's fun to see how a few lines of code can bring data to life in a chat. If anyone's interested in more details, let me know! 👍
#DataMagic #SimpleCode #SnowflakeMeetsChatGPT


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l0txkuhfzs6zrgdchwej.jpg)
Getting Started With Jira Cloud API
Tags: jira, api, atlassian, automation
Published: 2023-10-04 22:21:58

## Step 1 - Generate API token

Generate the token in the following link 🚶
https://id.atlassian.com/manage-profile/security/api-tokens

## Step 2 - Generate base 64 Token to use for authentication

https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#supply-basic-auth-headers

encode the following string `<jira_useremail>:<api_token>` to base 64

## Step 3 - Make a request

For example, this is how you can get a specific Jira issue

```
Url: https://<your_domain>.atlassian.net/rest/api/3/issue/
Headers:
   Content-Type: application/json
   Authorization: Basic <your_base_64_token_here>
Method: GET
```

[Checkout more information about the different APIs](https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#about)
Day 825 : Beach Chair
Tags: hiphop, code, coding, lifelongdev
Published: 2023-10-04 21:55:43

_liner notes_:
- Professional : Had a bunch of back to back meetings to start the day. Then I worked on converting a demo application to use an new SDK.

- Personal : Last night, I went through tracks for the radio show. I then watched a lot of Bleach episodes. I made it all the way to the last episode before I called it a night.

![A dirt path through a forest of trees with stripped trunks in Papudo, Chile](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g7s3z7jdbcvv8bbig7q1.jpg)

So, I've been using the beach chair that I bought to prop up my bed/couch so that I can sit up while working. It's working out pretty well. Going to go through more tracks and catch up with the final episode of Bleach. For my side project, I want to see if I can move over a layout I created to a newer Astro project that has View Transitions working.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube CZJT22qvPgA %}
DATA SCIENTIST BEGINNER GUIDE 2023/2024
Published: 2023-10-04 21:52:27

#** This is a beginner's guide to becoming a data scientist*

You can start by taking online courses or data science bootcamps in order to get a mentor who will assist you throughout your data science journey.

Begin by learning programming languages such as python and r. Make sure you understand SQL.
Master python libraries like Pandas for data manipulation. Learn about various visualization techniques to explore and communicate insights from data.
Learn about Machine Learning models and make sure you do projects that can be able to showcase your skills. Make sure you have the ability to solve real problems with data.
Becoming a data scientist takes time and practice, so be persistent.
Explorando o Futuro Digital: NUCOINS, NFTs, Blockchain e a Jornada do Real Virtual
Tags: contadigitalcréditoe, bitcoin, nft, nucoin
Published: 2023-11-06 20:14:11

---
title: Explorando o Futuro Digital: NUCOINS, NFTs, Blockchain e a Jornada do Real Virtual
published: true
date: 2023-10-04 21:39:05 UTC
tags: ContaDigitalCréditoe,BITCOIN,NFT,Nucoin
canonical_url: https://astronautsdevelopers.com/explorando-o-futuro-digital-nucoins-nfts-blockchain-e-a-jornada-do-real-virtual/
---

A revolução digital está em pleno andamento, e os NFTs (Tokens Não Fungíveis) estão na vanguarda dessa transformação. No epicentro dessa revolução está o NUCOIN, uma moeda digital que está moldando o futuro do investimento e da economia virtual. Neste artigo, exploraremos a fundo o universo dos NUCOINS, NFTs, Blockchain e o intrigante conceito do...

https://astronautsdevelopers.com/explorando-o-futuro-digital-nucoins-nfts-blockchain-e-a-jornada-do-real-virtual/
Decifrando o Universo das Aplicações Móveis: Um Guia Para Explorar a Linguagem de Desenvolvimento Mais Inovadora
Tags: programação
Published: 2023-11-06 20:14:58

---
title: Decifrando o Universo das Aplicações Móveis: Um Guia Para Explorar a Linguagem de Desenvolvimento Mais Inovadora
published: true
date: 2023-10-04 21:34:48 UTC
tags: Programação
canonical_url: https://astronautsdevelopers.com/decifrando-o-universo-das-aplicacoes-moveis-um-guia-para-explorar-a-linguagem-de-desenvolvimento-mais-inovadora/
---

As aplicações móveis se tornaram uma parte integral de nossas vidas, transformando a forma como nos comunicamos, aprendemos e interagimos com o mundo ao nosso redor. Por trás dessas inovações estão linguagens de desenvolvimento móvel poderosas e versáteis. Neste artigo, mergulharemos no fascinante mundo das linguagens de desenvolvimento móvel, desvendando suas complexidades e oferecendo valiosas...

https://astronautsdevelopers.com/decifrando-o-universo-das-aplicacoes-moveis-um-guia-para-explorar-a-linguagem-de-desenvolvimento-mais-inovadora/
Data Science Roadmap 2023
Tags: beginners, programming, python, datascience
Published: 2023-10-04 21:27:55

## **I. Introduction**

## **What's data science ?**

Data science is the art of uncovering te insights and trends that are hiding behind data.

## **Why data science ?**
Data science is transformative force across various domains, enhacing decision-making, saving lives and also revolutionizing how things are operate.

## **In what domain**:

1. **In healthcare** to help doctors make informed decisions about patient treatments ensuring direct access to the latest information about patients.

2. **In disaster preparedness** to aid in predicting natural disasters like earthquakes, hurricane, volcanic rash, floods for potentially saving countless lives.

3. **In business** to leverage data science for competitive advantage in marketing.

## **Differents carreer paths in data science:**
- data analyst
- data scientist
- data engineer
- bi analyst
- machine learning engineer
- natural langage processing engineer

## **Skills and knowledges required:**
- Mathematical
- Programming
- Communication
- Curiosity
How to run mongodb using docker-compose in ubuntu
Tags: mongodb, docker, dockercompose, ubuntu
Published: 2023-10-04 21:23:48

Create docker-compose file like the following:

```
version: '3.7'
services:
  mongodb:
    image: mongo:latest
    container_name: mongodb_contaner
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: 12345678
      MONGO_INITDB_DATABASE: chat_app
    command:
      - '--logpath'
      - '/var/log/mongodb/mongod.log'
    ports:
      - 27017:27017
    volumes:
      - ./docker/mongodb_data:/data/db
      - ./docker/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js
```
**Create a directory called docker like the following:**

```
mkdir -p docker/mongodb_data
```

Create an init-mongo.js inside docker directory and with the following content : 

```
db = db.getSiblingDB('admin');
db.auth('root', '12345678');

db = db.getSiblingDB('chat_app');
db.createUser({
  user: 'app_user',
  pwd: 'password',
  roles: [
    {
      role: 'readWrite',
      db: 'chat_app',
    },
  ],
});

db.createCollection('test_docker');
```

**Run docker-compose to start running the container:**

```
docker-compose down && docker-compose build --no-cache && docker-compose up -d
```

**To check everything is working, SSH into the MongoDB container like the following:**


```
//to SSH into the container
docker exec -it mongodb_contaner bash

mongod --version

//Check admin db connection is working or not
mongosh admin -u root -p

// check default database with newly created by init-mongo.js
show dbs
```
Maztek X Neurofunk Basement
Tags: beginners, programming, devops
Published: 2023-10-04 21:12:30

[Download Maztek X Neurofunk Basement Free From Audio Loops
](https://audioloops.com/product/maztek-x-neurofunk-basement/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hy78s0lrqe9agnay72kl.jpeg))
Features & Additional information
Loopmasters are pleased to welcome Maztek to the artist series! This one is packed to the rafters with considered and weighty sounds, designed to give fans and producers of the harder styles of DnB a set of utensils for generating serious bangers. As always, this pack is 100% royalty free and can be used in your tracks from the word go.

Italian-born DnB artist Maztek represents the nano-fine edge of the Neurofunk scene. From humble beginnings playing in bands as a teenager, he fell under the spell of the mighty basslines that DnB is renowned for in the midst of both illegal raves in Rome and commercial events with acts like Fabio, Grooverider and Roni Size. With his single What We Bring/Caph on BTK’s well-respected Dutty Audio label, his highly acclaimed Unorthodox EP on legendary label C4C Recordings and his debut appearance on leading-label Virus Recordings alongside Optiv & BTK through the Dive Bomb EP; Maztek is forging his own path through the DnB scene – the future looks set for an exciting evolution.

Maztek has made a huge slab of sonics for your use, weighing in at over 2.5 GB. You’ll find everything you’ll need to make 31st century drum and bass music within, with drum loops for rollers, live jungle style breaks, neurofunk bass samples, atmosphere loops, FX samples, textures and everything else you’ll need to make a dancefloor move!

Tempos roll out between 87-175bpm, so you’ll find this works perfectly for most styles of drum & bass music – neurofunk, rollers, halftime, minimal and more, alongside other hi-octane dance genres.

In detail, expect to find 2.79 GB of content with all audio recorded at 24Bit & 44.1 kHz. 566 loops are divided between 174 bass loops, 98 drum loops, 54 synth loops, 36 top loops, 35 perc loops, 34 hat loops, 32 live drum breaks, 26 drum fills, 19 pad loops, 16 FX loops, 12 arp loops, 10 cymbal loops, 10 snare loops, 6 atmosphere loops and 4 drone loops. 355 one-shots are divided up as, 170 drum hits, 100 bass hits, 50 FX, 20 synth hits and 15 textures & atmospheres. Also included are 659 rex2 files, 146 soft sampler patches and 8 Kong.

 

2.79 GB
24Bit 44.1KHZ
174 Bass Loops
98 Drum Loops
54 Synth Loops
36 Top Loops
35 Perc Loops
34 Hat Loops
32 Live Drum Breaks
26 Drum Fills
19 Pad Loops
16 Fx Loops
12 Arp Loops
10 Cymbal Loops
10 Snare Loops
6 Atmosphere Loops
4 Drone Loops
170 Drum Hits
100 Bass Hits
50 Fx
20 Synth Hits
15 Textures & Atmospheres
659 Rex2 Files
146 Soft Sampler Patches
8 Kong[](url)
DuckDB: Discovering High-Performance Embedded Database!
Tags: database, opensource, finops, beginners
Published: 2023-10-04 21:11:29

A Powerful Embedded Analytics Database!

There are many database management systems (DBMS) out there. But there is no one-size-fits all database system. All take different trade-offs to better adjust to specific use cases. DuckDB is no different. Here, we try to explain what goals DuckDB has and why and how we try to achieve those goals through technical means. To start with, DuckDB is a relational (table-oriented) DBMS that supports the Structured Query Language (SQL).

To know more:

https://jlgjosue.medium.com/duckdb-discovering-high-performance-embedded-database-eac9dc0a78ca

{ Thank you for reading; share this post, please!}  :)
Research: Putting consistency back to Eventual Consistency
Tags: paper, consistency, storage, lip6
Published: 2023-10-04 21:08:21

---
title: Research: Putting consistency back to Eventual Consistency
published: true
description: replication and distributed storage
tags: paper, consistency, storage, lip6
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-04 20:59 +0000
---

https://hal.science/hal-01248191
Using Laravel push method to update your model and its relationships
Tags: laravel, eloquent, php
Published: 2023-10-04 21:00:40

Today's tip is about a method that I've seen a few people talking about. It's a model method called `push`.

> "But what does this method do, Matheusão?"

Let's imagine the following scenario:

```php
$user = User::with('address')->first();

$user->name = 'Matheusão';
$user->address->country = 'Brazil';

$user->save();
$user->address()->save();
```

Awesome! We've retrieved the user with his address and updated his name and country.

However, we can use the `push`method that will save everything for us:

```php
$user = User::with('address')->first();

$user->name = 'Matheusão';
$user->address->country = 'Brazil';

$user->push();
```

This simple command will save our model data and iterate over its relations and save all the new data for us.

And another great thing: If we update a relationship inside another relationship, it will be saved too!

Let's take a look at the push method definition:

```php
public function push()
{
    if (! $this->save()) {
        return false;
    }

    foreach ($this->relations as $models) {
        $models = $models instanceof Collection
            ? $models->all() : [$models];

        foreach (array_filter($models) as $model) {
            if (! $model->push()) {
                return false;
            }
        }
    }

    return true;
}
```

As we can see, every time that script iterates over a relation, it calls the push method again, allowing us to save a lot of relations recursively.

But don't forget to put this kind of operation inside a transaction to avoid data loss.

```php
$user = User::with('address')->first();

$user->name = 'Matheusão';
$user->address->country = 'Brazil';

\DB::transaction(fn () => $user->push());
```

That's all, folks, keep coding! 😗 🧀
Javascript: Nullish Coalescing vs OR operator
Tags: javascript, webdev, typescript, programming
Published: 2023-10-04 21:00:04

First of all, what is a Nullish Coalescing operator? It is the following operator: `?? `

Now let’s explore what it does and what is the difference between it and the OR operator.

## OR operator
The OR operator `||` uses the right value if the left value is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy). A falsey value is one of the following values: 
* 0, -0, 0n
* false
* "" (empty string)
* null
* undefined
* NaN

Let’s look at examples:
```jsx
// when left is falsy, the right value is used
console.log(0  || "right value") 
// Output: "right value"
console.log(false || "right value") 
// Output: "right value"
console.log(""     || "right value") 
// Output: "right value"
console.log(undefined || "right value") 
// Output: "right value"
console.log(null      || "right value") 
// Output: "right value"

// but when the left value is truthy, the left value is used
console.log(12 || "right value") 
// Output: 12
```

## Nullish coalescing
In contrast, the Nullish coalescing operator `??` uses the right value if the left value is [nullish](https://developer.mozilla.org/en-US/docs/Glossary/Nullish) (ie, `null` or `undefined`).

For example:

```jsx
// only when the left is undefined or null that the right value is used:
console.log(undefined ?? "right value") 
// Output: "right value"
console.log(null      ?? "right value") 
// Output: "right value"

// when the left value is not nullish, then the left value is used 
console.log(0  ?? "right value") 
// Output:  0
console.log("jane" ?? "right value") 
// Output: "jane"
console.log(""     ?? "right value") 
// Output: ""
console.log(true  ?? "right value") 
// Output:  true
console.log(false ?? "right value") 
// Output:  false
```

Most frequently, you only want the right value if the left value is `null` or `undefined`. That's what the nullish coalescing operator `??` is for. 

Happy coding!
Mazen
My Youtube channel: [@WebDevKit](https://youtube.com/@webdevkit?si=Swp7azQI8ifOaDSC)
My Github: [@djzenma](https://github.com/djzenma)
My twitter: @djzenma
pyaction 4.25.0 Released
Tags: github, docker, python, showdev
Published: 2023-10-04 20:41:15

## TL;DR

I just released [pyaction](https://github.com/cicirello/pyaction) 4.25.0, a [Docker container with Python, git, and the GitHub CLI](https://dev.to/cicirello/pyaction-a-docker-container-with-python-git-and-the-github-cli-930). You can pull pyaction from either the [GitHub Container Registry](https://github.com/cicirello/pyaction/pkgs/container/pyaction) or from [Docker Hub](https://hub.docker.com/r/cicirello/pyaction).

This release includes the recent updates to both Python and the GitHub CLI.


## Changelog 4.25.0 - 22023-10-04

### Changed
* Bumped GitHub CLI to 2.36.0.
* Bumped Python to 3.12.0.


## Current Version List

This latest release of pyaction includes the following:
* Python 3.12.0
* [GitHub CLI 2.36.0](https://github.com/cli/cli/releases/tag/v2.36.0)
* git 2.39.2
* curl 7.88.1
* gpg 2.2.40



## More Information

Please consider starring pyaction's GitHub repository:

{% github cicirello/pyaction %}

For more information, see my earlier post about pyaction here on DEV, as well as its webpage. 

{% link https://dev.to/cicirello/pyaction-a-docker-container-with-python-git-and-the-github-cli-930 %}

{% embed https://actions.cicirello.org/pyaction/ %}



## Where You Can Find Me

Follow me [here on DEV](https://dev.to/cicirello) and on [GitHub](https://github.com/cicirello):

{% user cicirello %}

Or visit my website:

{% embed https://www.cicirello.org/ %}
Data Science for Beginners: 2023 - 2024 Complete Roadmap
Tags: datascience, beginners, roadmap
Published: 2023-10-04 20:35:52

Data Science is a multidisplinary approach combining various scientific methods from the field of Mathematics,statistics,Machine learning(ML),Artificial intelligence(AI),Specialized programming and advanced analytics to extract actionable insights from large amounts of data.

If you would like to learn and master data science fundamentals and advanced techniques,herein is a roadmap that you can follow to achieve that in 100 days.

**Day 1-10:Learn Python Basics**
Python is a commonly used programming language by data scientists.In the first 10 days you should learn python basics such as syntax,variables,data types,operators,functions and loops.

**Day 11-20:Data Types**
On these days learn and understand all the various types and how to perform operations specific to each data type i.e strings,float,integer,boolean,list,tuples,sets and dictionaries.

**Day 21-30:Statistics and Calculus**
Calculus helps you understand mathematical functions for optimization and modelling in data science while statistics equips with tools to draw insights from data.For calculus,learn differential and integral calculus.In statistics learn descriptive statistics,inferential statistics,probability and statistical distributions.

**Day 31-40:Basic Machine Learning**
Machine learning focuses on making prediction from data learning from similar previous data through algorithms.Here,learn supervised learning,unsupervised learning and reinforcement learning.

**Day 41-50:Deep learning**
Deep learning is subset of Machine learning that involves the use of neural networks to solve complex problems.The key components that constitute deep learning are;Neural networks,deep neural networks,Activation functions,Convolutional neural networks and autoencoders among many other concepts.

**Day 51-60:Data visualization**
Data visualization refers to representing data graphically to communicate insights from complex data.In this phase,learn visualization tools like Matplotlib,Seaborn,ggplot2,Tableau and Power BI and how to plot the various plots and when to use the various plots like histograms,line plots,scatter plots,pie charts and heatmaps.

**Day 61-70:Data Cleaning**
Data cleaning is identifying and correcting errors in the data.In data cleaning learn how to handle missing values,duplicates,inconsistent data,outliers.

**Day 71-80:Projects**
In these 10 days focus on solving as many data science problems as you can.Join online forums such as Kaggle and Datacamp for data science challenges and competitions.While at it,remember to build your online data portfolio on linkedIn and Github.

**Day 81-90:Revise**
Revising all the concepts you have learnt along the way will help to address any areas that you are still lacking.

**Day 91-100:Communication Skills**
Data Scientists need effective communication skills to convey their findings to all stakeholders including non technical team members and executives.Learn key communication skills such as data storytelling,presentation skills,writing skills and visualization skills.
I hate Typescript, is it a shame?
Tags: javascript, typescript, react, discuss
Published: 2023-10-04 20:28:21


But am I alone in this boat, gently rowing down the river of resistance against the **TypeScript ** tide? Or are there others who share this sentiment 😍? Or better yet, are there knights in shining armor ready to defend TypeScript’s honor and educate the peasants like me on the path of righteous coding 🤣🤣?

**I love Javascript but Hate Typescript!**

## Here are some discussion nuggets to chew on:

- Why is TypeScript hailed as the savior of big projects? Is it really the unsung hero in the sprawling chaos of JavaScript?
- For the TypeScript fans, share your “Aha!” moment when TypeScript clicked for you 😎.
- And for my fellow “TypeScript skeptics”, why do you really hate it?