teleren/devto huggingface dataset:
How to get text from any YT video | Free transcribe program 🖹
Tags: whisper, streamlit, python, tutorial
Published: 2023-08-11 08:24:34


Check out the video tutorial: 
https://www.youtube.com/watch?v=b9oyBebJCK0

Looking to transcribe text from YouTube videos effortlessly?  In this step-by-step tutorial, I will guide you through the process of setting up Video2Text on your local computer for a seamless text extraction experience.

🔗 Get started with Video2Text:

📂 Clone the Video2Text repository: git clone https://github.com/XamHans/video-2-text.git

📁 Navigate to the 'webserver' directory

🔧 Install required dependencies: pip3 install -r requirements.txt

➡️ If you encounter a 'streamlit' recognition error, execute this command in your terminal: export PATH="$HOME/.local/bin:$PATH"

🚀 Launch the Video2Text app: streamlit run app.py

🌐 Access the Video2Text interface: Open your browser and go to http://localhost:8501

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



🆓 Video2Text is free to use and open-source:
GitHub Repository: https://github.com/XamHans/video-2-text.git

🔗 Helpful Links:
PyTube Documentation: https://pytube.io/en/latest/
OpenAI Whisper Documentation: https://github.com/openai/whisper


Thanks for reading 

[Johannes](https://jhayer.tech)
Add or Remove WooCommerce Messages (with Codes)
Tags: woocommerce, programming, tutorial, devops
Published: 2023-08-11 08:01:12

Managing error messages in WooCommerce can be done by using several handy functions. To add a new custom error message, the wc_add_notice() function can be used, specifying the error text as the first parameter and the error type ('error', 'success', etc) as the second parameter. This will display the message to the user. To remove existing default WooCommerce error messages, the wc_clear_notices() function can clear all notices simultaneously.

For more granular control, wc_clear_notice() targets specific notice types and IDs. Additionally, wc_clear_notices_by_id() clears notices for a particular user ID, which is useful for clearing messages after processing a form submission. Overall, WooCommerce provides flexible functions to conveniently add new error messages for specific scenarios and clear default or no longer relevant error messages to improve the user experience and interface. Developers can tap into these functions to integrate custom validation messaging seamlessly and keep the store interface clean.

## To add a custom error message:

Use the wc_add_notice() function. For example:

`wc_add_notice( 'Your custom error message', 'error' );`


The first parameter is the error message text, the second parameter is the error type ('error', 'success' etc).

## To remove default WooCommerce error messages:

Use the wc_clear_notices() function. This will remove all notices:

`wc_clear_notices();`


## To target specific notices, you can use:

`wc_clear_notice( $notice_type, $notice_id );`

Where $notice_type is 'error', 'success' etc and $notice_id is the notice name.

## To remove errors after processing a form, use:

`wc_clear_notices_by_id( get_current_user_id() );`

This will clear notices for the current user.
Conclusion: 

- wc_add_notice() to add new errors
- wc_clear_notices() to remove all notices
- wc_clear_notice() to remove specific notices
- wc_clear_notices_by_id() to remove notices for a user

Hence, WooCommerce provides a set of useful functions to give developers control over displaying error messages to users. By utilizing wc_add_notice(), new custom validation messages can be added to enhance feedback to customers. Furthermore, the wc_clear_notices() function along with more targeted counterparts like wc_clear_notice() and wc_clear_notices_by_id() enable developers to clear unneeded default or stale error notices from the interface.

Implementing these functions allows the integration of custom validation logic and messages while maintaining a clean, user-friendly experience in WooCommerce stores. The flexibility they provide for managing feedback and notifications ultimately improves the customer journey and elevates the quality of the site. Leveraging these built-in WooCommerce tools for error messaging is a best practice for developers seeking to enhance eCommerce sites.
Comprehensive Neural Network Resource Compilation: Learn and Build with Open Source Projects
Tags: github, beginners, guide, ai
Published: 2023-08-11 07:57:59

Are you interested in diving into the fascinating world of neural networks and harnessing their potential to develop cutting-edge web services? Look no further! I'm thrilled to introduce you to an invaluable resource that gathers a wealth of educational materials and open source projects, all in one convenient location.

🔗 GitHub Repository: [help.wladradchenko.ru](https://github.com/wladradchenko/help.wladradchenko.ru)

Whether you're a beginner seeking to grasp the fundamentals of neural networks or an experienced enthusiast looking to leverage neural networks for web services, this repository has something for everyone. It's designed to be a hub where you can explore, learn, and contribute to the exciting field of neural networks.

📚 Educational Materials
Inside the repository, you'll discover a curated selection of educational materials that cover various aspects of neural networks. 

🌐 Open Source Projects Galore
The repository is also home to a diverse array of open source projects featuring neural networks. For example, inside you will find an open-source project to generating captivating deepfakes and speech synthesis by Wunjo AI. I have written about this before in this [post](https://dev.to/wladradchenko/unleash-creativity-with-wunjo-ai-synthesize-speech-and-create-deepfake-videos-on-free-open-source-project-58o2). As you explore these projects, you'll gain practical insights into how neural networks can enhance web services and transform user experiences.

🚀 Embrace the Future
As the world of open source projects continues to evolve, the repository will grow alongside it. 

So, you can check out the resource on [English](https://github.com/wladradchenko/help.wladradchenko.ru), [漢語](https://github.com/wladradchenko/help.wladradchenko.ru/blob/main/README_zh.md), [중국인](https://github.com/wladradchenko/help.wladradchenko.ru/blob/main/README_ko.md) and [Русский](https://github.com/wladradchenko/help.wladradchenko.ru/blob/main/README_ru.md)

Have a fun day! 🌟
SolidJS Code Snippets
Tags: webdev, solidjs, snippets, vscode
Published: 2023-08-11 07:56:04

This is a collection of code snippets for Solid.js, a declarative JavaScript library for building user interfaces.

[https://github.com/junsantilla/solidjs-code-snippets](https://github.com/junsantilla/solidjs-code-snippets)

## Usage
1. Install the extension in Visual Studio Code.
2. Open a Solid.js file.
3. Type the snippet prefix and select the desired snippet from the autocomplete suggestions.

## License
This extension is released under the MIT License. Feel free to modify and use it to improve your Solid.js development workflow.

Enjoy!
First Commit: Introducing to Commuity!
Tags: github, webdev, javascript, programming
Published: 2023-08-11 07:38:53

commit 1234abcd5678efgh9012ijklmnopqr
Author: JP <behre****@gmail.com>
Date: 2023-08-11

First Commit: Introducing to Community!

**Hello everyone! 🚀**

- Name: JP
- From: Karlsruhe
- Specialties: HTML, CSS, JS, and a sprinkle of PHP
- Fun Fact: Can debug while sipping coffee without any spills!

Excited to collaborate and get to know everyone better!
Junior developer interviews are the easiest to pass but 90% of developers fail. why???
Published: 2023-08-11 07:36:29

Interviews for junior developers are the easiest to succeed at, however 90% of developers fail.

Why? **Juniors don't have the proper priorities in mind**
What you must do to succeed in entry-level interviews is as follows:

1. **Nail the behavioral questions**
You are a junior. Expectations for you are low but they need you to be of the utmost behavior and aura.
Here, you need to be charming. Demonstrate your ability to be a strong team player.
 Drop your ego. While predominantly a technical interview, some behavioral questions might be included to assess your psyche and how well you handle various situations. 

Can you describe a situation where you disagreed with a team member about the best approach to solving a technical problem? How did you handle the disagreement, and what was the outcome?

_Have you ever encountered a situation where you felt overwhelmed by the workload or the complexity of the tasks? How did you manage your stress and ensure the quality of your work remained high?_

2. **Testing and Debugging Skills**
Was out with a friend once and he to me that A CTO asked for his GitHub. The first comment was:**_"I don't see any automated tests for your projects". 
_**
That alone was a dealbreaker.

Don't just build shiny stuff, test your apps.
Questions related to testing principles, writing test cases, and debugging code will be asked.
If you cannot test basic apps properly, don't apply. 
Give yourself 2 weeks and learn to test.

3. **Master everything about Git and version control
**
The foundation of a multiteam collaboration is version control. 

Together with the other developers in your team, you will be building simultaneously. 

Study version control as much as you can. All the essentials can be covered in a week.

4. **Learning and adaptability**
_"It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change"_ - Charles Darwin

They will ask you questions about your interest in learning new technologies, your background in self-directed learning, and your aptitude for picking up new abilities quickly.

They will discover a letter candidate who can persuade them if you don't succeed here. 

Make it seem optimistic since, as a junior, they are investing in your future rather than what you can currently do right now.
Certified-Data-Architecture-and-Management-Designer Exam Dumps
Published: 2023-08-11 07:34:05

<b><a href="https://dumpsarena.com/salesforce-dumps/certified-data-architecture-and-management-designer/">Certified-Data-Architecture-and-Management-Designer Exam Dumps</a></b> If you want to have the best Salesforce Certified-Data-Architecture-and-Management-Designer Exam Dumps for the Salesforce Certified Architecture Designer Exam, then you need to opt for the real practice Salesforce Certified-Data-Architecture-and-Management-Designer Exam Dumps which are latest suitable for this purpose. This -Architecture-Designer pdf dumps can be for sure helpful for the candidate to get through the Salesforce Certified Architecture Designer Exam! 

Latest (2023) Salesforce Certified-Data-Architecture-and-Management-Designer Exam Dumps PDF Material you have the latest Salesforce Certified-Data-Architecture-and-Management-Designer Exam Dumps pdf available for the Architecture Designer -Architecture-Designer exam in <b><a href="https://dumpsarena.com/salesforce-dumps/certified-data-architecture-and-management-designer/">Certified-Data-Architecture-and-Management-Designer Exam Dumps</a></b> pdf format. This is essential in such a way that one can easily download verified -Architecture-Designer exam questions and answers pdf it anywhere. You can practice them in your PC, Laptop and smart phone. Salesforce -Architecture-Designer practice questions from is the best form of the learning materials available for you.
POWER BI (with workshop)
Tags: beginners, productivity, career
Published: 2023-08-11 07:23:48

**Power BI:**
Microsoft's analytics tool, transforms data into visual insights. Create interactive reports, connect to diverse data sources, and facilitate data-driven decisions, making it essential for businesses.
**Data visualization tools** help transform complex data into easy-to-understand visual representations, aiding in insights and decision-making. 
**Examples** include Tableau, Power BI, Excel charts and Google Data Studio.
we prefer Power BI for its simple user interface and seamless Microsoft connection. For companies looking for strong data visualization capabilities, Power BI is a top preference.
**workshop experience:**
In the Power BI workshop, I learned a lot of things, including how to load and prepare data for Power BI, create reports, dashboards, and visualize data.

I performed labs at a power BI workshop where I presented my abilities to perform a number of tasks, such as:

- I understand the purpose of data and know familiar with how to load it.
- I used Power BI to create captivating visualizations and reports.
-I Explored data sources for effortless integration, which include SQL, Excel, and the web.
-In the workshop, I discovered how to correct data inconsistencies to improve quality.
-For better insights, I created model data, construct relationships, and build star schemas.

#datacamp
#DevConect
#GDSC-KIET
#PowerBI
#DataVisualization
#Reports
ToUI: Create user interfaces from only Python and HTML code
Published: 2023-08-11 07:19:06


ToUI is a **Python framework** for creating **user interfaces** (web apps and desktop apps) **from HTML code** easily. It allows you to call your Python functions from HTML. **Knowledge in JavaScript is not required**. I tried to make it is simple to understand for programmers who only know Python and HTML. I appreciate any feedback, question, and contribution to the package and I hope you find it useful.

GitHub repo: https://github.com/mubarakalmehairbi/ToUI

Documentation: https://toui.readthedocs.io/en/latest/

Live preview of a web app created using ToUI: https://toui-92bd1594dbed.herokuapp.com/

Installation:
```
pip install toui
```
Where ViewModel should be placed in clean architecture?
Tags: dotnet, beginners
Published: 2023-08-11 07:17:12

One of my friends asked me that where ViewModel should be placed in clean architecture? 

Here was my answer:

As a professional .NET developer following the Clean Architecture principles, View Models should be placed in the Presentation Layer. In the context of Clean Architecture, the Presentation Layer is responsible for handling user interfaces, user interactions, and adapting the data from the Domain Layer into a format suitable for the views.

The Presentation Layer is the outermost layer of the application, and it depends on the Application Layer, which in turn depends on the Domain Layer. The View Models act as an intermediary between the Presentation Layer and the Application Layer, providing the necessary data and behavior to be displayed in the user interface.

To summarize, View Models belong to the Presentation Layer, which is part of the outer ring of the Clean Architecture. Placing them in this layer helps ensure a clear separation of concerns, maintainability, and testability of the application.


![Clean Architecture diagram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azb8b1h8rkzaaq3pfeeu.jpeg)
遠端 Remoted 前端
Tags: javascript, react, vue, remote
Published: 2023-08-11 07:03:34

❤️#贝博体育 #贝博体育大家庭的伙伴 #PURRGIS
❤️以下只是部分岗位，具体的请联系我寻找合适岗位！
❤️每月补贴 4000RMB - 薪资发U当天汇率
❤️办公地址：马卡提 - Salcedo Market 附近
❤️全岗位月休6

产品研发部 - 不限国籍 - 外籍远端
薪资待遇：25K-45K 区间

** WEB3.0/AI/区块链开发项目者经验在薪资面议
上班时间：9小时 月休6

🌻【安卓开发】【前端开发】【iOS开发】
🌻【测试专员】【技術值班】【Java开发】
🌻【数据运营】【产品经理】【体育分析师】
🌻【外籍-IT網路安全】

聯絡方式
LinkedIn ：https://www.linkedin.com/in/purrgis/
賴（Line）：PURRGIS
Email : purrgis-hrd@skvip.org
AI's Game-Changer: Every Play, a New Adventure!
Tags: dreamlandaigame, aiadventureunleashed, dynamicstorytelling, nextgengamingai
Published: 2023-08-11 07:01:23

### Dive into Dreamland AI: An Interactive Adventure Game Powered by AI

Have you ever wished for a game that changes every time you play? Enter Dreamland AI, a brainchild of the talented GitHub user r-chong. This isn't just any game; it's a choose-your-own-adventure experience that morphs with each decision you make, all thanks to the power of artificial intelligence.

#### **What Makes Dreamland AI Stand Out?**
1. **A Story That's Always Changing:** Unlike static games where you can predict the outcome, Dreamland AI offers a dynamic storyline. Your choices steer the narrative, ensuring a fresh adventure with every playthrough.
2. **Sleek User Interface with Streamlit:** The [unblocked games premium](https://unblockedpremium.com/) visuals and interactions are powered by Streamlit. It's not just about making choices; it's about enjoying them in a beautifully crafted environment.
3. **Smart Decision Processing with NLP:** Dreamland AI isn't just about clicking buttons. It listens and understands, thanks to its integration of natural language processing. This means the game responds to your decisions in a more nuanced and immersive manner.

#### **A Peek Behind the Scenes with Langchain:**
R-chong's journey with Langchain, the AI text-generating library, has been nothing short of enlightening. The flexibility of Langchain allowed for creative experimentation, especially its chaining feature. This tool was pivotal in feeding prompts to the chatbot, ensuring the story flowed smoothly from one decision to the next.

#### **Eager to Embark on Your Own Adventure? Here's How:**
1. Start by cloning the repository: `git clone https://github.com/r-chong/DreamlandAI.git`.
2. Dive into the game's heart: `cd StorytellerGPT`.
3. Kickstart the game: `python app.py`.
4. Ensure you've got all the tools by installing the necessary dependencies.
5. And voilà! Head over to `localhost:8501` and let your adventure unfold.

#### **A Quick Snapshot of Dreamland AI:**
At its core, Dreamland AI is a fusion of Langchain and Streamlit, creating a unique gaming experience. The GitHub community seems intrigued, with the repository already garnering 2 stars and catching the attention of a watcher.

For those itching to delve deeper or even contribute, [Dreamland AI awaits on GitHub](https://github.com/r-chong/DreamlandAI).

*P.S.: All insights are sourced directly from the Dreamland AI GitHub page. Happy gaming!*
Have You Ever Felt Intimidated to Ask 'Basic' Questions?
Tags: codenewbie, beginners, discuss, career
Published: 2023-08-11 07:00:00

Sometimes, coders feel hesitant to ask questions they perceive as basic. Share a time when you overcame this hesitation and asked a question that turned out to be valuable to your learning process.

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* https://dev.to/codenewbieteam *%}*   

Image by <a href="https://www.freepik.com/free-vector/flat-hand-drawn-web-developers-illustration_12302679.htm#query=new%20coders&position=2&from_view=search&track=ais">Freepik</a>
Homelab or cloud? Where should your apps and data go?
Tags: homelab, cloud, comparisons, infrastructure
Published: 2023-08-11 06:54:59

You may have a lot of personal digital assets: web applications, a blog, productivity and collaboration software, email, calendars, photos, video, documents, music, social networking bots or servers, monitoring and security tools, game servers, content management systems, home automation software. All of these have to live somewhere and sometimes it's not easy to decide what the best place is for each.

The suitability of your homelab for a particular workload will, of course, depend in part on how sophisticated your homelab is. But there are a few rules of thumb that can help you decide.

Your workload may be well suited for the public **cloud** if:
* It has extremely high durability and availability requirements e.g. storage with 99.999999999% durability and 99.99% availability of objects over a given year.
* It exposes services to the outside world and demand is unpredictable so elasticity is important.
* It needs specialized hardware like GPU-based instances or FPGAs.
* You want someone else to take care of administrative overhead, power, cooling, physical security, and other undifferentiated heavy lifting.

Your workload may be best on your **homelab** if:
* It only provides services to your home network and doesn't need to expose services to the outside.
* Its demand is predictable.
* In the event that your house burns down or is flooded, the loss of apps and data is not your biggest concern.
* It doesn't need specialized hardware.
* You want local control of your data and the infrastructure that hosts it.
* You want to learn more about clusters, networking, containers, or orchestration with a hands-on approach.

Some apps that are great for a homelab include a network-wide ad blocker like [Pi-hole](https://dev.to/santisbon/block-ads-on-your-whole-network-2gmd), a [Mastodon bot](https://github.com/santisbon/mastodonbot), an [internet speed monitor](https://dev.to/santisbon/monitor-internet-speeds-with-raspberry-pi-3k59), open source home automation like [Home Assistant](https://www.home-assistant.io), a media server like [Plex](https://www.plex.tv/media-server-downloads/), a private cloud for your family like [Nextcloud](https://nextcloud.com/athome/), and pet projects/experiments for learning new technologies.
Linux commands everyone should know
Tags: linux, bash, learning, cloud
Published: 2023-08-11 06:23:51

**Navigation**
pwd - present working directory
cd - change directory
ls - list directory contents

**Manipulating files and directories**
cp - copy files and directories
mv - move/rename files and directories
mkdir - create a directory
rm - remove files and directories
rmdir - remove empty directory
ln - create hard and soft links
file - determine file type
less- view file content

**Know more about command**
type - indicate how a command name is interpreted
which - displays which executable program will be executed
help - get help from shell builtin
man - displays manual page for command
whatis - displays one page of its manual page
alias - create an alias for a command

**Redirection**
cat - concatenate and view files
sort -sort lines of text
uniq - report and omit repeated lines
grep - print lines matching a pattern
head - output the first part of a file
tail - output the last part of a file
echo - display a line of text

**Permission**
id - display user identity
chmod - change a file’s mode
umask - set default file permissions
su - run a shell as another user
sudo - execute command as another user
chown - change a file’s owner
chgrp - change a file’s group ownership
passwd - change user’s password

**Search for file**
locate - Find files by name
find - Search for files in a directory hierarchy
touch - Change file times
stat - Display file or file system status

**Processes**
ps - report a snapshot of current process
top - display task
jobs - list active jobs
bg - place a job in the background
fg - place a job in the foreground
kill - send a signal to process
killall - kill process by name
shutdown - shutdown or reboot system

**Shell Environment**
printenv - print part or all of the environment
set -set shell options
export - expoert env to subsequently executed programs

**Storage**
mount - mount a file system
umount- unmount the file system
fsck - check and repair a file system
fdisk - manipulate disk partition table
mkfs - create a file system
dd - convert and copy a file
mkisofs - create an iso 9660 image file
cdrecord - write a data to optical storage media

**Networking**
ping - send an ICMP ECHO_REQUEST to network hosts
traceroute - print the route packets trace to a network host
ip -Show/manipulate routing, devices, policy routing, and tunnels
netstat - Print network connections, routing tables, interface statistics,masquerade connections, and multicast memberships

ftp-Internet file transfer program
wget - Non-interactive network downloader
ssh - OpenSSH SSH client (remote login program)

**Archiving and Backup**
gzip - Compress or expand files
bzip2 - A block sorting file compressor
tar - Tape archiving utility
zip - Package and compress files
rsync - Remote file and directory synchronization

[Github](https://keerthan0521.github.io/Linux-commands/)