teleren/devto huggingface dataset:
Hello dear followers!
Published: 2024-01-18 01:19:07

I'm very excited to share with you the creation of this account, which will be a space dedicated to documenting and sharing the development of my personal projects, both proprietary and open source. I want this platform to be a window for you to closely follow the creative process, challenges, and achievements at each stage of these projects.

Account Objectives:

Transparency in Development: I aim to provide you with a transparent view of my creation process. From the conception of ideas to implementation, the intention is to share insights, decisions, and learnings along the way.

Feedback and Collaboration: I highly value each of your opinions. This account will be an open space to receive feedback, suggestions, and even contributions to open source projects. I believe that collaboration enriches development, making it more diverse and robust.

Inspiration for the Community: In addition to documenting my own progress, I hope this account serves as a source of inspiration for others involved in similar projects. The exchange of ideas and experiences can benefit everyone and create an engaged community.

Commitment to Innovation: By showcasing both proprietary and open source projects, my goal is to contribute to the advancement of innovation. I want to inspire the creation and sharing of ideas that can positively impact our community.

I am looking forward to embarking on this journey with you! Feel free to interact, ask questions, and make suggestions. Together, we can create something amazing!

Warm regards,
Thalyson da Silva Campos
Vital not-to-have for Fresher in CS/IT
Published: 2024-01-18 00:50:15

This is not so advantageous attitude that an aspirant CS/IT fresher should have.

So, I was recently in a Lab where the professor was generally talking about his operating system. He started by saying that when Windows 11 came, he installed it and tried to use it; however, he saw a couple of unnecessary changes, the icons from the taskbar were moved to the center, the interface when you click the windows button was changed, and other things. Moving forward he spoke: "Well, these are unnecessary changes and I don't know why Microsoft decided to do these modifications". Hence, he decided to roll back to Windows 10. 

Well, although the changes may be unnecessary and many of you might agree with the professor; nonetheless, having this attitude of not at all accepting the changes can be a bit hurdle for you, if you aspire to grow in CS/IT industry. The reason is, that CS/IT is such an industry where the revolution takes place rapidly. One day you can wake up and come to know that your company has decided to shift all the code to some other new technology because someone from another part of the world might have designed/innovated a technology that would not only improve the user performance exponentially but also save the company millions per year. In such a situation, you can't just say why these are unnecessary changes. If you refuse to adapt to any new technology, in no time you will become irrelevant. 

Doesn't matter how expert you were in using some old technology, but if the owner gets an opportunity to save the money, no one would offer you anything. The ultimate goal of developing software and its peripheral services is the maximize the product performance while spending as much less as it can be.

In conclusion, it not about not feeling comfortable with some unnecessary changes in Windows 11; however, it is about the wrong attitude which you might have of not being able to adapt to new things quickly.

Lastly, this was my first blog. I apologize if there is any mistake and thank you all for making it this far. I request you to please give me a word of appreciation.
How to Connect to Remote Server by using PuTTY SSH Tunnels
Published: 2024-01-18 00:48:36

Accessing a server using SSH tunnel on Windows with PuTTY allows establishing a secure communication channel that encrypts your data during transmission. This method improve security and privacy while connecting to remote servers.

Also check **[how to transfer file between local and Bitnami server](https://ramansaini5.website3.me/)**.

**Access server through SSH Tunnels:**

**Download and install PuTTY:**

Download PuTTY on your local system.

**Start PuTTY:**

In PuTTY configuration windows, enter username and IP address of the remote server in the Host Name section.
Set the connection type to SSH.

**Configure SSH Tunnel:**


In the left panel, go to Connection>SSH>Tunnels.
In the Source port section, enter the source port number e.g. 8080). 
In the Destination section enter remote server username and port number e.g. localhost:8080.

Select the Dynamic option under Destination section.
Click the Add button.

**Start connection:**


