teleren/devto huggingface dataset:
What is your experience with Storybook?
Tags: discuss, productivity, react, webdev
Published: 2020-09-30 08:09:30

Looking into integrating storybook into the company's projects and would love to hear from some of you about your experience with storybook, how did it help in large scale projects and if it was worth it?

Is storybook so good that is has become a must have in large scale projects for you?
🛠 DevOps Developer Ecosystem by JetBrains
Tags: devops
Published: 2020-09-30 07:10:33

What configuration management tools do you or your organization use?

**26% Ansible**
22% Custom solution
 8% Chef
 7% Puppet
 4% Salt
 3% Other
43% None

What server templating tools do you or your organization regularly use?

**60% Docker**
 8% Vagrant
 4% Packer
 1% CoreOS rkt
 2% Other
36% None

What infrastructure provisioning tools do you or your organization use?

**21% Terraform**
19% AWS CloudFormation
 7% AWS CDK
 6% OpenStack Heat
 1% TOSCA/Cloudify
 5% Other
55% None

What container orchestration services do you use in production, if any?

**40% Kubernetes (self-managed or fully managed)**
14% Amazon ECS / Fargate
14% Docker Swarm
 7% Amazon EKS
 2% Mesos or DC / OS
 1% CoreOS Tectonic
 1% Hashicorp Nomad
 3% Other
40% None

How do you deploy your Docker images to the docker repository, if you do?

**44% I deploy from CI / CD**
34% I use only the command line
25% I do not deploy
 9% I deploy with custom / in-house tools
 9% I use a configuration management tool (Chef, Puppet, Ansible, etc.)
 1% Other 
 
Which cloud services do you use?

**62% Amazon Web Services**
30% Google Cloud Platform
25% Microsoft Azure
14% Heroku
 3% RedHat OpenShift
 2% Cloud Foundry
 1% IBM SoftLayer
 1% Rackspace
18% Other
Node v14.3.0 released. Bye Deno?
Tags: node, javascript, deno, webdev
Published: 2020-09-30 08:03:35

