teleren/devto huggingface dataset:
Five For the Future at Plank
Tags: wordpress, development, opensource
Published: 2023-08-23 14:49:45

[Plank](https://plank.co) is one of over [150 organizations](https://wordpress.org/five-for-the-future/pledges/) that have pledged to contribute to [Five For the Future](https://wordpress.org/five-for-the-future/). 

> Launched in 2014, Five for the Future encourages organizations to contribute 5% of their resources to WordPress development. This benchmark was proposed by WordPress co-founder Matt Mullenweg to maintain a "golden ratio" of contributors to users. Participation in the community has more than quadrupled since launch.

At Plank, we believe in open-source software. We use it to power all of our projects. So many others have contributed to making our lives easier and more productive, it's important that we do the same!

We’ve begun our Five For the Future journey by contributing to the [documentation](https://make.wordpress.org/documentation/) and [polyglots](https://make.wordpress.org/polyglots/) teams. The polyglots team is a natural fit for us, as our team members speak various languages, including English, French, Spanish and Arabic. We’ll be looking to expand our involvement in the near future by attending [contributor day](https://us.wordcamp.org/2023/contributor-day/) at WordCamp US 2023. 

Visit our [pledge](https://wordpress.org/five-for-the-future/pledge/plank/) to see our contributions to the project so far!

---

[Photo](https://www.flickr.com/photos/wceu/53076418323/in/album-72177720310091678/) from contributor day at WordCamp Europe 2023.
Escape Breakout
Tags: gamedev, nextjs, react, webdev
Published: 2023-08-23 14:46:06

After about a month of working on this game I've finally decided to release it!

# Escape Breakout

Escape into a thrilling solo adventure with Prison Breakout, an interactive virtual escape room experience like no other.

Navigate the maximum security prison alone as you solve puzzles, find clues and crack codes to escape to freedom.

Use your problem-solving skills to find keys, passwords and ultimately break out of this virtual prison.

Can you outsmart the guards, uncover the secrets and escape to victory?

Step into your virtual cell now and begin your solo adventure.

Escape Breakout - enjoy interesting puzzles from the comfort of their own home.

## Launch Tweet
This tweet includes a game trailer that demos the game.
{% embed https://twitter.com/VulcanWM/status/1694342563681968249 %}
Brief Note on BEP20 Token Development
Tags: bep20tokendevelopment, bep20tokendevelopmentservices
Published: 2023-08-23 11:32:46

BEP20 Is known widely as the BSC’s interpretation of the ERC20 Standard, Going through or if you have already an idea of how ERC20 works will make it easier to grasp what BEP20 tokens are. As the BEP20 standard is a fork of the Ethereum standard, it provides similar functionalities

All transactions made possible by the Binance Smart Chain are built on the BEP20 coin. They are produced using the most modern technology frameworks and in accordance with accepted business practices. For companies and company owners who wish to stand out in the market.

**Top BEP20 Tokens**

Here are top-performing [BEP20 Token List](https://maticz.com/bep20-token) of 2023

1. BUSD
2. CAKE
3. TWT
4. HOOK
5. MBOX
6. WRX
7. BSW
8. SFUND
9. TOKO

The Binance ecosystem is often regarded as a perfect place for BEP20 Token Development as it offers high interoperability, and faster transaction speeds, at low costs. Due to their widespread usage and globalized approaches in catering to different audiences, BEP20 Tokens developed on the Binance Smart Chain are swiftly replacing traditional techniques for accomplishing monetization and effective asset management.  Let's quickly review the advantages of BEP 20 Token Development.

**Reasons to Choose BEP20 Token Development**

BEP20 Tokens are cost-friendly tokens to develop.
Easy and Quickly creatable tokens 
BEP20 Tokens have lower block times and higher throughput capacity 
BEP20 tokens are properly equipped for low transaction fees owing to the fact that transaction fees are paid using BNB.
BEP20 tokens use the PoSA (Proof of Staked Authority) maintaining a high-efficiency advantage. 


**Steps to Create BEP20 Tokens**

Let us have a glance at the process of creating BEP20 tokens.

1. Selecting a Wallet
2. Network Selection
3. Token Application: Asset Management and Reference 
4. Determining Token Availability
5. Creating an account on the Binance Network
6. Determining Token Burn Capacity
7. Token Minting Frequency
8. Things to Keep in mind while creating BEP20 Tokens 
9. Token Name
10. Token Supply
11. Token Supply
12. Initial supply and
13. Decimal places

We have delivered the basics of EP20 Token Development and the BEP20 Tokens List, We Hope we have covered the basics for anybody looking to try their hand at BEP20 Token Development. With the crypto world favoring BEP20 Tokens and the Binance Smart Chain, it has become very clear that BEP20 token Development is simply the way to attain monetization and efficient asset management
Docker: a super cool tool beginners tend to skip
Tags: docker, beginners, productivity
Published: 2023-08-23 13:59:34

Initially, when I came across application stacks like MERN, MEAN etc, every tutorial seemed to agree that at some point later in the application stack, devs used Docker for "some reason". When I was just beginning and exploring, I thought, "This isn't something I should bother with right now". Looking back, I now realise, Docker is something very cool, simple and yet, powerful and the earlier any dev starts to use Docker in their applications, the more they will get used to it and liking it.

Docker is a containerisation tool. Have you ever seen memes of devs saying "Well, this application works on my computer, I don't know why it doesn't on yours". So, in frustration, Can a dev instead of just sharing the application, send the entire computer to them virtually? Spoiler alert! Yes. With Docker.

I am not going to write a tutorial and I am not linking any youtube links. There is plenty of stuff online a [search](https://startpage.com/) away and I am sure people would be kind enough to link some resources in the comments.

I highly recommend all devs to learn Docker. It will hardly take any time (well, compared to learning Apoxia-inducing languages like Java) and it will be worth it. Trust me.
use camelcase in angular and asp.net web api json
Tags: angular, aspnet, api, ngfor
Published: 2023-08-23 13:30:47


example here =>

```
namespace DirectoryApi
{
    public class Directory
    {
        public int Id { get; set; }
        public string FirstName { get; set; } 
        public string LastName { get; set; } 
        public string Telephone { get; set; }
    }
}
```


you can use FirstName but json returns "firstName". if you use it like this =>
```
*ngFor <li *ngFor="let directory of directories">
      {{ directory.FirstName }}  {{ directory.LastName }} - {{ directory.Telephone }} - <span>Naber</span>
    </li>
```
this doesnt work but 
this work  firstName , lastName ,telephone
Deployment Crush HELP Please
Published: 2023-08-23 13:25:25


my app works perfect on development conneting to the mongodb atlas, but when trying to deploy I get an error. After isolation Testing I found out that what's causing the crash is the following line:
imports:[MongooseModule.forFeature([{name:Transaction.name,schema:TransactionSchema}])]. Its not happening on a spesific module its for every module I import the Mongoose module.

Again on development it works fine only on production it fail to deploy. The enviorment variables are set correctly on production and the connection is in the app module:
MongooseModule.forRoot(mongodb+srv://${process.env.MONGO_USER}:${process.env.MONGO_PASSWORD}${process.env.MONGO_PATH},{dbName: process.env.DB_NAME}),
Intro to Python: Day 16 - OOP - Overriding ==, >, and <
Tags: webdev, beginners, python, programming
Published: 2023-08-23 13:22:24

*Hi there 👋 I'm a New York City based web developer documenting my journey with React, React Native, and Python for all to see. Please follow my dev.to profile or [my twitter](https://twitter.com/stonestwebdev) for updates and feel free to reach out if you have questions. Thanks for your support!*

Today we follow up on [yesterday's post](https://dev.to/jwhubert91/intro-to-python-day-15-oop-overloading-the-print-method-on-a-custom-class-ljm) about overloading the built-in print method. This time, we're overloading `==`, `>`, and `<` operators.

It's always useful to be able to compare things, and it's somewhat natural that two instances of the same class might be able to be compared. But the built-in functionality for those operators is to compare either numbers or strings, not classes.

Let's say we are a car dealership and we want a program that can help us figure out quickly what the value of different cars is. We want to just quickly compare them.

Obviously if I create a `Car` class and then compare two instances of that class, we'll just get an error. Like so:

```python
class Car:
    def __init__(self, make, model, price):
        self.make = make
        self.model = model
        self.price = price

mustang = Car("Ford", "Mustang", 60000)
camaro = Car("Chevy", "Camaro", 50000)

print(mustang > camaro)

# Will print the following:
# ERROR!
# Traceback (most recent call last):
#  File "<string>", line 12, in <module>
# TypeError: '>' not supported between instances of 'Car' and # 'Car'
> 
```

So to create method on this class that overrides the built-in functionality so that we can compare these `Car` class instances, let's use the built-in `eq`, `gt`, and `lt` methods.

```python
class Car:
    #...
    def __eq__(self, target):
        if (self.price == target.price):
            return True
        else:
            return False

    def __gt__(self, target):
        if (self.__eq__(target) == True):
            return False
        elif (self.price > target.price):
            return True
        else:
            False

    def __lt__(self. target):
        if (self.__eq__(target) == True):
            return False
        elif (self.__gt__(target) == True):
            return False
        else:
            return True
```

By using the built-in `eq`, `gt`, and `lt` keywords we can tap into this functionality and define our own behavior for `==`, `>`, and `<`.

So now if we compare two cars:

```python
mustang = Car("Ford", "Mustang", 60000)
camaro = Car("Chevy", "Camaro", 50000)

print(mustang > camaro)
print(mustang < camaro)
print(mustang == camaro)
```

We get the result:

```
True
False
False
```

**If you like projects like this and want to stay up to date with more, check out my Twitter [@stonestwebdev](https://twitter.com/stonestwebdev), I follow back! See you tomorrow for another project.**
NextJS Tip ⚡️ High Priority image Preloading for Improved Performance 🚀
Tags: nextjs, javascript, webdev
Published: 2023-08-23 13:08:33

Did you know that setting the “**priority**” property to true for images can significantly enhance your website’s performance?


Doing so ensures that these images are considered high priority and preloaded.


One of the advantages of using the “priority” property is that it automatically disables lazy loading for these images. 


This means they will be loaded immediately without waiting for the user to scroll to them.



If you aim to optimize your website’s Largest Contentful Paint (LCP) element, it’s highly recommended to utilize the “priority” property for any image detected as the LCP element. 



This simple step can greatly improve the overall user experience.



Moreover, remember that different viewport sizes may have different LCP elements. 



Hence, having multiple priority images can be beneficial. 



This ensures the LCP element is optimized for various screen sizes and resolutions.



Remember, though, that the “priority” property should only be used for images that are visible above the fold, where users can see them immediately upon landing on your webpage.



So why wait? 


Start leveraging the “priority” property to boost your website’s performance and create a seamless user experience. 



Give your images the attention they deserve! 💪


![Leverage priority in nextjs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/21rwru8eonlq6zdm7o28.png)
Perl Weekly Challenge #231 - Not Going to Extremes but Accepting Senior Citizens
Tags: perl, perlweeklychallenge, histogram
Published: 2023-08-23 13:05:57

Hi everybody! In this week's weekly challenge, we're searching for anything but the minimum or maximum in a dataset, and searching for senior citizens on a plane.

#### Min And Max

This challenge is a very interesting one, because obviously the easiest solution in terms of development is to sort and filter the first and last element. However, that is O(n log n) and it's very little added complexity to do the O(n) solution with a single-pass filter.

    my %hist;
    $hist{$_} = 1 for @ARGV;

    say "You didn't provide two or more arguments." and exit if scalar keys %hist < 2;
    say "-1" and exit if scalar keys %hist == 2;

    my ($max, $min);
    for (keys %hist) {
        $max = $_ if (!defined($max) || $_ > $max);
        $min = $_ if (!defined($min) || $_ < $min);
    }
    for (keys %hist) {
        say $_ if $_ != $max and $_ != $min;
    }

First we make a histogram hash where duplicates are filtered out. Using the histogram, we exit with a failure or -1 if there are 1 or 2 unique numbers left. As we scan the histogram keys we keep track of the minimum/maximum values, then one more pass to print all of them out.

#### Senior Citizens

Contrary to the typical pattern of the second challenge being harder, this one's incredibly simple. We're looking for any senior citizens in a dataset made up of "9999999999A1122”, where 9 denotes the phone number, A the sex, 1 the age and 2 the seat number.

The simplest way I can think of is substr():

    my $count;
    for (@ARGV) {$count++ if substr($_, 11, 2) >= 60}
    say $count // 0;

That's it! We just count up every time substr() comes up with someone 60 or over. Then we print out the result.

That's it for this week! Hopefully I'll be back with another blog post next week.
Navigating Emerging Trends and Challenges in VPN Collaboration
Published: 2023-08-23 13:05:50

A VPN not only enhances online security but also facilitates seamless collaboration across geographical boundaries. However, as the digital world advances, so do the trends and challenges associated with VPN usage for collaboration. In case you are interested in knowing about the trends and challenges that occur during VPN collaboration then completely read this insightful article.

## Emerging Trends for VPN Collaboration

### Secure Remote Work: 
The ongoing shift towards remote work has accelerated the need for secure connections. With team members spread across various locations, organizations are increasingly relying on VPNs to ensure encrypted communication and data protection.

### Global Collaboration
Collaborative efforts often involve teams dispersed globally. VPNs enable these teams to collaborate securely, overcoming the geographical limitations that can otherwise hinder the exchange of sensitive information.

### Cross-Platform Compatibility
The best VPNs are now available across multiple platforms, including Android devices. This makes sure that team members using different operating systems can still connect securely, making collaboration more inclusive and seamless.

### Cloud Integration 
VPN services are integrated with cloud platforms, offering users the convenience of secure access to cloud resources. This integration streamlines collaboration by allowing team members to access shared documents and files in a secure environment.

### Challenges in VPN Collaboration
Device Compatibility
While the best Android VPN options exist, ensuring that VPN software is compatible with all devices and platforms used by the team can be a challenge. Inconsistent compatibility might hinder collaboration efforts.

### Speed and Performance
While VPNs offer encryption and security, they can sometimes lead to reduced internet speeds due to the rerouting of traffic. This can impact real-time collaboration tools and video conferencing, requiring organizations to strike a balance between security and performance.

### Complex Setup
Setting up a VPN and ensuring all team members have access can be a technical challenge, particularly for those less familiar with the technology. Organizations need to provide clear instructions and support to streamline the setup process.

By choosing the [best Android VPN](https://fastestvpn.com/download/android-vpn) or any other suitable option, providing education, addressing technical concerns, and maintaining a security-focused approach, organizations can harness the power of VPNs to facilitate seamless, secure, and efficient collaboration across the globe.
Why Software Engineers Aren't Going Anywhere, Even with AI
Tags: ai, career, discuss
Published: 2023-08-23 12:45:24

There's been a growing buzz about AI taking over software development in the next decade or so. But let's dig deeper and understand why this doesn't mean we're on the verge of being replaced. In this post, we'll explore the reasons why software engineers aren't going anywhere, even in the AI age.

### AI's Influence and the Unchanged Essence of Software Engineering
The AI wave is indeed changing the game with tools like GitHub's Co-pilot. These tools boost our efficiency and save a ton of time and money. And there's cool stuff on the horizon, like self-healing code, that'll make our software better and quicker to produce. It's an exciting time, no doubt.

### My Recent Experience: A Peek into Our World
I recently took on a project from scratch to finish, and it got me thinking. I compiled a list of technologies that we, as software engineers, need to be familiar with to create a simple app. Here's a snippet:

1. Creating the look (HTML)
2. Adding style (CSS)
3. Making it work (JavaScript)
4. Handling browsers (Browser stuff)
5. Navigating within the app (Routing)
6. Managing data flow (State management)
7. Designing the interface (UI libraries)
8. Linking with other apps and services (APIs)
9. Speeding things up (Caching)
10. Picking a backend language (Python, JavaScript, etc.)
11. Building the backend (Server framework)
12. Juggling tasks (Async programming)
13. Ensuring security (Security basics)
14. User access (User authentication)
15. Storing data (Database)
16. Team coordination (Version control)
17. Packaging the app (Docker)
18. Getting it out there (Deployment)
19. Checking it works (Testing)
20. Speeding up delivery for end users (CDN)
21. Handling addresses (DNS and networking)
22. Utilizing the cloud (Cloud architecture)
23. Domain management
24. Sending emails (Email service setup, reputation and warm-up)
25. Respecting privacy (Privacy concerns)
26. Monitoring performance (Monitoring)

It's a hefty list, right? Sure, AI tools like ChatGPT can help with some. Today's tools let us do more with a smaller team than before.

### The Real Value We Bring
Here's the scoop: being a software engineer isn't just about knowing tools. It's about fitting these tools together seamlessly. It's like cooking up a dish with various ingredients. As we improve at this, we innovate fresh ways to solve issues.

### A Bright Future Ahead
The idea that AI will replace us isn't the full picture. In the next 10 to 15 years, we'll still be here, doing our thing. Instead of fading away, we'll focus more on tackling tough challenges in smarter ways. As technology advances, so will our skills to make great things happen.

In a nutshell, the AI storm won't wipe us out. While AI tools are handy, the blend of skills, creativity, and problem-solving we possess is hard to replicate. So, brace yourselves – the future of software engineering is a thrilling ride!
Unleashing Advanced Stats: Empowering Data Analytics Insights
Tags: data, dataanalytic
Published: 2023-08-23 12:40:10

In the dynamic realm of data analytics, harnessing advanced statistical techniques is critical to unveiling profound insights. This exploration delves into the transformative impact of employing cutting-edge statistical methods, propelling data analysis towards enhanced accuracy, predictive power, and actionable understanding in today’s information-driven landscape.

Read more - https://64e5cfdc37f03.site123.me/blog/unleashing-advanced-stats-empowering-data-analytics-insights
Unveiling the Power of Python Libraries in Data Analysis: A Journey Through NumPy and Pandas
Published: 2023-08-23 12:25:25

In the realm of data analysis, Python has emerged as a frontrunner, armed with powerful libraries that serve as indispensable tools for every analyst. In this article, we embark on a captivating journey through two such giants of the Python ecosystem - NumPy and Pandas. Let's unravel the magic behind these libraries, understand why they are indispensable, and explore how they work harmoniously to empower data analysts.

**NumPy: A Solid Foundation for Numerical Computing**

When it comes to numerical operations and mathematical computations, NumPy takes the stage as the foundation upon which the data analysis empire is built. With its array-oriented programming capabilities, NumPy accelerates mathematical operations and empowers analysts to handle large datasets effortlessly. Think of NumPy arrays as the building blocks that transform how data is processed, enabling lightning-fast computations and intuitive data manipulation.

_Key Features:_ 

 Multidimensional arrays for efficient storage and manipulation of homogeneous data.
Mathematical functions for array-level operations, from simple arithmetic to advanced linear algebra.
Broadcasting, enabling operations on arrays of different shapes without explicit looping.

**Pandas: The Data Wrangler's Best Friend**

As the name suggests, Pandas introduces a world of data structures that simplify data manipulation, cleaning, and analysis. The DataFrame, Pandas' flagship object, is a versatile container that resembles a table, complete with rows and columns. With its wide array of functions, Pandas transforms the most intricate data handling tasks into elegant code, enabling analysts to focus on insights rather than mundane operations.

_Key Features:_

DataFrame: A two-dimensional, labeled data structure ideal for data analysis.
Built-in methods for data cleaning, reshaping, aggregation, and more.
Seamless integration with data visualization libraries for a comprehensive analysis experience.

**The Symbiotic Dance: NumPy and Pandas**

NumPy and Pandas aren't standalone warriors; they work in perfect harmony to optimize data analysis workflows. NumPy arrays form the backbone of Pandas DataFrames, allowing for blazing-fast computations and seamless interaction with Pandas' data manipulation tools. When you manipulate data using Pandas, you're leveraging the optimized power of NumPy under the hood.