teleren/devto huggingface dataset:
Simple method on how to get a second phone number
Tags: security, phone, number, second
Published: 2022-05-04 09:07:46


If you’re worried about your personal privacy, you must consider getting a virtual phone number. Additionally, if you need an added personal number without purchasing several sim cards or smartphones, you can get a virtual telephone number. A fake or [second phone number](https://secondphone.net/) offers you all the solutions you have accessibility on a registered personal phone number. You additionally have the advantage of preserving your privacy.


This is how to get a [virtual telephone number](https://secondphone.net/how-to-get-a-second-phone-number/), you need to download the Second Phone Number™ application, register, and produce a virtual number that fits your function. The Second Phone Number™ app is offered on Google Play Store as well as Apple Shop, on your mobile phone.

You’ll recognize the advantages of a second telephone number over a registered personal number in this item. Nonetheless, you’ll learn how to get a second phone number through the Second Phone Number™ App.
100 Days of Code: The Complete Python Pro Bootcamp for 2022 - Day 12 (Number Guessing Game)
Published: 2022-05-04 08:40:24

#Project 12 - The Number Guessing Game
```python
from random import randint
from replit import clear
from art import logo

# Global scope
EASY_LEVEL_TURNS = 10
HARD_LEVEL_TURNS = 5

# Function to check users guess against answer
def check_answer(guess, answer, turn,):
  if guess > answer:
    print("Too high")
    return turn -1
  elif guess < answer:
    print("Too low")
    return turn -1
  else:
    print(f"You got it, the answer was {answer} ")

# Function to set difficulty
def set_difficulty():
  level = input("Choose a difficulty level. Type 'easy' or 'hard': ")
  if level == 'easy':
    return EASY_LEVEL_TURNS
  else:
    return HARD_LEVEL_TURNS

# Define game function
def play_game():
  print (logo)
  --Choosing a random number between 1 and 100
  print("Welcome to the Number Guessing Game")
  print("Choose a random number between 1 and 100: ")
  answer = randint (1, 100)
  # Print statement used for initial testing
  print(f"Psssst, the correct number is {answer}" )

  # Repeat the guesing functionality if the answer is wrong
  turns = set_difficulty()
  guess = 0
  while guess != answer:
    print(f"You have {turns} attempts remaing to guess the answer")

    # let the player guess a number
    guess = int(input("Guess again:"))

    # Track the number of turns and reduce by 1 if they get it wrong
    turns = check_answer(guess, answer, turns,)
    if turns == 0:
      print("You've run out of turns, You Lose")
      return
    elif guess != answer:
      print(f"Guess again:")
      clear()


play_game()
```
Level Up Your NgRx Skills With 10 Time-Tested Best Practices
Tags: frontend, rxjs, webdev, angular
Published: 2022-05-04 11:04:26

---
title: Level Up Your NgRx Skills With 10 Time-Tested Best Practices
published: true
date: 2022-05-04 08:31:05 UTC
tags: frontend,rxjs,webdev,angular
canonical_url: https://tomastrajan.medium.com/level-up-your-ngrx-skills-with-10-time-tested-best-practices-6c837fb14877
---

[![Article Title image with NgRx Logo in nice jungle like environment](https://cdn-images-1.medium.com/max/2600/1*i8ESySdafzuPfUSbo6tuUQ.jpeg)](https://tomastrajan.medium.com/level-up-your-ngrx-skills-with-10-time-tested-best-practices-6c837fb14877?source=rss-360cd444e1fc------2)

NgRx is the most popular state management library for Angular, let’s explore set of real world proven best practices to level up your skill!

[Continue reading on Medium »](https://tomastrajan.medium.com/level-up-your-ngrx-skills-with-10-time-tested-best-practices-6c837fb14877?source=rss-360cd444e1fc------2)
Enjoy Programming-Themed Humor? Here's today's daily developer joke!
Tags: jokes, dailydeveloperjokes
Published: 2022-05-04 08:00:16

---
title: "Enjoy Programming-Themed Humor? Here's today's daily developer joke!"
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/5e125994c8f5a.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___: Did you hear what the clumsy cryptographer did to their password?

___A___: Made a hash of it.
 -->
How to Map Dropbox as Network Drive on Mac, Windows
Tags: dropbox, map, cloud
Published: 2022-05-04 08:09:26

Dropbox is a virtual flash drive to which you can upload files and provide access to them to your friends, colleagues, etc., who access the Internet from any device. Therefore, let's talk about how easy to [mount dropbox as drive]( https://cloudmounter.net/map-dropbox-as-network-drive.html) with help - CloudMounter.

With CloudMounter your multiple Dropbox accounts can be easily mapped to your computer with one of them managed without any fee. Have better online file management right from Finder. Map Dropbox as a network drive without installing it.
AWS VPC & Networking
Tags: aws
Published: 2022-05-04 07:56:29

VPC (Virtual Private Cloud) 
So, within a VPC, there might be multiple subnets but in each subnet, there will be a public subnet and a private subnet. One can access the public subnet from outside but they can not access the private subnet. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajyc1p3ju2yro94ppgdg.png)
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r4it59ylaqh6gs7v55nv.png)
 To give the public subnet a way to connect to internet, Internet gateway is used but and to give private subnet to update itself, NAT gateway is used which ultimately resides under public subnet and is connected to private subnet.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u2s4tc0y1kjj1a451nut.png)
 
Again, Network ACL is situated on the Subnet layer and Security groups provide security for Instances.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uljpwcewhp78hlaj729h.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zo41pd3r2o5ahzwn5d75.png)
**_VPC Flow Logs_** 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ebj14u5jztlyk7w0oxvr.png)
**_VPC Peering_**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ka890jy1kdi5aqsv8gcg.png)
**_VPC Endpoints_**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uvmnca9lr59lqm74k4es.png)
**_Site to site VPN & Direct VPN_**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1sib6mztg85cdz0i7d8j.png)
    
