teleren/devto huggingface dataset:
What Motivates You as a Developer
Tags: developer, motivation
Published: 2020-10-31 06:10:37

---
title: What Motivates You as a Developer
published: true
description: Being a developer, just like any other profession, is a roller-coaster that doesn't end. It's okay to be wherever you are in the journey.
tags: developer, motivation
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/r63iq6vmfp9boh798l36.png
---

My days are like this:

- High motivation and fast results
- No desire to open the computer at all
- Trading simpler projects for complicated ones
- Implementing end-to-end solutions without asking for a dime
- Rewriting systems from scratch because one thing doesn't work
- Mastering the difficult stuff
- Feeling payment is undeserved

Swinging between these states had confused me for a long time, until I decided to focus on the **why** of doing anything at all. I mean, why am I even a developer? Can I do well in another field? Yes. Can I give up programming for good? Absolutely no.

I do programming because there is enjoyment in the process, and there is satisfaction in the results. The more difficult the process, the more fulfilling the results. It's a feel-good journey.

Oh so simple: enjoy learning, working and delivering results!

Enjoy the frustrations you get when you are stuck. Have fun with your 1 week breaks between coding. Dance to the tunes of abandoned projects. Sleep soundly while procrastinating. It's all part of the journey.

---

In December 2014, I made a simple website so I can start explaining tech to people. I was so certain it was my calling.

Two years later, I abandoned it so I can push a design and development business. I made a few projects that excited me. In all of them, there were moments of great triumph and moments of absolute chaos. Amid these chaos, I would contemplate telling the client to give the project to someone else.

Design projects too are frustrating. I would take a week, still do, sometimes to get inspiration on the most fitting logo design for a given company.

---

This short story expresses one thing: we are motivated by good results and fulfilling/exciting experiences. 

Being a developer, just like any other profession, is a roller-coaster that doesn't end. It's okay to be wherever you are in the journey.
Tips for a incoming MERN fullstack engineer (fresh grad)
Tags: react, javascript, mongodb, node
Published: 2020-10-31 06:07:17

Hi there, this is my first ever post here on DEV. I've just recently graduated and fingers crossed managed to land a job as an associate fullstack developer; primarily on MERN and also some ASP.net and C# on the company's existing platform. 

I would say I have about a year and half worth of react academic experience with courses in university and also online sources such as tutorials, projects and courses. But my primary proficient language all this while is in Java and spring boot. 

I have been fiddling and picking up node.js and mongoDB recently for the interviews and now for the upcoming job I'm probably tasked on eventually. Any kind advice or tips on what to emphasize on in terms of what to look out for in fullstack development and better and more efficient ways to pick up MERN in general better and quicker? 

Thank you and stay safe out there folks. 

Peace!!🚀
Google drops bombshell zero day exploit affecting Windows 10
Tags: microsoft, exploit, security, news
Published: 2020-10-31 05:51:57

## Original article on my website, [onyxcode.net](https://onyxcode.net)


Google has now publicly released details on a zero day exploit that hackers are supposedly **actively using** to hack Windows 10 and 7 PCs. Project Zero by Google gave Microsoft an ultimatum that the vulnerability needed to be fixed within 1 week. However, due to Microsoft’s lack of action, Google let the details on to the public scene.

This nameless exploit, labeled CVE-2020-17087, can be kryptonite to PCs running Windows 10 and 7 because it allows the attacker to elevate their user access level inside Windows.

Most cases of the exploit can be found used in connection with another bug in Google’s Chrome web browser which allowed the attackers to escape Chrome’s “sandbox” which could deploy and run malware on the host system. Fortunately, the bug involving Chrome has been fixed.

Ban Hawkes, the technical leader of Project Zero says that Microsoft plans to release a patch on the 10th of November. Microsoft themselves could not confirm this date but issued a statement saying in part: “Microsoft has a customer commitment to investigate reported security issues and update impacted devices to protect customers. While we work to meet all researchers’ deadlines for disclosures, including short-term deadlines like in this scenario, developing a security update is a balance between timeliness and quality, and our ultimate goal is to help ensure maximum customer protection with minimal customer disruption.”

However, the attacker’s motives are still unknown. Google’s threat intelligence director says the attacks were “targeted” but **not related** to the United States 2020 election.

