teleren/devto huggingface dataset:
What is Understandable Blockchain (UBC) - Chapter 1
Tags: blockchain, javascript, saas
Published: 2020-02-14 06:59:20

This article was first published on Medium. You can take a look at it [here](http://bit.ly/2v6I5AO) <br />
---
Currently, too many public blockchains exist and they all use different API and data structure, meaning that each service needs to be developed according to each one’s condition and function, which is cumbersome. In other words, developers have to bear huge costs, along with the difficulty of developing their own services for appropriate structure and API for Ethereum, EOS, and others.

To solve this problem, many interchain projects such as Icon and Cosmos came out in the blockchain world, but they are stuck with technical limitations, so the developing direction shifted to link with own individual chains. In fact, if there isn’t a standardized interface that is compatible to all blockchains with different API and data structure, it is impossible to interconnect blockchains.<br />

In particular, unlike database that saves and deletes data on its own, the data on blockchain is processed and saved through a consensus algorithm. Once the data is stored in the blockchain, it is almost impossible to change. As such, the important implication is that processing method and understanding of data are important. However, most of blockchain’s development, API and operating and managing tools are at a basic level, so developers are faced with many difficulties when developing their own service. For example, many difficulties arise due to lack of the ability to find out cause of problems arising from tracking, debugging, revert issues in EVM. To address these fundamental problems, various developing and operating tools based on standardized interface like SQL of RDBS are in dire need. <br/>

# Understandable Blockchain 
Unlike regular data processing steps that create immediate input/output, a blockchain model where anyone in the world can participate in the consensus process goes through asynchronous transaction processes, which make difficult for developers to understand the whole processing process. 
  As such, it is important to create a more intuitive and productive environment where data and its processing are easy to understand. In particular, an understandable blockchain environment is especially important, because smart contracts can define various types of data structure and processing.
  We name the blockchain that provides a series of environments that help to efficiently process and analyze blockchain data as **“Understandable Blockchain (UBC)”**. Visualization of blockchain data is essential to establish the UBC environment.

**Check [Luniverse Site](https://www.luniverse.io) for more information about UBC**

---
On next chapter 2, we will take a deep dive into Understandable Blockchain and Data visualization
Json Schema and Json Validation 
Tags: json, jsonschema, jsonvalidation, tutorial
Published: 2020-02-14 07:51:20


---
title: Json Schema and Json Validation 
published: true
description: Template project to understand defining Json schema. Leveraging it to validate Json data files via a gradle plugin. You can find the project on my github.
tags: json, json-schema, json-validation, tutorial
canonical_url: https://anilkulkarni.com/2020/02/json-schema-and-json-validation/
cover_image: https://i2.wp.com/anilkulkarni.com/wp-content/uploads/2020/02/image.png?fit=1072%2C922&ssl=1
---

![](https://i2.wp.com/anilkulkarni.com/wp-content/uploads/2020/02/image.png?fit=665%2C572&ssl=1)A sample json schema
A discussion in one of my office meetings, led me to think and write about Json Schema. Every post I write is an attempt to get a better understanding of the topic and keep that as a reference for my future projects.

> How do you validate the complex nested Json data files?

One approach, I can think of is defining a schema and validating the JSON data against it. I had used this approach to validate a avro schema.

Define JSON Schema:
-------------------

This is the most time consuming part but if done right, the JSON validation is cakewalk. Json Schema came to my rescue. After reading, I was able to understand most of the concepts and write my own [schema](https://github.com/anilkulkarni87/JsonSchema/blob/master/src/main/resources/customer_schema.json) and also validate a couple of data files. Below are some of the things you can define/achieve:

- Mandatory values.
- Nested objects and fields.
- Data type and additional criteria: 
  - String can be of format:email/uuid etc.
  - String can match with pattern.
  - Integer – Can have max , multipleOf.

JSON Validation
---------------

I leveraged a gradle plugin to implement the validation as part of the build. So that our next steps of the build are executed only if the Validation task is successful. The errors printed are very precise and easy to understand. You can find this sample project on my [github](https://github.com/anilkulkarni87/JsonSchema).

![Output from the gradle plugin.](https://i2.wp.com/anilkulkarni.com/wp-content/uploads/2020/02/image-1.png?fit=665%2C175&ssl=1)Validation Output
#### Next steps and other thoughts:

- To add examples of different schemas Eg: Use definition and references.
- One can also generate schema from a json and then improvise it.
- For the first time, I used github actions to build the project.
- I should write more about some of my other [learnings](https://anilkulkarni.com/2019/12/learnings-from-my-last-assignment/).

The post [Json Schema and Json Validation](https://anilkulkarni.com/2020/02/json-schema-and-json-validation/) appeared first on [Anil Kulkarni | Blog](https://anilkulkarni.com).
How do you like recruitment in the UK?
Tags: recruitment, career, uk, unitedkingdom
Published: 2020-02-14 07:49:27

Hi there
I'm doing some research on UK tech specialist's preference for finding work. 
1. Where would be your top (few) places to go to look for work? e.g. recruitment agency, referrals, LI, jobs boards, etc
2. Can you share more re #1? e.g. which agency, which websites, etc?
3. What do you look for when searching?
4. What do you look for when interviewing?
5. What would make you want to relocate to an Asian Country, if at all?

Feel free to PM me or post here?

Thanks in advance!
Using Nodemailer with Mailgun the Hard Way
Tags: node
Published: 2020-02-14 07:46:49

I'm coding up an application powered by Node.js that will send several transactional emails to users including email account verification at sign up and receipts when they (hopefully) subscribe. As this is my first foray into high volume email, I do not want to commit to an email service right now. So, to make things easier if I decide to change email providers, instead of using Nodemailer's built in well-known services, I set up a custom transporter, shown in the below code snippet. Note the use of .env variables, in keeping with the Twelve Factor App Methodology. 

```javascript
  const transporter = nodemailer.createTransport({
    host: process.env.SMTP_HOST,
    port: process.env.SMTP_PORT,
    secure: process.env.SMTP_SECURE,
    auth: {
      user: process.env.SMTP_USER,
      pass: process.env.SMPT_PASS
    },
    tls: {
      rejectUnauthorized: false
    }
  });
```

And now for the .env settings:

SMTP_HOST=smtp.mailgun.org
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=<span>postmaster</span>@yourdomain.com
SMPT_PASS=yourSuperSecretMailgunPassword

I hope this helps someone else out there using Mailgun with Node and Nodemailer - there didn't seem to be very many examples incorporating Node in the official docs.
Run multiple tasks Concurrently (in parallel) using JavaScript
Tags: javascript, node, tutorial
Published: 2020-02-14 07:40:56

When you have multiple time-consuming tasks/functions to execute, there are two main solutions to optimize the execution time and speed up your app:

## Run everything at once with `Promise.all()`
If your functions are promise-based, they can easily be executed concurrently using `Promise.all()`

{% gist https://gist.github.com/elishaking/793f7a0f979c507c406eeb8416f56175 %}

Functions that work with properly formatted call-backs — where the first argument of the call-back is reserved for errors and the second argument is the value to be returned — can easily be **promisified** using the `promisify` utility function and executed concurrently.

{% gist https://gist.github.com/elishaking/1cc50b665f759d939a14817846727866 %}

## Run a fixed batch concurrently
If your functions require significant resources to execute, running them all at once with `Promise.all()` may cause your application to crash. A solution to this is to create a `TaskQueue` that can execute a fixed number of tasks concurrently

{% gist https://gist.github.com/elishaking/ca7ab45e64b60430b8dd9ba9c6809614 %}

The `runTask` method executes each batch concurrently and resolves with the results of all the functions after executing all batches. This way, the speed of execution is improved without going overboard on computing resources.

Thanks 👍 for making it to the end 👨‍💻 and I really hope you found the content useful.
How Paper Cup is Made?
Tags: papercupmachine, papercupmakingmachine, cupmakingmachine, automaticpapercupmakingmachine
Published: 2020-02-14 07:33:24

Plastic pollution is a significant concern today all around however India is one of the most influenced nations where the issue is dominant. The issues of plastic waste are always developing and you may have seen or found out about the threats of plastic for marine like and other natural life. Paper products are the primary solution for preventing our environment from plastic abuse. We should use paper products instead of plastic products.

After the banned plastic products, the demand and production of paper products have increased considerably. Mostly demand and production of paper cups are very large in the market, so we will discuss the manufacture of paper cups, how paper cups are made.

For More Info Visit At- https://spb.net.in/how-paper-cup-is-made/
Computed property names => ES6 !!!! 
Published: 2020-02-14 07:25:25

### Introduction
Suppose we have a task to create an object with dynamic key value pairs. We would start with writing some logic to achieve it. But if we are aware of a feature name computed property of ES6, our life is sorted :P

Let's start with this....

####What is an object?
Let us consider a real life scenario.
A car is an object. A car has properties like weight,color, height, width, etc.

Objects are like variables which can contain many values.
Like:
```javascript
var obj = {};
OR
var car = {type:"Fiat", model:"500", color:"white"};
```

The values are written as name:value pairs (name and value separated by a colon).

### Accessing Object Properties
You can access object properties in two ways:
objectName.propertyName
     OR
objectName["propertyName"]

Now, we can get to dynamic properties

```javascript
var key = 'DYNAMIC_KEY',
    obj = {
        [key]: 'ES6!'
    };

console.log(obj);
// > { 'DYNAMIC_KEY': 'ES6!' }
```

Suppose we have a task of creating an object from an array. We will have to create key value pairs. 

Consider an array like:
```javascript
const personsList = ["Alan", "Smith", "Kelly", "Jason", "Nicole"];
```

Now to create an object out of this array with key value pairs, we can use computed property feature available in ES6 as below:

```javascript
let personsObject = {};  //create an object

//Iterate over the personsList array
personsList.forEach((currentItem, index) => {
    personsObject[index] = currentItem;
});
console.log(personsObject);

// > {0: "Alan", 1: "Smith", 2: "Kelly", 3: "Jason", 4: "Nicole"}
```

As you can see now we have an object with dynamic key-value pairs. You can give custom key name instead of index.

For example:
```javascript
personsList.forEach((currentItem, index) => {
    // personsObject[index] = currentItem;
    personsObject["name"] = currentItem;
});
console.log(personsObject);

// > {name: "Alan", name: "Smith", name: "Kelly", name: "Jason", name: "Nicole"}
```

Hope this helps you in some way.
Cheers !!!
Friday Blast #83
Tags: fridayblast, links, post
Published: 2020-02-17 05:20:55

---
title: Friday Blast #83
published: true
date: 2020-02-14 07:00:00 UTC
tags: friday_blast,links,post
canonical_url: https://horia141.com/friday-blast-83.html
series: "Friday Blast"
---

I can’t believe I haven’t posted any Friday Blast in 2020 yet! It’s been a bit of a hectic start of the year, but I’ve definitely done some reading. Time to give back!

[Give me back my monolith (2019)](http://www.craigkerstiens.com/2019/03/13/give-me-back-my-monolith/) - a plea for simple architectures. Monoliths might not be “sexy”, but they’re definitely the right tool up until a team grows _big enough_ and _experienced enough_ in DevOps to properly handle microservices, streaming architectures, etc.

[Managing Uber’s data workflows at scale (2019)](https://eng.uber.com/managing-data-workflows-at-scale/) - every company of a certain size starts having data analysis jobs, ETL jobs, reporting scripts, etc. running along-side their regular services. Once you get enough of these, you start to see the need to organise their execution. This is where workflow services come in. Apache Airflow is a good example of an Open Source tool like this. Here is Uber’s, designed for much bigger scale, and “as a service” to boot.

[Don’t believe these 5 myths about the big bang (2020)](https://www.forbes.com/sites/startswithabang/2020/02/06/the-top-5-myths-you-probably-believe-about-the-big-bang/#238733992694) - turns out the little I thought I knew was wrong.

[Design principles for mathematical engineering in experimentation platform at Netflix (2019)](https://netflixtechblog.com/design-principles-for-mathematical-engineering-in-experimentation-platform-15b3ea143b1f) - Netflix has quite the big team working on their experiments platform - enough to justify a Director overseeing it! It also turns out they have a lot of custom made stats code - linear algebra, regressions, etc. Interesting that they don’t use the primitives offered by Python and R for this.

[Make resilient Go net/http servers using timeouts, deadlines and context cancellation (2020)](https://dev.to/fteem/make-resilient-go-net-http-servers-using-timeouts-deadlines-and-context-cancellation-1oe0-temp-slug-7305879) - this is another one in a series about structured concurrency (checkout previous Friday Blasts for some links). This time in Go, and covering timeouts, deadlines (which are different from timeouts, and act like “global timeouts” sort-of), and contexts passed around services.

[Walking with atoms - chemical bond making and breaking in action (2020)](https://www.eurekalert.org/pub_releases/2020-01/uon-wwa010720.php) - this is a neat video of a molecule “walking” in a crystal lattice, and how the bonds between the atoms form and break.
Know how to check the Website’s SSL Certificate Information
Tags: sslcertificateinformation, attackprevention, websitesecurity
Published: 2020-02-14 06:52:23

<p>A secured website can be identified from the lock symbol on the browser bar. Different browsers have different ways to show this to users. One should be really aware of the <a href="https://www.https.in/blog/the-benefits-of-ssl-certificate/">benefits of using an SSL certificate for a website.</a></p>

<p>The cases when users do not pay attention to the lock sign in the browser can lead to unforeseen circumstances. Entering any data to a website not secured with an SSL certificate can lead users to phishing or MITM attacks. At the same time the website owner should also pay close attention to the <a href="https://www.https.in/blog/top-5-risks-of-not-having-an-ssl-certificate-on-your-website/">risk of not securing a website.</a></p>

<b>Also Read:</b> <a href="https://www.https.in/ssl-security/how-ssl-strip-work/">How to protect yourself from a MITM attack.</a>

There are many cases where reputed websites forgot to renew their SSL certificate which causes man-in-the-middle attacks. Recently, Microsoft team confirmed, it went down for a few hours because of an expired SSL Certificate, during that period people were trying to log in without knowing that it wasn’t secure.

Keeping this mind, I would like to showcase what users should check in order to make sure they are visiting a secure website. CAB forum has made this mandatory to show certificate information to the website users. An SSL certificate deployed successfully shows some relevant information about the URL & the company.

<h2>What all things do SSL Certificate Information contains?</h2>

- Validity Period
- Name of Certificate Authority (CA) Issued
- Subject Name (that contains information about the company, type of SSL 
  Certificate and domain name for which SSL was issued.)
- Key Usage
- CRL Information
- Signing and Hashing Algorithms Underlying the Encryption.

This information can be found in your browser. The importance of this information may vary from person to person. But it is best practice to check certificate information before entering any data to a website.

<b>Read here for the steps to <a href="https://www.https.in/blog/check-ssl-certificate-information/">check SSL Certificate Information.</a></b>
What are the best ETL software testing tools?
Tags: etlsoftwaretesting
Published: 2020-02-14 05:14:46

ETL represents Extraction, Transformation, and Loading are the three essential database capacities of this tool. 

Extraction: Reading information from the database. 

Change: Converting the extricated information into the expected structure to store it into another database. 

Stacking: Writing the information into the external database.

Types Of ETL Testing Tools
Production validation testing
Source to target testing
System Upgrade
Information transfer testing
Data check
Most Popular Tools Used For <a href="https://www.testingxperts.com/services/dw-analytics-testing/">ETL Software Testing</a>

1.RightDAta
Ground-breaking general question studio where clients can perform inquiries on any information source (RDBMS, SAP, Files, Bigdata, Dashboards, Reports, Rest APIs, and so on.), investigate metadata, dissect information, find information by information profiling, plan by performing changes and purging, and preview information to help with information compromise, business standard and changes approval.
2. Informatica marketplace
It's a GUI based ETL Testing tool that is utilized to extract,[ change and Load (ETL). The testing incorporates a correlation of tables when information relocation. This sort of testing guarantees information respectability; for example, the volume of information is accurately stacked and is in the normal arrangement into the goal framework.
3. QuerySurge
This tool explicitly worked for testing of Big Data and Data distribution center. It guarantees that the information removed and stacked from the source framework to the goal framework is right and is according to the normal arrangement. Any issues or contrasts are distinguished in all respects rapidly by QuerySurge.
4. DataGaps
This tool is ETL Testing and Big Data Testing. It is an answer for information coordination ventures. The testing of such information reconciliation task incorporates different information types, colossal volume, and different source stages. ETL Validator defeats such difficulties utilizing computerization, which further decreases the expense and to limit endeavors.
5. QualiDI
QualiDi is an automated testing stage that offers start to finish testing and ETL Testing. It mechanizes ETL Testing and improves the adequacy of ETL Testing. It additionally diminishes the testing cycle and improves information quality. QualiDI distinguishes terrible information and rebellious information all-around effectively. QualiDI diminishes the relapse cycle and information approval.

Conclusion
All the ETL software testing tools are best at their level and provide us the best-automated results that are required. ETL Testing isn't just testers' obligation, yet it likewise includes developers, business experts, database administrators (DBA) and even the clients. ETL Testing procedure wound up crucial as it is required to settle on vital choices at normal time intervals.
Finally !! A Wordpress Management service, WpTechMaster.com
Tags: wordpress, management, webdev
Published: 2020-02-14 05:33:17

There have been times when we have thought that we could only focus on our business and forget the worries of managing a website. Now finally a service has arrived. WpTechMaster.com provides WordPress management/maintenance services for all those who want to focus on there business without worrying about managing their website.
 There have been many services before similar to it, what's the difference in WpTechMaster.com ? Well, most of the other services are run by business owners and they hire developers to work for them but here everyone is a developer. They call all of them WP Ninja. So you can expect everyone you talk to there, from support to technical help. All developers and all of them capable of helping you in any way possible.

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

What's the catch? Are they super expensive? WpTechmaster.com prides itself of having the best rates possible. Because all of them are direct developers hence there cost is less than the normal businesses run by owners and other support persons. The reason behind starting this service is that they all thought they were already giving these services before so why not starting a dedicated business only for this but if you would like them to develop your website, They will be super excited for it. 
I have given my Agency website to them for several months now and I have been working on solely on developing my business which has prospered because of this.
If you still couldn't share where to find them. Here is the link: https://www.wptechmaster.com.

I will be back for you again with yet another interesting article. Until then goodbye.
Scheduling Website Content With JavaScript and AWS CloudWatch
Tags: javascript, aws
Published: 2020-02-14 05:24:56

Hi, devs! 🤓

I'm getting close to wrapping the first round of development with my new side-project newclick.io so I figured I'd share some insight on how I built an API for [scheduling website content](https://www.alexdaro.com/writing/scheduling-website-content-with-javascript-and-aws-cloudwatch).

To be honest I was having trouble finding the confidence to publish this. I wanted to write this in-depth, ground shattering post on scheduling Lambda functions with Amazon Cloudwatch but every time I sat down to write it seemed like an insurmountable task... Quite honestly it was bumming me out! So what I did instead was implemented some Tim Ferris voodoo logic and asked my self: "What would this look like if it were easy?". That was the thing that got me over the hump...

I changed the opening sentence from "In this article, I'll describe everything that went into developing the newclick.io Scheduling API." -- to -- "In this article, I'll briefly describe some of the things that went into developing the newclick.io Scheduling API. "

This helped me hone in what I wanted to say and get it out the door. Every blog post doesn't need to be a novel. A simple, easy to read how-to guide was good enough.
Feb. 14, 2020: What did you learn this week?
Tags: weeklylearn, discuss, weeklyretro
Published: 2020-02-14 05:08:36

It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

![Learn new things](https://media.giphy.com/media/Ec5RkrmARxPmTuXgrZ/giphy.gif)

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.

{%tag todayilearned %}

And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿

{% link https://dev.to/jess/what-was-your-win-this-week-1pb2 %}

![Johnny Rose from Shitt's Creek giving a high-five](https://media.giphy.com/media/4QFAH0qZ0LQnIwVYKT/giphy.gif)