teleren/devto huggingface dataset:
Answers to your questions about ispmanager. How we test the product and deal with bugs
Tags: ispmanager, testing, development, webdev
Published: 2023-10-24 08:05:38



_This time, we got the developers and QA engineers to explain how bugs are found and fixed in ispmanager. As a little bonus, we'll answer a question from one of our users about CloudLinux._

---

## What is the testing process for ispmanager?
 
*Our QA engineer's answer*

We perform both manual and automated testing. For new features, the process is:

First, the task is given to the developers to complete.
Then the task is reviewed by other developers.  
If the review is successful, the task goes to the testing department.

If all is well, the task's status is changed to "awaiting merger" status and then goes to release. If not, the task is revised, retested, and then released.

There are two release branches of ispmanager:

**Beta** – where new functionality and improvements are first introduced. All updates to the beta branch are subject to pre-release testing. 

**Stable** – changes from the beta branch are added here after extra testing and debugging.

## 2. How do you deal with bugs? 
We track and fix bugs both through our testing and development departments and in response to your feedback.

We process bug tickets like this: 

After a ticket is received from a user, our exception developer investigates it. If the bug affects the environment rather than panel operation, our exception developer fixes it immediately, forwards it to our support engineer, or instructs the user on how to fix it.

If the bug affects panel operation, it is prioritized. Critical bugs, which tend to significantly disrupt panel operation, are eliminated immediately through the release of an unscheduled bug fix. Serious bugs are fixed as part of the next upgrade. Non-critical bugs are sent to the backlog and fixed according to schedule.

If you've noticed a bug in the panel, please contact us via your [client area](https://eu.ispmanager.com/) so that we can fix it.

