teleren/devto huggingface dataset:
Tác giả Đức Toàn
Published: 2023-11-28 04:17:03

Tác giả Đức Toàn , anh là lãnh đạo xuất sắc, đã vượt qua hàng ngàn thách thức và gian khổ để xây dựng 8vnd, một trang web cá cược nổi tiếng và thành công. Với tầm nhìn táo bạo và tâm huyết không ngừng, ông đã khiến k8bet thành một trong những điểm đến hàng đầu dành cho giải trí và sân chơi cá cược 
Đức Toàn  không chỉ đóng vai trò là CEO, mà cô còn là tâm hồn và sức mạnh đằng sau sự phát triển của 8vnd. Với kiến thức sâu rộng trong lĩnh vực cá cược và sự quyết tâm mạnh mẽ, ông đã xây dựng một đội ngũ chuyên gia đa dạng để hỗ trợ và đảm bảo rằng 8vnd mang đến một trải nghiệm giải trí tối ưu và an toàn cho người chơi.
8vnd luôn đặt khách hàng lên hàng đầu, và tất cả mọi quyết định được đưa ra dựa trên nguyên tắc này. Đức Toàn luôn cam kết cung cấp sự hỗ trợ tận tâm và đảm bảo bảo mật tối đa cho dữ liệu cá nhân của người chơi. Điều này đã giúp xây dựng niềm tin mạnh mẽ từ phía người chơi và đánh dấu sự khác biệt của 8vnd trong lĩnh vực này
Đức Toàn không chỉ là một doanh nhân thành công mà còn là một người lãnh đạo đầy tâm huyết với sứ mệnh mang lại niềm vui và sự thú vị cho người chơi. Với sự cam kết của mình đối với chất lượng và uy tín, Đức Toàn và 8vnd đang tiếp tục làm nên câu chuyện thành công trong thế giới cá cược trực tuyến.
địa chỉ : 109 Thành Công, Tân Thành, Tân Phú, Thành phố Hồ Chí Minh, Việt Nam
postcode:72000 
số điện thoại: 0568280084
email: 8vndbiz@gmail.com
website: https://8vnd.biz/tac-gia-duc-toan/
#toan8vndbiz #toannhacai8vnd #toan8vndcasino #toan8vnd
 
Social Links:

https://www.pinterest.com/ductoan8vnd/

https://twitter.com/ductoan8vnd

https://www.reddit.com/user/ductoan8vnd

https://www.quora.com/profile/Ductoan8vnd

https://www.producthunt.com/@ductoan8vnd

https://vimeo.com/ductoan8vnd

https://foursquare.com/uct3684442/list/ductoan8vnd

https://www.youtube.com/@ductoan8vnd/about

https://www.goodreads.com/user/show/171961195-c-to-n

https://soundcloud.com/ductoan8vnd

https://www.twitch.tv/ductoan8vnd

https://flipboard.com/@ductoan8vnd/

https://en.gravatar.com/lahomamadeau

https://dribbble.com/ductoan8vnd/about

https://www.kickstarter.com/profile/ductoan8vnd/about

https://www.blogger.com/profile/11644893879723627942

https://ductoan8vnd.blogspot.com/

https://ductoan8vnd.tumblr.com/

https://www.behance.net/ductoan8vnd

https://about.me/ductoan8vnd/

https://www.instapaper.com/p/ductoan8vnd

https://sites.google.com/view/ductoan8vnd/

https://band.us/@ductoan8vnd

https://data.world/ductoan8vnd

https://www.blackhatworld.com/members/ductoan8vnd.1843719/#about

https://www.designspiration.com/ductoan8vnd/

http://www.socialbookmarkssite.com/user/ductoan8vnd/

https://replit.com/@ductoan8vnd

https://pxhere.com/en/photographer/4131678

https://osf.io/7venx/

https://public.tableau.com/app/profile/ductoan8vnd/

https://forums.goha.ru/member.php?u=1514958
Advice: THINK then write code
Tags: advice, beginners
Published: 2019-04-24 17:21:18

---
title: Advice: THINK then write code
published: true
description: Advice for people learning.
tags: Advice, beginner
---
<h2>1. Think then write code</h2>

