teleren/devto huggingface dataset:
why "info" icon looks like that?
Tags: design
Published: 2023-10-05 06:17:36

Sometimes, before going to sleep, I thinking different strange thoughts)) Why "info" icon looks like that? - is stuck in my brain yesterday's night =)
 
The "info" icon, often represented by the letter "i" inside a circle, is a universally recognized symbol for "information." Here's why it looks like that:

**Simplicity:** Symbols need to be easily identifiable and universally understood. The lowercase "i" is simple, clean, and instantly recognizable.

**International Recognition:** The letter "i" is used in many languages to represent the word "information" or its equivalents, making it a good choice for global contexts.

**Clarity:** Other symbols might carry multiple meanings or could be misinterpreted based on context or cultural differences. A letter from the alphabet, especially one that's widely associated with "information", has a lower risk of misinterpretation.

**Evolution of Icons:** Over time, as graphical user interfaces (GUIs) developed, designers aimed to create symbols that are easy to reproduce, viewable at various sizes (from tiny mobile icons to larger signs), and legible across different mediums. The "i" inside a circle meets all these criteria.

**Consistency: **Once an icon becomes widely accepted and recognized, there's a strong incentive to continue using it for consistency's sake. This ensures that users across different platforms or using different software can immediately understand the symbol's meaning.

**Design Balance:** The circle around the "i" gives it a balanced and centered look, making it more visually appealing and easier to spot in a range of contexts.

