teleren/devto huggingface dataset:
Bug Hunting on Timbu
Tags: hng
Published: 2019-04-03 11:27:13

---
title: Bug Hunting on Timbu
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mjmedq3plpjnkt9ac30s.png
description: So glad I made it to Stage 1 on HNG Remote Internship 5, well the next task is to move to Stage 2 is to find bugs on Timbu.com

tags: hng
---

So glad I made it to Stage 1 on HNG Remote Internship 5, well the next task is to move to Stage 2 is to find bugs on [Timbu.com](http://timbu.com)

#Bug 1

![Currency Switcher
](https://thepracticaldev.s3.amazonaws.com/i/eur1n8mblaiavuf1lo08.png)

While bug hunting I discovered the currency switcher is not working and also some sections are with dollar currency and while some with naira


![Upper section uses dollar lower section uses naira](https://thepracticaldev.s3.amazonaws.com/i/v7qknorddk2nbri8wpuv.png)
POWERFUL REACT HOOK – USEREDUCER
Tags: reacthook, usereducer
Published: 2019-04-03 11:19:23

---
title: POWERFUL REACT HOOK – USEREDUCER
published: true
description: The useReducer is a powerful alternative to the useState hook which allows us to initialize state, as well as, encode all the possible actions that can be performed on the state centrally.

tags: REACT HOOK, USEREDUCER
---
Why MajorPull Is The Best And Beneficial Trucking Logistic App?
Tags: truckingcompanies, logisticapps, freigh, cargotransportation
Published: 2019-04-03 11:06:33

---
title: Why MajorPull Is The Best And Beneficial Trucking Logistic App?
published: true
description: Majorpull helps the customers to have reliable truck transport services without paying extra to the broker. It will let you reach the trucking companies directly and gives you the option to select your type of transport services.
tags: trucking companies , logistic apps, freigh, Cargo transportation            
---
Do you feel like tracing your goods when exported? Does the trucking companies charge higher? In order to solve these problems, we have designed a playing card which will help you to find the best truck transportation company of your choice at an affordable price. It is the app that has a lot of renowned truck process agents of America to reach the audience. This best trucking logistic app is the “MajorPull App”. 

This Article is originally published at [MajorPull blog](https://www.majorpulltruckingapp.com/blog/logistics-app-usa/)
video game ep6 logging in Unreal
Tags: thetealpickle, beginners, gamedev, unreal
Published: 2019-04-03 11:05:35

---
title: video game ep6 logging in Unreal
published: true
description: Logging in Unreal
tags: #thetealpickle #beginners #gamedev #unreal
cover_image: https://thepracticaldev.s3.amazonaws.com/i/kkjara14xsu084f56sec.jpg
---

video game ep6. Logging in Unreal

objectives:
> add an object in the scene
> add a c++ class component 

~~~
video game progress:
- updated the default pawn for code manipulation
- log the players' viewpoint
- setup raycast debugging
Angular 9|8|7 Drag and Drop Tutorial with Material Library
Tags: angular, angular987, angulardraganddropdrop, materiallibrary
Published: 2020-02-07 08:55:47

---
title: Angular 9|8|7 Drag and Drop Tutorial with Material Library
published: true
tags: Angular, Angular 9|8|7, Angular Drag and Dropdrop,Material Library
canonical_url: https://www.positronx.io/angular-7-drag-drop-tutorial-material-library/
---

The post [Angular 7 Drag and Drop Tutorial with Material Library](https://www.positronx.io/angular-7-drag-drop-tutorial-material-library/) appeared first on [positronX.io](https://www.positronx.io).

Develop **Angular 7 Drag and Drop** functionality with Angular material 7 themes. I will create a basic app in which a user can drag and drop items in a movies list. As we know, Angular Material offers lots of useful UI components to build an app from scratch. I will take help of the Angular Material 7 theme to develop drag and drop.

#### Table of Contents

1. Set up Angular Project
2. Set up Angular CDK Drag and Drop API

[click here to read more](https://www.positronx.io/angular-7-drag-drop-tutorial-material-library/)
How to use terminal to make git diff beautiful
Tags: ubuntu, git, diff, terminal
Published: 2019-04-03 09:34:09

Hi, terminal folks!

There is the word diff feature in git.
Let's activate it now!

First, my git version is this.
```
$ git version
git version 2.21.0
```

It is essential to make a diff-highlight binary file.
Then move it to executable path or create a symbolic link for same purpose.
However, initial state of the binary is different depends on each linuxs.
there are 3 patterns as far as I know.

1. a binary exists with an executable permission
2. a binary exists with a not-executable permission
3. there is a make file instead of a binary

I write just for option#3. If your initial state is #1 or #2, please make sure it works by reading below. I guess you can do it.

```
cd /usr/share/doc/git/contrib/diff-highlight/
sudo make
sudo ln -s /usr/share/doc/git/contrib/diff-highlight/diff-highlight /usr/local/bin/diff-highlight
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight
```

At last, edit your `~/.gitconfig` file
```
[core]
    pager = diff-highlight | less -r
```
Day 6 & Day 7 - 100 days 100 Python Scripts Challenge
Tags: python, productivity, beginners, career
Published: 2019-04-03 09:00:23

---
title: Day 6 & Day 7 - 100 days 100 Python Scripts Challenge
published: true
description: Day 6 - Converts PDF to CSV, Day 7 - Automatically pushes the code the Github
tags: python, productivity, beginners, career
cover_image: https://www.itbusiness.ca/wp-content/uploads/2017/12/AI-directory-header.jpg
series: 100 days 100 python scripts
---

##Day 6: convert_pdf_to_csv

This script helps you to convert the given PDF into CSV file and stores it in local

```python

from tabula import read_pdf
import pandas as pd

FILE_NAME="" #Ppdf file as input
dest="" #destination csv file name

df= read_pdf(FILE_NAME)
x=df.values
data=pd.DataFrame(data=x[1:,1:],columns=x[0,1:])

data.to_csv(dest,sep=',',encoding="utf-8")
```

##Day 7: push_todays_script

This script will automatically track the updated files and commit those files and push them to the git.


```python
import os,subprocess
from constants import WORKING_DIR

os.chdir(WORKING_DIR)

cmd = "git add ."
subprocess.check_output(cmd, shell=True)  

status= "git status -s"
returned_value = subprocess.check_output(status, shell=True) 

print('updated files:', returned_value)

if not returned_value==b'':
    commit_message='"Done Changed in the following files '
    if len(str(returned_value).split(r'\n'))>0:        
        for file_name in str(returned_value).split(r'\n'):
                    commit_message=commit_message+file_name[5:]+" "
        cmd= "git commit -m "+commit_message+r'"'
        print("Commit message ",subprocess.check_output(cmd, shell=True))
        try:
            cmd= "git push origin master"
            result = subprocess.check_output(cmd, shell=True)
            print(result) 
        except:
            cmd = "git pull"
            returned_value = subprocess.check_output(cmd, shell=True)  
            cmd = "git push origin master"
            result = subprocess.check_output(cmd, shell=True)
            print(result)
```

Please Visit my Git Repo to check out all the previous day challenges.

[https://github.com/ganeshraja10/automated-python-scripts](https://github.com/ganeshraja10/automated-python-scripts)
How do you feel about chasing internet points, badges and the gamification of everything?
Tags: discuss
Published: 2019-04-03 08:42:39

---
title: How do you feel about chasing internet points, badges and the gamification of everything?
published: true
tags: discuss
---

_I'll admit up front, I'm chasing the dev.to 16-week streak posting badge and am uncertain whether I'll have an article ready this week. This psychological pull is strong enough, that I feel compelled to follow it. This post potentially fills in a blank spot in my schedule._

It feels like everything is being gamified and nobody is paying attention to whether there is value behind it.  Recently I started using an online todo list, and it gives me points for completing todo items. I had to turn off multiple notices to get it to be quiet. Now I have dev.to badges.

The biggest problem with chasing internet points is that it erodes intrinsic motivation. This has come up a lot in video game discussions. I find games to be intrinsically rewarding -- I feel happy when I complete a hard level of the game. I don't feel happy because I've received a trophy. I've turn all trophy notices off when I can.

So, what effect do the badges on dev.to, and other platforms have. I think they're an interesting way to encourage new people to write, but I feel a bit of pressure by them. As a regular author am I expected to have a lot of badges? Does it impact my legitimacy on this platform?

Consider that I actually feel pressure now to hit that 16-week badge. The 8-week badge was kind of like, ah, "cool", that's nice. But 16-weeks is a hefty badge to obtain. I don't think I'll feel rewarded. I think only that I'd feel defeated if I don't achieve it now. But what if there's a 32-week back after it?!

What do you think about gamification? What are your own personal experiences?
OUTER JOIN or INNER JOIN?
Tags: dailywriting
Published: 2019-04-09 01:24:24

---
title: OUTER JOIN or INNER JOIN?
published: true
tags: daily-writing
canonical_url: https://marcusblankenship.com/outer-join-or-inner-join/
---

The day people join your team, they show up on time, dressed appropriately, and ready to work.

Think of this as the OUTER JOIN – the outward sign of their joining.

We record this as their “start date.”

The OUTER JOIN is a great start, but it can’t stop there.

You must strive for the INNER JOIN – the inward, heartfelt connection with you and the team.

We don’t talk about it much, but if you’re observant, you can tell when it happens.

And in the same way, you can tell when it’s gone.

I’ve been in numerous relationships where the other person has lost their INNER JOIN.

It’s easy to see, though hard to admit. The song _You’ve Lost That Lovin’ Feelin’_ captures it perfectly.

If this happens when we’re married, we might get couples counseling to work through it.

And this saves lots of marriages. It rebuilds trusts, reconnects hearts, and forgives hurts.

But at work, where it’s weird to talk about our feelings, we might not know what to do.

So we do nothing… and the person leaves.

Or worse, they stay, and it feels like a loveless marriage.

Maybe we should find a way to talk about it.

What do we have to lose?

Hang in there, and talk to your team.

Marcus

The post [OUTER JOIN or INNER JOIN?](https://marcusblankenship.com/outer-join-or-inner-join/) appeared first on [Marcus Blankenship](https://marcusblankenship.com).
how to Download file in react native from base64 string? Can someone help me with this?
Tags: reactnative, base64, filedownload
Published: 2019-04-03 07:12:55

---
title: how to Download file in react native from base64 string? Can someone help me with this?
published: yes
description: failed to download base64 string
tags: React native, base64, file download
---
How to Hire a Web Application Developer?
Tags: hireawebappdeveloper, webappdeveloper, hireawebdeveloper, hireadeveloper
Published: 2019-04-03 07:02:05

---
title: How to Hire a Web Application Developer?
published: true
description: Once in a while, you or the organisation you work for requires software applications to automate the work for increasing productivity but you might not have the clue about where to find software developers but this article will enlighten you about this topic. Software development consists of standalone software applications, Web applications & Mobile Applications, out of these Web application development is the most populous trend that is overtaking standalone software application development.
tags: hire a web app developer, Web App Developer, hire a web developer, hire a developer,
---
<img src="https://thepracticaldev.s3.amazonaws.com/i/usliu2z32aefci17mt06.png" />

Once in a while, you or the organisation you work for requires software applications to automate the work for increasing productivity but you might not have the clue about where to find software developers but this article will enlighten you about this topic. Software development consists of standalone software applications, Web applications & Mobile Applications, out of these Web application development is the most populous trend that is overtaking standalone software application development.

Web application development is being preferred because the software is rendered on end user’s screen through the web which makes it platform independent, the end user’s system configured with low-end hardware can also run this web application easily.

One can find Software developers from multiple platforms but he/she first need to know how many types of developers are there and who should they hire to resolve their problems.

Read Full Article Here: <a href="https://www.decipherzone.com/blog-detail/How-to-Hire-a-Web-Application-Developer-">How to Hire a Web Application Developer?</a>
Exploring the charms of Git - Bundle
Tags: git, github, sourcecontrol, cli
Published: 2019-04-03 05:52:54

---
title: Exploring the charms of Git - Bundle
published: true
cover_image: https://images.unsplash.com/photo-1541051279467-e07e60ac6e5f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80
tags: git, github, sourcecontrol, cli 
description: ---

# Problem facing

One of the major issue that I had experienced, was having a laptop with no internet connection and had no ways to share the new changes made with my fellow team-mate who lives in Pakistan and since we both deploy our code into the same server this was a huge issue.

So as usual, git came in hand with a special command that would replicate local repos including specific branch or all branches into a repo container file which provides same capabilities as a normal working remote repo such as git fetch and git pull and the best part about it is that synchronisation can be performed without requiring direct ssh, or http protocol access between two machines.

Any Yes, some of you might argue *"Why don't you just copy the folder"*, Well that's another story to tell but in my opinion, it's not effective enough to just be able to bundle working branches that includes certain references. Nevertheless, I tried it and as I expected, it did not work.

![Alt text of image] (https://media.giphy.com/media/25OBBnY9j1uiVDV4lJ/giphy.gif)

---

# Bundling 

Let's get to the command terminal and execute this working functionality.
The command is simple:

**$ git bundle create repo.bundle --all**

Here the bundle creation is being executed, repo.bundle being the file name. You can rename it how ever you want it to be. Note: **--all** will not include remote tracking branches similar to an ordinary clone command it wouldn't either.

**Note:** As no direct connection between the repositories exists, the user must specify a basis for the bundle that is held by the destination repository: the bundle assumes that all objects in the basis are already in the destination repository.

On your destination machine, after copying the file created from the previous step, execute the following:

**$ git clone repo.bundle**

Similar to a normal clone command -- **init + fetch**, and this will create a repo as a git repository.

Also, don't forget to update your remote URL reference in the *.gitconfig* file to point to your remote repo URL. The reason for this is that because during the bundling process, the remote reference defined as "Origin" tends to be updated and point to the resulting repository.

For more details on the command: https://git-scm.com/docs/git-bundle


---

And that's it for me folks, happy coding. 

---
The Rust Programming Language by Ben Goldberg
Published: 2019-04-03 04:56:05

---
title: The Rust Programming Language by Ben Goldberg
published: true
description: meetup1 for hfoss 
tags: 
---

I recently went to a talk on Rust the other week that was hosted by RIT's own Linux User Group or [Ritlug](https://ritlug.com/). The talk was given by Ben Goldberg, a fellow GCCIS student at RIT, and was an intro to programming in Rust and its possible uses.

## The Content
Ben's presentation was split into two parts, a slide deck portion as well as some coding examples. Ben describes Rust as a language that provides both performance and control, and raved about the languages safety and compiler features. He went over syntax, typing, scope, and other topics as an introduction into the language and what it's like to use it. A particularly interesting part of Rust is that variables are immutable by default; the `mut` keyword is used to make a variable mutable.


## The Talk
I really liked the talk and its structure. The atmosphere in the room felt pretty informal for a presentation, audience members would shout out questions to Ben or provide more context to some of his talking points. The dynamic nature of the presentation was really interesting and I hope that a lot of the presentations given at Ritlug are this interactive. Everyone one in the room seemed to be working together to paint a more detailed picture on the language, and it's a lot different when compared to other talks I've sat through.

The talk was great and informative, and I want to learn a lot more about Rust when I get some time to sit down and read through the [Rust Book](https://doc.rust-lang.org/book) and documentation which were both recommended highly by Ben for those that want to jump in.
Tools to sort RSpec Error Output by Error Type
Tags: discuss
Published: 2019-04-03 04:50:34

---
title: Tools to sort RSpec Error Output by Error Type
published: true
tags: discuss
---

I'm working on a Rails upgrade for a large codebase, and would love a way to sort all of my errors by type (e.g. all of the ActionView::MissingTemplate errors in a group). 

I've been doing this manually, but feel like there must be another way! 

Does anyone know of tools that they use to sort RSpec output, or have ideas to approach this challenge?
React Native Border Radius with background color Example
Tags: reactnative, react, javascript, android
Published: 2019-04-03 04:45:37

---
title: React Native Border Radius with background color Example
published: true
description: React Native Border Radius with background color Example
tags: #reactnative #react #js #android
---

Post Link : <a href="https://www.skptricks.com/2019/04/react-native-border-radius-with-background-color-example.html" >React Native Border Radius with background color Example </a>

This tutorial explains how to add border radius and background color in Image Component in react native application.  if you remember a month back we have shared demo on React Native to display or show Border Around Images, similarly here we are going to implement for setting border radius of  an images. Lets get started.

Set Border In React Native component :
Using below CSS properties you can set border width and color in react native component.
borderWidth : This will set border width.
borderColor  : This will set border color.

Set Border Radius In React Native component :
Using below CSS properties you can set border radius around image in react native application.
borderColor: '#F44336',  // Set border Hex Color code here. 
borderRadius: 10  // Set border Radius.

<a href="https://www.skptricks.com/2019/04/react-native-border-radius-with-background-color-example.html" >React Native Border Radius with background color Example </a>

<img src="https://2.bp.blogspot.com/-nbrKXN9yTso/XKQ21aju86I/AAAAAAAACo8/5jclhzthhIgGL_ks9Z6e7gxezBs8UrdVwCLcBGAs/s640/border1.png" />

<a href="https://www.skptricks.com/2019/04/react-native-border-radius-with-background-color-example.html" > continue reading... </a>
Git Terminology - It's All Connected
Tags: git, beginners
Published: 2019-04-03 04:41:59

---
title: Git Terminology - It's All Connected
published: true
description: Git has some fancy jargon that everyone uses, but what does it all mean and how does it connect?
tags: git, beginner
cover_image: https://thepracticaldev.s3.amazonaws.com/i/jz92rc71mepwazw3mkki.jpeg
---

# Git Terminology

Git has some fancy jargon that everyone uses, but what does it all mean and how does it connect? Let's break it down into layman's terms! 👨‍🏫

## Change

*Git* keeps track of all of the files in a project. Whenever you make a change to a file, git knows precisely what you've changed and keeps track of it. 

## Commit

A *commit* is a **collection of changes**. Whenever you make a commit you are telling git that you'd like it to save all of the changes that you've made. 

## Branch

A *branch* is just a **sequence of commits**, so all of the changes you've made starting from the beginning of the project. 

Whenever you *branch* you split off from the commit you are at currently. **Other branches don't keep track of the commits you make on a separate branch**, this allows you to make changes without stepping on anyone else's toes! 

## Repository

A *repository*, also known as a *repo*, is a collection of branches. It is the entire project, every commit on every branch. 

## Remote

A remote is a repository that isn't the one you are in currently. You can link to a remote to push and pull from it. 

## Push

When you *push,* you **upload your commits** from a branch on your computer to a **remote** repository's branch


## Pull

When you *pull,* you **download the commits** from a remote repository's branch to a repository on **your computer's** branch. 


## Merge

*Merging* is when you **synchronize** the commits of two branches. 


A *merge conflict* is when two commits change the same thing! 

## 🐙 GitHub

*GitHub* is a website that hosts remote repositories! 

## Clone

A *clone* is a copy of a remote repository. If you don't have permissions, you cannot push changes to the remote. 


## Fork

A *fork* is a clone of a repository on Github under your name. You can push changes to your forked repository!