teleren/devto huggingface dataset:
Hello World: o ínicio
Tags: beginners
Published: 2023-08-22 21:45:31

Olá pessoal, seja bem vindo ao meu primeiro artigo! 

Pelo título do artigo já deu para perceber o que se trata né haha, porém não deixa de ser **importante** para quem quer ser programador(a). 

Quando a gente decide estudar programação, a primeira coisa que vem na nossa cabeça é: _Qual linguagem de programação escolher?_ Bem poderia eu indicar uma dúzia de linguagem de programação, mas para finalidade desse artigo escolhi a linguagem **Python** que independente se é a linguagem mais popular do momento ou não, isso não importa.

O objetivo principal daqui é, todo mundo precisa fazer o seu primeiro programa que no caso é nosso famos _Hello World_ .

O _Hello World_ é o ponto de entrada para um iniciante quando se escolhe uma tecnologia a estudar. Eu indicaria **Python** para se começar a estudar pois é uma linguagem que não tem tanta verbosidade como linguagem **Java**, sua simplicidade e facilidade te permite que com pouco conhecimento já da linguagem já construa algo interessante.

Agora focando o nosso _Hello World_ é o nosso primeiro programinha que a gente faz, pode ser tanto na faculdade ou em algum curso especifico, importante é dar o seu primeiro passo, como podemos vê o trecho de código abaixo:

```python
print("Hello World!")
```
Em python a função **print("")** é principal instrução que irá imprimir algo para o usuário. Dentro de parênteses e entre as aspas podemos digitar qualquer frase que no caso nosso é o famoso **"Hello World"**. Nesse artigo não vou entrar em detalhe sobre configuração de ambiente e nem algo do tipo. Só quis dá uma panorama que uma coisa mesmo sendo pequena podemos fazer algo legal e é isso.
Call to developers
Tags: blockchain, cryptocurrency, cypherpunk, techanarchy
Published: 2023-08-22 21:37:57


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



## > Cyberyen
## > Cyberyen/Call to developers


</br>
We have been given the opportunity to shape our future and provide the world with a universal payment system.

Cyberyen is a PoW blockchain with unlimited supply, which will allow us to create a universal decentralized payment infrastructure. Using our own home equipment will allow us to cover the entire planet with an uninterrupted signal and will contribute to the autonomy and equality of all mankind.

We are building not just a platform, we are building a full-fledged organism aimed at uniting humanity and avoiding corporate manipulation and rank-based centralized interference.

Imagine a future where transactions are independent and anonymous, where financial autonomy is in the hands of the people.

Cyberyen consciously supports the principle of the underground cypherpunk movement, but at the same time supports a completely open development and open relationships of real participants in order to prevent the poisoned injection of old forms of capitalist thinking.

Your role: As a developer in our dynamic community, your skills will be put to good use in building the financial autonomy architecture. Universal participation reflects the freedom and empowerment of all users worldwide.

Code serves as your voice, and your creations push the boundaries of all humanity. Sharpen your skills by gaining hands-on experience with the revolutionary blockchain technology.

Take on a project that goes beyond the ordinary - this is your chance to make history.

Join a community of like-minded developers who share your passion for privacy, security and real innovation and become the driving force behind decentralized reality!

Contribute.

https://github.com/cyberyen
Rustacean Hangout Thread
Tags: rust, discuss, watercooler
Published: 2023-08-22 21:34:02

Hello everyone, this is a hangout thread for Rust that I decided to make — it may or may not be a recurring thing.

This is an area for <b>Rustaceans to discuss <i>*Rust*</i></b>.
Feel free to share anything Rust related that you think is interesting.

<hr/>

