teleren/devto huggingface dataset:
How I Approach Tutorials To Avoid Tutorials Hell
Tags: webdev, javascript, beginners, programming
Published: 2024-06-06 02:27:00

Tutorials hell is floozy for luck of a better word.

You are in an endless circle of tutorials, you are not learning anything, you are not getting anything done, you are not getting any better, you are not getting any closer to your goal.

You are just stuck in a loop of tutorials. You are in tutorials hell.

In order to avoid tutorial hell, here are some tips I have learned over the years.

### Build small projects

A good way to avoid tutorial hell is to build small projects.

After watching a tutorial, build a small project based on what you have learned.

This will help you to solidify your knowledge and to avoid tutorials hell. 

A trick I use when following a tutorial is to pause the video after every step and try to do the step myself.

This will help you to solidify your knowledge and to avoid tutorials hell. 

Another way is to have a project in mind and follow a tutorial to build that project.

I can incorporate my learnings from different tutorials to build my project. 

### Read the documentation'

Another way to avoid tutorials hell is to read the documentation. The documentation is the best source of information.

It is the most accurate and up to date.

When stuck on a problem, I always try to find the answer in the documentation if I can't find it in a tutorial.

The documentation also expounds on the concepts in a tutorial.

This enables you to have a wide understanding of the topic. 

### Teach yourself and others

Joseph Joubert says that, "to teach is to learn twice."

Teaching others is a form of solidifying your knowledge.

When you teach others, you identify the gaps in your knowledge.

This enables you to fill those gaps. In the process, you learn more.

### Write technical blogs

Writing is the best way you can use to teach others.

There are many platforms you can use to write technical blogs.

You can write technical blogs on Medium, Dev.to, Hashnode, etc.

You get to build your portfolio and you get to solidify your knowledge. 

Talk about killing two birds with one stone 😊.

See you in the next post. 

Happy Coding!
Karl

P.S. If you liked this post, subscribe to [my newsletter](karlgusta.substack.com) to boost your career.
So I tried Odoo for the first time
Tags: webdev, erp, beginners, odoo
Published: 2024-06-06 01:57:53

From web developer's viewpoint, I'm going to setup Odoo for the first time. It is going to installed on my local computer (Ubuntu 22.04) and the installation will be from community edition.

## Prerequisites

- Git, Python (3.10+), Pip and basics (IDEs and stuff)
- PostgreSQL database (can be community edition)

## Initial steps

This is coming from Odoo's official documentation.

