teleren/devto huggingface dataset:
Breaking Down Success: What Separates Top Developers from the Rest
Tags: webdev, productivity, codenewbie, javascript
Published: 2023-04-27 05:45:42

Hey there, fellow developers! Did you know that there are over **28.7 million** of us out there? That's a whole lot of coding going on!

But what sets the most successful developers apart from the rest of the pack? It's not just about being a programming whiz or having a photographic memory for code. Nope, it's something much simpler than that.

First off, you've got to **get comfortable with being uncomfortable** . As a software engineer, you're expected to solve problems even if you don't have all the answers. That means stepping outside of your comfort zone and tackling new challenges, even if it feels like you're in over your head. And let's be real, that happens to the best of us. But don't freak out! Take a deep breath, keep a cool head, and remember that this is an opportunity to grow.

Next up, **check your ego at the door** . Yes, you might be a hotshot programmer with mad skills, but that doesn't mean you're too good for the basics. Don't turn up your nose at simple projects or tasks, because they're essential for building a solid foundation. So swallow your pride and dive into those beginner tutorials, because you never know what new insights you might gain.

And finally, remember that **programming can never be mastered** . That might sound intimidating, but hear me out. Instead of trying to master every single language and concept out there, focus on building things and continuously improving. That's right, it's all about that growth mindset. Don't get bogged down with the idea of being a "master" - just focus on being a better developer than you were yesterday.

So there you have it, folks. The secret to success as a developer isn't some mythical ability to memorize code or churn out apps at lightning speed. It's about being willing to learn, grow, and adapt - even when things get uncomfortable. Now get out there and start coding!