I'll start first...
I made [hangman in Rust](https://github.com/CalinZBaenen/Hangman-in-Rust)! - Unfortunately it doesn't come with pre-compiled distributions because I can't compile for Windows (yet).

<hr/>

So, what's up?

<br/>

<b><center><b>Thanks for participating!<br/>Cheers!</b></center></b>
From Santa Cruz Mulua to Microservices: My Journey as a Software Developer
Tags: career, softwareengineering
Published: 2023-08-22 21:19:12

Hola! I'm Yoel, hailing from the tranquil town of Santa Cruz Mulua in Retalhuleu, Guatemala. While my surroundings were serene, my passion for software development from a young age was anything but. I dived headfirst into the world of coding at 17, developing desktop applications, and now, with over a decade of experience, I find myself navigating the intricate lanes of APIs, microservices, and system designs.

Throughout these years, I've had the privilege to work with a rich tapestry of languages like JavaScript, TypeScript, Python, Elixir, and Node.js. Each project, each line of code, has woven a unique story – stories that I'm now eager to share with you all.

## Why start a blog now?

There's a profound joy in sharing, and my purpose with this blog is multifaceted:

1. **Sharing Day-to-Day Challenges**: Like every professional, I face my fair share of challenges. By sharing these, I hope to bridge gaps, find solutions, and maybe make your journey a tad bit smoother.

2. **Continuous Learning**: Our industry is ever-evolving, and so is my thirst for knowledge. As I learn, I want to take you along on this enlightening journey.

3. **Maximizing Earnings, Regardless of Location**: In a world connected by the internet, physical location should not dictate your paycheck. I'll delve deep into how software engineers can earn more, irrespective of where they're based.

4. **Holistic Growth as a Software Engineer**: Beyond the code, it's essential to evolve as a professional. Expect articles on soft skills, career growth, and more.

5. **Book Reviews**: As an avid reader, I'll share insights on books that shape my perspective, hoping they enrich your life too.

6. **Tutorials & More**: Whether it's about a new framework, language, or tool, I'll periodically drop tutorials to make our coding lives easier.

The beauty of the tech world lies in its community. Together, we grow, learn, and overcome. I invite you to be a part of my journey, just as I wish to be a part of yours.

Here's to a plethora of stories, challenges, solutions, and growth. Welcome to my world!
The 64th Day of the 100 Days of Code Challenge
Published: 2023-08-22 21:12:31

Hey everyone!

Today was a day of experimenting with a different telephony solution which ended up not being all that promising. I'm going back to using Twilio, and following yesterday, in my efforts to send DTMF tones during an active call, I'll try again using Twilio. Hoping this will work! Twilio all-in-all works pretty fast and the call quality's good, so I wouldn't want to have to switch it out :)
Boilerplate code
Tags: coding, boilerplate, generator, yeoman
Published: 2023-08-22 21:10:44

