teleren/devto huggingface dataset:
GitHub Pull Request Review with P42 Checks
Tags: codereview, javascript, productivity, programming
Published: 2021-03-23 12:45:05

Pull requests are central to many developers' workflows, both in open source projects and in companies. As part of pull requests, **code reviews can improve the quality of new or changed code**, and the reviewers can reject potentially problematic changes.

In code reviews, many different kinds of issues need attention. There are software design concerns, such as checking if the pull request fits into the existing architecture. There are software quality concerns, such as verifying that the code is correct. And there are stylistic and project standard concerns, such as checking if the code follows project and team guidelines.

Project standards and guidelines are important for teams to work effectively together. However, looking for them takes up review time with work that often feels boring and mechanical.

To help developers focus on deeper software design and architecture issues, **P42 reviews pull requests for code modernizations**. Once you [enable commit checks](https://p42.ai/blog/2021-03-09/check-your-github-commits-with-p42), P42 analyzes the code added or changed in the pull request and reports the results as GitHub checks. Ensuring that your code stays modernized has never been so easy!

![P42 Pull Request Checks on GitHub](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu91unirqo7ba7414r6u.png)
Configuring Security Groups/IAM Roles - CloudFormation for infrastructure set up -02
Tags: aws, securitygroups, cloudformation
Published: 2021-03-23 12:31:26

This is a continuation of the previous article where I set up the Virtual Private Network required to host the application using CloudFormation. Feel free to read the need and how to set up the VPC at the below link,

[Get rid of old habits- Use CloudFormation for infrastructure set up -01](https://dev.to/aws-builders/get-rid-of-old-habits-use-cloudformation-for-infrastructure-set-up-01-4fdc)

Now that we have set up various subnets as Public and Private subnets we need to control incoming and outgoing traffic to ensure that our application is secured and able to cater to the user requests. For this purpose, we will have to enable a certain type of traffic through certain ports. E.g. TCP over port 5000 for the application, TCP over port 3306 for MySQL. AWS has provided this facility through security groups that act as a virtual firewall for our EC2 instances that will host our application. Given below is the CloudFormation YAML for security group configuration.

{% gist https://gist.github.com/mgsf/b18833f9d66ca39b96150e634db66c84 %}

As you can see, I have created security groups enabling traffic for EC2 instances in the app subnets, database subnet, public load balancer,  VPC link, and the private load balancer. This basically covers all the areas for which we need to enable traffic.

As the next step, we will have to export some of these configurations as output values to be used in the coming stacks. I'll be doing that in the below code.

{% gist 
https://gist.github.com/mgsf/2876b8906d41d2310973a7a81807ebb7 %}

I am not going into details as most of these CloudFormation code snippets are self-explanatory. The description section has a brief on what each part does.

There are two ways to gain access to the EC2 instances in a private subnet. One of them is using the bastion host and the other is to use Systems Manager (SSM) provided by AWS. I prefer to use SSM and you can read more on this at ["Toward a bastion less world"](https://aws.amazon.com/blogs/infrastructure-and-automation/toward-a-bastion-less-world/). The reason I mentioned this is, in the upcoming section where I share the code to configure the IAM roles, you'll see me using policies that are related to SSM and I don't want you to be confused.

{% gist https://gist.github.com/mgsf/3382db45b7fd668c4089f27f0076bfaf %}

Now we have the VPC, subnets, the required security groups, and IAM roles configured using CloudFormation to host our applications. In the next article, I'll be adding some compute resources to each of these subnets so you can host your application. Also, in an article to follow, I'll share how to run these templates and get the infrastructure setup in AWS along with the complete code hosted in Github. Thanks for reading.
#DevHack: Publishing your Code Extensions from GitHub Actions
Tags: github, webdev, vscode, microsoftgraph
Published: 2021-03-23 12:22:14

Automation is key! That is how I think anyway. I'm not too fond of repetition, but for some reason, I had not yet automated my Visual Studio Code extension publishing. I always did this manually from my terminal by running `vsce publish`.

With my latest extension, I thought, now is the time to automate this as well.  

## Setting up your workflow

When publishing your Code extensions, you need to use the Visual Studio Code Extension command-line tool: `vsce`. Typically this is something you install locally by running `npm i -g vsce`.

In this case, we will do this on GitHub Actions instead, but before you can start, you need to create your **Personal Access Token** or also called PAT.

> **Important**: [Get your personal access token to publish to the VS Code Marketplace](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token)

When you got this **PAT**, add it as a GitHub Secret to your project.

![PAT Secret in GitHub](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ih9hrqwq7qlndfc5li5d.png)

We will use this secret in the GitHub Actions workflow which looks as follows:

```yaml
name: Release
on:
  release:
    types:
      - published
  workflow_dispatch:

jobs:
  release:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: 14
          registry-url: https://registry.npmjs.org/

      - name: Install the dependencies
        run: npm i

      - name: Install vsce
        run: npm i -g vsce

      - name: Publish
        run: vsce publish -p ${{ secrets.VSCE_PAT }}
```

> **Info**: The GitHub Actions workflow gets triggered whenever you create and publish a new release. In the last step, the **PAT** will be used to publish your extension.

> **Important**: Make sure to set the `publisher` to your account in the `package.json` file. For me, this is `eliostruyf`.

*Article first published on [eliostruyf.com](https://www.eliostruyf.com/publishing-vscode-extensions-github-actions/)*
Importance of Custom Software Development in Current Times
Tags: webdev, mobile, devops
Published: 2021-03-23 12:14:59

Customized software can effectively fulfill the requirements of modern businesses. Whether your business is big or small, or even you own a startup, technically advanced solutions can give you an edge over competitors. Startups and SMEs need to be more adaptive and keep on changing their strategies to survive and thrive in the challenging scenario. There, custom website design development and mobile app development lend a helping hand.

[Custom software development](https://www.suriainternational.com/custom-app-development-company/) is the process to build any type of tailored application as per your demand. As compared to off-the-shelf or readymade software, customized software can offer more benefits to your enterprise. It is because custom software can enable you to digitalize various operations while addressing various requirements of your business. Custom software is designed for a specific group of users in your company and gives a personalized experience.

Talking about the benefits, customized software can reduce training time and effort. Also, the [cost of app development](https://www.suriainternational.com/cost-to-develop-an-e-commerce-mobile-app/) can remain within your budget if you opt for an MVP or a cross-platform app. It can optimize the business flow and you can get a high ROI over the period. Here are the key reasons why custom software development is the need of the hour.

Top Reasons Why Custom Software Development is Necessary for Your Business

Cost-effective

This is the first and foremost factor to consider. At times, the cost of app development or custom software development is more than a ready-made product. Also, it takes more time to develop from scratch as compared to the readymade solution. But then, you need not invest in purchasing hardware for using customized software. 

Read More: https://www.suriainternational.com/importance-of-custom-software-development/
Where can I find information on ONPASSIVE?
Tags: onpassive, ai, ashmufareh
Published: 2021-03-23 12:01:48

ONPASSIVE is an IT company <b>founded in 2018 by Ash Mufareh</b> to focus on building a total business solution. The detailed company information is on their official website onpassive.com. It provides information about their company, careers, contact details, support, privacy and security, terms of use, events, and about their products. You can also find information on ONPASSIVE on various media like LinkedIn, Quora, and social media. 

ONPASSIVE is an <a href="https://www.onpassive.com/">Artificial Intelligence technology company</a>, which aims to restructure the entire ecosystem of the digital driven sector to reinvent every business’ potential. This is a product based company that develops AI enabled products that can help to redress the various operational needs of small to mid-sized business.

ONPASSIVE’s products developed with Artificial Intelligence helps to self-analyze issues of the businesses and overcome effectively. It is beneficial for an online business to outreach its audience in a productive way of obtaining a better future for the company and ONPASSIVE helps you to do that.

ONPASSIVE offers effective marketing products, software, tools and services designed to provide success in a competitive online world at a lower cost and less effort giving better results. Each product provides AI-powered business automation tools to help to raise your business. 

This company aims to bring innovative business potential with less effort and more impact. ONPASSIVE provides pro-business solutions by adding human intelligence with <a href="https://www.onpassive.com/">Artificial Intelligence</a>. They help their clients to build strong customer relationships, identify new opportunities, drive sales, and analyze marketing results. This fully automated platform provides effortless business solutions to develop a successful enterprise. 

ONPASSIVE has a proven track record with inbuilt IT solutions. It provides AI solutions and services that stick to globally acknowledged standards and innovative technology trends. Businesses can leverage the platform and achieve business objectives to drive success. 

ONPASSIVE offers highly optimized AI business solutions and services for industry domains. Some of their services include business development, website design, digital transformation for businesses, automation tools, seamless communication medium, business process management, complete business infrastructure tools, digital marketing services, and multiple intelligent tools for business to gain traction. 

ONPASSIVE <a href="https://onpassive.com/blog/automation-tools-to-achieve-hyperautomation/">Artificial Intelligence automation</a> platforms intends to bring about a revolution in the way your business operates helping to improve how you showcase your business and orchestrate the growth of each phase of its development. It is the best platform to gain all your business achievements and make the best choice in choosing <a href="https://www.onpassive.com/">ONPASSIVE</a>.
Dependence
Tags: original, shorts, dev
Published: 2021-03-25 10:19:12

---
title: Dependence
published: true
date: 2021-03-23 12:00:54 UTC
tags: Original,Shorts,dev
canonical_url: https://blog.pitermarx.com/2021/03/dependence/
---

I’ve been thinking about the stuff I depend upon to keep this blog, and in particular about [link rot](https://en.wikipedia.org/wiki/Link_rot).

Most of the stuff I post here is sharing something I saw elsewhere.

I depend on other sites I link to to keep the links alive. I could mitigate this by always linking via the [Wayback Machine](https://web.archive.org/), but I would also be dependent on them…

I depend on YouTube for the videos I share. I could copy and host them myself, but that would increase a LOT the cost of keeping all the stuff. I depend on Spotify for the songs I share. I could copy the audio and host them myself, but that might be considered a copyright violation.

And even for stuff I own and have a backup for, I depend on [Flickr](https://www.flickr.com/photos/pitermarx/) to keep my photos, on [SoundCloud](https://soundcloud.com/pitermarx) to keep my music, on [GitHub](https://github.com/pitermarx) to keep my code. The list goes on and on…

Dependence and trust. This is what makes the web go round.

Speaking of trust…

<iframe title="Reflections on Trusting Trust - Computerphile" width="1000" height="563" src="https://www.youtube.com/embed/SJ7lOus1FzQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Should I go live in a cabin in the woods?
Daily Developer Jokes - Tuesday, Mar 23, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-03-23 12:00:17

---
title: "Daily Developer Jokes - Tuesday, Mar 23, 2021"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Tuesday%2C%20Mar%2023%2C%202021"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12590f4ba3c.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*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:___ What do you call a computer that sings?

___A:___ A-dell.
 -->
Start your GitHub Actions Journey with Microsoft Learn
Tags: github, azure, terraform, java
Published: 2021-03-23 11:54:39

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7yvpav7ypiqj64jxuwcf.jpg)

**Tell me about the module:**

In this module, we cover how you can create Spring Boot Apps, and Automate everything from an idea to Production.

We look at how to:

·    Provisioning a database and an App Service instance using Terraform and GitHub Actions

·    Configure repo to build and deploy your application on demand

**What tools are recommended**

At Microsoft we encourage you to use the tools and frameworks that you know and love! We go to where developers are.

You love GitHub! - now, you can learn how to use GitHub Actions with Terraform to provide the automation you need.

So, start your journey now with [Rapidly develop and deploy Java apps by using GitHub Actions] (https://aka.ms/github-java)
GraphQL Editor - new release v. 4.5
Tags: graphql, opensource, webdev, news
Published: 2021-03-23 11:41:56

Hey **DEV Community**👋,

we have just released a new version of [GraphQL Editor](https://graphqleditor.com/). Version 4.5 is another step closer to our holy grail which is **building cloud-hosted backends (BaaS) with our tool**.

## What's new in version 4.5

Based on feedback from our users we are constantly working to improve GraphQL Editor, so each version includes many small UI/UX and performance improvements. However, some changes are far more important than others and it is around these that version 4.5 revolves:

#### Relational view
A *Relational View* is a new way to display the GraphQL schema of your project. It was inspired by a PCB board and allows you to easily identify the relationships between elements of your schema and navigate between them.

![New GraphQL relational view](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m7z4gigyo8akkuse6zs4.png)

#### UI upgrade
We have made some changes to the appearance of the application to improve its reception and usability. We have added the foundation for a *Theme Switching system*. At the moment there is still only one dark theme available, but soon there will be many more!

#### Learning zone

One of our main goals is to make the GraphQL Editor a place to work with GraphQL as well as learning it. We place great emphasis on making it possible to learn all the most important aspects of GraphQL through the editor as well as making it very easy to learn all its features. That's why we have redesigned the learning experience to make it even more interactive.

![GraphQL Editor learning zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sn08ydk92hphpfjpbmc6.png)

#### GitHub integration
The new improved *GitHub integration** allows you to quickly link your account to GraphQL Editor, import/export your GraphQL schemas and work on them in a similar way to GitHub flow.

##### **available in Enterprise plan*

## What's on the roadmap
As I've already mentioned our efforts are currently focused on creating an easy way to build cloud-hosted backends (BaaS) with GraphQL Editor. We are currently working on microservices written in Go and TypeScript (Deno) allowing you to build and host a backend in one of your favorite cloud servers, all without leaving GraphQL Editor.

That's all for today, stay tuned for the upcoming 5.0 release!

---

## Speed up your GraphQL API development

**GraphQL Editor** is a supportive tool for both advanced GraphQL users as well as those taking their first steps with GraphQL APIs. Our all-in-one development environment for GraphQL will help you build, manage & deploy your GraphQL API much faster. **[Try GraphQL Editor for free!](https://graphqleditor.com)**

[![New features of GraphQL Editor gif](https://dev-to-uploads.s3.amazonaws.com/i/hz2iv2u1073dy9orexxf.gif)](https://graphqleditor.com/)
How to grow your Twitter account with actionable steps
Tags: twitter
Published: 2021-03-23 11:40:37

_If you found value in this thread you will most likely enjoy my tweets too so make sure you follow me on [Twitter](https://twitter.com/VladPasca5)  for more information about web development and how to improve as a developer. This article was first published on my [Blog](https://vladpasca.hashnode.dev/)_

## 1. Engage with bigger accounts in your niche

This is the most important thing you can do at the beginning

Don't start by posting 10 tweets because no one will see them

Start by adding value with your replies to other bigger accounts from your niche.

## 2. Respond to everyone that engages with you

No matter how many followers the person that replies to your tweets has, respond to them

Form connections, answer the questions you get

People want to see that there is a human behind the account they decide to follow

## 3. Give value

If you want to build an audience you need to switch the focus from you to them

Share resources, respond to the questions you get, give tips, share your work

Tweet about whatever you want but make sure that you give value

## 4. Stop using hashtags after you reach1000 followers

Hashtags make you tweets look spamming

If you have more than 3 hashtags in your tweets 50% of the people that see those tweets will scroll through

Use at max 2 hashtags until you reach 1k followers

After that drop them

## 5. Share your wins/loses

People love and follow authentic accounts

Be like a real human, share your wins but also share your loses

Did you get that job? Tweet about it

Did you finish a new project? Tweet about it

You had a bad month on Twitter? Tweet about that

## 6. Be consistent

It took me 5 months to get where I am

During these 5 months, I posted at least once every single day

In the beginning, no one will read your tweets. It doesn't matter

Don't look at your analytics

Once you gain some momentum things get easier

## The end

_I hope found this useful and if you did please let me know. If you have any question feel free to DM me on  [Twitter](https://twitter.com/VladPasca5) ._
Creating a Dark & Light Toggle Mode - UI Design
Tags: javascript, css, showdev, webdev
Published: 2021-03-23 11:34:54



> ### _Creating a Dark & Light Toggle Mode - UI Design_

<hr/>

{% youtube Up0Ti8hXqqs %}

<hr/>

> [**Please do not forget to subscribe in my channel:**](https://www.youtube.com/AhmadEmran?sub_confirmation=1)

<hr/>

{% codepen https://codepen.io/ahmadbassamemran/pen/BapyaoG %}
Benefits of Backbone JS
Tags: javascript, mobile, restfulapi
Published: 2021-03-23 11:32:37

Benefits of Backbone JS

Below, we will mention some notable benefits of using Backbone JS before you implement it on your app.

 
1. Lightweight

It is essential to consider the weight of a project while talking about downloading speed and responsive applications. The size of the Backbone is approximately 7.6 kb. Therefore, it can be considered to be the best library in every field. It is based on Underscores JS libraries, and it might get rid of jQuery dependency as well. Moreover, it is quite handy when it comes to development.

 
2. MV structure and Abstract Code

Abstract Code plays a significant part in programming. It likewise includes Object Oriented Programming Language. Although it might hide anything, it is not able to hide information regarding any object. It moves to RESTful API from DOM usage and helps to save data in the model’s format.

 
3. Comes with lots of small libraries

The main idea behind Backbone JS happens to be extensibility. It comes with several libraries that can be utilized as and when required. Moreover, it will be possible for you to create an MVC framework using Backbone. Layout Manager provides overview rendering. The structuring of the app code can be done in a better manner with the help of Marionette.

 
4. Event-driven communication

jQuery declarations become complicated once a project develops, and this might get distributed over the entire place, which makes the code cluttered and challenging to read. However, this problem can be fixed by Backbone JS using event-driven communication. It is possible to attach listeners to model attributes, and everything which could be modified in a view can be controlled.

 
Must Read: 4 JavaScript Frameworks You Should Consider For Your Next Web App

 
5. API and documentation

It is quite simple to learn Backbone JS because of various reasons. It comes with lots of guides and documentation that you can obtain from the Internet. It has also been tested as well as supported by several to-do applications. Apart from this, it can easily synchronize with the back end. Backbone JS will be able to write, read, and delete some operations quickly in case the API is designed correctly.

 
6. Conventions for coding style

Conventions will be a fantastic choice in case you need to introduce a typical coding style. With Backbone, the developers will be able to code less in case they follow Backbone conventions. In this way, they can make use of standardized code.

Learn more here: https://www.rlogical.com/blog/the-benefits-of-backbone-js-which-every-web-app-developer-must-know/