teleren/devto huggingface dataset:
Best Cryptocurrency to invest in 2021 
Tags: whitebitcoin, wbtc, cryptocurrency, bitcoin
Published: 2020-12-14 05:58:06

This year has been quite challenging for most of the business sector as due to the pandemic the overall economic growth across the globe was affected. And as a result, investors are moving towards cryptocurrencies as a possible alternative to traditional financial systems for making transactions, or strategically using crypto instruments to offset the risk of major economic threats.
 
As we gear in this new year 2021, it seems a perfect time to minimize the unforeseen challenges and threats that may hinder your business growth by investing in the digital currency
 
While there are more than thousands of cryptocurrencies but for initial investors/beginners, we pick the best two Cryptocurrencies that are most secure and have offered a great growth till date.
 
1. **Bitcoin**: Bitcoin is the oldest and most popular form of cryptocurrency. With gaining acceptance, bitcoins can be easily purchased from any reliable trading platform. This currency was a pioneer in introducing blockchain technology to the world. With the limited number of these coins in the circulation, the demand is always high and the investment in it can never go wrong. It is important to note that since bitcoins are always in huge demand, the per-unit cost is a bit high compared to than other currencies available in the market but the returns of investments are also lucrative. 
 
2. **White Bitcoin (WBTC)**:White Bitcoin (WBTC) is another variant of the traditional bitcoin and is like traditional bitcoins, it is also secure cryptocurrency backed by blockchain technology. WhiteBitcoin (WBTC) empowers full incorporation of a Bitcoin-like resource into this advanced environment of financial decentralized applications, carrying along the tremendous liquidity related with the BTC market. The WhiteBitcoin (WBTC), originated in 2018, as an alternative to traditional Bitcoin, the best part is that [White Bitcoin (WBTC)](whitebitcoin.io) is its availability, the buying price is also less compared with traditional bitcoins and White Bitcoin (WBTC) has the high growth potential. 
 