[What is boilerplate code, and why should we use a boilerplate code generator?](https://medium.com/@mostafasissi/what-is-boilerplate-code-and-why-should-we-use-a-boilerplate-code-generator-2b2a27c3f983)
React Custom Hook: useOnlineStatus
Tags: webdev, javascript, programming, react
Published: 2023-08-22 21:00:00

In this article series, we embark on a journey through the realm of custom React hooks, discovering their immense potential for elevating your development projects. Our focus today is on the "useOnlineStatus" hook, one of the many carefully crafted hooks available in the collection of React custom hooks.

Github: https://github.com/sergeyleschev/react-custom-hooks
```javascript
import { useState } from "react"
import useEventListener from "../useEventListener/useEventListener"

export default function useOnlineStatus() {
    const [online, setOnline] = useState(navigator.onLine)
    useEventListener("online", () => setOnline(navigator.onLine))
    useEventListener("offline", () => setOnline(navigator.onLine))
    return online
}
```
One of the main advantages of "**useOnlineStatus**" is its simplicity. By importing and using this hook in your component, you can effortlessly access the online status of the user. The hook internally uses the "navigator.onLine" property to determine the initial online status and dynamically updates it whenever the user's connectivity changes.

To use this hook, all you need to do is call it within your functional component, just like the "OnlineStatusComponent" example demonstrates. It returns a boolean value indicating whether the user is currently online or offline. You can then utilize this information to provide real-time feedback to your users or make decisions based on their online status.
```javascript
import useOnlineStatus from "./useOnlineStatus"

export default function OnlineStatusComponent() {
    const online = useOnlineStatus()
    return <div>{online.toString()}</div>
}
```
The "_useOnlineStatus_" hook can find applications in a wide range of scenarios. For instance, you can enhance user experience by displaying a visual indicator when the user loses their internet connection, allowing them to take appropriate actions. Additionally, you can conditionally render certain components or trigger specific behaviors based on the user's online status. The possibilities are endless, and this hook opens up new opportunities for building robust and responsive React applications.

Full Version | React Custom Hooks: 
https://dev.to/sergeyleschev/supercharge-your-react-projects-with-custom-hooks-pl4
Mastering Nuxt.js SEO optimization
Tags: nuxt, vue
Published: 2023-08-22 20:30:11

In this comprehensive guide, we will delve into the realm of Nuxt.js SEO optimization and provide you with invaluable tips and tricks to propel your website’s search engine rankings and overall online presence.

Nuxt.js, a powerful framework for crafting Vue.js applications, offers an array of features and strategies that can significantly enhance your website’s SEO performance.

## Understanding Nuxt.js and Its SEO Potential

Nuxt.js, a robust framework for creating Vue.js applications, comes packed with SEO potential due to its server-side rendering (SSR) capabilities, providing search engines with easily crawlable and indexable content.

## Leveraging the Power of Server-Side Rendering (SSR)

Embrace Nuxt.js’s SSR feature, enabling your website to load quickly and be comprehensively indexed by search engines, ultimately enhancing SEO.

Tip: SSR ensures that search engines see your page as users do, positively impacting your SEO ranking.

## Crafting Effective Meta Tags and Descriptions

Begin your SEO journey by meticulously configuring fundamental elements such as meta tags, titles, and descriptions for each page.

Devote time to crafting unique and captivating meta tags and descriptions for every page to entice users to click and engage with your content.

## Designing SEO-Friendly URLs

Optimize your website’s URLs by making them descriptive and user-friendly, improving both user experience and search engine understanding.
 
## Navigating Pagination for Enhanced SEO

If your website features paginated content, implement SEO-friendly pagination to enable search engines to navigate your content effectively.

Tip: Implement rel=”next” and rel=”prev” tags to indicate the relationship between paginated pages.

## Optimizing Images and Media for Improved SEO

Optimize images and other media files to enhance your website’s loading speed, contributing to better user experience and improved SEO rankings.

## Conclusion About Your Path to **[Nuxt.js SEO optimization](https://noobizdev.tech/nuxt-js-seo-optimization-expert-tips-and-techniques/)**:

Mastering Nuxt.js SEO optimization requires dedication and a multifaceted approach.

By implementing the tips and tricks outlined in this guide, you’re well-equipped to elevate your website’s SEO performance and achieve digital success.
Why you need Interactive Application Security Testing (IAST) 🔒
Tags: security, cybersecurity
Published: 2023-08-22 20:13:19

Hi, devs! 

Read New Relic's latest blog on [Why you need IAST](https://newrelic.com/blog/best-practices/why-you-need-iast?utm_source=devto&utm_medium=community&utm_campaign=global-fy24-q2-IAST) 🔒

IAST combines static and dynamic analysis techniques to provide real-time vulnerability detection and response. With IAST, you can combine both static and dynamic assessment techniques to identify security issues early in development and simulate real-world attack scenarios.

In this [blog](https://newrelic.com/blog/best-practices/why-you-need-iast?utm_source=devto&utm_medium=community&utm_campaign=global-fy24-q2-IAST), you’ll learn the following:

- 
What IAST is, including the difference between static and dynamic security assessment techniquesBenefits of IAST

- 
Use cases for IAST

- 
IAST best practices

- 
How to get started with New Relic Vulnerability Management and IAST

👀 [**Read now on Why you need IAST**](https://newrelic.com/blog/best-practices/why-you-need-iast?utm_source=devto&utm_medium=community&utm_campaign=global-fy24-q2-IAST) 

---

_Not an existing New Relic user? [Sign up for a free account](https://newrelic.com/signup?utm_source=devto&utm_medium=community&utm_campaign=amer-fy-24-q2-devto_updates) to get started! 👨‍💻_
Introducing Snowcat: A New Open Source Browser Focused on Speed and Privacy
Published: 2023-08-22 20:09:28

I'm excited to announce Snowcat - a new open source web browser I've been building.

Snowcat is focused on two key principles: speed and privacy. It uses a brand new browser engine designed specifically for high performance. Pages load incredibly fast even on lower powered machines.

In terms of privacy, Snowcat takes the approach of collecting zero user data. There is no tracking, no ads, and no data storage without your explicit permission.

Some key features:

-    Custom browser engine: Built from scratch for speed and efficiency. Not based on Chromium or Firefox.
-    Minimal resource usage: Small install size and low memory usage. Runs well on older hardware.
-    No tracking/ads: Zero data collection. Snowcat won't store your history or personal info.
-    Open source: Completely open source under GPLv3. All code available on Codeberg.

I built Snowcat because I felt there was a need in the market for a fast, open source browser that respected user privacy. I wanted to give users more choice beyond the few major players.

The project is ready for wider testing and contribution.

You can grab Snowcat from the project homepage. Please file bugs for any issues found, and feel free to submit PRs with any improvements. I'm excited to see where the community takes Snowcat next!

Let me know if you have any feedback on the browser or any features you'd like to see added!

### Website: https://snowcat.codeberg.page/
### Repo: https://codeberg.org/snowcat/snowcat
Avoid negative conditionals , clean code
Tags: php, cleancode
Published: 2023-08-22 20:08:18

**Avoid negative conditionals**
Certainly! Writing clean and readable PHP code involves avoiding negative conditionals and using positive conditionals instead. Negative conditionals can make the code harder to understand and follow. Here's an example of how you can refactor code to avoid negative conditionals:

code with negative conditionals (Bad): 

```
function isNotParent($node) : bool 
{

}
```

code with positive conditionals (Good): 

```
function isParent($node) : bool 
{

}
```
Which Programming Language Should I Choose as a Beginner in 2023?
Tags: programming, coding, developers, beginners
Published: 2023-08-22 19:55:27

Hello aspiring developers!

I'm about to start coding and need advice on choosing a programming language in 2023. I'm looking for a balance of beginner-friendliness, versatility, and growth potential. Here are some questions to guide the discussion:

What language did you start with and why?
Which beginner-friendly languages do you recommend now?
What languages are great for web, data science, or app development?
Any favorite resources for beginners?
Any new languages worth considering?

Your insights will shape my coding journey. Thanks for being a part of it!
Why The Snowcat Web Browser Could Change Everything You Know About Browsers
Tags: python, web, webbrowser, programming
Published: 2023-08-22 19:51:59

When it comes to web browsers, most people stick to what they know best - Chrome, Edge, Safari, Firefox, etc. While these are great options, there's something missing from them all. They don't allow full control of your digital footprint. But, if you're reading this, you probably care about things like privacy, freedom, security, and transparency. And this is precisely why you should give Snowcat a try. It's hard to argue the merits of this open source alternative browser, so let me show you some reasons why you will love Snowcat!

## Great Web Engine

Traditional web browsers come with slow, bulky web engines which may compromise your privacy by sending usage statistics and other sensitive data to big corporations. Not anymore! Snowcat features a browser engine designed entirely from scratch, keeping everything self-contained. So, no more leaking out private details behind your back!

## Lightning Fast Speeds

You probably already experience sluggish performance when loading heavy websites, but Snowcat takes it up a notch with its lightweight design. The result? Blazingly fast speeds whether you're dealing with plain text or complex media files! Try loading your favourite website right now. I bet you'll notice the difference immediately.

## Maximum Security

Wouldn't it be terrible if someone stole your passwords or bank credentials just because you were browsing your favourite site? Don't fret! It's rigid security measures prevent unauthorised communication between your devices and remote servers. You get total protection without lifting a finger!

### Website: https://snowcat.codeberg.page/
### Repo: https://codeberg.org/snowcat/snowcat
Verify your Paddle Billing Webhooks in Supabase Functions
Tags: supabase, deno, paddle
Published: 2023-08-22 19:48:39

We have released a small [Deno](https://deno.com/) library to allow you to [verify Paddle webhooks](https://developer.paddle.com/webhooks/signature-verification) in your [Supabase Edge Functions](https://supabase.com/docs/guides/functions). This works with the new [Paddle](https://paddle.com) billing platform.

Head on over to [Github to use the library](https://github.com/boardshape/deno_paddle_verify).

Please follow us on [Twitter](https://twitter.com/boardshape), reach out to us if you want to know more, and, if you have a small business or organization and want to run better board meetings, [try BoardShape](https://boardshape.com/dashboard#signup) 🤟
The state of EdTech
Tags: edtech, faangm, softwareengineering
Published: 2023-08-22 19:06:33

In today's fast-paced world of technology and innovation, It's hard to escape the ever-growing craze surrounding edtech. From big tech companies to startups, or even one man with a big tech brand on his CV, everyone seems to be jumping on the bandwagon, selling courses to us as if it were the key to eternal success. But amidst the hype, one cannot help but wonder if these purveyors of knowledge are truly geniuses or just capitalizing on our insecurities. 

**Let's take a look at the current state of edtech and question the intelligence of those selling courses to us**.

# Unethical Marketing

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/621sh0lfjh3ire84rj5e.gif)
I have always seen flashy marketing tactics employed by these edtechs. They paint a rosy picture, promising that their courses will unlock doors to lucrative job opportunities and boundless success. These are just exaggerated claims, such as "_Become a coding expert in just one week!_" or "_Master marketing in five simple steps!_" It's hard not to roll your eyes at these lofty promises and wonder if they truly believe in their own sales pitch.


# The EdTech Miracle
Oh, how influencers have mastered the art of packaging their courses under the trendy label of "edtech." They've learned the lingo, thrown around buzzwords like "_hack_," "_masterclass_," and "_accelerator_," making their courses sound like the Holy Grail of education. But when you dig deeper, you may find that their content is nothing more than a mishmash of readily available information from a Google search. It's like putting lipstick on a pig - it might look fancy, but it's still a pig.

# The Testimonials That Raise Eyebrows

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e7zaj1cvpheeu268zv3h.gif)
Ah, testimonials - the influencers' secret weapon. They parade their carefully curated success stories, showcasing individuals who claim to have gone from rags to riches after taking their course. But here's the funny part: have you ever wondered if those testimonials are genuine? Or are they simply fabrications to boost the influencer's credibility? You decide.

# Conclusion
People selling courses unethically under the umbrella of edtech is a dubious trend that has infiltrated the digital education space. While we've approached this topic with a hint of humor and satire, it is important to be discerning when considering such courses. Before investing your time, money, and trust, do your research, look beyond the influencer façade, and seek genuine educators who prioritize ethical content delivery.

Remember, education should empower and uplift, rather than serve as a means for self-promotion. So, arm yourself with skepticism and a discerning eye, and let's keep the humor alive while calling out the shady side of edtech.
How to rename a Git branch (in remote too)
Tags: git
Published: 2023-08-22 19:00:39

You may be working on a feature named `good-feature`. As you work on it, an inspiration strikes and you decide to rename your feature as `unicorn-feature`. To keep things consistent, you want to rename your feature branch from `good-feature` to `unicorn-feature`. You might already be deep into development and pushed quite a few changes to [remote](https://dev.to/ello/git-remotes-for-beginners-an-introductory-guide-53i2).

In this post, I will tell you:
1. How to rename a branch in your local Git repository?
2. How to rename the corresponding branch in remote?

## Renaming local Git branch
The command is:

```bash
git branch --move <old-name> <new-name>
```

In our example, the command would be:

```bash
git branch --move good-feature unicorn-feature
```

## How do you rename the branch in remote too?
You simply treat the branch - with the new name - as a new branch, and push the branch to remote.

```bash
git push --set-upstream origin <new-name>
```

In our case, the command would be:

```bash
git push --set-upstream origin unicorn-feature
```

This will create a new branch in our remote (origin) named `unicorn-feature`. However, the old branch still remains in remote. To verify, you can run the `git branch --all` to list all the branches - including the ones in remote. The next step, then, is to delete the old branch (`good-feature`) from remote.

### Deleting the old branch from remote
In an [earlier post about Git tags](https://dev.to/ello/git-tags-continued-share-delete-and-checkout-4p0n), I had written about the following command:

```bash
git push <remoteName> --delete <gitReference>
```

In our case, we need to run:

```bash
git push origin --delete good-feature
```

> If the branch is being used by other collaborators too, then be careful about renaming the branch in remote. After the rename, they too should configure their local repositories to use the new branch.

## Final words
Since now, you won't be stuck with a branch name once chosen. You can always rename it later.

## References
- [https://git-scm.com/book/en/v2/Git-Branching-Branch-Management](https://git-scm.com/book/en/v2/Git-Branching-Branch-Management)