teleren/devto huggingface dataset:
Buy Premium Quality Ram Mandir Statue Online – theartarium
Tags: rammandir
Published: 2024-01-13 05:18:31

Ram Mandir Figurine is a wonderful replica of the majestic Ram Mandir of Ajodhyauploads.s3.amazonaws.com/uploads/articles/rjokgm54adhe4syjxkx1.jpg), dedicated to Lord Ram. It is perfectly designed to bring the essence of divine grandeur into your home. Ram Mandir serves as a constant reminder of the values and teachings associated with Lord Ram. It’s truly a masterpiece radiating the spiritual aura and architectural
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifmdxn06vnjxd732bls0.png)

 glory of this iconic temple.
How to Make Money with Custom ChatGPT-Trained AI Chatbots🤖
Tags: ai, chatbot, nocode, chatgpt
Published: 2024-01-13 04:45:00

Hello, Devs! 👋 Today's post is an easy sidekick that helps you support your finances.


Are you aware of No-Code ChatGPT chatbots? Clients want GPT Chatbot and wants you to implement it to get more **happy customers**, **better engagement**, and more profit!🎉 what about Developers(You)? **Easy-to-setup**, **consistent profit**, and integration with various platforms.Your client wants AI chatbot, and you Can Provide the service—a true win-win! 🏆

With this, you can make **$4591** or more in profit per month even after investing $2000 in marketing. But it depends on you and how you find the clients.