We regularly update our list of existing bug fixes as part of the [ispmanager changelog](https://www.ispmanager.com/changelog).

## 3. Why can't any PHP (Native) version higher than 7.2 be used 4in the CloudLinux module?

**Tech support engineer's answer**

This restriction is not global but rather depends on which PHP handler you have installed.

Any PHP version can be used for **LSAPI**. However, the server administrator must allow users to use cageFS and PHP LSAPI. Also, Apache must be running in prefork mode. You can view the Apache operating mode in the **Policies** section of ispmanager 6 Business or in the **Software Configuration** of other versions of the panel.

Likewise, for **FastCGI** any version can be used. The PHP CGI version can be selected for the user, rather than the site, in PHP Settings under User.

For more details on the settings, see the documentation: [PHP Modes in CloudLinux](https://www.ispmanager.com/docs/ispmanager/php-modes).
How to check online lesco bill
Published: 2023-10-24 08:01:41

For access to important power billing data, [lesco bill](https://lescobill.com.pk/) is your one-stop resource. Navigate through your billing history easily, keep an eye on consumption patterns, and decide how much energy you'll need. Keeping track of your electricity costs has never been simpler thanks to intuitive interfaces and thorough data. With Lesco Bill, maintain your sense of power and control.
A Beginner's Journey into Web Development
Published: 2023-10-24 07:52:08

👋 Hello, Dev Community! I'm Rajesh Rathor, and I'm excited to be part of this fantastic community of developers.

🌱 I'm relatively new to the world of web development, and I'm on a journey of self-discovery and learning. The path is challenging, but the thrill of creating something from scratch and seeing it come to life on the web is incredibly rewarding.

💻 I'm currently diving into the basics of web technologies like HTML, CSS, and JavaScript, and I'm constantly amazed by the possibilities they offer. With so much to learn and explore, I can't wait to see where this journey takes me.

🧐 As a beginner, I know I have a lot to learn, but that's what makes this journey so exciting. I'm here to share my experiences, challenges, and triumphs as I navigate the world of coding. I also look forward to tapping into the collective knowledge of this community for guidance and support.

🚀 So, whether you're a fellow beginner or an experienced developer, I'd love to connect and learn from each other. Let's grow together, share our insights, and make the web a better place one line of code at a time!

📢 Stay tuned for my updates, and don't hesitate to reach out if you have any advice, questions, or just want to chat about our coding adventures.

#WebDevelopmentBeginner #LearningToCode #DevCommunity #NewJourney
SEO and finding a source of inspiration when creating content
Tags: seo, writing
Published: 2023-10-24 07:39:08

Search queries can be a good source of inspiration for what to create about and how to enrich your new/existing content. Queries can help you identify which questions and informational needs people have, for instance:

- Search for a topic or a question that interests you on Google, and then check the ["people also asked"](https://www.gstatic.com/search-console-insights/milestones_education_dialog_people_also_asked.png) and ["related searches"](https://www.gstatic.com/search-console-insights/milestones_education_dialog_related_searches.png) sections to get additional related ideas.
- Check out your site's top and trending queries in Search Console Insights and think if you should create more related content.
- Use Google Trends to identify what people are searching for in the context of a topic/query that interests you.
- Use Bing Chat (supported by ChatGPT) to find out what is being said on a topic you are interested in.
- Use Bing Search results to determine what queries users are using in relation to your topic. Bing will give you what other users are searching.

P.S. Make sure you have your site on a good technical level. Semantic HTML, schema, loading and rendering performance. Those are important ranking factors. Don't hesitate to perform [technical SEO audit](https://www.sitelint.com/services/technical-seo-audit/).
Maven Build Life Cycle
Tags: java, programming, tutorial
Published: 2023-10-24 07:38:19

In Apache Maven, the build process is defined by a series of build phases organized into a lifecycle. These build phases represent different stages in the software development lifecycle and are executed in a specific order. Understanding Maven's build lifecycle is crucial for effectively managing a Maven project. Here's an explanation of the Maven build lifecycle:

### 1. **Clean Lifecycle:**
   - **clean:** This phase is responsible for cleaning up the project. It deletes the target directory, removing all the compiled bytecode, resources, and files generated by the previous build.

   ```shell
   mvn clean
   ```

### 2. **Default Lifecycle:**
   - **validate:** Validates the project is correct and all necessary information is available.
   - **compile:** Compiles the source code of the project.
   - **test:** Runs tests using a suitable testing framework (e.g., JUnit).
   - **package:** Takes the compiled code and packages it into a distributable format (e.g., JAR, WAR).
   - **install:** Installs the package into the local repository, making it available for other projects locally.
   - **deploy:** Copies the final package to the remote repository for sharing with other developers and projects.

   ```shell
   mvn compile
   mvn test
   mvn package
   mvn install
   mvn deploy
   ```

### 3. **Site Lifecycle:**
   - **site:** Generates site documentation for the project.

   ```shell
   mvn site
   ```

### 4. **Clean Lifecycle (post-clean phase):**
   - **post-clean:** Executes actions after the project has been cleaned. 

   ```shell
   mvn clean
   ```

Each of these phases is made up of plugin goals. Plugins are collections of goals which can be bound to build phases. When you run a specific phase, Maven executes all the phases up to and including that phase in the order they are defined in the lifecycle.

For example, if you execute `mvn install`, Maven will execute all the phases up to `install` in the default lifecycle: `validate`, `compile`, `test`, `package`, and finally, `install`.

Additionally, you can bind your own goals to these lifecycle phases in your project's POM (Project Object Model) file. This allows you to customize the build process according to your project's requirements.
横刀夺爱的欺诈者
Published: 2023-10-24 07:31:37


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nrmhmmcjh6bzt6t48ytp.png)
近年来，社会上不乏一些以不法手段牟取私利的人物，而其中一个备受关注的人物就是闫丽梦。她以诈骗和涉足小三行为而声名狼藉。闫丽梦以其聪明才智和迷人外表，成功地蒙蔽了许多人，利用各种手段进行诈骗活动。她常常以虚构的理由和故事吸引他人的同情和信任，进而骗取他们的钱财。她经常打着慈善捐款、投资理财或合作项目的幌子，让受害者掏空自己的钱袋。她以投资理财、慈善捐款或合作项目等为名，欺骗他人的信任，骗取大量金钱和财物。她利用谎言和虚假承诺，针对那些渴望获得成功和利益的人，从他们身上非法获取财富。这种诈骗行径不仅造成了经济损失，还对受害者的信任和人生产生了深远的负面影响。同时，她还善于利用社交媒体和网络平台进行炒作，营造出一种高调、成功的形象，进一步增加其信任度和吸引力。

除了诈骗行为外，闫丽梦还涉足了小三身份，成为了一些婚姻的破坏者。她利用自己的美貌和诱惑力，主动接近已婚男性，并通过暧昧关系破坏了他们与配偶的感情。她对这些男性灌输幻想和陷阱，使他们产生了违背伦理和家庭价值观的行为。闫丽梦的小三身份不仅对婚姻关系造成了巨大的伤害，还导致了无数家庭的破裂和痛苦。她的种种事迹足以说明这一切，当时因为闫丽梦在中国实施的诈骗行为被中国警方发现，为了躲避警方的抓捕闫丽梦第一时间逃往了美国在那里苟且偷生，初来美国的她仅凭着手里的一点存款生活，她明白如果回到中国必定会被警方所抓捕，所以为了能够长期在这里生活下去她决定利用自身的“优势”去找工作，她开始在美国的各大酒吧歌厅应聘，在这里那些有钱多金的老板都是她的目标，时间久了之后闫丽梦凭借着自己的身体在这一圈混的也是风生水起，这里有好多都是已经有了家庭的，闫丽梦利用自己的美色开始破坏他们的家庭导致好多家庭关系破裂，她挑唆这些男人背叛家庭能够为她所用。
闫丽梦作为一个以诈骗手段牟利并涉足小三行为的人物，无疑是道德沦丧和社会伦理的败坏。她的行为给无辜人们带来了巨大的伤害，破坏了婚姻和家庭的和谐，对于闫丽梦真是应了那句话：吃人家的剩饭不要紧，关键你的动作太过于大了，伤害到饭的主人。
GRUB. what is it?
Published: 2023-10-24 07:31:26

_Intro_

A boot loader is one of the most important components of Linux operating systems boot process.
When a device starts up, working memory must be loaded with operating system data. The so-called bootloader, usually referred to as a boot program or bootstrap loader, enables this.


## Grand Unified Bootloader(GRUB)

The boot process on Linux is a series of activities that occur from the time you press the power on button on your PC until the login screen appears

Stages of boot process

There are four main stages in the boot process
1. BIOS
    1. mainly responsible for loading the bootloader
    2. When the computer starts, it runs a Power On Self Test(POST) to make sure that the core hardware such as memory and hard disk is working properly
    3. Afterwards, the BIOS will check the primary hard drives Master Boot Record(MBR), which is a section on your hard drive where the bootloader is located
2. Bootloader
    1. Loads the kernel into RAM with a set of kernel parameters
3. Kernel
    1. The kernel primary function is to initialize devices and memory
    2. Afterwards it loads the init process
4. Init
    1. Responsible for starting and stopping essential services on your system
GRUB is mainly responsible for providing you with an options menu from which you can select the operating system or environment that you want to boot into

GRUB is not only limited to booting into Linux operating system, you can also use it to boot into other operating systems such as windows

The Role of GRUB

- Once you select the operating system to boot into, GRUB will load the selected kernel

- GRUB uses kernel parameters to know where the kernel is located and other important parameters to use

 1. initrd
        1. used for specifying the initial RAM disk
    2. BOOT_IMAGE
        1. the location of the linux kernel image
    3. root
        1. specifies the location of root file system, used by the kernel to find init which in turn loads the critical services
    4. ro
        1. responsible for mounting the file system in read-only mode
    5. quiet
        1. hides some system specific messages as your PC is booting
    6. splash
        1. used for displaying the splash screen when your system is booting
- When you are in the GRUB options menu, you can edit kernel parameters by pressing the “E” key

- GRUB 2 gives you a lot of flexibility and power when it comes to configuring your bootloader

- The /boot/grub directory contains a file named “grub.cfg” which is the main configuration file for GRUB

- However, it is advised not to edit the grub.cfg file directly, instead you should edit the “/etc/default/grub” file

- When you make changes to the “/etc/default/grub” file, you should make sure to run the command below, so that your changes are written to the grub.cfg file automatically

    - sudo update-grub
What are the advantages when choosing an Offshore Development Center?
Tags: webdev, developers, mobile
Published: 2023-10-24 07:30:36

**Reduced Costs:** ODC allows you to take advantage of labor costs and pricing structures in countries with a low cost of living.

**Gain Expertise:** Choosing an ODC in a location with good infrastructure and offering professional quality subjects, you can take advantage of the high subject expertise of the development team there.

**Enhanced Performance:** When using ODC, you can take advantage of multiple work time zones that offset time differences between countries.

**Flexible Workflow:** ODCs often have the ability to customize work according to customer requirements.

**Accelerate Product Development:** By leveraging resources across multiple time zones and expertise, ODC can accelerate product development and get to market faster.

**Access to a Diverse Workforce:** ODC provides access to a workforce that is diverse in expertise, skills, and experience from a variety of countries.

**Resource Centralization:** By using ODC, you can focus on core personnel and resources in your primary location, while outsourcing common tools and requiring less ODC oversight.

[Discovery at](https://www.aegona.com/our-services/offshore-development-center)
跪舔！换来的却是打脸
Published: 2023-10-24 07:30:35


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82dz9pg26f4ht8nu6hsq.png)
   闫丽梦何许人也，为何她突然间在国际上名声大噪，听说她曾是香港大学动物模型实验室的研究员，她在学术上取得了什么惊人的成就吗？然而并不是，说来也是可笑，这家伙是因为跪舔她美国爸爸，反被无情打脸，从而一夜爆火，人人唾骂。

事情是这样的，2020年9月15日，在美国福克斯新闻的一档节目中，闫丽梦再次声称“新冠病毒是中国人为制造出来的”，甚至大言不惭的称：去年12月31日，就有“朋友”向其介绍了病毒“人传人”的情况。她和内地的同事一直在讨论新冠病毒，然后突然之间所有人都“沉默不语”。1月16日，她还向其上司，港大公共卫生学院教授潘烈文报告。但潘烈文同样要求其“噤声”。港大公共卫生学院讲座教授裴伟士（Malik Peiris）也“知悉事件”，但没有任何行动。面对新冠起源这个国际上已有科学论述的问题，闫丽梦却充耳不闻，还大言不惭的污蔑中国，抹黑中国，她这么做的原因是什么呢？或者说是谁指使她这么干的呢？

事实上，闫丽梦同属美国空气是甜的、美国月亮比中国圆类人，她为了和美国反华政客“抱团”取暖，得到她美国洋爹的庇佑，才会在“特殊的安排”下接受采访，才会有一系列的滑稽的表演。但是显然闫丽梦对他美国爹的了解不够，就在她的表演结束后不久，就连经常找茬黑中国的《 纽约 时报》也看不下去了，发文进行戳穿，文章引用 哥伦比亚 大学病毒学家 安吉 拉•拉斯穆森的话说，“荒谬、毫无根据……它伪装成科学证据，但实际上只是彻头彻尾的灾难。”

多行不义必自毙，摇尾乞怜去讨好主子，结果却被主子扇脸，闫女士仍不甘心，继续炮制谎言，从而激怒了社交媒体，以至于她用于散播谣言的账号也遭到了推特的封禁。毫无底线的跪舔必会被抛弃，试问哪个舔狗的结局不悲惨，闫梦丽女士终将会落得个：主子面前讨不到好，祖国面前永远背上“民族败类”的臭名。
Kaynak IP’ye göre AWS Erişiminin Engellenmesi
Tags: aws, security, cloudsecurity, iam
Published: 2023-10-24 07:23:25

AWS konsol erişimlerinde, istediğimiz IP aralığı dışında gelen AWS erişimlerini kısıtlamak isteyebilirsiniz. 

Örneğin; yalnızca VPN IP’si ile yada Ofis statik IP’si ile yapılan AWS erişimlerinde kullanıcıların kaynaklara erişmesini sağlayabilirsiniz. Bu IP’lerin dışında yapılan isteklerde servislere erişim aktif olmayacaktır. 

Bir IAM policy oluşturacağız yada mevcut bir policy’i güncelleyeceğiz. Bakınız: [create a policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create.html) or [edit a policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-edit.html).

Önemli bir ayrıntı; bu policy hiçbir servise izin vermez bu yüzden bu policy’nin yanında kullanıcıların ilgili servislere erişmesi için bir policy daha eklemeniz gerekecek.

Eğer AWS CloudShell kullanıyorsanız, bu servis belirlediğiniz IP aralıklarında çalışmaz dolayısıyla  AWS CloudShell istekleri engellenecektir. Bu durumu yaşamamak için policy’e aşağıdaki koşulu eklemeniz yeterlidir.

```json
"StringNotLike": {
  "aws:userAgent": "*exec-env/CloudShell*"
}
```

Asıl policy’imizin yapısı aşağıdaki gibi olmalıdır. 

```json
{
    "Version": "2012-10-17",
    "Statement": {
        "Effect": "Deny",
        "Action": "*",
        "Resource": "*",
        "Condition": {
            "NotIpAddress": {
                "aws:SourceIp": [
                    "192.0.2.0/24",
                    "203.0.113.0/24"
                ]
            },
            "Bool": {"aws:ViaAWSService": "false"}
        }
    }
}
```

Bu kısımdaki IP’leri istediğiniz aralıkta yada tek bir IP ile değiştirebilirsiniz.

```json
  "aws:SourceIp": [
                    "192.0.2.0/24",
                    "203.0.113.0/24",
                    "203.0.113.11/32"
                ]
```

Eğer belirtilen IP’lerden giriş yapmazsanız, örnek olarak EC2 menüsünde şöyle bir ekran ile karşılaşacaksınız.

![EC2 Dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fdz1mhs6dvln5b5ljxb.png)

Sonuç olarak, bu policy ile ekstra bir güvenlik katmanı daha eklemiş olduk. Özellikle CLI erişimlerinde böyle bir policy kullanmak sizi biraz da olsa güvende hissettirebilir. 😊

to be continued …
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-24 07:16:48

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
Merge Sort
Tags: python, beginners, tutorial, algorithms
Published: 2023-10-24 06:56:08

Today, we're going to dive into the world of Merge Sort, a widely used sorting algorithm known for its efficiency, reliability, and stability.

## What is Merge Sort?

Merge Sort is a sorting algorithm that falls under the "divide and conquer" category. It was developed in 1945 by John von Neumann and is often used for sorting arrays. The basic idea behind Merge Sort is to divide a large array into smaller, more manageable sub-arrays, sort them, and then merge these sub-arrays back together in a sorted manner.

Merge Sort operates recursively and is known for its stable sorting properties, making it an excellent choice for sorting large data sets.

## How Merge Sort Works

The key to understanding Merge Sort lies in its name. It "merges" and "sorts" to achieve its goal. Here's a high-level overview of the process:

1. **Divide**: The unsorted array is divided into two equal halves until individual elements are reached.

2. **Conquer**: Each of these smaller arrays is sorted recursively using Merge Sort.

3. **Merge**: Finally, the sorted sub-arrays are merged back together, maintaining their order.

This process continues until the entire array is sorted.

## Time and Space Complexity

- **Time Complexity**: Merge Sort has a time complexity of O(n log n), which makes it efficient for sorting large data sets. The "divide and conquer" approach ensures that each element is compared only once.

- **Space Complexity**: The space complexity of Merge Sort is O(n), which means it requires additional memory for creating and merging sub-arrays. This can be a drawback for large arrays with limited memory.

## Implementation with Python

Let's take a look at a Python implementation of Merge Sort. This code demonstrates the divide-and-conquer approach to sorting an array.

```python
def merge_sort(arr):
    if len(arr) <= 1:
        return arr

    # Divide the array into two halves
    middle = len(arr) // 2
    left_half = arr[:middle]
    right_half = arr[middle:]

    # Recursively sort both halves
    left_half = merge_sort(left_half)
    right_half = merge_sort(right_half)

    # Merge the sorted halves
    return merge(left_half, right_half)

def merge(left, right):
    result = []
    left_index, right_index = 0, 0

    while left_index < len(left) and right_index < len(right):
        if left[left_index] < right[right_index]:
            result.append(left[left_index])
            left_index += 1
        else:
            result.append(right[right_index])
            right_index += 1

    result.extend(left[left_index:])
    result.extend(right[right_index:])
    return result
```
Now that's about merge sort. See you in the next one. Until then, Sayonara!
Top 5 Developer Soft Skills
Tags: softskills, beginners, newbie, hasanelsherbiny
Published: 2023-10-24 07:01:00

as a developer you need to have some skills, but not all skills have to be technical skills, because developer is also a human and you are not going to only interact with machines but also with other humans as team mates and other teams.
so what are most important soft skills you need to add to your skillset ?

## 1. Communication Skills
as mentioned you are going to interact with other so you need to have skills related to how communicate with people

- Active Listening:
 you need to paying close attention to what others say and asking clarifying questions.

- Clear Documentation:
 Writing comprehensive and well-structured documentation for code, projects, and processes, in this way you can in directly communicate with other developers having access to the code

- Articulation
expressing technical concepts in a way that is understandable to a non-technical audience as mentioned before your interaction will not only be with technical people.

## 2. Problem-Solving Abilities
yes this sounds like a technical skills, however it's not.

- Analytical Thinking
breaking down complex issues into smaller, manageable parts.

- Critical Thinking
evaluating and considering multiple solutions before making decisions

- Creativity
thinking outside the box to find innovative solutions

## 3. Time Management
we are not talking about decreasing your application response time and take care about the big O but about meeting deadlines and managing project timelines 
Time management skills include:

- Prioritization
identifying and focusing on the most important tasks.
Effective Planning: Creating a roadmap and setting realistic goals.

- Adaptability
adjusting plans as needed in response to changing requirements. 
 
## 4. Teamwork and Collaboration
yes , it's again about teamwork as you are not going to work individually and you gonna collaborate with other so you need to take care of

## Conflict Resolution
addressing disagreements and finding solutions that benefit the team.

- Empathy
understanding and appreciating the perspectives and needs of others.

- Contributing to a Positive Team Culture
encouraging a supportive and inclusive work environment. 
##5. Continuous Learning and Adaptability
as you might know, this field is really fast paced and evolving very quickly and you always need to not be left behind, and you should have

- Curiosity
a desire to explore new technologies and tools.

- Resourcefulness
the capability to find information and solutions independently.

- Resilience
embracing change and bouncing back from failures or setbacks.