I teach CIS courses at the college level and I have to tell students this all the time when writing code. THINK then write code. Solve the problem in your head or on paper, then write the code. Too many people when they start out are focused on writing the code and not solving the problem first. Programming is 90% logic and 10% syntax (one person I know said the remaining 10% was something totally different but I can't repeat it) Software Development is mostly about solving problems, not making things show up on a screen and in a browser. People pay developers ridiculous amounts of money to solve problems that save time, money or both. Those business people do not care about the code, they just care about if the software does what they want it to do.

<h2>2. Break Big Problem Up Into Small Pieces</h2>

Another piece of advice I recently have to tell students is don't try to solve a big problem all at once. Break the problem into small pieces and solve the individual pieces. Now I will admit this can get you in trouble but for the most part it works.

A few years back I went to a developer conference and this guy gave a keynote on Complexity. He talked for a good 90 minutes about complexity and how to deal with it. I'm not going to type for 90 minutes so I will just sum up what he said. The way to deal with complexity is to break up the problem into smaller pieces.

<h2>3. Learn From the Past</h2> 

If you have read any early computer age software development life-cycle books they all mention flowcharting. You mention flowcharting today people think you're crazy. But they did that for the simple fact that they learned that you should solve the problem first before writing any code. I have seen too many people just starting out in programming get stuck on a simple problem because they are trying to solve the problem and write code at the same time. You might be able to do this once you have more experience. If you develop the skill of solving the problem first then writing the code your productivity will definitely increase because you won't spend time going down dead end paths. For the more complex problems I still whiteboard the logic first before writing any code. Just because you can think and write code at the same time does not make you a better developer than me. (smile)

<h2>Bonus Advice - Read</h2>

I know many people do not like reading boring technical books. But trust me the lessons of the past can still help us with the future. Go and read a few of the classic software engineering books. There are plenty of posts on Dev that have those books. Free free to make recommendations in the comments.
A Beginner's Journey: Serving a Simple Static Web Page with Docker and Nginx
Published: 2023-11-28 03:19:02

**Introduction:**

As a newcomer to the vast and dynamic world of containers and web servers, I recently found myself drawn to the simplicity and efficiency promised by Docker and Nginx. Eager to explore and learn, I embarked on a journey to set up a basic static web page using these technologies. This blog post outlines my experience, step-by-step, from installation to serving a static web page.

**Getting Started:**

**Installing Docker and Docker Compose:**

The first step in my adventure was to [install Docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04) and [Docker Compose](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04). Docker simplifies the process of packaging and distributing applications in containers, while Docker Compose allows for easy management of multi-container applications. After a quick search and download, I had both tools up and running on my system.

**Project Structure:**

With Docker ready to go, I organized my project structure. The directory tree looked like this:

![Project Structure](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4clpllio6oacyrivkj3o.png)

The **app** directory contained a static folder with my simple **index.html** file. The **docker-compose.yml**, **Dockerfile**, and **nginx.conf** files would play key roles in configuring and orchestrating my containers.

**Configuring Nginx:**

1. **Writing the Dockerfile:**

   I created a Dockerfile to define the container's configuration. 
   This file included instructions for pulling the Nginx base 
   image, copying the necessary files, and setting up the working 
   directory.
   
   ![Dockerfile ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xd5qje5nb9511o8x7tp3.png)


2. **nginx.conf Configuration:**

   The **nginx.conf** file allowed me to customize Nginx's 
   configuration. I specified the location of my static files and 
   configured the server to listen on the desired port.

   ![nginx conf](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h7b1650jc0563mmvu7lu.png)

**Setting Up Docker Compose:**

1. **docker-compose.yml Configuration:**
   **Docker Compose** simplified the process of managing multiple 
   containers. In my docker-compose.yml file, I defined the 
   services for Nginx, specifying the build context, ports, and 
   volumes.

   ![docker-compose.yml](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w833c7c6va4ow4g9bbuf.png)

**Building and Running Containers:**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6gl79vsrgb9lq5feuvlw.png)
Future of Software Engineering: Is Maintainability Still Important?
Tags: discuss, softwareengineering, ai, programming
Published: 2023-11-28 03:11:22



