teleren/devto huggingface dataset:
What is Minter Blockchain ?
Tags: minter, minterapps, blockchain
Published: 2019-05-29 11:29:23

---
title: What is Minter Blockchain ?
published: true
description: Explore here the concept of minter blockchain and its special features in detail.
tags: minter,minterapps,blockchain 
---

Bitcoin is the one and only famous and well-known cryptocurrency that is prevailing in the crypto market for more than a decade. Now, it is time to step into the next level of the cryptocurrency world.

##What is Minter Network?
Minter is a blockchain network that allows people or organizations to create, exchange and manage their own coins. The users can set the price for their own coins and exchange them limitlessly with instant liquidity.
Simply, the minter network is a platform where the users can create their own coins and can exchange them for other cryptocurrencies and fiat currencies like the USD.
##Main Objectives of Minter 
The minter network is introduced with three main objectives. They are as follows:
1. To provide crypto enthusiasts a way to create and exchange their own coins.
2. To have instant and absolute liquidity in every transactions and coins.
3. To provide faster transactions with low transaction fees.

##Special Features Of Minter

###Transaction Speed 
The notable feature of Minter is its transaction speed. It processes more than 10,000 transactions per block in 5 seconds. Here in minter, the engine is tied to DPoS ( Delegated Proof of Stake ) Blockchain consensus algorithm.

###Exchangeability
The coins created on minter cannot be used for paying goods and services. Thus, there occurs a situation of exchanging those coins into other crypto coins or fiat currency for instant payment usages.
Thus, minter allows for exchanging the created coins to other crypto coins or fiat currency within and also outside the network.

###Reliability and global presence
The DPoS consensus algorithm engine of minter network provides high reliability. This allows validators and delegators for profit from their own contribution to the network.
This minter network has a large community of users and developers all over the globe.

##BIP - Native Token of Minter 
The Minter is aiming to provide a fast, dependable and efficient medium of exchange that this real world is looking for. To achieve this the Minter Network creates a new cryptocurrency, BIP. This BIP is known as Native Token of minter network and it stands for Blockchain Instant Payment ( BIP ).

Bitdeal, Leading Blockchain Development Company has started working on the minter blockchain network. We have skilled blockchain experts who can help you in creating your own coin or apps (Mapps ) on minter network.

