teleren/devto huggingface dataset:
I built a status page using React and GitHub Issues
Tags: showdev, react, webdev, devops
Published: 2020-06-16 13:18:54

![Status Page Demo](https://dev-to-uploads.s3.amazonaws.com/i/5yjqln69yy27j2qblkbd.gif)

So recently I've been having a look at status pages and haven't really found any that I felt worked for me. so I decided to create one myself.

Ideally I wanted a free and simple status page but most I found were either self-hosted or had to be built each time a Component is updated or an Incident is reported.

I created it using React and the GitHub API so there is no need to rebuild and redeploy when you add an Incident or update a Component, simply update the GitHub Issue and the status page will update live.

Here are some of the features
- Easy setup
- Component reporting to show the current status of your services
- Incident reporting
- Hosting on GitHub Pages or other hosting providers
- Live updating status page
- Use Zapier Triggers to update the status page
- Easy integration with services and monitoring

[GitHub](https://github.com/tadhglewis/issue-status)
[Demo](https://tadhglewis.github.io/issue-status)

Let me know what you think of the idea and the project overall :)
Can Stellar Lumens reach $100?

Tags: stellarprice, xlmprice, stellarlumenspriceprediction
Published: 2020-06-16 13:12:24

Stellar, being one of the top-10 cryptocurrency, survived all Crypto seasons, from an all-time price of $0.9 in Jan 2018 to as low as $0.02 in 2019. The XLM coin has always been trader’s choice and a great share to have. While writing, the XLM price is  $0.04 with 3% Up.

Let’s have a look into some Stellar Lumens Price Prediction and market aspects that signifies the boost of XLM. 

What is Stellar?
Stellar is an open-source, distributed payment protocol that allows for quick transactions between any pair of currencies. It uses blockchain technology for its operation like various cryptocurrencies. Lumen(XLM), a digital currency, is its native asset.

About Stellar
Stellar was founded by Jed McCaleb in the year 2014. As it is a global exchange network, capable of hosting thousands of exchanges between currencies and tokens per second, it can be found very useful and valuable.; Stellar makes exchanging quick and cheap.

The aim of Stellar coin is to aid the cross-asset transfer of value at a fraction of a penny while aiming to be an open financial system that supplies people of all earning levels access to low-cost financial services.

Stellar Price Prediction 2020
By examining the ongoing performance, we can notice that XLM might get over 120% in the course of 2020, reaching the highest price of $0.60 by the end of the year. Besides, Google predicts $50 per one XLM unit in 2020, which is more than excited at this point.

Some of the Experts Predictions
1.“XLM will trade at $0.0165 by the end of 2020”- claimed by WalletInvestor.

2.LongForecast.com, predicts a passionate trend in the year 2020. XLM will drop to the price of $0.028 in late 2020.

3.“Stellar will cost $0.05 this year and will increase to $0.07 this price until 2021”-statement by TradingBeasts.

4.AltPocket.io predicts that XLM will have a strong approach in 2020. The XLM value would reach $0.10 in 2020.

Stellar Price Prediction for 2020 and 2025
The predictions experts are accomplishing for the Stellar Lumens price is that it could make $45 by the end of 2019 and the price of Stellar Lumens could reach up to the point of $100 in the year 2020, and makeup to $500 by the year 2025.

Conclusion
Despite this, there is a possible way that Stellar could lose more price against Bitcoin, it is unlikely to crash severely against fiat currencies like the USD. So, XLM can be termed as a good investment.

https://coinpedia.org/information/stellar-price-prediction/
UP Police SI Test Series Online| Free Practice Sets 2020
Tags: uppolice
Published: 2020-06-16 13:05:16

Practice UP Police SI with Online Free Test Series along with Practice, Mock Test, Latest Pattern and Syllabus of UP Police SI Exam for better preparation.  https://www.examlabonline.com/exam/up-police-si-mock-test-series				up si mock test
https://www.examlabonline.com/exam/ssc-je-mock-test-series				ssc je mock test
https://www.examlabonline.com/exam/ssc-cgl-mock-test-series				ssc cgl mock test
Will Litecoin take over the cryptocurrency market?

Tags: litecoinpriceprediction, litecoinprice, xlmpriceprediction, cryptocurrency
Published: 2020-06-16 13:03:38

In the world of crypto, Litecoin is called the "digital silver" whereas Bitcoin is called the "digital gold".Litecoin transactions are four times faster than Bitcoin Blockchain. Litecoin is also an alternative for bitcoin but it cannot be replaced as its parent coin. There are many ups and downs in the crypto world, we should be aware of. Let us see the Litecoin price prediction.

Litecoin is a peer-to-peer cryptocurrency that is created by Charlie Lee. The creation was based on the Bitcoin protocol which alters in terms of the hashing algorithm used.

Litecoin Price Today:
Litecoin was the one to catch us by a surprise since the last two days. Among an inbound gathering of indicators expected to probably resist its price from crawling, Litecoin acquired momentum upwards.

Litecoin Price Prediction
Let us know what  prediction experts of the crypto world say about Litecoin price prediction for 2020 – 

1. TradingBeasts, a popular crypto forecast website, predicted that  LTC price will be around $46.23  by the end of next year,; and only a bit higher in 2021 – up to $67.23

2. CoinFan,  a famous online forecasting service, says that Litecoin future predictions look rather promising, with LTC prognosed to end 2020 at $276.4. 

3. George Tung, a cryptocurrency analyst, says litecoin  prices might rise as high as $1,500 towards the end of 2020.

4. As per crypto ground forecast, litecoin price might reach $88 by 2020, and in five years litecoin might reach $347.

5. Long Forecast believes that the Litecoin price will fluctuate in 2020 between $30 and $50.

So,what are your views on Litecoin Price Prediction?Do share.

https://coinpedia.org/information/ltc-litecoin-price-prediction/
Data Science Master Coaching
Published: 2020-06-16 12:41:08

Ever questioned how Google, Yahoo, and other serps pull out information from the millions of websites online? All coaching comes with multiple tasks that completely test your expertise, learning and practical knowledge thus making you fully business-ready. With this Information Science Training In Hyderabad, students will get to build knowledge of basics ideas like statistics, R & Python programming to advanced ideas of AI, Machine Learning, Deep Studying & TensorFlow.

With the arrival of Synthetic intelligence, the importance of massive data analytics goes to grow as the machines would not be capable of draw inferences and that is one thing that might stick with the people to decide. You may have excellent and in-depth information about Python and the choice options you taught me. I'm delighted to share my opinion about my experience.

A Information Scientist is somebody who extracts the info , cleans it, manipulates it, visualizes it , and explains it to a non technical viewers, such that actionable data can be utilized by the business. Upgrade yourself by attending this information science course in Hyderabad It's taught by an professional teacher who can also be a real time knowledge scientist.Anyone can be a part of this coaching , irrespective of your background.

By the point of course completion, we suggest our college students profiles to these corporations and put together them for the interviews by conducting multiple mock interview classes. Basic commencement is ok to learn Knowledge Science. Information Science has now become a serious necessity for businesses no matter its size. Being a pioneer in the subject of delivering trade related Information Science Coaching In Hyderabad, we've got efficiently made tie-ups with many reputed firms and start-ups.

Apply the concepts gleaned in this course and get recognized in the knowledge science certification, <a href="https://www.excelr.com/business-analytics-training-in-bangalore

">Business Analytics courses</a> demonstrates your proficiency in advanced drawback fixing with essentially the most sophistical technology out there. Data science is a specialised discipline that includes a number of areas equivalent to arithmetic, statistics, clever knowledge seize techniques, data mining, knowledge cleaning and programming to arrange and align huge knowledge for analysis to extract info and insights.

We are located at : 
Location : 
ExcelR - Data Science, Data Analytics Course Training in Bangalore
49, 1st Cross, 27th Main BTM Layout stage 1 Behind Tata Motors Bengaluru, Karnataka 560068
Phone: 1800-212-2120/ 070224 51093
Hours: Sunday - Saturday 7AM - 11PM
How to use WeakMap WeakSet in javascript.
Tags: javascript, tricks
Published: 2020-06-16 12:40:47

---
title: How to use WeakMap WeakSet in javascript.
published: true
description: what is weakmap weakset
tags: Javascript, Tricks
---

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

**Javascript** GC will collect object and release space which not used

```javascript
let obj = { name: "foo" };
obj = null;
// GC will release obj space in memory
```

But this case will not release space 

```javascript
let obj = { name: "foo" };
let maps = new Map();
maps.set(obj, "obj-value");
obj = null; // set obj to null want to release sapce
maps.get(obj) // 'obj-value'
// maps => Map(1) {{…} => "obj-value"}
```

Emmm..  we just set  `null`  to obj but not release space in memory, we can fetch the value use `maps.get(obj)` why?

If you want to release `obj` maybe you can use `WeakMap` or `WeakSet`

```javascript
let weakMap = new WeakMap();
let obj = { name: "foo" };
weakMap.set(obj, "obj-value");
console.log(weakMap.get(obj)) //=> "obj-value"
obj = null
console.log(weakMap.get(obj)) //=> undefined 
```

I think `WeakMap` more useful when you need store `object` key to map , aslo `WeakSet` too.

Hope it can help you :)
How to hire mobile app developers?
Tags: android, ios, app
Published: 2020-06-16 12:18:02

With the world moving faster and faster towards complete digitalization, smartphones have become a necessity rather than any luxurious items. Close on the heels of smartphones is the business of app development. The business of app development is proliferating day by day and therefore to hire mobile app developers is of primary importance. Right now, the number of smartphone users in the world is 3.5 billion according to sources, which are definitely on an increasing trend.  

It is estimated according to sources that by next year mobile users will be a whopping 7 billion and by 2022 mobile app downloads will be 45% more from what it was just around 3 years back. Technology advancement also is there every day and therefore the next step prudently will be to hire iOS developer. It will be interesting here to note that globally smartphone users spend on an average approximately 4 hours a day on apps.
Let us look at the basic criteria to hire a mobile app developer :https://techieknows.com/quickly-hire-mobile-app-developers/
5 Reasons Your Business Needs its Own Mobile App - Intelvue
Tags: webdev, design, intelvue, blog
Published: 2020-06-16 12:03:25

In just under ten years, [enterprise app development](https://www.intelvue.com/services/enterprise-app-development/) has reached a threshold and exceeded Web applications in terms of usage. Customers use mobile apps to chat with friends, browse the web, shop online and manage their bank accounts, spending an average of three hours a day on their cellphones.


Find complete blog at [Reasons your business needs a mobile app] (https://www.intelvue.com/5-reasons-your-business-needs-mobile-app/)
Daily Developer Jokes - Tuesday, Jun 16, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-06-16 12:00:06

---
title: "Daily Developer Jokes - Tuesday, Jun 16, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Tuesday%2C%20Jun%2016%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12591442e48.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ When do front end developers go out to eat?

___A:___ On their lunch `<br>`.
 -->
Is JavaScript good for machine learning?
Tags: javascript
Published: 2020-07-18 16:37:21

---
title: Is JavaScript good for machine learning?
published: true
date: 2020-06-16 12:00:00 UTC
tags: javascript
canonical_url: https://www.ma-no.org/en/programmazione/javascript/is-javascript-good-for-machine-learning
---

![TypeScript: Is JavaScript good for machine learning?](https://www.ma-no.org/cache/galleries/contents-1962/960-400/machine-learning-javascript-impjpg.webp)


One of the things you always hear when you are talking to someone related to the M.L. world is that, one must learn Python because the vast majority of the major libraries are in that technology. You're probably right, but I chose JavaScript as the metal of my sword and decided to find out a bit about this statement and write a bit about it in case you ever wondered about it too.

Can I do Machine Learning with JavaScript ?


The short answer is yes.

You don't have to be a genius to know that if Google is working on https://js.tensorflow.org/, which is one of the most popular AI libraries in the industry, it's because they've already looked at the benefits and disadvantages of using JavaScript over Python.
But the purpose is to explore a little more about the current state of Machine Learning with JavaScript.

But what is Machine Learning?
To answer this you can read my previous post.

Some things that are said about JavaScript and the M.L.

- Javascript is slow.
- Handling Matrices is difficult with JavaScript.
- Python got all the major libraries.

Let's analyze these statements one by one.

JavaScript is slow.
Short answer: It depends.
First we have to understand that JavaScript can run both in a browser (Client) which its CPU and memory capacity will be variable and can run in the Server with something called Node.js in which we will have a computer with the capabilities we have chosen in our Server.

The second thing is that a developer without a deep understanding of JavaScript in both design and architecture and best practices can create something of poor performance in any technology. You can find good performance concepts in these technologies in this JavaScript link in the Client and in this JavaScript link in the Server.

[Read all](https://www.ma-no.org/en/programming/javascript/is-javascript-good-for-machine-learning)
Connecting AirPods Pro using Automator
Published: 2020-06-16 11:48:24

When I use my AirPods Pro for both my iPhone and my MacBook Pro, the AirPods Pro connects to the device which it connected last time. It is annoying when I use my MacBook after I used my iPhone with my AirPods Pro because I have to manually operate in the sound setting or the bluetooth setting of MacOS.

I decided to create a one click method to have AirPods Pro connect my MacBook Pro quickly.

The workflow of Automator is following. Usually, you need to create those steps by the recording feature.
1. Launch Application - System Preferences.app.

2. What Me Do - Click the "Sound" button. (Type "Sound" in "Search")
3. What Me Do - Type "[Name_of_AirPods]" into the text field. (Click the sound device which is AirPods)

4. What Me Do - Press Cmd+Q (Make sure playback speed should be 1x otherwise "step 3." does not have enough time to click the device.)

5. Save the workflow as an application.

Additionally, you will be asked to grant the application the permission for Accessibility when you execute the application.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/a86dw535g6qie6cwr3ty.png)
Finally built a vscode extension
Tags: vscode, programming, extension, tool
Published: 2020-06-16 11:24:21

---
title: Finally built a vscode extension
published: true
description: Automate the process of adding a line of variable to your .env and sample-env file.
tags: vscode,programming,extension,tool
//cover_image: https://direct_url_to_image.jpg
---

I have been thinking of building a vscode tool and finally published one.

It is an extension used for automating the process of adding a line of variable to .env and sample-env file, instead of copying and pasting.

```javascript
const KEY = "MysecretKey"; 
 
Right click on the line
Click on Add Line to env

The line will change to:
const KEY = process.env.KEY

The env and sample-env file will also be populated
```
Install here: https://marketplace.visualstudio.com/items?itemName=danielshow.autoenv&ssr=false

Check out the repo here:
https://github.com/Danielshow/autoenv

Kindly help install on vscode. it means a lot. Thanks

I will put up an article on how I built it.
Algorithms Problem Solving: Insert into Binary Search Tree
Tags: algorithms, python, computerscience, interview
Published: 2020-06-16 11:20:54

---
title: Algorithms Problem Solving: Insert into Binary Search Tree
published: true
description: Solving algorithms problems with TK
tags: algorithms, python, computerscience, interview
cover_image: https://raw.githubusercontent.com/leandrotk/tk/master/series/algorithms-problem-solving/assets/tree-in-fog.jpg
canonical_url: https://leandrotk.github.io/tk/series/algorithms-problem-solving/insert-into-binary-search-tree.html
series: Algorithms Problem Solving Series
---

This post is part of the [Algorithms Problem Solving](https://leandrotk.github.io/tk/series/algorithms-problem-solving/index.html) series.

## Problem description

This is the [Insert Into Binary Search Tree](https://leetcode.com/problems/insert-into-a-binary-search-tree) problem. The description looks like this:

Given the root node of a binary search tree (BST) and a value to be inserted into the tree, insert the value into the BST. Return the root node of the BST after the insertion. It is guaranteed that the new value does not exist in the original BST.

Note that there may exist multiple valid ways for the insertion, as long as the tree remains a BST after insertion. You can return any of them.

## Examples

```python
Given the tree:
        4
       / \
      2   7
     / \
    1   3

And the value to insert: 5

The return BST could be

         4
       /   \
      2     7
     / \   /
    1   3 5
```

## Solution

The algorithm idea is to traverse the Binary Search Tree and when the current doesn't have the child, we insert the new node there.

As this tree is a BST, we want to traverse it by verifying the if the value we want to insert is greater or smaller than the current node's value.

If it is greater, go to the right side of the tree. If it smaller, go to the left side. If the current node is `None`, or in other words, the last tree node didn't have the child, we just return a new tree with the value to insert in the appropriate child.

```python
def insert_into_BST(root, val):
    if root is None:
        return TreeNode(val)

    if val < root.val:
        root.left = insert_into_BST(root.left, val)

    if val > root.val:
        root.right = insert_into_BST(root.right, val)

    return root
```

## Resources

- [Learning Python: From Zero to Hero](https://leandrotk.github.io/tk/2017/09/learning-python-from-zero-to-hero/index.html)
- [Algorithms Problem Solving Series](https://leandrotk.github.io/tk/series/algorithms-problem-solving/index.html)
- [Stack Data Structure](https://leandrotk.github.io/tk/2020/01/stack-data-structure/index.html)
- [Queue Data Structure](https://leandrotk.github.io/tk/2020/01/queue-data-structure/index.html)
- [Linked List](https://leandrotk.github.io/tk/2020/02/linked-list/index.html)
- [Tree Data Structure](https://leandrotk.github.io/tk/2020/02/tree-data-structure/index.html)
DAY 6: REVIEW
Tags: python, beginners
Published: 2020-06-16 11:09:16

Hi there, I hope you’re doing good.

I’m doing well as well and we are still pushing through the challenge and today was a review of some of the concepts learnt so far such as strings, input/output, conditionals and loops.

**The challenge:***
Given a string **S** of length **N** that is indexed from **0 to N-1**, print its even-indexed and odd-indexed characters as 2 space-separated strings on a single line.
For the input format: the first line contains an integer, **T (the number of test cases)** and each line **i** of the **T** test cases contains a string **S**.

From the given challenge we can break it down to the steps we need to carry out to complete it:
•	Accept an input for the number of test cases one will need.
•	Loop through the number of test cases and accept input for the strings
•	Loop through each string and determine which characters are even-indexed and which are odd-indexed and store them in a variable.
•	Print the final output as expected.


**My Solution:**
```python
#integer input for the number of test cases
N = int(input())

#variables to hold the even and odd indexed characters; I used lists.
index_even = []
index_odd = []

#looping through each test case
for i in range(0,N):
    #input for the string
    string = input() 

    #empty the lists if they hold any strings 
    index_even.clear()
    index_odd.clear()

    #loop through the string; item(index value) and char(character value)
    #enumerate() method eases looping through the string
    for item , char in enumerate(string):

        #conditional to check if the index is odd or even.
        #if even, the character is added to the index_even list respectively
        if item % 2 == 0:
            index_even.append(char)
        else:
            index_odd.append(char)

    #transform the characters in the list to form a single word.
    print(''.join(index_even), ''.join(index_odd))

''' 
Sample Input:
2
Hacker
Rank

Sample Output:
Hce akr
Rn ak
'''
```

Every time one is learning something new, things tend to look foreign but with the help of Google you can be able to pick up a thing two and get yourself unstuck (There is nothing wrong with going to google for help).