teleren/devto huggingface dataset:
WSL Setup
Tags: linux, beginners, programming, tutorial
Published: 2023-11-18 13:06:29

## My quick devy WSL setup

[Note] - Make sure you have an WSL and Ubuntu installed on WSL.

[How to install WSL](https://learn.microsoft.com/en-us/windows/wsl/install)


### Install basic utils

```
sudo apt update -y && sudo apt install git wget curl zip unzip gzip p7zip tar neofetch vim neovim golang python3 python3-pip rustc cargo nodejs npm gcc gdb g++ make cmake build-essential zsh -y
```
Install OhMyZsh

[Oh My ZSH Website](https://ohmyz.sh/)


```
sh -c '$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)'
```

Some plugins that I just love

[zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh)
[zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md)

Clone both zsh-autosuggestions and zsh-syntax-highlighting plugins

```
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
```

Add them to .zshrc

```
sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/' ~/.zshrc && source .zshrc
```

OR just copy paste this in your .zshrc

```
export ZSH="$HOME/.oh-my-zsh"
# More themes on: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
# true/false
CASE_SENSITIVE="false"
# zstyle ':omz:update' mode disabled
# disable automatic updates
# zstyle ':omz:update' mode auto
# update automatically without asking
# zstyle ':omz:update' mode reminder
# just remind me to update when it's time
plugins = (
	git
	zsh-autosuggestions
	zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=en_US.UTF-8
# Preferred editor for local or remote session
if [[ -n $SSH_CONNECTION ]]; then
	export EDITOR='vim'
else
	export EDITOR='nvim'
fi
# aliases
alias zshconf="nvim ~/.zshrc"
alias ohmyzsh="nvim ~/.oh-my-zsh"
```
EBook with Markdown
Tags: programming, beginners, tutorial
Published: 2023-11-18 13:04:47


This is an introduction.

# Chapter 1

This is the first paragraph of chapter 1.

This is the second paragraph of chapter 1.

Below is a list.

- Item One
- Item Two
- Item Three

# Chapter 2

This is the first paragraph of chapter 2.

This is the second paragraph of chapter 2.

# Chapter 3

This is the first paragraph of chapter 3.

This is the second paragraph of chapter 3.
Note that the file begins with a YAML metadata block that starts and ends with three hyphens (---). This allows you to specify EPUB metadata such as the title and author.

Converting this to EPUB is done by running pandoc.

$ pandoc example_ebook.md -t epub3 --toc -o example_ebook.epub
There are several options that need to be passed to pandoc.

example_ebook.md - This argument is the file that you are converting.
also -t epub3 - Set the output format to be EPUB v3 book.
and --toc - Include a table of contents in the output document. This will be derived from the H1 headers in the markdown.
this -o example_ebook.epub - Tell pandoc to output the conversion to the named file instead of stdout.
You can now copy the file example_ebook.epub to any device that supports the format or use one of the many software readers such as Calibre. However, if you wish to read this on a Kindle device you will need to convert it to the Mobi format.

Amazon provides a command line tool called KindleGen that can convert our EPUB file into the Mobi format. After downloading the tool just run it as shown below.

$ kindlegen example_ebook.epub
This will create a file called example_ebook.mobi that you can copy to your Kindle to read.
35. Assignment is almost done (Day 33)
Published: 2023-11-18 12:49:27

Today was a full day of diving into my coding course, and it's crazy how time flies when you're knee-deep in assignments! While the Sydney sun was calling me outside, I found myself buried in code and project materials instead. Balancing study with enjoying the beauty of Australia isn't always easy, especially when deadlines loom.

But hey, amidst the coding chaos, I made some serious progress:

- Created a detailed _Readme.md_ file, complete with website descriptions and screenshots.
- Crafted a whopping 45 PowerPoint slides covering everything from the project's purpose to diagrams and a site walk-through.
- Recorded a 10-minute video tour of the site, using my presentation as a guide.

I'd say about 90% of the assignment is in the bag. Now, I just need to tidy up the code and gather everything into a neat submission folder. Deadline for that? Tomorrow by 2 PM. Easy-peasy! Then? Relaxation mode initiated.

As the clock strikes 11:40 PM, it's time to bid adieu to the day and say, "Wohoo, and good night!"
Exam Prep Simplified: Trustworthy 77-725 Dumps
Published: 2023-11-18 12:15:41

**Introduction:**

Are you gearing up for the 77-725 Exam and searching for the most reliable study materials? Look no further! In this comprehensive guide, we'll explore how utilizing trustworthy exam dumps can significantly boost your chances of acing the 77-725 certification. Whether you're a seasoned IT professional or just starting your journey, having the right resources is crucial. Let's delve into the world of reliable dumps and pave the way for your exam success.

**The Importance of Reliable Dumps:**

Accurate Representation of Exam Content: Reliable dumps provide an accurate reflection of the <a href="https://rb.gy/i7pspy">77-725 Dumps</a>  actual exam content. They are meticulously curated to cover every topic, ensuring that you are well-prepared for the challenges that the 77-725 Exam may throw at you.

**Updated Material:**

 Microsoft regularly updates its exams to align with industry advancements. Trustworthy dumps are constantly revised to incorporate these changes, guaranteeing that you are studying the most recent and relevant material.

**Real Exam Scenarios: **

By using reliable dumps, you expose yourself to real exam scenarios. This familiarity with the exam format, question types, and time constraints can significantly reduce anxiety and boost your confidence on the big day.


 Click Here More Info>>> https://rb.gy/i7pspy
Why does everyone fear Java? Is it really the hardest programming language?
Tags: java, webdev, beginners, programming
Published: 2023-11-18 12:07:55

Java is a popular programming language used by developers worldwide, but it's also known for being one of the more challenging languages to learn and work with. Many people are intimidated by Java, and some even avoid it altogether, assuming it's too difficult to master. But is this reputation really warranted? In this post, we'll explore some of the myths and misconceptions surrounding Java's difficulty and why it's not as scary as it may seem.

## Myth #1: Java is too complex for beginners

One of the most common misconceptions about Java is that it's too complicated for beginners to learn. While it's true that Java has a steeper learning curve than some other programming languages, it's still an accessible language for those just starting. Plus, there are many resources available online to help beginners get started, such as tutorials, courses, and forums where they can ask questions and get support.

## Myth #2: Java is slow and inefficient

Another myth about Java is that it's a slow and inefficient language, which can make it difficult to write high-performance applications. While it's true that Java can be slower than some other languages, such as C or C++, it's still a highly optimized language that can run efficiently on modern hardware. Plus, with tools like the Java Virtual Machine (JVM), Java applications can be optimized and run faster than ever before.

## Myth #3: Java is too verbose

Java is often criticized for being too verbose, meaning that it requires a lot of code to accomplish even simple tasks. While it's true that Java can be more verbose than some other languages, this is also what makes it more readable and maintainable. By requiring developers to be explicit about what their code is doing, Java can help ensure that applications are well-documented and easier to maintain over time.

## Myth #4: Java is too difficult to debug

Finally, some people avoid Java because they believe it's too difficult to debug when something goes wrong. While debugging can be challenging in any language, Java has many tools and frameworks available to help developers track down and fix issues in their code. Plus, with modern IDEs like IntelliJ IDEA and Eclipse, debugging Java applications has never been easier.

Conclusion
While Java may have a reputation for being a difficult and intimidating programming language, many of the myths and misconceptions surrounding its difficulty are just that: myths. With the right resources and support, anyone can learn and master Java, and it remains a highly valuable and in-demand skill for developers in a variety of industries. So don't be afraid to give Java a try and see for yourself why it's such a powerful and versatile language!

In future blog posts, we'll dive deeper into Java programming and explore some of the key concepts and techniques that make Java such a valuable tool for developers. Stay tuned!
CODE GTA SAN ANDREAS MOBILE
Tags: gamedev, website, blog, tutorial
Published: 2023-11-18 11:49:38

Neste artigo, você irá aprender sobre os macetes exclusivos que foram liberados para o GTA San Andreas Mobile. É importante ressaltar que esses códigos não são os mesmos utilizados em outras plataformas, como computador ou console de videogame, e são difíceis de ser encontrados.

Continue lendo: [Clique aqui](https://astronautsdevelopers.com/codigo-gta-san-andreas/)
From Novice to Pro: The Scrypt Mining Revolution Demystified
Tags: cryptocurrency, crypto, scrypt, cryptomining
Published: 2023-11-18 11:26:02

In the fast-evolving realm of cryptocurrency, navigating the intricate world of Scrypt mining can be both thrilling and daunting. At **[Asic Marketplace](https://asicmarketplace.com/)**, we are dedicated to demystifying the Scrypt mining revolution, taking you on a journey from novice to pro with precision and expertise.

## Understanding Scrypt Mining Basics
In the world of digital currencies, Scrypt mining stands as a prominent method, distinct from traditional approaches. Our comprehensive guide starts with the fundamental understanding of Scrypt mining, shedding light on its mechanics and how it differs from other mining techniques.

## Selecting the Right Hardware: Building Your Mining Arsenal
For those transitioning from novice to pro, the importance of selecting the right hardware cannot be overstated. We delve into the intricacies of hardware selection, providing a step-by-step guide on building a powerful mining rig that ensures optimal performance and efficiency in your Scrypt mining endeavors.

## Exploring Profitable Scrypt-Based Coins
The journey from novice to pro involves a strategic choice of cryptocurrencies for mining. We explore the landscape of Scrypt-based coins, analyzing potential profitability and offering insights into which coins hold the most promise for maximizing returns.

## Advanced Strategies for Scrypt Mining Success
As you progress on your Scrypt mining journey, adopting advanced strategies becomes crucial. Our experts share invaluable tips and techniques from the pros, empowering you to elevate your mining game and optimize your results.

## Overcoming Challenges: Troubleshooting Common Issues
Every mining journey comes with its challenges. We provide a detailed troubleshooting guide, addressing common issues encountered by miners, from connectivity problems to hardware glitches. Equip yourself with the knowledge to overcome obstacles and ensure a smooth mining experience.

## Looking Ahead: The Future Landscape of Scrypt Mining
The cryptocurrency space is dynamic, and staying ahead requires insight into future trends. We explore the evolving landscape of Scrypt mining, discussing upcoming innovations and potential opportunities that could shape the future of this revolutionary mining method.

At [Asic Marketplace](https://asicmarketplace.com/), we are committed to delivering content that not only educates but also empowers. Our comprehensive guide to Scrypt mining is designed to cater to both beginners and seasoned miners, providing detailed insights and strategies to enhance your proficiency in the world of cryptocurrency.
Using Phoenix LiveView to create interactive courses
Tags: elixir, phoenix, liveview, opensource
Published: 2023-11-18 11:07:05

I'm launching [UneeBee on Product Hunt](https://www.producthunt.com/posts/uneebee) today. It's an open-source tool for building interactive courses like Duolingo.

You can check the source code on GitHub:

{% embed https://github.com/zoonk/uneebee %}

I'm using Elixir and Phoenix LiveView to build it. It's still early-stage, so there's a lot that needs to be improved but I'm making the [roadmap public](https://github.com/orgs/zoonk/projects/11) so that you can follow along.

I'm new to the Elixir ecosystem but I'm really impressed with early results. Development experience and speed is great. Plus, performance is amazing. I have two of the cheapest machines on fly.io and both CPU and RAM seems to be enough to run this Phoenix project.

I'll share more details about this project and the technical challenges in a new post soon. Stay tuned.
🌟 Let's Explore the Awesome World of Open Source: Your Ticket to Tech Wonderland! 💻✨
Tags: opensource, beginners
Published: 2023-11-18 10:52:34

Hello, tech enthusiasts! Ready for an exciting journey into the magical universe of Open Source? It's like a big playground where coding dreams come true. Join me as we unravel the wonders of some cool tools, programs, and even grab a backstage pass to internships! 🚀🌈

## 🌐 What's the Buzz About Open Source? 🤔💡
Imagine a club where everyone shares their coolest tech secrets. That's Open Source! Here's why it's super cool:

**Why Open Source is Rad: 🚀**

**Team Power:** People from everywhere team up to make things awesome.
**Friends Everywhere:** You make friends who love tech, no matter where they are.

##  🚀 Let's Meet the Superstar of Open Source! 🌌🌟

**GitHub: 🚀**
Think of GitHub as a huge clubhouse where people bring their cool projects to share with others. It's where the magic happens!

**🐙 Git:**
A distributed version control system widely used for tracking changes in source code during software development.

## 💡 Cool Open Source Internships! 🌟👩‍💻👨‍💻

Ready to take your tech skills to the next level? Internships are like a golden ticket to the tech wonderland!
Internships let you dive deep into exciting projects. It's where you learn, code, and become a tech superhero!

**Google Summer of Code (GSoC): 🌞**
GSoC is a global program sponsored by Google that offers stipends to university students for working on open source projects during the summer.

**Google Season of Docs: 📚**
 Google Season of Docs is a program that pairs technical writers with open source projects to create documentation and improve the project's overall documentation experience.

**GitHub Externships: 🐙**
GitHub Externships connect students with mentors from the open source community to work on projects during the summer, gaining experience in open source collaboration.

**Outreachy: 🌍**
Outreachy provides internships for people from underrepresented groups in tech. It covers a range of roles, including coding, design, documentation, and more.

## 🚀 Your Ticket to Tech Wonderland: Join the Fun! 💙🌐
Whether you're a tech wizard or just getting started, Open Source is for everyone. Let's make a future where tech is open, fun, and inclusive! 🚀✨ So, who's up for the coding adventure? 🌠🎉

🚀 Explore the tech universe with my blogs! Follow for more wonders and ❤️ for a tech-filled journey! Your support means the world! 🌐✨
What you learning about this weekend? 🧠
Tags: codenewbie, discuss, learning, beginners
Published: 2023-11-18 10:00:00

Hey everybody 👋

What are y'all learning this weekend?

Whether you're sharpening your [JS](https://dev.to/t/javascript) skills, making PRs to [your OSS repo of choice](https://github.com/forem/forem) 😉, sprucing up your portfolio, or [writing a new post](https://dev.to/new) here on DEV, we'd like to hear about it.

Hope you're having a wonderful weekend! Keep on learning, but make sure to take your time and take breaks, so you don't get too burnt out on this stuff... it'll be here for ya when you return!

![Leslie Knope from Parks & Rec saying "I'm learning so much already!" while holding a hammer backwards](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cx280r6r8g6tr5ct1lib.gif)
Road Blockers while Coding
Tags: discuss, coding, career, programming
Published: 2023-11-18 10:45:53

I think every developer has something which makes them frustrated while coding, something which makes them give up (temporarily) or something which makes them procrastinate. Some of the road blockers which I face while coding are:

- Errors
- Bugs
- Not knowing how to solve an error or bug
- Not knowing the tech stack (being new to a tech stack) 
- Not knowing the code base
- Not able to understand the code base
- Unhelpful people who throw jargon when you ask them for help in trying to understand or locate the code that they wrote. 
- Unhelpful people who direct you to their uncommented code when you ask a doubt about the code that they wrote. 
- Not having the freedom to choose tasks to work on and rather being told what to work on
- Untrusting teammates
- Teammates who think they are God just because they are being given a little authority where they can question what you worked on. 

What are the road blockers which you face while coding?
Funtional Testing vs Non-Functional Testing
Published: 2023-11-18 10:43:49

## **_Functional Testing:_**

Checking the functionality of the application works fine according to the client needs. It verifies that each function of the software application works in conformance with the requirement and specification.


**_Purpose of Functional Testing_**

- Test each function of the application.
- Test primary entry function.
- Test flow of the GUI screen.


**_What to Test in Functional Testing?_**

- Basic Usability.
- Mainline functions.
- Accessibility.
- Error Conditions. 

_**Functional Testing Process**_


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


## **_Non-Functional Testing:_**

- Checking how other aspects of the applications working fine. Checking performance, stability, usability of the application.
- Helps to reduce production risk and cost associated with non-functional aspects of the product.


**_Non Functional Test Types_**

- Performance Tests
- Load Tests
- Stress Tests
- Volume Tests
- Security Tests
- Upgrade & Installation Tests
- Recovery Tests

**_Non-functional testing Parameters_**


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


## **_Functional testing vs Non-Functional Testing:_**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bz24q7esp202q47phvvp.png)
Texas Weed Center
Published: 2023-11-18 10:28:22

The [Texas Weed Center]( 	https://texasweedcenter.com/
) is a hub for the burgeoning cannabis industry in the Lone Star State, a place where innovation, education, and advocacy intersect. Situated in the heart of Texas, this center has become a focal point for enthusiasts, entrepreneurs, and researchers alike, aiming to explore the potential of cannabis in various spheres.

First and foremost, the center serves as an educational platform, dispelling myths and misconceptions about cannabis while highlighting its medicinal and industrial possibilities. Workshops, seminars, and conferences held here attract professionals from diverse fields - healthcare, agriculture, law, and beyond - fostering a comprehensive understanding of [Texas Cannabis Dispensary]( 	https://texasweedcenter.com/
) multifaceted nature.

Furthermore, the Texas Weed Center plays a crucial role in advocacy efforts, advocating for responsible and inclusive cannabis policies in the state. Through partnerships with advocacy groups, policymakers, and community leaders, the center strives to influence legislative decisions and promote equitable access to cannabis-derived products for [Buy medical marijuana in Texas]( 	https://texasweedcenter.com/
) use.

In addition to its educational and advocacy roles, the center also serves as a catalyst for innovation. Collaborative spaces within the facility encourage entrepreneurs and researchers to develop cutting-edge technologies and products related to cannabis cultivation, extraction, and utilization. These innovations not only drive the local economy but also contribute to the broader landscape of the cannabis industry.

Moreover, the Texas Weed Center stands as a symbol of changing attitudes towards cannabis in Texas and beyond. As societal perceptions shift and scientific research advances, the center embodies the evolving narrative surrounding cannabis, moving away from stigma towards recognition of its potential benefits and applications.

The center's vision extends beyond mere commerce; it aspires to create a community united by a shared interest in unlocking the full potential of cannabis.[ Buy weed online in Texas]( 	https://texasweedcenter.com/
) by fostering a collaborative environment and nurturing partnerships, it aims to serve as a beacon of progress and enlightenment in the realm of cannabis advocacy, education, and innovation.

Ultimately, the Texas Weed Center stands as a testament to the transformative power of education, advocacy, and innovation in shaping the future of cannabis in Texas, paving the way for a more informed, inclusive, and prosperous industry.
How to check Javascript object is empty or not?
Published: 2023-11-18 10:26:54

This is tricky but not difficult.

```
const obj = {};
if( ( Object.keys(obj) ).length === 0){
 console.log("Object is empty");
}
else{
 console.log("Object is not empty");
}
```

## How this works?

Because, with the help of keys property of the _Object class_ it creates an array of keys of obj. And the array has length property to find its length. If length is 0 then the obj is empty otherwise not.

If any doubts kindly ask me.

Thanks!!!
@sujitkar1195