The attacks were “very limited” according to a Microsoft spokesperson, and “no evidence to indicate widespread usage.” It’s yet another bug in the list of many to affect Windows this year. In January, the NSA helped find a “cryptographic bug”, but there was no evidence it was ever exploited.

Yet, in June and September, the U.S. Department of Homeland Security alerted to **critical** Windows bugs that included spread via internet and gaining elevated access to an entire Windows network.
October is coming to an end!
Tags: hacktoberfest
Published: 2020-10-31 05:33:45

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/3oupc4athvy9xtsfm4hx.PNG)
 	
October is coming to an end, taking Hacktoberfest with it.

## What I Learned From Hacktoberfest

Happy to complete my first #hacktoberfest season. Hacktoberfest showed me first steps to the open source contribution. It also gives us great pleasure while our commits impact great open source projects. Thanks @digitalocean and sponsors for this great initiative.
Ionic showing API results in a list view
Tags: ionic
Published: 2020-10-31 04:47:28

Today I wanted to check in on Ionic again, and specific making an API call and showcasing the results in a list.

This is a very common use-case in Ionic. You want to call an API endpoint and get a list of results back.

The user can often click these items and see the detail page. In our instance, we will just focus on showing the list for now.

The end result will look like this:

![Ionic list](https://cdn.hashnode.com/res/hashnode/image/upload/v1603632046642/vCqxoXAW5.png)

## Ionic starting point

A while ago, we created a basic Ionic app, which we will use as our template to work from.

If you're interested in [getting started with Ionic](https://daily-dev-tips.com/posts/our-first-ionic-app/), follow this article.

> You can download the [starting template from GitHub](https://github.com/rebelchris/ionic-app).

## Creating our list component

We will be using the default tabs to create our list in.
Open up `tab1.page.html` and insert the following HTML.

```html
<ion-header [translucent]="true">
  <ion-toolbar>
    <ion-title> Tab 1 </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content [fullscreen]="true">
  <ion-list>
    <ion-item>
      <ion-label>
        <h2>cerulean</h2>
        <h3>#98B2D1</h3>
        <p>2000</p>
      </ion-label>
    </ion-item>
  </ion-list>
</ion-content>
```

If we render this it will look like this:

![Ionic basic list](https://cdn.hashnode.com/res/hashnode/image/upload/v1603607540288/fzjU9NHHR.png)

Now we will make this dynamic by doing a API call!

## Adding an API call 

Now let's add an API so we can fetch some data to fill his list.

First let's enable the `HttpClientModule` in the `app.module.ts`.

```js
imports: [
	// Other imports
	HttpClientModule,
],
```

Now if we have the `tab1.page.ts` let's make a loadData function.

```js
loadData(event = null) {
	this.http
	.get<{ data: any[] }>(`https://reqres.in/api/unknown`)
	.subscribe((resp: { data: any }) => {
	  this.data = resp.data;
	});
}
```

This will call our API and set the data of this component to be the response.data object.

The rest of the component will look like this.

```js
data: any[] = [];

constructor(private http: HttpClient) {}

ionViewWillEnter() {
	this.data = [];
	this.loadData();
}
```

Now let's modify the actual `tab1.page.html`.

```html
<ion-list>
	<ion-item *ngFor="let item of data">
	  <ion-label>
	    <h2>{{ item.name }}</h2>
	    <h3>{{ item.color }}</h3>
	    <p>{{ item.year }}</p>
	  </ion-label>
	</ion-item>
</ion-list>
```

When we run this it will look like this.

![Ionic list](https://cdn.hashnode.com/res/hashnode/image/upload/v1603632046642/vCqxoXAW5.png)

There we go, how cool right!

You can find this project on [GitHub](https://github.com/rebelchris/ionic-app/tree/feature/lists).

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
How to install Jekyll on your local machine
Tags: opensource, webdev, ruby, github
Published: 2020-10-31 04:26:46

Hola amigos!

![Alt text of image](https://miro.medium.com/max/820/0*N8RG95bKJnnF-wpL.png)


Hope you learnt something new from my previous post- How to deploy your project on GitHub page as a site. 

This post is kind of HOWTO tutorial in which I will help you to install __Jekyll__ on your local machine.

__NOTE__: This tutorial is only for windows users. 

__PRO TIP__: Jekyll converts Markdown to HTML using the Markdown filter specified in your config file. Files must have a Markdown file extension and front matter in order for Jekyll to convert them. Jekyll pushes content into the layouts specified by the page's front matter (or as specified in the config file).

For this you need:
1. __A Github account__
2. __Ruby installer for windows__
3. __Git windows application__

Without any further due, let's start the tutorial.

1. First you need to install the ruby installer. This follows the steps, agree to the terms and conditions and finish its installation.

2. Once you have finished the installation of __Ruby installer__, you will be directed to the command prompt of your system. 

3. In the __command prompt__, you have to do 3 things first. As you can see that in order to use Ruby Installer properly. You need to update 3 things.

4. So, you have to press 1 and hit enter. You can see something updating in the terminal. After then, press 2, hit enter, let the update to be completed. And then again press 3, hit enter, and let the final update take place.

5. Its time to install other dependencies/tools.

6. Once you have done this, close that terminal.

7. Open a new command prompt terminal. 

8. Now use this command to check the installed version of Ruby.
__ruby -v__

9. Then use this command to check the installed version of Gem.
__gem -v__

1o. Finally install Jekyll 
__gem install Jekyll bundler__

11.After the successful installation, check the installed version of Jekyll.
__jekyll -v__

__NOTE__: There is no need for Ruby understanding. The most task just requires a basic or deeper knowledge of markdown and liquid, but both are easy to learn. Only if you want to build plugins, you'll need Ruby. Jekyll works fine on Windows.

__Follow me on Instagram__
https://www.instagram.com/p/CFqrvobFlsL/?igshid=j3lhn2qi3og0

__Follow on Twitter__
https://mobile.twitter.com/_SinghVikas_

__You can read my previous post here!__
https://dev.to/vkassingh/how-to-deploy-your-local-project-on-github-using-git-31c0
Laravel 8 Joins Tutorial
Published: 2020-10-31 03:43:54

Laravel 8 joins example, i will show you how to use laravel 8 inner, left, right, cross join, subquery and advanced join.

<!-- wp:heading -->
<h2>Types of Joins In Laravel 8</h2>
<!-- /wp:heading -->

<!-- wp:list -->
<ul><li>Laravel Inner Join</li><li>Laravel Left Join </li><li>Laravel Right Join</li><li>Laravel Cross Join</li><li>Laravel Advanced Join</li><li>Laravel Sub-Query Joins</li></ul>
<!-- /wp:list -->

[https://www.tutsmake.com/laravel-8-joins-example-tutorial/](https://www.tutsmake.com/laravel-8-joins-example-tutorial/ "https://www.tutsmake.com/laravel-8-joins-example-tutorial/")
Most challenging attempt so far - Hacktoberfest
Tags: opensource
Published: 2020-10-31 02:49:03

### Summary
[Issue](https://github.com/Hacksbr/resume/issues/4)
[Pull request](https://github.com/Hacksbr/resume/pull/7)
I made some APIs with JWT in Python.

### Details
First of all, I worked on a few projects that use APIs and especially JWT token before, but they were all in nodejs(js/ts). This was the first time I tried on django with Python.
I was confident that it should be easy enough because it's just different languages so probably just a syntax thing. I was wrong. The structures were different as well. It took me a lot of time to understand the back-end structure here.
So I spent a lot of time reading tutorials and converting it to the knowledge I got in nodejs. It took me a few days. In some senses, they have good code structures and detailed description on the issue, so I like it. If I encounter this again, I probably will go through the same process. All we need is enough time to process the information.
My Hacktoberfest Story
Tags: hacktoberfest, opensource
Published: 2020-10-31 02:33:39

## Introduction 🚀

Hey, there! 👋🏻
I am [Jeevan Joshi](https://linkedin.com/in/G1Joshi)

Currently I am pursuing Master of Computer Applications from G B Pant University.
I am a Chess Player, Campus Ambassador & Competitive Programmer and now I am also a Open Source contributor.


## Background 🚀

I am an enthusiastic Programmer and actively involved in Competitive Programming.

I started my Open Source journey from Hacktoberfest 2020.


## Progress 🚀

My current progress in Hacktoberfest is that my 4 pull request has been accepted for Hacktoberfest 2020.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mopb6hrgc9ll0zrj8zqo.png)


## Contributions 🚀

In this Hacktoberfest I contributed in two roles
- [Participant](https://github.com/G1Joshi)
- [Maintainer](https://github.com/C0D1NG)

As a participant, I make more than 4 quality pull requests and all of them are accepted for Hacktoberfest 2020.

![Participant](https://dev-to-uploads.s3.amazonaws.com/i/qlk873wkwv3njwby5wgk.png)

And as a maintainer, I reviewed more than 1000 pull requests.

![Maintainer](https://dev-to-uploads.s3.amazonaws.com/i/3eeyy01cikr2tysdlcbi.png)


## Reflections 🚀

Overall, it was a very amazing experience for Hacktoberfest 2020.
This is my first Hacktoberfest and I learn a lot of new things and also make some new connections.
Looking for more such events.
For now my next step in Open Source is Google Summer of Code.
Hacktoberfest third attempt
Tags: opensource
Published: 2020-10-31 02:28:16

### Summary
[Issue](https://github.com/SuperFola/DoNotSend/issues/9)
[Pull request](https://github.com/SuperFola/DoNotSend/pull/11)
I made debug/log message include customized colors.

### Details
The first problem occurred to me this time was it's very hard to find problems that not too hard and not too easy and especially available. The available part seems the most painful because I tried to look for issue and I think I can handle it, somebody else already took it.
So anyways, this was a good issue. I make some research on it. The documents was easy enough to understand, but to match it with the owner coding style takes time. I had some discussion with the owner for clarification, and I worked it out. I made my pull request and explain how he can customize it in the description.
I think the lesson is still spend more time reading the owner's code. It's great if the happen comment and even better if they have detailed description for the issue
How I host Minecraft Server ResourcePacks on Github
Tags: minecraft, resourcepack, spigot, blockbench
Published: 2020-10-31 02:23:59

# Github is dope.

*Yes, we all knew this*. Anyways, with the addition of Actions to your team's workflow, you can make the process of editing a resourcepack, automatically building it, and shipping it to your live production Minecraft server so very easy.

# Initial thoughts & Planning

Before this switch, we (being SupremeObsidian) were using Dropbox to host the resourcepack. This was a quick and easy solution, as you could get the share link from Dropbox, and add it to your server. However, the downside to this was that this was not a good solution for a team working on a resourcepack that needed to be constantly uploaded to the server so that everyone could see the changes live (even though at the moment, we are only in the development stage).

I started thinking maybe we could use releases in Github for this. This raised the issues:

1. Versions (v1.0.0) in the download url for the release that we would have to change every time, so this wouldn't work
2. The project directory in the sources zip

If you don't know what I'm talking about on the second point, when you make releases or download the cloned zip, you get the zip with a directory in the root, so all of the repository files are now in `RepositoryName-version.zip/RepositoryName/files-here`.
This would not work, as the resource pack zip had to have the assets, pack.mcmeta, and pack.png in the root of the zip.

# And then it hit me.

We could use Github actions for this purpose, of creating a zip, and uploading it to the repository, and fetching the pack zip from the raw url of the file. This works great.

I am no expert in Github actions, and I had never put one together before until a day ago, but I managed to get it to do exactly what I wanted.

{% gist https://gist.github.com/fishermedders/dcc5aa99860aec7dd03535c660755331 %}

To explain a little, the action checks out to the main branch, pulls latest files, deletes the current release.zip, zips the files in current directory, adds any edited files (in this case release.zip), commits, and pushes.

# Closing and specifics

This whole process takes ~30 seconds on average to complete, and then you have your brand spankin' new resource pack zip that works to download with Minecraft through the raw url.

**Note**: The raw url for github files that you should use is `https://github.com/user/repo/blob/branch/release.zip?raw=true`
That is, if your release.zip is in the repo root.

Also of **Note**: I use WorldResourcePack for my resourcepack downloading on the server. Any time we update it in github and zip the files with the action, we run `/wrp generatehashes` and this will generate new hashes for the resourcepack(s) that you have on your server so that when players join, their clients will compare the local hash to the new one and realize they are different, hence downloading the new version.

Thanks for reading my first real dev.to article, and if you made it this far, I commend you, and give you a 🍪. What a champ.
Wednesday Week 3: Deliveries
Tags: ruby, webdev, database
Published: 2020-10-31 02:20:14

We made a food delivery app with separate models for employees, customers, meals and orders, with a session controller to manage employee vs manager sign-ins and permissions. This is the most complex thing I’ve made. I’m still getting used to separate file dependencies and requiring the right class in the right place. 
I really wish I had two monitors here. I’d always thought that people with a multiple-screen setup were flexing. The amount of shifting between tabs when working with multiple models though, plus looking at lecture slides and googling issues. If someone had walked in and hooked me up with two more screens I’d have started crying and given them a hug. I need to finally invest in a desktop soon. I’ve wanted to build my own pc for a long time, something to think about when I get back to Chengdu. 

```ruby
def load_csv
    csv_options = { headers: :first_row, header_converters: :symbol }
    CSV.foreach(@csv_file, csv_options) do |row|
      row[:id] = row[:id].to_i
      @customers << Customer.new(row)
    end
    @next_id = @customers.last.id + 1 unless @customers.empty?
  end
```
The code above iterates over each entry in a database of customers and pushes them to an array as an instantiation of the Customer class, pushing them to an array in the repository.
There’s a lot of writing here. I can see that a database with thousands or tens-of-thousands of entries is going to run very slowly with this loop. Can anyone tell me at what point (size of table) one would move from a csv to a database using SQL? Is there a best practice size limit for practical use of csv’s? If anyone has some neat refactoring for this code I’d love to see it.

My uncle made a website for his business in the '90s. I remember my dad showing me the site as a kid and telling me that it had been built with words. It sounded like magic to me at the time (and definitely something I'd never be capable of). I asked my uncle about it this week and he sent me the original source code. He'd written it out in Word which boggles my mind. I'm looking forward to looking at it this weekend.
How do you finish your projects?
Tags: help, webdev, lost
Published: 2020-10-31 02:03:32

I have been learning javascript and react for longer than I would like to admit and have 0 projects that I am proud of. I feel like I know a lot and can put it together but can't bring projects across the finish line. I end up archiving -> deleting -> recreating a lot of projects. I have tried only focusing on one project and get pretty far with it but then something happens and I never finish it. I like web development and would love to be able to work as one but I've been feeling lost for awhile and don't know what to do.
ONVIF goes github - a better way of working
Tags: hacktoberfest
Published: 2020-10-31 02:01:37

### ONVIF

ONVIF recently joined github to open up its efforts in standardization in the world of physical security like surveillance and access control.
 
### Background

ONVIF spec development used to be closed. Now it's open at https://github.com/onvif/specs.

### Progress

I'm happy about opening up this closed community to the public. I'm happy about the contributions received so far.

### Contributions

I contributed on the specs of ONVIF in a way that was way more easy than when we used a closed system.

### Reflections

In this short time for the Hacktoberfest I have seen a good progress in the number of contributions by a good variety of in individuals in the industry. For myself, the move to github was really successful.
Hacktoberfest second attempt
Tags: opensource
Published: 2020-10-31 01:15:07

### Summary
[Issue](https://github.com/inspirezonetech/TeachMePythonLikeIm5/issues/26)
[Pull request](https://github.com/inspirezonetech/TeachMePythonLikeIm5/pull/33)
I made a small tutorial for children want to learn python

### Details
The topic of the repo is interesting to me. It consists of a lot of tutorials for python. I have to make example, make sure it works and well explained even the audiences are 5 years old kid. And in the end, come up with a challenge to practice the topic.
This repo has more strict guideline for contributors so I have to spend some time to follow and finish those extra requirements.
Personally I enjoyed teaching, however I will try to work on more difficult tasks next time
Publish a landing page on Github pages in 5 minutes!
Tags: github, webdev, html, javascript
Published: 2020-10-31 00:17:38

Github pages make it super simple to publish your static webpages quickly. You need to follow the following steps which will not take more than 5 minutes and your webpage will be published live.

1. Create a new repository on #Github. Keep the default settings. Give it a name i.e 'landing-page'.

2. `git clone https://github.com{your_user_name}/landing-page` on your local machine.

3. Add your landing page files.

4. Stage your files `git add . `

5. Commit your files `git commit -m "first commit" `.

6. Create a new branch called gh-pages `git checkout -b gh-pages`

7. Push your changes to #Github `git push origin gh-pages`

And your static landing page will be up and running on https://{your_username}.github.io/landing-page/