teleren/devto huggingface dataset:
Poco - Docker extension
Tags: docker, devops, showdev
Published: 2018-05-08 07:38:53

---
title: Poco - Docker extension
published: True
description: 
tags: docker, devops, showdev
---

Working in a big team with a large amount of projects requires a lot of time of local environment configuration. It's really hard to predict how much time it can take to configure local env for particular project. 

Docker is a tool that can help with that. It will isolate environments and automate local env configuration which can reduce amount time and problems of local env configuration.

Docker is a great tool, however we thought that we can improve our daily routines. So we decided to create a tool called Poco.

Poco will help to initialise and run any project of any complexity with simple command line interface. Developers who doesn't familiar with docker will be able to start any project without any problem.

Benefits:
- simple command line interface. Even managers will be able to use Poco.
- create your own project catalogs/registries or use GitHub Gitlab integration so there will be no need to use other tool to list and clone your projects.
- create multiple environments for production, development, demo purposes or custom.
- split configuration files to keep them small, reusable and easy maintainable.
- Poco supports Docker-Compose, Kubernetes, Helm, Git, SVN.

More information about Poco you can find here - https://getpoco.io.

And one more thing. Poco is an open source project.
Relax, it's just code.
Published: 2018-05-08 04:08:42

---
title: Relax, it's just code.
published: true
description: 
tags: 
cover_image: https://img.buzzfeed.com/buzzfeed-static/static/2014-06/16/10/campaign_images/webdr08/21-problems-only-sweaty-people-will-understand-2-25895-1402928363-13_dblbig.jpg
---

A new codebase can be intimidating. In it lies the unknown. Bugs, spaghetti code, badly named variables, etc. During my trajectory as a developer, I've had to work on many codebases spanning multiple languages and technologies. Working on a new codebase used to make me a bit nervous. It's why I developed a system to turn those feelings into a net positive. In this post, I will share with you my system. Read on, it's pretty simple.

## Stick to the basics

Every codebase is made up of data structures and algorithms. No matter the language. Everything revolves around those two things. By focusing on those two basic building blocks we can navigate our way around a codebase to gain insight and confidence.

Take notes of the data structures and break down the algorithms from the point of view of how those data structures flow through the program. Use comments, breakpoints, and print statements to document the flow of data.

One common gotcha of really awful codebases (commonly written in PHP and Java for some reason...) is that the data structures are defined as database tables. Keep this in mind when you are looking for the basics. Make sure to check stored procedures as well. 😉

## Build on past success

Impostor syndrome tends to hit extra hard when we start working on a new codebase. It's absolutely normal to feel like that because new codebases bring new challenges we haven't faced before.

The way to attack this head on is to look back into our past success. Think about past work you've done on other codebases. Work that made the client (company) happy. Think back to how at the start of that same project you felt similar to how you feel now. You succeeded in spite of those feelings.

## Start the race from the finish line

What does the end product look like? What do you have to deliver? This is not about specifications. This is about the actual finished product. What is it? 

Define the end product in extreme detail. Fixing some weird crash on Android? Then define what the end product will be without the crashing. 

Figure out your interfaces. What will your fix look like from the outside? Maybe the crash is related to a memory leak. Your interfaces must then revolve around avoiding memory leaks.

Hook your interfaces into the codebase. Make them pass through. Meaning that you are calling an interface that does nothing. Then dig into whatever data is flowing through. 

Add your code to the interfaces. At this point, you are done looking for the problem and implementing a solution.

## Take time off and rest

Tired developers cannot be effective developers. Taking some time off when working on a new codebase will allow you to ease into it rather than jump. It's better to enter the ocean through a nice warm beach than to jump from a cruise ship.

> Happy coding!
Evaluate your Managed Web Hosting Service Provider with these questions
Tags: managedhosting, webhositng, mangentohosting
Published: 2018-05-08 02:40:31