One of the most epic releases lately. Top-Level Await and named imports from CJS modules are now supported in [v14.3.0](https://nodejs.org/en/blog/release/v14.13.0/).

Like Deno, it’s now possible to use the await keyword outside of async functions.

Let’s take a look at an example.

We will fetch a random user from a API and say hello.

```javascript
// hello.js
export const sayHello = (name) => `Hello, ${name}!`;
```

```javascript
// index.js
import axios from "axios";
import { sayHello } from "./hello.js";

const { data } = await axios.get("https://api.namefake.com/");

console.log(sayHello(data.name));
```

Add the `type` property in your `package.json` file with value of `module`.

```json
{
  "name": "node-14.3.0",
  "version": "0.0.0",
  "main": "index.js",
  "type": "module",
  "dependencies": {
    "axios": "^0.20.0"
  }
}
```

Run it with the `--harmony-top-level-await` flag.

```bash
node --harmony-top-level-await index.js
```

Output:
```
Hello, Miss Mellie Mosciski!
```

When Node finally supports remote imports, then it's a nail in the coffin for Deno.

*Cover photo by [@cookiethepom](https://unsplash.com/@cookiethepom) on [Unsplash](https://unsplash.com/)*
[Laravel 8 Multiple Images Upload] with Validation Example- Step by Step
Tags: laravel, html, react
Published: 2020-09-30 08:01:14

I will share how to upload multiple images with validation in Laravel 8. Also, to store images in the storage and images path in the MySQL database using laravel.

So, If you want to know how to build a functionality to upload multiple images at once in Laravel 8, then you are in the right place.

This tutor


[[Laravel 8 Multiple Images Upload] with Validation Example- Step by Step](https://rb.gy/vifhhs)
New SEO toolkit Screpy is launched on ProductHunt!
Tags: showdev
Published: 2020-09-30 07:54:09

Today is Screpy day!

Screpy launched on [Product Hunt](https://producthunt.com) now.

A website analysis tool we’ve been hard working on for months.
Will it be interesting? How many subscribers will we gain? We’ll see.
I will continue to share all my experiences.

Please give your feedback about Screpy and support us.
Robotics Automation Process - what is RPA ?
Published: 2020-09-30 07:45:10

Robotics Process Automation 

Nowadays, Robotics Process Automation (RPA) became a useful technology in the business world.  
RPA is based on Machine Learning and Artificial Intelligence (AI) which uses various software to perform a business oriented task. Previously, in many organizations the large volume of data was handled by individuals. But with the use of th RPA all the maintenance of data can be done easily with the help of a few software setup and with zero human intervention.

RPA is based on business process automation where tasks handling in large organisations such as these repetitive tasks like: updating users data, queries evaluation, maintaining databases, these are  done with the help of robotics automation now.

Also software robots are easy to integrate in any system according to the requirements, and the results they provide are relatively more accurate and quicker compared to the human performance.

How does it works?

RPA observes the repeated actions performed by users then the automation is done on those tasks directly . Hence, RPA works on the business existing applications and handles routine tasks like  E-Mail invoice processing, report maintenance and generation, data extraction, access websites and much more.

Benefits of RPA:

1 - Cost reduction –
Using RPA’s for Business Process Automation costs less than hiring employees to do the same tasks.

2 - Reduced operational risk –
RPA provides error free results and reduces the chances of mistakes as work is done by robots and not by humans. 

3 - Saves labor and time –
As the work done by RPA is fully automatic thus it is quick in nature and also reduces manual efforts and time.

4 -Improved accuracy –
RPA provides more accurate results than the manual work.


5 - Simplicity and flexibility –
Working with RPA is very easy as it doesn’t requires any kind of coding and can be integrated on any system hence is flexible by nature.

6 - Reduced workloads –
As most of the tasks in organisations will work on RPA, thus it will lead to lesser workload on employees.

Currently, my company Infosys bpm , is trying to spread the RPA philosophy in all of the departments which is something that I think is very useful to the company itself as well as to employees'satisfaction as they won't be obliged to perform the same boring repetitive tasks which will give them more time to perform other important work.
How often you read (big) technical articles fully
Tags: discuss, career, programming
Published: 2020-09-30 07:40:23

---
title: How often you read (big) technical articles fully
published: true
description: Are you reading technical articles fully or skimming it
tags: discuss, career, programming
//cover_image: https://direct_url_to_image.jpg
---

Hey Devs

How many of you read technical articles fully.

I used to read a lot of technical articles from different sites and I mostly skim through the articles.

Only very few (big) articles I used to read it fully.

And when it comes to listicles I mostly read it fully and bookmark it :P

And most listicles I see have much traction and engagement than other articles especially big and thorough articles.

What is your take on this? And how often you read big technical articles completely or you just skim through most of it
【Vim】Setting to make renaming a file during editing easier with a shortcut
Tags: vim, vimrc, linux, webdev
Published: 2020-09-30 07:25:35

## Introduction

- When I want to do file renaming even when editing vim, I was wondering if it is possible because of the following points.
  - I don't want to use a long command, but a shortcut using key bindings.
  - If I forget to save a command like `:w`, I want to save it automatically.
  - I want to perform a process interactively.
- So, I'll write a simple setting for renaming with the Leader.

## Result

1. Open `.vimrc` (configuration file)

```bash
vim ~/.vimrc
```

2. Write the following to `.vimrc`.

```vim
" setting leader
" Use 「Space + other keys」.
let mapleader = "\<Space>"

" Calling a renaming function
" Enables the renaming process in the vim with 「space + n」.
map <leader>n :call RenameCurrentFile()<cr>

" Define the renaming function
function! RenameCurrentFile()
  let old = expand('%')
  let new = input('NewFileName: ', old , 'file')
  if new != '' && new != old
    exec ':saveas ' . new
    exec ':silent !rm ' . old
    redraw!
  endif
endfunction
```

3. Loading settings in the vim

```vim
:source ~/.vimrc
```

4. As a test, open the file you want to change with vim, press "spacebar + n" to change it as follows, and if it's OK, it's done.

![test](https://dev-to-uploads.s3.amazonaws.com/i/uu5avxlvwtb5enujjcos.png) 

## Link
- [document](http://vimdoc.sourceforge.net/htmldoc/map.html)
🔧 Git: The Story Book
Tags: github, git
Published: 2020-09-30 07:11:31

**Git Cheat Sheet**

**Introduction**

Git is a distributed version control system that supports collaboration through teams in the corporation. Teams of developers and open-source software maintainers basically handle and manage their projects through Git. It is very useful as open-source software toolkit for developers and DevOps engineers.

Git is ready to download it from the official website and is available for Linux, MacOS and Windows.

**Setup Git**

Check your Git version with the following command.

```bash
git --version
```

Initialize the current working directory as a Git repository with the following command.

```bash
git init
```

Clone your projects from hosted remotely Git repositories with specified repo's URL or server location on GitHub or GitLab instances.

```bash
git clone https://www.github.com/username/repo-name
```

Show your current Git directory's remote repository.

```bash
git remote
```

**Staging**

Check the status of your Git repo including files added that are not staged and the files that are staged also.

```bash
git status
```

Include all the available files in the current working directory.

```bash
git add .
```

Remove a file from staging within your working directory.

```bash
git reset CDI.java
```

**Committing**

Commit the staged files with meaningful commit message that you can track your commits later on.

```bash
git commit -m "Added new files"
```

**Branches**

Show all available current branches with the following command.

```branch
git branch
```

Create a new branch on your working directory.

```bash
git branch new-branch
```

Switch to another existing branch and checkout to your current working directory.

```bash
git checkout another-branch
```

Create the branch and switch to the new one to your current working directory.

```bash
git checkout -b new-branch
```

Merge the specific branch's history into the current one's.

```bash
git merge branch-name
```

**Collaborate and Update**

Fetch and merge any commits from the tracking remote branch.

```bash
git pull
```

Push your local branch commits to the remote repository branch.

```bash
git push origin main
```

**Inspecting**

Display the commit history for the currently active branch.

```bash
git log
```
16 Resources I Use To Rapidly Design & Prototype a Website
Tags: html, css, design, webdev
Published: 2020-09-30 07:00:21

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

Hi there everyone 👋

I constantly pump out a lot of templates for my side project and I often get asked how do I do it so quickly, the answer is resources. As a designer, you naturally gather resources for anything design-related over your career.

I'm here to share 50+ resources that help me immensely when wanting to rapidly design a website.

# Landing Page Inspiration

[Welovewebdesign](https://www.instagram.com/welovewebdesign/)
[One Page Love](https://onepagelove.com//?ref=goodcode)
[Landing Folio](https://www.landingfolio.com/?ref=goodcode)
[Pageflow](https://pageflows.com/pages/?ref=goodcode)

# Illustrations

[Blush.Design](https://blush.design/?ref=goodcode)
[Open Peeps](https://www.openpeeps.com/?ref=goodcode)
[Humaaans](https://www.humaaans.com/?ref=goodcode)
[unDraw](https://undraw.co/?ref=goodcode)

# Icons

[Heroicons](https://heroicons.dev/?ref=goodcode)
[Boxicons](https://boxicons.com/?ref=goodcode)
[Feather](https://feathericons.com/?ref=goodcode)
[Iconfinder](https://www.iconfinder.com/?ref=goodcode)

# Colors

[Coolors](https://coolors.co/?ref=goodcode)
[Flatuicolorpicker](http://www.flatuicolorpicker.com/?ref=goodcode)
[Palette.app](https://palettte.app/?ref=goodcode)
[Grabient](https://www.grabient.com/?ref=goodcode)

# So how do you use these resources? 🤔

It really depends. You don't just download an illustration and just put it in your Figma file. Combine it with [Scribbbles](https://www.scribbbles.design/) for example to make it more appealing. 

You don't just go to Coolors and use every single color you find there, you use the 60 30 10 rule. 

# About Me

I'm a Product Designer currently learning how to code and working on [Good Code](https://moeminm.github.io/goodcode), a website where you can download free Adobe XD templates that you can use to sharpen your HTML and CSS skills :)
Laravel pagination with parameters on views
Tags: laravel, pagination
Published: 2020-09-30 06:56:24

Based on this documentation. https://laravel.com/docs/8.x/pagination#introduction

to make pagination in laravel views along with parameters. I use this script.

{% gist https://gist.github.com/rimbaborne/5705334b5ec52c707a9411b740cdf609 %}
Five Daily Activities to Overcome Negative Thoughts
Tags: selfimprovement, personalgrowth, personaldevelopment, lifelessons
Published: 2020-10-01 18:03:08

---
title: Five Daily Activities to Overcome Negative Thoughts
published: true
date: 2020-09-30 06:50:18 UTC
tags: selfimprovement,personalgrowth,personaldevelopment,lifelessons
canonical_url: https://medium.com/illumination/five-daily-activities-to-overcome-negative-thoughts-842b673cdc2e
---

[![](https://cdn-images-1.medium.com/max/2600/0*aDwxyWdqpn3q9rWl)](https://medium.com/illumination/five-daily-activities-to-overcome-negative-thoughts-842b673cdc2e?source=rss-577e2119c7f2------2)

Simple activities to remove negative thoughts in your daily life:
###★Write down your problems.
Writing is like a mental exercise. It can bring psychological relief to the mind.
###★Forget what others are thinking about you.
Most of our negative thoughts are about what people may think if you do or do not do something.
Care about what other people think and you will always be their prisoner. — Lao Tzu
The interesting fact is others don’t really care as much as you think. Unless your activity directly affects another person or their life, they are unlikely to spend much time thinking about you at all.
###★Take deep breaths
Take a 1–2 minutes pause and take some deep breaths. Feel that you’re breathing with stomach and through your nose. Focus on the air going in and out, don’t rush them, be calm; just breath in and out
###★Listen to music
Let the body heal from the outside, when there’s a storm brewing on the inside.
###★Focus on the solution, not the problem
If you focus on the solution, you will get more ways to succeed. But if you focus on the problem, you will find more problems.

[Continue reading on ILLUMINATION »](https://medium.com/illumination/five-daily-activities-to-overcome-negative-thoughts-842b673cdc2e?source=rss-577e2119c7f2------2)
#30daysofgooglecloud
Published: 2020-09-30 06:48:11

#30daysofgooglecloud program starting 1st October

The 30 Days of Google Cloud program will help you provide an opportunity to #kickstart your learning on cloud technology using practice on Google Cloud.

Enroll Now : https://lnkd.in/gHgHZYs

More Info : https://lnkd.in/gnRD9Kb

Discord : https://discord.gg/E77WSfw

Let Start 30 Days Google Cloud Program

Note: The deadline to submit this enrolment is 30th September 7 PM IST


#30DaysofGoogleCloud #gcpcloud # #qwiklabs #cloudcomputing #google #cloud
HACKTOBERFEST2020
Published: 2020-09-30 06:46:41

HACKTOBERFEST2020

Support open source and pick a limited edition T-shirt or plant a tree.
Registration for Hacktoberfest is open starting today.
Make your first Pull Request and earn a free tee from GitHub!
This project is perfect for your first pull request

Hacktoberfest 2020 : https://lnkd.in/eFSCd7j

Hacktoberfest PR 2020 : https://lnkd.in/e5-phAd

 #hacktoberfest, #hacktoberfest2020 #GitHub #opensource
Giveaway alert!
Tags: discuss, gitlab, giveaway
Published: 2020-09-30 06:44:50

All eyes here! Gitlab Meetup Community makes an exciting giveaway! <head><meta charset="UTF-8"></head><body><p>&#128512;</p></body>
* Follow us on [Twitter] (https://twitter.com/GitlabC) and [Dev.to] (https://dev.to/gitlabc) platforms.
* Tap on that<head><meta charset="UTF-8"></head><body><p>&#128151;</p></body>button on any two of our [Dev.to](https://dev.to/gitlabc) posts
* Like & retweet this post on [Twitter] (https://twitter.com/GitlabC/status/1310556349843951619)

Delighted to earn your Gitlab goodies? 

**HURRY UP WE ARE WAITING FOR THAT 1 LUCKY WINNER!**
 
**First 50 followers are on our Goodies' list!**
![Alt text of image](https://dev-to-uploads.s3.amazonaws.com/i/sjm8vdasn7wigpit4fvf.gif)
Return to Haskell
Tags: functional, haskell, codenewbie, meditative
Published: 2020-09-30 06:44:30




I am in and out of functional programming often but each time I come back to it sooner than later, something new is released, something in my overall thinking patterns seems transformed, I feel lighter than I have always been, it feels like cleansing, purifying, being closer to the core. What I mean to say, and there are many ways to say it, is that within this hollow sphere of real world ephemeral things, just witnessing all kinds of hurtful, repetitive, manipulative, angry real life words, I am truly fascinated by the cool expressions Haskell programmers use to describe their code,


Combinations of words that in themselves are not the destination but a point of departure, a description of a possible map of collective interactions, compositions which consist of pure enviless functions, mathematical transparent like objects, which are just so much more than complicated one time operational commands we are ordered to do, like everyday life feels like living sometimes, they remain outside of the computer realm of moving bits and bytes around and engage our humanistic minds into a careful observation of all that is involved, into actually learning to define what is the problem we are trying to solve, a method of how to say more about what.


There is also this underlying vibe of emptiness at work in the sense that as we are thinking functionaly one is immediately becoming aware of how much habitual thinking there is in the mind, of how many seemingly different commands merely point towards do this do that until you do that, and then again, you must enter the object and learn a new operational language and do the same thing all over again, find new meaning for same old words yet again, like doing a different but stupid kind of job where your hands are tied and they tell you its all your fault, just do this and do that, and things cant change because we dont care. 


On the other hand functional approach is mathematical in its essence, a purely algebraic form of reasoning. Remember crossing xss and ys in school, doing equations, remember that one time in early years of school genesis when some parts of math, like early algebra felt like playing with emptiness in space, I do, and I remember others too. But also, and this is what keeps bringing me back to Haskell, even though I am not a professional programmer, nor have I ever worked as one, and even though friends recommend me to start with python, doh, becoming meditative and learning to program a functional language, just for the fun of it, calms my mind, liberating it from within, each new functional expression is a movement towards the inner realm, towards understanding my self again and again. And along the way I learn to discard old meanings again.
Automating some annoying clicks
Tags: bash, learning, automation
Published: 2020-09-30 06:44:14

I just automated away something that annoyed me:

Whenever I'm in some foreign WIFI (e.g. in the train) I need to find the right URL to open in the browser to confirm some dialog or login before having access to the internet.

I recently found out that I can just enter the IP-address of the primary DNS server from my network information into the browser as the most reliable way.

But that's still to many clicks for doing it multiple times a day (e.g. when switching between trains), so I composed a few bash commands to do that for me:

```
xdg-open "http://$(grep "nameserver" /etc/resolv.conf | tr  -d "nammeserver ")" > /dev/null &
```

Let's see what's happening here from inside out:

```
$ grep "nameserver" /etc/resolv.conf
nameserver 192.168.8.1
```
delivers the current primary DNS,

```
... | tr -d "nameserver "
```
drops the first word and space from the previos command so that only the IP address is left,

```
"http://$(...)"
```
prefixes the output from above commands (executed in a sub-shell) to make it a URL

```
xdg-open "..." > /dev/null &
```
opens the default browser (because the string is a URL), 
- `> /dev/null`: without writing some message like "Opening in existing browser session." to the terminal
- ` &`: in the background (without blocking the shell)

I added the whole thing to a new `wifi` alias in my `~/.extend.bashrc`:
```
alias wifi='xdg-open "http://$(grep "nameserver" /etc/resolv.conf | tr  -d "nammeserver ")" > /dev/null &'
```
so it's always on my fingertips :) 

PS: It's not working everywhere (e.g. not in the German ICE trains, thanks Deutsche Bahn) 
and the next hit of `Ctrl+C` adds the output
```
[n]   Done     ...the command...
```
So I'm very open for suggestion of how to improve it.
Word Break | Leetcode Day 29
Tags: python
Published: 2020-09-30 06:39:12

Problem - 
> Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more dictionary words.

Example
"""
Input: s = "leetcode", wordDict = ["leet", "code"]
Output: true
Explanation: Return true because "leetcode" can be segmented as "leet code".

"""

Solution - 

One possible optimization is that instead of iterating and checking all substrings, we know what len substrings are present in dictionary and we check for only those lengths.
```
class Solution:
    def wordBreak(self, s: str, wordDict: List[str]) -> bool:
        dp = [False] * (len(s)+1)
        dp[0] = True
        d = set(wordDict)
        for i in range(len(s)):
            for word in wordDict:
                l = len(word)
                if i+1-l >= 0 and s[i+1-l:i+1] in d and dp[i+1-l]:
                    dp[i+1] = True
                    break
        return dp[-1]
```