teleren/devto huggingface dataset:
Books and courses about blockchain for (not so absolute) beginners
Tags: blockchain, course, books, beginners
Published: 2022-01-18 10:46:21

Recently, several people reached me and ask - what resources I can recommend in order to build foundational knowledge about blockchain. 

Here is the list of books and courses that I finished during 2021-2022 by myself. 

**Books:**
 - Mastering Blockchain https://lnkd.in/ekpsMwKR Recommended. 
 - Blockchain and decentralized systems https://lnkd.in/eMqHtzWk Highly recommended.
 - Grokking Bitcoin https://lnkd.in/eSNDneH7 Maybe, if you want to deep dive into Bitcoin.

**Courses on Coursera:**
 - Blockchain Specialization https://lnkd.in/eRFgwFsK Recommended for full beginners.
 - Blockchain Scalability and its Foundations in Distributed Systems https://lnkd.in/ejUSRs8Z Recommended for people with some background.
 - Decentralized Finance (DeFi): The Future of Finance Specialization https://lnkd.in/eEkRF8qU Recommended for those who interested in DeFi.

**Courses on Udemy:**
 - Blockchain and Bitcoin Fundamentals https://lnkd.in/e2k4Q_KD Nice and gently intro to the blockchain.
 - Blockchain Advanced Level: Uses Beyond Bitcoin https://lnkd.in/esDEQg2M More in-depth view to the blockchain world.
 - Blockchain A-Z™: Learn How To Build Your First Blockchain https://lnkd.in/eTcR6Ad2 Recommended. 
 - Ethereum Blockchain Developer Bootcamp With Solidity (2022) https://lnkd.in/e-TEnNMh Recommended. Good way of teaching the code.
Basic Banking System 
Tags: webdev, php, css, database
Published: 2022-01-18 10:45:25

About the Site :
It is a [Banking Website]() created as a part of the GRIP Internship at Sparks foundation. We can quickly open the account by entering the details. We can transfer the money from one customer to another. And keep track of all the transactions.

Link to Code :
[![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3rzoibm8cn5t1x3nh7td.jpg)](https://github.com/Uday-GIT-hub/bluestarbank)

**Flow of the  Website :** 

**Home Page** 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/obpy09vzf2dwogqpx9x4.gif)

**Account Creation** 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lo6lgmicvxvhv78gy5y3.gif)

**Transfering money**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jlgv1j1p9nxztk0ipgic.gif)

**Technologies Used:**

- HTML

- PHP

- MY SQL

- CSS

- Javascript

- Ajax