Follow me on [Instagram](https://www.instagram.com/writegoodcode/) for more awesome content.
Issue: react/no-unknown-property
Published: 2023-04-27 05:20:53

Can someone please help me out here.
I have an react project with package.lock.json file.
but when I am trying to rebuild it from package,json file(after adding all the missing dependencies from lock.json file as well) **react/no-unknown-property** error is coming for so many html attributes.
not able to resolve it.
Please let me know if any other details required.
The Future of Medical Coding: Advancements and Innovations
Tags: medical, coding, programming
Published: 2023-04-27 04:20:56

**The Future of Medical Coding: Advancements and Innovations
**
Medical coding is an essential part of the healthcare industry that involves assigning codes to medical procedures and diagnoses for billing and insurance purposes. 

With the advancement of technology and increasing demand for accurate and efficient coding, the future of medical coding looks promising. In this article, we will explore the advancements and innovations in the field of medical coding that will shape its future.

The use of artificial intelligence and machine learning in medical coding is one of the most significant advancements that will shape the future of medical coding. AI and ML algorithms can analyze large amounts of medical data and assign accurate codes, which will save time and improve accuracy. 

Moreover, AI can help predict potential coding errors, making it easier for coders to identify and rectify them. The use of natural language processing (NLP) technology is another innovation that can enhance medical coding accuracy. NLP can analyze medical notes and assign codes automatically, reducing the time and effort required by human coders.

The adoption of standard medical coding systems is another development that will transform the medical coding industry. The International Classification of Diseases (ICD) is a widely accepted coding system that is used worldwide. The use of standard coding systems like ICD will enable healthcare providers to communicate medical information more efficiently and reduce errors. 

Additionally, the integration of electronic health records (EHRs) and coding software will also enhance the accuracy and efficiency of medical coding. EHRs can capture patient data and automatically assign codes, making the coding process more streamlined and error-free.

In conclusion, the future of medical coding looks promising with the integration of AI and ML algorithms, NLP technology, and standard coding systems using lots of option as a learning platform such as [Clinical Research Training Institute](https://www.clariwell.in/) or [Clinical Research Course](https://www.clariwell.in/best-clinical-research-courses-in-pune-with-100-percent-job-guarantee). These innovations will enhance the accuracy and efficiency of medical coding, reducing the workload of human coders and improving patient care. 

The use of technology in medical coding will ensure that the healthcare industry remains at the forefront of innovation and progress.
How to Create Coupon Codes in Magento 2
Tags: webdev, magento, magento2tutorials
Published: 2023-04-27 04:11:18

Coupon codes are a demonstrated promoting system for supporting deals and drawing in clients to your web-based store. Magento 2 gives a natural stage to making and overseeing coupon codes, offering different choices for setting conditions and limits. 

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

In this blog, we will direct you through the most common way of making a coupon code, from signing in to your Magento 2 administrator board to testing the coupon code at checkout.

With this complete aid, you will actually want to know **_how to create coupon codes in Magento 2_** store effortlessly. And afterward you can likewise auto apply coupon code in your Magento store.

For more info, visit **_https://webguru.dev/how-to-create-coupon-codes-in-magento-2/_**
Protecting Your Digital Identity: 7 Must-Follow Login Security Best Practices.
Tags: loginsecurity, passwordlesslogin, multifactorauthentication, consumeriamsolution
Published: 2023-04-27 04:06:49

## **Introduction**

The saying 'prevention is better than cure' holds true when it comes to login security. Waiting until after a security breach occurs is too late. Understanding the mistakes that can make your accounts vulnerable and taking proactive measures to strengthen your login security is essential to protect your valuable information from falling into the wrong hands.

## **5 Most Common Login Security Vulnerabilities**

1. User-generated credentials
2. Brute-force attacks
3. Lack of password complexity
4. Unpatched security vulnerabilities
5. Social engineering attacks

## **7 Best Login Security Practices That Enterprises Should Follow**

1. Password hashing is a must.
2. Biometric authentication to your rescue.
3. Multi-factor authentication never fails to defend.
4. Password hygiene is a necessity.
5. Limit login and password reset attempts.
6. Limit session length.
7. Building a secure auth with CIAM

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

## **Conclusion**

In the current digital environment, [login security](**https://www.loginradius.com/blog/identity/login-security/**) should not be overlooked. A strong CIAM solution that integrates the aforementioned methods and best practices is essential for safeguarding online accounts given the ever-rising sophistication of cyberattacks. Businesses can strengthen their barriers against unauthorized access and guarantee the integrity of their client data by giving login security top priority.
Fixed MariaDB/MySQL: “2006, MySQL server has gone away"
Tags: mariadb, mysql, phpmyadmin
Published: 2023-04-27 03:55:18


![An error screenshot of “2006, MySQL server has gone away" from the phpmyadmin login screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/77u8obkxwivjgvy1y278.png)

I have spent almost 6 hours solving this connection when the phpMyAdmin cannot connect to the MariaDB in Instance B so that’s why I decided to write this blog to save you time (of course we do that all in our dev community such as StackOverflow or such kind of this site).

---

The various solution might be found when you google search. So I will not provide those solutions in this post.


![Instances A and B in the same network](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7dasijuyc7y5wzw7tlm0.png)

The application is using MariaDB and keeps connecting to the MariaDB database and the error thrown

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

After spending almost 6 hours solving those problems. I decided to write the blog to save you time.

```bash
sudo vim /etc/mysql/mariadb.conf.d/50-server.cnf
```

![The configuration file that defines the connection only accepts when a connection is coming from locally only
](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpv1w9c50t2icd0wesjc.png)

Find the `[mysqld]` section and find the `bind-address` then comment on that line by inserting the # in front-of-the-line configuration.

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

Then restart the service to accept new changes

```bash
sudo systemctl restart mariadb
```

And try to connect to it using phpMyAdmin, any tools, or CLI as you preferred. Then the result should be connected successfully.

![The phpmyadmin site indicates that the connection has been established
](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1o9zpq1ah2wc34qsjxdk.png)
Dada - Nhà phân phối tủ chậu Lavabo lớn hàng đầu miền Bắc
Tags: lavabo
Published: 2023-04-27 03:53:11


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r8lckvuzj1cznfw31r39.png)
Tủ chậu DADA | Thương hiệu với hơn 20 năm kinh nghiệm cung cấp chính ngạch các sản phẩm tủ chậu Lavabo, sản phẩm Lavabo đi kèm. Giá Tốt – Uy Tín – Chính Hãng #1 Thị Trường
Số điện thoại: 0983 254 800
Email: chautulavabodada@gmail.com
Website: [https://chautudada.vn/](https://chautudada.vn/)
Địa chỉ: Số 65 ngõ 124 Vĩnh Tuy - Phường Vĩnh Tuy - Quận Hai Bà Trưng - TP. Hà Nội
Hashtags: #tuchaulavabo #dada #guongdenled #tuchaulavabonhua
Social: 
#Social 1: [https://www.facebook.com/chautudada](https://www.facebook.com/chautudada)
#Social 2: [https://twitter.com/chautudada](https://twitter.com/chautudada)
#Social 3: [https://www.instagram.com/chautudada](https://www.instagram.com/chautudada)
#Social 4: [https://www.youtube.com/@chautudada](https://www.youtube.com/@chautudada)
#Social 5: [https://www.tiktok.com/@chautudada](https://www.tiktok.com/@chautudada)
#Social 6: [https://www.pinterest.com/chautudadavn](https://www.pinterest.com/chautudadavn)
#Blog 2.0: [https://tuchaudada.blogspot.com](https://tuchaudada.blogspot.com)
Draft: Where do LLMs fit in the rhetorical space?
Tags: llm, rhetoric
Published: 2023-04-27 03:52:02

- As LLMs and other ML systems grow in size and approach human-level non-deterministic predictive power (eg. they get a vibe of what the right answer is, not a proof) we will figure out more of what it means to think like a human
- Society is a higher-dimensional version of the current ML models we are building, individual humans and meme-like-entities making up the neurons and brain-region-equivalents.  It is a non-deterministic, non-introspectable computing platform to roll forward, computing each next step
- There is a variable in the grand unified theory of human societies for the pace at which humans can adjust to new situations.  
  - the baby boomers were slowly turned obese by the mechanized food industry, millenials started their lives obese and have a chance to get out, GenZ will probably not fall for the tricks of fast food
  - this variable can probably be augmented with better rhetorical tools and openness to new ideas, AI may help with this?
10 Best Practices for Mastering TypeScript
Tags: webdev, programming, typescript, tutorial
Published: 2023-04-27 03:45:49

If you're a developer wanting to write more robust, maintainable, and scalable code, then TypeScript might be the programming language you've been looking for. With TypeScript, you can catch potential errors before they happen, allowing you to write more secure code. However, to get the most out of TypeScript and write high-quality projects, following best practices is essential.

In this article, we'll explore the top 20 best practices for mastering TypeScript, including emojis, quotes, code examples, and links to help you dive deeper into each topic.

### 1. Strict type checking 🕵️‍♂️
Strict type checking in TypeScript helps catch sneaky bugs that can make their way into your code and cause future problems. It's important to ensure that the types of your variables match the types you expect them to be, and this is easy to enable. Just add "strict": true to your tsconfig.json file.

```ts
let userName: string = "John";
userName = 123; // TypeScript will throw an error because "123" is not a string.
```
### 2. Type Inference 🤖
TypeScript is all about being explicit with your types, but that doesn't mean you have to spell everything out. Type inference is the TypeScript compiler's ability to automatically determine the type of a variable based on the value assigned to it.

```ts
let name = "John";
```
### 3. Linters 🧹
Linters are tools that can help you write better code by applying a set of rules and guidelines. They can help you catch potential bugs and improve the overall quality of your code. TSLint and ESLint are some of the linters available for TypeScript.

### 4. Interfaces 📑
Interfaces in TypeScript define a contract for the shape of an object. They specify the properties and methods an object of that type must have and can be used as a type for a variable. This helps ensure that the object is following the expected structure.

```ts
user interface {
   name: string;
   age: number;
   email: string;
}

function sendEmail(user: User) {
   // ...
}

const newUser = {
   name: "John",
   age: 30,
};

sendEmail(newUser); // TypeScript will throw an error because the "email" property is missing.
```
### 5. Types of Union 🤝
Union types in TypeScript allow a variable to have more than one type. This can be useful when you want a function to be able to accept different types of parameters.
```ts
function getUser(id: number | string) {
   // ...
}
```

See more at: https://tablognews.netlify.app/posts/post/5-melhores-praticas-para-dominar-o-typescript-1
Why date-fns is an interesting alternative to Moment.js
Tags: webdev, beginners, typescript, productivity
Published: 2023-04-27 03:23:08

Moment.js was one of the first libraries to gain notoriety for its ability to parse, format, and calculate dates in a less daunting way for developers. However, nowadays there is an interesting alternative: date-fns.

date-fns is considered a valuable alternative to Moment.js not only because it offers the same set of features, but also because it is attractive to functional programmers. Also, date-fns has a smaller package size compared to Moment.js, which makes it easier to use in projects with size limitations.

Installing date-fns
date-fns can be installed easily using npm or yarn:

# Using npm
```bash
$ npm install date-fns
```
# Or using yarn
```bash
$ yarn add date-fns
```
formatting dates
Date formatting is the core feature of libraries like Moment.js and date-fns. This is because native JavaScript doesn't have a simple way to handle this.

date-fns uses string patterns similar to Moment.js:
```ts
const format = require('date-fns/format');
const stPattysDay = new Date('2020/03/17');
const formattedDate1 = format(stPattysDay, 'MM/dd/yyyy');
const formattedDate2 = format(stPattysDay, 'MMMM dd, yyyy');

console.log(formattedDate1);
// => "03/17/2020"

console.log(formattedDate2);
// => "March 17, 2020"
```
There are many ways to format dates so they look exactly how you want them.

see more at: https://tablognews.netlify.app/posts/post/por-que-o-date-fns-e-uma-alternativa-interessante-ao-moment-js
[JS/TS] Cookie Muncher - Effortless cookie management
Tags: typescript, javascript, npm, cookie
Published: 2023-04-27 03:14:36

When we create a website, we always need to use cookies, either on the browser side, or on the server side through the HTTP headers `Cookie` and `Set-Cookie`. 

The problem is that most of the packages allowing to handle cookies are not maintained anymore, not written in TS, not exported in both CommonJS and ES module, not 100% compliant with [RFC 6265](https://datatracker.ietf.org/doc/html/rfc6265), not complete enough and usable on both server and client side or simply don't have a good API...

That's why I created my own package : [**Cookie Muncher**](https://github.com/Bluzzi/cookie-muncher)! A lightweight and typesafe package for manipulating cookies in NodeJS and the browser.

- 🚀 Lightweight
- 🌏 Works in all browsers
- 🧪 Unit tested  
- 🔷 Typesafe
- 📦 Support ESM & CJS  
- ✅ [RFC 6265](https://datatracker.ietf.org/doc/html/rfc6265) compliant
- 📖 Well documented

This package is divided into two modules.

## `httpCookie`
Serialize and parse cookie from HTTP headers `Cookie` and Set-`Cookie`.

- [`httpCookie.serialize(cookie: Cookie, options?: HttpCookieOptions): string`](https://github.com/Bluzzi/cookie-muncher#httpcookieserializecookie-cookie-options-httpcookieoptions-string)
- [`httpCookie.parse(cookies: string): Cookie[]`](https://github.com/Bluzzi/cookie-muncher#httpcookieparsecookies-string-cookie)
- [`HttpCookieOptions`](https://github.com/Bluzzi/cookie-muncher#httpcookieoptions--domcookieoptions)

## `domCookie`
Create, update, remove and get cookies from browser DOM.

- [`domCookie.set(cookie: Cookie, options?: DomCookieOptions): void`](https://github.com/Bluzzi/cookie-muncher#domcookiesetcookie-cookie-options-domcookieoptions-void)
- [`domCookie.get(name: string): Cookie | null`](https://github.com/Bluzzi/cookie-muncher#domcookiegetname-string-cookie--null)
- [`domCookie.getAll(): Cookie[]`](https://github.com/Bluzzi/cookie-muncher#domcookiegetall-cookie)
- [`domCookie.remove(name: string, options?: DomCookieOptions): void`](https://github.com/Bluzzi/cookie-muncher#domcookieremovename-string-options-domcookieoptions-void)
- [`DomCookieOptions`](https://github.com/Bluzzi/cookie-muncher#httpcookieoptions--domcookieoptions)

This package will definitely be your best friend the next time you need to use cookies! 🍪

```bash
# NPM
npm install cookie-muncher

# YARN
yarn add cookie-muncher

# PNPM
pnpm install cshookie-muncher
```

Feel free to drop a ⭐ on the [GitHub repo](https://github.com/Bluzzi/cookie-muncher) or contribute! 😀
How to Create News App with WordPress as Backend
Tags: flutter, wordpress, mobile
Published: 2023-04-27 03:13:56

Would you like to develop and launch visually appealing mobile applications quickly for both Android and iOS?
If so, it is worth considering building a Flutter application.

Creating applications for both Android and iOS can be done using a single codebase with Flutter, and starting the process is made easy by using a Flutter application template.

Flutter app templates significantly decrease the time spent on app development, and in some cases, you may receive a fully coded app that is ready to upload to the App Store and Play Store. All that is left to do is customize the branding!

Additionally, the backend utilized in this context is built on WordPress - a widely renowned and user-friendly content management system, recognized for its ease of use and advanced capabilities.


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

Let's get straight to it, here I am using the Flutter template called [iniNews](https://codecanyon.net/item/ininews-flutter-mobile-app-for-wordpress/45178426), which is already available on Codecanyon and works seamlessly with the latest version of WordPress, with a very easy installation process.

**Have the source code ready**
Make sure you already have the iniNews source code. If you don't, you can buy it directly through Codecanyon at an affordable price [here](https://codecanyon.net/item/ininews-flutter-mobile-app-for-wordpress/45178426).

**Prepare your WordPress**
Make sure you have a WordPress site and have updated it to the latest version. If you have, then you need to install the plugin that has been prepared by iniNews on your WordPress.

**Let's customize the application**
Before you start, make sure you have installed Android Studio and Flutter SDK, which will be needed to open the files and run the application.

If everything is installed, the next step is to open the application source code and modify it according to your preferences.

For more details about documentation please follow this [link](https://initodev.freshdesk.com/support/solutions/151000146985).

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

**Publish the Application on PlayStore and App Store**
Using Flutter, you can directly publish your application to Playstore and App Store because Flutter supports this by default. In other words, you have saved time and costs.
remove duplicate words from string in java
Tags: java, string, interview, important
Published: 2023-04-27 03:00:58

{% embed https://youtu.be/CtDfF3qKOos %}

```
import java.util.*;
import java.lang.*;
class Demo{
	public static void main(String[] args){
		String sen = "Sam went went to to to his business";
		String[] arr = sen.split(" ");
		//arr={Sam,went,went,to,to ,to ,his ,business};
		Set<String> s = new LinkedHashSet<String>();
		for(int i=0;i<arr.length;i++){
			s.add(arr[i]);
		}
		for(String ss:s){
			System.out.print(ss+" ");
		}
		System.out.println();
	}	
	
}
```



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/703tuv6jse3eer2redpz.png)
how to find the frequency of characters in given string in java
Tags: java, string, frequency, interviewquestion
Published: 2023-04-27 02:54:51

{% embed https://youtu.be/ZpQG_OJD5AQ %}

Code:

```
import java.util.*;
import java.lang.*;
class Demo{
	public static void main(String[] args){
		String name = "idiot";
		Map<Character,Integer> map = new HashMap<Character,Integer>();
		for(int i=0;i<name.length();i++){
			Character ch = name.charAt(i);
			map.put(ch,map.getOrDefault(ch,0)+1);
		}
		System.out.println(map);
		for(Map.Entry<Character,Integer> e : map.entrySet()){
			System.out.println(e.getKey()+" "+e.getValue());
		}
	}	
	
}
```

o/p:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/at38ehonckzecz9sl8rb.png)
test mention feature
Published: 2023-04-27 02:25:08

---
title: test mention feature
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-10 15:00 +0000
---

@howtomakeaturn 

@test 

@testtest333