teleren/devto huggingface dataset:
Recycling comes to WhatsApp ♻️
Tags: devchallenge, twiliochallenge, ai, twilio
Published: 2024-06-21 03:44:11

*This is a submission for [Twilio Challenge v24.06.12](https://dev.to/challenges/twilio)*

## What I Built 🛠️
A WhatsApp bot which gives you recycling ideas at your fingertips.
WhatsApp is such a popular and convenient platform, that almost everyone has it. Just message the bot and tell it what you want to recycle. 
It works with text as well as images 🖼️✨

### Motivation
Often times while cleaning my house, I come across stuff I don't need anymore. Wouldn't it be nice to just snap a picture with the most used app on my phone and get instructions on how to recycle it? Well, think no more...

## Demo📱
[Watch the full working demo on GitHub](https://github.com/ansh-saini/recycle-whatsapp-bot?tab=readme-ov-file#just-tell-it-what-you-want-to-recycle)
![Working demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iout7ht5vs0zbqqh4c5s.gif)



Currently the app is running in a sandbox environment. 
Text `join want-correctly` to `+14155238886` OR scan the QR code below.
![QR code to try out the demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h1tsf4zeqy9eqiiwuljc.png)

## Link to code
{% embed https://github.com/ansh-saini/recycle-whatsapp-bot %}

## Twilio and AI ✨
I used the [Twilio Messaging API](https://www.twilio.com/docs/messaging) to setup communication through WhatsApp. I've used [Google Cloud Vision API](https://cloud.google.com/vision/docs/drag-and-drop) to detect what object the sender has captured. Then I've engineered a prompt and fed that to [Open AI's GPT 3.5 Turbo](https://platform.openai.com/docs/models/gpt-3-5-turbo) to get instructions on recycling the object.

## Additional Prize Categories 🏆
Impactful Innovators 

## Some thoughts 🩵
- Working with Twilio has been quite easy. Things are pretty straight forward. I absolutely loved the fact that I didn't have to provide any billing information to get started. 
- I was surprised by the simplicity of the steps needed to started with creating a WhatsApp Bot. Great job Twilio! Definitely going to continue using Twilio for building some cool stuff.
- Thank you DEV Team for organising awesome contests like these :)
CloudForecast Website Revamp
Published: 2024-06-21 03:28:47


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

CloudForecast is a bootstrapped startup specializing in AWS cost management. They simplify AWS cost monitoring and help your tech team optimize budgets, and eliminate excessive expenses.

We’ve helped them to revamp their website’s design, user experience, and SEO practices to engage more users on their site.
Why did we develop HPFS?
Published: 2024-06-21 03:24:35

Why did we develop HPFS? When training with ResNet-50, we use a large number of images, reaching a scale of hundreds of millions. We also need to train the Stable Diffusion model, which requires a staggering amount of data, ranging from tens of billions to hundreds of billions of datasets. We have tried using Lustre, Ceph, GlusterFS, and IBM's GPFS, but all have failed because, at this scale, the performance of all file systems degrades severely, to the point of being unusable. Moreover, our concurrency is very high, with up to hundreds of threads running simultaneously. This is determined by the nature of model training, where a batch of data is simultaneously given to several training models to run concurrently. You can think of it as multiple clients running highly concurrently. In this context, we developed HPFS to meet our high-load training tasks. We do not use the FUSE version of HPFS because of performance limitations; instead, we modified the training model's interface to call the HPFS API for training. In summary, the performance difference between the API interface and the FUSE client is significant.

Today, I will share the performance of these open-source file systems in our use. CephFS with multi-MDS does not scale linearly and requires enough memory to maintain performance, which is quite awkward. Lustre is limited by the central node's performance bottleneck. GlusterFS is limited by the performance of the local file system it relies on, such as EXT4 or XFS, which degrades significantly with many files. GPFS's performance is stable from start to finish but very slow. In the future, we may open source HPFS to help solve the storage problems of massive datasets.

Our performance in use is approximately as follows:

Eight clients, each running 128 threads. HPFS-SRV uses three machines, each running 16 HPFS-SRV instances. The storage data is a cluster of six machines with 8 NVMe each.
Test case: open, write 4096 bytes, close, then open, read 4096 bytes, close.


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


Lustre: 9k
CephFS (multi-MDS): 25k
GlusterFS: 16k
GPFS: 10k
HPFS: 1700k
hpfs github url:
https://github.com/ptozys2/hpfs
SHA-256 in 256 Characters
Tags: devchallenge, cschallenge, computerscience, beginners
Published: 2024-06-21 02:50:06

*This is a submission for [DEV Computer Science Challenge v24.06.12: One Byte Explainer](https://dev.to/challenges/cs).*

## Explainer

<!-- Explain a computer science concept in 256 characters or less. -->
**S**ecure **H**ashing **A**lgorithm 256 uses 8 32 bit hash values derived from the square roots of the first 8 primes. It produces 512 bit blocks which are then smashed back into the 8 32 bit words, which combine to create the 256 bit hash.
## Additional Context

<!-- Please share any additional context you think the judges should take into consideration as it relates to your One Byte Explainer. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

<!-- Thanks for participating! -->
Four months working with NextJS my experience
Tags: nextjs, blog, javascript, react
Published: 2024-06-21 02:50:05

Right now I have been working with next js for around 4 months, and in this post I want to share my personal experience with It. We will lock at the Next JS `14` version, the good, the bad and meh about the framework.

Before NextJS I worked with vue and laravel for the frontend and backend respectivily.

> This is my personal experience with the framework, feel free to leave a comment if you have a different opinion about it.
> 

## The Good

### Parallel Routes

I love the parallel routes, there are so nice, the ability to render some page according with some condition or just simple for better structure inside the project it’s something that I really love.

For example I’m building a dashboard for an application, in that dashboard according with the role of the users, some part of the application need to be render or should have more actions, so the skill to just render a specific page or fragment according that page is really nice.

### All in one place

If you like to work in a single code base, where in the same project you have your backend and frontend and you know react, nextjs is the perfect fit, I really like how easy is to get an endpoint for some part of my app.

This is really good on small apps or apps that just need a little amount of endpoints. I think for a more complex app it’s better to have a specific framework for the backend like laravel, nestjs, django or gin

## The Bad

### Developer server

I hate the developer server of nextjs, If not were for the `--turbo` flag I will not considering next for personal projects. Taking so much time to compile a page, continuous disconnect of sockets, change a color of a button, text, div, and having to wait for 3-10 seconds in the best cases, and I’m talking about small app, it’s somethings that I personal not liked about next.

One of the reasons for this is because sometimes specially when having to make changes in an app that is on production and the users need the change really quick the development server is just a pain.

### Web sockets

I don’t like to use sockets on nextjs, just looking at the integration page of [socket.io](http://socket.io) ([How to use with Next.js | Socket.IO](https://socket.io/how-to/use-with-nextjs)) feel so weird for me, also combining the fact that the developer server is just a nightmare, I prefer to avoid everything related to websockets and nextjs at least for the moment.

### Middlewares

Just why? I don’t like anything about how you are suppose to use the middlewares, they look weird for me, hard to understand and in general not really happy about to use them. Maybe it’s because I don’t have the necessity of using them a lot, so in the future maybe my opinion about middlewares changes, but at the moment they are not my jam.

## Final words

I will share my experience when I have 8 months and working more with some part of next (like middlewares, server components, server actions, more third party integrations, etc).
PP PE Recycling: Addressing the Challenges of Plastic Pollution
Published: 2024-06-21 02:40:30

PP PE Pet Plastic Pelletizing Machine.png
PP PE Recycling Helping Save the Planet From Plastic Pollution



Plastic pollution is a concern that is significant our planet 

It is important to find methods to reduce waste that is plastic recycle it 

PP PE recycling comes as a boon as it will help in reducing pollution that is plastic providing innovative ways to reuse plastic 

We are going to talk about the benefits innovation safety use quality and application of PP PE address and recycling the difficulties of plastic pollution 



Advantages of PP PE Recycling



PP PE recycling provides benefits that are wide ranging the environmental surroundings economy and society 

Recycling plastic helps reduce plastic waste saves power conserves resources and reduces greenhouse fuel emissions 

Reusing plastic also helps in creating services and Products that are brand new reducing the cost of recycleables 

Recycling not merely helps in reducing the landfill space but it also helps in producing jobs and contributing towards the economy 



Innovation in PP PE Recycling



Innovation in the plastic recycling machine industry is day that is growing day 

Companies are using technologies which are advanced AI and automation to really make the process of recycling better 

There are also means that are innovative using microorganisms to break down plastic waste 

These technologies help effectively recycle plastic more and make it cost-effective 



Safety in PP PE Recycling



PP PE recycling is not hard and safe to make use of 

The process of recycling is quick efficient and environmentally friendly 

Recycling companies follow strict safety measures and guarantee that the waste is prepared in a safe and manner that is protected 

They avoid hazardous chemicals that can harm the environment or wellness that is human being 



How to Use PP PE Recycling



Using PP PE pet recycling line products is simple 

Collect all the waste that is separate it by type and deliver it for recycling 

The recycling product companies will take care of the rest 

The waste that is plastic get via a series of procedures making it reusable 

The plastic that is recycled then be employed to make new services 



Service and Quality of PP PE Recycling



PP PE recycling provides a service that is high-quality its customers 

Recycling companies have skilled professionals who guarantee the waste is handled securely and processed effortlessly 

They supply reliable and services which can be timely their clients 

The plastic that is recycled of high quality and may be used to make various items 



Application of PP PE Recycling



Recycled plastic has applications that are various 

It may be used to make containers being new packaging water containers and other 

In industries recycled plastic is used to make automotive components electronic components and also furniture 

The effective use of plastic is vast making it a option that is viable companies and households 


Source: https://www.sinoretech.com/application/plastic-recycling-machine
Breadth-First Search
Tags: devchallenge, cschallenge, computerscience, beginners
Published: 2024-06-21 02:29:52

*This is a submission for [DEV Computer Science Challenge v24.06.12: One Byte Explainer](https://dev.to/challenges/cs).*

## Explainer
I want to find something in my strange house, that has n-floors. I must check all the rooms on the curr floor if I find it then I'm done. If I don't find it in any of the rooms on that floor then, AND ONLY THEN, will I go down to the next floor. 

<!-- Explain a computer science concept in 256 characters or less. -->

## Additional Context

This is my attempt to explain BFS using the `strange house` that is (n) stories tall to act as a representation of the tree data structure. The given example is meant to emphasize the BREADTH in breadth-first search.

When studying algorithms in college it is obvious, in hindsight, the differences between DFS and BFS. However, during undergraduate studies, it is easy for the obvious to become obscured.

With this in mind, I wanted to focus on what makes the Breadth-first approach different from other approaches, which is the fact that this algorithm searches all nodes at the current depth, before traversing nodes at a deeper levels.

<!-- Please share any additional context you think the judges should take into consideration as it relates to your One Byte Explainer. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

<!-- Thanks for participating! -->
PET Recycling Machine: From Waste to Value-Added Products
Published: 2024-06-21 02:26:55

Hfa4b6ed6444040d888d575fa921725bfo.png

Recycle Your animal Bottles with PET Recycling Device



Maybe you have any concept that is fundamental you know the brings about their vinyl containers their dump after eating your selected beverage which is soft. To be a resident that test accountable it is actually our obligation to recycle reuse these containers which are synthetic reduce spend shield the world. 



Advantages of Utilizing PET Recycling Unit



PET Recycling device or cutting-edge unit that will help your transform their spend vinyl containers into value-added Products, you shall recycle your puppy containers to make stuff like polyester content, clothes, carpets, animal that has been furthermore more recent. Saves resources which is often energy which are normal. 



Innovation in Recycling



The gear makes use of an action called pyrolysis, which involves warming the item at greater circumstances inside the not enough atmosphere. The process prevents working the synthetic within their elements being constituent being then condensed to create a product that has been more recent. 



Security Characteristics



Protection which are few arranged to ensure that you'll be able to precisely operate it. It was made to utilize limited intervention that has been individuals reducing the possibility of accidents. It has temperatures force sensors to make sure it operates within the real quantity that are safer. In solution, these devices comes with a exhaust system that releases any gases being harmful are manufactured with the task. 



Using PET Recycling Device



Using pet recycling machine which was simple that is recycling fast. First, you shall have to load the invest that are artificial the equipment, that may immediately began the procedure which was whole from it into valuable products and services. After the procedure test complete, you'll be able to gather the item reuse it. 



Quality concerning the products that are ongoing



The polyester that has been recycled are because more powerful durable because the social people who are virgin. The clothing that was carpets which are recycled likewise stylish comfortable. The typical for the goods created it to fulfills directions being global. 



Applications from the products that are ongoing



​PET Recycling unit or pet recycling line desire are valuable any home because providers which will prefer to reduce invest shield. Which consists of technology that are revolutionary solutions. The typical of the items resembles their virgin counterparts, and so they require a applications being few a few organizations. The polyester that has been recycled might be put to generate a real wide range of textile things like garments, blankets, rugs. 


Source: https://www.sinoretech.com/application/pet-recycling-machine
Test my apify actor
Tags: seo, webscraping, website, apify
Published: 2024-06-21 02:26:08

Hello i created [this actor](https://apify.com/ahmed_elkurdi/keyword-finder) that that can help you get  keyword metrics for SEO.
It scrap public seo data from different resource so you can do keyword research .

You can use its api on your project .

Thanks

[Keyword Finder](https://apify.com/ahmed_elkurdi/keyword-finder)
Profiles in Visual Studio Code (VSCode)
Tags: vscode
Published: 2024-06-21 02:04:22

## Overview
Profiles in VSCode allow you to create and manage personalized setups for your coding environment. This feature is especially useful if you work on different projects that require distinct configurations, extensions, and settings. With profiles, you can quickly switch between different setups without manually changing your settings each time.
## Key Features
- Customizable Setup:
Each profile can have its own set of extensions, themes, keybindings, and settings.
- Easy Switching:
Quickly switch between profiles to adapt your development environment to different projects or workflows.
- Export and Share:
Export your profiles and share them with team members to ensure a consistent development environment.

## How to Use Profiles
- Creating a New Profile:
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Type and select "Preferences: Create Profile".
Give your profile a name and customize it as needed.
- Switching Between Profiles:
Open the Command Palette.
Type and select "Preferences: Switch Profile".
Choose the desired profile from the list.
- Managing Profiles:
Open the Command Palette.
Type and select "Preferences: Manage Profiles".
Here, you can rename, delete, or export profiles.
- Exporting and Importing Profiles:
To export a profile, use the "Preferences: Export Profile" command from the Command Palette.
To import a profile, use the "Preferences: Import Profile" command and select the exported profile file.

## Example Use Cases
- Different Project Types:
Web Development: A profile with extensions and settings for HTML, CSS, JavaScript, and frameworks like React or Angular.
Python Development: A profile with Python-specific extensions, linters, and settings.
- Different Workflows:
Debugging: A profile optimized with debugging tools and configurations.
Writing Documentation: A profile with Markdown preview extensions and focus mode settings.
- Team Collaboration:
Share a standardized profile with your team to ensure everyone has the same development environment, reducing setup time and inconsistencies.

## Benefits
- Productivity: Quickly switch between different setups tailored to your current task, saving time and reducing context switching.
- Consistency: Maintain a consistent environment across different projects and team members.
- Customization: Tailor your coding environment to match your preferences and requirements for each specific task or project.
Plastic Recycling Machines: Driving Innovation in Waste Management
Published: 2024-06-21 02:06:35

H278a87e695b04ac98a29569fccae6303V.png

Plastic Recycling Products Revolutionizing Waste Management



Introduction



Pollution is amongst the larger problems coping with our planet nowadays. Waste management are smoother than before because it build amongst the unit has made them significantly dependable efficient. 



Importance



One of the main biggest great things about artificial recycling machines was they lessen smog. Whenever elements being artificial disposed of, they decompose, releasing harmful chemicals which can be chemical to the surroundings, we decrease the amount of it which will otherwise have now been developed. 



Innovation



Plastic recycling machines or modern equipment need the capacity to it that wider choice of artificial products, compared to variations being earlier. They've been built to handle many plenty of invest, creating recycling faster less labor-intensive. 



Protection



Most of them have actually really used protection service automatic shut-off mechanisms to prevent accidents. The Products are designed to minimize experience of fumes being chemicals that are harmful are chemical the recycling procedure. 



Use



Utilizing Plastic Crusher/Grinder which is artificial is easy. It needs interfaces which are touch-screen make it easy to operate get a handle on. These services of the products provide instructional manuals, which could make them user friendly for both novices specialists. 



How to take advantage of



To train a recycling on that are artificial, follow these actions being easy: 

one. gather their artificial spend. 

2. Sort your vinyl content by type. 

3. Feed the its items to your unit. 

4. Turn the unit on stick to the rules concerning the display which are touchscreen. 

5. await the its to accomplish recycling the plastic. 

6. Gather the items which are recycled eliminate any invest that was leftover. 



Service



Services amongst the unit incorporate excellent after-sales company, such as services that has been servicing that was technical fix. They build warranties which protect any defects to the unit with the guarantee length. Their customer service is usually excellent, services which can be numerous being having available 24/7. 



Quality



The standard of the items or equipments are created to expel impurities with the plastic, creating a product that test top-notch. The content that is recycled the ability to be provided because reused, further reducing polluting of the environment. 



Application



Their applications of plastic items was endless. They could be placed to generate a wide range of product, like plastic bags, containers, as well as other items which are artificial. The plastic recycling machine being recycling revolutionized invest management, which makes it easier and many other things efficient. Innovations in they are developed by these significantly dependable safer for the environmental surroundings people. 


Source: https://www.sinoretech.com/Plastic-crushergrinder