teleren/devto huggingface dataset:
Takeaways from a "Junior Dev Power Hour" meetup
Tags: career, motivation, codenewbie, devjournal
Published: 2023-01-16 21:43:03

## Introduction
Today I attended a Twitter space, hosted by Danny Thompson and other amazing tech professionals, that gave advice to aspiring developers and early career professionals. Here are my biggest takeaways:

## 🧾 When you land that first job, focus on:
1. Diving into internal/external documentation, architecture of the product/source code, and learning how each component works.
2. Stay hungry. Keep doing the things you were doing that got the job.
3. Figure out your role within the company/team, the roles around you, and the company processes within/around your team.
4. How does your team add value to the company?
5. Read other people’s pull requests to learn about coding, formal practices, and the codebase (what, how, and why).
6. Make communication a priority.

My experience with my first job in tech taught me the importance of showing up ready to work, ready to give information, and ready to learn. I want to share making being part of the team a priority and learning each person's unique communication style. 

## ❓ Tips for when you have questions
1. Write down the question (key words and points) before you ask.
2. It’s ok to use tech communities to answer some questions.

My opinion that I want to add is before you ask a question briefly state what you have done beforehand. This shows you have put in the work.

## 👨‍🏫 Mentorship
1. You don’t need a dedicated mentor. Leverage tech groups and similar resources for help. Lurk in those groups by reading the comments and previous questions to learn from others.
2. A great way to get mentorship is to make friends with someone in tech and find a way to meet them on a weekly basis.
3. Attend tech meetups to get unofficial feedback, peer reviews, and more.
4. When asking someone for advice, be concise in your question to someone and you will more likely get help.

My personal thoughts on this is that I’m a big believer in unofficial mentors by following people in their careers to learn from them. We are blessed in tech that people talk publicly about their highs and lows, their tricks and tips, and how they achieved something. Learning from them is as simple as reading their blogs, viewing their video content, or listening to their tech talks.
AWS Cloud Quest: File Systems in the Cloud Study Note
Tags: aws, cloud
Published: 2023-01-16 21:26:04

This is the DIY challenge of the File Systems in the Cloud task in AWS Cloud Quest.

### DIY Steps:
1. Follow the same process when creating `us-east-1b` Availability zone from steps 30-35
2. Create `us-east-1c` Availability zone

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cu8p9s87fkwmqtf3lskx.png)
SEO experts can utilize free bulk domain authority checks.
Tags: domain, authority, checker, dapachecker
Published: 2023-01-16 21:16:13

The search engine considers a variety of indicators when determining a site's position in its results. One of these factors, domain authority, is critical for SEO.

MOZ determines the domain authority of any website. This score indicates a website's performance in reaching a high rank on search engine results pages. Moz ranks domain authority on a scale of 1 to 100, with 100 being the highest.

The metrics that Moz takes into account while calculating a website's DA score include the following, among others:

Any website must have unique, high-quality material that is punctuated and spelled correctly.

Moz Rank is a method for measuring an external link's health.
Total Count of Link Roots Domains Equals the Overall Number of Backlinks to Your Website.

