teleren/devto huggingface dataset:
Most Popular Development Posts Of The Week (05 December 2018)
Tags: frontend, ux, webdev, design
Published: 2018-12-06 13:20:15

---
title: Most Popular Development Posts Of The Week (05 December 2018)
published: true
tags: frontend,ux,webdev,design
canonical_url: https://medium.com/daily-now/most-popular-development-posts-of-the-week-05-december-2018-b741c876ccd8
cover_image: https://cdn-images-1.medium.com/max/1024/1*r7AEQJEQ48aPgJ4lDphVAA.jpeg
---

No matter how brilliant your mind or strategy, if you’re playing a solo game, you’ll always lose out to a team

- [Little Habits That Make You Smarter](https://app.dailynow.co/r/4d6753829bb7a0454e5b89647ac23b84) by [Tiffany Sun](https://medium.com/u/168304bc5c01)
- [5 CSS tips you didn’t know you needed](https://app.dailynow.co/r/3b747f04b853e7fe2110466662a1c73a)
- [Console.rules()](https://app.dailynow.co/r/c350ccd9cccc3936d6134bcc7978c27d) by [irene.tomaini](https://medium.com/u/5bd66c97ac41)
- [Effective remote work — you need a separate office space](https://app.dailynow.co/r/8dceba6aad8fd235fd18dfc4671119d9) by [Dawid Bałut](https://medium.com/u/fa6e519f9efe)
- [Funny Things Developers Say!](https://app.dailynow.co/r/db2d14aef6c73360d812ae6f4baaec64) by [Constantin](https://medium.com/u/a0b1338d1c79)
- [How programming Language Works in less than 2mins](https://app.dailynow.co/r/dc0899146e8fa278aa00859263ab9f1d)
- [Skills that Every Professional Web Designer Must Possess](https://app.dailynow.co/r/7bebace11d40896b272abef640ac4d67)
- [Image Reveal Hover Effects](https://app.dailynow.co/r/7021e495125e87ec29dff932c847bee6)
- [UX/UI Mobile App Design Trends in 2019](https://app.dailynow.co/r/b773f34c2e31e19a51179e08cc2d0d94)
- [10 Node Frameworks to Use in 2019](https://app.dailynow.co/r/33c09926f7077253ec9da11b08c83d7a)

* * *

[_Thanks to Daily_](https://www.dailynow.co/) _developers can focus on code instead of searching for news. Get immediate access to all these posts and much more just by opening a new tab._

![](https://cdn-images-1.medium.com/max/1024/1*m8Uf-6F4Q5AOp_wW6tbKSQ.jpeg)
Top Tips for Working from Home as a Developer 
Tags: workingfromhome, business, freelancedev
Published: 2018-12-05 11:53:18

---
title: Top Tips for Working from Home as a Developer 
published: True
description: A guide to working at home as a dev
tags: working from home, business, freelance dev
---

Many developers work freelance which often means they find themselves working from the comfort of their own homes. Perks such as no commute and being your own boss often leave people thinking that working from home is the dream; although there are lots of pluses to working from home, there can also be a few drawbacks. Here I want to look at a few of the best ways I’ve learned which can make working from home more enjoyable.

Create a Routine

If you allow yourself to fall out of a routine the chances are you will become much less productive. Just as you would with an ordinary office job, [set yourself a start](https://blog.hubspot.com/marketing/productivity-tips-working-from-home) and finish time and try to stick to it. This way it will be much easier to organise your days and make plans. It can also be a good idea to somewhat dress for work as this will put you in the right mindset for a productive day.

Allow Yourself Breaks

You wouldn’t accept having no breaks when working for an employer so don’t accept it for yourself. Carrying on from the last point, creating a routine for yourself will allow you to plan breaks for tea/coffee as well as lunch. [Breaks allow](https://blog.cake.hr/working-home-complete-guide-remote-work/) your mind to refresh and make the most of the time you are working.

Set Yourself Goals

When working in an office it is likely that you will be set goals and objectives. However, working for yourself, of course, there is no one to set these goals for you but yourself. Give yourself goals which are achievable but will still take work. This will give you a benchmark against which you can measure your success.
 
Be Sure to Network

One of the biggest issues people can face when working from home is the feeling of isolation. No longer having colleagues around you and spending much of the day working alone can be quite a lonely experience. To overcome this, it can be helpful to [go to networking events](https://www.axa.co.uk/business-insurance/business-guardian-angel/how-to-run-your-business-from-home/). Not only will these events mean you get the social interaction you are missing, but you might also come across some great business opportunities. Networking can also be a great way to meet mentors who can use their expertise to guide you to success. 

Know When to Stop

When you work in an office, you know when the day has come to an end because you have clocked out and on your way home. However, when you work at home it can be harder to know when to [switch off and stop](https://www.worktolive.info/blog/bid/351410/stress-management-how-to-switch-off-job-stress-at-home). Try to allow yourself to fully enjoy the weekends and evenings without feeling like you should be working or making amendments to that project due soon.
Is it that hard to get a job in Europe? 
Tags: discuss, career, computerscience
Published: 2018-12-05 11:30:26

---
title: Is it that hard to get a job in Europe? 
published: true
description: 
tags: discuss, career, computer-science 
---
Hey, 
I'm mainly a web developer who came from a very small country named Bangladesh. I started my master's in Computer Science in Linköping University, Sweden this year. 

Since then, I'm actively looking for a IT job. I've applied over 200 jobs and I was called for interview only once. 

Why does it seem very hard to get a job in here? 

- Is it because I'm not a native Swedish?

- Or is it because I don't have my masters degree yet?
Your very own speaking chatbot
Tags: chatbot, speech, javascript, regularexpression
Published: 2018-12-04 23:57:09

---
title: Your very own speaking chatbot
published: true
description: A simple JavaScript chatbot using web speech API and regular expression
tags: chatbot, speech, javascript, regular expression
canonical_url: https://github.com/victorqribeiro/myChatBot
---

# myChatBot

A simple JavaScript chatbot using [Regular expression](https://en.wikipedia.org/wiki/Regular_expression) and [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API)

A live version is hosted [here](https://victorribeiro.com/myChatBot)

## Basic rules

Right now there's only a few rules written. The bot can answer "what is your name", "how old are you", "what day is today" and "what day is tomorrow". But you can, of course, increment that.

## How to write rules

I do recommend to take a look at regular expression and see how it works. But, let's pretend we are interested in knowing if the user are asking about our age (we being the chat bot). So, a questio like "How old are you?" you translate in the following regular expression:

```javascript
/.*how.*old.*you.*/
```

The bot would understand the rule as *anything* how *anything* old *anything* you *anything*.

Very simple, eh?!

So, the bot is really just a collection of rules, that are defined as objects:

```javascript
{rule: /.*how.*old.*you.*/, response: "I don't know how old I am"}
```

you can get fancy, but setting the response to the number 1 and writting a function to deal with the respose:

```javascript
{rule: /.*what.*do.*you.*think.*about(.*)/, response: 1, action: dealWithQuestion}

function dealWithQuestion(question){
  return "I don't like "+ question + " very much!";
}
```

In this case, the parentesis means that you want to capture whatever comes after *what do you think about*. So, if the question is "what do you think about coconuts?" the answer would be "I don't like coconuts very much!".

The code is [here](https://github.com/victorqribeiro/myChatBot)
📈 What is the size of dev.to community we could expect in a year?
Tags: discuss, meta
Published: 2018-12-05 10:52:29

---
title: 📈 What is the size of dev.to community we could expect in a year?
published: true
description: The forecast of the potential size of dev.to community in a year.
tags: #discuss #meta
cover_image: https://thepracticaldev.s3.amazonaws.com/i/94vuxbevugiby96fwu1r.jpg
---

Writing an article is not only about writing but also about reading – how many people will read your masterpiece. The existing dev.to community probably the best place at the moment, and definitely really **“live”** community of developers. Hopefully, we will be able to make the community even better and more and more people will join us soon.

Inspired by this [article](https://dev.to/biros/where-are-dev-users-coming-from-4l53) I wanted to find out, what’s the number of users joining dev.to every month and what’s the size of the community, we could expect by the end of the next year. Fortunately, it was possible to do with dev.to API. Special thank you to [Alexander](https://dev.to/proalexandr), who grabbed all that data for me.

![image](https://user-images.githubusercontent.com/2697570/49506999-d30a4200-f87f-11e8-9ea4-43c30007eba4.png)

I took the data since the beginning of 2017 and until November 2018. We could mention on the chart that there are no significant explosions and despite of a few peaks we have stable users monthly growth. In 2017 we had 3k-3.5k average monthly growth of users, so **at the end of 2018**, we will have around **6-6.5k per month**. 

![image](https://user-images.githubusercontent.com/2697570/49507029-df8e9a80-f87f-11e8-9774-18293806ab93.png)

Based on trend line we could calculate that at the end of next year dev.to the community will have at least 220k users and every month 10 thousands new users will join us.

**But I have a personal feeling that 2019 will be a great year for dev.to and we will end up with 500k users. What do you think?**
Best ICO Development Company
Published: 2018-12-05 09:58:46

---
title: Best ICO Development Company

published: true
description: ICO Development will help you to raise a successful Initial Coin Offering. We have practiced hard and developed ourselves in producing quick and reliable solutions needed to launch your ICO successfully and raise crowdfunding.ICO services we offer in ico development are White Drafting, the purpose of the token, roadmap strategy, marketing, coin development, Blockchain integration, support. 
tags: 
---
JS full stack aspirers unite
Tags: programmingbuddies, javascript, webdev, beginners
Published: 2018-12-05 09:56:26

---
title: JS full stack aspirers unite
published: true
description: Looking for programming buddies
tags: #programmingbuddies #javascript #webdev #beginners
---
I'm currently learning JS full stack web development. I already have some experience with Ruby On Rails full-stack web development so I'm not completely new to programming.

My starting point is learning ES6 and I will then move on towards NodeJS and Express. For the front-end, I want to try out the 3 big frameworks (Angular, Vue and React) and see which suits me the best.

I'm pretty confident that I'm not the only doing this, so it would be great to have a buddy or a group of like-minded individuals during this adventure so we can keep each other motivated and learn from each other.

Interested? I made a Discord channel where we can meet: https://discord.gg/7DwaFRm
A Guide to DevOps
Tags: devops, linux, wiki, guide
Published: 2018-12-05 08:44:40

---
title: A Guide to DevOps
published: true
description: A Wiki that could be used as a reference for all those wanting to get into DevOps
tags: devops, linux, wiki, guide
---

The other day I stumbled upon a [Post here concerning DevOps](https://dev.to/joehobot/devops-roadmap-5d0), which I've been genuinely interested in for a while. To my amateurism, my curiosity and uncertainty weren't satisfied with the article itself. So I asked a [question](https://dev.to/christopheelkhoury/comment/7b2b), the answer to which, didn't satisfy my curiosity and, well, uncertainty.

**Luckily**, after being stuck in two hours of rain traffic on my way to work, I finished my smoke, got to work and found that [one of my co-workers](https://github.com/jadsalhani) was kind enough to send us a very, beautiful, [link](https://github.com/Leo-G/DevopsWiki).

That's how Christmas came early for me.

I hope it helps you guys!
Magic shop (c266276)
Tags: beginners
Published: 2018-12-05 07:54:31

---
title: Magic shop (c266276)
published: true
description: When you like to work with on a computer, but don't know what to do.
tags: beginners
cover_image: https://thepracticaldev.s3.amazonaws.com/i/jj0mgjvidkwdfm235d10.png
---

Recreational programming is a thing you do while nobody is watching you. So mine thing for the next few months will be about gamedev. 

So brace yourself :)

There are many tools on the market, which remove a ton from a game developer. I am speaking about game builders, engines, assets etc etc. But my primary goal is to experience whatever challenges gamedev has to offer.

here we go: my first [game](https://github.com/exbe/magicshop).

I actually spend more time on it, more than 15min. Which is kinda embarrassing, because:
- the game doesn't have any interactions with a human being
- no game loop whatsoever
- play it through test
- extremely boring

So how do you play it?

Run test, which would execute two actions with different outcomes. What's all.

Did I mention it is embarrassing?

This is what you got using bottom-up design-driven approach using TDD. So blame Uncle Bob for promoting TDD, not me.

On a serious note.

Q: Why bottom-up design is a choice here? 
A: I have no experience nor skill nor time to start from big picture.

Q: Why java?
A: It is my primary language as of now and it might be used for desktop, lambda, web, mobile...

Q: Why I see a single class with few trivial methods?
A: Because it is enough to "play" first scenario. I don't need any other interactions nor components.

Q: It is not a GAME!
A: According to definition ("activity engaged in for diversion or amusement", Merriam-Webster) it actually is.
Participated in game off this year
Tags: gameoff, gamedev, gamejam, godot
Published: 2018-12-05 07:06:17

---
title: Participated in game off this year
published: true
description: A 2.5D platform game made in Godot for our Game-off entry
tags: game-off,gamedev,game-jam,godot
cover_image: https://thepracticaldev.s3.amazonaws.com/i/uutbqdo2dr93soq9587s.png
---
This year we have participated in year end Game-off competition.It was a longest game-jam I have ever participated in lasting 30 days.
This year theme was "Hybrid".
So,We wanted to create something that mixed two things.So we decide to make a 2.5 platformer game.Godot was our first choice as its easy to work with.We decided to focus on the programming itself and not on the art side.So,we borrowed open art and music and really worked well with the game.We made few loopholes and mistakes and I think this is the whole point of GameJams.

Here's the entry:
https://itch.io/jam/game-off-2018/rate/337851

Here's the repo link for reference:
https://github.com/Javasamurai/Flatadventures

I am open to honest review. :D
Write better code: Day 1 - Highest Product
Tags: challenge
Published: 2018-12-05 06:01:32

---
title: Write better code: Day 1 - Highest Product
published: true
tags: challenge
---

This post originally appeared on [Arjun Rajkumar's](https://www.arjunrajkumar.in)  blog. Arjun is a web developer based in Bangalore, India.

--


### Day 1: Question 2

Given an array of integers, find the highest product you can get from three of the integers.

The input array_of_ints will always have at least three integers.


[Question from InterviewCake](https://www.interviewcake.com/question/ruby/highest-product-of-3?section=greedy&course=fc1)


If you want to follow along, feel free to post your answers below. 

My answers are in the comments.
AoC Day 5: Alchemical Reduction
Tags: adventofcode, discuss
Published: 2018-12-05 05:12:57

---
title: "AoC Day 5: Alchemical Reduction"
published: true
description: "Day 5: Fun with chemistry and polymers that cancel each other out."
tags: adventofcode, discuss
cover_image: https://thepracticaldev.s3.amazonaws.com/i/3515p3lgnt8b2gkxfkmj.png
series: Advent of Code
---

Alright!  We got through Day 4.  It's done.  We completed the tasks given to us.  For most of us, it is dead to us and we will speak of it no more.

[Day 5 is upon us!](https://adventofcode.com/2018/day/5)  Today is all about the chemistry.  We've got long strings of "polymers" that may or may not cancel each other out.

I'm hoping that people are more satisfied with their solutions this go-around.  🎄😬

Good luck!
💬 devSwag #7 - Loads of stickers + Telegram Access
Tags: programming, beginners, opensource, showdev
Published: 2018-12-05 05:01:52

---
title: 💬 devSwag #7 - Loads of stickers + Telegram Access
published: true
description: 😎👕🧦 Keep yourself updated with the latest swag opportunities for developers!
tags: programming,beginners,opensource,showdev
canonical_url: https://medium.com/swag-for-dev/devswag-7-loads-of-stickers-telegram-access-a3c44c270bea
cover_image: https://thepracticaldev.s3.amazonaws.com/i/zx3npdkvscejgsreidjr.jpg
---
Hello dev.to! 👋

Here are some new swag opportunities found in the wild:
1. [Gatsby](https://www.gatsbyjs.org/docs/contributor-swag/) - Get a pull request merged into Gatsby and receive a free shirt, socks, or stickers.
1. [Kong](https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributor-t-shirt) - Everyone who gets 1 PR accepted to a Kong repo can get a Kong Contributor T-shirt!
1. Some unverified low-hanging opportunities are listed below:
    * https://www.vultr.com/swag/
    * https://jsbin.com/help/stickers/
    * https://7php.com/stickers/

You’re invited to join our telegram community (https://t.me/devswag) to get quicker notifications about new swag opportunities. It’s a place meant to share your swag experiences, talk about new features, discuss about the quality of swag, etc.

To get these updates in your inbox, subscribe to our newsletter: https://upscri.be/67d2fa

You can find the complete list on our website: https://devswag.io/
What not to save into a Git repository
Tags: video, git, podcast
Published: 2018-12-05 05:00:34

---
title: What not to save into a Git repository 
canonical_url: https://zellwk.com/blog/what-not-to-save-into-a-git-repo
video: grKh2Sl35bE
podcast: 1270426d
tags: video, git, podcast
description: You already know Git is like a save point system. What you've done so far is to learn to save. But how do you undo, and go back to a previous state? That's what we're going to cover 
published: true
---

 {% youtube grKh2Sl35bE %}

You should not commit these four types of files into your Git repository. 

1. Files that don't belong to the project 
2. Files that are automatically generated 
3. Libraries (depends on the situation)
4. Credentials


## Files that don't belong to the project

Files like `.DS_Store` (for Mac OS), `Thumds.db` (for Windows), `.vscode` (for code editors) have nothing to do with your project. 

They should not be checked in. 

## Files that are automatically generated

This includes files from preprocessors (like Sass to CSS). You don't check in the CSS. You check in the Sass files. 

If you use JavaScript compilers like Webpack or Rollup, you don't check in the generated JavaScript file. You check in the code you write. 

## Libraries

If you don't use a package manager, you should check in your libraries. This is because if you want to download the library, you have to: 

1. Google for the library 
2. Get to the website
3. Find the link
4. Download the library 
5. Put into your project

This process is tedious. If your code needs the library to work, you should check in the library. 

On the other hand, if you use a package manager, you shouldn't check in a library because you can install the library with a single command like `npm install`. 

## Credentials

You shouldn't store credentials like usernames, passwords, API keys and API secrets. 

If someone else steals your credentials, they can do nasty things with it. I almost lost $40,00 to $60,000 because a friend accidentally exposed my amazon credentials. Luckily, the amount was waived. 

If you don't want to get into sticky situations like I did, then don't store your credentials in a Git repository. 

<hr>

Thanks for reading. This article was originally posted on [my blog](https://zellwk.com/blog/what-not-to-save-into-a-git-repo). Sign up for [my newsletter](https://zellwk.com) if you want more articles to help you become a better frontend developer.
Write better code: Day 2 - Product of every integer
Tags: challenge
Published: 2018-12-05 01:45:25

---
title: Write better code: Day 2 - Product of every integer
published: true
tags: challenge
---

This post originally appeared on Arjun Rajkumar's blog. Arjun runs a [web development company](https://www.arjunrajkumar.in) based in Bangalore, India. 

--


### Day 2: Question 1

You have an array of integers, and for each index you want to find the product of every integer except the integer at that index.

Write a method get_products_of_all_ints_except_at_index() that takes an array of integers and returns an array of the products.

For example, given:

  [1, 7, 3, 4]

your method would return:

  [84, 12, 28, 21]

by calculating:

  [7 * 3 * 4,  1 * 3 * 4,  1 * 7 * 4,  1 * 7 * 3]

Here's the catch: You can't use division in your solution!


[Question from InterviewCake](https://www.interviewcake.com/question/ruby/product-of-other-numbers?section=greedy&course=fc1)


If you want to follow along, feel free to post your answers below.
Write better code: Day 1 - Apple Stock Prices
Tags: challenge
Published: 2018-12-05 01:41:43

---
title: Write better code: Day 1 - Apple Stock Prices
published: true
tags: challenge
---

This post originally appeared on Arjun Rajkumar's blog. Arjun is a [web developer based in Bangalore, India.](https://www.arjunrajkumar.in) 

--


I'm going to spend 1-2 hours/day solving different algorithms. [More about this here.](https://dev.to/arjunrajkumar/writing-more-efficient-code-1imb)


### Day 1: Question 1

Write an efficient method that takes stock_prices and returns the best profit you could have made from one purchase and one sale of one share of Apple stock yesterday.

```
For example:

  stock_prices = [10, 7, 5, 8, 11, 9]

get_max_profit(stock_prices)
# returns 6 (buying for $5 and selling for $11)
```

No "shorting"—you need to buy before you can sell. Also, you can't buy and sell in the same time step—at least 1 minute has to pass.

[Question from InterviewCake](https://www.interviewcake.com/question/ruby/stock-price?section=greedy&course=fc1)


If you want to follow along, feel free to post your answers below.
Critique My Day Job, Please.
Tags: feedback, critique, showdev
Published: 2018-12-04 23:58:25

---
title: Critique My Day Job, Please.
published: true
description: 
tags: feedback, critique, showdev
---

If any of you have looked at my profile, ([Holy shit I'm at 1000 followers](https://dev.to/jackharner)) you'd see I'm the "Marketing Director" for [Shoolu.com](https://shoolu.com). Most of my day to day is doing what I can to drive users to the website. Being web developly inclined, that naturally turned into maintaining and adding features to the website. I didn't initially built the site, but at this point, there's not a part of the design that I haven't tweaked or worked on.

## [I would love your feedback on the site.](https://shoolu.com)

_I'm not trying to get you to buy anything, I'm just trying to get your help so I can get other people to buy things._

I'd love any and all feedback you have on Layout, UX/UI, the fonts, the code, random bugs or literally anything. There are some things that are kind of hacky or bad practice, and if anyone finds anything like that, I'll gladly explain why I made those decisions (or I just suck, one of the two). 

Thanks In Advance!