I recently stumbled upon a YouTube talk by an AI salesman that got me thinking about the future of Software Engineering as a Profession. The speaker said something along the line of "maintainable code for humans". I mean, I have always known that but this time, it got me thinking – all those acronyms we toss around like confetti (DRY, WET, YAGNI, SOLID) are essentially for us. When it comes down to CPUs, all they see is bits and bytes.

## Today's programming language, tomorrow's joke.

> At the end, today's bleeding edge is tomorrow's legacy;

So, what if the programming language of tomorrow are not lines of code but Natural Language

Note that not long ago, any serious software had to be written in Assembly. Fast forward to today,  compilers had become better at generating Assembly code than most programmers. I mean, I can't remember the last time I had to inspect the byte code generated by the V8 engine due to a pesky bug.

So, I ask again, if AI generated code gets better and it starts working 99.9% of the time, of what use is maintainability?
How I Use Terraform in My Work and What I Learned from It
Tags: terraform
Published: 2023-11-28 03:06:37

When I first stumbled upon Terraform, it felt like I had discovered a secret weapon. Gone were the days of manual setups and inconsistent environments. Terraform became my go-to for orchestrating everything in the cloud. Here's a glimpse into how I weave Terraform into my daily work and the invaluable lessons it taught me.

## **1. Embracing Infrastructure as Code**

The first thing that struck me was Terraform's approach to treating infrastructure like software. This means I can version control my setups, track changes, and collaborate with my team seamlessly. The code-centric approach also made it ridiculously easy to replicate environments, ensuring that what works in development works just as smoothly in production.

## **2. Simplifying Complexity**

My projects often involve complex infrastructures. With Terraform, I break down this complexity into manageable chunks of code. It's like building with Lego – each block of code represents a piece of the infrastructure, and I just stack them together to build the whole picture.

**Sample Code: Spinning Up an AWS Server**

Let's dive into a snippet that shows Terraform's simplicity:

```hcl
provider "aws" {
  region = "us-west-2"
}

resource "aws_instance" "my_server" {
  ami           = "ami-12345"
  instance_type = "t2.micro"
}
```

This code sets up a basic AWS server. Just a few lines, and I have a server running. The power of Terraform lies in this simplicity.

## **3. Plan and Apply: The Terraform Mantra**

The Terraform workflow is a cycle of planning and applying. I always run `terraform plan` to preview changes before applying them with `terraform apply`. This two-step process has saved me countless hours by catching potential issues early.

## **4. The Learning Curve**

Terraform’s learning curve was steeper than I anticipated. Understanding the nuances of its declarative syntax and grasping state management were initial hurdles. But once I got the hang of it, it was smooth sailing.

## **5. The Multi-Cloud Advantage**

In my line of work, I deal with multiple cloud providers. Terraform's ability to manage resources across AWS, Azure, and GCP from a single tool is nothing short of amazing. It's like having a universal remote for the cloud.

## **6. Evolving with Terraform**

Terraform isn't static; it's constantly evolving. Keeping up with its updates and new features is vital. This continuous learning process has kept me on my toes and always ready to embrace new ways to optimize my infrastructure.

## **Conclusion: Terraform, A Game Changer**

Terraform has shifted the way I approach infrastructure. It's efficient, consistent, and versatile. Whether you're managing a single cloud environment or juggling multiple, Terraform is the tool that can transform your workflow, just like it transformed mine.
Uso de Triggers em Banco de Dados
Published: 2023-11-28 02:25:17


**Fabrizio Ferrari – 166685
Luís Felipe – 165601**

**Definição**
 
Dentro do conceito de banco de dados, os denominados “Triggers” os processos que são disparados em uma tradução literal, executando linhas de código, podendo conter atualizações, inserções e exclusão de dados de uma tabela, por exemplo. Dessa forma ele permite que automaticamente ele execute ações premeditadas quando os requerimentos para um trigger acontecer, seja preenchido.
Quando eventos específicos ocorrem em uma tabela que ele esteja associado, ele irá conclusivamente executar suas ações, podendo garantir de grande forma a consistência e integridade de dados, poupando diversos processos de inserção manual de ordens para manipulação de tabelas.
 
