teleren/devto huggingface dataset:
The Absolutely Free Path to Get Started with Machine Learning
Tags: datascience, machinelearning, codenewbie, tutorial
Published: 2020-06-22 05:24:46

👋 Hello, all Data Science and Machine Learning Aspirants!⠀
⠀
👉 Today, I am back with an amazing roadmap for you to learn Machine Learning!


![Free Path for ML](https://dev-to-uploads.s3.amazonaws.com/i/ztjppbsd469lmpum30pu.png)⠀
⠀
🔥 And it's ABSOLUTELY FREE!⠀
⠀
🚩 Let's go step-by-step:⠀
⠀
⠀
# I) LEARN PYTHON3 - SOLOLEARN:⠀


![SOLOLEARN](https://dev-to-uploads.s3.amazonaws.com/i/3eg9v7a056n84f6rwsz1.png)
⠀
🐍 Python is a widely-used general-purpose, high-level programming language. ⠀
⠀
It's the de-facto language for Data Scientists and Machine Learning Practitioners because Python Community has developed a lot of libraries which make it really easy for you to dig the gold out of data.⠀
⠀
⠀
# II) DO MICRO-COURSES - KAGGLE:⠀


![KAGGLE](https://dev-to-uploads.s3.amazonaws.com/i/iqsgcmvpvyaav91bt636.png)
⠀
📚 Kaggle is an online community of data scientists and machine learning practitioners where data science and machine learning competitions are hosted. They have 14 micro-courses which are very short, practical, and to the point.⠀
⠀
⠀
# III) COMPLETE COGNITIVE COMPUTING ROADMAPS - COGNITIVE CLASS:⠀


![COGNITIVE CLASS](https://dev-to-uploads.s3.amazonaws.com/i/iqsgcmvpvyaav91bt636.png)
⠀
🛣️ Cognitive Class is an online learning platform by IBM for emerging technologies like data science, AI, big data, cloud computing, and blockchain, where all courses are free. They have roadmaps for almost every particular area related to AI.⠀
⠀
And again!⠀
⠀
🤓 YOU KNOW!⠀
⠀
🆓 ALL OF THESE RESOURCES & COURSES ARE FREE!⠀
⠀
💻 💼 🤯 Interested in learning about Programming, Career, and AI?⠀
⠀
🔗 Follow @mrsaeeddev for more posts!
Do more with rails console by configuring ~/.irbrc 🎉
Tags: ruby, rails, mongodb, productivity
Published: 2020-06-22 04:54:25

> It´s better to wait for a productive programmer to become available than it is to wait for the first available programmer to become productive. 
[Steve McConnell](https://stevemcconnell.com/)

### What is ~/.irbrc file? 🔖
- After work with multiple Rails apps, you might have some methods and preferred ways of working with them. 
- i.e. you're using few generalized methods or configuration your IRB session(rails console) in a single project and want to have the same methods & configuration on other projects you're working on, you can add those methods & configuration in your *~/.irbrc* file.
- You can create *~/.irbrc* file in your root directory if it's not present.

### Things you can include in your *~/.irbrc* file 🗄
- Configurations which need to be used in all Rails Apps
- Methods which need to be used in all Rails Apps
- Require/load specific file(s) or Gem(s)
- Hacky convenience methods that help you play with your objects

### My .irbrc file 🧮
{% gist https://gist.github.com/rishiip/2fb7302c1cb0dd490ae3760acfbdfa99 %}
### How to search awesome .irbrc file created by other devs 📭
Just click on the following URL and it'll list all *~/.irbrc* files created by other GitHub developers, you can create your file and add everything you need if you find anything useful -
- https://gist.github.com/search?l=Ruby&q=irbrc

### References 📌
- https://docs.ruby-lang.org/en/2.2.0/IRB.html
- https://www.justinweiss.com/articles/fast-consistent-setup-for-your-ruby-and-rails-projects/
- https://github.com/kpumuk/dotfiles/blob/master/irbrc

----------------------------------------------------------

Found this post useful? please click the 🖤 button and share it to help others find it! Feel free to leave a comment below.

----------------------------------------------------------

👋 Say Hello! [Twitter](https://twitter.com/rishipi) | [LinkedIn](https://www.linkedin.com/in/rishipithadiya) | [Medium](https://medium.com/@rishipithadiya/) | [Instagram](https://www.instagram.com/long.lost.wanderer/) |
React Tutorials - YouTube Player Refactoring - 1
Tags: react, javascript, webdev, showdev
Published: 2020-06-22 04:41:58

I had recently started my YouTube channel — The Web Dev. I had decided to start putting all my blogs into the YouTube channel.

Many times in UI development we get request from client/user to highlighted item from a list once clicked upon.
It can be a navbar, a list of videos or anything else.
Now we don’t just have to highlight an item, but also to remove highlight from it if, some other item is clicked.
In this part of the series, we modify our YouTube player to show highlight the selected video from the list.

And here is my YouTube video.

[![alt text](https://res.cloudinary.com/dxkxvfo2o/image/upload/v1592799320/React_tutorial_-_YouTube_player_refactor_fjkdqf.png)](https://youtu.be/1TyObXDSYUY "Youtube Player Refactoring - 1")


Please do like it and [Subscribe](https://www.youtube.com/channel/UCRf7mazcufqZxd2pR3oQJuQ?sub_confirmation=1) to my channel for more videos.

You can also read the complete blog here -

https://thewebdev.tech/refactoring-youtube-player-to-show-selected-video
Learn with me
Tags: html, css, javascript, php
Published: 2020-06-22 04:09:45

**This is a post for the people who are new and trying to learn codes**

So my name is Osman Goni.I am a wannabe freelancer.Its has been already around a week since I started to learn.I will start telling from first to not make you out of the place with my story.

I wanted to be a freelancer recently.So obviously I downloaded upwork,fiverr and freelancer and started bidding on projects about web developing and anything that I thought I can do without having zero experience and in some cases zero knowledge about doing this sort of work.Every time I bid, I thought this is the moment when I  am going to be glorified with my first job.Then I kept on bidding and bidding and bidding.Finally gave up.

I did the same things several time before also.But this time it was different.I was determined this time.After  researching and watching some videos online,I understood its not that easy to be a web developer in the freelancing sector.Then I started studying.Now I was introduced to front-end and back-end web development.And I was interested genuinely.Now I am learning. 

Now you may think,Why do you guys need to know all of this about me and my failures.Because I want to create a community.A community of people who are new and have very low idea about what coding really is.So if you are new and if you have no background of coding whatsoever.Then let's start  together.


Basically,I will cover my journey by giving posts regularly or a day after another.And everyone who wants to learn and talk code can discuss.Consequently we will all grow together and help each other to grow.

Make sure you stay updated with my posts.
How to setup a Munin server monitor
Tags: linux, devops
Published: 2020-06-22 04:40:49

---
title: How to setup a Munin server monitor
published: true
description: We use Munin to monitor servers with different resources and critical operations. Munin will contact each server and ask for statistics and monitor if a service is running and have enough resources to work.
tags: linux, devops
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/gwfz0sijddersxjlv2u0.png
---

{% youtube 8P2EpoUIkqs %}

We use Munin to monitor servers with different resources and critical operations. Munin will contact each server and ask for statistics and monitor if a service is running and have enough resources to work.
My First CodePen:  A JavaScript Calendar
Tags: javascript, codepen
Published: 2020-06-22 03:46:53

I recently signed up for a new adventure with a really exciting program called [Chingu.io](https://www.chingu.io/).  

In a nutshell, Chingu (Korean for 'friend') is an opportunity for aspiring developers to collaborate with other developers in a simulated production environment.  Participating developers have to submit a solo project which will be used to assign a role in a 6-week collaborative project.  It's meant to simulate a real working environment, provide relevant experience, and add to the developer's portfolio. 

For my solo project, I decided to create a calendar. To give my project some sort of future-proofing, I coded it in React using hooks.  At the time of writing this post, the calendar exists as a front end project.  Soon, I'll code a backend to persist the user selections in Node.js.

The example here is coded in Javascript with CSS and HTML.  The calendar scrolls from month to month when the directional arrows are clicked.

{% codepen https://codepen.io/clarkj99/pen/xxZqzwb %}

There were several points during coding where date calculations were necessary.  I opted to use the basic Javascript date object instead of a library like moment.js.  You can read about why I made that decision in a [previous article](https://dev.to/clarkj99/js-date-vs-moment-js-a-really-simple-comparison-2lo4).
{% link https://dev.to/clarkj99/js-date-vs-moment-js-a-really-simple-comparison-2lo4 %}

I'm very excited about my first CodePen entry and I look forward to many more.  Happy coding!

<span>Cover photo by <a href="https://unsplash.com/@esteejanssens?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Estée Janssens</a> on <a href="/s/photos/calendar?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>
Why changing my job changed my perspective 
Tags: career, life
Published: 2020-06-22 03:46:24

---
title: Why changing my job changed my perspective 
published: true
description: Whys and hows my new job made me step out of my comfort zone and discover another side of the industry
tags: discuss, career, life
---

_The further you get away from yourself, the more challenging it is. Not to be in your comfort zone is great fun._ - Benedict Cumberbatch

# The beginning

Everything started 2 years ago, when I left my freelancing passion and moved to a normal developer position in a small company. Everything worked fine, I was a little bit familiar with the technology stack, but there were still a lot of things to learn. As said, it was done. Months passed by and everything became so easy that I was thinking _"Wow, I am so good at this."_
Oh... I was so wrong! I was thinking that I am good because I kept working on the same project for a long period of time, doing a lot of refactoring and repetitive task and not so much thinking before coding.

This gave me a lot of confidence, I knew how everything should be done, each new feature would be just a small change in the whole project so it wouldn't affect me a lot. Every day I was more and more efficient, everything was easier from time to time... or at least this is how it seemed. 

## And so a new adventure begins

Then, an opportunity came. A remote job, still a flexible program (being a 2nd year in university had a lot of influence on my working schedule). With this being said, so it started. A new job, a new adventure, I was thinking I am good at what I am doing then... one week in and I was _"Where am I? Why I don't know how to do this, even though I have worked with this stack?"_. And so the questioning started. I was so wrong in so many ways that I didn't know where to start. Am I dumb? Everything I have learned is useless? Is this something that I will never be able to do it? Is this the end of my career, even though I am only 20?

The answer was **no**. It was a little bit harder than expected, but after 3 months here I already can say that my evolution has went from ground-bottom to the sky faster than expected. For now, I came with a conclusion that I would highly tell to anyone else that I meet: **you still young? Change jobs, seek adventures, try something new. You will never know everything and this is the time to find everything you don't and fix it!**.

Step out of your comfort zone. Do it and do it often. Seek discomfort, try something new, do something that you haven't done before, try to bring some new things into your life. 


_If you wanna do it, you gotta do it right
Let's get to it, gotta fight the fight_ - [https://www.youtube.com/watch?v=jbanrxTqlEY](Comfort Zone - Tesla)
Generate a LaTeX Resume in Minutes
Tags: resume, latex, showdev, career
Published: 2020-06-22 03:44:29

> Focus on the data, not the style!

How about creating a LaTeX resume without even learning LaTeX!? Check out my project [resume generator](https://github.com/ayan-b/resume-generator) :tada:!

{% github ayan-b/resume-generator  %}

Here you can create a LaTeX resume by simply changing the [data](https://github.com/ayan-b/resume-generator/blob/master/config/data.yml). For detailed instructions please see the README file :pencil:. The current template is based on [sb2nov resume](https://github.com/sb2nov/resume) which has over 1.6k :star: on GitHub.

The obtained resume will look something like this:

![resume](https://dev-to-uploads.s3.amazonaws.com/i/96w2ga8m6oj54yn4kfkk.png)

Please let me know if something is not clear in the README or if you want me to add any other features. Thank you! :heart:
Jamespath in Ansible Playbooks
Tags: ansible
Published: 2020-06-22 03:23:48

Have you ever heard of JSON query language ? Well, if not take a look at this: https://jmespath.org/examples.html

This is absolutely brilliant when you're trying to get the exact information from the JSON results spitted by Ansible play runs especially, let me show you an example on how you can actually register the output to a variable and run your query on it.

Example:
```
  - name: Sample Playbook
    // Fill up your task
    no_log: True
    register: example_output
 
  - name: Json Query
    set_fact:
      query_result:
        example_output:"{{ example_output | json_query('results[*].name') }}" 
```
Kotlin Collections - zipWithNext
Tags: kotlin, collections, algorithms
Published: 2020-06-22 03:14:00

To retrieve adjacent elements from iterable type use zipWithNext function. 

ZipWithNext method iterates over the iterable type and creates another iterable type to save the result. 

It is going to take O(n) time and O(n) space.

[Official Documentation](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/zip-with-next.html)

```kotlin
val numbers = listOf(1,2,3,4,5)

//Apply zipWithNext function to retrieve adjacent elements
val adjacentElements:List<Pair<Int,Int>> = numbers.zipWithNext()
//[(1,2),(2,3),(3,4),(4,5)]

//can modify the operation function to apply on each element.
val distanceBetweenNumbers:List<Int> = numbers.zipWithNext{ a, b -> b - a}
//[1,1,1,1]
```
Deploying to Netlify with Gridsome
Tags: gridsome, netlify
Published: 2020-06-22 03:09:26

---
title: Deploying to Netlify with Gridsome
published: true
description: How I deployed my newest project
tags: gridsome, netlify
---
Netlify is a superbly easy way to host statically generated websites. I am currently hosting my "portfolio" on Netlify (in quotes because it is a work in progress that I am not really ecstatic about). Gatsby is very easy to deploy on Netlify. Netlify will pickup the Gatsby site from Github (or Gitlab or Bitbucket) and automatically fill in the build command and publishing directory. Netlify will operate the same way with any static site generator, but does not necessarily automatically recognize them.

![Netlify Deployment Page](https://dev-to-uploads.s3.amazonaws.com/i/3uelyb8tx1uxnb4w59rl.PNG)

When you create a new site in Netflify, you are first asked to point it to your repository. For me, my repository was hosted on Github. Since I have my Netlify already authorized to read my Github, I just selected my project's repository from the list. I do have security enabled and only allow Netlify to read repositories I approved, so I did have to first allow it to read that repo from my Github authorized application settings. After that, you need to tell Netlify how to build and what to display. In order to build the Gridsome site, the build command is `gridsome build` and the directory that is produced to publish is `dist`. 

This is a very simple article, but I found myself not knowing quite how to deploy Gridsome since I just dove right in and did not read all of the documentation. Gatsby is a little simpler since Netlify will automatically populate the build command and published directory, but does not do this with Gridsome in my experience. I do recommend Netlify since it is so easy to get up and running. They also offer excellent add-ons for your sites like the ability gather form data and host "serverless" functions right from the Netlify deployment.
3 simple JS tricks to make life easier..
Published: 2020-06-22 03:07:51

I'm sure we all have our styles of writing code and are comfortable with but change and learning new ways to write code is essential as software engineers... 

#Here are some of the simple and clear tricks you can use to code faster! 

##Format your JsonData:

Many developers when using JSON.Stringify, use the first(required param) = *value* but in reality, there is 2 other optional params: *replacer* & *space*

Let me show you how it works and you'll understand exactly what i mean! 

**1st Step: Construct your JSON Data**

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

**2nd Step: Format it**
We want to format it by first name and last name for each reader, and we want to add a tab to each level.
This how you'd write that: 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/uy4v9tou5hndo2nnuw1a.png)

**3rd Step: console.log/render that formatted JSON!**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ztuh5a37gs4tiaj8hgef.png)



##Drop the Array.Filter() and rely on Set():
Make use of the native Set() object rather than filtering through the array to get unique values.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/hrs8inddlu87lh6zafcf.png)


##Incorporate some spread operating in your code:
Sometimes we all need to merge classes or objects together, spread operator can easily get the job done. 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/a9468fj5cgyzdjzfmy1w.png)
The code above will combine all those objects into one object!


#Conclusion

ES6 has not only made JavaScript more efficient but also more fun, So if you haven’t taken the time to play around, you definitely should.
Let me know below in the comments if you have any favorite code tricks that you'd like to share :)
Slow and steady wins the race!
Tags: career, laravel, webdev, beginners
Published: 2020-06-22 02:51:29

Well, It's been a week since I introduced myself and goals to this community and now it's time for an update! Its hard for me to finish things so giving you guys weekly updates is how I plan to hold myself accountable. So quick recap for anyone who's new to my story, I'm an aspiring full stack dev and I'm currently working on putting together a portfolio to showcase my skills. This is the first project of said portfolio and what I'm working on is creating an ecommerce website using Laravel.

I made a post about starting this last week Sunday and was filled with hype and excitement. I was just bursting to go! I had all these exciting ideas and features I wanted to implement. I literally didn't know where to start. So I calmed down, took a deep breath and decided to start by drafting up a database schema to assess my tables/relationships and that's where it hit me. All the courses that I had taken hadn't really prepared me for real world scenarios like these. I know how to code(somewhat), I know how to create my controllers and routes and migrations etc..., but I didn't know what to do..., I didn't know what to start with or where to begin..., and that's when I really started freaking out!

I also realized that during the online courses I've been taking, I had been lazy with how I search for information. When posed with a problem, I'd find myself searching for solutions rather than explanations and that bad habit carried over into the first few days of me trying to attack the task at hand. I was searching for existing examples of what I wanted to achieve and would get frustrated when I couldn't find exactly what I wanted. One thing I did notice though is whenever I tried getting an answer to a problem I had, one of the common search results were from 
Stack Developers on youtube (https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw) and then I'd skip through the suggested video trying to find what I wanted and then get frustrated because he's building on something that he made like 20 videos ago.

I finally gave in and started watching the complete e-com series uploaded by the Stack developers, (its over 40+ videos mind you) but I must say it has been very useful in helping me with my current project and it was with the help of these videos that I've so far been able to create an admin area for the admin user to update their information and create products for the store.

It's been slow progress unfortunately, working during the days and then trying to squeeze in some coding along with trying to get in exercise is difficult. Sacrifices have to be made sometimes and what's getting most affected is my sleep and exercise. I try to write code for a couple hours each day and I must say that given my initial Panic, I'm proud of myself. I'm pretty much coding everyday too so today I decided to start the 100 days of code challenge to strengthen my JavaScript skills by going through the challenges/tutorials on FreeCodeCamp.org.

That's all until next time!
Why you shouldn't spend too much time on 1 Leetcode problem
Published: 2020-06-22 00:48:07

When practicing Leetcode problems if you can't figure out the solution in 20 minutes you should probably look at the solution. Some people may disagree with me on this. Why I think you should quit after 20 minutes is because if you can't figure out how to solve the problem after this amount of time you won't be able to figure it out with a couple more minutes. If you do come up with a solution is might not be the most optimized solution. Looking at the solution you can figure out how to get to the optimized solution. You might even have figured out a technique that you didn't know before. Don't spend too much time looking at the solution but do understand it. How did the solver get to the final solution? Doing this over and over again will expose you to a lot of problems. Hopefully later on you will recognize the question or technique you need to solve the problem. 

Exposing yourself to many problems is better than understanding the 1 problem in depth. You want to understand how to solve many different problems not just that 1 problem. You only have a limited amount of time until your interview or until someone asks you for an interview.

Thank you for reading.
A Reader to Writer
Tags: hello, greeting
Published: 2020-06-22 00:43:21

---
title: A Reader to Writer
published: true
description: 
tags: ['hello', 'greeting']
//cover_image: https://direct_url_to_image.jpg
---

For a long time, I was an enthusiastic reader of [dev.to](https://dev.to/). The platform has provided me a lot of inspiring articles to accelerate my skill and knowledge around various kinds of technologies as a developer. Now, I decided to contribute my own experience by writing posts here as others did. I hope my writing will help someone others in the field develop their own skills as I did in the dev.to in the past several years.

Thanks and hello!
Should I Worry About how my app looks on the web?
Tags: react
Published: 2020-06-22 00:42:53

---
title: Should I Worry About how my app looks on the web?
published: true
description: I am learning to code in react native by making a tic tac toe game, and I was wondering if I should take the time to make sure it looks good on both mobile and the web?
tags: react
---