teleren/devto huggingface dataset:
More Rails live-streaming: Multi-Step Wizards/Setups & Donations
Tags: rails, ruby, livestream, video
Published: 2019-06-15 18:22:49

---
title: More Rails live-streaming: Multi-Step Wizards/Setups & Donations
published: true
description: I did some more Rails live-streaming, you can watch it! 🤓
tags: rails, ruby, livestream, video
---

Hi everyone 👋 After my first run at this seemed to get positive feedback, and seeing as my next conversation (on Reddit) was about multi-step forms, and that's something I'm about to be working on, I thought that would be a good place to give this another try.

~~I'm going live in 5 minutes here:~~ [~~https://www.youtube.com/channel/UCMuAylRthsIFSBFK4JvF5Pg/live~~](https://www.youtube.com/channel/UCMuAylRthsIFSBFK4JvF5Pg/live)

**Update:** I did it! Link is: [https://youtu.be/ZBGJs-Fm4es](https://youtu.be/ZBGJs-Fm4es)

I'll show you how I handle that design at the moment, and the upcoming work I'm going to be doing that's related to it. Some people were interested in how other people work, so hopefully this might be useful in that respect too.

I'm at home this time, I only have one monitor and it's pretty echoey in here, so I hope this works 🤞
Maslow's hierarchy of needs
Tags: learning, mindmap
Published: 2019-06-17 15:26:46

---
title: Maslow's hierarchy of needs
published: true
tags: learning, mindmap
canonical_url: https://vorakl.com/articles/maslow/
cover_image: https://vorakl.com/files/maslow/maslow.png
---

[Maslow's hierarchy of needs](https://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs) is a theory that shows a path of psychological development in humans through several hierarchical stages. Each stage characterizes a common set of motivations and needs. The important observation is that a certain motivation belongs to an appropriate stage and in order to occur, all previous stages must be well satisfied. The main goal of the Maslow's theory is to show all prerequisites which a human needs to meet for reaching the top level of psychological development - "**self-actualization**" - that can be achieved only when all basic and mental needs are fulfilled.

  

[Self-actualization](https://en.wikipedia.org/wiki/Self-actualization) is the need that is perceived very specifically and is described as the desire to accomplish everything that one can, to become the most that one can be, to realize one's full potential. Maslow used this term to describe namely a _desire_, not a driving force. In his later theory, Maslow also noticed that the fullest realization can be found in giving oneself to something beyond oneself.

  

For me personally, this theory played an eye-opening role in understanding what was that implicit force which has been pushing me for many years to learn, to immigrate, and finally realize where I'm heading to.

![PNG](https://vorakl.com/files/maslow/maslow.png)

Other formats: [PDF](https://vorakl.com/files/maslow/maslow.pdf), [PNG](https://vorakl.com/files/maslow/maslow.png), [TXT](https://vorakl.com/files/maslow/maslow.txt)
Subtle change the Colors of your Visual Studio Code
Tags: quicktips, visualstudiocode
Published: 2019-06-16 07:20:59

---
title: Subtle change the Colors of your Visual Studio Code
published: true
tags: quick tips,visual studio code
canonical_url: https://www.aheil.de/2019/06/15/subtle-change-the-colors-of-your-visual-studio-code/
---

While I was just writing about [using different color schemes for multiple VS Code instances](https://dev.to/aheil/using-different-color-themes-in-vs-code-267l-temp-slug-2212935), I just learned about a VS Code extension called [Peacock](https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock&wt.mc_id=twitter-social-jopapa) by [John Papa](http://@John_Papa) which does this job for you.

>  A Visual Studio Code extension that subtly changes the workspace color of your workspace. Ideal when you have multiple VS Code instances and you want to quickly identify which is which.

![](https://i0.wp.com/www.aheil.de/wp-content/uploads/2019/06/peacock-windows.png?ssl=1)

I’ll probably give it a try as VS Code is used on my machine meanwhile for almost anything I write.
Best Online JSON Viewer tool for Developers
Tags: javascript, onlinetool, json, jsonviewer
Published: 2019-06-15 17:21:04

If you are a web developer then probably you need to interact with JSON in your daily job. Browser Developer tools are good for normal JSON inspection but for large JSON, you might need some tool. [BrijPad](https://techbrij.com/brijpad/) is an online free tool for web developers, it includes JSON tab for different operations.

## Quick Demo

{% youtube nOgU_JFkK1s %}

## Features

- Cool UI , MS Office look and feel
- visualize input and output both side by side
- Tree view to represent JSON and to traverse to the properties.
- Expand Collapse functionality. allows you to expand TreeView to a specific level also.
- Search Functionality
- Filter JSON Fields
- JSON Formatting with different indenting options
- JSON Minification
- JSON to CSV export
- JSON to HTML Table export

## Screenshots

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

## Useful Links

Tool: [BrijPad](https://techbrij.com/brijpad/)
Docs/More features: [BrijPad Docs](https://techbrij.com/category/products/brijpad)
Pre-talk rituals are powerful. What are yours?
Tags: speaking, productivity, talks, conferences
Published: 2019-06-15 16:49:41

---
title: Pre-talk rituals are powerful. What are yours?
published: true
description: 
tags: speaking, productivity, talks, conferences 
canonical_url: https://rizwan-javaid.squarespace.com/blog/2019/6/15/pre-talk-rituals-are-powerful-what-are-yours
cover_image: https://static1.squarespace.com/static/53bf1d9ce4b0974b49e0da7f/t/5d05207ad800ce00010a4a7f/1560617088639/thought-catalog-685327-unsplash.jpg
---

Musicians do it. Athletes do it. Performers do it and I bet you do too.

Some people run around the building or up and down stairs to get their blood pumping.

Some people close their eyes and meditate.

Some people do voice exercises such as tongue twisters. 

Some people get a fresh haircut and pick out their outfit a few days before, sleep early, wake up early, have a solid breakfast, get to the event early to scope out the room and mingle with the crowd to get them ready for their talk. Ok, maybe that’s just my ritual.

Pre-talk rituals are effective in reducing anxiety and to help you shift into a high-performance state of mind. There are no set rules about rituals so experiment to see what helps you get ready and in the moment. 

There are different types of rituals that you can experiment with such as:
- Exertion rituals which include physical activities to get your blood flowing.
- Meditation-based rituals which include breathing techniques and positive visualizations to ground you.
- Mantra-based rituals which include affirmations to calm you.
- Voice-based rituals to get your voice warmed up and clear.
- Location-based rituals to make you comfortable with your surroundings and audience.
- Sound-based rituals such as songs to get you pumped up and ready to go.

Whether you’re starting out with public speaking or have been speaking for some time you probably have a few pre-talk rituals you use to get in the right mindset to perform. I’m curious to hear your take on this. Rituals are unique to each person but it’s a good idea to be open to new ideas we can incorporate and make our own.

**So what are some of your pre-talk rituals?**
30 Days Of AWS (Day 10)
Tags: aws, challenge, 30daysofaws
Published: 2019-06-15 16:48:07

---
title: 30 Days Of AWS (Day 10)
published: true
description: 
tags: AWS, challenge, 30DaysOfAWS
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xk3wcpnc2h8nk8oy9xh6.png
series: 30 Days of AWS
---

Welcome back guys, this week has been a little bit crazy, a lot of work, but I've studied a lot, let's talk about.

The Day Ten I studied Management Tools, CloudWatch and CloudTrail, how the course is about the essentials this topic wasn't covered deeper.

## CloudWatch

It's a service that allows you to monitor services in your AWS account. 

From the official docs "Amazon CloudWatch is a monitoring and management service built for developers, system operators, site reliability engineers (SRE), and IT managers. CloudWatch provides you with data and actionable insights to monitor your applications, understand and respond to system-wide performance changes, optimize resource utilization, and get a unified view of operational health"

Basically, it's a dashboard where you can monitor the services as the following image shows us:

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

You can use it to set up alarms about:

1. CPU Utilization.
2. Service Status.
3. Disk Read and write.
4. The number of object in our S3 Buckets.
5. Your cost in the AWS account.


### Benefits

At work, we are using CloudWatch and we have thousands of benefits like:

1. Infrastructure monitoring and troubleshooting: We have created graphics that let us visualise the application and infrastructure. So we compare the metrics and logs to get root cases of different issues. 

     Thanks to that we have been able to identify issues not visible easily.

2. Resource optimization: That is helpful when you need to identify whether one process is not scaling pretty good, so we fix our scalability rules. 

3. Application monitoring: This is one of the most used at work, we have created several alarms to monitor our lambdas (Serverless apps) and improve our process. 


Besides to complete this day, I was practising creating alerts to identify problems. It's very difficult to show you something related to that.

The result of today's exam.

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

That's all for today.

Thanks for reading.
Top 10 IntelliJ IDEA Plugins to Use as Junior JavaScript Developers in 2019
Tags: typescript, javascript, aws, vscode
Published: 2019-06-15 16:25:18


The article will show you the 10 useful tools to become a successful developer. Most of us have been using the IntelliJ while developing, and still, developers always complain about why there are so many features missing compared to current VS code or Eclipse. Once you spend a little time to invest some useful plugins for your IDE, you can speed up your work as daily.

## Nodejs
As a JavaScript developer, we always need to reference the syntax of Nodejs. That suggests from official Nodejs web.
![](https://thepracticaldev.s3.amazonaws.com/i/ih46n38pcl3cdckmcsls.png)

## Material Theme UI
A better look of the theme can help you identify the code quickly. 
![](https://thepracticaldev.s3.amazonaws.com/i/ebnx8fexcxl8vmbchdco.png)

## String Manipulation
This plugin allows you to change the variable name to whatever case you look for.
![](https://thepracticaldev.s3.amazonaws.com/i/f3gcfyliie6wjmm9n0xs.png)

## Camel Case
Switching variable to Camel Case
![](https://thepracticaldev.s3.amazonaws.com/i/3xa13uoyb0gp6tb5h1c8.png)

## Docker
Easy way to deploy and setup docker image on your editor
![](https://thepracticaldev.s3.amazonaws.com/i/zu9b1l0e4todz9mtwoy2.png)

## AWS Tools Kit
Best plugin for the developer to create a serverless application and provide a lot of features
![](https://thepracticaldev.s3.amazonaws.com/i/uc1fi5dwocywn1mn6z3f.png)

## JS GraphQL
Javascript and Typescript schema and query builder tool
![](https://thepracticaldev.s3.amazonaws.com/i/ercevqztrkmgkjnkwhal.png)

## Eclipse Code Format
Format the code with custom style like the eclipse editor
![](https://thepracticaldev.s3.amazonaws.com/i/ep8d3e5w9roi3k86i44j.png)

## .ignore
Easy git ignore file generator.
![](https://thepracticaldev.s3.amazonaws.com/i/le37quayeqrc5k7oaeik.png)

## Maven Helper
An easy way for analyzing and avoid the dependency conflict.
![](https://thepracticaldev.s3.amazonaws.com/i/lzmzihp6ufsfoiyy0u8f.png)
How do you make sure you get paid?
Tags: discuss, help, career
Published: 2019-06-15 14:58:10

Let's face it, we've all been down this road; a client/company commits to paying by a certain date but ends up not paying or severely delaying.

> You follow up but at some point it feels like you are a nagging individual.


How do you ask for your pay/compensation & ensure you get paid?

How do you deal with clients that don't pay or delay payments?
Micro Frontends: a deep dive into the latest industry trend.
Tags: webdev, javascript, discuss
Published: 2019-06-15 13:43:33

---
title: Micro Frontends: a deep dive into the latest industry trend.
published: true
tags: webdev, javascript, discuss
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1m7neg26n13dwwbpw5a3.png
---

_Image from [https://medium.com/@tomsoderlund/micro-frontends-a-microservice-approach-to-front-end-web-development-f325ebdadc16](https://medium.com/@tomsoderlund/micro-frontends-a-microservice-approach-to-front-end-web-development-f325ebdadc16)_

Patrick, a friend of mine in the web development industry, recently alerted me to the existence of the micro frontend design pattern, and specifically the mini-Twitter-storm it's generating:

{% twitter 1132493678730252288 %}

{% twitter 1132495687957012481 %}

Not to be partial, there are also many on the other side of the fence arguing for this pattern:

{% twitter 1132527290993270784 %}

I sat down with Patrick and we explored this issue in-depth, evaluating both sides of the argument. You can find the whole video attached below:

{% youtube D3wyNyXFxJA %}

Happy coding!

---

This is the first episode of Tech Red Pill, a podcast where we talk and share our opinions on pressing issues and the latest news in the technology sector. Please let us know what you think and/or what you would like to see in the future!
Installing AppImage on Linux
Tags: linux, ubuntu, tutorial, showdev
Published: 2019-06-15 13:33:12

Here's how to install AppImage on Linux:

{% youtube R8etVkZNIgg %}


Using the Terminal:

```bash
chmod u+x <appimage_file>
```

Subscribe to my channel for more videos: https://www.youtube.com/channel/UCltc-sjef-frh0_0bhJBlww
What are your favourite non-tech related podcasts?
Tags: discuss, podcast
Published: 2019-06-15 12:43:45

---
title: What are your favourite non-tech related podcasts?
published: true
tags: discuss, podcast
---

Tell me your favourite non-tech related podcasts.
I'll start with mine -
- [Radiolab](https://www.wnycstudios.org/shows/radiolab) *This is my most favourite one!*
- [99% Invisible](https://99percentinvisible.org/)
- [Invisibilia](https://www.npr.org/programs/invisibilia/)
- [Hidden Brain](https://www.npr.org/series/423302056/hidden-brain)
- [Science Vs.](https://gimletmedia.com/shows/science-vs)

All though I listen to many more sporadically, but these are the ones I try to keep up with.
iOS Biometric Local Authentication of Face Id and Touch ID using Swift
Tags: ios, swift, biomatric, discuss
Published: 2019-06-15 12:33:37

Here are the easy step by step process to follow for biometric authentication to integrate like Face ID and Touch ID using Swift in your iPhone App.

Check GitHub project code here: [BiometricAuthentication](https://github.com/Mindinventory/BiometricsAuthentication).

Else you can Read about how we made this on our blog - [Here](https://www.mindinventory.com/blog/integrate-biometric-authentication-in-iphone-apps/)
Micronaut PetClinic with GraalVM > 19
Tags: micronaut, graalvm, java
Published: 2019-06-15 12:29:17

---
title: Micronaut PetClinic with GraalVM > 19
published: true
description: 
tags: #micronaut #graalvm #java
---

Now you can run Micronaut PetClinic with the (kinda) latest GraalVM Native Image. I will explain the meaning later.

## Build & Run

```sh
$ git clone https://github.com/bufferings/micronaut-petclinic.git
$ cd micronaut-petclinic

# Build Native Image. Please wait for 10-15 minutes.
$ ./mvnw package && docker build -t micronaut-petclinic .

# Start Database
$ docker-compose up -d db

# Run separately to see the log easily
$ docker-compose up app
```

## Start up time

It starts in a few hundreds of millis.

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

## Docker Information

The image size is 130MB.

```sh
❯ docker images micronaut-petclinic
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
micronaut-petclinic   latest              40834e227e19        About an hour ago   130MB
```

and the memory usage is 125MB after using for a while

```sh
❯ docker ps -f name=micronaut-petclinic_app* -q | xargs docker stats --no-stream
CONTAINER ID        NAME                                     CPU %               MEM USAGE / LIMIT    MEM %               NET I/O             BLOCK I/O           PIDS
5c4c627ee81d        micronaut-petclinic_app_1_1350df269f2b   0.07%               124.3MiB / 15.4GiB   0.79%               158kB / 121kB       0B / 0B             11

```

## Background

I created Micronaut PetClinic last month and it worked as Native Image with GraalVM 1.0 RC16 to start surprisingly fast speed in a few hundreds of millis.

{% link https://dev.to/bufferings/micronaut-petclinic-58id %}

A few days later, GraalVM released a production version 19.0.0.
https://medium.com/graalvm/announcing-graalvm-19-4590cf354df8

But unfortunately, my PetClinic doesn't work with GraalVM 19 Native Image. (´・ω・｀)

The cause is this issue:
https://github.com/oracle/graal/issues/1295

and we need this commit:
https://github.com/oracle/graal/commit/c6237d219a91c82b1954dfbfa0898ed917db09eb

The commit hasn't been included in the latest version 19.0.2 released yesterday.

## Docker Image with the latest GraalVM

Then I found it works when I build GraalVM from its master branch. So I created a Docker image with the master branch:
https://hub.docker.com/r/bufferings/build-graalvm-docker

I would like to use it for a while until the commit is included in the GraalVM official release.

With Micronaut, it's so easy to create an application for Native Image, but I would like to talk about it another time (๑•̀ㅂ•́)و✧
Automation of setup.py and pip through Travis CI?
Tags: python, github, devops, discuss
Published: 2019-06-15 11:38:07

Is Travis CI necessary (or even helpful) for [single developer github projects](https://github.com/prahladyeri)?

The way I presently work is I run `setup.py sdist` which generates the tar files for my package which I then upload to PyPi using `twine`.

I want to know how to use travis-ci for a simple project. Is there a simple hello world python project to do this? Its documentation seems complex and there seem to be multiple ways of configuring `travis.yaml` using tox, etc.

Mainly, I want to know:

1. Does travis automatically runs `setup.py sdist` for me?
2. How does it know when to trigger a build?
3. Where does it put the release tarballs?
4. Does it make a github release automatically too?

Also I'm thinking of adding unit testing to my packages. Is `pytest` the recommended or are there any other options too?
What is Tezos?
Tags: tezosblockchain, tezos
Published: 2019-06-15 11:35:10

---
title: What is Tezos?
published: true
description: Here is a description about tezos the next generation blockchain network.
tags: tezosblockchain, tezos
---

Tezos is a blockchain network similar to  Ethereum for developing and deploying smart contracts and decentralized applications. Tezos is the first self-evolving blockchain in the globe.

Tezos is a P2P, distributed, and permissionless blockchain network aiming to make a few notable improvements and innovations in the blockchain.

##Difference between Tezos and Ethereum
 
The smart contract language of the Tezos blockchain is Michelson whereas the smart contract language of Ethereum is Ethereum Virtual Machine (EVM ).
Both EVM and Michelson are stack-based programming language which works by mutating a sequence of data elements to some sequence of instructions.

The main difference between Michelson and EVM are 
 Michelson is written in a human-legible text format and EVM operates as bytes.
Michelson data elements are typed but it is not the same in EVM.

##Baking - What does it mean?

Tezos baking is the action of signing and publishing a new block of transactions to the Tezos blockchain. The process of adding a new block to a tezos network is known as baking also known as Endorsing.

 To get qualified as a delegate, Bakers need at least 10,000 XTZ and if they have additional delegated stake increases chances for selected as a Baker or Endorser. Baking results in a 16 XTZ reward.

##Working of Tezos 
To understands the working of tezos , we must know about the utility of special characteristics of Tezos.
1. On-Chain Governance
2.The liquid Proof-of-Stake consensus mechanism
3.Smart contracts with verifications

Source : [**Bitdeal**](https://www.bitdeal.net/what-is-tezos)
Why iam still learning basic? 
Tags: discuss, javascript, java, android
Published: 2019-06-15 11:27:19

Why? It's beacuse my brain need that, it's like vitamin for me, litlle jealous with new comer but high skilled ( 3 of that language) from me.
Android and severall js tech is still headche for learn, i know how to make it, until i got some project on office to rewrite web apps in php, i must consest to Android and friend. 

Iam focus worker, hate to know some client changes the technology in middle of scheduling, hate to know other people have skilled in new comer of js ecosystem. 

What is should i do? Remind self is going to write my optims for look at tutorialpoint or manual book from official website, for what? Learn from basic! Before i got some work on that field, i should need to build my own foundation then give me a project 😎

What about you?
Mockito for noobies
Tags: testing, mockito, junit, java
Published: 2019-06-15 11:16:05

Ladies and gentleman, after some months procrastinating, watching all Netflix series available in the internet I finally make this tutorial about Mockito. A really nice tool for unit or functional testing. Be free to check it out:

Text snippet:

"For example: If we have an object, it is not convenient to query that database whenever we need to test a particular method or employ one of those methods to perform some mathematical operation from the cloud service. So, to solve this, we are left with two options: either we re-implement the method that receives that object for testing2

https://github.com/ptjuanramos/java-research-study/tree/master/TestingJUnitMockito
Python shebang
Tags: python
Published: 2019-06-15 12:48:27

---
title: Python shebang 
published: true
tags: python
canonical_url: https://ofdigitalwater.postach.io/post/python-shebang
---
Currently, in the interregnum where Python 2 and Python 3 may co-exist on the same system, the [PEP 0394 recommendations](https://www.python.org/dev/peps/pep-0394/#recommendation) for the [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) line in Python programs run in short like this:

1. Use `#!/usr/bin/env` before Python interpreter
2. Use `#!/usr/bin/env python` _only_ for programs that work with _both_ Python 2 and Python 3
3. If your program runs with Python 3 only, replace `python` in the previous line with `python3`
4. Else, for Python 2-based programs, replace `python` with `python2`
Hex2RGB | An Animated Guide to Hex Codes
Tags: codepen
Published: 2019-06-15 10:46:42

<p>This is a animated guide to what hex codes are, and how to convert them to RGB.  Knowing this can make it easier to adjust, or understand your colors when all you have is the hex code. There a some interactivity and animations that make this guide semi-engaging.</p>

{% codepen https://codepen.io/joshatoutthink/pen/byLzQG %}