teleren/devto huggingface dataset:
ML - How it all started?
Tags: ai, machinelearning, datascience, localhackday
Published: 2021-01-18 07:54:22

There maybe a question in your mind how it all started back then? I mean by the machine learning and artificial intelligence stuff. Well, we know it started by a thought of helping humans to reduce their working amount, to help them and to make machines work with humans like humans. And it all started back then in 1950 when Alan Turing creates the “Turing Test” to determine if a computer has real intelligence. Arthur Samuel invented machine learning and coined the phrase “machine learning” in 1952. He is revered as the father of machine learning. And then the development in this field never ever stops till now. Now, we have more advanced things in this field. Whether it's IBM Watson, Google brains, DeepFace, and even many more advanced algorithms like AlphaGo and others. 

Let's look it from a little different perspective. So, maybe it all also started from data. Yeah you heard right, from data. In beginning, we were just storing data on papers using pens but it require more human work and then the data starts growing, computers come into play, more advancement happened and we started using spreadsheets like excel files & csv files to store data. And people can analyze these files data to get an insight & make business decisions & can also predict about things based on this data. This is what we call Data Analysis.

As the data grow more & more, we come with idea of relational databases to organize and understand things in a better way. And later we come up with term Big Data, its' a lot of data & can't be saved & managed in spreadsheets.

And sometimes aside from this structured data, we have messy unstructured data & so, we come up with NoSQL & databases like mongo. And then this idea of ML comes as we can't look in that much data manually and make decisions. We could but then we are just wasting a lot of data & time so, big companies start using massive data to train machines so that they can recommend users according to their searches and what they like and similar things.

So, isn't it right if we say the idea of ML initially came with the idea to use big amount of data and due to advancement in CPU, GPU and whole technology. Spreadsheets like excel files & csv files are used to store data. And people can analyze these files data to get an insight & make business decisions & can also predict about things based on data. 
Well, it's not that hard to relate all these things. And we are still progressing in this area so, you can imagine how things are going to change in near future.
MLH LOCAL HACK DAY : BUILD 
Tags: localhackday, mlh, majorleaguehacking
Published: 2021-01-18 07:45:07

Hey there, 
So this week was the most joyous as well as challenging part of my life. I participated in LOCAL HACK DAY : BUILD by MLH and it was just awesome. I attended all the events and workshops, they were fabulous. I learned a lot of new things, technologies. I also joined a guild, which helped me to make a lot of new connections. All the challenges given by MLH were so exciting and challenging! I just loved it.
This was one of my best time, also, best hackathon!
Self Talk Website
Tags: html, nuxt, vue, node
Published: 2021-01-18 07:33:39

### Self Talk 

Self-talk is your internal dialogue. It’s influenced by your subconscious mind, and it reveals your thoughts, beliefs, questions, and ideas.

One day I looking for apps that can help with self-talk. After hours of research, I couldn't find any app.

So I decided to have a go. Check out the app.

