teleren/devto huggingface dataset:
Speed typing PR
Tags: speedtying
Published: 2023-02-14 09:38:40

I just broke my speed typing personal record. Felt like sharing this. I have been training every day for the last couple of weeks. And managed to go from 60~WPM to 90WPM!!

I would recommend every developer to train themselves to write faster!

![90 WPM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tbzuglkxulmxe6x5xiig.png)
Top 10 PHP Tricks and Tips by DiggDomain
Tags: php, tips, diggdomain, tricks
Published: 2023-02-14 09:33:53

PHP is the most handy language for developing websites and blogs because it has many functions that can be leveraged to derive even more customized functions.

For beginners and even developers, we’ve listed the most helpful PHP tricks and tips. These PHP tricks increase the efficiency and productivity of your coding.

Bonus PHP Tricks and Tips

1. Use echo rather than print.
2. Unless you really need preg replace, use str replace instead.
3. Avoid using short tags.
4. For basic strings, single quotes should be used instead of double quotations.
5. Never forget to do an exit after a header redirect.
6. Never include a function call in the control line of a for loop.
7. isset is faster than strlen.
8. Format your code consistently and properly.
9. Do not remove the brackets from if-else or loop statements.
10. Use a text editor that supports code highlighting. Code highlighting makes mistakes easier to spot. check this [Top 15 Free Online HTML Editors](https://diggdomain.com/online-html-editors/)

for details blog visit: [Top 5 PHP Tricks and Tips](https://diggdomain.com/php-tricks-and-tips/)
Prevention of Sexual Harassment
Published: 2023-02-14 08:37:30

### 1. What kinds of behaviour cause sexual harassment?
Sexual harassment can take many forms and can include a wide range of behaviors. Some common examples of behaviors that may constitute sexual harassment include:

- Unwanted sexual advances or propositions
    Verbal harassment, such as sexual slurs, comments, or jokes.
- Physical harassment, such as unwanted touching, hugging, or kissing.
- Displaying or distributing sexually explicit material, such as photographs or videos.
- Sending sexually suggestive emails, text messages, or letters.
- Threatening retaliation if a sexual favor is not granted.
- Making sexual gestures or motions.
- Making sexual comments about an individual's clothing, body, or sexual activities.
- Stalking or following someone.

It's important to note that these behaviors can be physical, verbal, or nonverbal, and can be committed by a supervisor, coworker, or even a non-employee, such as a vendor or customer.


### 2. What would you do in case you face or witness any incident or repeated incidents of such behaviour

If you experience or witness sexual harassment, you should take these steps:

- Write down what happened in detail about incident.
- Report it to a supervisor or authority figure
- Keep a record of your report
- Talk to someone for support: talk to a trusted friend, family member, or a counselor to help you cope with the emotional impact of the harassment.
- Consider filing a complaint: you may consider filing a complaint with the Equal Employment Opportunity Commission (EEOC) or a similar agency.
- Consult a lawyer for legal advice.


By taking these steps, you can help protect yourself and hold those responsible for the harassment accountable.
CppDepend 2023.1 Introduces Maintainability Index, SARIF Import and False Positives Exclusion
Tags: cppdepend, maintainabilityindex, sarif, falsepositives
Published: 2023-02-14 09:10:59

[CppDepend](https://www.cppdepend.com), the leading code analysis tool for C/C++ developers, announces the release of its latest version 2023.1, with exciting new features aimed at improving code quality and maintenance.

The latest version includes a Maintainability Index, which helps developers assess the maintainability of their code. The index is calculated using various metrics, including code complexity and design, and provides a single, easy-to-understand score that gives developers a quick understanding of the state of their codebase.

![Maintainability Index](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/crgtp45i7wgeqy8la0vv.png)

CppDepend has also made it easier to exclude false positives from its analysis, giving developers more control over the results. This is particularly useful for projects where certain code patterns are deemed acceptable, but might be flagged as issues by the analysis tool.

![False Positives](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nngc976v1b4rfdu25p7t.png)

Another key feature in version 2023.1 is the ability to import SARIF files, which makes it easier for developers to share their analysis results with others. The SARIF format is widely used in the software development industry and allows developers to collaborate more effectively on code improvement efforts.

> _We’re thrilled to release this new version of CppDepend. Our goal is to help C/C++ developers write better code, and the new features in version 2023.1 make this easier than ever before. We’re confident that our users will see a significant improvement in their code quality and maintenance efforts with this release._

> The CppDepend Development Team

CppDepend offers a [free-fully trial](https://www.cppdepend.com/download) for new users.

**About CppDepend**

CppDepend is a code analysis tool for C/C++ developers that helps to improve code quality, reduce technical debt, and increase maintainability. It offers a comprehensive set of code analysis features, including code duplication detection, code coverage analysis, and cyclomatic complexity analysis, among others.

For more information, visit the CppDepend website at https://www.cppdepend.com
my crm mvp
Tags: webdev, javascript, programming, productivity
Published: 2023-02-14 09:09:35

As a software developer, one is constantly dealing with new technologies that need to be learned and applied. However, it can sometimes be difficult to find the right tools that meet all requirements and simplify project management. Even as an experienced developer, I have often had to deal with this problem.

Over the years, I have tried all common tools and platforms available on the market. But every time, I encountered limitations and missing features that I absolutely needed. My projects became more complex and extensive, and I needed a better way to keep track of everything.

Therefore, I decided to switch to no-code tools to quickly and easily create an MVP that would help me solve my problem. I had a clear idea of how the tool should look and function. But despite my best efforts, I repeatedly failed to create an MVP with the various no-code tools. I lacked the options to design the MVP the way I had envisioned.

Discouraged, I gave up for the time being and wondered if I really needed such a tool or if there might be an easier way to complete my tasks. But as I continued to struggle with the challenges of project management, I finally decided to make one last attempt.

This time, I wanted to do things differently. I decided to create an MVP with my preferred tools and also learn a few new tools that I had never used before. So I started building an MVP with Next.js, Prisma, trpc, and Tailwind.

And lo and behold - I actually made progress very quickly! Working on the MVP was fun again, and I was able to implement all of my creative ideas. With Next.js as a framework, Prisma as a database ORM, and trpc as my API, I had exactly the tools I needed. Tailwind helped me design the MVP quickly and easily.

Working on the MVP showed me that sometimes you have to be a little creative and also take new paths to find a solution to a problem. I am very satisfied with the result and will report more on it in the coming days and weeks. I would also be happy if enough people would like to test the MVP to give me feedback and see how they like it.

Overall, I am convinced that as a developer, one should always be open to new ideas and technologies to be successful in the future. With my new MVP, I now have a tool that will help me manage my projects better and provide my clients with better service. And who knows, maybe in the future I can also help other developers by sharing my experiences and tips.
CodePen Designs - 37 : How Fast Can You Scroll?
Tags: codepen, css, webdev, design
Published: 2023-02-14 09:08:01

### We are excited to introduce our new series that will explore the best design ideas from the Codepen community. 

We will be publishing these each day and hope you find them insightful and inspiring as we showcase some of the most talented designers in this space.

---
---

## Video Tutorial

Don't miss the amazing video we've embedded in this post! Click the play button to be inspired

{% youtube  p6t7Iprd-38 %}

---

---


### Codepen Design - 37


<p>Scrolling: The Game</p>

{% codepen https://codepen.io/nealagarwal/pen/QpOqQG %}

---
## My High Score = 2636 
Can you beat my score.....


---
## For more information

1. Check my GitHub profile
[https://github.com/amitSharma7741](https://github.com/amitSharma7741)

2. Check out my Fiver profile if you need any freelancing work
[https://www.fiverr.com/amit_sharma77](https://www.fiverr.com/amit_sharma77)

3. Check out my Instagram
[https://www.instagram.com/fromgoodthings/](https://www.instagram.com/fromgoodthings/)

4. Linktree
[https://linktr.ee/jonSnow77](https://linktr.ee/jonSnow77)

5. Check my project

- EVSTART: Electric Vehicle is the Future
[https://evstart.netlify.app/](https://evstart.netlify.app/)
-  News Website in react
 [https://newsmon.netlify.app/](https://newsmon.netlify.app/)
-  Hindi jokes API
 [https://hindi-jokes-api.onrender.com/](https://hindi-jokes-api.onrender.com/)


---
---
DynamoDB Triggers using Streams and Lambda
Tags: aws, cloud, awscommunity, 100daysofcloud
Published: 2023-02-14 09:07:08

[45/100] #100DaysOfCloud Today, I created a DynamoDB table and triggered it using Streams and Lambda to send notification using SNS.

A DynamoDB table with data of cats that are waiting to be adopted. When the adopted field is updated to true, a Lambda will be triggered that will send an email through SNS telling them that the particular has been adopted.

A table is created with global secondary index named adopted with few Items that includes attributes that shows the ID, name and the adoption status of the cats.
By default, the adopted field is set to false assuming all the cats aren't adopted.

A SNS Topic and Subscription is created to send notification of the adoption status which will be based on the trigger or change in the DynamoDB Streams and Lambddda function.

A lambda function is created to iterate through all the records that DynamoDB passes to the Lambda function, and then publishes a message to SNS. The required permisson is given as well.

Then the Lambda Streams is enabled and a Trigger is created. When a data is modified (adopted is changed to true from false), it triggers the lambda function due to the cahnge in the DynamoDB Streams.
If that happens then an email will be sent to notify.

You can try do it by yourself by following the steps from the link below: [GitHub](https://github.com/aaditunni/100DaysOfCloud/blob/main/Journey/045/Readme.md)
Maven And Jenkins Integration | How To Integrate Maven With Jenkins | Maven not found Jenkins
Published: 2023-02-14 08:56:57

In this video, we are going to integrate Maven with Jenkins. We will fix the mvn not found or maven not found jenkins.

{% embed https://youtu.be/3hSHCgqTeEE
 %}

#MavenAndJenkinsIntegration #HowToIntegrateMavenWithJenkins #JenkinsPipeline

✅ Steps : How To Integrate Maven With Jenkins
1. Navigate to Manage Jenkins.
2. Click on Global Tool Config and Add the Maven installer 
3. Now You can navigate to job and add the goal of maven to run by adding Maven invoke target setting.


✅✅ Download Slides + NOTES - https://sdet.live/notes


———————————————————————————

🔗 Join the Facebook Group - http://scrolltest.com/fb

🔗 Learn API Testing(with Postman) - https://learnapitesting.com/

🔗 Rest API Testing with Python - http://masterapitesting.com/

🔗 E2E Frontend Testing with Cypress - http://cypresstutorial.com/

🔗 Join Our Automation Newsletter - http://scrolltest.com/tta

🔗 Master API Testing Bundle - https://apitesting.co/bundle

🔗 Rest Assured MasterClass- https://apitesting.co/enroll


———————————————————————————

Who is this for?

✅ Anyone who wants to learn How Jenkins works, basics and more.
✅ Want to run your own projects on Jenkins

✅✅ What is Jenkins?

**Jenkins** – an open source automation server which enables developers around the world to reliably build, test, and deploy their software.

https://www.jenkins.io

https://en.wikipedia.org/wiki/Jenkins...
)

✅ *An open source automation server which enables developers around the world to reliably build, test, and deploy their software*

✅ Why we need to Learn Jenkins?

Jenkins has become an indispensable tool for both Java programmers and DevOps engineers. **Jenkins allows you to set up continuous integration (CI) and continuous deployment (CD) pipeline**, which reduces risk on Software development and delivery

✅ What are the benefits of Jenkins?

- *Runs Automated Test Suites*
- *Run you Web, Mobile Automation SUITE*
- *API Monitoring*
- *Report and Email Notification*
- *Trends and detailed failure that can be shared.*
- *You can use slave to make build and run fast.*

How to install Jenkins on Windows, Mac and Ubuntu

1. Go the [https://www.jenkins.io/
](https://www.jenkins.io/)download

2. Install the file or follow steps
3. Install the default plugins
4. Navigate to localhost:8080

✅ *Do I need to know coding to learn Jenkins?* 

No, OPnly in some cases you need to learn Groovy

#jenkins #jenkinstutorial #jenkinsinstall
Removing Default React Imports. For a Cleaner Code
Tags: react, webdev
Published: 2023-02-14 08:44:37

_Photo by Liliana Drew: https://www.pexels.com/photo/a-person-vacuuming-under-a-side-cabinet-9462147/_

If you are one of the many people migrating their projects to React 18, maybe you skipped one great feature for your code coming along from the previous version (17): you can remove all default React imports! 
To be precise, it was present also in some previous React versions, but it was always somehow hidden from the general public (or maybe just me?). 

We were accustomed to the need of importing React in every. single. file.
And maybe you are still doing it after the migration. I did it, indeed, for a while :D

That is because this possibility is in the docs, but on a side note with an enigmatic title: ["Introducing the new JSX transform"](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#removing-unused-react-imports).

In substance, it creates React as a global so it does not need to import it everywhere. How does it work? 
It is quite simple. Instead of having:
```js
import React, {useState, useEffect} from 'react'
```

you can have the normal destructured import without the need to import the whole library:
```js
import {useState, useEffect} from 'react'
```

or skip it entirely if you don't need any hook.

Also, instead of removing all those imports manually, React offers an automated script that will make everything for you: 
```
npx react-codemod update-react-imports
```

Just be careful to have all your work committed, as it will create changes probably on almost every file of your repository.


## What about linting?

There was another small problem. Eslint was complaining if one was removing React from a file, saying it was not a UMD global. 

The missing piece is on this page, in a small note at the end of the page: [the eslint rule to disallow missing React when using JSX.](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md)

At the bottom, there is a paragraph. If you are using the new JSX transform from React 17, you should disable this rule, adding "plugin:react/jsx-runtime" to "extends" in the eslint config file.

Now everything will work as expected and you will have a much cleaner codebase!


Thank you for reading! Let's connect on [Twitter](https://twitter.com/AlexBuaiscia)
Enhancing Laravel/PHP Coding with Artificial Intelligence
Published: 2023-02-14 08:43:06

Artificial Intelligence (AI) has the potential to revolutionize many aspects of software development, including the way we write code. In the case of Laravel/PHP, AI can help improve coding by automating repetitive tasks, identifying errors, and offering intelligent suggestions.

One area where AI can be particularly useful is in code completion. Many modern development environments already offer some form of code completion, but AI-powered code completion can take this to the next level. By analyzing the codebase, AI can offer more intelligent suggestions that take into account the context of the current code block, making it easier for developers to write more efficient and error-free code.

Another way AI can help improve Laravel/PHP coding is by identifying potential bugs before they occur. By analyzing the codebase, AI can identify areas of the code that are prone to errors and provide suggestions on how to fix or prevent these errors from occurring. This can help reduce the number of bugs in the code, leading to more stable and reliable applications.

Additionally, AI can help automate repetitive tasks such as writing boilerplate code or generating test cases. This can save developers a lot of time and allow them to focus on more complex tasks that require human input.

Finally, AI can also help improve the quality of code by analyzing it for performance, security, and maintainability. By identifying areas of the code that are likely to cause issues down the road, developers can proactively address these issues and ensure that their applications are built to last.

In addition to the potential benefits for developers, the integration of AI in Laravel/PHP coding can also have an impact on job opportunities within the industry. As the demand for AI integration continues to grow, there may be an increased need for developers with expertise in both Laravel/PHP and AI technologies. This could create [new job opportunities](https://worka.me/jobs) for developers and open up new career paths within the industry. However, it is also important to note that AI is not a replacement for human developers and will likely work in conjunction with human developers to improve the quality of the code. Thus, it is important for developers to continue developing their skills and expertise in both traditional software development and emerging technologies like AI to stay competitive in the job market.

In conclusion, AI has the potential to significantly improve Laravel/PHP coding by automating repetitive tasks, identifying errors, and offering intelligent suggestions. While AI is not a replacement for human developers, it can certainly be a valuable tool that helps them write better code more efficiently. As AI continues to advance, we can expect to see even more ways in which it can help improve software development.
First day at web development class.
Published: 2023-02-14 08:26:18

After several times of learning web development online. I started my first physical class as a web developer intern at the Edo innovation hub yesterday 13th of February 2023(my birthday).
The class was very interesting as it was way more than I expected. We learnt about gitbash, GitHub and a brief introduction HTML5.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6r5wmi03eu247jowurnz.jpg)
SPVM
Tags: perl, spvm, c, osdc
Published: 2023-02-14 08:22:36

# [SPVM (Static Perl Virtual Machine)](https://metacpan.org/dist/SPVM)
It is technically a language with static type written in Perl.

To me, it is would be a great way to compile Perl string manipulation codes into executables. Looking at the claimed benchmark, 100x efficiency improvement seems possible after the compilation. Considering Perl's runtime efficiency is already pretty high among the dynamic languages, the compiled code would be of great performance while keeping Perl's powerful Regex features. 

I have learned C programming in the college time, which is a long while ago. I hope I can contribute to this project in some ways.

# Add github Issues as the bug tracker
I found that Mr Szabo has already committed the bug track update to SPVM-Sys.

I found SPVM and SPVM-Regex are using github Issues without updating Makefile.PL files, so I sent pull requests to these repos in github. I hope they work.
My .dotfiles for MacOS and Ubuntu
Tags: dotfiles, macos, ubuntu
Published: 2023-02-14 08:14:00

---
title: My .dotfiles for MacOS and Ubuntu
description: My MacOS / Ubuntu dotfiles with a custom installer and various helpers 
tags: ['dotfiles, macos, ubuntu']
---

I finally revamped my .dotfiles! It includes my MacOS and Ubuntu configurations. I am planning to add Alpine configuration for my iPad, and Arch configuration for my geeky needs.

![Screenshot of my terminal](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6t7v22l9c8cm71ftc842.png)

## Features

- Fully customizable installation depending on OS
- The installer script is seperated from configs and install scripts
- A dotfiles manager for post-install maintenance
- Has post-install scripts for configuring `git`, `ssh` and `gpg`
- Requires git commands for syncing without fancy dotfile managers

## Uses

- Supports `bash`, `zsh` and `fish` with `starship` shell prompt and has `tmux` support
- Replaces default terminal with `Alacritty` and `kitty`
- Does not use any WM (on MacOS, only `yabai` and `skhd` used on top of the default DE)

## Repository
You can find my dotfiles here:
https://github.com/excalith/.dotfiles/

The dotfiles setup scripts are heavily ~~knocked-off~~ inspired version of beautiful [Cătălin’s dotfiles](https://github.com/alrra/dotfiles). You should probably check it out!
Learning Python
Published: 2023-02-14 08:06:00

**script language vs programming language.**

_Difference_
Scripting Languages are programming languages that are generally interpreted at runtime. As the scripts do not need to be compiled, so no exe file is created as well. Programming languages are a set of code/instructions for the computer that are compiled at runtime. Thus an exe file is created. These programs have numerous lines of code and are a complete software/application in itself.


_Types Of Scripting Languages_
In scripting languages, the scripts are directly interpreted at run time and the output is generated. Depending upon where the script is executed, Scripting languages can be divided into the following two types:
Server-side scripting languages: The scripts written in these languages are executed on the server. Some common examples of server-side scripting languages are Perl, Python, PHP, etc.
Client-side scripting languages: The scripts written in these languages are executed on the Client browser. Some common examples of client-side scripting languages are Javascript, VBScript, etc.
Today's Daily Dose of Programming Humor
Tags: jokes, dailydeveloperjokes
Published: 2023-02-14 08:00:02

---
title: "Today's Daily Dose of Programming Humor"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12596739999.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ Why couldn't the React component understand the joke?

___A:___ Because it didn't get the context.
 -->