Lara Baldwin

Lara Baldwin

1600138080

Branches and Pull Requests

Hello! In this series, I discuss things to prepare you for what it’s like to work at your first software developer job.

In this video series, I am going to give you a bit of insight into what it is like to work on large projects as a developer.

Imagine you have just got your first gig as a junior dev, but you realize that up till now you’ve only really worked on your own projects, or in small groups at best. If you want to know exactly what to expect in your first few weeks as a junior dev, this is the video for you.

In this video we are going two things that are the basis of all collaborative work :

  • Branches
  • Pull requests

#developer #programming

What is GEEK

Buddha Community

Branches and Pull Requests
Madyson  Reilly

Madyson Reilly

1604229480

How to Create Pull Requests That Reviewers Understand?

First, let’s admit it: reviewing pull requests is really hard. As a reviewer, it’s your responsibility to make sure that the code is correct and of high quality before it gets merged into master. You are expected to do that by looking at a diff and list of files changed. You have to understand what the pull request is trying to achieve, what approach is being taken, what’s going on, and how all these files fit together — enough that you could potentially suggest an improvement. You may have to be on the lookout for typos or style problems. That’s a LOT of stuff a reviewer needs to do, especially in a large pull request!

I started to create understandable PRs since I started contributing to Sustainable Educational Foundation — SEF in late 2019. For those who don’t know about SEF please make sure to visit our site to know more details. In a nutshell, At SEF, we have something in store for everyone especially you are a student, expert, or a volunteer. After starting contributing to SEF I realised the importance of a quality PR and today I’m going to share those qualities with you.

#pull-request #branch #github #gitlab #git

Udit Vashisht

1589355169

Requests Python 3 - Download Files (Free books) with requests-html and requests Python 3

In this video, we will use requests python 3 and requests-html to download pdf files from Springer’s Website.
Recently, I came across a list of 408 free books available for download from Springer’s website.
So, I have created this script in which I have used requests python and requests-html to download the files.

https://youtu.be/UMuO2_BVFwY

#request-html #requests #requests-python #webscrapping #springer

Madaline  Mertz

Madaline Mertz

1623768540

Parallel web requests in Python

Performing web requests in parallel improves performance dramatically. The proposed Python implementation uses Queue and Thread to create a simple method saving a lot of time.

I have recently posted several articles using the Open Trip Planner as a source for the analysis of public transport. Trip routing was obtained from OTP through its REST API. OTP was running on the local machine but it still took a lot of time to make all required requests. The shown implementation in the articles is sequential. For simplicity I posted this sequential implementation but in other cases I use a parallel implementation. This article shows a parallel implementation for performing a lot of webrequests.

Though I have some experience the tutorials I found were quite difficult to master. This article contains my lessons learned and can be used for performing parallel web requests.

#python #multithreading #parallel web requests in python #requests #web requests #parallel

Kaia  Schmitt

Kaia Schmitt

1627035540

How to Use Push and Pull Command in Flutter Project | Push & Pull | GitHub

Push and Pull Command - GitHub | Flutter

Github - https://github.com/theindianinnovation/Air-Quality-App-Flutter

#github #pull #push #push & pull #flutter

Brain  Crist

Brain Crist

1602730800

A Short Introduction to Draft Pull Requests

Today I want to take the time to share with you one of my all-time favorite Github features — Draft Pull Requests. I have been actively using them in my development flow for about 12 months now.

Lately, I realized that working with draft pull requests has dramatically improved the way I structure and organize my daily engineering work as well as the efficiency with which I solve problems and deliver value for my stakeholders.

Prerequisites

I approach this topic with the assumption that you are familiar with the basic Github development flow. If that’s not the case, I suggest you take the time to get yourself familiarised with it. Trust me, you won’t regret it.

Introduction

Here is the list of characteristics applicable to normal pull requests:

  • they enable you to start a discussion about the code you have committed in a branch that belongs to a specific Github repository
  • other developers can review your code and give suggestions for improvements and optimizations
  • once the discussion phase is over and everyone is satisfied with your proposal, you can merge your pull request into the master branch and officially add your changes to the codebase

Now, let’s have a look at the characteristics that make draft pull requests unique:

  • they explicitly label your code changes as “work in progress”
  • they cannot be merged into the master branch directly

The meaning of Draft PRs

When you open a pull request and set its status as “draft” you are in fact making the following statement to your teammates:

Hey, there fellow colleagues,

As you know, I am currently working on a solution to problem X. Here is the code I have written so far. Yes, I am aware my implementation is far from complete, so I am not ready to open a PR for review yet. However, I would love to get your feedback and insights on the approach I am planning to take.

After all, the sooner you get the conversation going the easier it will be to reach a consensus about the best way to code the solution.

#web-development #github #pull-request #programming