[https://ajay2605.github.io/self_talk_nuxt_github_pages/]

* This is a self-talk website, where you can chat with yourself.

* You can be both the sender and the receiver. 

# Instructions

There are two text fields.

1. The first one is to decide which side the message should go.
			For LEFT - type 'a' press space
			For RIGHT - type 'aa' press space
			

2. The second text field is to type the message.
  After you decide the side, you can type your message and press ENTER


Have fun texting with yourself. Thanks.
What I've been up to at Local Hack Day: Build😍
Tags: mlh, majorleaguehacking, localhackday
Published: 2021-01-18 07:30:38

**Whew**!😌 Till now the only way which I remember🤔 to celebrate as a Developer was **Hacktoberfest**. But that wasn't enough, so we've **LHD:Build** too with us all enabled by Major League Hacking😎! It's quite interesting to learn from their programs. The way they organize such week-long or even those week-end hackathons are fun participating. They are really changing the learning process, and folks are loving it a lot🥰.

**More content coming soon**
Vanilla JavaScript get current timestamp
Tags: javascript
Published: 2021-01-18 07:25:00

Today I needed to get a timestamp to include in a unique file that I'm generating with `Node.js`.

It's one of these things that after 17 years, I still google to this day... Call me stupid or just ignorant in not saving it in my brain.

## Getting a Timestamp in JavaScript

```js
Date.now();
```

Wow, That was the one thing I can't get in my head?!
Yes. There are other ways of doing it, so here are some alternatives that do the same:

```js
new Date().getTime();
new Date().valueOf();
```

All three methods will get a millisecond timestamp; we can convert it to seconds by doing so:

```js
Math.floor(Date.now() / 1000);
```

Feel free to have a look and play on this Codepen.

{% codepen https://codepen.io/rebelchris/pen/OJyeOpp %}

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
Ubuntu Web-Development Set Up
Tags: ubuntu, webdev, sql, elasticsearch
Published: 2021-01-18 07:23:03

Hi, are you looking to setup a laptop for web development, if yes then you are at the right place. 

As a Beginner we all face the same problem, we fall into a endless loop of installing and uninstalling applications. unlike windows in Ubuntu its difficult to install/uninstal applications so we have to spend lot of time managing those applications. 

In this article i will explain how to install few of the applications and not to make the same mistake as i did as Beginner, lets dive into this without wasting any time.

### Applications/Tools
* Node
* NPM
* Git
* JAVA 8
* python
* Elastic Search
* Kafka

#### First Update system
` sudo apt-get update `

#### NODE
* ` sudo apt-get install nodejs `
  - verefy installation 
  * `nodejs -v `  

#### NPM
* ` sudo apt-get install npm ` 

  [Refrence](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04)

#### JAVA 8
#### [REMOVE default java](https://askubuntu.com/questions/84483/how-to-completely-uninstall-java)
#### [java](https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/)

#### PYTHON 

[python](https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-20-04-server)

#### Elastic search and Kafka

[ES 6.2.4](https://www.elastic.co/downloads/past-releases/elasticsearch-6-2-4)
[Kafka 3:59](https://kafka.apache.org/downloads)

#### Run kafka in the following order
```
# Start the ZooKeeper service
# Note: Soon, ZooKeeper will no longer be required by Apache Kafka.
$ bin/zookeeper-server-start.sh config/zookeeper.properties
```  
```
# Start the Kafka broker service
$ bin/kafka-server-start.sh config/server.properties
```

NOTE:
> Personal Tip to install **JetBrains** applicatopn its as simple as download one application to manage maney [visit](https://www.jetbrains.com/toolbox-app/) for more.
Vim plug for vscode
Tags: vscode, productivity, beginners
Published: 2021-01-18 07:12:32

#It is worth it?
I've been using this plugin for at least 2 months and since I discovered it, my personal typing experience has improved significantly. Before I know this tool I used to watch some programming videos on YouTube and many of them had this special ability of typing without arrow keys, and at that moment I didn't understand how that works, so I begin searching. I found out about vim / neovim and all its complex structure and I get it loved with.

Vim provides a different way of interacting with text from anything I've ever seen, it gives you a completely different level of control and fluency when editing code.

- Vim makes you faster.
- Vim makes you more precise
- Vim thins the interface between your brain and the computer
- Vim thins the interface between your brain and the computer
- raise your programmer status


If you are doubting of using it, definitely give it a try, I assure it won't disappoint you.

##Why  Vim in VS Code and not just Vim?
The truth is that setting Vim to work with a feature similar to modern text editors is not a trivial task. Features like code completion, code navigation, error messages, etc, 
although they are compatible with Vim, they do not work perfectly out of the box. 
Visual Studio Code and Vim offer a very sweet integration that involves the super rich development user experience of Visual Studio Code with lots of the amazing features present in vim.


#VsCodeVim  install and config
You will need to install the vscodevim plugin:
1. Open Visual Studio Code
2. Go to Extensions
3. Type vim in the search box
4. The first one named Vim is the one
5. Install it and start journey


After installed the plugin go for the file setting.json to do some settings, I recommend you going for the official repo on git hub: [VSCodeVim](https://github.com/VSCodeVim/Vim). Here's my personal vim configuration (paste in settings.json file):

```json
{
  "vim.easymotion": true,
  "vim.incsearch": true,
  "vim.useSystemClipboard": true,
  "vim.useCtrlKeys": true,
  "vim.hlsearch": true,
  "editor.lineNumbers":"relative",
  "vim.leader": "<space>",
  "vim.insertModeKeyBindings": [
    {
      "before": ["k", "j"],
      "after": ["<Esc>"]
    }
  ],
  "vim.normalModeKeyBindingsNonRecursive": [
    {
      "before": ["<leader>", "d"],
      "after": ["d", "d"]
    },
    {
      "before": ["<C-n>"],
      "commands": [":nohl"]
    }
  ],
  "vim.leader": "<space>",
  "vim.handleKeys": {
    "<C-a>": false,
    "<C-f>": false
  },
  "vim.normalModeKeyBindings": [
    {
    "before":[":"],
    "commands":[
       "workbench.action.showCommands"
     ]
    }
  ],

}

```
##Tips
- Go [VSCodeVim](https://github.com/VSCodeVim/Vim), there you will be finding all you need to get started. 
- Take your time to understand things, don't rush yourself.
Leetcode 22. Generate Parentheses
Tags: javascript, algorithms, leetcode, backtracking
Published: 2021-01-18 07:11:52

##Description
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

##Example 1:
```
Input: n = 3
Output: ["((()))","(()())","(())()","()(())","()()()"]
```

##Example 2:
```
Input: n = 1
Output: ["()"]
```

##Solution:
- This solution will use backtracking
- Backtracking is a systematic way of iterating through all possible combinations
- These types of problems follow a similar pattern 
```javascript
// function to return answer and adds the params to the 
// recursive backtracking function 
function setup(n) {
    // answer to return
    // recursive backtrack(answer, emptyCombination);
    // return answer;
};

function backtrack(ans, curentCombination) {
    // if (base case) {
    //   add curentCombination to answer
    //}

    // logic for recursive call to add items 
    // to curentCombination
}
```
- We will recursively construct valid combinations of parens and return them in an array
- Recursive algorithms require a base case in order to break out of the recursive calls
- Let's think about a possible base case
- In this problem, all opening parens must have a corresponding closing parens (opening count ==== closing count). Therefore the total number of parens in a valid combination = opening params + closing params = n x 2
- Since any valid combination cannot be more than n x 2 in length, let's use this check as our base case
- Once we hit the base case, we know that the current combination is valid and can be added to our output array
```javascript
    if (cur.length == max * 2) {
        ans.push(cur);
        return;
    }
```
- When adding to our combination we can either add an opening or closing paren and we must have n amount of each 
- For the combination to be valid we must add an opening paren first
- Once we've added this paren in the current combination we will add more until we reach our max limit (n)
- We can repeat this logic through recursive calls
```javascript
    if (open < max)
        backtrack(ans, cur+"(", open+1, close, max)
```
- Once we have added the opening parens we must add the closing parens through similar recursive logic
```javascript
    if (close < open)
        backtrack(ans, cur+")", open, close+1, max);
```
- We keep track of each type of paren in our current combination starting at 0 for each in our setup function
- Our current combination will start as an empty string and will have parens added to it on each call
- The setup function will look like this
```javascript
 var generateParenthesis = function(n) {
    const ans = [];
    backtrack(ans, "", 0, 0, n);
    return ans;
};
```

### Full solution

```javascript
 var generateParenthesis = function(n) {
    const ans = [];
    backtrack(ans, "", 0, 0, n);
    return ans;
};

function backtrack(ans, cur, open, close, max) {
    if (cur.length == max * 2) {
        ans.push(cur);
        return;
    }

    if (open < max)
        backtrack(ans, cur+"(", open+1, close, max);
    if (close < open)
        backtrack(ans, cur+")", open, close+1, max);
}

```
How to Develop a Top-Notch Food Delivery Software?
Tags: flutter, dart, startup
Published: 2021-01-18 06:57:50

Restaurant management software is an extensive solution for restaurateurs to digitize their entire restaurant process. WooberlyEats is one of the most trustworthy [food delivery software](https://www.rentallscript.com/food-delivery-software/) made for restaurateurs. It was built with flutter technology to give an amazing and flawless user experience.

## How it helps restaurateurs?
 - Convenient to organize the digitized menu
 - Easy and flawless order management
 - Simple elegant dashboard, restaurateurs can manage everything 
   on a single screen.
 - Detailed Order History Graph (Up to 30 days)
 - Auto Payouts
 - Easily oversees the current and previous order transactions.
 - Print Receipt
 - Multi-Language you can focus on various region customers.
 - Restaurateurs can change the availability of the restaurant.
 - Easily ban the spam users
 - Earnings management

## Why Should You Consider Readymade Food Delivery Software?

Developing food delivery software from scratch is a time taking process. You have to spend for each resource separately. To build an extensive food delivery software you have to hire the following resources,

 - UI/UX designer
 - Front-end developer
 - Dedicated back-end developer
 - Software tester
 - Project coordinators


Apart from all you have to be more conscious until the completion of the project. Instead of spending time and money in developing food delivery software from scratch, you can purchase the readymade food delivery software solution from any one of the leading vendors in the industry.

### Benefits of purchasing readymade food delivery software:
 - Faster deployment
 - 100% source code
 - Completely white labeled
 - Fully customizable
 - End to end tech support
 - Server installation

## The Best Food Delivery Software for Instant Launch:

WooberlyEats is one of the leading food delivery software. It’s developed using flutter technology, It will speed up your performance, and also increase customer retention rate. 

You can get this solution at a reasonable cost. It will be an accurate solution for your food delivery startup and it has the ability to take over your business ahead of the competition. The outstanding features of WooberlyEats make your startup different from others.
THE SELF TAUGHT DEVELOPER
Tags: python, javascript, beginners, programming
Published: 2021-01-18 06:56:04

A self taught developer is a person who disciplines  him/herself to learn coding without the guidance of people such as the teachers or professors of an educative institution. When teaching yourself to code, you learn on your own schedule using free or paid online / offline resources. Self learning and self education is one of the most efficient and effective form of education that has ever existed and still existing.

I would outline the path that would help in been an outstanding self taught developer

**The dos;*

- Work on basics
- Practice coding
- Eagerness to learn new things both online(virtual) and physical
- Write simple and logical code
- Read documentation and read blogs, tech news
- Discuss problems with friends
- Always analyse and review code
- Keep yourself fresh and healthy
- Maintain consistency
- You'll keep forgetting things so keep learning again
- Master one thing instead of focusing on multiple
- Avoid procrastination



**The don'ts!**

- Giving up too soon
- Refusing to ask for help
- Passing blame to others
- Not knowing how to optimize code
- Not learning from mistakes
- Bad naming conventions

**Friends of every self-taught coder**

- __[Github](https://github.com/)__
- __[W3Schools](https://www.w3schools.com/)__
- __[HackerRank](https://www.hackerrank.com/)__
- __[StackOverflow](https://stackoverflow.com/)__
- __[YouTube](https://www.youtube.com/)__
- __[Google](https://www.google.com/?sa=X&ved=0ahUKEwiFtY_T6PPqAhVE3IUKHQKpBdIQOwgC)__
- __[Udemy](https://www.udemy.com/)__

and maybe coffee.
        

Please kindly like and comment below for feedback and you can also link up with me on __[Twitter](twitter.com/chryz_codez)__ and on this platform for more engagement, motivation, interaction and support as a developer.
Hello Libtorrent :  Publish Data (1) Start Your Tracker Server
Tags: libtorrent, bittorrent, opentracker, p2p
Published: 2021-01-18 06:43:34

This document is a tutorial to publish a data with your opentracker and your libtorrent client. 


# Start Your Tracker Server
Preparing Tracker Your Server is not always necessary. It is optionnal now.  Because Bittorrent support trackerless protocol.

But, This time, In this Document, You prepare your tracker server. 

It is a basica way according to a http://bittorrent.org/beps/bep_0052.html and http://bittorrent.org/beps/bep_0003.html


## Start a Tracker Server  

maybe you can use vps or aws ecp or gcp .. 
in this document, digital ocean vps (droplets)

https://www.digitalocean.com/

#### Install Opentracker

```
$ apt-get update
$ apt-get install build-essential -y
$ apt-get install git -y
$ apt-get install cvs -y
$ apt-get install zlib1g-dev -y
```

```
$ cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
$ cd libowfat
$ make
$ cd ..
$ git clone git://erdgeist.org/opentracker
$ cd opentracker
$ make
```
#### RUN

```
./opentracker
```

You can get your Open Tracker Address!!
`http::<your vps ip>:6969/announce` is  your tracker address


## (Optional) Server Setting

You can start a tracker server. but, this server is stop if your server restart or your tracker server is down.

You can setup a tracker as systemd service.

#### Create Systemd Setting

/opt/my-opentracker.sh

```
#!/bin/sh

while true
do
  /root/opentracker/opentracker
  sleep 1
done

```

```
$ chmod 655 /opt/my-opentracker.sh
```

/etc/systemd/system/my-opentracker.service

```
[Unit]
Description = opentracker deamon

[Service]
ExecStart = /opt/my-opentracker.sh
Restart = always
Type = simple

[Install]
WantedBy = multi-user.target

```

```
$ systemctl enable my-codeserver
```


# MEMO

Dockerfile 's Sample is here
https://github.com/kyorohiro/hello_libtorrent
Dockerfile.tracker


# My Memo About Libtorrent And Index 
(0) code-server for libtorrent 2.0 
https://dev.to/kyorohiro/code-server-for-libtorrent-2-0-1m85
Winter of Doing by Crio.
Tags: crio, cwod, shareyourlearning, learnbydoing
Published: 2021-01-18 06:26:23

Hey, Guys, I am Abhinav Information Technology Sophomore at KIIT, Bhubaneswar. I am very new to development because I mainly do competitive Programming. So, basically, I am writing about Stage 1 of CWOD 2021.

What is Crio-Winter of Doing?
Crio-Winter of Doing is one of a kind program focused on bringing together budding engineering talent to work on challenging projects for the most exciting startups in the country. It is India’s largest tech externship program for developers.

What is an Externship?
Externships are typically held for a short time period lasting anywhere from a single day to eight weeks and are often held over a student’s winter or spring break whereas internships tend to be eight weeks long at minimum

What did I learn in stage-1?
I learned about HTTP, Rest, Linux, AWS, Git.

How did I learn the above things?
By Doing.
What is Local HackDay? Why Local HackDay
Published: 2021-01-18 06:23:45

Local Hack Day(LHD) is a hackathon organized by Major League Hacking(MLH).

#What are Hackathons?
A hackathon is an event, hosted by tech companies/organizations, where programmers get together for a short period of time to collaborate on a project. The participants work rapidly and often work without sleep to achieve their task, as the events generally only last 24 hours or take place over a weekend.

In most of the hackathons, anyone from least experience to graduate students can join or literally anyone.<br>

#What is Local Hack Day?

Local Hack Day is a week-long hackathon that takes place annually. Local Hack Day is taking place for the last 8 years(except 2020). It is recognized all over the world. It comprises daily and weekly events. The complexity of challenges varies and therefore, the candidate attending the event and can do the task according to their own knowledge.
<br>

<img src = "https://miro.medium.com/max/700/0*V7A0R5Zlq_peRzsF.png" figcaption = "Local Hack Day by Major Hacking League">

#Why Local Hack Day?
> The will be completely my experience and will be based upon my thoughts.

Those who don’t know who I am and my qualification(which are almost all of you) I am a 15 years old student, I am have been practicing learning java and I am a medium-level java problem solver. Including that, I am also interested in web development, Python automation, Machine Learning.

##My Story of Participation
The other day I woke up thinking that I wanted to have a collaborative friend who would like to code with me. In the search of that, I joined a lot of discord servers that were made by coding enthusiasts. From there — just one day before LHD was going to start— I found about Local Hack Day. At that time I didn’t even know what was a hackathon. Although I was a bit enthusiastic about coding and therefore, I joined it.

#What are the Features of Local Hack Day?
<ul>
<li>It’s compatible with a range of people.</li>
<li>Through local hack day, you get a sense of accountability and I believe accountability could lead anyone in the right direction anything.</li>
<li>They have leaderboard updates every single day, to return the enthusiasm to everyone.</li>
<li>It has guilds (group) formed from the whole community. And this guild helps every member of the guild to improve.</li>
<li>One of the best reasons is that you get a lot of projects to do that will both increase your knowledge and expand your GitHub profile.

</ul>
<hr>
This was my experience over Local hack day. Hope you were able to take something from it and will try to join one of them.

##Check my socials:
Twitter: [@AtulACleaver](https://twitter.com/AtulACleaver)
GitHub: [@AtulACleaver](https://github.com/AtulACleaver)
Instagram: [@AtulACleaver](https://www.instagram.com/atulacleaver/)