---
title: Evaluate your Managed Web Hosting Service Provider with these questions
published: true
description: Here is the checklist to for your to evaluate who could be the best Magento hosting provider, understand who could be the best fit for your website and business. Download now.
tags: #ManagedHosting #WebHositng #MangentoHosting
---
Giving a guarantee/SLA on the site support is simply not only the deciding factor to choose a Hosting provider. It is the deep domain expertise in e-commerce / Magento, regardless of their claim is what needed. Check your #Magento #Managed #Service #Provider with these questions:http://www.i95dev.com/choosing-best-magento-managed-hosting-provider/
How to Add 🦄LazyLoading to the react🔔 using React Loadable
Tags: react, lazyloading, webpack, javascript
Published: 2018-05-08 02:22:26

---
title: How to Add 🦄LazyLoading to the react🔔 using React Loadable
published: true
description: lazy loading in react
tags: react,lazyloading,webpack,javascript
cover_image: https://images.pexels.com/photos/271818/pexels-photo-271818.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260
---


React Loadable makes lazy loading very easy so that you will need not to worry about downloading a large number of bytes. React Loadable splits your code into chunks  so that you only serve required bytes.

First clone my React-Router Boilerplate

```
git clone git@github.com:saigowthamr/React-router-v4-boilerplate.git reactlazy

cd reactlazy

npm  i // to install dependencies

npm start // to start dev server
```


I have made a clear separation of header and router config files so that it is easy to read.

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

App folder structure should be like above image.


Now let's install ReactLoadable package

```
npm i --s react-loadable
```


In our Boilerplate, I have added two routes.

But there is no content in that two routes so that I'm adding now some
dummy content in the app.js file.

