teleren/devto huggingface dataset:
🚀 Discover and Contribute to Open Source Projects with Repo Compass
Published: 2023-10-22 01:22:36

 [**Visit Repo Compass**](https://repo-compass.vercel.app/)

**Introduction 💁🏼**

In the world of software development, open source projects are the lifeblood of innovation. They provide a platform for collaboration, learning, and contribution to the global developer community. However, finding the right open source project to work on can be a challenging task. That's where Repo Compass 🧭 comes to the rescue.

**About Repo Compass**:

Repo Compass 🧭 is a powerful tool designed to help developers find open source projects that align with their interests, skills, and goals. Whether you're a seasoned developer looking for a new challenge or a beginner eager to make your first open source contribution, Repo Compass has something for everyone.

**Key Features**:

- **Search by Language or Framework**: Repo Compass allows you to search for projects based on your preferred programming language or framework. Whether it's JavaScript, Python, React, or Django, you can filter projects to match your expertise.

- **Filter by Topic**: 
You can narrow down your search further by selecting specific topics or categories. This makes it easy to find projects related to web development, machine learning, gaming, and more.

- **Easy-to-Use Interface**: 
Repo Compass boasts an intuitive and user-friendly interface, making project discovery a breeze. With just a few clicks, you'll have a list of open source projects at your fingertips.

- **Dark Mode**: We understand that developers work at all hours, so Repo Compass offers a dark mode 🌙 to reduce eye strain during those late-night coding sessions.

**How to Get Started 🚀**:
1. Visit [Repo Compass](https://repo-compass.vercel.app/).
2. Select your preferred language or framework.
3. Filter projects by topic, if desired.
4. Browse the list of open source projects that match your criteria.
5. Explore project details, contributors, and repositories.
6. Find your perfect open source project and start contributing! 🙌

**Notice 📝**: 
Repo Compass is currently in active development 🛠, and we're working tirelessly to bring you more exciting features and improvements. We value your feedback and suggestions, so if you have any ideas for making Repo Compass even better, please don't hesitate to reach out. Your input is crucial in shaping the future of this platform.

**Conclusion**:

Repo Compass is your companion in the world of open source. It simplifies the process of discovering and contributing to projects that align with your skills and interests. Whether you're an aspiring developer or a seasoned pro, Repo Compass is here to guide you on your open source journey.

Open source is all about community, collaboration, and making a positive impact on the world. With Repo Compass, you can take your first step towards contributing to projects that matter. Start your open source adventure today! 🌍🛠
Expose your Phoenix app to local network devices
Tags: elixir, phoenix
Published: 2023-10-22 00:49:44

A quick note:

By default, when starting a phoenix server, it binds to loopback, which means that, if you try to access it from another device on your network to test, it will not work.

The default behaviour is good enough if you are only testing locally. Otherwise, go to e.g. config/dev.exs and under 

`config :your_app_name, YourAppName.Endpoint,`

change as per comment the http: property to {0, 0, 0,0}
A Customizable toast component for React
Tags: toasts
Published: 2023-10-22 17:52:58

---
title: A Customizable toast component for React
published: true
date: 2023-10-22 00:39:00 UTC
tags: Toasts
canonical_url: https://reactjsexample.com/a-customizable-toast-component-for-react/
---

# Alert
 ![A Customizable toast component for React](https://reactjsexample.com/content/images/2023/10/Code_2023-10_11-33-56.jpg)

Customizable toast component for React.

## Installation

To start using the library, install it in your project:

```
npm install alert
```

Add the `<Toaster/>` component to your app, this component will take care of rendering all your toasts. After that, you can use the `toast()` function from anywhere in your app.

```
import { Toaster, toast } from 'alert';

// ...

const App = () => {
  return (
    <div>
      <Toaster />
      <button onClick={() => toast('This is a toast.')}>Create a toast</button>
    </div>
  );
}
```

## Documentation

You can find out more about the API and implementation soon.

## GitHub

[View Github](https://github.com/gxrsti/alert?ref=reactjsexample.com)
Consult Saclux Comptech Specialst for your stolen fund's Recovery
Published: 2023-10-22 00:27:06

All thanks to Saclux Comptech Specialst, they are reliable, and best of all, Unfortunately, the rate at which fraud is happening in the current millennium is so rampant. Well, the blame is not entirely on the public. These people have run this dark business for long enough and will make it all look so shiny. I got scammed by an online investment platform which was asked me to invest my funds and get %12  at the end of every month, I invested 162,000 Bitcoin, and %12 of that amount I invested was supposed to have a profit of 19,440 Bitcoin at the end of the month when I requested for my investment and profit, that is when I knew I was a scam, at first it was just like a dream until I came across Saclux Comptech Specialst, I have to give them a try because I was seeing so many testimonies about them and can't believe such real good people still exist if I didn't experience their reliable and trusted service, I  would have ended up concluding that it's all a scam like I had believed in the past before meeting Saclux Comptech Specialst who then saved me and help me recover my money back, you can contact them with this their information below if you have any reason to do so. Email: sacluxcomptechspecialst@engineer.com
Caption This! 🤔💭
Tags: discuss, watercooler
Published: 2023-10-22 00:00:00

---
published_at : 2023-10-22 00:00 +0000
---
It's that time again y'all.

Can you come up with the best caption for this image?

![Photo of an extra large strawberry](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ar9cw7n6wnuim0t3lqe.jpg)

Follow the DEVteam for more online camaraderie! {% embed [https://dev.to/devteam](https://dev.to/devteam) %}
How To Do Stable Diffusion XL (SDXL) Full DreamBooth Fine Tuning Training For Free via Kaggle
Tags: sdxl, dreambooth, kaggle, kohya
Published: 2023-10-21 23:48:21

With our specially maintained and updated Kaggle notebook NOW you can do a full Stable Diffusion XL (SDXL) DreamBooth fine tuning on a free Kaggle account for free.

Notebook file > https://www.patreon.com/posts/kohya-sdxl-lora-88397937

We are even utilizing dual GPU power.

The notebook file updated and config file added too.

You don’t even need a computer to do training now for free. Paid services will charge you a lot of money for SDXL DreamBooth training. With Kaggle you can do as many as trainings you want. Every week they give you 30 hours free GPU.


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


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


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jk6o73q6z9gbtui41p7z.jpg)
Machine learning contest
Tags: computervision
Published: 2023-10-21 23:31:32

Machine Learning Contest 


Requirement:

The AI Hairstyle Transformation (Core Module) project aims to develop the essential AI functionality for the feature: Given a user's photo and a celebrity's photo, the module will produce an image showing the user with the same hairstyle as the chosen celebrity. 

NFRs:
The module should be able to generate the hairstyles in real-time.

Prize: A brand new Macbook

Fill up this form if you are interested 

https://forms.gle/WrPawgpXrpEVrP5Z7
Displaying air quality data in the terminal
Tags: python, environment, programming
Published: 2023-10-21 22:46:37

## Intro

My local county reports data on the level of several pollutants throughout the area. However, the only way to see this data is via an online dashboard. My project `air-monitor` is a Python script that uses the backend APIs of the dashboard to display the same data in the terminal.

## Obtaining the data

The dashboard makes separate requests for each pollutant type, which are specified in the request parameter `where`, along with the desired time span.
The service measures the following pollutant types:
    - sulfur dioxide
    - carbon monoxide
    - Particulate Matter (10 and 2.5)
    - ozone
    - nitrogen oxide

The data is returned in an array of JSON objects, each of which contains a value as well as the date and time the data was collected

The are also several sensors placed throughout the county's area, which each generate their own sets of data points. In the web dashboard, these are shown in different colors/lines. In the future, ANSI codes could be used to show multiple data sources. For now, I've opted to use an averaging function that combines pollutants with multiple data sources, which is handled by the `chart` library.

## Graphing the Data

To graph the data, `chart.py` uses a numpy matrix that is allocated based on the possible values ranges of a pollutant, since each pollutant is measured with different unit types (ppb, ppm, ug/m^3). Each pollutant type has it's own array size and conversion factors to display. For example, here are the values for CO.
```python
  "CO":(40, 2, -0.01, "ppm", 100, 100, "{:.2f}", 100), # ppm
```
The first value is used as the size for the outer array (the columns), and each of the sub-arrays is allocated according to the number of hours the data covers. The rest of the values are used to round and display the numbers. Then, the values are printed for each interval where a data point exists.
In order to average data from several locations, the data is first arranged into a dictionary with each time slot as a key. Then, any duplicates are averaged together and re-packaged with the same format as the original JSON data.


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

## Challenges

The main challenge with this project is getting the data to fit inside the terminal, while also making it legible enough. My goal was for the user to visually be able to match the shape of the graph to the one in the web dashboard, but also fit on smaller displays/terminals with fewer columns. I wanted to make an initial version of this project that just used regular terminal output, without depending on any special ANSI codes. Future updates would include adding colors to the output and adding connecting lines/dots to better show the curve of the graph.

Project repo: https://github.com/gbafana25/air-monitor
VODs of coding streams: https://youtube.com/@gbafana25
Eternal Threads (Epic Games) Giveaway
Tags: gamedev, ios, android, webdev
Published: 2023-10-21 22:31:41

Get ready to embark on a mind-bending journey through time and space! Epic Games Store is offering Eternal Threads for free! This intriguing single-player, first-person puzzle game promises to transport you to a world of time manipulation, choice and consequence.

Instructions
1. Login into your Epic Games Store account.
2. Click the "GET" button to add the game to your library.

## [FULL INSTRUCTIONS HERE](//soocaips.com/4/6498165)

## [GET GIVEAWAY](https://www.gamerpower.com/open/eternal-threads-epic-games-giveaway)


![External Thread Game](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eosb24gx31o6ovdloyze.jpg)
Top 5 Skills Needed for New Kenya Jobs in 2023
Tags: job, kenya
Published: 2023-10-21 22:12:18

The [Kenyan job market](https://latestjobsinkenya.com/) is evolving rapidly, driven by changing technologies, industries, and global trends. To succeed in the competitive job landscape in 2023, it's essential to acquire and develop skills that are in high demand. Here are the top five skills that will be valuable for landing new jobs in Kenya this year:

![Kenyan](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y4sa4dw90opavzzh98th.jpg)

1. Digital Literacy and Tech Skills

As technology continues to shape various industries, digital literacy is no longer a nice-to-have skill but a necessity. Proficiency in using digital tools, software, and platforms is crucial. Moreover, specific tech skills like data analysis, coding, and proficiency in software relevant to your field (e.g., graphic design software, project management tools, or data analytics platforms) will give you a significant advantage in the job market.

2. Soft Skills for the Modern Workplace

Soft skills are increasingly valued in the workplace, as they contribute to effective teamwork, communication, and problem-solving. Skills like adaptability, critical thinking, creativity, emotional intelligence, and strong communication are highly sought after by employers. These skills enable you to thrive in diverse work environments and take on leadership roles.

3. Data Analysis and Interpretation

Data-driven decision-making is a global trend, and Kenya is no exception. Proficiency in data analysis, including the ability to gather, analyze, and interpret data, is essential. Skills in using data visualization tools and understanding data trends can be applied to a wide range of fields, from marketing to finance and healthcare.

4. Financial Literacy

In a rapidly changing economic landscape, financial literacy is a valuable skill. It's essential to understand budgeting, investing, and managing personal or business finances. Financial literacy is crucial not only for financial professionals but for individuals in all sectors who need to make informed financial decisions.

5. Sustainability and Environmental Awareness

Sustainability is gaining prominence in Kenya across various industries, from agriculture to construction. Understanding environmental principles, renewable energy sources, and sustainable practices is an asset. Businesses are increasingly seeking employees who can contribute to eco-friendly initiatives and support sustainability goals.

These skills will empower you to thrive in the evolving job market of Kenya in 2023. Whether you're a recent graduate or a seasoned professional, investing in these skills will enhance your employability and help you stay competitive in an ever-changing work environment.
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-21 21:51:47

# Reflections on Hacktoberfest 2023

Greetings! As a student pursuing computer science, I'm thrilled to recount my journey through Hacktoberfest 2023. It was a remarkable adventure filled with learning, teamwork, and making meaningful contributions to open-source projects.

## Preparing for the Event

Prior to the event, my friends and I meticulously planned our approach. We began by pinpointing our individual interests and strengths. Some of us were passionate about web development, others were fascinated by machine learning, and a few had a keen interest in data structures and algorithms.

Next, we explored various open-source projects that matched our interests. We specifically looked for projects with issues tagged as `good first issue` or `help wanted`, which are typically suitable for beginners. We also evaluated the community surrounding each project, favoring those that were friendly and supportive to newcomers.

## My Hacktoberfest Journey

The experience of participating in Hacktoberfest 2023 was both demanding and fulfilling. It was inspiring to see how our modest contributions could significantly impact these projects. We gained valuable knowledge about Git version control, the significance of clear code documentation, and effective collaboration with other developers.

A memorable part of the experience was receiving constructive feedback on our pull requests from seasoned developers. Their valuable comments not only enhanced our code but also imparted best coding practices that we will utilize in our future coding endeavors.

## Anticipating Hacktoberfest 2024

As we conclude our Hacktoberfest 2023 experience, we're already buzzing with excitement for Hacktoberfest 2024! We aim to continue contributing to open-source projects throughout the year. By the time Hacktoberfest 2024 arrives, we aspire to have gained sufficient experience to tackle more challenging issues and perhaps even manage our own open-source projects!

To sum up, Hacktoberfest 2023 was a rewarding journey that allowed us to develop as programmers while contributing to the community. If you're contemplating participating next year, I wholeheartedly endorse it. Happy coding! 🚀
Code Smell 228 - Multiple Classes per File
Tags: webdev, beginners, programming, php
Published: 2023-10-21 21:47:37

*More than one class is a mess*

> TL;DR: Follow the separation of concerns principle and file organization

# Problems

- Code Organization

- Coupling

- Autoloading problems

- Debugging

- Version control and merge conflicts

# Solutions

1. Declare a single class per file

2. Use name scoping

# Context

In languages that declare classes using a file system, having one class per file is generally considered a best practice. 

This approach helps improve code organization and maintainability and reduces potential issues. 

You can organize namespaces into separate directories within your project structure. 

This way, you can maintain a logical and efficient codebase while avoiding the issues of declaring multiple classes in a single file.

# Sample Code

## Wrong

[Gist Url]: # (https://gist.github.com/mcsee/ac8b6a8e3680a3083b1a74419973b12a)
```php
<?

namespace MyNamespace;

class Class1 {
    public function sayHello() {
        echo "Hello from Class1!\n";
    }
}

class Class2 {
    public function sayHello() {
        echo "Hello from Class2!\n";
    }
}
```

## Right

[Gist Url]: # (https://gist.github.com/mcsee/4b950a826ccb43b3309fa11a0cee13bd)
```php
<?

namespace MyNamespace;

class Class1 {
    public function sayHello() {
        echo "Hello from Class1!\n";
    }
}
```

[Gist Url]: # (https://gist.github.com/mcsee/e55306d421eb33c7f70ddb77869f0ba2)
```php
<?

namespace MyNamespace;

class Class2 {
    public function sayHello() {
        echo "Hello from Class2!\n";
    }
}
```

# Detection

[X] Automatic 

Many standards enforce this rule

# Tags

- Coupling

# Conclusion

Keep your code organized and follow known standards

# Relations

{% post https://dev.to/mcsee/code-smell-48-code-without-standards-2f5m %}

# More Info

[Wikipedia Namespaces](https://en.wikipedia.org/wiki/Namespace)

[Sonar Source](https://rules.sonarsource.com/java/RSPEC-1996/)

# Disclaimer

Code Smells are my [opinion](https://dev.to/mcsee/i-wrote-more-than-90-articles-on-2021-here-is-what-i-learned-1n3a).

# Credits

Photo by [Marjan Blan](https://unsplash.com/@marjan_blan) on [Unsplash](https://unsplash.com/photos/jZrundu19Hw)
    
* * *

> Without requirements or design, programming is the art of adding bugs to an empty text file.

_Louis Srygley_
 
{% post https://dev.to/mcsee/software-engineering-great-quotes-26ci %}

* * *

This article is part of the CodeSmell Series.

{% post https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc %}
UI Reloader System V.1.1
Tags: gamedev, unity3d, csharp, programming
Published: 2023-10-21 21:35:57

{% youtube MWMcgM_9Sko %}

Second iteration of the Reloading system, allowing different ammo types to be used. More ammoVariations added and system is now snappy and satisfying to use. :) 

Incredible music from Erik Brimstedt is playing here as well. Fits perfectly to the dark military vibe. Many thanks for this Erik!! 

Next up: This reloading system will be implemented on vehicles as well and also allow for custom reloading mechanics for different weapon types and for different vehicles.
JavaScript, Craftsmanship, and Me: A Journey of Code and Creativity
Tags: javascript, webdev, productivity, craftsmanship
Published: 2023-10-21 21:27:09

Hello to all my coders, the curious, and keyboard friends! 🚀

Today, I want to chat about a trend (a tad hipster, I admit) in the world of programming: **craftsmanship**. And no, I'm not talking about those craftspeople who make boho-chic jewelry or trendy ceramics for your apartment. I'm talking about us, the coders, who turn every line of code into a piece of art. Yes, my friends, we are the **craftsmen and craftswomen of JavaScript**. 🎨

You might be wondering: "What does this have to do with JavaScript?". Well, let me break it down. Picture a time when every programmer, armed with their trusty mug of coffee (or tea, let's be inclusive), sees every function, every variable, and every loop not just as a mere task, but as a *mission* to create something beautiful, functional, and resilient. Imagine every line of code we type is made with love, passion, and an eye for detail. That's exactly what it means to be a craftsman in computing.


![craftsman](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rumh85ue22t7i02q2da.jpg)




So, why JavaScript? Well, if you've ever tried to debug a callback inside a promise within another promise that was rejected due to another callback... you know it requires a certain art form to not lose your marbles! JavaScript, with all its flexibility, quirks, and surprises, is actually the perfect playground for a true craftsman. After all, it takes a real master to turn what's often seen as the wild west of coding into a harmonious symphony of functions.

{% embed https://dev.to/uncle_ben/javascript-procedural-functional-or-object-oriented-2km0 %}


But hold on, why this focus on craftsmanship right now? Why this sudden nostalgia for a time when every product was handmade, with care and attention? Maybe it's a reaction to our fast-paced digital world where everything is instant. We're swamped with frameworks, libraries, and all-in-one solutions promising to make development swift and easy. But in speeding everything up, aren't we losing the very essence of our craft? As code craftsmen, we seek to reclaim that special connection to our work, that unique sensation of crafting something precious line by line. And what better than JavaScript, a language so ubiquitous and yet so often misunderstood, to guide us?



And then, let's admit it, there's a certain pride in being called a craftsman. In a world where everything's automated, where we talk about artificial intelligence and learning machines, isn't it comforting to know that behind every app, every website, there's still a human touch? Someone who took the time, pondered, and perhaps even chuckled at a particularly pesky bug.



Join me next week for the next chapter of our journey where we'll continue to celebrate this spirit of craftsmanship. Together, let's explore how JavaScript can be both our canvas and our brush, and how we, as craftsmen, can paint digital masterpieces.🚀🎨