teleren/devto huggingface dataset:
VAT Calculator Worldwide - Add, remove and calculate VAT worldwide
Tags: vat, calculator, tax
Published: 2022-12-05 18:45:29

We present you our VAT calculator app. The mobile application allows you to receive the easiest and most reliable way to calculate the tax rate, the price excluding VAT, the VAT inclusive, and more. Remove VAT from the net price or add VAT to the gross price to know how much you should pay at the end of your financial transactions for services and goods.

Compatible with almost all Android and iPhone mobile phones and tablets, our VAT calculator is easy to be understood and helpful to be used in numerous daily and business hypotheses. This calculator is unique not only because it saves you time and nerves but also because it includes a constantly updating system with VAT rate amounts for numerous countries. 

Tired of coming upon VAT calculator offers for the UK and the Isle? In our VAT calculator, alongside the UK VAT rate, we include the current VAT rates for 150+ countries worldwide.

[https://vat-calculator.app](https://vat-calculator.app)
welcome Pop!_OS
Tags: beginners, opensource, ubuntu, linux
Published: 2022-12-05 18:43:08

## Why abandoning Fedora 

  Well, to be honest, I don't have that much time for my pc anymore, and I just get fed up with several hundreds of megabytes of updates every time I did "sudo dnf update". So when I was deciding for a new distro I had a couple of requirements. Definitely not rolling release, unfortunately not semi-rolling release. 

**So Debian.**
Well, no. Every time I did Debian, I ended up in unstable channel. I cannot help it. Don't get me wrong, Debian Sid is rock solid distro but, again, daily updates are kinda necessary. 

**So Ubuntu then.** 
Hell no. I had terrible experience everytime I installed it. LTS release or non-LTS, it was freezing, crashing and other nice stuff. Do you want to change theme? Nope. Do you want to install something? I think, I will allow it. Except, no. Shutdowns holding the power button when you are feeling like you are covering face of your loved one with cushion happened all the time. No matter if I tried it on 8 years old laptop or brand new Ryzen 5700g, it was still one hell of a experience.

---

## welcome Pop!_OS
 
  I like the idea of Ubuntu as I said. 
  I was considering Linux Mint because I very much like the Cinnamon desktop. And get confused with version naming.  But again, the problems with Ubuntu were because of the older kernel. Not because Ubuntu is bad distro. When I was using UKUU utility and flashed the newest available kernel, it worked fine. But didn't want solution, which is technically a hack. Also, I don't like snaps (is it me, or it is the new "I use arch btw"). 
  So it seems like Pop!_OS ticks all the boxes for me. Much newer kernel? Check. Based on Ubuntu? Check. Without snaps? Check. Not Windows? Check.

---

## So far, so good 

  It's been living on my machine less than a month, but so far, so good. It has everything I need. I can play my flac library with variable sample rate without over/under sampling using pipewire, I can use my favorite browser without an issue, watch movies without worrying and much more. The Pop!_Shop is very robust with huge library of apps, but I still use apt though. I can fiddle with themes and still exist without hard reset. 
  Fedora always will be in my heart, even we didn't spend that much time together, but it's just wasn't a right time for us. 
  So would I recommend Pop!_OS? Of course, It depends. It ticks all my boxes,  recent kernel, because I like new hardware, Ubuntu base. 

Thanks for your time and more hopefully to come
W3bstream - smart devices to smart contracts
Tags: webassembly, web3, blockchain
Published: 2022-12-05 18:39:50

The **W3bstream Devnet Seed** release will give a first glimpse of what working with w3bstream is like and it paves the way for devs to bootstrap the new decentralized Machine Economy.

## What is W3bstream?
W3bstream is a general framework to connect the physical world to Web3 with an innovative combination of blockchain and IoT.


![w3bstream-flow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zxjp7oj5aj07vvtunk6s.png)

In a nutshell, w3bstream uses the IoTeX blockchain to manage device ownership and orchestrate decentralized networks of w3bstream nodes to establish two-way communications between smart devices in the physical world and decentralized applications.

With w3bstream in place:

- Device owners can monetize on their smart devices data by participating in certain dApps,
- While dApp developers are able to manage sets of smart devices completing specific tasks.

## Get Started with W3bstream

There are a couple of ways of quickly getting started experimenting with w3bstream.

- The [official w3bstream documentation](https://docs.w3bstream.com/introduction/readme) offers a lot of great resources for any developer that would like to get going quickly and also learn about this technology in more depth. After a quick overview, the developer is taken through a "get started" and an "applet development" section.
- The [IoTeX Developer Portal ](https://developers.iotex.io/)is another great way of quickly learning how to build MachineFi applications with w3bstream. To get developers started, we have prepared a simple ClickToEarn application that rewards users with crypto assets clicking their board.

## The W3bstream Whitepaper
Haven't had enough content and would like to dig even deeper into the w3bstream vision? Then reading the [W3bstream Whitepaper](https://docsend.com/view/twtxhbzvisdye2xj) is definitely the best thing to do to momentarily replace your favorite Netflix show. The Whitepaper delves into interesting concepts such as Trust Models, Machine Identity, Web3-Devices, the Architecture of a W3bstream Node, and Communication Patterns, just to name a few.
The NestJS Boilerplate: A Modular and Efficient Starting Point for Node.js Projects
Tags: nestjs, typescript, node, boilerplate
Published: 2022-12-05 18:05:15

---
title: The NestJS Boilerplate: A Modular and Efficient Starting Point for Node.js Projects
published: true
description: Introducing the NestJS boilerplate, a sleek and modular starting point for your next Node.js project! Built with NestJS, a powerful and flexible framework for building efficient and scalable server-side applications, this boilerplate includes everything you need to get started, including support for TypeScript, PostgreSQL, and JWT authentication.
tags: [  "NestJS",  "TypeScript",  "Nodejs",  "Boilerplate"]

# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-05 17:58 +0000
---

Introducing the NestJS boilerplate, a comprehensive and modular starting point for your next Node.js project! Already in use by small startups and teams, this boilerplate is built with the latest version of NestJS, a powerful and flexible framework for building efficient and scalable server-side applications. It includes support for TypeScript, PostgreSQL, and JWT authentication out of the box.

But that's not all - the NestJS boilerplate also comes with additional features like configuration support with Dotenv, RBAC and CBAC for authorization, and TypeORM for database interactions. Plus, it includes pre-configured linting tools and secure HTTP headers with Helmet, as well as API documentation with Swagger and container orchestration with Docker Compose. Simply clone the repository from GitHub and start building your next great idea today!

With the NestJS boilerplate, you'll be able to hit the ground running on your next Node.js project. No more spending hours setting up the basic structure and dependencies - the NestJS boilerplate has you covered. And with support for TypeScript, PostgreSQL, and JWT authentication, you'll be able to build a robust and secure application from the start, just like the small startups and teams that are already using it.

Ready to get started? Head over to the NestJS boilerplate on GitHub at https://github.com/joeygoksu/prime-nestjs and clone the repository today! 

## Installation (Development)

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

You'll be able to start building your next great idea in no time. Don't waste any more time on tedious setup - use the NestJS boilerplate to streamline your development and focus on what really matters.
Atalhos Úteis para Vs Code (para Linux)
Tags: productivity, vscode
Published: 2022-12-05 18:05:12

O **Visual Studio Code**, desenvolvido pela Microsoft, é hoje um dos editores de códigos preferidos pelas pessoas desenvolvedoras e programadoras.
Dentre os motivos para essa popularidade, além da fácil usabilidade, suporte a um vasto número de linguagens e _frameworks_ e grande possibilidade de personalização, o **VSCode** conta com uma ampla paleta de atalhos, que facilitam e agilizam sua utilização.
Como eu sempre fui fã do uso de atalhos, acabei descobrindo alguns bastante úteis para o dia-a-dia, e aproveitei para os listar abaixo:

 **Atalhos de Configurações / Gerenciamento**

- **“Ctrl + Shift + P”** abre paleta de comando
- **“Ctrl + B”** irá abrir/fechar a barra de exploração do VsCode.
- **“Ctrl + N”** - Cria novo arquivo
- **“Ctrl + O”** - Abrir arquivo
- **“Ctrl + S”** - Salvar
- **“Ctrl + Shift + S”** - Salvar como
- **“Ctrl + Shift + T”** - Reabre editor fechado
- **“Ctrl + Shift + X”** - Abre aba de Extensões
- **“Ctrl + Shift + ´ ”** - Abre terminal

 **Atalhos de Seleção**

- Usar **“Ctrl+C”** ou **“Ctrl+V”** sem selecionar algum trecho fará com que toda a linha atual seja copiada ou recortada, respectivamente.
- **“Ctrl + F2”** - Seleciona todas as ocorrências do trecho atual selecionado.
- **“Shift + Alt + seta para a direita”** ou **“Shift + Alt + seta para a esquerda”** - Causa expansão/retração da seleção;
- **“Shift + Alt + seta para cima”** ou **“Shift + Alt + seta para baixo”** - Causa expansão da seleção para a linha acima / abaixo da linha atual, respectivamente
- Selecionar um trecho de código e apertar **“Ctrl + D”** - Faz com que o próximo trecho de código idêntico ao selecionado anteriormente seja selecionado também.

 **Atalhos de Navegação**

- **“Ctrl + G”** - Abre caixa de navegação que leva para a linha indicada.
- **“Ctrl + F”** - Abre caixa de pesquisa
- **“F3” / “Shift + F3”** - Vai para a próxima / anterior ocorrência de pesquisa
- **“Ctrl + seta para cima”** ou **“Ctrl + Seta para baixo”** - Move a barra de rolagem do foco.

 **Atalhos de Edição**

- **“Ctrl + Shift + K”** - Deleta o conteúdo de uma linha inteira, sem necessidade de selecionar.
- **“Alt + seta para cima”** ou **“Alt + seta para baixo”** - Leva todo o trecho selecionado uma linha acima ou abaixo, respectivamente.
- **“Ctrl + Shift + Enter”** - Insere linha acima
- **“Ctrl + Shift + [” ou “Ctrl + Shift + ]”** - Colapsa / expande bloco de código

Pode ser que, devido ao sistema operacional (O meu é o Linux-Ubuntu) ou mesmo extensões instaladas, hajam algumas divergências de configurações entre os atalhos na sua máquina e esta lista. Para resolver isso ou mesmo conferir a lista completa de atalhos do **VsCode**, basta verificar nas preferências do seu editor quais os atalhos configurados. Para acessar essa lista, é só apertar **“Ctrl + K”**.
MacOS v Linux v Windows?
Tags: discuss, os
Published: 2022-12-05 17:50:19

---
title: MacOS v Linux v Windows?
published: true
description: 
tags: #discuss, #OS
cover_image: https://techcaption.com/wp-content/uploads/2017/12/Windows-Linux-Mac.png
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-05 17:39 +0000
---

Which OS are you using for work? Also, out of pure interest, which OS are you using for personal use?

In some companies, they don't wanna even hear the word "Windows".

Most devs, especially "NEW DEVS" are preferring Mac..

I usually used Windows as it was the OS provided by the company, but one company suggested Linux, so yeah, Linux was also good, no big differences.

I wonder if Mac has any sort of advantages over the others? Besides the iOS thingy...

Thoughts?
Future of handwriting and my thoughts
Tags: handwriting, paper, pen, habits
Published: 2022-12-05 17:30:21

Writing habit is one of the greatest habits at this time. Why I have called it the greatest habit? We almost have forgotten to write on paper using a pen. This era is for technology. So everything we are doing using technology. So handwriting using paper is reducing day by day. The rate of handwriting reduction is increasing. I have searched on google to get a percentage but I got not enough results. It should have some research about it. Because I can see around me that most of the people have left to write on paper. They take notes on a computer or mobile. I understand that technology is a blessing to human civilization. Also, it reduces lots of time to complete a task. So we can do multiple tasks in a short period. It saves us valuable time and we can concentrate to do other tasks. It's called productivity.

We are so busy in our modern life and has changed our mentality, view about life, thought process, and mindset. We are experiencing new things every day and living in an uncertain and unpredictable world. Let's talk about handwriting on paper. we are worried about the future of paper and pen. Maybe it will be disappeared from the world in near future. It could not be survived against modern writing technology. But I do not think so. If we look back at human history. It was a key tool of human civilization. If we see any ancient ideogram, there were lots of use cases for paper and pen. It played a vital role to move forward our civilization.

Often we talk to each other and consider that we are living at the peak of human civilization. We made our life easy with technology, high medical treatment, and other things. We are living in a world where information matters. We have lots of information on our hands such as human history, nature, weather, and human psychology. So we can take a decision accurately by using that information.

Although, we are living at the peak position of human civilization. But sometimes nature reminds us that we are not there. One thing I would like to remind that we had experienced bad things a couple of years ago. That is covid-19. The pandemic gave us a new lifestyle that we did not expect it. It opened our eyes and mind to rethink life. We were detached from each other. We were feeling that human connection is most important in our life. It's more natural and pure. We can not live alone. The pandemic reminds us that it's a human basic need of life leading. That's my point of view about my life.

Handwriting is a pure thing and more natural. I enjoy handwriting. It gives me a lot of pleasure. whatever I thought in mind I take a quick note. A Digital note-taking system is gorgeous but writing on paper is more classy. Fellows, let me know what you think. I will appreciate any comments or feedback.
My Introduction to Web Development: Semantic HTML
Tags: introduction, html, student
Published: 2022-12-05 17:36:03

Hello DEV Community!

I am new to the web development community as a whole I am writing this blog post for my first assignment as a student of UCF's full stack boot camp.

Today I discovered a blog post about something called Semantic HTML. While I do not understand how to read or write HTML, I understand it's uses and I believe that I understand the difference between HTML code and Semantic HTML code. My understanding is that Semantic HTML is essentially HTML code that is labeled according to the content. A webpage that has a header entered as <div> normally would therefore be entered as <header>. This seems more intuitive to me, because when reading someone else's code you can decipher the content's intent.

Can't wait to start my journey into the world of coding!
Unable to run React native app
Published: 2022-12-05 17:31:00

Hi,

I am new to react, so for my development i am using expo cli. 
i have followed following steps:
npm install -g expo-cli
npm audit fix
npm expo init ./ (when pressed enter all dependencies are installed and returned project is ready) but problem is when entered npm start react is not running in any port. (localhost:19002).

please help me on fixing this
Start a Jupyter notebook server
Tags: cloud, aws, jupyter, machinelearning
Published: 2022-12-05 17:30:36

- A Jupyter notebook server must be running in order to create and run Jupyter notebooks.
- This post don't explain how to install the Jupyter notebook server or packages for machine learning in the AWS AMI.
- In this post, you will start a Jupyter notebook server.



### Step 1
In your SSH shell, enter the following command to start the Jupyter notebook server in the background:

```
nohup jupyter notebook &
```

- The `nohup` command, stands for no hangup and allows the Jupyter notebook server to continue running even if your SSH connection is terminated.
- After a couple seconds a message about writing output for the process to the `nohup.out` file will be displayed:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7ocz5y0ob5a7fyq07pfl.png)

Press enter to return to the shell prompt.

This will allow you to continue to enter commands at the shell prompt.

### Step 2
Press `enter` to move to a clean command prompt, and tail the notebook's log file to watch for when the notebook is ready to connect to:

```
tail -f nohup.out
```

### Step 3
Press `ctrl+c` to stop tailing the log file.

### Step 4
Enter the following to get an authenticated URL for accessing the Jupyter notebook server:

```
jupyter notebook list
```

- By default, Jupyter notebooks prevent access to anonymous users. - After all, you can run arbitrary code through the notebook interface.
- The token URL parameter is one way to authenticate yourself when accessing the notebook server.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/58x506110f9r5ee95zk1.png)

- The `/home/ubuntu` at the end of the command indicates the working directory of the server.

 

- The Jupyter notebook server is now up and running.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/258n9yj5m37q3kglras5.png)