**Sintaxe**
 
Para criar um Trigger existem diversas variações, mas sempre com um padrão parecido. Geralmente definimos um evento de DML no disparo
 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x51k8huy6vjnn884hbjl.png)
 
Analisando mais a fundo esse exemplo nosso de Trigger, ele está impedindo que o saldo da conta bancária seja mudado para negativo. Também é bom ter cautela ao usar Triggers, pois ao mesmo tempo que eles podem ser muito bons no controle e facilitadores, eles podem afetar o desempenho de um banco de dados se mal utilizado. É com esse gancho que entramos na parte de vantagens e desvantagens.
Vantagens e Desvantagens do Uso
 
 
Vantagens:

- Automatização de regras negociais

- Facilitador na manutenção de dados em um DB

- Reduz a necessidade de outras linhas de código em uma aplicação.
 
Desvantagens:

- Ao realizar um diagnóstico ou manutenção de um código, ele automaticamente se torna mais complexo.

- Pode reduzir drasticamente a performance se mal utilizado.
Difícil de fazer uma depuração

- Desde que bem pensado e bem arquitetado, o uso de triggers sem dúvidas é um ótimo facilitador, trazendo sem dúvidas mais vantagens do que desvantagens.

**Exemplos de aplicações no mercado**
 
Em geral o uso de Triggers é bem abrangente, mas seguindo o exemplo de sintaxe anterior, um bom exemplo é em sistemas bancários, validando e evitando fraudes, já que ele está mantendo valores, ou até mesmo se uma transação for feita de um lugar ou horário incomum, bloqueá-la. Um outro bom exemplo pode ser uma loja on-line, manipulando o estoque da loja, sem que precise de alguém o tempo inteiro intervindo no processo, caso um produto se esgote em breve.
 
**Conclusão**
 
Triggers quando estudados, arquitetados e bem aplicados em um banco de dados, sem dúvidas auxiliará no processo, pois poupará muito a inserção manual de códigos, se provando extremamente úteis em diversas ocasiões.
Exploring Format: The New Feature of Ruff | Python
Tags: python, ruff
Published: 2023-12-03 23:05:39

---
title: Exploring Format: The New Feature of Ruff | Python
published: true
date: 2023-11-28 02:17:10 UTC
tags: #python #ruff
canonical_url: https://carlosmv.hashnode.dev/exploring-format-the-new-feature-of-ruff-python
---

Ruff introduces the `format` feature for the v0.1.2. So right now Ruff, not only is a linter but also a formatter. In this short article, we are going to learn how to use the formatter.

### Requirements

- Python installed

### The Ruff Formatter

As the [documentation](https://docs.astral.sh/ruff/formatter/) says, the Ruff formatter is an extremely fast Python code formatter designed as a drop-in replacement for Black, available as part of the `ruff` CLI (as of Ruff v0.0.289).

If you already have a previous version of Ruff installed, run this command in your console:

```
pip install --upgrade ruff

```

For anyone who doesn't have Ruff installed, run this command:

```
pip install ruff

```

Now, to use the formatter feature in a Python file, we run the `ruff format /path/to/file.py` command, and it will format the file.

To format all the files in a directory, we run the `ruff format .` command.

### Example

I have this code in a main.py file:

```
log = new_log(tracker["ip_address"], tracker["request_url"], tracker["request_port"],
                      tracker["request_path"], tracker["request_method"],
                      tracker["browser_type"], tracker["operating_system"],tracker["request_time"])

```

Then, we run the following command:

```
ruff format main.py

```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700411922555/fb44ae49-e6bb-4fa0-96b2-e6dd782d97e5.png)

### Conclusion

The formatter is an incredible addition to Ruff, it helps us to write more readable and maintainable code. Now, we have a fast linter and formatter.

### Resources