1. Fork the GitHub [repo](https://github.com/odoo/odoo) for the community edition.
2. Create a new postgres user. Odoo does not accept `postgres` default user.
```sh
sudo -u postgres createuser -d -R -S $USER
createdb $USER
```

## Running Odoo for the first time

The two new databases created on PostgreSQL are: `$USER` whatever your username is and the other one called `mydb`. Run this command after you clone the Odoo repo and `cd` inside.

```sh
python3 odoo-bin --addons-path=addons -d mydb
```
After the server has started (the INFO log odoo.modules.loading: Modules loaded. is printed), open [http://localhost:8069](http://localhost:8069) in a web browser and log into the Odoo database with the base administrator account: use admin as the email and, again, admin as the password.

## Check the database schema

I ran the ERD for database tool in pgAdmin to inspect the database design for the Odoo community base platform.

From the start there are 114 tables linked in a mesh. So, I chose to dig into the database structure a bit further.

## Findings

1. Odoo's database model is quite mature as of Version 17 and incorporable to wide contextual range.
2. The database structure is monolith. Therefore, decoupling into possible micro-services would be a good prospect as some modules requires scaling different than the other.
3. You can refer to [Server Framework 101 guide](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101.html) in order to develop your own modules.

## References

- [Odoo on-premise setup from source guide](https://www.odoo.com/documentation/17.0/administration/on_premise/source.html)
Inter component communication in React.
Tags: react, javascript, frontend
Published: 2024-06-06 01:49:32


In the React ecosystem, building complex applications often involves breaking down the UI into reusable components. However, this modularity raises a crucial question: How do these components effectively communicate and share data?

This article explores the various mechanisms available in React to ensure smooth and efficient communication between your components.

Understanding the Need for Communication
Before diving into the techniques, let's clarify why inter-component communication is essential:

**- Data Sharing:**

Components often need to access and modify data that exists outside their local state.

**- Event Handling:**
 User interactions (clicks, form submissions, etc.) might trigger changes that need to be communicated to other components.


**- State Management: **

In larger applications, centralized state management can simplify complex data flows.

`JavaScript
function Parent() {
    const handleChildClick = (data) => {
        // Do something with data
    };
    return <Child onClick={handleChildClick} />;
}

function Child({ onClick }) {
    return <button onClick={() => onClick("Data from child")}>Click me</button>;
}`

`JavaScript
// Parent component
function Parent() {
    const message = "Hello from parent!";
    return <Child message={message} />;
}

// Child component
function Child({ message }) {
    return <p>{message}</p>;
}`

References: https://www.frontendeng.dev/blog/5-tutorial-how-to-communicate-between-two-components-in-react
Primera parte: Introducción API Rest
Tags: testing, api, apitesting
Published: 2024-06-06 01:31:41

API Rest es tal vez la arquitectura de backend más utilizada en la industria y que parece ser atemporal. Aunque fue creada para resolver un problema, se usa para solucionar casi cualquier problema 😶.

Al ser (volvernos) probadores funcionales, el backend es algo que generalmente desconocemos ya que solo nos piden que nuestro foco esté en lo que ve el usuario, disminuyendo así las combinaciones o escenarios de pruebas posibles a ejecutar ya que algunas casuísticas requieren manipulación de datos a nivel de base de batos (y no tenemos acceso a ellas) o manipulación de las respuestas de los endpoints que son consumidos (ya que desconocemos la manera en como la información consultada es devuelta (retornada) al front).

Como mencioné al principio Rest API es muy utilizado, tan así; que podemos notar su presencia en casi todas las aplicaciones que usamos en nuestro día a día así como las que tenemos que probar (ya sean web, mobile, desktop, iot) por tanto conocer y sobre todo entender con que se come API marca una gran diferencia a la hora de asegurar la calidad de un producto digital.

Luego de esta mediana introducción, ahora si entremos en materia:


**Qué es API Rest?**
Sin entrar en tecnicismos (más adelante si profundizaremos en esto) y de manera muy simple, una API es básicamente un medio que permite crear, consultar,  actualizar y/o eliminar información con el sistema que estamos interactuando (interno o externo) sin importar con que lenguaje de programación se encuentra construído. 

Visualmente una API Rest es:

![API representation](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4v8fu1z6q3vp4delfjk5.jpg)

La imagen anterior, para mi; es la mejor representación visualmente hablando sobre qué es un API. Es aquel (aquello) al que le hacen una solicitud (orden) y luego que esta es preparada (solicitud procesada) se entrega la preparación al comensal (consumidor).

---
Para no saturar de información, este primer post de la serie es tan solo una introducción, en cada post iremos profundizando hasta tener todo lo necesario para volvernos expertos en API Testing!
RECLAIM BITCOIN/DIGITAL ASSET...RECOVER MONEY BACK...
Tags: webdev, programming, python
Published: 2024-06-06 01:15:27

Imagine the sheer disbelief and joy one would feel upon discovering that a staggering $394,000 worth of Bitcoin, seemingly vanished into the ether, has reappeared. This is precisely the remarkable scenario that unfolded for me, I found my missing cryptocurrency fortune thanks to the intervention of a digital wizard of sorts, Cyber Genie Hack Pro. In the ever-evolving landscape of blockchain technology and decentralized finance, the loss or theft of digital assets is an all-too-common occurrence, leaving victims grappling with the agonizing prospect of never recovering their hard-earned funds. However, in my case, I refused to accept defeat, and through a combination of persistence, technological savvy, and a stroke of good fortune, they were able to track down and reclaim my missing Bitcoin. The process, no doubt, was arduous and fraught with uncertainty, but the payoff was nothing short of life-changing. Imagine the relief, vindication, and the renewed faith in the system that must have washed over me as I watched my lost treasure reappear, like a rabbit pulled from the magician's hat. This remarkable tale serves as a testament to the resilience of the human spirit, the power of innovative solutions, and the potential for technology to overcome even the most daunting challenges. It is a story that reminds us that in the ever-evolving world of digital assets, the impossible may not be as out of reach as we might think through the aid of Cyber Genie Hack Pro. Talk to a representative of theirs via:
W.E.B/ w.w.w (cybergeniehackpro) . x y z
T.E.L.E.G.R.A.M/ (@)Cybergeniehackpro
W.H.A.T.S.A.P.P LINK/  wa.link/aciuds

Thank you.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6q4p0icqjhxenior1u6.jpg)
The Base and Rotation
Tags: design, webdev, beginners, learning
Published: 2024-06-06 01:02:18


YOO, WHAT is up guys.

I don't know if you remember the base I made in the second post. Well, I 3D printed that one (Image 1), and it was an okay base overall, but it wasn't deep enough. I made some tweaks to this base. I used the SolidEdit function and chose to stretch the top part of this object. This made it lengthier in the Z direction, which is what I wanted. I also used the fillet edge function to make the sides a bit curvier(Image 2).

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

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

I also wanted to add a feature to this turret. I wanted to add a camera to detect the faces of people and determine who it would shoot. It will be shooting these yellowish Nerf balls, so I need some sort of place to store them. The round diameter is about 14.5 mm(Image 3). I have linked a YouTube video for all the specs on the balls I will be using.

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

Youtube video:https://www.youtube.com/watch?v=vaA_xTaRa7I&t=135s


I was also coming up with some ideas on how to proceed with getting the thing to start turning. I plan to design and 3D print another part to facilitate the turret's movement. I want to really get all these pieces first before programming and really making progress on this.

My next step will be making some gears and hopefully not messing up too badly. But AYY F**K it, we ball. Still quite a long way from the finished product.

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

But that is a sneak peek of what is in store. For now, the biggest question is making IT ROTATE. I need this thing to be able to do a 360. So, time to start throwing ideas and just running it down main.

Well, this is the update I have so far, and next time, hopefully, I am able to solve this whole rotating problem. Thank you once again for reading this, and if y'all have any ideas, comment them down below.
Spinomenal granted Croatia iGaming certification
Published: 2024-06-06 00:51:12

Spinomenal has been granted its certification for the Croatian iGaming market, operators within Croatia are now able to gain access to and offer Spinomenal’s suite of HTML5 slots content. Spinomenal games portfolio includes Book of Demi Gods II, Western Tales and Lucky Jack – Tut’s Treasures.

Croatia follows quickly on the back of the Spanish B2B certification and joins an impressive list of iGaming certifications, these markets provide a framework for Spinomenal’s business objectives.

Spinomenal’s CEO, Lior Shvartz, commented: “Our target is to make our standout content widely available across the top performing iGaming markets. We’ve identified the Croatian market as one of big potential and we are pleased to secure our certification.”

[온라인카지노사이트](https://www.casinositetop.com/) , [합법 카지노 사이트](https://www.casinositetop.com/)
Inspired signs virtual sports contract with Novibet
Published: 2024-06-06 00:49:55


Inspired Entertainment has signed a multi-market contract to launch its Virtual Sports content with Novibet. Starting with the Greek market, Inspired’s Virtual Sports are now hosted in a dedicated section on novibet.gr, offering customized and localized Virtual Sports options to players on a 24/7/365 basis.

Inspired’s Virtual Sports are delivered via the company’s Virtual Plug & Play solution, which allows Novibet’s members to access multiple Virtual Sports, including soccer, basketball and horse racing, served through a player interface. Novibet has launched Inspired’s Greek Matchday Soccer League, featuring 16 teams playing a league season of virtual soccer.

Brooks Pierce, president and chief operating officer said: “Novibet is a leading online gaming operator and has been a long-standing customer of Inspired’s on the iGaming side.”

“We are very excited to further enhance their online portfolio to include our award-winning Virtual Sports and we look forward to working together to grow their brand across Europe.”

Thanasis Gkiokas, sports manager at Novibet said: “We have enjoyed working with Inspired to create custom Virtual Sports offerings that are specifically tailored to fully satisfy our members, such as Inspired’s exclusive Greek Matchday Soccer League.”

[온라인카지노사이트](https://www.casinosite.one/)
My Game Recommendation Program
Published: 2024-06-06 00:43:18

## Program Showcase


{% embed https://youtu.be/Uw4t6-4ZoBU %}


## Code File Explanation


### Data File
* The Data [File](https://github.com/CarterWr/Recommendation-Software/blob/main/data.py) is just the data set I hand made by researching different game categories and popular games within them.

### Tree Structure
* The Data structure I used to store the data was a very simple [tree](https://github.com/CarterWr/Recommendation-Software/blob/main/Tree_struct.py) that has one method and that is add child to node, and two attributes value (what the node stores) and children (a list, the nodes children).

### Main File
* The main [file](https://github.com/CarterWr/Recommendation-Software/blob/main/main.py) where the execution happens. not a lot of code is here just calling the main caller function.

### Functions File
* This is where all the magic happens, The functions [file](https://github.com/CarterWr/Recommendation-Software/blob/main/functions.py). The functions file contains a lot of the code that is used in this for example. this is where the initialization of the tree objects to store all of the data in. Most of the code in this file is doc stringed so I won't go into what each function does if your curious go check it out.

Git Hub Repository Link: [here](https://github.com/CarterWr/Recommendation-Software/tree/main)
Understanding Microservices Architecture
Tags: webdev, javascript, beginners, programming
Published: 2024-06-06 00:31:57

## Introduction

Microservices architecture is gaining popularity among businesses as it provides several advantages over traditional monolithic architecture. It is an architectural style that breaks down a large software system into small, independent, and modular services, each with its own specific function. These services communicate with each other through well-defined APIs and can be deployed and managed independently. In this article, we will dive into the understanding of microservices architecture, its advantages, disadvantages, and key features.

## Advantages of Microservices

1. **Scalability:** Microservices allow for easier scalability as each service can be scaled independently based on its usage and demand.

2. **Flexibility:** This architecture allows for flexibility in development, as different services can be built using different technologies and languages.

3. **Easy Maintenance:** Since each microservice is independent, it is easier to maintain and update without affecting the entire system.

4. **Cost-effective:** Microservices allow businesses to save costs by only paying for the specific services that are used, rather than the entire system.

## Disadvantages of Microservices

1. **Complex architecture:** Implementing microservices architecture requires expertise and can be complex to design and maintain.

2. **Increased communication overhead:** With multiple services communicating with each other, there is a potential increase in network traffic and communication overhead.

## Key Features of Microservices Architecture

1. **Decentralized:** Microservices architecture follows a decentralized approach where there is no central database or control.

2. **Independent Deployment:** Each service can be deployed independently, making it easier to make changes without affecting the entire system.

### Example of Independent Deployment

Here's an example of how a microservice can be deployed independently using Docker, a popular containerization platform:

```bash
# Build the Docker image for the microservice
docker build -t my-microservice .

# Run the microservice in a new container
docker run -p 4000:4000 my-microservice
```

This example demonstrates the ease of deploying a microservice independently, allowing for updates and maintenance without downtime for the entire system.

## Conclusion

Microservices architecture offers several advantages, such as scalability, flexibility, and cost-effectiveness. However, it also brings in challenges such as complexity and increased communication overhead. Understanding the architecture and carefully considering its implementation is crucial for businesses to reap its benefits and overcome its challenges. Overall, microservices architecture is a revolutionary approach that is transforming the way software systems are designed, developed, and deployed.
I Am So Sick of Leetcode-Style Interviews
Tags: career, opinion, rant
Published: 2024-06-07 02:47:20

---
title: I Am So Sick of Leetcode-Style Interviews
published: true
date: 2024-06-06 00:00:00 UTC
tags: #career, #opinion, #rant
canonical_url: https://nelson.cloud/i-am-so-sick-of-leetcode-style-interviews/
---
I quit my previous job at [Robinhood](https://robinhood.com/) in late November of 2023 mainly for health reasons. I've been in various interviews since then. Things have fallen off for one reason or another but I just gotta say...I am getting so tired of [Leetcode](https://leetcode.com/problemset/)-style interviews, especially since I know they don't reflect the actual responsibilities of software engineering.

It seems like most (if not all) companies do these kinds of interviews simply because that's what all the big companies do, like Google, Facebook/Meta, Amazon, and so on.

I've had very bright engineers tell me that I shouldn't memorize things that I can easily Google. But yet, these interviews quiz me on things that I can easily Google but I may not know off the top of my head. It's absurd.

I don't really have a solution to this problem, I just know it's a problem.

And I'm sick of it.

If you need a Software Engineer with AWS, Kuberentes, and Ruby on Rails experience, and you don't do silly quizzes, feel free to reach out!

* * *

Discussion over at [Hacker News](https://news.ycombinator.com/item?id=40571395)
Dev.to Frontend Challenge: Take me to the Beach
Tags: frontendchallenge, braziliandevs, javascript, webdev
Published: 2024-06-05 23:55:33

## Dev.to Frontend Challenge June

This project it will be used for the dev.to frontend challenge. I choose the second challenge: the beaches.

Just Access the Project: [Hosted Project](https://devto-frontend-challenge-june.vercel.app/)


## Github Repository

[Repository](https://github.com/kevinuehara/devto-frontend-challenge-june)

![Project Overview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/77lcr53s3z04cz2uwvfq.png)


## How it works?

I'm using the Vanilla Javascript and the mock API to provide the images and the lat/long. And with the coordinates I'm using Leaflet to display the map location of the beach.

I'm not using NPM/Yarn/PNPM as dependency package manager. This project is a simple project using vanilla javascript and using all the functions to replace and manipulate the DOM, just using javascript.

All styles is a simple file of CSS.

For the fonts I'm using the Google Fonts.

Also, is responsive, with accessibility, performance and Best SEO!

## How to run?

Just use the Live Server of VS Code extension. Click on HTML file with the right button of the mouse and click on `Open Live Server`. Access the `http://localhost:5501/index.html`.

This project is hosted on Vercel. Just access the `https://devto-frontend-challenge-june.vercel.app/`

## Light House Metrics

![Light House Metrics](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ps8z22tmuyjgmlp9d6ax.png)
Day 964 : Energy Boost
Tags: hiphop, code, coding, lifelongdev
Published: 2024-06-05 23:53:11

_liner notes_:
- Professional : Had a couple of meetings. Responded to community questions. Rest of the day, I  worked on the library I published yesterday and got it working in a demo application. Pretty good day.

- Personal : Last night, I went through some tracks for the radio show. Worked on my side project. Didn't get much done. CSS was kicking my butt! haha I'm almost there. Trying to get the selection of an element previous to the active one. Got tired and went to sleep.

![The image shows a vast, grassy plain in the Serengeti National Park in Silale Swamps, Tanzania. There are three large, green trees in the foreground, and a herd of elephants can be seen grazing in the distance. The sky is a clear blue, and the sun is shining brightly.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xwogc6qwyrm65g48rtaw.jpg)

Don't know what it is. Think I'm sick. Got a sore thought and bad cough every once in a while and just been super tired after work. Been getting started on my side project later than normal. I did set up my new AR glasses so that's pretty cool. There's some more apps I want to download to test some things out, but so far so good. I'm tired! Need an energy boost. Going to go through some tracks on Bandcamp to purchase. Work on the radio show. See if I can get this CSS worked out. I think I'm so close. I'm learning a lot though. Then call it a night.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube dE3gl0afQlw %}