teleren/devto huggingface dataset:
HOW TO SET UP A FREE CRYPTOCURRENCY TRADING BOT - BEGINNER'S GUIDE
Published: 2021-10-10 14:54:03

Here are the links to the resources you will need to get started:

Video: https://www.youtube.com/watch?v=vtDKiXgHzxA

Bot code: https://github.com/whittlem/pycryptobot

*********************************************
Trading Exchanges that work with this Bot:
Coinbase: https://www.coinbase.com/join/olney_0c
Binance: https://www.binance.com/en/register?ref=73328165
*********************************************

The Raspberry Pi Shopping List:

* Raspberry Pi (Model 4b shown in this video with 4GB memory)
* Official UK Raspberry Pi 4 Power Supply (5.1V 3A)
* Micro SD - Pre-Loaded with NOOBS (Official Card & Adapter)
Store: https://uk.pi-supply.com/?ref=r9urn2si3b

(WORLDWIDE SHIPPING)

*********************************************

FIRSTLY BEFORE THE VIDEO:

Open your Pi terminal window and type:

sudo apt update

then:

sudo apt install git

*********************************************

Learn the Basics of Python, enough to edit and make changes to the bot. Python is one of the easiest coding languages to learn and the language of the future with Machine Learning and AI: https://amzn.to/3v4iZfz

Michael, the developer of the bot code, writes regularly about updates and has more information about how to install and configure the bot here: https://whittle.medium.com

How to Install the Bot on a Raspberry Pi:
https://github.com/yanone/raspberrypycryptobot

TradingView (Great app for price/candlestick charts):
https://www.tradingview.com/gopro/?share_your_love=Ben23O

Investopedia:
These charts are recommended:
https://www.investopedia.com/terms/e/ema.asp
https://www.investopedia.com/terms/g/goldencross.asp

Please note that some of these links above are affiliated. By clicking on them and making purchases/signing up it will help support further articles/videos on this project.

DISCLAIMER: The information provided in this post does not constitute investment advice, financial advice, trading advice, or any other sort of advice and you should not treat any of the website's content as such. I do not recommend that any cryptocurrency should be bought, sold, or held by you. Do conduct your own due diligence and consult a qualified financial advisor before making any investment decisions.
Monitor M1 MacBook Air Power Use with InfluxDB®
Tags: monitoring, node, javascript, performance
Published: 2021-10-10 14:51:44

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hp91cnql362lon1xrqox.png)
 
For some reasons, I want to monitor the power usage of my M1 MacBook Air. The quickest way to grab power related system information directly from the macOS Terminal is actually using the powermetrics command. However, printing out the results on screen doesn’t meet my monitoring requirements, therefore, I try to think of a better solution to store and visualise the data.

After a quick search on Google, I decided to use InfluxDB as my Time-Series Database to record the power usage signal because it provides an easy-to-use and easy-to-configure dashboard feature.