Utilizing social network sharing buttons can improve website visitors.
**Several the features of our online [DA PA checker] (https://dapachecker.com) are the following:**

This tool enables you to review Bulk SEO Metrics for any website or page.

This application allows you to check the DA of up to three distinct URLs with a single click.
Diário de bordo #5
Tags: webdev, javascript, beginners, programming
Published: 2023-01-16 21:09:45

Minha última atualização foi no dia 11, desde lá eu passei alguns dias aprendendo algumas coisas novas e estou fazendo a revisão destes conteúdos a partir de hoje. Logo, o que irei abordar hoje é uma propriedade do JavaScript chamada `setAttribute()`.

## SetAttribute();

Trabalha para adicionar ou atualiza os valores de um atributo existente em um elemento especifico.

## Sintaxe 

A sintaxe do `setAttribute()` funciona da seguinte forma:

`element.setAttribute(name, value)`, sendo o `element` o elemento HTML na qual deseja fazer alterações, `name` o nome do atributo deste elemento e `value` o valor a ser inserido/alterado. **Veja o funcionamento na prática**

```
let linkedinLink = document.getElementById('link');

linkedinLink.setAttribute('href', 'https://www.linkedin.com/in/ana-luisa-/'); 
```
O funcionamento destas duas linhas de código neste exemplo funciona da seguinte forma: Dentro do JavaScript eu faço uma chamada ao elemento na qual quero obter o valor, e em seguida eu realizo a chamada dela setando-a junto com o elemento `setAttribute()`, trazendo como primeiro parametro o atributo na qual quero realizar as alterações, que no caso é o `href` do elemento `<a></a>` do HTML, e em seguida o valor que quero passar, que neste caso foi a URL do perfil do meu linkedIn.

Valendo a pena ressaltar que: Se um atributo especificado já existe, então o valor do atributo é mudado para o valor passado para a função. Se não existe, então o atributo é criado.
Serverless Technology
Tags: webdev, serverless, aws, database
Published: 2023-01-16 21:06:57

The very first thought crosses our minds while hearing **Serverless** is **there won't be any Servers** , isn't it?

> 
``Let me make it very clear,``
**``Serverless does not mean that there are No servers.``**
``Yes, the name Serverless is deceptive.``

Before going in more depth about **Serverless technology**

Let's first understand, 
What actually a **Server** is?

>  `A computer which is designed to function 24/7 in order to provide services to computers or users(widely referred as client) on a network.
e.g. Web Server, Email Server, Game Server`

If you're someone who've hosted their website on any server, must be aware of the fact that 

> ``Servers need a lot of maintenance, provisioning and handling.``


**let's understand Serverless now**

> 
**``In Serverless technologies, everything still must run in servers only, it's just that users/developers do not have to manage/handle/provision the servers anymore.``**

Yes, this is what it is in simple terms.
> 
`It boils down to, the user experience is serverless but the same does not hold true in case of service providers.`


**More on Serverless**
- 
In **Serverless**, one does not have to worry about maintaining the servers and their underlying infrastructure such as replacing failed hardware, reliable internet and updated software. 
It leads us to focus entirely on our application.

Let's discuss some major benefits os Serverless

>  We only have to pay for exact usage.
It gets easier to scale up and down.(**No growing pain when your site or service sees a spike in traffic**)
Don't have to manage Servers. 



`Will continue more on it in the upcoming blogs`
**What are your thoughts on Serverless technology?**
Comment it down!

One more thing, 
Keep smiling, you're beautiful :)
Migrate from RDS MySQL to Aurora MySQL in near zero downtime
Tags: aws, cloud, awscommunity, 100daysofcloud
Published: 2023-01-16 18:46:38

[16/100] #100DaysOfCloud Today, I migrated from RDS MySQL database to Aurora MySQL in near zero downtime.

- <u>RDS :</u>
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the AWS Cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks.

- <u>Aurora :</u>
Amazon Aurora (Aurora) is a serverless, fully managed relational database engine that's compatible with MySQL and PostgreSQL. The code, tools, and applications you use today with your existing MySQL and PostgreSQL databases can be used with Aurora. With some workloads, Aurora can deliver up to five times the throughput of MySQL and up to three times the throughput of PostgreSQL without requiring changes to most of your existing applications. 
Aurora includes a high-performance storage subsystem. Its MySQL- and PostgreSQL-compatible database engines are customized to take advantage of that fast distributed storage. The underlying storage grows automatically as needed. An Aurora cluster volume can grow to a maximum size of 128 tebibytes (TiB). Aurora also automates and standardizes database clustering and replication, which are typically among the most challenging aspects of database configuration and administration. 

RDS allows you to provision up to 5 replicas, and the process of replication is slower compared to Aurora. Aurora allows you to provision up to 15 replicas, and the replication is done in milliseconds. Aurora scales faster because it can add new read replicas quickly.


You can try to migrate from RDS MySQL database to Aurora MySQL in near zero downtime by yourself by following the steps from the link below :
[GitHub](https://github.com/aaditunni/100DaysOfCloud/blob/main/Journey/016/Readme.md)
Music Monday — What are you listening to? (80's Edition)
Tags: watercooler, discuss, music
Published: 2023-01-16 20:58:20

_cover image source: [f***yeahmichaeljackson.tumblr.com](fuckyeahmichaeljackson.tumblr.com)_

**80's nostalgia arguably made it's biggest comeback sometime in the 2010's, and the decade hasn't really left us since. Things come and go in cycles and I have a theory that we tend to bring back things from ~30ish years ago... so, the 90's should be here by now. That said, I still feel like we're steeped pretty heavily in 80's nostalgia. Anywho, this is a just windy intro to say let's embrace the 80's and share our favorite tunes from the decade. If ya prefer modern music with an 80's twist, that's totally cool too!**


![Rick Astley dancing around goofily in the music video for the song "Never Gonna Give You Up" ... famous for the Rick-rolling meme!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wqoks1pc7uj3v5cmaprq.gif)


***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others suggestions.

If you like talking about music, consider following the org [#music discussions](https://dev.to/music-discussions) for more conversations about music!

{% embed https://dev.to/music-discussions %}

***

Time to hop in the DeLorean... let's take it back to the 80's! _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

Really looking forward to listening to y'all's suggestions! 🎶
What is INTERNET ?
Tags: webdev, programming, beginners, productivity
Published: 2023-01-16 20:51:51

the Internet is a public, cooperative and self-sustaining facility accessible to hundreds of millions of people worldwide. It is used by many as the primary source of information consumption, and fueled the creation and growth of its own social ecosystem through social media and content sharing. Furthermore, e-commerce, or online shopping, has become one of the largest uses of the Internet.
ChatGPT x Crypto
Published: 2023-01-16 20:39:23

ChatGPT has become our default coding + research intern at [Brydge](https://brydge.network). But, it’s super limited in crypto because it was trained in 2021. Quite a bit has changed since then!

We’re constantly running into queries we need to run like:

- *Which blockchains is CRV deployed on?*
- *What is SushiSwap’s router address?*
- *What’s Optimism’s TVL?*

ChatGPT has access to some of this data (everything pre mid 2021 aka a lifetime ago), but fails at the rest.

Good news: all of this info is publicly available (usually with ~5min of Googling).

Bad news: 5min/question adds up quickly.

So, we built a chatGPT bot that combines current web data with chatGPT to make it usable in crypto. Our primary production use is for custom token descriptions ([example here](https://www.brydge.network/buy/dai-on-ethereum)) so we can give our users more insight into the tokens they’re purchasing. But, the bot is infinitely customizable to meet anyone’s needs. We’ll expand it to our inner wiki-bot soon.

How the description bot works:

1. Takes in `protocolName` and `tokenName`
    -- Ex) Curve DAO and CRV
2. Runs search query “`tokenName` crypto description”
3. Scrape first 3 search results’ content
4. Runs chatGPT query for “write an article on `protocolName` and the `tokenName` token”
5. Returns `tokenDescription`

We’ve open sourced the bot [here](https://github.com/brydge-network/chat-gpt-website-descriptions) (it’s free to run—you just need an OpenAI session key). Pull requests + feedback are welcome!

PS—we’re still tuning the descriptions—they’re sometimes a little wonky with niche tokens. Let us know in our [Discord](https://discord.gg/QUcbrchsfd) if anything looks a little off!
How DevOps Stole Christmas
Published: 2023-01-16 20:25:04


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6ht25s4hsm9p2px3l9ri.png)DevOps is a practice that aims to bring development and operations teams together to improve collaboration and communication and to increase the speed and quality of software delivery. However, there are some ways in which DevOps can be misinterpreted or misapplied in its implementation. Misinterpretation of DevOps is frequent in a variety of contexts, including following misjudgements -

1. **Focusing solely on tooling**: Some organizations may focus on implementing specific DevOps tools, such as Jenkins or Ansible, needing to understand the underlying principles and practices of DevOps fully.

2. **Treating it as a one-time project**: DevOps is a continuous improvement process, not a one-time project, so it's essential to have a long-term plan and to evaluate and improve the processes continuously.

3. **Not involving the entire organization**: DevOps is for more than just the development and operations teams. It's crucial to have the involvement and buy-in of all stakeholders, including management, business teams, and customers.

4. **Not having a clear workflow and process**: DevOps is all about collaboration, automation, and continuous improvement, so it's vital to have a clear workflow and process.

5. **Not taking security into account**: DevOps emphasizes automation and speed, but safety should be integrated throughout the process, not as an afterthought.

6. **Need to provide more training and support**: DevOps requires a culture change and different ways of working, so it's crucial to provide training and support to help people adapt to the new way of working.

It's essential to keep in mind that implementing DevOps requires a holistic approach, and organizations should tailor it to the specific needs and culture of the organization.
Websites to practice Programming.
Tags: webdev, beginners, programming, tutorial
Published: 2023-01-16 20:23:39

1.LeetCode
[Leetcode](leetcode.com)
2.HackerRank
[link](hackerrank.com)
3.Codewars
[link](codewars.com)
4.CodingGame
[Link](codinggame.com)
5.CSSBattle
[Link](cssbattle.dev)
6.LaunchCode
[Link](launchcode.org)
cssbattle.dev
7.Codeacademy
[Link](codeacademy.com)
8.Freecodecamp
[Link](freecodecamp.org)
9.Enki
[Link](enki.com)
First-time cloud consultant? Don’t make the same mistake I did — putting technology before people.
Tags: cloud, career, beginners, writing
Published: 2023-01-16 20:04:21

When I started working as a cloud technology consultant, I made many mistakes, like most beginners.

But this was the most significant so far:

## I was overly focused on technologies and frameworks and forgot to think about the people.

This is what happened:

**I spent a lot of time learning about cloud computing** before my first project. I learned some theoretical technologies/frameworks in university. Then I spent more time learning the specific processes once I entered the workforce.

So, when it came time to create my first project plan and technology recommendations, **I assumed I knew everything I needed to know**. After all, I've spent the last few years (including university) studying this topic.

The document took me about a week to complete. I sketched out some ideas before devoting many hours to formatting and ensuring the document looked great.

When I was ready to turn it in, I asked a coworker to take a quick look at it. The responses I received were quite different from what I had expected.

**I spent too much time applying my learned technologies and frameworks and not understanding what the customer required.** I used the learned frameworks and technologies without adjusting them to fit this specific case.

In the end, **I had to redo about 80%** of the document to fit the client's needs better. In the end, I needed three iterations, which took me another week.

## What I learned from my mistake

While my ego suffered greatly due to this mistake, it taught me a valuable lesson about the importance of focusing on technologies/processes rather than people. So here are my three main conclusions from this situation:

- **Focus on people first**: Even if you're working on technologies, they're always there to help people with their problems. So prioritize people and attempt to truly understand their motivations and where they're coming from. Understanding the people will not only help you work better with them but will also allow you to adjust your work accordingly.

- **There is no one-size-fits-all solution**: Each project will be unique. So don't simply repeat your approach from the last time. Use your knowledge of the client to tailor your solution. You will not only make your customer feel understood, but you will also be more likely to provide better service.

- **Get feedback as soon as possible**: Don't waste time perfecting your first draft. Make it presentable to a colleague instead, and get early feedback. You can spend time perfecting it when you've reached the "final" iteration.
#Rust 🦀 – Time for Ferris says ! 😋
Tags: englishpost, ferris, ferrissays, rust
Published: 2023-01-19 15:24:46

---
title: #Rust 🦀 – Time for Ferris says ! 😋
published: true
date: 2023-01-16 19:55:47 UTC
tags: EnglishPost,EnglishPost,Ferris,FerrisSays
canonical_url: 
---

Hi !

[Ferris the crab](https://rustacean.net/), is the unofficial mascot for Rust.

![ferris the crab](https://brunocapuano.files.wordpress.com/2023/01/rustacean-flat-happy.png?w=460)

If you want to create a cool console app with Ferris holding a banner with a custom message, there is a super cool library that may help.

We need to search in the Rust community’s crate registry for ferris-says, and there it is [ferris-says](https://crates.io/crates/ferris-says):

![](https://brunocapuano.files.wordpress.com/2023/01/image-24.png?w=966)

And its super easy to use. Let’s show a sample demo showing a “ **Hello Reactor** ” message.

```

    Finished dev [unoptimized + debuginfo] target(s) in 0.64s
     Running `target\debug\HolaMundoReactorLatam.exe`
------------------
| Hello Reactor! |
------------------
              \
               \
                  _~^~^~_
              \) / o o \ (/
                '_ - _'
                / '-----' \

```

Source Code

{% gist https://gist.github.com/elbruno/b2616869c589efe5d847edb71b4a989b %}

Super cool !

Happy coding!

Greetings

El Bruno

More posts in my blog [ElBruno.com](https://www.elbruno.com).

* * *
Lifting State Up in Docs is scientifically incorrect
Tags: react, datascience, ux, errors
Published: 2023-01-16 19:53:44

In the React Documentation, under the "MAIN CONCEPTS" heading, Part 10 is [Lifting State Up](https://reactjs.org/docs/lifting-state-up.html).

The example begins by creating the function BoilingVerdict. Based on the input temperature, will the water boil? It returns either "The water would boil." or "The water would not boil."

If you enter 100 degrees Celsius, it correctly displays "The water would boil." If you enter 99, it correctly displays "The water would not boil." If you enter any number greater than 100, e.g., 105, it still displays "The water would boil." This is incorrect. The boiling point of water is 100 degrees Celsius. If liquid water reaches 100 degrees, it boils and becomes water vapor. It will not boil at 105 degrees. At 105 degrees, it will have already boiled; it is all water vapor.

An easy fix would be to simply change the '>= 100' to '== 100'. A more cumbersome fix would be to add text similar to the following: "For the purpose of this example, water boils at any temperature greater than 100 degrees Celsius."
Nginx front / Nginx Unit-PHP Back
Tags: nginx, nginxunit, phpsapi, phpfpm
Published: 2023-01-16 19:41:23

Moving from PHP-FPM to PHP-SAPI? This refactoring looks [promising](https://habr.com/en/post/646397/). I am coming to the conclusion that "Nginx Unit" will not and should not supplant classic Nginx. Just look at all the Unit doc [listener examples](https://unit.nginx.org/configuration/#listeners). Beside a speed increase, replacing FPM with SAPI allows for instant environment updates without restarting anything. Just a curl PUT. 

Nginx Unit 1.29.0, released on December 15, 2022
__Listeners__: On Linux-based systems, __abstract__ UNIX sockets can be used as well... 

__unix:/__filesocketheadache ([problems](https://github.com/nginx/unit/issues/669))
verses 
__unix:@__abstractsocketmagic (problem solved)

Abstract UNIX (virtual) sockets only work with Linux. They are virtual and unlike classic socket files, their existence goes away when apps stop or systems reboot. 

(DEV) Using Nginx as a proxy to multiple Unix sockets...
https://dev.to/vearutop/using-nginx-as-a-proxy-to-multiple-unix-sockets-3c7a

Google search...
["nginx unit" abstract unix socket](https://google.com/search?q=%22nginx+unit%22+abstract+unix+socket)
Creating Records with Associations
Published: 2023-01-16 19:35:51

To create my sample data, I simply created a new set of records for each table. I included logic so that the entities that had any kind of association would be assigned a user through the necessary foreign_key.

```
 ## SAMPLE PHOTOS ###

  p "Creating sample photos"

  100.times do
    new_photo = Photo.create(
     owner_id: User.all.sample.id,
     caption:  Faker::Hipster.sentence(word_count: 10),
     image:   "http://www.robohash.org/"+Faker::Number.number(digits: 4).to_s
    )
  end

  p "#{Photo.count} photos created."
  p "Here's an example:"
  p Photo.all.order(id: :desc).first

```

Yet in my database, those associations are not understood. Why is this?