Source : [**Bitdeal**](https://www.bitdeal.net/minter-network)
Where do you look for conference CFP's?
Tags: help, conferences
Published: 2019-05-29 10:39:40

---
title: Where do you look for conference CFP's?
published: true
description:  
tags: help, conferences
---

I just gave my first lightning talk, and really enjoyed it. I'd like to develop this talk further, and bring it to more people, so I was wondering, how do you find conferences with open CFP's? Is there a site out there that collects these?

I've tried searching twitter for CFP and related terms, but the results there aren't really useful so far.
What are you using RegEx for?
Tags: discuss, regex, javascript, php
Published: 2019-05-29 10:26:13

Hey there!
Yesterday I wrote a [blog article](https://webdeasy.de/en/regex-secret-weapon-of-the-programmers/) about RegEx and that RegEx is the secret weapon of a programmer! There I show how to create a regular expression to validate the password strength.

![RegEx Example](https://webdeasy.de/wp-content/uploads/2019/05/regex-700x300.png)


I use RegEx for validation user data (phone numbers, emails and co) and highlighting search results.

Now my question is, what do _you_ use RegEx for? Let's start a discussion! :)
Quiz Application for Web Developers
Tags: showdev, opensource, beginners, webdev
Published: 2019-05-29 06:49:21

#Project Purpose

The <a href="https://haroldfinch-quizmachine.herokuapp.com/" target="_blank">Harold Finch Quiz Machine</a> wants to help Web Developers increase their skill level by providing them with an easy-to-use but meaningful way to test their knowledge. There is no scorecard, ranking system or witty conversations. Just you and the machine!

#Technology Stack
####&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ruby on Rails 
####&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ruby
####&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jQuery
####&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PostgreSQL
![tech stack](https://i.imgur.com/ftHCD2Sm.png)

#Motivation & Vision
I love studying with flashcards.  I hate creating flashcards to study with was my motivation for Googling free online quizzes to help me study web development.  I found a few and they were helpful for studying and setting this project in motion.

There's no scorecard because...who cares and there just isn't one.  A Developer who hasn't coded jQuery in the last three years may score lower on that particular course than the coding camp student who just [learned](https://hackernoon.com/you-truly-dont-need-jquery-5f2132b32dd1) that subject. 

#Open Source Greatness
This quiz machine is still at the infancy stage and several features from the __phase one = complete__ status:

* A screen for users to suggest questions
* An admin screen
* More courses
* A question pool of 200 questions or more per course

I welcome suggestions and contributions to improve the applications usefulness. What are your thoughts for adding the following features:

* Difficulty levels within a course
* Code review questions
* Allow users to choose the number of questions for their quiz

Would you be interested in coding any of the new features? [Source Code](https://github.com/OTR500miles2go/hf_quiz_machine)
Optimize boot time of ruby CLI tools
Tags: ruby, showdev
Published: 2019-05-29 10:18:13

---
title: Optimize boot time of ruby CLI tools
published: true
description: 
tags: Ruby, showdev
---

Create a binstub like following:

```
#!/usr/bin/env ruby
require 'bootsnap'
gem_name = 'rubocop'
exe_name = 'rubocop'
cache_dir = File.join(ENV['HOME'], '.cache', 'bootsnap', gem_name, exe_name)
Bootsnap.setup(cache_dir: cache_dir, load_path_cache: false, autoload_paths_cache: false)
load Gem.bin_path(gem_name, exe_name)
```

`Gem.bin_path`[^Gem.bin_path] takes two arguments, 1st is name of gem, 2nd is name of executable. You can modify `gem_name`/`exe_name` to apply this binstub to other ruby CLI tools.

[^Gem.bin_path]: https://www.rubydoc.info/github/rubygems/rubygems/Gem.bin_path

Without this binstub:

```
% time rubocop -v
0.70.0
rubocop -v  0.76s user 0.20s system 97% cpu 0.983 total
```

With this binstub, It takes a little more time at first run:

```
% time bin/rubocop -v
0.70.0
bin/rubocop -v  1.04s user 0.57s system 98% cpu 1.640 total
```

But once it runs, the cache is created. Then It becomes much faster:

```
% time bin/rubocop -v
0.70.0
bin/rubocop -v  0.53s user 0.23s system 79% cpu 0.969 total
```

You don't need to change any code of ruby CLI tools, Just create a binstub to optimize boot time.

Cheers <3
What was my dream , yesterday ? as a - DEV -
Tags: offtopic, laravel, php, truestory
Published: 2019-05-29 10:04:08

---
title: What was my dream , yesterday ? as a - DEV -
published: true
description: it's not about a daydreaming or visions it's about my real night dreams
tags: offtopic,laravel,php,trueStory
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ntiot2nku8gnesovwcr6.jpg
---

__Since__ i've joined a remote team of passionate developers, To work on a very exciting advanced Laravel system. My brain started to build a new type of dreams that am not used to. like the one i saw yesterday.

#### Yesterday's Dream:
i slept in a latehour as usual because am a night owl developer. After being a sleep for a while i remember seen a __blank bright white screen__ and suddenly i felt my well and myself started to type a static class called __Dream__ like so:

```
<?php 
class Dream {

  public static function getRandom($rnd){
        return Dreams::all()->find($rnd);
  }

```
Then i returned back to a new __blank white screen__ , and with a beautiful thin black font i coded 

```
<?php
use Dream;
$currentDream = Dream::getRandom(4);
```
#### Dream Execution
and it was fascinating , like a whole new movie has just started and i was into it literally. after a while i felt like i needed to change the dream so i *CMD+Tab*  and get back to the blank white again. i called the static function changing the random number argument. 

__Suddenly__ i start seeing a new dream of my ex , my old town and a lot of old friends.

#### I woke up
I was very amazed with _how our brains as a developers function?_, And i literally loved my yesterday scenario and the way my brain amazingly did it. So i decided when i wake up i will share it here.

__thanks for your time__
Introducing the Digital Product Playbook
Tags: industryinsight
Published: 2019-06-03 09:31:18

---
title: Introducing the Digital Product Playbook
published: true
tags: Industry Insight
canonical_url: https://steadfastcollective.com/articles/introducing-the-digital-product-playbook/
cover_image: https://steadfastcollective.com/app/uploads/2019/05/Digital-Product-Playbook.png

---

The Digital Product Playbook is a monthly playbook of insightful articles and thoughts on building and growing digital products.

![](https://steadfastcollective.com/app/uploads/2019/05/Digital-Product-Playbook.png)

You may have seen our teaser for The Playbook earlier in the month with our [Intercom: On Starting Up](https://dev.to/steadfast/intercom-on-starting-up-4l9o)book giveaway, where entry was via sign up. We can now announce that the winner of the book is Sophie! (It is on its way, Sophie!).

> Why did we start Digital Product Playbook?

As part of our fundamental love of digital products, we find ourselves increasingly fuelled by books, articles and video content written by those who have gone before. We love learning about growth tactics, development thoughts, and reading founder stories on how people grew their idea into a sustainable business.

We want to read, implement and collate the best ideas, the ideas that have really made an impact on our own products, or our clients’ products, sharing them with like-minded individuals.

You can follow along at [thedigitalproductplaybook.com](http://thedigitalproductplaybook.com). If you think you have an interesting article or idea that we should know about, send it over to pete@steadfastcollective.com.

The post [Introducing the Digital Product Playbook](https://steadfastcollective.com/articles/introducing-the-digital-product-playbook/) appeared first on [Steadfast Collective](https://steadfastcollective.com).
20 software developers you should follow on Twitter
Tags: career, education, beginners
Published: 2019-05-29 09:32:32

---
title: 20 software developers you should follow on Twitter
published: true
description: In addition to books and conferences, Twitter is my primary source of inspiration. Unfortunately, some developers don’t use Twitter because they find it too noisy. To improve the situation, I decided to compile a list of 20 high-quality Twitter accounts with good signal vs. noise ratio.
tags: career, education, beginner
---

The list was updated in 2019.

In addition to [books](https://sizovs.net/2019/03/17/the-best-books-all-software-developers-must-read/) and [conferences](https://sizovs.net/2019/03/21/the-best-developer-conferences/), Twitter is my primary source of inspiration. Unfortunately, some developers don't use Twitter because they find it too noisy. To improve the situation, I decided to compile a list of 20 high-quality Twitter accounts with good signal vs. noise ratio.

**[GO TO THE LIST](https://sizovs.net/2019/05/25/developers-to-follow-on-twitter/)**
Viewing and navigating huge JSON files (hundreds of megabytes) using Visual Studio Code
Tags: vscode, json
Published: 2019-05-29 08:47:29

---
title: Viewing and navigating huge JSON files (hundreds of megabytes) using Visual Studio Code
published: true
description: A simple technique to view huge JSON files in a nice tree view.
tags: #vscode #json
cover_image: https://thepracticaldev.s3.amazonaws.com/i/cha9ul94d5275crihpf7.png
---

Problem: I am trying to view a huge JSON file.

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

Viewing this directly in VS Code, there is no syntax highlighting or folding. Navigating this JSON tree is incredibly difficult.

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

Solution: So, I created a new JavaScript file:

```js
const data = require('./webpack.stats_master.json')
debugger
```

…and pressed <kbd>F5</kbd>.

This starts a Node.js debugging session.

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

Now, JSON data is visualized in a tree view. Problem is solved.
Your WordPress instance is leaking data (also with Gutenberg)
Tags: classicpress, development, wordpress
Published: 2019-05-29 10:33:21

---
title: Your WordPress instance is leaking data (also with Gutenberg)
published: true
tags: ClassicPress,Development,Wordpress
canonical_url: https://daniele.tech/2019/05/your-wordpress-instance-is-leaking-data-also-with-gutenberg/
---

Yes, also this website if not configured with plugins (not natively) can expose information!

The post [Your WordPress instance is leaking data (also with Gutenberg)](https://daniele.tech/2019/05/your-wordpress-instance-is-leaking-data-also-with-gutenberg/) appeared first on [Daniele Mte90 Scasciafratte](https://daniele.tech/eng).
Azure-Powered LED Art Installation
Published: 2019-05-29 07:32:32

---
title: Azure-Powered LED Art Installation
published: true
description: A video for the article on building the hardware.
tags:
---

Main blog post is [here](https://dev.to/azure/building-the-hardware-of-our-led-art-installation-for-festival-x-jsconf-eu-and-cssconf-eu-2j0o).
Declutter your angular template 
Tags: angular, cleancode, fika
Published: 2019-05-29 06:48:18

**Problem:**
Displaying different messages depending on the number of items in an array can clutter your markup with lots of `ngIfs` or `ngSwitchCases`.

**Solution:**
Utilizing Angular's built in `i18nPlural` pipe.

##Before / Untutored:
**Component**
```javascript
count = 0; //0, 1, 2
```

**Template**
```javascript
<span *ngIf="count === 0">You have no cinnamon buns left</span>
<span *ngIf="count === 1">You have one cinnamon bun left</span>
<span *ngIf="count > 1">You have a {{count}} cinnamon buns left</span>
```

##After:
**Component**
```javascript
count:number = 0;
bunsLeftMessages = {
   '=0': 'You have no cinnamon buns left',
   '=1': 'You have one cinnamon bun left',
   'other': 'You have # cinnamon buns left'
};
```

**Template**
```javascript
{{ count | i18nPlural:bunsLeftMessages }}
```

Try it yourself:
https://stackblitz.com/edit/thllbrg-angular-fika-1

Official docs:
https://angular.io/api/common/I18nPluralPipe
Secrets of JavaScript: a tale of React, performance optimization and multi-threading
Tags: javascript, react, webworkers, performance
Published: 2019-05-29 07:24:54

Project I worked on last year that required some interesting performance optimization strategies where I learned a lot and made we want to write an article!

https://levelup.gitconnected.com/secrets-of-javascript-a-tale-of-react-performance-optimization-and-multi-threading-9409332d349f
How i got into software development
Tags: react, reactnative, webdev
Published: 2019-05-29 06:44:10

Posting this from my phone so pardon me for the formatting. My name is abdulkareem barghouthi and I'm a software development. I never thought i would find such an awesome website such as dev.to, so I'm taking the chance to introduce myself here.
 
A little backstory :
I began university not knowing a thing about the world of software development, i thought that i would actually learn there but it was the exact opposite i got devastated and i thought that the field doesn't fit me. But then a friend of mine introduced me to an online course about full stack web development and damn that was one of the greatest things i have ever done in my life, never thought that software development and web development would be that fun and challenging. I mainly focus now on frontend development and UI design but i also try my best learning backend frameworks (since i know quite well about the fundamentals).

I now work as a web developer mainly with react, react native and some of vuejs, I'm looking forward to explore each and every field of the software lifecycle and implementing them to my other interests such as music and philosophy.

What's your story of getting into software development and do you have any other interest that you'd like to imply software into?
Fullstack template for React GraphQL project
Tags: graphql, react, webdev, beginners
Published: 2019-05-29 06:18:41

---
title: Fullstack template for React GraphQL project
published: true
description: Boilerplate for a Basic Fullstack GraphQL App with React
tags: graphql,react,webdev,beginners
cover_image: https://thepracticaldev.s3.amazonaws.com/i/6i8fcan03hrns0b6s3wc.png
series: GraphQL Server in under 5 minutes
---

In the previous week, we looked into a basic GraphQL Server implementation in TypeScript. In this episode of ...
 >*GraphQL Server in under 5 minutes series*

... we will take a look at the full-stack template of React GraphQL app.


![React Apollo GraphQL](https://thepracticaldev.s3.amazonaws.com/i/zoieh3ffuky45zuv30dc.png)

The Fullstack React GraphQL Boilerplate repo contains minimal, basic & advanced boilerplates, each allowing to bootstrap a GraphQL server in no time, whether you want to build a simple "Hello world!" or a fully-featured enterprise app.

||[Minimal](https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/minimal)|[Basic](https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/basic)|[Advanced](https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/advanced)|
|-|:----:|:----:|:--------:|
|**Scalable GraphQL server:** The server uses graphql-yoga which is based on Apollo Server & Express|✔️|✔️|✔️|
|**Pre-configured Apollo Client:** The project comes with a preconfigured setup for Apollo Client|✔️|✔️|✔️|
|**GraphQL database:** Includes GraphQL database binding to Prisma (running on MySQL)|❌|✔️|✔️|
|**Tooling:** Out-of-the-box support for GraphQL Playground & query performance tracing|❌|✔️|✔️|
|**Extensible:** Simple and flexible data model – easy to adjust and extend|❌|✔️|✔️|
|**No configuration overhead:** Preconfigured graphql-config setup|❌|✔️|✔️|


### Getting started

The `minimal` boilerplate is only two commands away. Just go for:

```
npm install -g graphql-cli
graphql create my-app
```

Then `yarn start` or `npm run start` will start your basic GraphQL server on a `localhost:4000`.  Basic & advanced setup requires a couple more steps. 

After installing [GraphQL CLI](https://github.com/graphql-cli/graphql-cli), bootstrap GraphQL server with:
```
graphql create my-app
```
when prompted  pick the desired boilerplate & deploy the Prisma service to a `_public cluster_`, then navigate into `server` directory of your new project and start it:
```
cd my-app/server

yarn dev
```
this will run a server on localhost:4000, along with GraphQL Playground; open new terminal tab & navigate back to `my-app`, then run the app
```
cd ..
yarn start
```
Read more about the structure of the project or available commands in the [react-fullstack-graphql repo](https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/advanced).



##### Source: [react-fullstack-graphql](https://github.com/graphql-boilerplates/react-fullstack-graphql)
Explain like I'm five: How does docker application update work?
Tags: explainlikeimfive, docker
Published: 2019-05-29 06:10:43

---
title: Explain like I'm five: How does docker application update work?
published: true
description: How does one update docker applications?
tags: explainlikeimfive, docker
---

Whenever I read about docker or containers in general, I wonder how it could possibly work in real world applications. 

That's what I (think I) understood until now:
- docker encapsulates an application, but not the applications data
- updates are done by completely exchanging the applications container (e.g. remove myApp 1.0.0 and start myApp 1.0.1)
- all non-volatile data is stored outside of the container in volumes (which are basically shared directories between the host and docker's containers)

However, if that's how it's done, how do Update processes / database schema updates  / ... work?

A more specific example: If I have an postgres container and I need to update the database version (ergo: install the new container). How do I update the database files to the newer version, when the postgresql installation / updater will be never executed?
Performance tip for rendering large collections in Angular
Tags: angular, performance, fika
Published: 2019-05-29 05:39:22

**Problem:** 
To render collection in Angular we use the built in directive `*ngFor` which works fine as long as we are just displaying or mutating the collection. A potential problem arise when we *re-assign* the variable holding the collection. Angular must then destroy all the old DOM-nodes and recreate them, even if only a few elements have changed, for a large collection this can create performance issues.

**Solution:**
Create a function that returns a unique id for each element in the collection, the function is then passed to the directive TrackedBy which we use together with `*ngFor`.

##Before / Untutored:
**Component**
```javascript
items = [
  {title: 'Cinnamon buns'},
  {title: 'Cup cakes'},
  {title: 'Croissants'}
];

update() {
  this.items = [
    {title: 'Cinnamon buns'},
    {title: 'Cup cakes'},
    {title: 'Croissants'},
    {title: 'Macarons'}
  ];
}
```

**Template**
```javascript
<div *ngFor="let item of items">
  <app-item [text]="item.title"></app-item>
</div>
```

**Log**
```javascript
naive - Cinnamon buns initialized
naive - Cup cakes initialized
naive - Croissants initialized
Updated data
naive - Cinnamon buns initialized
naive - Cup cakes initialized
naive - Croissants initialized
naive - Macarons initialized
```

##After:
**Component**
```javascript
items = [
  {title: 'Cinnamon buns'},
  {title: 'Cup cakes'},
  {title: 'Croissants'}
];

update() {
  this.items = [
    {title: 'Cinnamon buns'},
    {title: 'Cup cakes'},
    {title: 'Croissants'},
    {title: 'Macarons'}
  ];
}

itemsTrackedBy(index, item) {
  return item.text;
}
```

**Template**
```javascript
<div *ngFor="let item of items; trackBy: itemsTrackedBy">
    <app-item [text]="item.title"></app-item>
</div>
```

**Log**
```javascript
trackedBy - Cinnamon buns initialized
trackedBy - Cup cakes initialized
trackedBy - Croissants initialized
Updated data
trackedBy - Macarons initialized
```

Try it yourself:
https://stackblitz.com/edit/thllbrg-angular-fika-2

Official docs:
https://angular.io/guide/template-syntax#ngfor-with-trackby