teleren/devto huggingface dataset:
Free coding environments and interactive courses!
Tags: beginners, codenewbie, students, productivity
Published: 2019-08-20 16:56:20

Hello Dev.to readers! 👋

We have some exciting news to share with you: we’ve partnered with the [GitHub Student Developer Pack](https://education.github.com/pack) to make it easier for students everywhere to learn programming and write your own programs!

What does this mean for you as a student? Well, students now get access to Next Tech’s course library and sandboxed computing environments for free for a whole year! Typically this would cost $228, but with our offer, you can save that money for a ☔ day (or a ☀️ one, for that matter!).

As former and current computing students ourselves, we know that setting up your computer for programming can be tough. It’s especially frustrating when you can see the solution to your homework or next project in your head, but your computer just isn’t working.

This is the exact problem Next Tech was founded to solve! Instead of having to do this set up yourself, you can launch a real programming environment in a couple of seconds and use it directly from your browser. 🤯

With these programming environments, you can learn programming, web development, data science, and more with our [library of courses](https://next.tech/xyz/for-devs). Or, you can start from scratch and build an entire project using some [coding sandboxes](https://next.tech/sandbox/for-devs). All with no downloads, fast access from any computer anywhere, and now, free for you. 😊

Sound like fun? Head over to the [GitHub Student Developer Pack](https://education.github.com/pack) page to claim yours, or if you already have the Pack, come check out [Next Tech](https://next.tech/github-students)!
create your own profitable shopify store
Tags: startup, html, online, shopify
Published: 2019-08-20 16:29:31

Are you planning to hire Shopify developer for eCommerce setup? https://taskallwebsolution.com/ offers you the best in the industry while facilitating all sorts of design and development work. Our Shopify experts always follow the standard coding practices while obliging to agile web development. You can start small with our 14-day Free work trial.
The '30 days 30 sites' Challenge
Tags: webdev, webdesign, beginners
Published: 2019-08-20 16:28:02

I recently signed up for the 30 days 30 sites challenge to give myself a push to learn website design faster. So, for the next 30 days, I'd be posting on the new things I picked up on the way. Primarily, I would be using [Materialize](https://materializecss.com). But if the challenge is basic enough, I'd use plain CSS. 

I believe that by the end of this challenge, I'd have really explored front-end web design and development. With this, I'd be closer to getting a real developer job by December 2019.

I recommend that you also [participate in the challenge](https://www.subscribepage.com/30days30sites) if your front-end web design skills aren't so great.
Languages, libraries & frameworks to avoid in 2020
Tags: learning, career, programming
Published: 2019-08-20 15:09:31

---
title: Languages, libraries & frameworks to avoid in 2020
published: true
description: Humble advice to help you to focus on what matters most next year
tags: learning, career, programming
---

What a catchy title, and you clicked on it ! 😜

I'm gonna be brief : **avoid learning any languages, libraries & frameworks** next year.

Instead, I suggest you to focus on one thing : **doing your job, as a programmer, really well**.

That is :
* be more disciplined, computer science is a science and it needs care ; careless programmers create mess, bugs and make their company loose money & opportunities,
* seek for deep knowledge beyond the next React / Angular / Vue / [insert hype here] version, for example [go learn why you probably do not need kafka or event sourcing or microservices](https://amzn.to/2KIGFln),
* pick your _already-known-so-boring-day-to-day_ language and learn how to not create bugs with it everytime you touch your favorite codebase ; learn how to design using the powerful features of it ; read books about writing code that are easy to read & understand instead of Vue documentation,
* learn how your business works, you are creating software for real people, be empathetic with them.

That's it, brief I said. 😉
Daily Challenge #45 - Change Machine
Tags: challenge
Published: 2019-08-20 14:57:39

---
title: Daily Challenge #45 - Change Machine
published: true
series: Daily Challenge
description: Write a function that will return the least amount of coins for change
tags: challenge
---
Today's challenge is to implement a `change` function that will accept an integer parameter that represents cents. The function should return the optimal change using the least number of coins.

The function should also return a key for each coin of US currency (specifically 25¢, 10¢, 5¢, and 1¢ coins). The value of each coin should represent the count of each coin in the change. The value for each coin that is not included should return 0.

Ex.
`change(31)`
`{ 25 => 1, 10 => 0, 5 => 1, 1 => 1 } `

Good luck!

***
_This [challenge](https://www.codewars.com/kata/537ece6953efd95e9e000516) comes from user Lordnibbler on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge for a future post? Email **[yo+challenge@dev.to](yo+challenge@dev.to)** with your suggestions!_
Making Android studio look cooler.
Tags: android, androidstudio, kotlin, uiweekly
Published: 2019-08-20 14:13:55

Hey there guys!, today i'll be showing you how to make your Android studio look more prettier.

Step 1. Open Android studio, go to settings.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/uxzxgkc9azf0s9mv1wxf.png)

Step 2. Look for plugins, then click on it.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/ddawyps6g3pcelmmaq8j.png)

Step 3. You should see a tab (marketplace, installed and updates), click on market place and search for "Material Theme UI". download the plugin.

Step 4. Android studio will ask for restart, well restart and plugin will be active and then you can select the theme you want on android studio, you can also customize it more on the appearance settings(Settings).

Hope you like it?. Alrighty then. Have a wonderful day....
Why are the font not the same even though they have the same font value?

Published: 2019-08-20 14:12:38

Ok, so I have a two texts that have a font value 'raleway sans-serif'; however, the font is not the same since the M is shaped differently. In one, we see "sans-serif" underlined on the debug tab in Firefox, and on the other, we see "raleway" underlined, but they have the same value. Why is that and how can we force both of them to be "raleway", force the other to have "raleway" underlined instead of "sans-serif"?
https://vegas-x.net/2019/04/internet-sweepstakes-software-companies-features/
Top 5 DEV Comments from the Past Week
Tags: bestofdev
Published: 2019-08-20 14:09:04

---
title: Top 5 DEV Comments from the Past Week
published: true
description: Highlighting some of the best DEV comments from the past week.
tags: bestofdev
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7VrAA2ln--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/qmb5wkoeywj06pd7p8ku.png
---

This is a weekly roundup of awesome DEV comments that you may have missed.  You are welcome and encouraged to boost posts and comments yourself using the **[#bestofdev](/t/bestofdev)** tag.

I'm a huge fan of these [#meta](/t/meta) conversations happening on DEV, instead of isolated in GitHub issues.  In the **[What would your opinion be of a "reading position" indicator on DEV?](https://dev.to/devteam/what-would-your-opinion-be-of-a-reading-position-indicator-on-dev-1088)** @cjbrooks12 offers their thoughts:
{% devcomment e7j3 %}

Replying to **[You Probably Don't Need A Front End Framework](https://dev.to/steelvoltage/you-probably-don-t-need-a-front-end-framework-26o6)**, @mattwaler offers some nuanced opinions which sparked more productive conversation in the comments:
{% devcomment e6h5 %}

Answering **[What is the hardest part of your job?](https://dev.to/molly_struve/what-is-the-hardest-part-of-your-job-21il)**, @molly_struve talks about the challenge and importance of leading a team:
{% devcomment e6o9 %}

I believe this is the first comment from a [#challenge](/t/challenge) thread to be a Top 5 Comment, but it was worth the wait.  In **[Daily Challenge #43 - Boardgame Fight Resolver](https://dev.to/devteam/daily-challenge-43-boardgame-fight-resolver-53e3)** @alvaromontoro offers up a CSS-based solution that turned some heads:
{% devcomment e8km %}

Finally, chiming into the **[[Ask Dev] Is Slack disruptive at work?](https://dev.to/jacobherrington/ask-dev-is-slack-disruptive-at-work-4da8)** thread, @neilonsoftware talks disruption, synchronous v. async, and their tactics for staying focused and establishing team communication channels:
{% devcomment e4k8 %}

See you next week for more great comments ✌
Cheat sheet - Keyboard shortcuts to become a VS code ninja 
Tags: vscode, webdev, productivity
Published: 2019-08-20 14:05:56

Greetings developers! 

My name is Chae and I have recently been introduced to the world of front-end development. Simply put, the journey has been an absolute blast so far. It's inspiring to see rich front-end knowledge being shared in such a collaborative manner, especially within the DEV Community. 

This summer I joined [LogRocket](https://logrocket.com/) as a Marketing Intern and I've been working closely with the content team to assist with  our [blog](https://blog.logrocket.com/). One of our readers commented on a recent post [Learn these keyboard shortcuts to become a VS code ninja](https://blog.logrocket.com/learn-these-keyboard-shortcuts-to-become-a-vs-code-ninja/) and suggested that a printable cheat sheet version of this post would be useful. 

I couldn't agree more. 

Here is the [cheat sheet](https://blog.logrocket.com/visual-studio-keyboard-shortcuts-cheat-sheet/) which contains keyboard shortcuts you can use in Visual Studio Code. You may print it, bookmark it, or simply download it to keep at your disposal. 

Until next time and happy coding!

[![VS code cheat sheet](https://thepracticaldev.s3.amazonaws.com/i/hxvj5byqdzb9ybp5ojlw.png)](https://blog.logrocket.com/visual-studio-keyboard-shortcuts-cheat-sheet/)
On Being Fired
Tags: career, beginners, failure
Published: 2019-08-20 14:04:23

---
title: On Being Fired
published: true
description: Taking a hard look at previous failures and waiting to rise from the ashes, like a reborn phoenix
cover_image: https://thepracticaldev.s3.amazonaws.com/i/fr2rrfse6ittectprouf.jpeg
tags: career, beginner, failure
---
<i>comment cross-posted from FunFunForums</i>

I have been laid off once and fired twice. This sounds really bad but I’m not ashamed. I hear that it happens all the time, and unfortunately the lower down the food chain you are, the easier it is to dispose people. It’s extremely humbling and a good kick in the head. The first was an email dev thing that got cut due to a company downsize. The second was tech support that was supposed to breadcrumb into a dev job but the company expanded; I didn't do anything right. The most recent one was a software dev job where they said I had a great attitude but my code wasn’t up to standard. 

I had a part in creating such a precarious situation for myself. I have no CS background and I accepted the first offers I got to get my foot in the door and didn’t (have the experience to) consider whether I had a future for growth there. The first two jobs, I was way too friendly and concerned with being a “fit” and it probably made people uncomfortable. At my last “real” dev job, I got a lot out of code reviews (even enjoyed them despite being wrong 90% of the time) but it became apparent I was too inexperienced. So it was better that I had that job than if I had not.

It is such a tough pill to swallow, and after the second one I really didn’t know if I could handle another. But I came back, and felt a lot more resolved not to be too open about myself at work. There’s a lot of reconsideration and reflecting to do, and obviously for me now, I need to take time to upskill. I definitely feel a lot of looming fatalism every time I take on a new role, but all I can do is my best. The best way is to deal for me is to take time off if I can, remember why I enjoy coding, and leave on as best of terms as possible. Staying positive in times of stress and being attentive and simply asking how you can help others goes a long way. Ultimately, you want to keep the door open to work in the future and a good reference… plus being on the receiving end of this will eventually make me a good manager. At least, I want to believe that.

<u>Further Reflections</u>

I've been listening to the Dr. Death podcast and find an odd commonality between me and the subject, Chris Duntsch. Unable to accept that I'm not good at my profession, I keep trying over and over. 

On the other hand, I don't oversell myself and haven't killed anyone (or anything) as a result of my persistence. I take that as a sign that I am not the tech equivalent of Dr. Death.
Which foreign languages did you study?👨‍🎓
Tags: discuss, learning
Published: 2019-08-20 14:03:03

I am a developer, who has a humanitarian background as well. I am curious to know which foreign languages other developers studied!

My knowledge list:
<ol>
<li><strong>English</strong> - Advanced</li>
<li><strong>Russian</strong> - Native</li>
<li><strong>Ukrainian</strong> - Native</li>
<li><strong>Spanish</strong> - Intermediate</li>
<li><strong>Italian</strong> - Basic</li>
</ol>

And how does your list look like?😊
Promise.all()
Tags: javascript, react, node
Published: 2019-08-20 13:50:58

![Destructuring por índices](https://thepracticaldev.s3.amazonaws.com/i/ddx3ad8f6s97cpz7n59o.jpg)

Usando o Promise.all() você pode aguardar várias promises serem executadas.
O then() após o Promise.all() vai receber os resultados quando todas as promises forem resolvidas, e o catch() irá ser chamado caso alguma das promises lance um erro.

Não deixe de visitar o repositório do github com todas as dicas em emersonbrogadev/social-media-snippets.

[➜ Participe da nossa lista de desenvolvedores](https://emersonbroga.com/e/participe/)
[➜ Aprenda ES6](https://amzn.to/2J4XnLg)
[➜ Veja as dicas no Instagram](https://www.instagram.com/emersonbrogadev/)
[➜ Assista nosso canal no YouTube](https://www.youtube.com/c/emersonbroga/)
[➜ Curta nossa página no Facebook](https://www.facebook.com/emersonbrogadev/)
[➜ Não perca as atualizações no Twitter](https://www.twitter.com/emersonbrogadev/)
[➜ Veja os repositórios no Github](https://www.github.com/emersonbrogadev/)

=)
todohub - create a todo list using GitHub issues
Tags: showdev, javascript, webdev
Published: 2019-08-20 13:49:19

I recently started working with JavaScript more seriously (have been avoiding it a little bit 😜).

![todohub](https://drive.google.com/uc?export=view&id=1zVvqTnLqJFDMI27G5JQqBquSURQJ0wbn)


## What ?
I created a small [web app](https://todohub.netlify.com/) which creates a to-do list using GitHub Issues.

## Why ?
- I create issues in my repositories just to keep a track of what i have to do further in case I leave the project for some time.
- I think it's a nice activity even if you create issues for your own projects because this way you will get to learn about Open Source Contributions on github, learn to log and document errors, ask for outside help on your projects. 
- todohub just gathers all open issues in your repositories and display them in a nice looking format.
- Good thing, its all made using pure JavaScript (No frameworks 🙅)

## How ?
I learned a few new things about some new features in JavaScript.
Below are the ones which I learned for the first time(noob alert!) to make todohub.

1. [fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
2. Creating DOM Elements Dynamically.

and yeah I fixed that footer too

## Suggestions 😃
If you have any suggestions you can comment them below or you can create issues in the repo itself.
> PS : A lot of work is still has to be done 😬

{% github https://github.com/Bhupesh-V/todohub %}

Also if you liked **todohub**, don't forget to give it a [upvote](https://www.producthunt.com/posts/todohub)
EQUATORIAL GUINEA A NICE TOURIST SIDE
Published: 2019-08-20 13:43:59

Equatorial Guinea lies in the west coast of central Africa, with an Area coverage of 28000 square kilometers, is a mix of beautiful scenery and rich vegetation it offers tourists a variety of refreshing entertainment, which is quite enticing and uncommon in most places, most of the African Hidden Secret Treasures can be found on this African tropic volcano Landscape relaxing in the coastal escape.
There are about four major Languages spoken in the country these are Spanish, French, Portuguese and English, moving around can be a little bit difficult, but one can go about the country by trekking, bicycle, motorcycle, four-wheel drive even canoes and speed boat depending on where you are in the countryside.
There are varieties of Tourist Attraction side all over the country, these give visitors a very soothing experience when they visit, like the Monte Allen National Park which offers tourists the opportunity to enjoy leisure like wildlife viewing, hiking, trekking, the park is home to animals like elephants, chimpanzees, crocodiles, and gorillas, etc. Birds hovering over tourist head singing is also common.
Waterfalls also give a nice sight view to tourists, there are some waterfalls in the countryside which are good tourists attraction site for visitor’s example of this is the Biokno Island Beach is a white sand beach which is known as the Arena Blanca, in Luba, many beach activities take place here, on another beach that’s the Ureca beach is a good side to see mother turtles in the dry season as that arrived to lay their eggs, jungle hikes to Rio Eola waterfalls happen here too.
Many old Spanish Colonial Architecture structures, sprawling structures, and many fine resorts are all over the old place. Many African culture and lifestyles are exhibited alongside the colonial culture, you will see many restaurants in all place with delicious African and foreign dishes.
Why not plan a visit to Equatorial Guinea your next holiday!!! 
( you can visit here for more details https://timbu.com  )
Traveling Africa
Tags: travelling, africa, vacation
Published: 2019-08-20 13:40:15

If you love to travel put your hands up!!
unlike me who prefer to sit at one corner of the world, not until recently i decided to do a road trip from nigeria to benin and then i fell in love with what my eyes saw and how great it was to meet new people of different race, language, culture and resources. then i discover that there is a whole big world around us that we should have a glimpse of. thanks to <a href="https://timbu.com">timbu</a> for providing so many affordable location options which help me plan and made a good road trip budget. after seeing through a bit of <a href="https://timbu.com/benin">benin, cotonou</a>, i promised myself to do <a href="https://timbu.com/ghana">Ghana</a> next vacation. I can't wait to have a feel of their perspective on life, culture, etc. Meeting new people humbled me, first how they received me: some receive me with love, some with fear and distrust, while others were not sure, but all were amazing.
as a software developer, my first observation is the technology penetration and I found that quite a lot has been done, but more needs to be done. with the little I could do, I felt like I would be a software god if I'd relocated to Cotonou but I made some friends and we are thinking and also planning to add some value. you should travel and see for yourself; I can only say there is an enormous opportunity in Africa, I just go make some money and plan my next vacation travelings cos <a href="https://timbu.com">timbu</a> gat me covered. who up for my next road trip!!
Matching multipart request bodies with VCR
Tags: vcr, http, multipart, kabisa
Published: 2019-08-20 13:35:23

When using VCR to test a HTTP multipart request, you might experience mismatching cassettes because of multipart boundaries. Multipart boundaries are most often randomly generated by the HTTP library or browser, so when VCR tries to match a multipart request with a cassette, the boundaries will be different and the match will fail.

However, it is quite simple to replace the random boundaries by fixed ones before matching requests. A multipart request will have a `Content-Type` header, which not only makes the request recognizable as multipart request but also specifies the exact boundary that is used. In this case I took a cassette from a Ruby project, so the `Content-Type` looks like this:

    multipart/form-data; boundary=----RubyFormBoundaryTsqIBL0iujC5POpr

Given this header we should be able to simply replace the boundaries with a fixed value. VCR has a configuration option called `match_request_on`, which is an array that accepts symbols for predefined request matchers (see https://relishapp.com/vcr/vcr/v/5-0-0/docs/request-matching) or a callable (Proc, Lambda). I'm not a real fan of using procs for this but as long as we create an object that responds to `call` we will be fine:

```ruby
class VCRMultipartBodyMatcher
  MULTIPART_HEADER_MATCHER = %r{^multipart/form-data; boundary=(.+)$}
  
  def call(request_1, request_2)
    normalized_multipart_body(request_1) == normalized_multipart_body(request_2)
  end

  private

  def normalized_multipart_body(request)
    content_type = (request.headers['Content-Type'] || []).first.to_s
  
    return request.body unless multipart_request?(content_type)
  
    boundary = MULTIPART_HEADER_MATCHER.match(content_type)[1]
    request.body.gsub(boundary, '----RubyFormBoundaryTsqIBL0iujC5POpr')
  end
  
  def multipart_request?(content_type)
    return false if content_type.empty?

    MULTIPART_HEADER_MATCHER.match?(content_type)
  end
end
```

Now we can tell VCR to use our custom matcher:

```ruby
VCR.configure do |config|
  config.default_cassette_options = {
    match_requests_on: [:method, :uri, VCRMultipartBodyMatcher.new]
  }
end
```

Now, when running the test the boundaries of the request and the cassette will be equal, so the cassette will only mismatch if the request parameters differ. 👍

Do you need help with testing your application? At Kabisa we know a lot about writing good tests. [Leave us a message](https://www.kabisa.nl/contact/) if you would like to get in touch.
Some of my best posts from Medium
Tags: introduction
Published: 2019-08-20 13:32:20

---
title: Some of my best posts from Medium
published: true
description: A small intro
tags: introduction
---

Dev.to has been growing as a large software community that contains some good posts about our trade.

I have written some posts at Medium that are quite popular and my next few posts will be the cloning of these to dev.to

Hope you all like it.