Click on Open button at the bottom of the PuTTY window.
Enter the username and password when prompted.
I built Ramen AI - Classify Text using LLM AI as API or Google Sheets Formula
Published: 2024-01-18 00:44:26

I built this free tool for folks to classify text without any model training required out of the box. Looking for ideas to make this tool more useful! You are welcome to give it a try. Just join the waitlist first and I will approve you shortly.

https://tryramen.com


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sjoh5ce59hox02hg5hi0.jpg)
Basics of Memory Management in C++
Tags: cpp, beginners, programming, tutorial
Published: 2024-01-18 00:31:06

## Introduction

Memory management is an essential aspect of programming, especially in languages like C++. It is the process of managing computer memory by allocating and deallocating memory space for different programs or data at the right time. In C++, memory management is done through a combination of allocation and deallocation techniques. In this article, we will discuss the basics of memory management in C++, including its advantages, disadvantages, and features.

## Advantages

1. **Efficient Use of Memory**: Memory management in C++ allows for efficient use of memory by allocating only the required amount of memory for a program or data.

2. **Flexibility**: C++ provides different methods for memory management, such as manual memory management through pointers or automatic memory management through smart pointers, giving developers the freedom to choose the best approach for their specific needs.

## Disadvantages

1. **Potential for Memory Leaks**: Manual memory management in C++ can lead to memory leaks, where allocated memory is not properly deallocated, causing memory to remain unused.

2. **Dangling Pointers**: Another common issue in C++ is the use of dangling pointers, which are pointers that no longer point to valid memory locations, leading to unexpected errors and crashes.

## Features

1. **Pointers**: C++ allows for manual memory management through the use of pointers, which are variables that store the address of another variable or object in memory.

2. **Smart Pointers**: C++ has smart pointers that automate the process of memory management, making it less error-prone compared to manual management. Examples include `std::unique_ptr`, `std::shared_ptr`, and `std::weak_ptr`.

### Example: Using Smart Pointers

```cpp
#include <memory>

int main() {
    std::unique_ptr<int> smartPointer = std::make_unique<int>(10);
    // Use smartPointer for operations
    return 0;
}
```

This example demonstrates the use of **std::unique_ptr**, a smart pointer that automatically manages the memory of a single object.

## Conclusion

In conclusion, memory management is a vital aspect of programming in C++. While it provides flexibility and efficient use of memory, it also comes with its own challenges, such as potential memory leaks and dangling pointers. As a programmer, understanding the basics of memory management in C++ is crucial for writing efficient and error-free code.
Can Uncomfortable Conversations Catalyze Personal Growth?
Tags: discuss
Published: 2024-01-18 00:00:00

