teleren/devto huggingface dataset:
Maintaining Motivation
Tags: discuss, career
Published: 2019-02-19 17:08:57

---
title: Maintaining Motivation
published: true
tags: discuss,career
---

I've been facing an uphill battle to keep motivation and interest in my day-to-day. My office project has been a bit of a slog to get launched, and by the end of the day, I don't have the drive to come home and try to play with things at home.

How are people combating scenarios like this, and what things do you do to keep excited / refreshed about the things you're working on?
Don't Be Like Me...Squirrel...
Published: 2019-02-19 16:39:32

---
title: Don't Be Like Me...Squirrel...
published: true
description: Everything was going great with my Gatsby site, then I had an idea...
tags: 
---

This is a cautionary tale of staying on track when learning something new!

So there I was, maybe three to four weeks into my Gatsby learning and site creation. Everything was going great, I had a basic albeit unexciting template in place and I was rapidly working on converting fives years of WordPress posts into the new format.

Then I had an idea, an idea that would make the design even better and simpler to maintain going forward.

That is where it all went pear shaped as us Brits say. The next thing I knew, my design was completely broken and I had switched my focus from transferring content to fixing CSS and learning new more modern ways to do things.

Now I'm stuck between that rock and that place.

So don't be like me, stick with that initial simple idea that you had as an excuse to learn something new and see it through to the end. Avoid the bright lights along the road and those candy stands.
A Newbie in react
Published: 2019-02-19 16:09:44

---
title: A Newbie in react
published: true
description: 
tags: 
---


<em >Hello Good people.</em>

<center>I'm Jude, i do lot things on tech like tech blogging and tech content writing but presently learning React, running my Internship in a place where i serve as Technical Support agent and not having enough time for my personal skills. But here i am
Would be looking forward to meet the amazing people here and learn much more</center>
Service object | Shots #1
Tags: serviceobjects, angular, singleresponsibility, cleancode
Published: 2019-02-19 16:07:43

---
title: Service object | Shots #1
published: true
description: Service objects are a way to clean your code in the sense of having a single responsibility principle 
tags: service-objects, angular, single-responsibility, clean-code
---