{% gist https://gist.github.com/saigowthamr/c35ec8e659b1302d81ca974435d8a31e %}

Without Lazy Loading there is the single bundle.js file.

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


Let's add Lazy loading to our Home route.

For these, I created a lazy.js file in router folder
![](https://thepracticaldev.s3.amazonaws.com/i/w538xpfnvb5m8n2qzt4n.png)


Now in the lazy.js file, we need to import the react-loadable package and Loading Component.

{% gist https://gist.github.com/saigowthamr/ddc104f867bc14dbd490a07b10d7477e %}

ReactLoadable function takes options which are loader property and loading

**loader**: we need to tell the which component you need to load lazily.

**loading**: Meantime load this loading component So that user does not see the white screen for a long time.

Now lets update router.js.

{% gist https://gist.github.com/saigowthamr/de02ca5a2815327daff8736c1c43dbac %}


Let's see what is happening now when we a load home route. For these, I enabled network throttling.

![lazy loading](https://thepracticaldev.s3.amazonaws.com/i/1ro6qf95ebs9ogrcptqs.gif)


Have you seen we are now loading in chunks instead of single bundle.js file and meantime we are showing loading component.

[CodeRepostiory](https://github.com/saigowthamr/Lazy-Loading-React)
Liveshare for VS Code is Here!
Tags: discuss, pairprogramming, visualstudiocode, debugging
Published: 2018-05-07 23:24:58

---
title: Liveshare for VS Code is Here!
published: true
canonical_url: https://www.iamdeveloper.com/posts/liveshare-for-vs-code-is-here-43km/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/q8xtqj12h6y3xoit6a83.jpg
tags: discuss, pairprogramming, visualstudiocode, debugging
---

Cover photo care of Flickr user [Uli Harder](https://www.flickr.com/photos/uli_harder/5560767146/in/photolist-9tookC-9LPRrk-tYM7xa-BcWBg-8G9GHF-d8Sjkf-hBbNev-eXFkhE-5gqu7R-4eGeKQ-B7hcL-5gMzyu-boVdF6-b8eZrt-947AeF-dajG7G-dcAHH9-qPrUdt-5XWGZy-261ma8h-74NzDS-ncH6po-42Rs34-9JuLYY-c1cE7J-9XEaNC-6KmrxV-ayR5Jq-o8qFc8-dUZwWV-7N52iZ-ahCnZN-7qt7zT-AP9sH2-4Zo4B5-7bHaF2-eUVf2P-6Aeccc-osB1ZK-gq3BY-8sKYga-64CcqJ-HcwC4B-b8NFQp-qaXxmf-5BtADN-MT17b-ahzAgz-9XBhVp-5GQYh1)

Liveshare is finally here. It's a public preview, but nonetheless, you have the full power to pair program in the editor now in various languages in Visual Studio Code. You can view/edit code or debug together. This is exciting news!

{%twitter 993629975529041920 %}

Please comment on your experiences with Liveshare and offer any tips to help others out so that everyone can get the most out of it.
What makes maintaining documentation difficult?
Tags: discuss
Published: 2018-05-08 01:53:51

---
title: What makes maintaining documentation difficult?
published: true
tags: discuss
---

I've been working on a [new static site generator](https://orchid.netlify.com) tailored for managing documentation sites, and I am curious as to what people really want/need for their projects' documentation.

For those of you who keep great documentation:

1) Is it better to keep documentation with your code, or managed separately?
2) How do you keep your documentation up-to-date?
3) What tools/processes would make it easier for you to maintain great documentation?

For those of you who don't write much documentation:

1) What is the _main reason_ why you don't write much documentation?
2) How much of your daily workflow depends on reading documentation, and does this impact how much documentation you write?
3) What tools/processes would make it easier for you to start focusing more on documentation?
nuster - A cache proxy server released v1.8.8.1: HTTP/2 support  
Tags: showdev, devops, opensource, linux
Published: 2018-05-08 01:52:18

---
title: nuster - A cache proxy server released v1.8.8.1: HTTP/2 support  
published: true
description: 
tags: showdev,devops,opensource,linux 
---

[nuster](https://github.com/jiangwenyuan/nuster), A caching proxy server based on HAProxy released v1.8.8.1, update to HAProxy v1.8.8, supports HTTP/2.



## Introduction

Nuster is a high performance caching proxy server based on HAProxy.
It is 100% compatible with HAProxy, and takes full advantage of the ACL
functionality of HAProxy to provide fine-grained caching policy based on
the content of request, response or server status. Its features include:

 * All features of HAProxy are inherited, 100% compatible with HAProxy
 * Powerful dynamic cache ability
   * Based on HTTP method, URI, path, query, header, cookies, etc
   * Based on HTTP request or response contents, etc
   * Based on environment variables, server state, etc
   * Based on SSL version, SNI, etc
   * Based on connection rate, number, byte, etc
 * Extremely fast
 * Cache purging
 * Cache stats
 * Cache management
 * HTTPS supports on both frontend and backend
 * HTTP compression
 * HTTP/2
 * HTTP rewriting and redirection

# Performance

Nuster is very fast, some test shows nuster is almost three times faster than
nginx when both using single core, and nearly two times faster than nginx and
three times faster than varnish when using all cores.

See [detailed benchmark](https://github.com/jiangwenyuan/nuster/wiki/Web-cache-server-performance-benchmark:-nuster-vs-nginx-vs-varnish-vs-squid)
AlloyCI v0.6.0 released!
Tags: elixir, ci, projectupdate
Published: 2018-05-07 21:56:39

---
title: AlloyCI v0.6.0 released!
published: true
description: New version of AlloyCI spotted in the wild
tags: elixir, ci, project-update
cover_image: https://images.unsplash.com/photo-1415562689440-4b13ae5da0eb?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=714225fe52d8bc904d2340db9d592173&auto=format&fit=crop&w=3232&q=80
---

AlloyCI v0.6.0 has been released. The biggest change since last release is that it now supports any S3 compatible storage service, in order to store the build artifacts that might have been generated by your project.

This also means that now you can make full use of this feature even in you are running AlloyCI on Heroku.

Check it out! https://github.com/AlloyCI/alloy_ci/releases/tag/v0.6.0

🎉🐣
One Breath - Kotlin and Breathing
Tags: showdev, android, opensource
Published: 2018-05-07 21:46:37

---
title: One Breath - Kotlin and Breathing
published: true
description: A simple Android app that helps you recover your natural innate breathing with a simple breathing exercise.
tags: showdev, android, opensource
canonical_url: https://isscroberto.com/2018/02/27/one-breath/
cover_image: https://isscroberto.files.wordpress.com/2018/04/banner.png
---

A few years ago I discovered meditation and mindfulness and I've been practicing it since then.

As a side effect, I've been also paying attention to breathing. As I become more conscious about it I realize I was constantly breathing wrong. I didn't even know that was possible!

<img class=" aligncenter" style="max-width: 100%;" src="https://media.giphy.com/media/aa9VQ6gg5wCBy/source.gif" width="443" height="250" />

I dived a little more into the subject and I found out that multiple factors such as stress and anxiety mess up with our natural way of breathing.
<blockquote>Breathing provides a gateway between mind and body.</blockquote>
Fortunately, the solution is quite simple. Resetting your natural breathing cycle can be done by performing a slow breathing exercise a couple times a day. A lot of benefits come with good breathing, just to mention a few:
<ul>
	<li>Reduction of stress</li>
	<li>Natural painkiller</li>
	<li>Better sleep</li>
	<li>Controls blood pressure</li>
	<li>Increased energy level</li>
	<li>Improves self-awareness</li>
</ul>
Why not put this technique into an app? I wanted to explore Kotlin, so I created <a href="https://play.google.com/store/apps/details?id=com.isscroberto.onebreath" target="_blank" rel="noopener">One Breath</a>, a very simple app that helps you recover your innate natural breathing with a simple slow breathing exercise.

It has only one main screen where you can set a few preferences and start a new breathing session:
<ul>
	<li>Sound. Enable sound feedback on inhaling and exhaling.</li>
	<li>Duration. Select duration of the exercise, you can choose between 2, 5 and 10 minutes.</li>
	<li>Vibration. Enable or disable vibration feedback on inhaling and exhaling.</li>
</ul>
Once you've set up your settings just tap the dot in the center and the session will start.

<img class="aligncenter  wp-image-154" src="https://isscroberto.files.wordpress.com/2018/03/screenshot_20180212-001442.png?w=1000" alt="Screenshot_20180212-001442.png" width="281" height="500" />

That's all, please take a look at it 🙂 Leave a comment on how can I improve it and a rating on Play Store would be awesome.

Check the <a class="markup--anchor markup--p-anchor" href="https://github.com/robertoissc/one-breath-android" target="_blank" rel="noopener">repo</a> and feel free to contribute.
Staying Focused
Tags: productivity, development, focus, webdev
Published: 2018-05-07 21:27:26

---
title: Staying Focused
published: true
description: How to stay focused in the digital age
tags: productivity, development, focus, webdev
---

Hello, if you're anything like me... you're probably here because there's something else you should be doing right now but aren't. Yes, procrastination is a fickle bitch, however, it led me to think about issues I have had lately with my own focus. I'm not a productivity guru or anything, just someone trying to get my thoughts out of my head and onto paper, so take what I say here with a grain of salt.

Let's begin...


I recently picked up a book called "The Shallows: What the Internet is Doing to Our Brains", link is [here](https://smile.amazon.com/Shallows-What-Internet-Doing-Brains/dp/0393339750?sa-no-redirect=1), also you should be using smile.amazon to buy things so you donate to a good cause. Anywho, this book brought up a lot of good points about how we learn in this digital age, mainly around how we focus on a lot of things and how we can't seem to focus on one thing at a time. 

I had been feeling like I had some kind of 'brain fog', as in, I felt like I couldn't really process any new information. I was taking courses and watching how-to videos on youtube, reading books, etc. None of it was sticking, I panicked because that's an awful feeling to have, that your brain is all of a sudden feeling like an impenetrable wall. Someone on Reddit recommended this book to me because it helped them with the same issues. 

What it boils down to, and the point of my post here is we are in an age like no other, you used to have to sit down with 20 some odd books to find the right passage for one line in a single term paper in a history class. Now that one line is just a simple google search away. Your brain is going 1000 mph and intaking so much information in that it can't process one page at a time. That's what the issue is, sit down and try to read a single long page in a document about an issue, or a news article, a lot of times you'll resort to skimming the text and call it a day. Our brains are evolving in front of our eyes quicker than we can keep up. 

So I urge you, and the point of this post is to slow down, don't feel like you have to learn it all at once. Sure everyone wants to be that 'hacker guy' who knows all the answers in the flip of a switch, but reality doesn't work like that at least at first. There will be a day when you'll know a lot of things about software development, it's inevitable. However, I implore you to focus and hone one thing at a time at first, don't feel like you have to learn Java and Javascript, or C and PHP, don't feel like you have to 'devopsify' all of your projects at first. Get the basics down and focus on one thing, otherwise, you'll end up knowing a little about a lot of things that don't really help you much in your developer job. 

Thanks for reading. 

Rob
Why do we need diversity on our teams?
Tags: feminism
Published: 2020-10-06 14:59:41

---
title: Why do we need diversity on our teams?
published: true
date: 2018-05-07 21:09:45 UTC
tags: Feminism,feminism
canonical_url: 
---

Let’s overlook the statistical justice of having a diverse team. Let’s overlook the social justice of working on a team with high diversity. Go directly to why you, someone interested in having business at the end of the year, are also interested in having a diverse team… [Continue reading "Why do we need diversity on our teams?"](http://delawen.com/2018/05/why-do-we-need-diversity-on-our-teams/)

The post [Why do we need diversity on our teams?](http://delawen.com/2018/05/why-do-we-need-diversity-on-our-teams/) appeared first on [Délawen](http://delawen.com) written by [María Arias de Reyna Domínguez](http://delawen.com/author/delawen/).
What feature(s) made dev.to finally stick for you?
Tags: discuss, ux, products, webdev
Published: 2018-05-07 19:42:11

---
title: What feature(s) made dev.to finally stick for you?
published: true
tags: discuss, ux, products, webdev
---

For me it was:
1. Easy social login.
2. Jess' weekly roundup - made it finally stick.


I'm at the social engineering stage now for our main product at work, so your inputs from other products will be helpful as well.
How do you survive over a year of rejected applications?
Tags: career, beginners, help, discuss
Published: 2018-05-07 18:20:56

---
title: How do you survive over a year of rejected applications?
published: true
description: 
tags: career, beginners, help, discuss
---


I'm going to start by saying I'm sorry for this but I don't know what else to do. For 15 months I have been trying to get a coding job. I have a Bachelors in Computer Science, I graduated in 2012. It's a long story, but for years I was told by people I trusted that there was no future in coding and my information flow was heavily restricted. After working as a computer tech for some time, I got back into the coding habit and started looking for work, applying to coding jobs, starting a github, learning python. And for 15 months, despite passing coding tests and white board interviews, I have always been either rejected in favor of "a candidate with more experience" or asked how many enterprise e-commerce applications I have written as side projects.  I saw the thread a while ago on how to get experience, but I have trouble coming up with side projects because well, it's been done already. Should I keep trying?
How to attribute another author when you're committing on git?
Tags: git, versioncontrol
Published: 2018-05-07 16:38:52

---
title: How to attribute another author when you're committing on git?
published: true
description: 
tags: git, version control
---

# Why?
You might find yourself in a situation where you have to commit some code that has been authored by someone else. They might not have access to the repo, or they might be accustomed to Bazaar/SVN/Mercurial but not git, or maybe they're just on a 3 years vacation.
If you commit with the default [global or project config](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup), git will present you as the author.
You should not want that to happen for two reasons: 
1- You might take credit for someone else's work and that's unethical.
2- You might take blame for their shitty code and that's bad.

# How?
For a new commit attributing another person, use this command:  

```bash
git commit --author="Ms. Jane Codeldoe <Jane@Codeldoe.com>" -m "Jane wrote this I'm just committing"
```
How it looks on GitHub:
![Screenshot showing that a commit on Github](https://thepracticaldev.s3.amazonaws.com/i/dop2i6rf2ikrmoh8nuod.png)

For older commits, it's a bit more complicated, you want to avoid being in this kind of situations.
But, there are solutions, you just need to do some good old googling (or Binging, or Duckduckgoing, whatever suits you).
Solutions might vary depending on whether the commit is pushed to remote or not.
Solutions also vary depending on the git hosting service you're using, I've seen GitHub specific solutions that might not work elsewhere.

**_P.S_**
*If you're stuck with this kind of problem, or any other problem you think I might be able to help solve, please contact me at  `msalim [at] boun.cr` . I'll be glad to help with my humble know-how.*