![Money](https://media.giphy.com/media/2ZdSyNu7WPlse3egfk/giphy.gif)
## How Much Money Can You Make?
Let us crunch some statistics to figure out how much money you could make:

1. You can start with the [No-Code ChatGPT](https://yourgpt.ai/chatbot) Starter plan at $19/month; for $99/month, you will be able to set up five chatbots.

2. If you choose to charge a setup fee of at least $150 per chatbot.

3. You will bill your clients $99/month for the ongoing management of the chatbots.

4. With 5 chatbots, a $150 setup fee each will result in $750 in revenue.

5. You will Achieve a Monthly Recurring Revenue of $5940 by managing 5 chatbots at $99/month for 12 months.

6. You will have a Total Revenue = $750 (setup fees) + $5940 (MRR) = **$6690**, and a profit per Month of $6690 - $99 = **$6591**

7. If we also add the marketing cost of $2000, you will still have **$4591**.

Its Clear math, and I have decoded the math 

![Image](https://media.giphy.com/media/H4lp5Ps85a6RQihExS/giphy.gif)

### How to make the Chatbot 

1. **Sign Up**: Visit the [GPT Chatbots](www.yourgpt.ai/chatbot) website and create an account.

2. **Choose a Template**: Pick from various pre-designed chatbot templates.

3. **Customise**: Use the no-code builder for customisation.

4. **Integrate**: Embed the chatbot on your website with a simple code snippet.

5. **Go Live**: Activate and watch your chatbot interact in real-time!

___

## The Win-Win Scenario🏆
![Happy Client and Developer](https://media.giphy.com/media/TdfyKrN7HGTIY/giphy.gif)
                 
>                    Happy Client and Developer
Unlocking Secrets: Continue ChatCraft Journey in OSD700
Published: 2024-01-13 04:44:59

Alright, fresh start with the new year and a new semester! After a decent break, I'm pumped to dive back into the ChatCraft community as part of the OSD700 course. This time around, it's got a different vibe – more like an internship: we will get weekly meetings, and everyone will be stepping into the shoes of a Sheriff. I'm genuinely looking forward to what's ahead.

So, let me spill the beans on my first-week: Decryption with [SOPS](https://github.com/getsops/sops).
![Treasure](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/veb23tmrcgbkap1hk7pb.jpeg)

Honestly, I'm kinda into these slightly tricky tasks, like the treasure hunt. The hint dropped suggests we can snag an OpenAI key, but there's a catch – gotta decrypt it before we can actually use it.

```yaml
keys:
  OPENAI_API_KEY: ENC[AES256_GCM,data:elwDiserNtn4zzZ1OgAJ89Qf4AYZzw9Zo9KuDBajNA8IzcHJqQCgI9/NXBg+k0nZYqXL,iv:wpafefzHC27e2AzJkk0dMtBAsgzg2DsWm76avteHJdQ=,tag:r2s7SauoQNBY2vWxFl7AIA==,type:str]
```

Luckily, we got a [README](https://github.com/tarasglek/chatcraft.org/blob/main/README.sops.md) shows that this file is encrypted using sops and how to unlock the secrets. Nevertheless, as a first-time user of this tool, the entire procedure remains quite daunting for me. Once I had `sops` and `ssh-to-age` installed, I immediately navigated to the `User` section.

```bash
export SOPS_AGE_KEY=`scripts/sops_age_key.sh`

sops -d sops/keys.enc.yaml
```

The result, however, was a failure.

```log
Failed to get the data key required to decrypt the SOPS file.

Group 0: FAILED

Recovery failed because no master key was able to decrypt the file. In
order for SOPS to recover the file, at least one key has to be successful,
but none were.
```

So, I attempted to uncover new leads, and in the `Admin` section, I noticed instructions.

```bash
fetch pub keys for all users in repo, ensure they ssh-ed25519
this script will complain if user doesn't have a key or if it's not ssh-ed25519
```

Although I'm unsure about the decryption process, it seems that I need to have an `ssh-ed25519` operation. 
Then, I came across this line in the [`fetchkeys`](https://github.com/tarasglek/chatcraft.org/blob/main/scripts/fetchkeys.sh) script:
```bash
 # Fetch the SSH public keys for the user with -L
    keys=$(curl -s -L -H "$AUTH_HEADER" "https://github.com/$username.keys")
```
This means I have to upload my ssh-ed25519 public key to GitHub.

However, even after uploading, I still couldn't decrypt it. Feeling perplexed, I temporarily set it aside. It wasn't until I came across a message in the Discord group mentioning a new branch, 'taras/sops2,' that might resolve a similar issue for another student. So I did `checkout`. And voilà, the key was unlocked. I'm astonished that I stumbled upon the solution without solving all the puzzles!

Nevertheless, I still need to grasp the entire decryption process and the usages of parameters like -d, -i, etc. Therefore, I've decided to make `sops` my research topic. I'll share my insights with you in the next post. See you later!
Mastering Asynchronous Programming in Python: A Comprehensive Guide | Raman Bazhanau
Tags: python, datascience, news, beginners
Published: 2024-01-13 04:01:21

[This week pip Trends newsletter](https://newsletter.piptrends.com/p/mastering-asynchronous-programming) is out. Interesting articles by Jason Liu, Raman Bazhanau, Madhu Shree Aravindan, @r0mymendez and Lavanya Mylapalli are covered this week.
#中華民國 #2024總統大選
Published: 2024-01-13 03:40:34

自民進黨蔡英文上台這七年多以來，缺蛋、缺電、缺藥、缺水、缺地、缺人力、缺人才等問題引發巨大民怨。但民進黨內貪腐、黑金事件一再爆發，台灣年輕人全都看在眼裏、怒在心裏。


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbaa1ksqv6bo6hzm9r5o.png)
The .parse method
Tags: beginners, ruby
Published: 2024-01-13 03:32:03

**What is the .parse method?**
The .parse method is associated with parsing and converting strings into object. It's very useful when working with API. You often receive data in the form of strings, especially when interacting with web APIs that communicate using JSON (JavaScript Object Notation). The .parse method becomes useful for converting these string representations into useable objects. 

**Example:**

```
require 'date'

date_string = "2024-01-12"
parsed_date = Date.parse(date_string)

puts parsed_date
# Output: 2024-01-12

require 'json'
require 'net/http'

# Assume you make an API request and get a JSON response as a string
api_url = URI.parse('https://api.example.com/data')
api_response = Net::HTTP.get(api_url)

# Using .parse to convert the JSON string into a Ruby hash
parsed_data = JSON.parse(api_response)

# Now, you can work with the data as a Ruby hash
puts parsed_data['name']
puts parsed_data['age']
```
In this example, the JSON.parse method is used to convert the JSON string received from the API into a Ruby hash. This allows you to access and manipulate the data in a more convenient and structure way. 

**How and when to use .parse method?**
You would use the .parse method when you have a string representation of a data, time, or other structure data, and you want to convert it into an object of the corresponding class. This is particularly useful when working with user input or data from external sources where the information is represented as strings.
Object Detection by YOLO
Tags: python, computervision, ai
Published: 2024-01-13 03:23:42

**YOLO** (You Only Look Once) is an extremely efficient tool for object detection. In this guide, I will demonstrate how to apply object detection to video content.


**Initial Setup: Installing the Ultralytics and cv2**

You can do this using the following Python package manager command :

```python
pip install ultralytics
pip install opencv-python
```

**Obtain the pre-trained YOLO model.**
This model, which has been trained on a vast array of datasets, provides a robust foundation for object detection tasks. The model can be downloaded from the official Ultralytics documentation page: https://docs.ultralytics.com/tasks/detect/

**Finally, we can write our code.**

The following code snippet demonstrates how to utilize the YOLO detection model. 
```py
results = model.predict(frame, save=False, conf=0.15, max_det=10)[0]
```
save: This argument determines whether the detection results will be saved as an image file. 

conf: Short for 'confidence', this parameter specifies the threshold for detection confidence. Only detections with a confidence score higher than this value will be considered valid and returned by the model.

max_det: Standing for 'maximum detections', this attribute sets the upper limit on the number of detection regions that can be returned. 

You can see more arguments and attributes in 
https://docs.ultralytics.com/modes/predict/#inference-arguments

```py
import cv2
import torch
from pathlib import Path
from ultralytics import YOLO

model = YOLO('yolov8m.pt') # the path of the pretrained model

def process_video(input_path, output_path):
    cap = cv2.VideoCapture(input_path)
    fourcc = cv2.VideoWriter_fourcc(*'mp4v') # output
    out = cv2.VideoWriter(output_path, fourcc, 30, 
                          (int(cap.get(3)), int(cap.get(4))))

    while cap.isOpened(): # Detect frame by frame
        ret, frame = cap.read()
        if not ret:
            break

        results = model.predict(frame, save=False, conf=0.15, max_det=10)[0]

        print("Result Num:  ", len(results))
        for result in results:
            boxes = result.boxes 
            xyxy = boxes.xyxy[0]
            cv2.rectangle(frame, (int(xyxy[0]), int(xyxy[1])), (int(xyxy[2]), int(xyxy[3])), (255, 0, 0), 2) # draw the bouding boxes in this frame

        out.write(frame)
    cap.release()
    out.release()
    
    
video_path = ''  # Replace with your video path
output_path = 'result.mp4'
process_video(video_path, output_path)

```

You can see more detail on its website https://docs.ultralytics.com/guides/object-counting/
A blog a day keeps writer's block (and other things), at bay.
Tags: success, growth, story
Published: 2024-01-13 03:18:33

I went down a rabbit hole recently sparked by my reading of James Clear’s _Atomic Habits_, a book delving into the concept of small wins and how the seemingly insignificant actions we repeatedly undertake can shape our identity.

The notion that "you are your habits, and your habits define you" struck a chord. This simple idea expanded in my mind, leading me to explore 'good habits' online. I stumbled upon a remarkable list of actions, some of which I had never considered doing daily, let alone in a million years. One such suggestion stood out: "Write every day."


Writing every day? It sounded complex. What should I write? Where and how should I do it? should I use AI? While I jot down my gratitudes sporadically and engage in daily coding, does that even count as writing?

Despite the initial reservations, I've decided to embrace this challenge. I shall commit to writing every day with no restrictions on the topic and no predefined criteria. It's an undertaking I'm eager to explore and see where it leads.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gfkmbmfooip91jjkedou.jpeg)
Tendermint P2P Reactor Types
Published: 2024-01-13 03:03:36

By looking at the struct Node in File "node/node.go", we can see there are 5 kinds of reactors. Here I give them a quick summary.

|Reactor|Package|Purpose|
|:-----|:-----|:-----|
|pex.Reactor|/p2p/pex|for exchanging peer addresses|
|bcReactor|/blockchain|for fast-syncing|
|mempl.Reactor|/mempool|for gossipping transactions|
|cs.Reactor|/consensus|for participating in the consensus|
|statesync.Reactor|/statesync|for hosting and restoring state sync snapshots|
Hướng dẫn đăng ký Jun88 nhanh chóng, đơn giản.
Tags: javascript, tutorial, aws, python
Published: 2024-01-13 03:01:19

Hướng dẫn đăng ký Jun88 nhanh chóng, đơn giản.
Cổng game #jun88fun đa dạng và phong phú với nhiều thể loại
Ưu Đãi Nạp Đầu Hấp Dẫn 50%  cực khủng tại #jun88znet
VƯỢT ẢI MỖI TUẦN - MỖI TUẦN NHẬN LÌ XÌ 
Hoàn Trả Cao Không Giới Hạn jun88.com
- NHANH TAY ĐĂNG KÝ TẠI TRANG TỔNG jun88.delivery
Địa chỉ: 59/11/12, Giảng Võ, Quận Đống Đa, Cát Linh, Đống Đa, Hà Nội, Việt Nam
Số điện thoại: (+63)9621836460
Email: jun88delivery@gmail.com
Website: https://jun88.delivery/huong-dan-dang-ky-jun88/
Fanpage: https://www.facebook.com/Jun88delivery/ 
#jun88 #jun88delivery #jun88mobi #jun88tv #dangnhapjun88 #dangkyjun88 #jun88online
The .gsub method
Tags: beginners, ruby
Published: 2024-01-13 02:49:38

**What is .gsub method?**
The .gsub method is used for string manipulation, specifically for replacing occurrences of a specified pattern with another string. The .gsub stands for Global Substitution. 

**Example:**

```
original_string = "Hello, world! Hello, Ruby!"

# Using .gsub to replace "Hello" with "Hi"
modified_string = original_string.gsub("Hello", "Hi")

puts modified_string
# Output: Hi, world! Hi, Ruby!
```
The gsub method takes two arguments:
1) The substring or regular expression you want to search for.
2) The replacement string that will replace the matched patterns.

**How and when to use .gsub method?**
You might use the .gsub method when you need to perform global replacement within a string. Common use cases include cleaning up or transforming data, modifying text content, or implementing search and replace functionality.
The .concat method
Tags: beginners, ruby
Published: 2024-01-13 02:31:21

**What is .concat method?**
The .concat method is used to combine the elements of one array or string with another array or string. It's important to note that the original objects are modified in place.

**Example:**

```
array1 = [1, 2, 3]
array2 = [4, 5, 6]

# Using .concat to combine the elements of array1 and array2
array1.concat(array2)

puts array1 # Output: [1, 2, 3, 4, 5, 6]

string1 = "Hello, "
string2 = "world!"

# Using .concat to combine the strings
string1.concat(string2)

puts string1 # Output: Hello, world!
```

**How and when to use .concat method? **
You would use the .concat method when you want to combine the elements of one array or string with another, and you prefer to modify the original object rather than creating a new one. This method is particularly useful when working with mutable objects like array and strings, where you want to update the existing data rather than creating a new object with the combined content.
The top defenses to rush in Madden NFL 24
Published: 2024-01-13 02:24:17


The biggest thing the Cowboys have going for [Mut 24 Coins](https://www.mmoexp.com/Nfl-24/Coins.html) them is easily their defense. It's fast. It's physically demanding, and they are able to rush passers. The defense is what gives the defense a chance to win each week. I enjoy watching the defense perform. They are playing the Saints on Thursday as a result, and they'll face an enormous test. It will be possible to assess them better after the game.

What's to say about the game at night? The Falcons are not good.

The Falcons do things that bad football teams make. They lost their ball inside the 5-yard line twice and then inside the 20. Matt Ryan threw a tipped pass interception to cause their fourth loss.

Ryan was 35-for-47 for 377 yards. He should have had 60 passes. The Saints started the game as one of the top defenses to rush in Madden NFL 24. and the Falcons did not even get 1 yard of rushing in the opening half. They ended the game with an average of 26 yards on 16 attempts. Absolutely brutal.

I'd like to think of myself as be a largely Old school Madden NFL 24 thinking person. I've always believed in things like "you must run to establish the scene" and "you have to be running to get play action going," and so on. It's been proven that those things aren't so. The objective of any offense is scoring touchdowns, getting yards, and moving the ball. If you think passing the ball would be the most effective option that week you should pass the ball every time. Of obviously, there will be moments when being balanced is crucial. It eats up the clock. It's a physical strain on players. Some defenses can't defend the run. There are run actions that could lead to passes or other play later on. Yes, there are good reasons to continue running the ball. Just not last night.

Finally and most importantly, the Saints are the best team in the Madden NFL 24. The end of the story.

In This Video Madden NFL 24 Week 12 including scores, odds picks, top moments, and everything else you need to [Madden 24 Coins](https://www.mmoexp.com/Nfl-24/Coins.html) know. all that transpired during the Bills-Jaguars battle Winning is not good for the Cowboys. Plus, more thanksgiving Madden NFL 24 takeaways No person has had a better time of Hue Jackson's demotion more than Browns QB Baker Mayfield . View all 32 stories 2019 Madden NFL 24 playoffs picks Geoff Schwartz's top choices for Wild Card Round

Madden NFL 24 The Wild Card weekend is coming up with four stand-alone betting games! We're sure to be thrilled. I'll offer you a few leans for each of them. I prefer some over others, so I'll start with my top favorites and go down from there.
The .new method
Tags: beginners, ruby
Published: 2024-01-13 02:13:55

**What is the .new method?**
.new method is a class method that is commonly used to create a new instance of a class. It is typically associated with class constructors and is used to instantiate object from a class. 

**Example:**
```
class Person
   attractive_accessor :name, :age

   def initialize(name, age)
      @name = name
      @age = age
   end
end

# Using .new to create a new instance of the Person class
person1 = Person.new("John", 30)

puts personal.name # Output: John
puts personal.age  # Output: 30
```
In this example, the .new method is called on the 'Person' class to create a new instance of the class, and it calls the 'initialize' method to set the initial values for the instance variables ('name' and 'age' in the case).

**How and when to use .new method?**
You use the .new method when you want to create object of a particular class. This is a common practice in object-oriented programming where classes are used to model and structure code, and objects are instance of those classes that hold specific data and behavior.
BASE DE DATOS SQL SERVER EN MODO SUSPECT
Published: 2024-01-13 02:03:00

**Cómo Solucionarlo?**
Ejecute el siguiente código TSQL para poner la base de datos en modo de emergencia :

```
EXEC sp_resetstatus NameDatabase;
go
Alter Database NameDatabase set emergency;
go
```


Ejecute el comando DBCC CHECKDB . Esto verificará la integridad lógica y física de todos los objetos dentro de la base de datos especificada.

```
DBCC CHECKDB(NameDatabase);
go
```
Ejecute el siguiente código TSQL para obtener la base de datos en modo Single_user :

```
ALTER DATABASE NameDatabase SET SINGLE_USER WitH
rollback immediate;
go
```
Ejecute el siguiente código para reparar la base de datos:

```
dbcc checkdb(NameDatabase,repair_allow_data_loss);
go
```
Finalmente, ejecute el comando TSQL para permitir el acceso multiusuario a la base de datos:

```
ALTER DATABASE NameDatabase set multi_user;
go
```
Dig into the codebase of Tendermint and Cosmos SDK
Tags: go, tendermint, cosmossdk
Published: 2024-01-13 01:50:24

Last year I worked on a project which required to convert Tendermint/Cosmos SDK into a network which could run multiple chains concurrently. We all know it's common for one blockchain to run on a set of nodes in one network. For cloud providers, each time when they create a new chain for a user (maybe a corporate or a small startup), they need at least 4 new nodes to form a basic Byzantine fault tolerance network. For some small startups, the cost is a bit significant. If multiple chains can share the same network/nodes before they start to have much traffic, it'll be a big win for both cloud providers and the users.

This project required a deep understanding and familiarity in the codebase of Tendermint and Cosmos SDK. To facilitate the process of learning the codebase, I've made lots of notes. Today I planed to share them in a series of posts here in dev dot to.

1. [How tendermint p2p nodes receive messages](https://dev.to/yzhanginwa/how-tendermint-p2p-nodes-receive-messages-fbn)

2. [Tendermint p2p reactor types](https://dev.to/yzhanginwa/tendermint-p2p-reactor-types-14e4)

3. [How tendermint consensus timeout ticker works](https://dev.to/yzhanginwa/how-tendermint-consensus-timeout-ticker-works-1g07)

---

#### Notes:
1. The code samples of tendermint in the above posts are from version **v0.34.19**
2. The code samples of cosmos-sdk in the above posts are from version **v0.45.3**