![dinosaur](http://www.jurassicworld.com/sites/default/files/2018-06/960x540_0001_trex.png)

# What is it?

Let's talk in simple words, services are just a thing which serves a  purpose. Now before saying that it is rubbish just hold on with me.

Serves the purpose in making software means that it do something for a class that the class itself is not meant to do (following single responsibility principle). Now that class can be anything in any framework for example model class in Rails and component class in Angular.

# Why we need them?

Actually, we only need them in case of:

* If the same logic is used in more than one place. And our ability to modify the same thing over multiple places is not too good.
* If the app is ever going be changed or modified.  I think it will be.

So if our code is ever going to be modified/expanded and we do want to follow DRY and SR principles, then I guess we need to do it.

# How we do them?

A service is nothing, but just another class. Also doing something around a single responsibility.
Example: A class handling calling to Twitter API.

Now make an object of this class in whatever class you required and use it to do its things while the class in which you called it will only use the output of this service object.

> Now, how you can actually do them in different languages/framework is your next search, I just gave you a reason to search.
Weekly Picks 2/11/2019 to 2/17/2019
Tags: career, life, mentalhealth
Published: 2019-02-19 15:23:01

---
title: Weekly Picks 2/11/2019 to 2/17/2019
published: true
description: Weekly picks from February 11th to February 17th
tags: career, life, mentalhealth 
---

## Career

- [Why Agile Doesn’t Work for Large Projects.](https://www.linkedin.com/pulse/why-agile-doesnt-work-large-projects-stuart-hamilton/)

- [What I want (and don’t want) to see on your software engineering resume](https://medium.com/job-advice-for-software-engineers/what-i-want-and-dont-want-to-see-on-your-software-engineering-resume-cbc07913f7f6)

- [Junior Developer: The Title You Should (Almost) Never Accept](https://daedtech.com/junior-developer-never-accept/)
Use OpenSSL to get a remote server's TLS certificate expiration date
Tags: tls, openssl, bash, bashscript
Published: 2019-02-19 16:05:34

---
title: Use OpenSSL to get a remote server's TLS certificate expiration date
published: true
description: How to determine the expiration date of a remote server's TLS certificate using the OpenSSL s_client and x509 commands
tags: tls,openssl,bash,bashscript
---

*My posts are usually notes and reference materials for myself, which I publish here with the hope that others might find them useful.*

There really should be an `s_client` option to do this. In lieu of, use `s_client` to read the cert and pipe it to the `x509` command.

```bash
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
```
The biggest mistake library and framework maintainers make
Tags: react, webdev, opensource, opinion
Published: 2019-02-19 15:45:07

---
title: The biggest mistake library and framework maintainers make
published: true
description: 
tags: react, webdev, opensource, opinion
---

They forget what it’s like to actually develop apps. I wanted to boost this very relevant tweet from Sophie Alpert, who had been a part of React for the past few years.

{% twitter 1097732632840826880 %}

No framework is perfect, but I’ve consistently felt like the Rails team has done a good job of remembering what application development is like. Not what it _could_ be like, or what it’s like _ideally_, but what it’s actually like.

I don’t mean to criticize any technology in particular, least of which React—probably the most amazing front end web development technology since jQuery. But this mistake has clearly been made in the project as well as every other project from time to time.

Remember what it’s like to be the user. Core teams should have a diverse list of application teams with various needs to guide them. They also might want to rotate into different organizations as contractors in order to taste the medicine.
What's the best way to modify code with GitHub Actions?
Tags: github, discuss
Published: 2019-02-19 15:43:27

---
title: What's the best way to modify code with GitHub Actions?
published: true
description: 
tags: github,discussion
---

I am trying out GitHub actions lately and wanted to know the best way to modify code wit GitHub Actions.
 
My github repository is integrated with CircleCI that checks if my code is well formatted using `prettier`. I also added renovate bot to automatically make PRs that update package dependencies. 
The problem is the code renovate bot generates is not formatted, which makes CI fail. My solution is to trigger GitHub actions to run `prettier` whenever there is a push to the repository, then call GitHub API to push a commit that formats the code. What's your opinion?
How to monetize a chrome extension with few hundred weekly active users?
Tags: chromeextension, javascript, monetize, ads
Published: 2019-02-19 15:19:23

---
title: How to monetize a chrome extension with few hundred weekly active users?
published: true
description: 
tags: chrome-extension, javascript, monetize, ads
---

Hi folks. I have a [chrome extension](https://chrome.google.com/webstore/detail/mutual-funds-tracker/dbkaienfbonmbigpfeacbpceheecncma?hl=en-US&gl=IN) which currently has around 180 weekly active users. Although I had developed this extension for fun and not for money, now I'm thinking if there's a way to make money out of this. I would love to hear your stories if you were able to monetize your extension with few hundred weekly active users.
Can forced linting surpress contributions when linting is first introduced?
Tags: discuss, opensource, meta, linting
Published: 2019-02-19 15:02:17

---
title: Can forced linting surpress contributions when linting is first introduced?
published: true
description: 
tags: discuss, opensource, meta, linting
---

We recently introduced forced linting to the [dev.to](/) views and enforce it via a pre-commit hook.

Before this change, we’d been completely lacking in view file linting, so when someone makes a small change to a view file now, they will be met with a laundry list of small changes.

Most changes are things like asking the developer to make an afjustment such as changing `<%=user.username%>` to `<%= user.username %>` (spaces preferred to no spaces) as per the style guide.

I am concerned that this could add too much barrier for small contributions, even though we would love to get our views consistently linted eventually.

Here was the issue in the project, but I’d love any _general_ input on the topic here.

{% github https://github.com/thepracticaldev/dev.to/issues/1828 %}

I’d love to hear about how you’ve dealt with this in the past.
Recent Computer Science Graduate: Taking a Full-Time Role vs Getting into Rotational Programs 
Tags: discuss, career, softwareengineering
Published: 2019-02-19 14:46:49

---
title: Recent Computer Science Graduate: Taking a Full-Time Role vs Getting into Rotational Programs 
published: true
description: 
tags: #discuss #career #software-engineering
cover_image: https://www.pacific.edu/Images/school-graduate/body/Cap-and-Degree-Icon.png
---


Has anyone gone through software engineering rotational program? Would you recommend that journey more than taking a full-time role after graduating from college?

For those who don't know about the software rotational program, it is an intake program for graduating Software Developers, with the opportunity to rotate within our Software Engineering department for certain period to give them multiple layers of technology and accelerate their career.

Do you know of such programs and which ones would you recommend for recent graduates willing to delve deeper into software engineering?
UserCV - Free alternative to Github.io for Non-Coders?
Tags: showdev, discuss
Published: 2019-02-19 14:42:28

---
title: UserCV - Free alternative to Github.io for Non-Coders?
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/znww4ja0gql7s8mqznog.png
description: UserCV is free CV-Resume Website builder platform with Store and Marketplace.
tags: showdev, discuss
---

UserCV is free CV-Resume Website builder platform with Store, Marketplace and Blogging platform.

GitHub.io doesn't offer content management system, store or marketplace like Usercv above. 

Usercv offers one-stop platform for building your own Personal CV-Resume website to showcase your skills, share contact details or social media links, starting blogging as a career, selling digital items or selling your services.

UserCV doesn't offer personal webpage customization option until now. Yet, do you think,  a better choice for Non-coders or freelancers or Bloggers who are just starting blogging with no traffic?

Landing page - https://usecv.com/personal-cv-resume-website-builder/

![usercv](https://thepracticaldev.s3.amazonaws.com/i/znww4ja0gql7s8mqznog.png)

###What is your feedback for Usercv platform?
Using Developer Tools on Mobile Browsers with LambdaTest
Tags: testing, webdev, productivity, showdev
Published: 2019-02-19 14:25:52

---
title: Using Developer Tools on Mobile Browsers with LambdaTest
published: true
description: Now you can easily debug on the go with integrated chrome developer tools while testing on mobile and desktop browsers at LambdaTest platform.
tags: #testing #webdev #productivity #showdev
---

Now you can easily debug on the go with integrated chrome developer tools while testing on mobile and desktop browsers at LambdaTest platform.

You can also debug your Android and iOS mobile browser web pages or web apps as if you are debugging desktop pages through integrated chrome developer tools.


Kick start your testing now: https://goo.gl/6g1LVe

Sign Up for free now and get
+ 100 Minutes of Free Automated Cross Browser Testing With Selenium Grid.
+ Access to 2000+ different cloud browsers
+ 60 Minutes of Free Live Interactive testing per month
+ 10 Responsive Testing (Test a page across 42 devices with a single click)
+ 10 Screenshot Testing (Take instant screenshots across 2000+ browsers)
+ Smart Testing
+ Auto Shot Testing
+ 3rd Party Integrations.

[![lambdatest](https://www.lambdatest.com/blog/wp-content/uploads/2018/11/Adword-Cyber2.jpg)](https://goo.gl/6g1LVe)
node.js process killer
Tags: node, javascript, react, opensource
Published: 2019-02-19 14:14:13

---
title: node.js process killer
published: true
description: a node utility to kill processes on given ports
tags: nodejs,javascript,react,opensource 
---

Hello everybody. I wrote a small utility to kill processes in my npm scripts. Feedback is welcome!

https://github.com/ggcaponetto/p-killa
R Language : Connect to MySQL database
Tags: rdatascience, datascience, rlanguage, tutorial
Published: 2019-02-19 08:09:42

---
title: R Language : Connect to MySQL database
published: true
description: R language Connect to MySQL database
tags: #rdatascience #datascience #rlanguage #tutorial
---

When you are processing the data in R. You may find that most of the online websites and the dashboards make use of the MySQL database. By default there does not seem to be any official driver that I have noticed for the mysql. However you have plenty of libraries that allows you to connect with MySQL. 

Few of them are - RMySQL, RODBC and RJDBC. 

Here for this example we will make use of the RMySQL to show you how to connect with the MySQL database. You can check out the video demo- [R Language How to Connect MySQL Database](https://www.youtube.com/watch?v=k9EG2GzdfJk). 

{% youtube k9EG2GzdfJk %}

Let's start with the first step. 

Install the library. 

    install.packages("RMySQL")

Then we can connect to the database. Fill in the respective details like username, password etc. 

      
    library(RMySQL)
    
    mydb = dbConnect(MySQL(), 
    user='user', password='password', 
    dbname='database_name', host='host')

From this point onwards you have to run the query for  your specific SQL database operations. 

You can check out the specific queries in the [reference manual](https://cran.r-project.org/web/packages/RMySQL/RMySQL.pdf). 

If you are using RStudio, you can also check out the tabular data output based on how you process your data. 

Though a lot of R developers make use of the RMysql. I'd recommend you to check out other libraries as well. And then decide which one is the right for your workflow. 

I hope the information here helps you work with the mysql and mariadb database using R lang.
ReactJS Admin Dashboard Theme
Tags: react, javascript, design, template
Published: 2019-02-19 11:35:26

---
title: ReactJS Admin Dashboard Theme
published: true
description: ArchitectUI is a clean, sleek dashboard UI theme/template and it’s built for modern applications that are powered by ReactJS. It includes lots of components, elements and widgets so that developers don’t waste time with the visual/design part. They just put some components together and voila, the app looks like it was built by a professional designer.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/zax3x4bg51b9cuytsbg3.jpg

tags: react, javascript, design, template
---
ArchitectUI is a clean, sleek dashboard UI theme/template and it’s built for modern applications that are powered by ReactJS. It includes lots of components, elements and widgets so that developers don’t waste time with the visual/design part. They just put some components together and voila, the app looks like it was built by a professional designer.

The React version is built upon the popular create-react-app starter kit from Facebook. It uses Webpack, Yarn and SCSS (for modular/scalable styles architecture). All components are integrated perfectly using a common Bootstrap 4 style guide. Basic components are standardised from ReactStrap and have been upgraded to Bootstrap 4.2.1 (latest version)


[View Details](https://dashboardpack.com/theme-details/architectui-dashboard-react-pro/)
Developer's Digest: Revisited
Tags: developer, health, discuss
Published: 2019-02-19 11:24:34

---
title: Developer's Digest: Revisited
published: true
description: 
tags: #developer, #health, #discuss
---

# The Developer's Digest...ive System

In case you missed the original post, you can find it [here](https://dev.to/pabiforbes/a-developers-diet-38bi), where I gave readers a run down of how my diet looks like.

A lot has changed since, and seeing more posts about keeping healthy as a developer, I was inspired to write about my diet again. I am still a "lazy chewer" (if that term exists), but I have incorporated more meals in a day to my diet and I take more vitamins. Here's a breakdown of my meals in an average day at work:

### Breakfast
I start my morning by taking some Spirulina Powder mixed with water, about 250ml . I then have my breakfast typically at around 05:45am and it composes of some bran cereal with warm milk (lactose free). I then take my Vitamin B Complex, Omega vitamins, as well as my Iron supplements tablets. One of each.

### Snack One
This snack is a smoothie that I have 3 hours after breakfast and it is made with Oats, milk, yoghurt ,honey, berry mix, egg, and some hemp powder. I know some people are horrified of the thought of a raw egg in a drink, but I can barely taste it. I also try to change up the fruit mix for my smoothie from day to day.

### Snack Two
Green salad, chicken breasts with some salad dressing or mayonnaise. 
I usually eat this an hour or two after drinking my smoothie.

### Lunch
Lunch is usually a larger portion as compared to the snacks and I usually have some red meat or fish, with a salad or two on the side, and rice with some gravy. 

### Snack Three
A packet of crisps.

## Dinner
Dinner is similar to what I would have for lunch.

And yes, I drink water throughout the day. Water is very essential. Changing my diet for the better has made a major difference. I feel less tired and I have become more productive. I do have days where I would have fast food, having a diet is not about eliminating certain foods but rather eating in moderation. 

#Some awesome posts to read:

{% link https://dev.to/httpjunkie/a-developers-guide-to-getting-fit-pif %}

{% link https://dev.to/proticm/4-tips-to-stay-fit-as-a-software-developer-12me %}

{% link https://dev.to/ben/what-is-your-routine-for-staying-fit-and-healthy-2fc1 %}

{% link https://dev.to/_patrickgod/6-ways-to-start-getting-physically-fit-as-a-coder-3k5 %}

 What does your diet look like?

*Happy reading and eating!*
Skills Tests... The Truth? 
Tags: jobdevelopercareer, programming, startup
Published: 2019-02-19 04:52:52

---
title: Skills Tests... The Truth? 
published: true
description: Looking for programming jobs. Getting help from professionals when in need. Finding a new career in developement. How to take a skills test to get a job or new career in programming.  
tags: job developer career, programming, startup
---

<img src="https://thepracticaldev.s3.amazonaws.com/i/tuveb9sgwhq4i50k6hmj.jpg" />

Triplebyte is a company built to help you grow yourself. Colleagues of mine have struggled to become front-end developer's due to miss taught guidance from senior developers. Stop getting the wrong information from untrusted advice and find your new career as a developer with help from professionals. 

Learning to grow yourself as a developer takes time and patience. Many individuals look for mentors and senior developers to show them the ropes. As many skills are necessary to become a developer. Learning to grow as an individual developer can bring excitement and joy as you progress your career within the field of programming.

Have you found a group of solid developers you'd like to learn and grow with? 

Try a <strong><a href="https://triplebyte.com/iv/UvR7jAQ/cp">test</a></strong> from Triplebyte and take your programming skills to the next level. 

Avoid unemployment by taking test's from the beginning and getting started with a company that actually believes candidates deserve a consistent experience and hiring decisions should be made using a clear scoring system.   

These test's sole purpose is to approach hiring and interviewing on a level playing field. Grow your own abilities and <strong>get what you deserve as a programmer</strong> by using these tests to your own advantage.
Why being a good programmer barely requires programming at all.
Tags: career, webdev, discuss, beginners
Published: 2019-02-19 09:22:06

---
title: Why being a good programmer barely requires programming at all.
published: true
description: Yes, you read that right. To be a good programmer you don’t need to be good at programming. I hear what you’re saying, that makes no sense! Well hold on a second, hear me out.
tags: career, webdev, discuss, beginners
cover_image: https://thepracticaldev.s3.amazonaws.com/i/osso77939emc8bhiz0dx.png
---

Yes, you read that right. To be a good programmer you don’t need to be good at programming. 

I hear what you’re thinking, that makes no sense! Well hold on a second, hear me out.

When you think of a good programmer you know, what’s the first trait that springs to your mind? Determined, smart, approachable? Calm, Quiet, or conscientious? Maybe it’s something else, but I can bet it wasn’t… a really good programmer. Why is that?

Programmers require lots of skills in their day to day jobs. The discipline no longer consists of sitting in a dark basement on your own thrashing out some code. In fact interpersonal skills are some of the most important a good programmer can have. Agile methodologies require lots of communication between different departments and individuals. You’ll be required to check in at least once a day, be available for planning, refinement, retros; constantly communicating about struggles, improvements and things that are going well.

The old days of getting your tasks and specifications up front, and being left to your own devices is long gone. You’ll probably be in contact with your users, asked difficult questions about your progress, and required to feed information back to your product owner/manager.

You’ll need to talk through your design with your superior and team as most likely you won’t be working on this on your own. Testers will be asking for updates, questioning whether your unit tests are credible and sufficient, your issue tracker will need to be constantly updated keeping discussions available for all to see.

You actually might be better off with a psychology degree than a computer science one to understand how to deal with all these different people.

So yeah, programming is gonna be needed at some point, but in general the stuff that 90% of us will be doing won’t require any revolutionary coding expertise.

In most cases the reason a project will fail is because requirements were not properly discussed and refined, or teams did not communicate properly about what was required from them. Rarely will it be because you weren’t a good enough coder.

Do you share the same views? Or do you think I'm talking nonsense, I'd love to hear your opinions below.
Awesome Web Components and HTML Elements
Tags: webcomponents, customelements, webdev, javascript
Published: 2019-02-19 08:46:26

---
title: Awesome Web Components and HTML Elements
published: true
description: javascript, webcomponents 
tags: web components, custom elements, webdev, #javascript
---
Website: https://www.htmlelements.com/demos/

<img src="https://www.htmlelements.com/demos/images/checkout-web-page-template.png"/>

<img src="https://www.htmlelements.com/demos/images/dashboard.png"/>