- Bootstrap
CeraCare Reviews: Really Blood Sugar Without Risks? Contorl Formula & health Supplement
Tags: health
Published: 2022-01-18 10:33:39

 how does this hurt you to do that? I was given this. [CeraCare](https://ipsnews.net/business/2021/05/02/ceracare-is-it-worth-to-buy-cera-care-benefits-ingredients-price-and-side-effects) is behind the times. Here's something you can't deny, my highly regarded remarks in relation to CeraCare. Many mavens take their initial steps with CeraCare then give up when the results aren't instant. This is how you take care of an email from a customer, not! Consequently, there's got to be something to this conclusion. How simple is that? You were probably excited at first respecting CeraCare but once you learned CeraCare, you became bored. Could you describe the ruckus? This brings me to the last matter with respect to CeraCare. I imagine you'll discover CeraCare appropriate. I've done the same for gobs of months and it has become a habit. I'm dog tired. 


>>>> Visit CeraCare From Official Website <<<<<
Buynow: [https://ipsnews.net/business/2021/05/02/ceracare-is-it-worth-to-buy-cera-care-benefits-ingredients-price-and-side-effects](https://ipsnews.net/business/2021/05/02/ceracare-is-it-worth-to-buy-cera-care-benefits-ingredients-price-and-side-effects)
Day 81 of 100 Days of Code & Scrum: Picking Up MySQL AKA Dolphin Database
Tags: 100daysofcode, beginners, javascript, productivity
Published: 2022-01-18 10:31:36

Hello there, everyone!

Today was my weekly visit to my physical therapist, so I couldn't do much coding.

I built around half of the content for the Writing Services section for my [business site](https://www.rammina.com). It should be ready for deployment by tomorrow or the next day. Also, I learned a little bit more Next.js.

I decided to pick up MySQL because I'm going to need it soon. I've been relying too much on MongoDB, which is a noSQL database.

Anyway, let's move on to my daily report!

## Yesterday

I set my goals for this week, which are:

- finishing the Services pages and then deploying them.
- learning more Next.js and Scrum.
- pick up either MySQL or Flutter, and I decided to go for the former.

## Today

### Company Website

- coded around half of the content for the Writing Services section.

### Next.js

- continued going through [Next.js & React by Maximilian Schwarzmüller](https://www.udemy.com/course/nextjs-react-the-complete-guide/).
- learn a little bit more SWR.

### Scrum

- I didn't have the time to read an article about Scrum for today.

### MySQL

- I learned some basic concepts in MySQL.

Thank you for reading! Have a good day!

![Rammina Thank You Banner](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x9ayfxxxaz2g2hfcqbsk.png)

## Resources/Recommended Readings

- [The 2020 Scrum Guide](https://scrumguides.org/scrum-guide.html)
- [Next.js & React by Maximilian Schwarzmüller](https://www.udemy.com/course/nextjs-react-the-complete-guide/)
- [Next.js official documentation](https://nextjs.org/docs/getting-started)
- [SWR official documentation](https://swr.vercel.app/)
- [MySQL Tutorial for Beginners by Mosh Hamedani](https://youtu.be/7S_tz1z_5bA)

## DISCLAIMER

**This is not a guide**, it is just me sharing my experiences and learnings. This post only expresses my thoughts and opinions (based on my limited knowledge) and is in no way a substitute for actual references. If I ever make a mistake or if you disagree, I would appreciate corrections in the comments!

<hr />

## Other Media

Feel free to reach out to me in other media!

<span><a target="_blank" href="https://www.rammina.com"><img src="https://res.cloudinary.com/rammina/image/upload/v1638444046/rammina-button-128_x9ginu.png" alt="Rammina Logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://twitter.com/RamminaR"><img src="https://res.cloudinary.com/rammina/image/upload/v1636792959/twitter-logo_laoyfu_pdbagm.png" alt="Twitter logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://github.com/Rammina"><img src="https://res.cloudinary.com/rammina/image/upload/v1636795051/GitHub-Emblem2_epcp8r.png" alt="Github logo" width="128" height="50"/></a></span>
Recursion and PMI
Tags: cpp, beginners, computerscience
Published: 2022-01-18 10:31:11

PMI (principal of mathematical induction).
we will solve recursion problem to think in sense of PMI only

we don't have to think entirely just think some of step

steps:
1. prove f(0) or f(1) is true (base case)
2. Induction Hypothesis: assume that f(k) is true
3. Induction step: using 2 prove that f(k + 1) is true

for example 

```cpp
#include <iostream>
using namespace std;

int factorial(int n) {
	cout << n << endl;
	if (n == 0) { // we taking base case in which it's run perfectly
		return 1;
	}
	int smallOutput = factorial(n - 1); // according to PMI we assume the small run than it will also run
	return n * smallOutput;
}

int main() {
	int n;
	cin >> n;
	int output = factorial(n);
	cout << output << endl;
}
```
example 2: with two base case

```cpp
int fib(int n){
    if(n == 0){
        return 0;
    }
    if(n == 1){
        return 1;
    }
    int smallOutput1 = fib(n - 1);
    int smallOutput2 = fib(n - 2);
    return smallOutput1 + smallOutput2;
} 
```

for more details: click [here](https://medium.com/@kalarvind97/recursion-hate-it-or-love-it-d4f63d9b29c9)
ProShow Producer 10 Full Crack + Registration Key Free Download
Published: 2022-01-18 10:27:43


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s4lxhlmrm37ogaxcap5w.jpg)

[ProShow Producer Crack](https://piratewares.com/proshow-producer-crack/) is an excellent slideshow creation software that allows you to create amazing slideshows, image lines, presentations, and special effects.
How is mobile application an essential tool for hospitality industry?
Published: 2022-01-18 10:26:57

You might now have the idea that Mobile Application is an essential tool for any business. Yes! Due to advancements in technology Mobile Applications have become an essential part of our environment. Our lives are filled with digital screens and nowadays industries are more diversifying towards the digitalization of their businesses. Mobile applications are beneficial for every industry - even for Hospitality.

The core of the hospitality industry is “service”. The whole industry is dependent on “service”. Due to digitalization customers prefer online means more convenient than traditional means. So diverting your business digitally is more essential for your hospitality business. By diversifying your hotel/ restaurant or motel business there are plenty of extra services you can provide to your customers by going online.

Nowadays people prefer booking things online because if you are traveling somewhere you are not familiar with the roads, environment, traffic and many other things. So customers prefer online booking more essential. So having a website and mobile application is more essential for your hospitality business.

Diversifying your business online is just not beneficial to customers but is also beneficial for the Internal Management of staff. Like you can manage your customers online, you can have a detailed note to your services on your website, you can list customers feedback on your website, hotel staffs are assigned duties according to the rooms booked, human resource is also managed properly because services are booked online you can assign your staff's duties accordingly.

So it is the best time to diversify your hotel, restaurant, or motel business online. We at CodeEpsilon are well versed in diversifying your hospitality business online. We have a variety of services to provide which can develop your hospitality business to new heights. For a free consultancy Contact Us.
How to truncate long-string in JavaScript
Tags: javascript, webdev, tutorial, node
Published: 2022-01-18 10:15:48

{% youtube https://www.youtube.com/watch?v=AV3e8mmgbfQ %}
It becomes a hassle when working with a too-long string, don't worry,
today, in this article I will be showing an easy to come out from that hassle by **trimming/truncating** the string.

```js
const truncate = (str, num) => {
    return str.length > num ? str.slice(0, num) + "..." : str;
}
const str = "the quick brown fox jumps over the lazy dog"
truncate(str, 18)
```

***
Thank you for reading, have a nice day!
- Follow me on Twitter - [@dhairyashah_dev](https://twitter.com/dhairyashah_dev)
- Subscribe me on YouTube - [Channel](https://www.youtube.com/channel/UCNTKqF1vhFYX_v0ERnUa1RQ?view_as=subscriber&sub_confirmation=1)
![Have a nice day.png](https://media1.giphy.com/media/dxP4KodrzNRL91Gkyy/giphy.gif?cid=ecf05e47oy2662od7onakbpjjmfizbw8i5shlaingerfzyhk&rid=giphy.gif&ct=g)
Cover Photo by <a href="https://unsplash.com/@fakurian?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Fakurian Design</a> on <a href="https://unsplash.com/s/photos/abstract-background?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Recursion in c++
Tags: cpp, computerscience, beginners
Published: 2022-01-18 10:02:35

```cpp
#include <iostream>
using namespace std;

int factorial(int n) {
	cout << n << endl;
	if (n == 0) {
		return 1;
	}
	int smallOutput = factorial(n - 1);
	return n * smallOutput;
}

int main() {
	int n;
	cin >> n;
	int output = factorial(n);
	cout << output << endl;
}
```

> let's break down the code.

In this code we are goin code factorial, first of fall we are taking int value after that in the next step we are printing initial value and in next step we are taking `n == 0` and returning the 1, because if we don't than when the value of n = 0 and it's return 0 than we will not get the correct output what we want as well in next step as we saw there we again calling factorial that all goin to again run it from start until value become zero after n will become zero the function will go further next step and it's multiply to n one by one like :

fact(1) n = 1, n * 1
than fact(2) n = 2, n * 1 * 2
.
. 
so on,
after getting value from them the they will be out of memory
Discipline or Regret
Tags: discuss, personal, improvement, growth
Published: 2022-01-18 09:41:58

---
title: Discipline or Regret
published: true
description: We must all suffer from one of two pains: the pain of discipline or the pain of regret.
tags: discuss, personal, improvement, growth
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkol2qhnu0rveii5pm5f.jpg
---

_Originally published on [my blog](https://www.nikola-breznjak.com/blog/daily-thoughts/discipline-or-regret/)._

> Jim Rohn said it nicely: "We must all suffer from one of two pains: the pain of discipline or the pain of regret.". And the thing is, one hurts a lot at the moment but brings you joy later, the other doesn't hurt at all now, but brings you unrepairable sorrow later.
> Couple this one with [consistency](https://www.nikola-breznjak.com/blog/daily-thoughts/consistency/).

---

This is [why I write](https://www.nikola-breznjak.com/blog/daily-thoughts/why-do-i-write-these-daily-thoughts-posts/) these 'daily thoughts' posts.
Showing "time ago" in a Social Feed using Intl.RelativeTimeFormat
Tags: javascript, webdev, showdev, tutorial
Published: 2022-01-18 09:19:36

I'm currently implementing a _Social Feed_ for a client, and had some issues with vulnerabilities in `node_modules` and an old "time-ago"-library.

Inspecting the code, I could see, that the code took a `Date`-object with `.getTime()`, compared it with the current time — `new Date().getTime()` — and then used a lot of code to return strings like "3 minutes ago", "2 days ago" etc.

Instead of finding another and newer "time-ago"-library, I decided to give it a go myself, and stumbled upon the `RelativeTimeFormat` of the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat)-API — supported in all browsers except _Internet Explorer_.

These wonderful methods greatly simplifies the code needed for a "time-ago"-library, so I wrote this simple method:

```js
function timeAgo (timestamp, locale = 'en') => {
  let value;
  const diff = (new Date().getTime() - timestamp.getTime()) / 1000;
  const minutes = Math.floor(diff / 60);
  const hours = Math.floor(minutes / 60);
  const days = Math.floor(hours / 24);
  const months = Math.floor(days / 30);
  const years = Math.floor(months / 12);
  const rtf = new Intl.RelativeTimeFormat(locale, { numeric: "auto" });

  if (years > 0) {
    value = rtf.format(0 - years, "year");
  } else if (months > 0) {
    value = rtf.format(0 - months, "month");
  } else if (days > 0) {
    value = rtf.format(0 - days, "day");
  } else if (hours > 0) {
    value = rtf.format(0 - hours, "hour");
  } else if (minutes > 0) {
    value = rtf.format(0 - minutes, "minute");
  } else {
    value = rtf.format(0 - diff, "second");
  }
  return value;
}
```

> It's **387 bytes minified**, and just **244 bytes gzipped**.

---

## Testing it
I'm writing this on January 18th 2022, so this snippet:

```js
const date1 = new Date('2022-01-01');
console.log(timeAgo(date1));
```

... returns "17 days ago". 

Let's change the locale to German:

```js
console.log(timeAgo(date1, 'de'));
```

This returns "vor 17 Tagen"´. With the locale `fr`, it returns "il y a 17 jours". 

Try it yourself with your own language-locale.

---

Now, let's try a timestamp, that is just a few minutes in the past (as of time of writing!):


```js
const date1 = new Date('2022-01-18T08:30:00.000Z');
```

This returns "6 minutes ago" with an english locale.

If you just parse `new Date()`, the string will be "now" with an english locale. 

If your `Date()` is in the future, it will be "[years|months|days|hours|minutes|seconds] from now".

---

## Not all months are 30 days
Some of you might have wondered about this line of code:

```js
const months = Math.floor(days / 30);
```

And yes, this is not super-accurate, but an average value.
If you have timelines with very old entries, you might want to [add a bit more code](https://stackoverflow.com/questions/2536379/difference-in-months-between-two-dates-in-javascript) to handle `months` and `years`!

---

Photo by KoolShooters from Pexels
Voice of Customers Analysis: Why do you need it and How to set it up?
Tags: analytics, machinelearning, programming, algorithms
Published: 2022-01-18 09:16:09

Voice of customers, why do you need it?

Customers expect more than ever from the brands they use. They expect products and services to perform exactly to their needs–easy to set up, easy to use, etc–and more personalized and empathetic customer service.

In this guide, learn how to create your voice of customer program, so you can get to know your customers better.read more..
https://www.bytesview.com/blog/voice-of-customers-analytics/
Introducing the Offen Protocol
Tags: watercooler, webdev, opensource, privacy
Published: 2022-01-18 09:10:24

We are building [Offen,](https://www.offen.dev/?utm_source=forum&utm_campaign=210) a fair and lightweight web analytics software that treats operators and users as equal parties. Along the way, we discovered many subtleties and details to consider and created the Offen Protocol for all software out there that aims to handle usage data in a transparent way. Read the full version of [this article on the Offen blog.](https://www.offen.dev/blog/offen-protocol/?utm_source=forum&utm_campaign=210)

The underlying concept is the definition of five actions that clients can take when they interact with a server that processes their data. These actions correspond to the rights of the data subject as defined by GDPR.

- **Probe** is used to request additional information about the service.
- **Register** is used when a client wants to make itself known to the server.
- **Submit** is the action taken when a client transfers data to the client.
- **Query** will be used when clients want to query the server for data.
- **Purge** can be used by clients that want to initiate removal of data.

The full specification document can be [found on the website](https://offen.github.io/protocol/). The protocol is not overly complicated and is perhaps even more of a convention than a specification. However, we have extracted what we use in Offen and added these implementations to the [GitHub repository](https://github.com/offen/protocol), which also contains the specification itself.

Please let us know what you think. We’re happy to open the discussion: [tweet at us](https://twitter.com/hioffen), send us [an email](mailto:hioffen@posteo.de), or [open an issue on the GitHub repository](https://github.com/offen/protocol).

_
Impossible Checkbox v2 🐻　仕事しろと怒るver.
Tags: codepen
Published: 2022-01-18 09:03:34

<p>Revisiting one of my favorite pens to update the React side of it and add sound </p>

{% codepen https://codepen.io/yuwork2/pen/JjrVYYX %}


何回もいたずらすると「仕事しろ！」と怒るようにしてみました・・・
Python venv or virtualenv won't activate on windows Powershell
Tags: python, windows, virtualenv, shriekdj
Published: 2022-01-18 09:03:00

### Problem
> Unable to Activate the Virtual Environment In Windows Operating System.

{% youtube 1sKnambELRA %}

### Details
> The issue is specifically for Powershell of Windows Operating System While Activating the virtualenv of Python which does not allow us to run scripts in Powershell Window.

### First Solution
> Try Running below command in Powershell ( This only Solve for Current Window )
```powershell
Set-ExecutionPolicy Unrestricted -Scope Process
```

### Second Solution
> Try Running below command in Powershell ( Whole User )
```powershell
Set-ExecutionPolicy Unrestricted -Force -Scope CurrentUser
```

### Third Solution
> Don't run the File at `.\Scripts\activate` or `.\Scripts\activate.bat`.
> Instead Run The File At location `.\Scripts\activate.ps1`.

### Fourth Solution
> Use the Unix like command Shells Instead of Powershell for example `Git Bash` Is Lightweight Cli Tool.

***

## Conclusion

If you found this useful then please share this and follow me! Also check out Buy Me A Coffee if you want to support me on a new level!

[![Buy me a coffee](https://cdn.buymeacoffee.com/buttons/default-yellow.png)](https://www.buymeacoffee.com/shriekdj)
Food Tech Stories: How Walmart is Growing Food Subscription Business
Tags: saas, news
Published: 2022-01-18 09:01:56

Based on this story: [Walmart Grocery is expanding its $98 per year 'Delivery Unlimited' subscription across the US](https://techcrunch.com/2019/09/11/walmart-grocery-is-expanding-its-98-per-year-delivery-unlimited-subscription/?ref=hackernoon.com)


The Walmart company has started small. The way to a huge success began with a single discount store. Now, this giant company is known for being one of the biggest retailers on the planet. It can boast almost 265 million clients weekly. People can visit around 11,500 stores under 56 banners in 27 states and eCommerce sites.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cskyiogme80h1c9afjzy.jpg)
 
The statistics are impressive. With the 2020 income of $524 billion, Walmart has partnered up with over 2.2 million partners around the world. Walmart keeps on being a pioneer in supportability, corporate generosity, and work opportunity. The fact that Walmart has launched unlimited grocery delivery has added to its greatness.


The Delivery unlimited service allows clients to obtain a yearly $98 expense or a month to month $12.95 charge to place unlimited online orders. A free 15-day trial is also offered in case you want to have a look around. Orders of more than $30 are unlimited.


The company has started slowly with this launch.  First, it was assessing the service in four cities: Houston, Salt Lake City, Miami and Tampa, Fla. Then,  built on the supportive response from clients, the service was launched in all 200 metropolitan areas where the Walmart Grocery Delivery option is accessible.


This across the nation rollout expands on a solid staple business that Walmart has just been accumulating in the U.S. It has an online pickup service, for instance, accessible at almost 3,000 stores today.

Different retailers offer comparative choices, with which Walmart is attempting to contend. That is why the service was launched in the first place. Such high rollers as Target and Amazon Prime have already been in the game for quite a long time. Thus, Target owns the delivery platform and Amazon Prime has benefits like free delivery and discounts.  FreshDirect and Instacart are other rivals in this business.


That is why Walmart’s main target is the subscription-based online grocery delivery services offered by other major players.

Read the whole story here: [https://techcrunch.com/2019/09/11/walmart-grocery-is-expanding-its-98-per-year-delivery-unlimited-subscription/](https://techcrunch.com/2019/09/11/walmart-grocery-is-expanding-its-98-per-year-delivery-unlimited-subscription/)

Created with help of [Tatsiana Isakova](https://www.linkedin.com/in/tatsiana-isakova-5a2ab21a2)

If you share this story your kid will forget about Fortnite.
Created a new responsive website in 2hours.
Tags: javascript, beginners, css
Published: 2022-01-18 08:48:30

I have created a new personal website. Because I don't owned a cool and responsive website. So I replaced my old website to new one. You can checkout my website at https://sanath.live.

## How I created a website in 2 hours?
First I planned to create the website using simple html and CSS. But I realized that I have bootstrap studio installed in my laptop. So I picked a template from bootstrap studio and made website in 2 hours. You can also make this website in 2 hours or in 1 hour.

Thanks for reading this blog and share it to your developer friends.