The ["info" icon's design](https://icons8.com/icons/set/info) is a testament to the power of simplicity in iconography. Its design allows it to be instantly recognized and understood, fulfilling its purpose of signifying where additional information can be found.
Open source email, What is (IMAP, POP3, SMTP)⚡️📨
Tags: tips, tutorial, productivity, learning
Published: 2023-10-05 06:11:49

Give me star✨ on github - https://github.com/iuno-san/IMAP-POP3-SMTP

# Mail Servers (IMAP, POP3, SMTP)

A mail server is a computer that stores email messages. It is essential for users to be able to send and receive email messages.

## IMAP (Internet Message Access Protocol)

IMAP (Internet Message Access Protocol) is a mail access protocol that allows users to access email messages on a mail server. IMAP is a **bidirectional** protocol, which means that the user can synchronize email messages between the mail server and the mail client. This allows users to read, forward, delete, and organize email messages from any device.

**IMAP parameters:**

* IMAP server address: `imap.example.com`
* IMAP port: `143` (or `993` for an SSL connection)
* Username: `your_name@example.com`
* Password: `your_password`

## POP3 (Post Office Protocol 3)

POP3 (Post Office Protocol 3) is a mail access protocol that allows users to download email messages from a mail server. POP3 is a **one-way** protocol, which means that the user downloads email messages from the mail server and stores them on their device. After downloading, the email messages are deleted from the mail server.

**POP3 parameters:**

* POP3 server address: `pop3.example.com`
* POP3 port: `110` (or `995` for an SSL connection)
* Username: `your_name@example.com`
* Password: `your_password`

## SMTP (Simple Mail Transfer Protocol)

SMTP (Simple Mail Transfer Protocol) is a mail transfer protocol that allows users to send email messages. SMTP is a **message-transfer** protocol, which means that it transfers email messages from one mail server to another.

**SMTP parameters:**

* SMTP server address: `smtp.example.com`
* SMTP port: `25` (or `465` for an SSL connection)
* Username: `your_name@example.com`
* Password: `your_password`

## Summary

* IMAP is a mail access protocol that allows users to synchronize email messages between the mail server and the mail client.
* POP3 is a mail access protocol that allows users to download email messages from the mail server.
* SMTP is a mail transfer protocol that allows users to send email messages.

## Which protocol to choose?

The choice of the right protocol depends on the user's needs. IMAP is a good choice for users who want to have access to their email from any device. POP3 is a good choice for users who want to keep their email on their device. SMTP is essential for sending email messages.
Have You Seen Your Tests Fail?
Tags: programming, testing, beginners
Published: 2023-10-05 06:01:49

You might think this is a rhetorical question, since Test-Driven Development (TDD) is promoted everywhere. According to TDD, we first write a failing test for a new requirement. Then, in a second step, we write just enough code to make the test pass. Finally, we clean up the code and have the tests as a guarantee that nothing breaks. And then the cycle starts all over again.

But this test-first approach is not used by everyone. And it's even less likely to be used consistently all the time.
A second point is that "writing just enough code" is sometimes harder than expected. At least for me, it often happens that I already have a rough idea of what the code will look like in the end. Without realizing it, I write more code than I actually need for the current test.

But how can we verify that our tests fail when a functionality breaks? How to test our tests?

One approach is Mutation Testing. In this approach, bugs are deliberately introduced into the production code. For example, conditions are inverted or entire statements are removed. The goal is to find out if the tests fail and thus find the built-in bug.

For Mutation Testing, there are libraries that automate the process. But the execution can be very time-consuming. Sometimes manual Mutation Testing is sufficient by modifying the newly written code and seeing if the newly written tests fail.
To test my tests, I usually do exactly this: Just change the code and deliberately introduce errors. If the tests then fail with a helpful error message, even better. That gives me more confidence in my tests.

If the created mutations, automated or manual, are not detected, there may be room to improve the tests, or we may have more code than necessary. However, we should also make sure that production code and test code are not too tightly coupled. Then we run the risk of tests unnecessarily getting in the way of major changes or refactorings.

Therefore: Try to break your code and Happy Testing!
Sloan's Inbox: How to connect with folks over Open Source?
Tags: discuss, opensource, help, community
Published: 2023-10-05 06:00:00

Hiya! Sloan, DEV Moderator and resident mascot, back with another question submitted by a DEV community member. 🦥

For those unfamiliar with the series, this is another installment of Sloan's Inbox. You all send in your questions, I ask them on your behalf anonymously, and the community leaves comments to offer advice. Whether it's career development, office politics, industry trends, or improving technical skills, we cover all sorts of topics here. If you want to send in a question or talking point to be shared anonymously via Sloan, that'd be great; just scroll down to the bottom of the post for details on how.

Let's see what we got...

### Today's question is:

> I would like to start with open source and create more connections with people, but I can't ever decide how to approach people online. Do I just DM them and say, "Hey, hello, want to connect with you and collaborate on your project/know your opinion on this and that.."?  It feels pretty strange and difficult to me; how do you approach this? 
>

Share your thoughts and let's help a fellow DEV member out! Remember to keep kind and stay classy. 💚

---

*Want to submit a question for discussion or ask for advice? [Visit Sloan's Inbox](https://docs.google.com/forms/d/e/1FAIpQLSc6wgzJ1hh2OR4WsWlJN9WHUJ8jV4dFkRDF2TUP32urHSAsQg/viewform)! You can choose to remain anonymous.*
Neo Dental Care - Best Dental Clinic in Noida
Tags: dentistinnoida, bestdentalclinicinnoida, dentalclinicinnoida, dentalhospitalinnoida
Published: 2023-10-05 05:55:04

Neo Dental Care is a leading [dental clinic in Noida](https://neodentalcare.in/), offering a wide range of specialized services. We provide various orthodontic and endodontic treatments such as dental implants, root canal treatment, dental crowns and bridges, dentures, braces, tooth extractions etc. We have been recognized for receiving the prestigious title of "Best Dentist in Noida" at the National Quality Achievement Awards in 2020. We are expert in kids dentistry, oral cancer detection, microscopic dentistry and various gum surgeries. Our mission is "To create healthy and confident smiles that last a lifetime". We are on the panel of CGHS, DGEHS, NTPC, INDIAN OIL, SBI, KRIBHCO, FCI, ONGC, PFC, OIL INDIA, YAMUNA AUTHORITY, GR. NOIDA AUTH. etc. Dr. Suhrab Singh has been rated as the top dentist in Noida according to ClinicSpots.
API Testing
Tags: testing, frontend
Published: 2023-10-05 05:30:10


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

Please Disregard, I'm testing the API. Generating more content to see what happenns. 

## Another Topic To be place here

## Editor Basics
Use Markdown to write and format posts. Commonly used syntax Embed rich content such as Tweets, YouTube videos, etc. Use the complete In addition to images for the post's content, you can also drag and drop a cover image.
Craniectomy after hemorrhagic stroke
Tags: news, doctor, neurosurgeon, spine
Published: 2023-10-05 05:29:46

A [craniectomy after a hemorrhagic stroke](https://drgurneetsawhney.com/blog/craniectomy-after-hemorrhagic-stroke/) is a surgical procedure performed by top neurosurgeon in Mumbai, Dr. Gurneet Singh Sawhney. It involves removing a portion of the skull to relieve pressure caused by bleeding in the brain, allowing space for swelling and reducing potential damage. This procedure can be a life-saving intervention for critical cases.
British Airways Student Discount | Get Cheap Student FLights
Tags: britishairways, studentdiscount, flightbooking, flightcancellation
Published: 2023-10-05 05:21:57

Enjoy discounts as a student on British Airways flights if you are between 18 to 30 years, get the discount code &amp; apply to your booking.
See More: [British Airways Student Discounts](https://www.tripohlz.com/blog/british-airways-student-discounts/
)****
[Air france unaccompanied minor policy](https://www.tripohlz.com/blog/air-france-unaccompanied-minor-policy/)
React Script Error when navigating through pages
Tags: webdev, javascript, react, discuss
Published: 2023-10-05 05:20:24

Uncaught runtime errors:
ERROR
Script error.
    at handleError (http://localhost:3000/static/js/bundle.js:75209:58)
    at http://localhost:3000/static/js/bundle.js:75228:7

I am getting this error whenever i am navigating through pages of my project. 
I am using Faceio.net for facial recognition in my project and when i installed its package using npm, i started getting this error.
When this error occurs my whole website gets stuck until i close it the error manually using X button which comes in top right corner of website.
I have tried to solve the error by deleting all npm modules and reinstalling them.
By clearing npm cache
Reinstalling React Scripts, but nothing works.

If somebody knows the solution please help me.
Thanks in advanced

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zqdscq7lit4uqth4ti6i.png)
demo directory
Tags: freecodez, react, html, blog
Published: 2023-10-05 05:16:39

Hey there, You are most welcome to this article. I hope you will enjoy this article. If you like this article then please share this article with your friends and colleagues. If you have any questions or suggestions regarding this article then please comment down below.

**demo directory **

![demo directory ](https://res.cloudinary.com/freecodez/image/upload/v1694870097/images/ymaxbue7brnrpr2gzpb6.webp)

For full source code visit : [https://freecodez.com/post/7933icp](https://freecodez.com/post/7933icp)

For more such articles visit : [https://freecodez.com](https://freecodez.com/all)
Como Definir o Contexto Adequado ao Construir um Dockerfile
Tags: docker, tutorial, programming, node
Published: 2023-10-05 05:15:30

Quantas vezes você já se deparou com a situação em que tentou criar um Dockerfile e, de repente, ele não conseguia copiar os arquivos para o container? A razão por trás disso pode estar relacionada à escolha do contexto adequado.

Quando trabalhamos com Dockerfiles, é fundamental entender que o Docker utiliza um diretório como ponto de partida inicial para a construção da imagem. Isso significa que apenas os arquivos presentes nesse diretório e seus subdiretórios são acessíveis durante o processo de build. 

Por exemplo, considere a seguinte estrutura de diretórios:

```
├ exemplo dockerfile
│   ├── docker
│   │   ├── Dockerfile
│   │   └── .dockerignore
│   └── package.json
│   └── server.js
```

Dockerfile:
```
FROM node:18

# Create app directory

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 8080

CMD [ "node", "server.js" ]
```

Se tentarmos executar o comando de build a partir do diretório `docker`, como o exemplo a seguir:

```
docker build -t image/teste .
```
Nos deparamos com o seguinte erro:

![error docker build](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mipgwccad9kyiumdwlqe.png)

Esse erro ocorre devido a incapacidade do Docker de localizar os arquivos desejados, uma vez que o contexto atual, ou seja, o diretório `docker`, não inclui o diretório pai que contém os arquivos relevantes.

Então, qual é a solução?

Para garantir que a compilação seja bem-sucedida, é crucial ampliar o contexto de construção. Em vez de executar o comando de build a partir do diretório `docker`, você deve retornar à raiz do projeto e, em seguida, utilizar o seguinte comando:

```
docker build -f docker/Dockerfile -t image/teste .
```
Vamos analisar cada componente desse comando:

**docker build:** Este é o comando que dá início ao processo de construção da imagem Docker.

**-f docker/Dockerfile:** Especifica o arquivo Dockerfile a ser usado para construir a imagem.

**-t image/teste:** Essa opção define um nome (ou uma "tag") para a imagem que será criada.

**".":** O ponto no final do comando indica o contexto de construção, ou seja, o diretório no qual o Docker procurará o Dockerfile e quaisquer outros arquivos necessários para a construção da imagem. O ponto representa o diretório atual.

Após a execução bem-sucedida dessa instrução, você pode esperar o seguinte resultado:

![docker build success](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l9ca9qgrmm4btwyc3v2q.png)

Com essa abordagem, você consegue especificar qual Dockerfile deseja utilizar e também indicar qual é o contexto. O ponto "." representa a raiz do projeto e instrui o Docker a considerar esse ponto como o contexto inicial para a construção da imagem.
(Nest JS)How to get values from custom config service in module.ts class to register with database
Tags: nestjs, azure, config, typescript
Published: 2023-10-05 05:06:41

1. I have created a Utility package of config manager service

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

2. Then, I have created another utility package to handle DB operations

Here is DB Module file

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uxl4ewipfhjr2rmsa32.png)

Here is DB Service file

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/54kzn7e3e4xewrl4icmg.png)

3. Then I have created my final project and injected config manager service in app.module.ts

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

Then, I have registered DBModule in feature.module.ts

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

4. Now, when I am running the application. I am unable to get actual values from config service. instead getting configmanagerservice class


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

Please help
Business Sign store the woodlands
Tags: webdev, promotionalsigns, woodlands
Published: 2023-10-05 05:00:33

Discover The Woodlands' Premier [Business Sign Store](https://www.universalsignandgraphics.com/service-areas/the-woodlands-texas/) for High-Quality Wooden Signs. Elevate Your Brand with Custom Wood Signage Solutions. From Eye-Catching Storefront Signs to Rustic Office Plaques, We Craft Stunning Wooden Signs to Suit Your Business Needs. Get Expert Consultation, Design, and Installation Services. Enhance Your Business's Aesthetics and Visibility in The Woodlands. Visit Our Store Today!
My Hacktoberfest Journey
Tags: hack23contributor, hacktoberfest23
Published: 2023-10-05 04:57:29

### Intro
Hii, My name is Amit Suthar and I'm a Second Year Computer Science UnderGrad. This is my first Hacktoberfest and I'm ery excited to contribute to the community. Visit my [Github account](https://github.com/amitsuthar69).

### About this month
In this month, I made a plenty of contributions on Github and tried my best to make those contribution meaningful and worthy. 

### Growth
Before Hacktoberfest 2023, contributions I made were small and were made to local projects and mostly to unrecognized repositories. But during this Hacktoberfest23, I made contributions to repos which have actual use cases and is used actively by a lot of people.
One of the popular repository I contributed is [TCET Open Source](https://opensource.tcetmumbai.in/), [Official Hacktoberfest website](https://github.com/tcet-opensource/hacktober-fest).

### Direct Link to my PRs accepted for hacktoberfest'23

[https://github.com/Rahilsiddique/next-blog/pull/14](https://github.com/Rahilsiddique/next-blog/pull/14)

[https://github.com/Rahilsiddique/next-blog/pull/2](https://github.com/Rahilsiddique/next-blog/pull/2)

[https://github.com/tcet-opensource/hacktober-fest/pull/52](https://github.com/tcet-opensource/hacktober-fest/pull/52)

[https://github.com/tcet-opensource/hacktober-fest/pull/40](https://github.com/tcet-opensource/hacktober-fest/pull/40)

[https://github.com/illacloud/illa-builder/pull/2482](https://github.com/illacloud/illa-builder/pull/2482)
Manual Testing
Published: 2023-10-05 04:56:38

## What is Manual Testing?
Manual Testing is a kind of software testing in which a software tester develops and executes the test cases without using any automated testing tools. The main objective of manual testing is to detect the issues, bugs, and defects of a software application.

## What is the benefits and drawbacks of Manual Testing?

**1. Benefits of Manual Testing.**

- If you’re using black box testing, you don’t need programming knowledge

- It’s ideal for test dynamically changing graphic user interface (GUI) designs

- It’s easy for new testers to learn
It lets the tester interact with the apps as a real user, to spot usability and user interface issues

- The software ends up one hundred percent bug-free

- It’s cost-effective in the long run because it catches errors and issues that would otherwise appear in the finished product, requiring resolutions such as releasing patches or new versions, perhaps even an outright recall

**2. Drawbacks of Manual Testing.**

- It uses a comparatively large number of human resources

- It’s costly in the short run. Ideally, though, the business is investing significant funds at the start to head off more prominent and more expensive headaches after the product is released

- It is very time-consuming
The tester develops test cases based on their skills and previous experiences. There is no proof that they have covered all functions.

- Testers cannot use a given test case again. Testers need to develop separate test cases for each new application
It does not cover all aspects of testing.
LeetCode 229. Majority Element II (Medium)
Tags: 100dayschallengeleet, c, leetcode, 229majorityelementii
Published: 2023-11-06 17:16:49

---
title: LeetCode 229. Majority Element II (Medium)
published: true
date: 2023-10-05 04:54:39 UTC
tags: 100DaysChallengeLeet,C,leetcode,229MajorityElementII
canonical_url: https://www.nileshblog.tech/leetcode-229-majority-element-ii/
---

Leetcode 229. Majority Element II:Hey there, coding enthusiasts! Welcome back to another exciting coding session. Today’s problem is a treat—literally! We’re going to solve the “Majority Element II” or “LeetCode 229. ‘  Method : HashMap Approach – Majority Element II 1: Initialize Data Structures 2: Count Element Occurrences 3: Calculate the Threshold 4: Iterate Over Counts 5: ... [Read more](https://www.nileshblog.tech/leetcode-229-majority-element-ii/ "LeetCode 229. Majority Element II (Medium)")

The post [LeetCode 229. Majority Element II (Medium)](https://www.nileshblog.tech/leetcode-229-majority-element-ii/) appeared first on [NileshBlog.Tech](https://www.nileshblog.tech).
List of 100+ AI Directories to Submit your AI Product
Tags: ai, startup
Published: 2023-10-05 04:53:08

As a busy founder, it can be hard to reach users at the early stage of an AI startup!

I found a list of 100+ AI directories.

You can use these directories to launch your AI startup!

Launching your startup on AI Directories can help in increasing the reach by 100-300+ unique users per day

You can see the list for free here: [100+ AI Directories](https://www.submitmyproduct.com/ai-directories?ref=dev)
Difference between functional testing and non functional testing
Published: 2023-10-05 04:49:50

## Functional Testing
Functional testing is a type of software testing in which the system is tested against the functional requirements and specifications. Functional testing ensures that the requirements or specifications are properly satisfied by the application. This type of testing is particularly concerned with the result of processing. It focuses on simulation of actual system usage but does not develop any system structure assumptions. It is basically defined as a type of testing which verifies that each function of the software application works in conformance with the requirement and specification. This testing is not concerned about the source code of the application. Each functionality of the software application is tested by providing appropriate test input, expecting the output and comparing the actual output with the expected output.
<u>Example</u>:
1. Unit Testing
2. Smoke Testing
3. Integration Testing
4. Regression Testing 

## Non Functional Testing
Non functional testing is a type of software testing that is performed to verify the non-functional requirements of the application. It verifies whether the behavior of the system is as per the requirement or not. It tests all the aspects which are not tested in functional testing. Non-functional testing is defined as a type of software testing to check non-functional aspects of a software application. It is designed to test the readiness of a system as per nonfunctional parameters which are never addressed by functional testing. Non-functional testing is as important as functional testing.
<u>Example</u>:
1. Performance Testing
2. Load Testing
3. Stress Testing
4. Scalability Testing
APKHIHE - Find Your Favorite APK Games And Apps
Tags: gamedev, android, apk, appsync
Published: 2023-10-05 04:46:20

APKHIHE is a great site for lovers of free android games and apps. With the variety and safety assurance of the offered applications, users can enjoy the latest features and functions of their Android phones safely and easily.
Website: [https://apkhihe.com/](url)