teleren/devto huggingface dataset:
My Journey Into Elixir 
Published: 2021-06-03 08:23:06

I have always been interested in learning programming languages rather than frameworks of a particular language. Last year(2020) I decided to learn a functional language having heard so much buzz around them.

Now the question was which functional programming language would I embark to learn. At that time the only functional languages that I had heard of were Lisp and Haskell but then the youtube algorithms kicked in and gave the the video [Elixir: The Documentary ](https://www.youtube.com/watch?v=lxYFOM3UJzo) by honeypot. 

I liked the emphasis they put on hardware , that is, computers are getting more cores and other languages are not designed to utilise such infrastructure. In the video they also stated that it could be used in [IoT](https://www.nerves-project.org/) and its use reduced the use of server resources. When I heard all this I was hooked.

That's how the my journey began with Elixir. It has been a slow journey but currently I am learning the [Phoenix](https://www.phoenixframework.org/) framework for building web applications for a project I am planning to undertake.

This is just to encourage you to peek into the Elixir language and get a different perspective of what programming can be. Like pattern matching instead of assignments when using the = operator or spawning processes to do some work.

The journey continues slowly but surely.
Easiest way to store dot files using git!
Tags: github, dotconfig
Published: 2021-06-03 08:17:04

I was looking for a long time for a solution that will help me to store my dot files on a git remote repository. I found sylink method but that was a very lengthy process. I had to manually create all sym-links. Which is not that intuative. Then one day i came accross a youtube video by DistroTube, where he explained how we can store our files using git bare repository. I'll try to explain here how to do it and if you wanna check his video I'll leave a link at the bootm.
Here's the process:

### Create a bare repository in the home folder :
```sh
$ mkdir dotfles
$ git init --bare $HOME/dotfiles
```

### Now run these commands :
```sh
$ alias dotfiles='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
$ dotfiles config --local status.showUntrackedFiles no
```
Note: 
1. The first command will add dotfiles alias to the .bashrc file. So, that we dont have to type the line all the time which is crucial for the process.
2. The second line will prevent any promt created because of untracked file.

***Now you are good to go. You can add files just as you add using git command. Instead use the alias. Just do as shown below :***

### First let's add the remote repository link (If it's the first push):
```sh
$ dotfiles remote add origin <repository_link>
```

### Let's add a file or folder ( first locate the file/folder ) :
```sh
$ dotfiles add <pathToTheFile/fileName>
$ dotfiles commit -m "Test Commit"
$ dotfiles push -u origin <branch_name>
```
Greate! You've seccessfully uploaded your dotfiles to git remote repository. Now when you change anything just add, commit and psuh just as shown.

[Link to DistroTube's Video](https://www.youtube.com/watch?v=tBoLDpTWVOM)
I created a hybrid POS system app with framework7 and capacitor js
Published: 2021-06-03 08:07:16

I created a hybrid POS system app with framework7 and capacitor js
https://framework7.io/
https://capacitorjs.com/

I didn't find any docs, or sugestions about how to integrate them.. .as far i saw f7 now supports capacitor too (not only ionic).
So yes! It's doable
4 Steps to Create an Uber for Ambulances app [+ a bonus tip inside]
Tags: flutter, startup, android
Published: 2021-06-03 07:46:55

Are you a social entrepreneur?

Thinking of starting a business that can create a positive impact on our society? 

Then, Uber for ambulance business will suit you well. 

## What the heck is Uber for ambulance service? 
Uber for ambulances is an app-based ambulance service that allows users to book an emergency vehicle instantly.

## How does it work in real-time? 

- Users [both service providers and the customers] register on the app. 
- In case of an emergency, the customer can enter their location or allow the app to find it. 
- And, the app looks for nearby ambulances in that location and matches it with the customer. 
- The customer will send the booking request to the service provider. 
- The service provider will pick up the customer and drop them off at the destined location. 

## How can you create an Uber-like app for ambulances? 

Here're the steps you need to follow to create an app for ambulance services,

- Figure out the number of applications. 
- Pick features and functionalities for your app. 
- Choose the technology. 
- Test and deploy

### 1. Number of applications needed to start an app-based ambulance services

For your business to run effectively, you should have the following applications, 
- Customer app [iOS and Android] 
- Service provider app [iOS and Android] 
- Admin web panel 

### 2. Features and functionalities
[Features and functionalities](https://www.rentallscript.com/uber-clone/key-features-of-Uber-clone-app/) are the backbone of any app-based business. Choose them wisely! 

Features for customers app: 
- One step registration 
- Live tracking
- Multiple payment gateways
- Service scheduling

Features for service providers app: 
- Documents verification
- Payout accounts
- Dynamic routing
- In-app chat

Features for admin panel:
- Geo-fencing
- Bookings management
- Users management
- Transactions management 

### 3. Technology 
For a startup, creating four different applications may cost higher and takes up so much time. 

To create an app at a considerably low cost, futuristic technology, and at a faster speed, I'd suggest - Flutter. 

Flutter is a UI software development kit proudly presented by Google. 

Due to its cross-platform nature, it can be used to create both iOS and Android applications using a single codebase. 

Which in turn reduces the app development cost and time. 

### 4. Test and deploy
After the [development of your Uber-like app for ambulances](https://www.rentallscript.com/blog/uber-like-app-for-ambulances/), it's time to test and launch it to the market. 

Flutter makes testing easy and efficient as it provides the cross-platform capability. 

Now you know how to create an app from scratch. Let's get on to the bonus tip as promised. 

## Bonus tip: 

Are you gonna believe me when I say that you can create the exact application for a low cost with all the features and technology? 

Yes, it's possible with Wooberly. 

Wooberly is a readymade on-demand application that can help you create any kind of on-demand services app.
How to Build your First Machine Learning Model in Python
Tags: machinelearning, datascience, python, tutorial
Published: 2021-06-03 07:45:53

A while back I wrote a blog on [***How to Build a Machine Learning Model (A Visual Guide to Learning Data Science)***](https://towardsdatascience.com/how-to-build-a-machine-learning-model-439ab8fb3fb1) which takes you on a visual and conceptual journey on how a machine learning model is built. What the article did not show was how to implement the actual building of the model.

In this article, you will learn how to build your first machine learning model in Python. Particularly, you will be building regression models using traditional linear regression as well as other machine learning algorithms.

I’ve created the following YouTube video to serve as a supplement to this article, particularly it will get you up to speed on the concepts of machine learning model building as also covered in the first blog post mentioned above.

[**Read the full article**](https://towardsdatascience.com/how-to-build-your-first-machine-learning-model-in-python-e70fd1907cdd)
Meaningful support as a scrappy performance in the field saw Sparks
Published: 2021-06-03 07:38:37

Diamonds' innings saw Issy Wong pick up an impressive 5 for 49 from her ten overs, but only Glenn could offer any meaningful support as a scrappy performance in the field saw Sparks drop catches and concede 22 extras, including 18 wides. Wong and Emily Arlott had kept things tight early on with the teenage quick picking up the early wicket of Hollie Armitage, bowled with a vicious yorker for 13, before Natalie Sciver hit one straight to Eve Jones at midwicket for 7, to leave Diamonds 38 for 2.
<a href="https://www.cricnscore.com/rachael-heyhoe-flint-trophy-2021-schedule-rachael-heyhoe-flint-trophy-2021-squads/ ">Rachael Heyhoe Flint Trophy squads</a> 
From then on it was all about Winfield-Hill as she began to feast on Sparks' supporting bowlers and together with Sterre Kalis constructed a third wicket partnership of 112. When Kalis was out lbw to the impressive Glenn, Katherine Brunt took over and the England legend was there to witness Winfield-Hill bring up her century with a towering six into the Western Terrace off Ria Fackrell.

Winfield-Hill eventually fell in the 42nd over to a good catch from Fackrell off Steph Butler but Brunt's 46 and useful cameos from Jenny Gunn, Alex MacDonald and Beth Langston ensured Diamonds' total was more than adequate.
On HTML
Tags: html, css, frameworks
Published: 2021-06-03 07:36:34

Just a few days ago, my Angular CLI broke, and I was forced to code some [stuff](https://siddharthshyniben.github.io/webdown) in plain old HTML – No transpiling, no compiling, no build tools other than my hands on the keyboard.

It was a simple task, but I was bent on building it in Angular. But I couldn't and had to write it in plain HTML.

This made me think – If I had used Angular for such a small task,
- The code would be _wayyyy_ bigger, because of all the Angular stuff
- I'm 99% sure that it would have taken _wayyyy_ more time to build – It almost felt like I wrote the app in HTML in the same time it takes for Angular to create a project using `ng new` 😃

Writing HTML felt tremendously liberating. It felt nice to write the actual HTML, CSS, and JavaScript which will be delivered to the end users.

Don't get me wrong – I absolutely recognize why complex pipelines are important for complex websites. If you're part of a big group, you in all likelihood want to have processes in place so that everyone can contribute to the codebase in a consistent way.

But that setup isn’t appropriate for each website. And all those equipment and techniques which are supposed to save time every now and then waste time down the road. Ever had to revisit a project after, say, six or twelve months? Maybe you just want to make one little change to the CSS. But you can’t because a dependency is broken. So you try to update it. But it relies on a different version of Node. Before you know it, you’re Bryan Cranston changing a light bulb. You should be tweaking one line of CSS but instead, you’re [battling entropy](https://blog.jim-nielsen.com/2020/cheating-entropy-with-native-web-tech/).

I think we should cut down. No more [weighty](https://dev.to/leoat12/the-nodemodules-problem-29dc) `node_modules`; just crispy HTML, CSS and JavaScript
Data Science Starter Kit
Tags: datascience, machinelearning, python, tutorial
Published: 2021-06-03 07:35:50

This article presents you the Data Science Starter Kit that will serve as a self-help guide to help you get started in your data science journey. Nope, I’m not selling you a course. Nor is it going to be a magical formula that will effortlessly instill you with data science knowledge and skills.

This Data Science Starter Kit is going to cost you ZERO dollars (although the learning service providers mentioned herein does). What this starter kit can do for you is provide a framework that will help pinpoint you in the right direction and help you take your first steps.

It’s going to be tough journey. You might even want to give up, but with perseverance and the right mindset you can do this. There’s a lot to cover here and without further ado, let’s get started!

[**Read the full article**](https://towardsdatascience.com/data-science-starter-kit-2d8e2291914b)
How JavaScript works? The Execution Context || My Handwritten notes || Part 1
Published: 2021-06-03 07:18:14

Hello Everyone!

JavaScript is the most hated as well as most loved and popular programming language in the world.

The reason for the hate is because most people don't understand the underlying beauty of JavaScript.

In this series of posts we will explore: 
- How JavaScript works behind the scene?
- What is Execution Context?
- What is Call Stack?
- What is Hoisting in JavaScript?
- What is Event Loop?
- The "this" keyword?

And much more...

I wil keep updating this post with further parts. Now let's dive in.

## The Execution Context
Everything in JavaScript happens inside an **Execution Context**. This Execution Context works in 2 phases.

Both phases are known by multiple names.

1. Declaration Phase || Memory Allocation Phase || Creation Phase
2. Execution Phase || Implementation Phase

## 1 Declaration Phase
In this phase JavaScript scans through the entire code and allocates memory to the variables and functions.

Variables are initialized with **Undefined** as value.

That's it. This phase don't care about executing the code. It just initializes all the variables with undefined.

## 2 Execution Phase
In this phase **Undefined** value of variables are replaced by the actual value.

For all the function calls (invocation) a new **Function Execution Context** (FEC) is created inside the **Global Execution Context** (GEC is the main parent execution context).

And this FEC will again follow the entire 2 phase process of execution context.

## My handwritten visual notes
Every execution context (global OR function) maintains a memory. For GEC it is the Global Memory and for FEC it is the local memory.

First JavaScript looks in the local memory for a variable if not found then it looks for it in the global memory.

Here are my handwritten visual notes.
![execution context notes](https://pbs.twimg.com/media/E24XAvYVUAc7eJG?format=jpg&name=large)

![execution context notes](https://pbs.twimg.com/media/E24XAxnUYAApfmI?format=jpg&name=large)

I hope these will help.

-------------------------

In part 2 of this series we will discuss about how JS manages all these nested Function Execution Context. The Call Stack.

If you enjoyed it or found useful, please consider joining my weekly Newsletter: https://www.getrevue.co/profile/8020lessons
THERMOGRAPHY & THERMAL IMAGING OF ELECTRICAL SYSTEMS
Published: 2021-06-03 06:54:20

Also referred to as infrared inspection thermographic electrical scans are based on sensing heat emissions from an object’s surface. [Thermography electrical](https://www.katoelectrical.com/thermal-imaging-of-electrical-systems) inspection is a popular testing method often used for detecting poor connections, deteriorated or faulty insulation, unbalanced loads, and a variety of other issues in electrical components.
Jira Capacity Planning
Tags: jira, agile, codequality, programming
Published: 2021-06-03 06:23:28

Complete Guide on How to Do Planning and Estimation Like a Pro
For the whole iteration, it's important to make it possible that your team members have been scheduled to utilize their full capacity on the project.
Being on schedule is the only good news you long for during a sprint. If you are taking care of a software development team, you need to make sure that the iterations are meeting scheduled delivery times while your team members utilize their capacities fully. Planning their capacities may not be a one-time process; rather, it's an ongoing process and is worth spending hours on it along with the finances.

Software teams today are successfully employing Jira Capacity Planning to keep track of their performance throughout the development process. Jira Capacity Planning helps in all three stages of coding, collaboration, and release in the software development process. Easy-to-use agile roadmaps for Jira tools help the teams to manage the stakeholders, budgets, and feature requirements and make the findings as transparent as possible.

Through this article, you will realize how important capacity planning is for any project and how you can successfully employ Jira capacity planning on a portfolio individual basis for your team for the entire life of your software project.
LEARN MORE: https://duecode.io/blog/jira-capacity-planning/
LEARN TO SPEAK MODERN GREEK ONLINE IN ONE SIMPLE PACKAGE
Published: 2021-06-03 06:13:06

Like Greek itself, we change with the times, continually improving our curriculum and approach. [Greek123](https://www.greek123.com/)’s renowned Student Books provide a comprehensive introduction to the modern language that no other program can match, augmented with a rich digital platform, audio/video resources, animated games and more!
Angular : How to add reCAPTCHA feature in your angular app just in 5 minutes?
Tags: angular, typescript, tutorial, programming
Published: 2021-06-03 06:10:20

Step 1 - Install dependency
```javascript
npm i ng-recaptcha --save
```

Step -2 Open app.module.ts and add below import-
```javascript
import { RecaptchaModule } from 'ng-recaptcha';
```
Also add this to imports -
```javascript
imports: [RecaptchaModule,],
```

Step 3 - Open that component where you want to add human verification reCAPTCHA and then add below code -  
yourcomponentname.component.html 
```javascript
 <re-captcha (resolved)="resolved($event)" siteKey="6LcOuyYTAAAAAHTjFuqhA52fmfJ_j5iFk5PsfXaU" ></re-captcha>
```

yourcomponentname.component.ts
```javascript
public resolved(captchaResponse: string) { 
console.log(`Resolved captcha with response: ${captchaResponse}`); // Write your logic here about once human verified what action you want to perform 
}
```

Step 5 - This siteKey will work on localhost, you must have to generate your own siteKey, for this please visit google.com/recaptcha and add your domain and generate key, it's very simple and then replace the new key to markup of step3.  
  
All done.
Yup Formik Array Of Object Field Validation Example
Tags: react, yup, formik
Published: 2021-06-03 05:10:41

Dynamic Array of objects with Formik Yup Validation. The following example has a form and dynamic list of users. Each field has validation and error messages.

I want to thank codevolution for his amazing work in general, and more specifically for his playlist on Formik. If by any luck you found parts this post interesting, I strongly advice you to watch the playlist, it is much more valuable. Indeed the goal of this post is more about getting quickly the useful information about Formik and it is not focused on any pedagogic approach.

The goal is to use formik to turn the three input fields into controlled components:

[Yup Formik Array Of Object Field Validation Example](https://www.codecheef.org/article/yup-formik-array-of-object-field-validation-example)
Solution
Tags: javascript, programming, vscode
Published: 2021-06-03 05:07:21

This is my Solution For you
for (let n = 1; n <= 100; n++) {
    let output = "";
    if (n % 3 == 0) output += "Fizz";
    if (n % 5 == 0) output += "Buzz";
    console.log(output || n);
}
7 JavaScript Concepts That Every Web Developer Should Know
Tags: javascript
Published: 2021-06-03 05:06:27

## 1. Scopes 🤗
The understanding scope will make your code stand out, reduce errors and help you make powerful design patterns with it
Local and Global

### Local and Global
There are two kinds of scope — **global scope** and **local scope**

Variables defined inside a function are in local scope while variables defined outside of a function are in the global scope. Each function when invoked creates a new scope.

JavaScript has function scope: Each function creates a new scope.

```
// Global Scope
function someFunction() {
    // Local Scope #1
    function someOtherFunction() {
        // Local Scope #2
    }
}
// Global Scope
function anotherFunction() {
    // Local Scope #3
}
// Global Scope
```


## 2. IIFE 😎

### Immediately Invoked Function Expression

IIFE is a function expression that automatically invokes after completion of the definition. The parenthesis () plays important role in IIFE pattern. In JavaScript, parenthesis cannot contain statements; it can only contain an expression.

```
(function () {
    //write your js code here
})();
```

## 3. Hoisting 😉

Hoisting is JavaScript’s default behavior of moving all declarations to the top of the current scope (to the top of the current script or the current function).

## 4. Closures 🙄

A closure is a combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In JavaScript, closures are created every time a function is created, at function creation time. To use a closure, define a function inside another function and expose it.

One powerful use of closures is to use the outer function as a factory for creating functions that are somehow related. Using closures as function factories is a great way to keep your JavaScript DRY. Five powerful lines of code allow us to create any number of functions with similar, yet unique purposes


## 5. Callbacks 📞

A callback is a function passed into another function as an argument to be executed later

> A callback is a function passed as an argument to another function
> This technique allows a function to call another function
> A callback function can run after another function has finished


## 6. Promises 🤝

The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.

## 7. Async & Await 😮

The word “async” before a function means one simple thing: a function always returns a promise.

The keyword “await” makes JavaScript wait until that promise settles and returns its result.


Thank you :)
Freshdesk Integration with Mailchimp


Published: 2021-06-03 05:05:19


You can easily integrate Freshdesk with Mailchimp and perform the following tasks:
Add new Freshdesk users as subscribers to Mailchimp
Freshdesk-Mailchimp integration, all-new Freshdesk users will be added as subscribers to your Mailchimp list
Add or update Mailchimp subscribers for new contacts in Freshdesk
This integration makes it easy by automatically adding a subscriber in Mailchimp when there is a further contact added in Freshdesk.
Freshdesk Integration with Jira


Published: 2021-06-03 05:04:39


You can easily integrate Freshdesk with Jira and Sync Freshdesk tickets with Atlassian Jira issues.
You can refer to the pre-built workflow here: 

https://automation.quickwork.co/#/journey-store/details/5e71dab5ce309d00012c6cf8-Sync-Freskdesk-tickets-with-Atlasssian-Jira-issues.
React, Vue, or CMS
Tags: database, react, vue, help
Published: 2021-06-03 04:38:07

I’ve been using Styled-Components with React, and Firebase. With Airtable CMS

I like using something that helps setup my data so I can focus on making it, work.

Styling at times gets annoying because there’s 100 x 109+ ways to style one thing, allot of repeat coding....even setting up a form.... I like to focus on backend because of it. 

What is good to use? 
Is it popular to just use a CMS because of repeated code?
Day 5: Loops
Tags: javascript
Published: 2021-06-03 04:25:55

       'use strict';

       process.stdin.resume();
       process.stdin.setEncoding('utf-8');

       let inputString = '';
      let currentLine = 0;

      process.stdin.on('data', function(inputStdin) {
      inputString += inputStdin;
      });

      process.stdin.on('end', function() {
      inputString = inputString.split('\n');

     main();
     });

    function readLine() {
     return inputString[currentLine++];
    }


     function main() {
     const n = parseInt(readLine().trim(), 10);
     for (let i = 1; i<=10; i += 1){
        console.log(`${n} x ${i} = ${n * i}`)
     }
     }