[Read more](https://luiyongsheng.medium.com/monitor-m1-macbook-air-power-use-with-influxdb-cd5cb02152b7)
How blockchain created Digital scarcity ?
Tags: blockchain, bitcoin, economics
Published: 2021-10-10 14:46:21

in real life Gold , titanium , Rhodium are expensive because they are scarce and not for being a rare disease cure ,
one of #Blockchain capabilities is creating digital scarcity by solving many problems including  [double spend](https://en.wikipedia.org/wiki/Double-spending) 

to explain this more
We all know the  [Mona Lisa ](https://en.wikipedia.org/wiki/Mona_Lisa) painting , did you know that by 2020 the Mona Lisa was priced $860 million counting inflation from 1962

in the same time we all see pictures taken by people phones of the Mona Lisa , does those phone pictures sell for 860$ million ? they don't because there are hundreds of thousands of them , they have no value

Sure , Mona Lisa is nice painting and all but its price reflect the scarcity and the originality of that painting

in Blockchain, This scarcity is given value even more by :
- How Blockchain Solves double spend problem
- The generally power input of Miners for securing the blockchain network
- How much people trust the asset
- Market Speculation


**Case of NFT's : **

![NFT-non-fungible-token.2.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1629517846052/ibyq8EF8s.jpeg)


> NFT stands for non-fungible token 
A non-fungible token (NFT) is a unit of data stored on a digital ledger, called a blockchain, that certifies a digital asset to be unique and therefore not interchangeable.
NFTs can be used to represent items such as photos, videos, audio, and other types of digital files. 

Access to any copy of the original file, however, is not restricted to the buyer of the NFT. While copies of these digital items are available for anyone to obtain, NFTs are tracked on blockchains to provide the owner with a proof of ownership that is separate from copyright.

The NFT market value tripled in 2020, reaching more than $250 million. During the first quarter of 2021, NFT sales exceeded $2 billion






Given the huge success of blockchain based cryptocurrencies the likes of Bitcoin , Ethereum ..etc 
a new interesting use has emerged called NFT's , seemed a joke at first but recently gathering serious steam 
The idea of NFT's so we can stay in our same Mona lisa example , it is to certify original / rare / scarce digital items 

These are some of the main drivers for value in blockchain assets them being #cryptocurrency or #NFT or any other #Blockchain asset
Hacktoberfest 2021?
Tags: discuss
Published: 2021-10-10 14:41:07

---
title: Hacktoberfest 2021?
published: true
description: 
tags: discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yaexm6vvop6836j39lqw.png
canonical_url: https://waylonwalker.com/hacktoberfest-2021/
---

Are you participating in Hacktoberfest 2021?


I got my start with open source with Hacktoberfest 2018.  I remember being so nervous for those first pr's.  I have continued to participate every year, and it feels good to give back.


## It made a big change on me

Something that it really did for me was to lower the hurdle to contribute regularly.  I am not a huge contributor to open source.  I am not necessarily a regular maintainer of any large project, but I do often raise issues when I see things as a user that would make things easier or more clear.

After participating it does not feel like such a big deal to go through the motions of making my own fork, making a small change, and submitting it for review.

## What can you do?

As a user, you might be in a unique position to see a library from the perspective of other users rather than from the eyes of a maintainer.  You can help bring the user perspective to your favorite library.

{% tweet 1446440878864846909 %}

My favorite error messages are those that I helped tweak just a bit to make it clear to the user what is happening and how to fix it.  As much as we all hate getting errors, It does warm my heart when I see one that I helped make better.

## Discuss

Are you participating this year?

Show us some of your PR's, and why they make a difference.
Git Commit Messages
Tags: vscode, git, github
Published: 2021-10-10 14:25:21


###Using the right commit messages helps make it more meaningful and it provides clarity on your updated piece of code being pushed to GitHub.
```
feat - a new feature
fix - a bug fix
docs - changes in documentation
style - everything related to styling
refactor - code changes that neither fixes a bug or adds a feature
test - everything related to testing
chore - updating build tasks, package manager configs, etc

```
How to send emails using Gmail and NodeJS
Tags: javascript, node, express, programming
Published: 2021-10-10 14:08:02

In this artical we will learn How to send emails using Gmail and NodeJS

Nodemailer:
Nodemailer is licensed under MIT license. It provides an easy way to send email.

Sending emails is a common feature that is present in many applications. This feature is used to notify user about news, like a newsletter, about your product status when it’s facing to an issue, recovery password and so on.

Step 1: Installing the nodemailer.
$npm install nodemailer

Step 2: Connecting with the Gmail
const nodemailer = require('nodemailer')

// create reusable transporter object using the default SMTP transport

let transporter = nodemailer.createTransport({ service: 'gmail', auth: { user: <youremail@gmail.com>, pass: youremail password, }, });

Step 3: Configure Gmail account to accept less secure apps
Our application is classified as insecure by Gmail. To bypass it we can configure our account to allow insecure apps to connect with our account. When this configuration is enabled all apps with username and password can connect to our account in Gmail and send emails.

To enable it you need to go to https://myaccount.google.com/ and select your Google Account. Then go to Security in the left sidebar and search by “Less secure app access”.

step 4: Definitely sending emails.
The transporter object has a method called sendMail() that is responsible to send emails effectively.

transporter.sendMail({ from: '"Your Name" <youremail@gmail.com>', // sender address to: "receiverone@gmail.com, receivertwo@outlook.com", // list of receivers subject: "Medium @edigleyssonsilva ✔", // Subject line text: "There is a new article. It's about sending emails, check it out!", // plain text body html: "<b>There is a new article. It's about sending emails, check it out!</b>", // html body }) .then(info => { console.log({info}); }) .catch(console.error);

Note that in the createTransport we only pass an attribute called service where we define it asgmail and the auth with our credentials.
In the sendMail() we pass all data about email. That’s all. Try to running this example again and see the result. If it works well, you’ll get something as showed below in your terminal.

{ info: { accepted: [ 'receiver@gmail.com' ], rejected: [], envelopeTime: 871, messageTime: 651, messageSize: 747, response: '250 2.0.0 OK 1615152446 m6sm5222884qtx.3 - gsmtp', envelope: { from: 'fromemail@gmail.com', to: [Array] }, messageId: '<95e9c9a0-9c20-fcda-1873-7f16aec2b293@gmail.com>' } }
13th weekly post, specific stashes and regions. Also, colourblindness.
Tags: git, aws, design
Published: 2021-10-10 13:55:58

## Items of the week

1. **Git** - use the `git stash push` command followed by pathspec to stash specific files, e.g. `git stash push file/not-to-commit-now.js`, or for multiple files, `git stash push directory/*`. More details on the [git documentation page](https://git-scm.com/docs/git-stash).

2. **AWS** - regions are physical locations of data centres, choosing one that's near to target users can reduce latency but on top of that, there is also AWS Local Zones for latency-sensitive use cases, and even AWS Wavelength for 5G mobile devices allowing traffic to stay within a mobile provider's network to avoiding extra network hops. More information available on [AWS's about page](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/#AWS_Local_Zones).

3. **Colourblindness** - be reminded that it is often about difficulty in differentiating colours, not that colours disappearing entirely and the colours most affected by colour-vision deficiency are red and green. Best to avoid using colour alone to convey meaning in designs. More on this in [the chapter 9 of the book Building Accessible Websites](https://joeclark.org/book/sashay/serialization/Chapter09.html).

## Note of the week

On the week 40 of 2021, a couple of major incidents in the tech industry including [hours-long Facebook outage](https://engineering.fb.com/2021/10/04/networking-traffic/outage/) and [Twitch data leak](https://www.videogameschronicle.com/news/the-entirety-of-twitch-has-reportedly-been-leaked/), not to mention [Signal was down last week](https://techcrunch.com/2021/09/26/signal-the-encrypted-messaging-app-is-currently-down-for-many-users/) as well. Seems like the importance of reliability and security are most significant in their absence. That's all for this week's post, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!
is JavaScript a multi-threading or single-threading  ?
Tags: javascript, programming, beginners
Published: 2021-10-10 13:54:47

let's discus most confused topics in JavaScript, it's 'event loop' or is JavaScript a multi-threading or single-threading  ?

the secret behind JavaScript’s asynchronous programming is event loop,  JS executes all operations on a single thread, but using a few smart data structures, it gives us the illusion of multi-threading. Let’s take a look at what happens on the back-end.

The event queue is responsible for sending new functions to the track for processing. It follows the queue data structure to maintain the correct sequence in which all operations should be sent for execution.

The event queue. Hence, we have a cyclic system for running async operations in JavaScript. The language itself is single-threaded, but the browser APIs act as separate threads.

The event loop facilitates this process; it constantly checks whether or not the call stack is empty. If it is empty, new functions are added from the event queue. If it is not, then the current function call is processed.
Toggle God Mode in browsers
Tags: chrome, devtools, webdev, designmode
Published: 2021-10-10 13:41:37

Instead of typing 
```document.designMode = "on"```
or
```document.designMode = "off"```
in the console for every page you want to edit (like this)
![Edit Manually](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v21hk4djggd5ghaimftj.gif)

You can create a bookmark to toggle it with just one click!

To make this it's easy:
- Right click on your bookmark bar
- Click add page
- Name it whatever you want
- And just paste this in the link section: 
```javascript
javascript:((d,o,m)=>{d[m]=d[m]!==o?o:"off"})(document,"on","designMode");
```
Quick Data Exploration - Python
Published: 2023-04-23 11:28:32

---
title: Quick Data Exploration - Python
published: true
date: 2021-10-10 13:36:48 UTC
tags: 
canonical_url: https://chrisdevcode.hashnode.dev/quick-data-exploration-python
---

> Hi There! Welcome to Data 101.

NOTE:

I'll be using Google's Colab and Python in the article.

To learn how to read files, refer to the previous article in this [series](https://chrisdevcode.hashnode.dev/series/data-101) :

[https://chrisdevcode.hashnode.dev/reading-data-from-files-using-python](https://dev.to/chrisdevcode/reading-data-from-files-using-python-12m5-temp-slug-8815920)

# Data Exploration

In Data Exploration, we look into finding the number of instances of records, number of columns and rows, the columns and data types in each column...

I will be using [pandas](https://pandas.pydata.org/) library throughout.

I will be using [airlines](https://docs.google.com/spreadsheets/d/1hipdEeKU6UBrCpzyLEF-Vj5F4nA8gCRLYJP50CKr-B0/edit?usp=sharing) and [airports](https://docs.google.com/spreadsheets/d/1fWIIVmxXSwahoB79rxRFRY2qQbaQpAED0fx_RKR1o20/edit?usp=sharing) CSV files.

To import the data:

```
import pandas as pd
airlines = pd.read_csv('airlines.csv')
airports = pd.read_csv('airports.csv')

```

### Viewing First and Last few rows

To view the first 5 rows on the data set, we use `.head()` from pandas.

```
airports.head()

```

![head.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633871741764/Z-4IDvsyG.png)

You can use `.head(x)` to get x number of rows from the top

To view the last 5 rows on the data set, we use `.tail()` from pandas.

```
airports.tail()

```

![tail.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633872092900/3qlS9DH25.png)

### Viewing Rows and Columns

To know the number of columns and rows in your data frame, use `.shape`. It returns the dimensions of your data set:

```
airports.shape

```

![shape.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633872345871/mTW49VAbB.png)

To view the columns in the data frame, use `.columns()`

```
airports.columns

```

![columns.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633872419220/ly8KEV0vX.png)

### Viewing Data Types

To view datatypes of each data in each column, use `.dtypes`:

```
airports.dtypes

```

![dtype.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633872704929/f-fn1Ixjg.png)

* * *

Other tricks you could use are:

```
x.rows
x.info()
x.describe()
x.unique()
x.describe()

```
What is Hacktoberfest?
Tags: javascript, react, github, googlecloud
Published: 2021-10-10 13:34:22

Hacktoberfest, in its 8th year, is a month-long celebration of open source software run by DigitalOcean. During the month of October, we invite you to join open-source software enthusiasts, beginners, and the developer community by contributing to open-source projects. You can do this in a variety of ways:

Prepare and share your project for collaboration
Contribute to the betterment of a project via pull requests
Organize an event
Mentor others
Donate directly to open source projects
APIs 101 Using Postman
Tags: postmanstudent, postmanapi
Published: 2021-10-10 12:48:53

Previous week I attended "APIs 101 Using Postman" workshop organised by the Postman Student Experts @zeoshark and Swastik Mishra from ITER SOA virtually on YouTube live. It was a great experience overall and I learn about Postman APIs. Workshop covered basic request methods that are GET, POST ,PUT and DELETE along with data retrieval in JSON format. All these methods were explained in fun manner with examples in which ever member can create their IDs and posts their fun jokes individually. 
Overall it was an overwhelming experience to attend this learning along with fun. Kudos to the Postman Student Experts @zeoshark and Swastik Mishra.
CSS Only Retro Dungeon Maze Puzzle
Tags: codepen, webdev, gamedev, showdev
Published: 2021-10-10 12:26:33

<h1>CSS Only Retro Dungeon Maze Puzzle</h1>

<h2>Description</h2>

<p>This is a simple maze or dungeon escape game, with its functionality made entirely in CSS.</p>

<p>The main goal of this game is to of course find the finish line.</p>

<p>The main rule of this game is to click the horizontal or vertical tile beside the character. You may not click diagonally.</p>

<p>My tips for you in playing this game; Move slowly, you might get the key without noticing.</p>

<h2>Instructions</h2>

<p>This setup is designed to be editable, and to become something like a game engine. As of now, there are only few types of tile may be inserted into the game map. Those are the below, and its usage.</p>

<ul>
<li>S -&gt; The starting point.</li>
<li>F -&gt; Escape door.</li>
<li>K -&gt; Key to open the locked door.</li>
<li>L -&gt; Locked door. How to input: L_x-y where x is the x index (of array)
of K, and y is the y index. Array is declared as 2 dimensional array.</li>
<li>W -&gt; Wall. You can't pass here.</li>
<li>T -&gt; Tree. You can't pass here.</li>
<li>B -&gt; Barrel. You can't pass here.</li>
<li>M -&gt; Monster. Don't go here, you'll lose.</li>
<li>space -&gt; Tile where you can walk.</li>
</ul>

<p>I made the images using Aseprite. I've been practicing a lot in creating an 8-bit or pixel art image for a game.</p>

{% codepen https://codepen.io/takaneichinose/pen/VwWqyYj %}
Tabnine Partners with Gitpod!

Tags: vscode, programming, opensource, webdev
Published: 2021-10-10 12:25:03


As developers, we’re always looking for ways to be more productive. Adding efficiency is great, pairing that efficiency with fun, flexible, and frictionless development creates an unbeatable experience. Tabnine’s AI assistant helps you breeze through daily dev work with code completions that eliminate tedious repetitive typing tasks. And like any good assistant, Tabnine works wherever and whenever you do – In all the languages you love, and all the IDEs you count on. 

So, when Tabnine finds a like-minded company that shares our passion for endlessly improving the development experience, we jump on the opportunity to collaborate. Today we are excited to announce Tabnine’s partnership with Gitpod.

Gitpod puts an end to brittle high-maintenance workspaces and takes fun, frictionless development to the next level with the instant one-click installation of their online IDE. Gitpod’s ‘keep it effortless’ ethos encompasses their entire workflow, including the ability to add VS Code extensions like Tabnine to your Gitpod project and share those projects with colleagues and clients. 

At Tabnine, innovation and collaboration are at the core of who we are and what we do, and we’re thrilled to partner with companies like Gitpod that share our commitment. 

Getting Started
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gd9v7cxnpqigbpb0odgq.png)

Give Tabnine & Gitpod a try now and join the nearly half-million devs that trust Gitpod to deliver instant task-specific automated workspaces, in the cloud, from any Git context. 

It’s as easy as selecting one of these templates and pressing the open in Gitpod button: 

JS/TypeScript - https://github.com/gitpod-io/template-typescript-node-tabnine

Python - https://github.com/gitpod-io/template-python-flask-
tabnine 

Go - https://github.com/gitpod-io/template-golang-cli-tabnine

Want to add Tabnine to an existing Gitpod project? Go ahead and install it in with a single click.

https://www.gitpod.io/docs/vscode-extensions#installing-an-extension
Today's Fun Joke For Developers - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2021-10-10 12:00:04

---
title: "Today's Fun Joke For Developers - Daily Developer Jokes"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12597d4e1c1.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_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:___ What accommodations did the JavaScript developer request at the hotel?

___A:___ A room with a Vue.
 -->