**_Site to site VPN_** 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v42st5phqug6iahn0vdr.png)
**_Transit Gateway_** 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0lbxna3e2n75yff12zt.png)

**_Summary_**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6reiklxzneiy8hbbjjhu.png)
How to choose the best IoT app development company
Tags: webdev, aws
Published: 2022-05-04 07:25:57

Choosing an IoT [app development company](https://crimsonbeans.co.uk/App-Development) is quite crucial. Hundreds of companies offer their IoT app development solutions, luring customers with the best prices & various services. In order to choose a company for product development, a potential client is compelled to spend some time browsing their sites, reading reviews, and analyzing pricing policy. It is essential to choose an app development company with real IoT expertise & experience in implementing end-to-end projects.
Read More: https://crimsonbeans.co.uk/Blog/How-to-Choose-the-Best-IoT-App-Development-Company
ShowDEV - A open source job Board
Tags: showdev, javascript, react, opensource
Published: 2022-05-04 07:20:24

**Hello everyone👋**

We are very excited to introduce our first product to the community. It is simple and straightforward job board for both job seekers and employers. It is affordable, beautiful and opensource.

Website Link : [https://jobilist.com](jobilist.com
)
GitHub: [https://github.com/jobilist/jobilist](https://github.com/jobilist/jobilist)
ProductHunt: [https://www.producthunt.com/posts/jobilist](https://www.producthunt.com/posts/jobilist)

**How it started**
We were looking for a job and visited a number of job boards, but we noticed that they were all bulky and displayed useless information, were spammed with advertisements, and so on. So we decided to build a basic and effective job board.

**Build With**
[Remix.run](Remix.run)
[Prisma](https://www.prisma.io/)(Postgresql)
[Railway.app](Railway.app) 

Thank you!
Looking for collaborators for my next project
Tags: webdev, discuss, career
Published: 2022-05-04 07:18:43

Hi, I am [Mehul](https://mehullakhanpal.netlify.app) & I have built a few side projects alone. I did all the development, logo design, video editing, UI, marketing, etc.

Some of my solo projects:
- [Array Builder](https://www.arraybuilder.com/) - A free tool to visualize the output of array operations
- [Fireboard](https://www.fireboardapp.com/) - A work tracker for software developers
- [File Ops](https://marketplace.visualstudio.com/items?itemName=mehullakhanpal.file-ops) - A VS Code extension to easily tag/alias files & quick switch between files
- [Note Box](https://chrome.google.com/webstore/detail/note-box/mbbajjgefpenmkkhcnmmnoodlbcbfnmp) - A chrome extension to add notes/todos based on URL
- [Github Marker](https://chrome.google.com/webstore/detail/github-marker/imjdbnnpnohgcdbpgnidgolnamoghpoo?hl=en) - A chrome extension to Favorite, Bookmark & Mark link as Read in Github

I am looking for people from different fields (Graphic Designer, Video editor, JavaScript Developers, etc) to work on upcoming projects. 

Hit me up if you liked my work and would like to join.
Thanks
Elixir Today: Create a Right Triangle Using Elixir
Published: 2022-05-04 07:11:42

### Process

- create a file named `right_triangle.ex`
- write the code

```
right_triangle = fn number ->
  for i when i <= number <- 0..number do
    # for printing spaces
    spaces =
      for j when j < number - i <- 0..number do
        " "
      end

    # for printing star
    star =
      for _k <- 0..i do
        "*"
      end

    spaces ++ star
  end
  |> Enum.into("", fn string ->
    string = Enum.join(string)
    "#{string}\n"
  end)
end

IO.puts(right_triangle.(10))
IO.puts(right_triangle.(5))

```

- run `elixir right_triangle.ex`

### Result


```
          *
         **
        ***
       ****
      *****
     ******
    *******
   ********
  *********
 **********
***********

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

```

> Happy Coding!
Facing issue in mongoose upgrade version 6.3.1
Published: 2022-05-04 07:09:48

import mongoose, {
  model, Schema, Model, Document, SchemaDefinition,
} from 'mongoose';

const express = require('express');
const bodyParser = require('body-parser');
const methodOverride = require('method-override');

interface IUser extends Document {
  email: string;
  firstName: string;
  lastName: string;
}

interface IDocUser extends mongoose.Document, IUser { }

interface UserSchemaProps {
  email: typeof String;
  firstName: typeof String;
  lastName: typeof String;
}

function createSchema<T extends mongoose.Document>(definition: SchemaDefinition<T>) {
  return new Schema<T>(definition);
}

const UserSchemaDefinition: mongoose.SchemaDefinition = {
  email: { type: String, required: true },
  firstName: { type: String, required: true },
  lastName: { type: String, required: true },
};

const UserSchema: Schema<IDocUser> = createSchema<UserSchemaProps>(UserSchemaDefinition);

const User: Model<IUser> = model('User', UserSchema);
// eslint-disable-next-line wrap-iife
(async function () {
  mongoose.connect('mongodb://localhost:27017/test');

  const user: IUser = await User.create({
    email: 'bill@microsoft.com',
    firstName: 'Bill',
    lastName: 'Gates',
  });

  console.log('Done', user.email);
})();

const app = express();
const router = express.Router();

app.use(bodyParser.json());
app.use(methodOverride());

app.use(router);

app.listen(3000, () => {
  getData();
  console.log();
});

async function getData() {
  const user: IUser | null = await User.findOne({ email: 'bill@microsoft.com' });
  console.log(user);
}
thunder.so Looking for Beta Testers
Tags: webdev, cloud, aws, devops
Published: 2022-05-04 07:09:40

Hello community, we are building [Thunder.so](https://www.thunder.so) - an easy way to provision cloud infrastructure and deploy your sites.

We know how steep the learning curve is for cloud (AWS, I'm looking at you) and it can days to set up a simple staging environment.

Forget about SSH-ing into your EC2 instance and manually installing stuff. Forget about complex CloudFormation scripts. Just place a `yaml` file in your project directory and we will set up the entire stack, including CI/CD automation in minutes.

If you are a developer who spends time setting up servers instead of writing code, sign up for our beta program.

Looking forward to the feedback from this community.
Let's take an adventurous trip🗺🗻
Tags: discuss, news, talktime, productivity
Published: 2022-05-04 06:54:22

What would it be like if everyone in this Dev community had the opportunity to go on an adventure trip together?
I do not know if this will happen!

But what if everyone at the company you work for had the opportunity to make a six-month trip **(the full cost would be borne by your company)**

- What kind of journey would you like to embark on?

- What kind of places would you go to?

- Or tell me about it if you've ever been on a trip and I'm eager to get to know them 🤩
Specflow for Asp.net Core
Tags: csharp, beginners, tutorial, programming
Published: 2022-05-04 06:50:24

SpecFlow is a BDD framework for .NET which boosts your productivity by helping you with writing your feature files and automation code in your favorite IDE using C# and .NET methods.

[specflow.org](https://specflow.org/tools/specflow/)

We need to install

- SpecFlow
- SpecFlow.Tools.MsBuild.Generation
- SpecFlow.NUnit
- SpecFlow.Assist.Dynamic
- Selenimum.WebDriver
- Selenimium.WebDriver.ChromeDriver or Selenium.Firefox.WebDriver

Get the Dotnet core 5.0 version of [Seed.API](https://github.com/HeyBaldur/Seed.API/tree/5.0v) to get the example. 

Requisites: 
Read my tutorial about [Seed.API](https://dev.to/heybaldur/asp-net-core-seed-api-26l) for better understanding. 

Happy coding and learning.
May the 4th be with you
Tags: watercooler
Published: 2022-05-04 06:35:55

Whether you remember the death (for the Dutch readers), or celebrating Star Wars day.

The 4th of May is a day packed with memories.
Being a Dutch guy who also loves Star Wars, what started as both for me turned into something even bigger last year.

## Why this is a non-technical article

You might be wondering why I'm skipping a technical article just as we are diving into Remix.

Well, this day has another special meaning to me.

If you are an avid reader, you might already know.
For those who don't.

It's my wedding day!

So I decided to take the day to write a technical article.
And wishing all of you a wonderful 4th of May.

Let us remember that there are bigger things in life than working 24/7, and we should also take some time off to spend quality time with our loved ones.

## We don't believe you

I get it. Maybe I'm not even married. You haven't seen any proof, right?

Since the photos took a while to come in, here are some of my top pics from our wedding day.

![Wedding ceremony on top of the mountain](https://cdn.hashnode.com/res/hashnode/image/upload/v1650778667721/SzXksdh7g.jpeg)

![Just married](https://cdn.hashnode.com/res/hashnode/image/upload/v1650778702202/DgZtQbWtP.jpeg)

### 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)
Wisdomtree: Crypto Is a New Asset Class That People Can’t Ignore
Published: 2022-05-04 06:28:06

An executive at Wisdomtree, an asset management firm with $78 billion under management, says that “Cryptocurrencies have firmly established themselves as a new asset class and it truly is something that people can’t ignore.” He added: “We are past the point where there is speculation around whether or not this is a trend that’s here to stay.”

**

## Wisdomtree’s Executive on Crypto
**
Jason Guthrie, head of digital assets for asset management firm Wisdomtree in Europe, talked about cryptocurrency during Ftadviser In Focus’ fireside chat Monday.

Wisdomtree, through its subsidiaries in the U.S. and Europe, is an exchange-traded fund (ETF) and exchange-traded product (ETP) sponsor and asset manager headquartered in New York. The firm offers products covering equity, commodity, fixed income, leveraged and inverse, currency, cryptocurrency, and alternative strategies. Wisdomtree currently has over $77.8 billion in assets under management globally, according to its latest filing with the U.S. Securities and Exchange Commission (SEC).

Guthrie said, “We are past the point where there is speculation around whether or not this is a trend that’s here to stay,” emphasizing:

Cryptocurrencies have firmly established themselves as a new asset class and it truly is something that people can’t ignore.

He explained that investors will increasingly choose service providers based on their ability to gain access to the digital assets market.

The Wisdomtree executive added that many platforms are evolving strongly towards a “multi-blockchain future” with an emphasis on interoperability. He also noted that this has “broadened out the investment universe for a lot of people because it … means you’ve got opportunities to put capital to work against a variety of protocols.”

However, uncertainty over how the crypto space will evolve over the next decade has led to high volatility in the crypto market. Guthrie stressed that investors need to bear this in mind when investing in this new asset class.

“I don’t think anybody is out there advocating 50% of somebody’s portfolio should be in cryptocurrency. This is how you account for risk, by making risk-assessed allocations,” he opined. His asset management firm sees people allocating between 1% and 5% of portfolios into crypto as part of a risk-adjusted approach, similar to how they treat other asset classes, he conveyed.

Replying to a question about whether crypto could become mainstream, Guthrie affirmed:

Absolutely … We are already on the path to doing that.

He added, “2% or so of the global population is involved in crypto at the moment, that’s only going to grow.”

What do you think about the Wisdomtree executive’s comments? Let us know in the comments section below.

[Source](https://www.coinparative.com/news/wisdomtree-crypto-is-a-new-asset-class-that-people-cant-ignore/)
What is difference between undefined & null in javascript ? 🚀 🚀
Tags: javascript, beginners, programming, tutorial
Published: 2022-05-04 06:11:44

before understanding the differences between undefined and null in javascript we must understand the similarities between them

they belongs to javascript's 7 primitive types

```
let primitiveTypes = ['string','number','null','undefined','boolean','symbol','bigint'];
```

they are falsy values values that evaluated to false when converting it to boolean using boolean(value) or !!value

```
console.log(!!null);//logs false
console.log(!!undefined);//logs false
console.log(Boolean(null));//logs false
console.log(Boolean(undefined));//logs false
```


ok, let's talk about the difference between undefined & null

undefined is the default value of a variable that has not been assigned a specific value. or a function that no explicit return value ex. console.log(1) or property that does not exist in an object. the javascript engine does this for us the assigning of undefined value

```
let _thisIsUndefined;

const doNothing = () => {};

const someObj = {
    a : 'ab',
    b: 'bc',
    c: 'cd'
}

console.log(_thisIsUndefined);//logs undefined
console.log(doNothing);//logs undefined
console.log(someObj['d']);//logs undefined

```

null is "a value that represents no value" null is values that has been explicitly defined to a variavle. in this example we get a value of null when the fs.readFile method does not throw an error

```
fs.readFile('path/to/file',(e,data) => {
    console.log(e) // it logs null when no error occurred
    if(e){
        console.log(e)
    }
    console.log(data)
})
```

when comparing null and undefiend we get true when using == and false when using ===

```
console.log(null == undefined); //logs true
console.log(null === undefined); //logs false
```

this is it for difference between undefined & null in javascript and stay tuned for more 

**read more**

[**how to become javascript full stack engineer**](https://www.ashishdonga.me/2022/05/how-to-become-javascript-full-stack-engineer.html)

[**7 killer JavaScript One-Liners You Must Know**
](https://dev.to/ashishdonga/7-killer-javascript-one-liners-you-must-know-nhm)

[**Top 7 best Algorithms to Improve your JavaScript Skills**](https://dev.to/ashishdonga/top-7-best-algorithms-to-improve-your-javascript-skills-2c2a)