- However, you can't connect to the server If there is a security group containing the virtual machine doesn't allow access to port 8888.
- To maintain a secure environment, only port 22 (SSH) is open. You will learn how to access the notebook server in the next post.


<br>
[GitHub](https://github.com/a00ayad00)
[LinkedIn](https://www.linkedin.com/in/a00ayad00)
[Facebook](https://m.facebook.com/a00ayad00)
[Medium](https://a00ayad00.medium.com/)
Handy console.log tip: display variables names
Tags: javascript, console, tip
Published: 2022-12-07 15:51:30

---
title: Handy console.log tip: display variables names
published: true
date: 2022-12-05 17:29:23 UTC
tags: JavaScript,console,tip
canonical_url: https://www.90-10.dev/js-console-log-tip-object/
---

We're yet to see a JavaScript developer that doesn't use `console.log` to perform a "quick debug". And it goes like this:

```
let theAnswer = 42
console.log(theAnswer);
```

And the console will oblidge, showing:

```
42
```

## Encapsulate in an object

Here is a handy tip: encapsulate the variable in an object and the variable name will be displayed:

```
console.log( { theAnswer } );
```

The output will now be:

```
{theAnswer: 42}
```

![](https://www.90-10.dev/content/images/2022/12/console.png)

### Happy debugging!
Music Monday — What are you listening to? (Classic Rock Edition)
Tags: watercooler, music, discuss
Published: 2022-12-05 17:14:16

_cover image source: [The Beatles](https://giphy.com/gifs/thebeatles-beatles-allyouneedislove-beatleslove-gDJHqy9xmjKTww1JbC)_

**Last week, I asked y'all to share some rock music with me! Y'all delivered, serving up some indie rock, power metal, space rock, and black metal. This week, I've decided to zoom in a little further and am asking for classics only. I define classics as anything that is older than 20 years, though I'm not gonna nit-pick, so if you're bursting at the seams to share something from 2003, then don't hesitate to drop it here.**

![psychedelic pitcture of Jimi Hendrix standing on top of a warbly background](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yqsc05g4jgc17usalxlg.gif)

***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others suggestions.

If you like talking about music, consider following the org [#music discussions](https://dev.to/music-discussions) for more conversations about music!

{% embed https://dev.to/music-discussions %}

***

Y'all ready to (classic) rock?! _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

I look forward to listening to y'all's suggestions! 🎶
First Five Days: My AoC Thoughts 🎄
Tags: adventofcode, python
Published: 2022-12-05 17:13:27

It's been five days, and I've successfully completed all of the first five challenges in [Advent of Code](https://adventofcode.com/). The first three days were a breeze, but coming up to four and five has been tricky. I've gotten stuck, submitted the wrong answer not once, not twice, but **six** times, and looked at other's code for help.

The important thing I realized is that there's **nothing** wrong with this.

Getting stuck is something that I think we've all experienced. It's a necessary evil. Just something that happens to the best of us sometimes.

The good thing for us is that the Internet exists. In the past two days, I found myself on a myriad of sites (primarily Stack Overflow, of course) looking for solutions to problems I didn't know how to solve. It's especially important to me because I've challenged myself to do all the challenges in Python, a language I'm not particularly fond of. More on that later though, I'm starting to open up to the realms of possibilities that something like JS would take much longer to do.

I guess the takeaway here is **don't be afraid to admit you don't know something**. My Day 4 and 5 solutions are structured around a bit of someone else's code, and that's ok. I'd rather be open about knowing nothing and grow than pretend I know everything and decline.

> Find my solutions here: https://github.com/jD2R/advent-of-code-2022

Here's to learning and coding! 🎄
Observabilidad en Firebase
Tags: firebase, webdev, googlecloud
Published: 2022-12-05 17:08:11

Cloud Functions para Firebase facilita la creación y la implementación de un backend serverless para tu aplicación. Pero, ¿sabías que Cloud Functions para Firebase incluye integraciones nativas con el paquete de operaciones de Google Cloud, como Cloud Logging, Cloud Monitoring y Cloud Trace? 

Puedes aprovechar Google Cloud para adoptar un stack de observabilidad moderna como Open Telemetry para monitorear de manera efectiva sus funciones en la nube.

L@s invito a ver esta sesión, donde se explica con mayor detalle el uso Open Telemetry con firebase y las ventajas de implementar un buen sistema de observabilidad en un ambiente serverless:

{% embed https://www.youtube.com/watch?v=61WC7urgvQ4&t=181s %}