[Ruff Formatter](https://docs.astral.sh/ruff/formatter/#preview-style)
Unveiling Elegance A Closer Look at Amazon's Clergy Dresses Collection
Published: 2023-11-28 02:08:35


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

Let's delve into the world of [Amazon's Clergy Dresses](https://clergywearshop.com/), exploring the diverse styles, features, and significance they hold within the context of religious practices.Amazon's clergy dresses collection offers a harmonious blend of tradition, elegance, and convenience. By providing a diverse range of designs and maintaining a commitment to quality, Amazon caters to the unique needs of clergy members from various religious traditions. As individuals continue to seek meaningful ways to express their faith, the clergy dresses available on Amazon serve as a testament to the enduring significance of attire in religious practices.Clergy Wear Shop offers a very wearable trendy, elegant, traditional and versatile clergy apparel with uncompromising quality. An elegant addition to your prominent personality.
My Path to Python
Tags: python, chatgpt, opensource, api
Published: 2023-11-28 02:04:46

5 years ago today, I finally found “It”.
 
It sure took a while though…
 
After starting my career at PwC in 2008, and then spending nearly a decade in medical device sales, I felt lost and somewhat hopeless.
 
I’d been chasing what I thought I was supposed to do, rather than what I enjoyed doing.
 
That all changed on Nov 20th, 2018.
 
An example of the beneficial side of social media; a targeted ad for Codecademy, called Introduction to Python.
 
The aforementioned “It.”
 
My knee-jerk reaction was “no way, not happening.” I was 34 years old at the time, so the thought of learning how to code seemed both daunting and silly.
 
And the thought of changing my career path… well, that wasn’t even on the radar.
 
Still though, my mind was open enough to it… Why?... 
 
Desperation.
 
The feeling of being lost and hopeless is both awful and terrifying. I’m sure many can relate.
 
When you’re in that place though, opportunity is lurking…
 
The opportunity to dig out... or, the opportunity to spiral further down.
 
To be clear, this post isn’t meant to give off “pull yourself up by your bootstraps" vibes.
 
When it comes to athletics and physical activity, I'm for that mindset (most of the time).
 
However, when it comes to the mind, human emotions, and the unique, singular life experiences we all have, there is no simple, cookie-cutter statement or approach to “fix things” – in my opinion.
 
And if you believe there is, congratulations on figuring out what works for you. Just keep in mind that’s a gift, not someone else’s defect.
 
To that point though, this post is about how grateful I am, on a few fronts – and how I hope to convert that gratefulness into becoming more of a contributor, rather than just an absorber.
 
I’m grateful that I found Python.
 
Grateful that I discovered it in an era where I could learn an immense amount through very inexpensive, highly valuable platforms such as Codecademy, Coursera, Dataquest, Udemy, and many others.
 
Grateful towards the amazing Python community, and community of coders overall, which allowed me to quickly build a full-stack skill set.
 
Lastly, but certainly not least, extremely grateful that ChatGPT and then GPT-4 came along when they did.
 
So today, I'm reflecting on my gratitude and my desire to contribute more.
 
I've used Python to delve into a plethora of interests - sports, politics, pandemic data, and dozens of other topics/areas, which I’ll be sharing daily (hopefully).

Starting with my GitHub repo that makes use of Spotify's API (and the excellent Spotipy Python library).
 
A great API to tinker with.
 
Tinkering only leads to growth, and growth compounds over time - and there's no requirement for every pursuit to generate revenue or have an end goal; just learning in and of itself can be the purpose.
 
Selfishly, I know I will learn a great deal from this experiment too.
 
Autonomous_AJ, signing off (beep boop beep)
 
Link to GitHub repo:
https://lnkd.in/gZY4SDYr
TexCreate v3.3 Initial Plans
Tags: rust, latex, opensource, news
Published: 2023-11-28 01:53:51

I admittedly haven't had the chance to do much work on the TexCreate project these last few months, but its not like I haven't been using it, and because of that I do see things I would like to improve. 

 Firstly, I have not been able to work on adding extra templates to the MKProj first party templates. Next is changing the release system to Github releases and taking advantage of the `.texcreate` folder to be able to manage different releases, update, and stuff like that. 

I do not have an exact timeline of when I'd be able to put this into reality, it will require abstractions to Github API, I'd have to also create a sort of package manager, and make changes to several crates. 

To help support the future of this project, consider becoming a member at my [store](https://store.mokareads.org/l/phfnnw)