---
published_at : 2024-01-18 00:00 +0000
---
Embrace growth through uncomfortable talks! How did challenging conversations shape your assertiveness?
<br>
Join the DEVteam for vibrant discussions and camaraderie! 🚀 {% embed https://dev.to/devteam %}
Is zero unlimited?
Published: 2024-01-19 10:31:02

---
title: Is zero unlimited?
published: true
date: 2024-01-18 00:00:00 UTC
tags: 
canonical_url: https://www.oliverdavies.uk/archive/2024/01/18/is-zero-unlimited
---

Something I've seen in code is the unclear use of zero when adding limits, such as loading items from a database.

In some instances, setting zero will return all items - essentially, an 'unlimited' value in disguise - rather than returning no results, which is what I'd expect.

I imagine the code looks something like this:

```
if ($limit > 0) {
  $query->range(0, $limit);
}
```

If `$limit` is greater than one, add it to the query.

For me, using `0` as the unlimited value doesn't seem like the best option.

I'd prefer to use a `null` value as the default and only add the limit if it's set - i.e. an integer or not null.

It means the value could be either an integer or null, but I think the intent of the code is more explicit.

This would make the code look like this:

```
if (is_int($limit)) {
  $query->range(0, $limit);
}
```

Whilst this is clearer, it doesn't cover all use cases.

Presumably, the limit should only be a positive integer.

It wouldn't make sense to set a negative number as the limit or, as the unlimited value is `null`, setting it to zero.

This is the end code I'd likely write:

```
if (is_int($limit)) {
  if ($limit < 1) {
    throw new InvalidArgumentException('A limit must be a positive integer.');
  }

  $query->range(0, $limit);
}
```

If the limit is not an integer, nothing happens.

It throws an Exception if the value is invalid - i.e. less than one.

The limit is applied if the limit is greater than or equal to one.

While it's more complex as there are more checks to perform and different types in use, I think this is clearer and easier for someone reading or implementing the code to understand what it does and use it correctly.

 P.S. Are you still using Drupal 7 and don’t know what’s involved to upgrade to Drupal 10? [Book a Drupal 7 upgrade consultation call](https://www.oliverdavies.uk/call) or [an upgrade roadmap](https://www.oliverdavies.uk/drupal-upgrade).
Happy The Red - floragato is bigger than you
Published: 2024-01-17 23:57:27


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/79z150qi8j1b3we7m781.jpg)Happy The Red - floragato is bigger than you  Digital Arts https://www.artmajeur.com/happy-the-red/en/artworks/17509714/floragato-is-bigger-than-you 

#nsfw #gay #yiff #furry #porn #gayporn #penis #dick #bigpenis #bigdick #hugepenis #hugedick  #cum #pokemon #pokeporn #pokephilia #floragato
democratic-republic-of-congo-misses-opportunities-in-hard-fought-1-1-draw-against-zambia
Tags: webdev, devops, ai, career
Published: 2024-01-17 23:45:39

[](https://www.zanto-io.com/post/democratic-republic-of-congo-misses-opportunities-in-hard-fought-1-1-draw-against-zambia``)
Week 1 Summary
Published: 2024-01-17 23:40:27

This past week, I did 6 tasks. 
1. WindVFX - I created a wind effect for the fan, wasp, and super unit. However, I need to change it so that instead of spawning sprites as particles, it will just be trails to look like a gust of wind
2. BumpVFX - I created a cloud of smoke to come out under the bump of the bumper unit. This way it seems like a spring effect when an enemy unit interacts with the bumper. 
3. HoneyDripVFX - I had a honey effect already for units affected by the bees honey. Now, the honey drip will take that same affect and make the bee look like there is honey dripping down it onto its enemies. 
4. PieExplosionVFX - To be used for the bombardier beetle, suicide fly, and the cracker unit. It is a bunch of multicolored particles flying in random directions from the unit when it explodes while holding a pie.
5. DustCloudVFX - This is used when certain units move around, are pushed, or when lines are being drawn to place units. 
6. EatingVFX - A VFX that looks like the eating animation in Minecraft. Small particles that are blackish brown fly out of the termite and corgis mouth when they eat. Very small but noticeable to the player to show that these units are performing a certain action. 

Overall, I did all of the tasks assigned to me. However, I was unable to complete the wind effect but will end up finishing it week 3 because it is very closely related to a task I have coming up.
Day 896 : On and on
Tags: hiphop, code, coding, lifelongdev
Published: 2024-01-17 23:11:59

_liner notes_:
- Professional : Had no meetings today. Just worked on getting the new Web Component ready for people to check out. Refactored and cleaned up the code which I've been doing on and on over the past couple of days. Think I got it to a good state. Started creating the documentation. Got the text done but need to finish a graphic that details the layout and labeling. Also followed up with some community questions.

- Personal : Last night I worked on going through and putting together some tracks for the radio show. Did some work on my side project. I created a wire frame for a layout of the work flow for a person to create the assets needed to show up on the front page. Ended the night watching an episode of "Echo".

![An aerial overhead shot of a dirt road in Haiku-Pauwela, HI, USA that winds through a lush green field.  To the right of the road, the land drops off into a rocky coastline with the ocean beyond.  The water is a deep blue/green color and the waves are crashing against the rocks.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k3avfimruwdwl529q99p.jpg) 

So I just generated the alt image tag for the image above using Google Gemini API. That got me thinking I could do the same for my current side project. I already use the AI to generate a description of the image a person uploads, I might as well store it as the alt tag for the site. Going to work on the radio show and then on the side project. Then I'll watch "Echo" before heading to bed.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube ZCpSzmLspjs %}
(Part 3/4): Confluent Cloud (Managed Kafka as a Service) - Create a Go client to consume messages
Published: 2024-01-17 22:55:10

In this podcast episode, the host continues from the previous episodes in the Confluent Cloud series and focuses on consuming messages. The consumer code is reviewed, and the concept of group ID is explained. The process of initializing the consumer and subscribing to topics is demonstrated. The use of channels in Go for message consumption is explored. The host troubleshoots issues related to group ID and discusses the inconsistencies observed. The allocation of messages among multiple consumers with different group IDs is examined. The episode concludes with a summary of the learnings and an invitation to explore Snowpal's products and APIs.

## Takeaways

- Consuming messages in Confluent Cloud involves initializing the consumer and subscribing to topics.
- The group ID determines which consumers belong to which group and affects work sharing and fault tolerance.
- Messages can be consumed using channels in Go, allowing for continuous listening and processing.
- Troubleshooting issues with group ID and understanding message allocation among multiple consumers is important.
- Snowpal offers a range of products and APIs for software development and architecture.

## Chapters
00:00 Introduction and Recap

00:31 Starting to Consume Messages

01:44 Consumer Code Overview

03:08 Consumer Group ID04:04Initializing the Consumer

04:32 Consuming Messages with Channels

05:00 Publishing Messages and Consuming

06:25 Group ID and Offset

07:07 Troubleshooting Group ID08:29Group ID and Producer

09:12 Inconsistencies and Debugging

10:24 Cluster Settings and Group ID

11:08 Cluster and Topic Configuration

12:24 Consumer Group ID and Partitions

13:22 Consumer Group ID and Message Filtering

16:29 Consumer Group ID and Work Sharing

17:49 Producer and Consumer Group ID

18:35 Multiple Consumers and Group ID

19:54 Multiple Consumers with Different Group IDs

20:50 Consuming Messages with Multiple Consumers

22:07 Parallelism and Message Distribution

23:52 Consumer Group ID and Message Allocation

26:30 Consumer Group ID and Message Allocation (Continued)

28:30 Consumer Group ID and Message Allocation (Continued)

30:03 Consumer Group ID and Message Allocation (Continued)

35:45 Conclusion

## Video
{% embed https://youtu.be/SL_tjdQeDK8 %}

## Transcript
https://products.snowpal.com/api/v1/file/9d828409-e93a-4ba7-b361-020e2b4dfc78.pdf
Next.js Codebase Analysis <> create-next-app <> Create a local copy
Tags: webdev, opensource, javascript, nextjs
Published: 2024-01-17 22:35:18

Since [vercel/next.js](https://github.com/vercel/next.js) has got MIT license, it is safe to create a local copy of create-next-app package in your machine to run your experiments such as trial and error attempts, meaningful console log statements etc., to understand this package better.

## Create a local copy
- Clone the [Next.js](https://github.com/vercel/next.js) repo in your machine

`git clone https://github.com/vercel/next.js.git`

- Do not navigate to next.js folder yet, from the same terminal, create a new folder called `create-next-app`
- Copy everything inside next.js/packages/create-next-app into this new folder.
- Install the dependencies using the command npm install inside this newly created folder `create-next-app`

![create-next-app local copy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gc2l1wbhumhu7hpr2a11.png)

## Conclusion
We have seen how to create a local copy of the create-next-app package. With this setup, you can run your little experiments as you wish.

I am building a platform that explains best practices used in open source by elite programmers. [Join the waitlist](https://docs.google.com/forms/d/e/1FAIpQLSe2JCZAaIB5oXzNHLTrYJR4LMZ5SEwrGPgmG5DeFWdDhu8-Gw/viewform) and I will send you the link to the tutorials once they are ready.

If you have any questions, feel free to reach out to me at ramu.narasinga@gmail.com
Hire a pro hacker to recover stolen money
Tags: webdev
Published: 2024-01-17 22:21:27

'There's got to be a great line drawn between these crypto scammers and the havoc they are wrecking on their victims. How would have I survived this tragedy of losing almost Six hundred and fifty-eight thousand Pounds to an impostor posing as a Blockchain trade agent? I just can't stop emphasizing the good deeds of CY-BER GENIE HACK PRO. I don't want to be like the 10 blind men from the bible who Jesus delivered them but only one came to appreciate his gestures to them. I am posting this review for myself, I am contributing my quota of making the internet the safe place it used to be by referring scammed victims to (CY BERGENIEHACKPRO) on Telegram for assistance in tracing, and high chances of recovering their stolen money. I wish those who had been rescued from fraudsters by Cyber Genie Hack Pro's team could post their success stories like mine, doing so, they will reach a larger audience thereby creating more awareness that you can recover your stolen money from scammers. My dealings with Cyber Genie were great, I first had my reservations because I had already lost hundreds of thousands worth of crypto coins, but I was thrilled by their engagement to my task of recovering my stolen money. Never give up if you have been scammed, CYB-ER-GE-NIEH-ACK PRO is all you need. You can find them on their WhatsApp also: (+)(1252-512-0391) Mail them on; (cybergenie(@)cyberservices(.)com)'
Recover Scammed Bitcoin, and Money Lost to fake trading
Published: 2024-01-17 22:02:03

Imagine falling victim to a phishing attack and losing your hard-earned cryptocurrency. In this case study, we'll take you through the journey of how this guru ADRIAN LAMO HACKER successfully retrieved the stolen funds, leaving the cybercriminals scratching their heads. A hacked online wallet can be a terrifying situation, but fear not, for ADRIAN LAMO HACKER is here to save the day. Locked out of your digital asset exchange account with your funds seemingly out of reach? Don't despair! ADRIAN LAMO HACKER gurus have the keys to unlock even the most stubborn accounts. I'll walk you through the process of how ADRIAN LAMO HACKER  helped a client regain access to their account and regain control of their digital assets. ADRIAN LAMO HACKER stands out from other web recovery services due to the expertise and knowledge of their gurus. The team is well-versed in the intricacies of retrieving misplaced online currency, backed by years of experience in the field. Additionally, ADRIAN LAMO HACKER prioritizes security and confidentiality, ensuring that your personal information remains protected throughout the recovery process. ADRIAN LAMO HACKER specializes in the recovery of a wide range of online currencies, including cryptocurrencies like Bitcoin, Ethereum, and Litecoin. They also have the expertise to assist with recovering funds from online wallets, investment platforms, and digital asset exchanges. No matter the type of online currency you've misplaced, ADRIAN LAMO HACKER has the skills to help you retrieve it. With a solid plan in place, the team will swing into action, implementing the recovery strategies that have been tailored to your specific case. Their gurus will use their wizard-like skills to navigate the intricate web of online currency systems, working tirelessly to restore what was lost. Recovering misplaced online currency can be a process that requires patience. But fear not, for this gurus will be with you every step of the way. They'll diligently monitor the progress of your case, providing regular updates and offering guidance as needed. Their goal is to ensure that no stone is left unturned until your lost funds are safely back in your virtual wallet. Reach out to ADRIAN LAMO HACKER now by email: Adrianlamo@consultant.com
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r3aplpfc6pkaaofq6rwm.jpeg)