teleren/devto huggingface dataset:
[Kafka] 1.Cài Đặt Kafka Server Trong 1 Phút
Published: 2024-06-08 14:52:25

**Cài Đặt Kafka Trên Mac**
* Chỉ cần dùng 2 câu lệnh sau:
```sh
brew install kafka
brew install java
```
* Sau khi cài đặt thành công, run 2 câu lệnh để start `zookeeper` và `kafka`
```sh
zookeeper-server-start /opt/homebrew/etc/kafka/zookeeper.properties
kafka-server-start /opt/homebrew/etc/kafka/server.properties
```

**Cài Đặt Kafka Use Docker**
* tạo file docker-compose.yaml
```python:docker
version: "2"

services:
  zookeeper:
    image: docker.io/bitnami/zookeeper:3.8
    ports:
      - "2181:2181"
    volumes:
      - "zookeeper_data:/bitnami"
    environment:
      - ALLOW_ANONYMOUS_LOGIN=yes
  kafka:
    image: docker.io/bitnami/kafka:3.2
    ports:
      - "9092:9092"
    volumes:
      - "kafka_data:/bitnami"
    environment:
      - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
      - ALLOW_PLAINTEXT_LISTENER=yes
    depends_on:
      - zookeeper

volumes:
  zookeeper_data:
    driver: local
  kafka_data:
    driver: local
```

**Một vài câu lệnh đơn giản**
* create topic:
```sh
kafka-topics --create --topic demo --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 
```

* list topic:
```sh
kafka-topics --list --bootstrap-server localhost:9092
```

* view topic:
```sh
kafka-topics --describe --topic demo --bootstrap-server localhost:9092
```

* list topic:
```sh
kafka-topics --list --bootstrap-server localhost:9092
```

* push message vào topic
```sh
kafka-console-producer --broker-list localhost:9092 --topic demo
```

* đọc message từ topci:
```sh
kafka-console-consumer --bootstrap-server localhost:9092 --topic demo --from-beginning
```

* delete topic:
```sh
kafka-topics --delete --topic demo --bootstrap-server localhost:9092
```
lá số tử vi
Published: 2024-06-08 14:50:49

Tử Vi, hay Tử Vi Đẩu Số, là một bộ môn huyền học được dùng với các công năng chính như: luận đoán về tính cách, hoàn cảnh, dự đoán về các " vận hạn" trong cuộc đời của một người đồng thời nghiên cứu tương tác của một người với các sự kiện, nhân sự.... Chung quy với mục đích chính là để biết vận mệnh con người.

Lấy lá số tử vi để làm gì ?
Xem lá số tử vi trọn đời có bình giải chi tiết sẽ giúp cho quý bạn mệnh biết về tương lai, vận hạn theo các năm. Khi lấy lá số tử vi theo giờ sinh và ngày tháng năm sinh thì quý bạn cần khám phá phần luận giải lá số để nắm bắt vận mệnh của chính mình. Lá số tử vi trọn đời mang yếu tố tham khảo giúp quý bản mệnh tránh việc không nên, tăng cường việc tốt từ đó có một cuộc sống suôn sẻ và nhiều may mắn.

Lá số tử vi trọn đời thể hiện điều gì ?
Trên mỗi lá số tử vi sẽ thể hiện các phương diện cuộc sống của quý bản mệnh theo từng năm tuổi cụ thể như: công danh, sự nghiệp, gia đạo, tình duyên, tiền tài, sức khỏe, anh chị em, quan hệ xã hội...
Để tra cứu và lấy lá số tử vi trọn đời trực tuyến miễn phí quý bạn cần cung cấp đầy đủ và chính xác nhất về họ tên, giờ sinh, ngày sinh, tháng sinh, năm sinh và giới tính.
Ngoài ra: cách xem lá số tử vi có thể thay đổi theo các năm. Vì vậy để luận đoán và có cái nhìn chính xác nhất về tương lai và vận mệnh của mình trong năm Kỷ Hợi 2019 cũng như trong năm Canh Tý 2020. Quý bạn nên lấy lá số tử vi 2019 và cách lập lá số tử vi để tham khảo chi tiết tử vi năm 2020 của mình, cũng như phân tích và khám phá lá số tử vi trọn đời của các năm khác.
Xem thêm tại: https://tuvi.vn/lap-la-so-tu-vi
FANCY: Premium Subscription-Based Design
Tags: design, producthunt, webdesign, startup
Published: 2024-06-08 14:49:49