As we said, there are multiple other cryptocurrencies that are surely worth your time, however, these two are the most popular and secure for its investment. While invested or trading in any cryptocurrencies we strongly advise you to look into its growth charts, it’s the ease of trade and its future predictions. In case, you are still not sure, feel free to discuss with us on ---- or visit us --- [White Bitcoin (WBTC)](https://www.whitebitcoin.io/)
Serverless vs Managed Servers
Tags: discuss, serverless, aws
Published: 2020-12-14 05:56:43

Serverless seems really nice to begin with but does it make your bills a lot more heavier as you grow?

Uing AWS Lambda when the traffic received is around 100 transactions per seconds works fine and costs nominal but if the Transactions per seconds were to grow ten fold (or more) is Lambda still a viable option?

Along with Lamba, the Cloud watch costs extra to house the logs this is not an issue with managed servers.
Should we use CMS or a plain Html site? 
Tags: html, startup, css
Published: 2020-12-14 05:50:48

While making a startup in the online market, you must have a question, whether you should use your own custom coding to code your site or you should choose a CMS for your online startup? 

Don't worry before scrolling through the article I wrote for you? 

There may be two conditions, which will help you to choose one of them. 

Condition 1: 
   You are a government agency or legal that holds sensitive data. You have to go to the Html coding site.

Condition 2: 
    You are a public figure or you are providing a service or product that is for the reading of the general public, it is easier and best for you to choose CMS. For example, I usually blog on the greatest CMS, WordPress. Although, I have chosen Blogspot for my blog <a href "https://www. Chillitos.net> Chillitos</a>. But still, CMS is more efficient than any blogging platform. 


Hope you are out of the question you had. 
My latest blog: https://www.chillitos.net/2020/12/can-you-freeze-tortillas.html
Read File's Content using While Loop | Shell Scripting 
Tags: linux, bash, beginners, tutorial
Published: 2020-12-14 05:43:55

**This is a multipart blog article series where I am going to explain the concepts of shell scripting and how to write a shell script in Linux, UNIX or Mac based systems. You can also follow this tutorial blog using windows but for that you have to install a bash from.**

_In this article we will see various ways by which we can read the content of a file using while loop and shell script._

1. The first method is like this.
    - Here we use `<` input redirection.
    - This means that the content of the file will be sent to the 
      while loop and then we will store the value of while loop 
      inside a variable and then print the content of that 
      variable line by line.
    - ```shell
      while read <variable_name>
      do
        echo $<variable_name>
      done < <file_name>
      ```
2. Second way is like this.
    - Here the output of the cat command is the input of the 
      while command.
    - ```shell
      cat <file_name> | while read <variable_name>
      do
        echo $<variable_name>
      done
      ```
3. The third way to do the same thing is like this.
    - We cannot use the above methods in some cases, than we use 
      the **IFS** methods.
    - Here we are assigning space to IFS.
    - We use `-r` because with the help of this it will do not 
      interpret backslash.
    - ```shell
      while IFS='' read -r <variable_name>
      do
        echo $<variable_name>
      done < <file_name>
      ```
4. At the place of file we can also give the file present at different location, along with their address just like this `/etc/someFile.txt`

[Reference code for this article](https://github.com/rahulMishra05/shell-scripting/blob/main/video17.sh)

_So this was all about the different ways by which we can read the content of the file using while loop in a shell script. Hope you liked it and learned something new form it._

If you have any doubt, question, quires related to this topic or just want to share something with me, than please feel free to contact me.

### 📱 Contact Me

[Twitter](https://twitter.com/r_mishra10)
[LinkedIn](https://www.linkedin.com/in/rahul-mishra-66210b185)
[Telegram](https://t.me/rahul_mishra10)
[Instagram](https://www.instagram.com/rahul_mishra10/?hl=en)

### 📧 Write a mail
<rahulmishra102000@gmail.com>

#### 🚀 Other links

[GitHub](https://github.com/rahulMishra05)
[HackerRank](https://www.hackerrank.com/rahulmishra10201)
Top Programming Language: When and How to Use Them
Published: 2020-12-14 05:35:40

Ever Wonder There are so many programming languages in the world where and how To use them

##Java
**use case**
1.web applications
2.Mobile
3.Embedded Systems

##C
1.Embedded Systems
2.Hardware drivers


##Python
1.Web Applications
2.Artificial Intelligence

##C++
1.Web services
2.Embedded systems
3.Proprietary Services

##Visual Basic .NET
1.Web Applications
2.Local Applications

##c#
1.web Applications
2.Local Applications

##php
1.Backend

##Javascript
1.Web and Mobile Apps

##Sql
1.DataBase queries

##Objective-C
1.Apple ios devices:

##Ruby
1.web Applications
2.Scripting

##Matlab
1.Mathematical Research

##Swift
1.Apple Products

##Go
1.Backend

##R
Statistical Computation and Analysis

##Dart
1.Web and Mobile Applications

##F#
Web Services

##Scala
1.Software Framework
2.Web Applications

##Rust
1.Application/Software frameworks and components
2.Systems programming

##Kotlin
1.Android Applications and scripting
Cara Merubah Pasword vTube
Tags: apkvtube
Published: 2020-12-14 05:33:43

Cara Merubah Password Login Vtube Terbaru - Setelah terjadinya update vtube ke versi 2.1.2 kita di minta untuk melakukan ganti password (kata sandi) login dan password kedua. 

Saat anda pertama kali daftar menjadi anggota di aplikasi bisnis vtube ini, pastinya anda akan mendapatkan kode kata sandi yang biasa dibuatkan pendaftar adalah angka 123456 itu secara normalnya. Kata sandi ini merupakan kata sandi utama jika anda ingin login di aplikasi vtube. 

Anda harus tau, kata sandi untuk login berbeda dengan kata sandi kedua. Maka anda jangan salah untuk membedakannya saat anda hendak masuk ke aplikasi vtube ini.

Bisakah kita mengganti Kata Sandi (password) login aplikasi vtube ini agar orang lain tidak bisa masuk ke aplikasi vtube kita. Jawabannya sangat bisa.

Nah, jika anda ingin merubah password utama untuk login pada aplikasi vtube ini maka caranya akan saya berikan dibawah ini. Yuk tanpa berlama-lama lagi kita bahas bersama cara untuk merubah kata sandi utama dengan kata sandi baru yang mudah untuk di ingat.

Cara Mengganti Update Password Vtube Terbaru
Ada 2 password yang harus kita ganti disini setelah dilakukan reset dari pihak vtube, yaitu password login dan juga password kedua.

Cara Mengganti Password Login vTube Versi 2.1.2

Kali ini kita akan membahas tampilan terbaru dari vtube setelah melakukan update, dan kita di suruh untuk mengganti password lama dengan yang baru.

1. Buka APK vTube anda yang telah di Update ke 2.1.2

2. Klik menu Me

3. Klik Pengaturan

4. Pilih Kata Sandi
Kata Sandi Kedua : Isi dengan kata sandi kedua yang sudah terdaftar di vtube
Kata Sandi baru : Masukkan password baru yang ingin kalian pakai untuk login nantinya, bisa buat yang baru atau ikut seperti yang lama
Confirm New Password : Ulangi masukkan password yang kalian masukkan tadi

5. Sampai disini, maka pasword lama anda akan berubah menjadi yang baru. Untuk itu, anda sekarang sudah bisa menggunakan password terbaru anda. Segeralah coba untuk login ke aplikasi vtube anda, dengan memakai kata sandi yang baru kita buat.

Untuk mengetahui tentang informasi bisnis aplikasi vtube bisa kunjungi web dibawah ini!

Sumber : https://www.caracari.id
Making divs user resizable with CSS
Tags: css
Published: 2020-12-14 05:26:13

This article has nothing to do with browser widths and viewport media queries.

In this article, we will be talking about the `resize` css property.

This is one property I only came across recently, because when do you actually need the user to resize something other than a textarea box.

In my article demonstrating [how the `HTML <wbr>` tag works](https://daily-dev-tips.com/posts/what-is-the-wbr-html-tag-and-why-do-i-need-it/), I used the resize property to showcase when the words would break.

You might find yourself in need of this one-day, so here we go, an example of how the CSS resize property works and what options it has.

The end result will look like the following GIF.

![CSS Resize property](https://cdn.hashnode.com/res/hashnode/image/upload/v1607494995859/AZvzsizF5.gif)

## CSS resize property

To add the option we can use the following syntax:

```css
div {
	resize: {value}
}
```

Where the value can be one of these:

- `none`: Default, user cannot resize the element
- `both`: Resize horizontal and vertical
- `horizontal`: Only resize horizontally
- `vertical`: Only resize vertically
- `initial`: Reset back to the initial value
- `inherit`: Inherit value from the parent element

To make them effective, let's create some examples:

What's really important to know is that by default, the resize code will not do anything.

This is because the default `overflow` value is visible, and that will disable the resize.

We can use any of these overflow values: `scroll`, `auto`, `hidden`.

First let's define a basic box to start with:

```css
div {
  width: 100px;
  height: 100px;
  overflow: auto;
}
```

Now let's make a pink box that can resize both ways:

```css
div.both {
  resize: both;
  background: #ef476f;
}
```

Perhaps we only want a horizontal resize? Check out the yellow box.

```css
div.horizontal {
  resize: horizontal;
  background: #ffd166;
}
```

Over even just vertical, check out the green box

```css
div.vertical {
  resize: vertical;
  background: #06d6a0;
}
```

You can see these boxes in action on the following Codepen.

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

## CSS Removing resize attribute

There is one case where perhaps you want to remove the resize attribute, and this is with textareas.

They come with a default resize property, and we can turn this off by using the following code:

```css
textarea {
  resize: none;
}
```

You can try this out on the following Codepen.

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

### 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)
Advice for New Developers
Tags: html, css, javascript
Published: 2020-12-14 05:24:27

I've been studying front-end web development for about 9 months now, my journey started during the Covid-19 lock down and with all this free time on my hands I decided to learn a new skill. I've always wanted to know how a website was made so I decided to learn web-development. Throughout the 9 months of learning I hit road bumps and failures but through those failures/mistakes I've learned a lot which has turned me into a better developer today and I wanted to share some advice to those who are about to embark on this journey.

## **Build Your Own Projects**
**How can I build a project if I don't know how?**

The best way to learn is by building. Building a project on your own creates this environment for you to learn new things everyday instead of watching YouTube tutorials and following instructions. Watching tutorials and following some sort of "recipe" takes away creativity and the ability to apply concepts in different situations. In building your own stuff, you'll be able to learn concepts and adapt your code to fit your needs.

## **Try Avoiding Tutorials**
**But tutorials are great!**

Don't get me wrong, tutorials have saved my a** many times, but you shouldn't rely on them as much. If you get into the habit of just following tutorials, there will be some point in your journey where you're trying to make something, but you can't because you've been blindly following other people code assuming you'd know what to do right after the video, hence why my first advice was to build your own projects. Use videos as references.

## **Join a Community**
**How does a community benefit me?**

There are millions of developers around the world, each with their own set of knowledge and experiences, some new just like you, and some who have been in the industry for quite some time. Many of these people have created groups/communities to help each other out and developing this friendly environment where everyone can just grow and share new ideas to one another, and if you're ever stuck on a problem there's always someone with a solution.

## **Take Breaks**
**I can't stress this enough!!!**

Mental health is important and burnout is a huge problem for developers. Spending too much time coding and solving problems can cause you to question your abilities and eventually lose motivation. If you're ever feeling frustrated over some problem you're trying to solve, take a break, do something that'll take your mind off it and just hit a reset so that the next time you come back to it, you'll be looking at it with a fresh mindset.
[Sketchnote] Why Use GraphQL?
Tags: sketchnotes, webdev, graphql, learning
Published: 2020-12-14 05:22:31

## Introduction

Since I started working at [Gatsby](https://gatsbyjs.com), I've been learning more about [GraphQL](https://graphql.org/). One resource that has been really helpful is [How To GraphQL](https://www.howtographql.com/).

I made a sketchnote based on my current understanding of their video: [GraphQL is the better REST](https://www.howtographql.com/basics/1-graphql-is-the-better-rest/). The rest of this post describes the content of the sketchnote.

![A sketchnote about why to use GraphQL](https://meganesulli.com/static/06f8ce9899ad77dc5d1cd2c5ffe12fe1/742d3/why-use-graphql-sketchnote.png)

## But First... What is GraphQL?

* An **API standard** created by Facebook.
* An alternative to the [REST](https://www.ibm.com/cloud/learn/rest-apis) API standard.

> ### What is an API?
>
> **API** stands for "application programming interface." It's an agreement for how one program talks to another.
>
> One program (the **client**) sends a **request** to another application (the **server**) to ask for information. The server sends a **response** with the requested data back to the client.

## Why Use GraphQL?

### Reason #1: Only One Endpoint

A GraphQL server exposes a single endpoint that handles all incoming requests, regardless of the data being requested.

An analogy:

* REST is like shopping at multiple, smaller retailers. You have to make multiple trips to different stores to buy all the things you need.
* GraphQL is like doing all your shopping at one big-box retailer (like Costco). You can make a single trip to buy everything you're looking for in one place.

### Reason #2: No Underfetching

**Underfetching:** When the response from the first endpoint doesn't have all the information you need, so you have to make another requst to a different endpoint.

An analogy:

* REST is like solving a crime by following a trail of clues. Each clue on its own isn't enough to solve the mystery: you have to put them all together to get the final answer you're looking for.
* GraphQL is like identifying a thief directly by playing back security camera footage. You can get the information you're looking for in one step.

### Reason #3: No Overfetching

**Overfetching:** When the response from an endpoint includes more data than you actually need for your use case.

An analogy:

* REST is like asking a chatty person for information. You ask them, "When is your birthday?" and they start telling you their entire life story.
* GraphQL is like asking a terse person for information. You ask them, "When is your birthday?" and they tell you a date. They give you only as much information as you ask for.

## Learn More

* [How To GraphQL](https://www.howtographql.com/)
* [Learning GraphQL](https://www.oreilly.com/library/view/learning-graphql/9781492030706/) by Eve Porcello and Alex Banks
Sleep and Open Terminal using While Loop | Shell Scripting 
Tags: linux, bash, beginners, tutorial
Published: 2020-12-14 05:07:18

**This is a multipart blog article series where I am going to explain the concepts of shell scripting and how to write a shell script in Linux, UNIX or Mac based systems. You can also follow this tutorial blog using windows but for that you have to install a bash from.**

_In this article we will see that how can we use sleep system call using while loop, and how can we open terminal using while loop in shell script._

1. **Sleep command:**
    - If you want to pause the execution of the loop for a while then you can use `sleep` command.
    - Sleep `1` will pauses the execution of the loop for `1` second.
    - ```shell
        n=1
        while [ $n -le 3 ]
        do
            echo "$n"
            (( n++ ))
            sleep(1)
        done
      ```
2. **Open terminal:**
    - We can open the terminal using the while loop in the shell script.
    - In the loop if we write `gnome-terminal &` then the terminal which is present in GNOME desktop will get open.
    - ```shell
      n=1
      while [ $n -le 3 ]
      do
        echo "$n"
        (( ++n ))
        gnome-terminal &
      done
      ```

[Reference code file for this article](https://github.com/rahulMishra05/shell-scripting/blob/main/video16.sh)

_So this was all about how to use sleep command and how to open terminal using while loop in shell script. Hope you liked it and learned something new form it._

If you have any doubt, question, quires related to this topic or just want to share something with me, than please feel free to contact me.

### 📱 Contact Me

[Twitter](https://twitter.com/r_mishra10)
[LinkedIn](https://www.linkedin.com/in/rahul-mishra-66210b185)
[Telegram](https://t.me/rahul_mishra10)
[Instagram](https://www.instagram.com/rahul_mishra10/?hl=en)

### 📧 Write a mail
<rahulmishra102000@gmail.com>

#### 🚀 Other links

[GitHub](https://github.com/rahulMishra05)
[HackerRank](https://www.hackerrank.com/rahulmishra10201)
Deploy with Firebase Hosting
Tags: webdev, firebase, hosting, deploy
Published: 2020-12-14 04:40:02

It's been a lot of fun learning how to use the various tools that Firebase offers.  Now we're moving onto the deployment stage!  Firebase Hosting is wonderfully easy to use to deploy your website.  Here is a quick walk-through!

*This walk-through will assume that you already have a Firebase project for the backend.  For some guidance on setting that up, please see the "Getting started with Firebase" section in my [previous blog](https://dev.to/maasak/set-up-firebase-realtime-database-for-javascript-app-4k0l).*

## Installation

To get started, we need to have Firebase Tools installed locally on our computer.  You will need to have Node.js installed before proceeding.  Assuming we are good to go on that end, run the following in the terminal:

```
$ npm install -g firebase-tools
```

Next, we'll log into our Firebase account by running the following in the terminal:

```
$ firebase login
```

## Initialize 

Move into the directory of the project that is going to be deployed, and then run the following to initialize Firebase in that project:

```
$ firebase init
```

Follow the prompt to proceed, and then we'll see a list of Firebase services to select from to use for this project. Make sure to select the Firebase Hosting service before continuing. 

We can then link a project from the backend (remember, we're logged into Firebase now so we can see a list of all existing Firebase projects).  After selecting the appropriate project, you can go with the default option for the public directory.  The next configuration will be a yes or no depending on whether or not your web app is a single page application (SPA). 

Once the initialization is complete, we should see some new files created within our project directory.  Let's just focus on the `public` folder.  There should be a dummy `index.html` file that got created with it.  This can be deleted and replaced by the existing `index.html` file from your project, along with `css` styling files and anything else from the project that you want deployed. 

## Testing

We might want to test out our site before deploying it.  Firebase Tools includes a local development server that we can use to view and test our website in the browser.  Simply run the following in the terminal:

```
$ firebase serve
```

We should then see the local server start and a link that can be followed to open up our website. 

## Deploy

Once we are ready to present our website, all we need to do is run this in the terminal:

```
$ firebase deploy
```

That.  Is.  It.

So simple, right?? 

Okay, so now for the exciting part!  Go ahead and click on the url that's been provided for your project in the terminal (this can also be found back in the Firebase Console).  Woohoo!  

Now you can share your web app with the world! 

:earth_asia: :earth_africa: :earth_americas:
learning nim lang
Published: 2020-12-14 04:33:00

---
title: learning nim lang
published: true
description: nim
tags: 
//cover_image: https://direct_url_to_image.jpg
---

I have been working through advent of code trying to learn nim.

One thing that was not super clear to me was the overloading and definition of procs with objects/tuples.

I made a gist: https://gist.github.com/tonetheman/35c62e72d3d9cf7f333de40147bc5991

Nim looks like a ugly Python/Pascal. But how you call methods/fields on objects reminds me a lot of lua.