We’re thrilled to announce the launch of [FANCY](https://fancy.design/?utm_source=devto&utm_medium=article&utm_campaign=ph_launch), premium subscription-based design, on Product Hunt! 🚀

**What is FANCY?**
FANCY offers high-quality, subscription-based design services. Our unique model ensures a consistent and efficient design process, delivering top-tier results without the hassle of traditional project-based workflows.

![Why it's Profitable?](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s1uf63dvzam42gtgsfb4.png)

**Why Choose FANCY?**
- _Consistency and Quality_: Enjoy continuous design support from our team of senior designers.
- _Efficiency_: Simplified task submission without endless briefs and approvals.
- _Premium Results_: We focus on delivering exceptional designs tailored to your needs.

![How FANCY's Subscription Works](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ujyoctrmdtgr291niqn.png)

**Meet the Team:**
[Alex](https://www.linkedin.com/in/ibender/): Expert in 3D and animation.
[Ruslan](https://www.linkedin.com/in/ruslan-fancy/): UI specialist.
[Peter](https://www.linkedin.com/in/kozadoev/): UX and brand logic expert.

FANCY's Dribbble https://dribbble.com/wewillfancy

![FANCY Premium Design Subscription_Clutch Trustpilot sortlist](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k4w6jrwuho9gyg7yx55v.png)

> Join us in celebrating our launch and check out our Product Hunt page for more details. We appreciate your support and look forward to showcasing what FANCY can do for you!

[Visit our Product Hunt Launch](https://www.producthunt.com/posts/fancy-2)
How to opt out of Meta using your data to train AI models
Tags: ai, gdpr
Published: 2024-06-08 14:05:54


As a European resident 🇪🇺 you can object to Meta using your data to train AI models 👇

1. Login to your [Instagram](https://www.instagram.com) account 👤

2. Go to [Object to Your Information Being Used for AI at Meta](https://help.instagram.com/contact/233964459562201 "Object to Your Information Being Used for AI at Meta") form 📝

3. Fill the form with the sample statement below ✍️

    > The use of my data infringes on my rights as a French resident and EU citizen. I do not consent to my data being used for AI training, development, improvement, or a more personalized experience. I do not give consent for my data to be used for any other form of training, development, improvement, or a more personalized experience in any Meta product or technology. I have the right to keep my data private as per the European GDPR law.

    Version française 🇫🇷

    > L'utilisation de mes données porte atteinte à mes droits en tant que résident
    > français et citoyen de l'UE. Je ne consens pas à ce que mes données soient
    > utilisées pour la formation à l'IA, le développement, l'amélioration ou une
    > expérience plus personnalisée. Je ne consens pas à ce que mes données soient
    > utilisées pour toute autre forme de formation, de développement, d'amélioration
    > ou une expérience plus personnalisée dans un produit ou une technologie Meta.
    > J'ai le droit de garder mes données privées conformément à la loi européenne
    > sur le RGPD.

    [![Object to Your Information Being Used for AI at Meta](https://gist.github.com/assets/8126807/d42f4b3c-b973-4599-9c8b-fa11dbb20648)](https://help.instagram.com/contact/233964459562201 "Object to Your Information Being Used for AI at Meta")

4. Provide a valid email address, a verification code will be sent to it and you will have to provide it to validate the form ✅

    ![Veuillez vérifier votre adresse email](https://gist.github.com/assets/8126807/7efeaf77-65bd-435d-a28a-3325ad5f183f)

5. Meta will sent a confirmation you do not consent your data being used for AI training 📧

    ![Vous opposer à lutilisation de vos informations pour lIA de Meta](https://gist.github.com/assets/8126807/9a1e542f-05b8-4762-a840-1096d6a36bb6)
WIZARD WEB RECOVERY SCAMMED CRYPTO ASSET TRACING AND RECOVERY
Published: 2024-06-08 14:02:28

I invested $200,000 in Bitcoin, a decision that not only marked a drastic shift in my career but also led to tumultuous personal consequences. The move caused friction in my relationship; my partner couldn’t understand my decision to invest such a significant amount in what she deemed a risky venture. This discord eventually led to our breakup after heated arguments and profound disagreements. Despite the personal upheaval, my foray into cryptocurrency began to bear fruit. My initial investment grew to an estimated $470,000. However, just as things seemed to be stabilizing, my ex-girlfriend, in a misguided attempt to manipulate me into reconciliation, accessed my Gmail account. She changed passwords and, more disastrously, deleted my crypto wallet, erasing my means to access my funds. The shock and betrayal were profound. Not only had I lost a relationship I valued, but now my financial security was in jeopardy. In desperate need of help, I turned to a friend who was well-versed in IT. He recommended the Wizard Web Recovery, known for its ability to recover digital assets when all seemed lost. Contacting wizard web recovery (at) programmer (dot) net, was a step filled with anxiety and hope. The recovery process was intricate, requiring detailed verification of my identity and the presentation of my last transaction details since I no longer had access to my recovery phrase. The team at Wizard Web was thorough and professional, focusing on securing my data and regaining access to my funds. After tense days filled with technical procedures and careful coordination, Wizard Web successfully recovered my stolen funds back to me. The relief was immense, not only had I regained my financial assets, but I also reclaimed a sense of control over my life. The entire experience was a crucible of emotional and financial stress, teaching me invaluable lessons about security, trust, and the resilience needed to navigate the choppy waters of cryptocurrency trading. Wizard Web’s recovery services proved indispensable, transforming a potential disaster into a story of recovery and hope. This ordeal ultimately reinforced my resolve to manage my digital investments with as much discipline and dedication as I had managed my dance career.
Frontend Challenge: June Edition
Tags: frontendchallenge, devchallenge, css
Published: 2024-06-08 13:22:40

_This is a submission for [Frontend Challenge v24.04.17](https://dev.to/challenges/frontend-2024-05-29), CSS Art: June._

## Inspiration

Brazil, almost in its entirety, is located in the Southern Hemisphere, which means that in June temperatures begin to drop. So it's time to take the covers out of the closet, rediscover your winter clothes, and start dreaming about typical dishes. When I think about this season the first thing that comes to mind is the hot chocolate that my mother makes every year. This drink has a sentimental flavor, it is the comfort of winter and I would like to share it.

## Demo 
Here it is, a mug of chocolate. Unfortunately, it has already been waiting for you for a while while you finished a game of chess with your cat and it is no longer warm.
{% codepen https://codepen.io/thaisavieira/pen/NWVvWbQ %}



## Journey 
When the DEV Community released the first frontend challenge I was so excited about contributing and participating but at the time I had no experience with CSS art, so I started searching about the topic and found CSSBattle. I joined some challenges last month to learn how to use CSS proprieties to draw shapes. I struggled at first, like everything we start learning but it worthed and I'm proud of my everyday results. As you can see, there's no smoke in this "hot" chocolate cause I don't know yet how to do it, of course, there are a lot of tutorials but due to the submission, I wasn't about to take the time and learn how to do it. If I have done a hot chocolate for today it will be a copied hot chocolate mug and this isn't the way I like to deceive my learning progress.

!["It ain't much, but it's honest work" meme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41vg0golup58gscfm6ko.png)

Soon, I'll take time to learn how to do hot chocolate and other things with vapor or the same logic used. Also, I'd like to add the chess table and the cat (of course).

To finish, I'd like to thank all de DEV members for making this community a safe space to learn and share many things.
GPT-4o Computer Assistant
Published: 2024-06-08 12:50:24

Hi, after the launch of gpt-4o, which was introduced in May, it was said that computer assistants would come, but initially they said MACOS would come, they were also told that it would come to Windows later and they said it would come on new computers. It's like restricting features to sell which is very annoying. Anyway, we went and shared the version for macos, linux and windows in the MIT license.

In addition to what GPT does, we have developed an assistant that uses tools such as Langchain, Crew AI, Upsonic Tiger to document the code you take a screenshot of, open a browser, take meeting records, write a message and then copy the message to the clipboard, remember your calendar and ask questions. I hope it interests you.[ Github link](https://github.com/onuratakan/gpt-computer-assistant)
Beginner 101: How to contribute to open source projects ? (Javascript)
Tags: opensource, webdev, javascript, react
Published: 2024-06-08 11:59:17

Here is an open source project which is beginner friendly.

**App:** https://figuringout.life
**Github:** https://github.com/aadeshkulkarni/medium-app


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

**How to get started ?**
- Head over to Github > Go through Readme.MD and Contributing.md files
- Then, Github > Issues section
- Filter issues by "Good first issue" label
- Pick something that is easy initially, request for assignment by commenting your approach on how you intend to solve it.
- Fork the repo, create a feature branch, raise a pull request.
- Once your PR is merged, you're officially a contributor to the project. You can check your name in the contributors list here : https://www.figuringout.life/contributors

**Tech stack:**
ReactJS + Typescript + TailwindCSS in the frontend
HonoJS + Prisma + Postgres DB in the backend

You can also add it to your portfolio as proof of work, if needed.

PS: I'm the maintainer of https://figuringout.life and the intention of building this project was so that developers can get a chance to work on real world projects to gain solid experience.
What is python?
Published: 2024-06-08 11:56:23

Python is an interpreted programming language, easy to learn, and popular. A python code needs an interpreter to be executed, or can be transformed to executable.
Python is easy but if not good to develop an advanced program that require a big CPU utilization. It is perfect if you want to create an editor or a tool. But if you want to create a game I not recommend you this programming language.
Finally, Python if a popular and easy to learn interpreted programming language but is not good to code a game or a program that require a big CPU utilization.
6 Best Places To Travel Alone in The USA
Published: 2024-06-08 11:42:30

Imagine yourself gazing out at the majestic sweep of the Grand Canyon, its layered rock formations painted in hues of red and gold by the setting sun. Or perhaps you envision strolling through the lively streets of New Orleans (One of the best places to travel alone in the us), the rhythmic beats of jazz music spilling out from a cozy bar. Maybe serenity beckons, and you picture yourself hiking through the verdant wilderness of Glacier National Park. These experiences, and countless others, await the solo traveler in the United States.

https://typewritertale.com/best-places-to-travel-alone-in-the-usa/
Top 10 Best Vacations For Single Men in USA.
Published: 2024-06-08 11:32:27

Imagine escaping the daily grind and embarking on a journey tailored entirely to your interests. Solo travel provides a unique opportunity to disconnect from routine, reconnect with yourself, and discover hidden gems and best vacations for single men across the USA. This vast and diverse country caters to every type of traveler, and single men are no exception. This article, brought to you by Type Writer Tale, a platform dedicated to empowering solo adventurers, will unveil some of the best vacations for single men in USA, catering to a variety of interests and budgets.

https://typewritertale.com/top-10-best-vacations-for-single-men-in-usa/
Creative Swiper Slider with Autoplay and Navigation
Tags: codepen
Published: 2024-06-08 11:06:16

Explore this creative implementation of a Swiper slider, featuring autoplay and navigation functionality. This responsive slider adjusts the number of visible slides based on the viewport size, ensuring an optimal viewing experience on any device. The autoplay feature smoothly transitions between slides every 4 seconds, while navigation buttons allow for manual control. The slider also supports keyboard navigation and includes a loop effect for continuous scrolling. Perfect for showcasing a series of images, testimonials, or other content in an engaging and interactive way.

{% codepen https://codepen.io/CreativeSalahu/pen/mdYMWpJ %}
Ibuprofeno.py💊| #122: Explica este código Python
Tags: python, spanish, beginners, learning
Published: 2024-06-08 11:00:00

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Fácil</mark></center>

```py
conjunto_vacio = {}
print(type(conjunto_vacio))
```

* **A.** `<class 'tuple'>`
* **B.** `<class 'dict'>`
* **C.** `<class 'set'>`
* **D.** `<class 'str'>`

---

{% details **Respuesta:** %} 

👉 **B.** `<class 'dict'>`

No es posible crear conjuntos vacios usando a notación de `{}`, para lograr esto es necesario usar la palabra reservada `set`, así:

```py
conjunto_vacio = set({})
print(type(conjunto_vacio)) # <class 'set'>
```
 
{% enddetails %}
Best Free Online JSON Viewer Tools for Data Visualization
Tags: tooling, json, webdev, productivity
Published: 2024-06-08 10:42:44

One common format for exchanging and storing data is JSON. It makes no difference if you are a developer or other business professional—you can't find any useful metrics by looking at the raw JSON files. We require something that can organize our daily activities and is aesthetically soothing. The trend of [data visualization](https://www.codegirl0101.dev/2024/06/4-best-online-free-json-viewer-tools-to.html) is growing. Fortunately, you can boost your productivity with a variety of free online JSON viewer tools. 

Along with going over some of the top JSON viewer tools for developers, I'll also be talking about the future potential of data visualization in the world of business.

Read my full blog post here:

https://www.codegirl0101.dev/2024/06/4-best-online-free-json-viewer-tools-to.html
TypeScript LeetCode! 🔥
Tags: typescript, problemsolving, softwaredevelopment, softwareengineering
Published: 2024-06-08 10:40:48

## All you need to become a TypeScript menace ✅

Connect, collaborate, and grow with a community of TypeScript developers. ⭐️

Elevate your skills through interactive coding challenges, discussions, and knowledge sharing. 💪🏻

---

## What's in TypeHero?


**- Type Challenges**

Engage in TypeScript challenges to strengthen your grasp of the type system and advanced features.

**- Collaborative Environment**

Developers can share solutions and engage in discussions through commenting.

**- Challenge Creation**

Craft your own coding challenges to share with the TypeHero community.

**- Learning Tracks**

Tracks are curated challenges, spanning various topics and difficulty levels, to advance your TypeScript skills.

---

### START PRACTICING NOW: https://typehero.dev

---

_TypeHero is free, open-source, and built by developers just like you._
https://github.com/typehero/typehero/blob/main/CONTRIBUTING.md

---

**_Happy Coding!_** 🔥

**[LinkedIn](https://www.linkedin.com/in/dev-alisamir)**
**[X (Twitter)](https://twitter.com/dev_alisamir)**
**[Telegram](https://t.me/the_developer_guide)**
**[YouTube](https://www.youtube.com/@DevGuideAcademy)**
**[Discord](https://discord.gg/s37uutmxT2)**
**[Facebook](https://www.facebook.com/alisamir.dev)**
**[Instagram](https://www.instagram.com/alisamir.dev)**
Fish Farming Tanks: The Future of Aquaculture Technology
Tags: design
Published: 2024-06-08 10:39:46



Fish Farming Tanks that are farming the long term which was ongoing of tech



Would you enjoy Fish Farming Tanks. In the event that's the entire situation, you'll be very happy to recognize that there is a means that are new take action with Fish Farming Tanks. These tanks have become the long run which are continuing of technology, and also they will have complete massive amount advantages that farmers are discovering. 

Advantages of Fish Farming Tanks
One of many things that are great fish rearing business Farming Tanks products try they are typically better to use than antique Fish Farming Tanks means. Together with your tanks, you can handle temperatures that are liquid make sure the fluid is clean plus clear of any toxins since contaminants. Meaning their seafood is likely to be healthier plus most likely far better, that could end up in most useful yields plus money. 

Innovation in Fish Farming Technology 
Fish farming tanks also merely become revolutionary since they integrate cutting-edge technology to make certain that seafood are raised to the environment that are healthiest feasible. The tanks has purification which eliminates any compounds that are harmful liquid, rendering it safer for the seafood to call home in, the tanks are manufactured to feeling super easy to scrub, and thus you'll be able to focus on increasing their seafood rather than worrying about fix. 

Security of Fish Farming Tanks
Fish farming tanks or agriculture fish farming moreover offer you a safer approach to farm seafood than mainstream means. Plus methods being traditional seafood farmers need certainly to concern yourself with predators, environment, as well as the spread of circumstances. Although, plus seafood farming aquaculture tanks, you are able to get a grip on every area associated with environments which can therefore be ecological and you can shield their seafood from any threats being potential. 

How to Incorporate Fish Farming Tanks
Using Fish Farming Tanks is fairly easy. It is additionally vital to place the tank up and fill it plus fluid. Then, you will want to include Fish Farming Tanks and gives these and components plus goods, you will have to monitor liquid plus be sure that their neat as well as the heat which are best. After a while, you shall be able to to cultivate and harvest healthiest, nourishing seafood that could be provided available on the market. 

Service plus Quality
In relation to Fish Farming Tanks that are farming quality plus service try essential. You need to just be sure to try using the  services which are expert your with top-notch fish farming ponds tanks plus customer service that is great. You'll want to choose a group with a proven reputation items that are delivering is top-notch it's a member of staff that has been knowledgeable will help you to plus any dilemmas because dilemmas you might have.