teleren/devto huggingface dataset:
How To Avoid Online Scams - Tips and Tricks.
Tags: onlinefraud, scam, onlinescam, phishing
Published: 2022-11-22 17:37:55

While most of us are well aware of the online scam, surprisingly we still fall prey to them. You only need to invest a few minutes on the internet before you realize that there are some really bad people out there who will try anything to make a quick buck on your money. These scammers have learned to be very smart and cunning. Therefore, in this article I will talk about something that might interest you: How to prevent yourself from scams and what you can do while using the internet?

These days, there are many scams online. With all the information we have at our fingertips, it's easy to get sucked in by a clever scammer. Here are some tips on how to stop yourself from getting scammed.

## 1. Use a good antivirus program. 
Antivirus software is essential for protecting your computer from viruses and other malicious software.

## 2. Don't click on links from  strangers.
 
The first rule of online security is to be wary of what you click. You should never click on an email link in your inbox unless you were expecting the email to arrive.

Don't click on links from strangers or random websites that appear in your email inbox or on social media sites like Facebook or Twitter. If you're not sure where the link leads, don't click on it!

## 3. Avoid opening attachments. 
Be careful when opening attachments in emails or messages, especially if they're asking for personal information like passwords or credit card numbers.

## 4. Trust your instincts.
If a deal sounds too good to be true, it probably is. Trust your instincts and do your research. There are promotional links circulated especially through whats-app groups purporting to be from top companies promising to gift its customers. The best way before click the links is to first check the official website if they are running the promotion. 


In conclusion, it is always a good idea to approach websites with a healthy dose of skepticism. However, cyber criminals are becoming increasingly more sophisticated in their ability to trick people into providing them with personal information or financial/credit card details. Never assume that you are completely safe from online scam simply because you have never been scammed before. The only way to protect yourself from online scams is by educating yourself about the techniques used and warning others.
The only newsletter you’ll ever need to read
Tags: cloud, devops, aws, newsletter
Published: 2022-11-22 17:36:51

Okay, maybe I was a bit bold in the title... but maybe not, and it's up to you!

I had been thinking about creating my own **newsletter** for a while, but couldn't make up my mind. 

Then I joined **Mastodon** recently (you can follow me here: [https://hachyderm.io/@monica](https://hachyderm.io/@monica)). And now that I am experiencing a new, much less toxic social, the idea of creating connections and community has finally made me decide! 

My idea is to periodically share some interesting readings about Cloud, DevOps, and Architecture that I find online (of course, on Dev.to too!). Nothing for sale, just knowledge sharing. 

If you like, you can also share with me some brilliant content you may find online, and you could see it in the newsletter itself.

If you like the idea you're very welcome! 

Please visit [my newsletter subscription page](https://letsmake.cloud/newsletter-subscription) and let's start making cloud together!
Push the data out
Tags: azure, eventdriven, programming, database
Published: 2022-11-22 17:34:16

Event-Driven and reactive architectures (see the ["Reactive Manifesto"](https://www.reactivemanifesto.org/) if you're new to the topic or interested to learn more about it) are very popular today. Events - and thus data - is pushed to services so that integration can happen faster and more efficiently.

With Azure SQL database it is possible to call a REST API using the stored procedure `sp_invoke_external_rest_endpoint`. It is available in any Azure SQL Database (so, no Azure SQL Managed Instance or SQL Server for now) and it as easy to use as you would expect:

```sql
declare @response nvarchar(max);

exec sp_invoke_external_rest_endpoint 
	@url = N'https://say-hello.azurewebsites.net/api/hello-message',
	@response = @response output;

select * from openjson(@response);	
```

Take a look at the documentation here: [sp_invoke_external_rest_endpoint (Transact-SQL)](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql) and unleash your creativity. The possibilities that this feature opens are almost infinite.

The feature is in Public Preview, which means that this is the perfect time to give us your feedback, if you think something can be improved or needs to be changed. Feel free to comment here below, if you have any questions or ideas you want to share.

In the meantime, happy coding! :)
Latest News: We are in Top 20 Travel Insurance Blogs On Feedpost.
Published: 2022-11-22 17:18:19

We are [ranked in the top 20 travel insurance](https://www.mytravel-insurance.com/post/latest-news-we-are-in-top-20-travel-insurance-blogs-on-feedpost) blogs on feedpost. We are in the travel insurance and traveling-related business for over a decade and our main objective is to secure travel for our clients by considering a variety of factors like age, health conditions, and financial concerns.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p36y5gsks2niqe0id7ad.png)
Count Next Greater Element
Published: 2022-11-22 16:56:00

## Problem Statement

Here we would look how to get number of greater element present next to current element

> Example 1
[1,2,3,4] -> [3,2,1,0]

> Example 2
[1,1,1,1] -> [0,0,0,0]

> Example 3
[5,4,3,5,1] -> [0,1,1,0,0]
## Solution

The Naive solution for this is to check for each element in the array, the next greater counts

Such as 
```
class Solution {
    int[] nextGreaterElementCount(int[] a) {
        int[] res = new int[a.length]; // result array
        // for every element
        for (int i = 0; i < a.length; i++) {
            int count = 0;
            for (int j = i+1; j < a.length; j++) {
                // previous value is lesser than new value
                if (a[i] < a[j]) 
                    count++;
            }
            res[i] = count; // feed the count
        }
        return res;
    }
}
```
#### Time Complexity: O(N<sup>2</sup>)
#### Space Complexity: O(1)
Reviewing PRs
Tags: programming, beginners, opensource
Published: 2022-11-22 16:42:51

## Reviewing Pull Requests 

Part of the 0.3 release was reviewing pull requests for the select Seneca applications that we are all working on together.

The pull request that I reviewed had to do with adding a prettier configuration.

The pull request included the .vscode files and an empty .prettierrc file. I wrote a comment explaining the difference between changing the settings within the editor and changing the settings through a configuration file for every contributor to be able to use in the future.

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



[P24](https://github.com/humphd/my-photohub/pull/24)

Also I recently reviewed a second PR, just correcting a very small grammar mistake to test out git hub's comment functionality on PRs:

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

[P13](https://github.com/Seneca-CDOT/vscode-seneca-college/pull/13/files)


## What I learned

That occasionally I might have something to offer in terms of commentary/guidance and to constantly be checking the PR tab because the conversations only last so long as those PRs are open, if you wait around you can't partake.
Docker course: Why use Docker?
Tags: docker, tutorial, beginners, devops
Published: 2022-11-22 16:37:00

---
title: Docker course: Why use Docker?
published: true
description: There are at least 3 major reasons to use Docker
tags: docker, tutorial, beginners, devops
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
published_at: 2022-11-22 16:37 +0000
canonical_url: https://code-maven.com/docker-course-why-use-docker
series: docker
---

{% youtube CLr_VFMZf7E %}

* Allow different parts of the system to use different versions of their dependencies and to make progress without impacting the other parts.
* To make it easy to set up the system in different environments (development, QA, staging, production) without major deviation one from the other.
* To make on-boarding new developers easy.
A flexible embedded bootloader: updating becomes easier
Tags: embedded, opensource, update, luos
Published: 2022-11-22 16:33:01

🔃 Updating multiple boards from different brands without having to be physically connected to each one can help an embedded and edge developer.

Discover our new flexible bootloader in this [article](https://www.luos.io/blog/a-flexible-embedded-bootloader)

🔥New features:

- Update all your boards without the need for a physical connection to each one
- Update all your boards whatever the brand
- Multicast bootloader messages for simultaneous upload
[Book] A Journey in Creating an Operating System Kernel: The 539kernel Book
Tags: programming, osdev, books, computerscience
Published: 2022-11-22 16:26:47

Hello All,

I've released a new book titled "A Journey in Creating an Operating System Kernel: The 539kernel Book" and it's available for free on https://539kernel.com

This book teaches the reader how to create an operating system's kernel called 539kernel. The reader will learn how to implement multitasking, paging and a filesystem through this book.

539kernel is a simple x86 32bit educational kernel which has been written especially for this book.

Chapters of The Book:

Introduction 
Chapter 1. Let's Start with the Bootloader 
Chapter 2. An Overview of x86 Architecture 
Chapter 3. The Progenitor of 539kernel 
Chapter 4. Process Management 
Chapter 5. Memory Management 
Chapter 6. Filesystems 
Chapter 7. What's Next? References

To read it, here: https://539kernel.com
🗞 Rapyd Developer Newsletter: November, 2022
Tags: fintech, payments, webdev, newsletter
Published: 2022-11-22 16:20:22


Hi everyone, 

Here is our November newsletter with notable updates and news from around the Rapyd global developer community. 

[**Watch the video**](https://youtu.be/t1QiD5d1UNg) where Arik Shtilman, Rapyd CEO and co-founder talks about How Fintech APIs (and Developers) Are Eating The World. 

Be sure and check out our [**brand makeover**](https://rapyd.net/developers).

## Changelog 💻

[**The Rotate API Keys**](https://docs.rapyd.net/client-portal/docs/rotating-your-api-keys) feature is now available in the Client Portal. Account owners can rotate or roll back their secret and access keys in Sandbox or product. 

[**Merchant Reconciliation Reports**](https://docs.rapyd.net/client-portal/docs/merchant-reconciliation-report) have been updated to a new version to include new merged fields and columns with the Merchant Reconciliation beta report. 

---

[**Join 50K+ Devs talking FinTech.** 🤓](https://community.rapyd.net)

---

## Discover 🔍
[**Hack the Galaxy: Mission Two Winner**](https://community.rapyd.net/t/drawing-winner-mission-two-grand-prize/58078) `/community`
Discover the Hack the Galaxy: Mission Two winner with William Shatner.

[**Greatest Fintech Developers in the Universe 👑👑**](https://community.rapyd.net/t/rapyd-crowns-greatest-fintech-developers-in-the-universe/58094/1) `/videos`
The Rapyd Hack the Galaxy Demo Day was a huge success in Lisbon. 

[**Rapyd Bytes: Payment Workflow**](https://youtu.be/5lmFcx5wXuE) `/community`
Follow along as you learn how to create a payment.

 
[**Rapyd Bytes: Payout Workflow**](https://youtu.be/BkE_d0suB64) `/audio`
Learn how to create a payout and follow the correct workflow. 

---

Want an email of Rapyd Developer Newsletters? ⏩
Click [**here**](https://go.rapyd.net/dev-newsletter) to subscribe.

[**Complete this survey**](https://rapyd.sjc1.qualtrics.com/jfe/form/SV_6sVd0n93fIs2Y3c) and share your input to help improve the Rapyd Developer Community. 

---

###### Rapyd is an API first, developer focused company. The Rapyd Dev Community makes it easier to get started building payment and fintech experiences that makes global commerce possible.
OSX Power User Series - Ep. 1
Tags: osx, productivity, workflow, hdd
Published: 2022-11-22 16:16:16

<h1>"How do I remount an external drive after ejecting it without unplugging it and plugging it back in."</h1>

```
[ (cmd) ⌘ + spacebar ]
```

```
[ "Disk Utility" ]
```

```
[ Enter ]
```


![Disk Utility Screenshot 1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9gam0tbaon9my7mbsjjb.png)

```
[ Click ] => <Name Of HDD>
```


![Disk Utility Screenshot 2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r7qdhurflzkfid9ldhfg.png)

[ Click ] => Mount

-Stay tuned for more productivity tips 💫
Hoisting
Tags: javascript, beginners
Published: 2022-11-22 16:11:42

Hello, Just wanted to chat about a topic that confused me in the beginning, hoisting.
Hoisting refers to setting variables, functions, or classes to the top level of their scope.

```
const hoistedVariable = 1
//this is hoisted 
function something(){
return hoistedVAriable + 1
}
```
const and let both can be hoisted but are not initialized. 

Where as if we had some variable declared within a function it would not be hoisted.

```
function Something(){
const notHoisted = 2
// not hoisted
return notHoisted + 4
}
```
the above examples show hoisted vs not hoisted. 
there is some interesting stuff with var but for me best practice its not to use var so that wont be covered here.
Main reasons why Symfony is the best choice for web application development
Tags: symfonyapplicationdevelopment, symfony
Published: 2022-11-22 15:59:20

Online organizations are growing. The present clients want to set aside time and cash. Innovation is the best put to live up to the expectation for labor and products on the web.

Many sites are being made consistently as the need develops. Day to day new sites for labor and products flood the market. Research demonstrates that **77%** of sites are fabricated utilizing PHP systems.

A PHP system can be considered a construction or library that permits us to fabricate web applications. There are various PHP systems like Laravel, Zend, Laravel, CodeIgniter, Symfony, Yii, and others.

Since these PHP systems are protected, clear, and adaptable, picking one of them is the most troublesome test. Symfony is one of the most famous PHP structures after Laravel and CodeIgniter.
Click on the following link to read the full article [https://designcoral.com/tools/why-use-symfony-for-enhanced-web-application-development/](https://designcoral.com/tools/why-use-symfony-for-enhanced-web-application-development/)
Best LeetCode extensions for productivity
Tags: leetcode, opensource, programming, github
Published: 2022-11-22 15:56:03

**Table Of Contents**
- Introduction
- Extensions
- Conclusion

## Introduction

Leetcode is a wonderful website to improve one's coding skills, most on data structure and algorithms. Leetcode is one of the best website that helps programmers to prepare for their technical coding interviews. The discussion section is most valuable assets.
Therefore, here we'll take a look at the 5 best extensions that add new feature to Leetcode and will help you to increase productivity.

## Extensions

**1. [LeetHub](https://chrome.google.com/webstore/detail/leethub/aciombdipochlnkbpcbgdpjffcfdbggi?hl=en)**

 - Push Leetcode submissions to github when you pass all test case  
   on a leetcode problem.
 - Easy to access leetcode problem and solution in one place.
 - No wastage of time, pushing code to github. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y09wzwrv54y8b5mlkpgi.png)


**2. [Leetcode Enhancer](https://chrome.google.com/webstore/detail/leetcode-enhancer/gcmncppaaebldbkgkcbojghpmpjkdlmp?hl=en)**

 - Boost productivity by hiding unnecessary visual elements from 
   screen.
 - Hide problem difficulty and locked problem from table.
 - Hide and highlight solved problem.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tmo3rphoyoxdve1j6grq.png)


**3. [LeetCode Video Solutions](https://chrome.google.com/webstore/detail/leetcode-video-solutions/ilnmgkahgjdpkoliooildngldmilhelm?hl=en)**

 - Leetcode problem video solution on leetcode problem page.
 - Videos at different programming language and techniques.
 - Reduce time to search on youtube.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d40uu2xgo91k9ub8doq3.png)


**4. [Leetcode Timer](https://chrome.google.com/webstore/detail/leetcode-timer/hihcjkhhlbmckhhnjamfomegbnlffcni?hl=en)**

 - Easily time leetcode practice sessions with automatic time 
   setting based on difficulty.
 - Set timer for diffuculty level to increase speed.
 - Alert when time is over.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51l20drscsit5rkn942n.png)

**5. [Leetcode VS Code Extention](https://marketplace.visualstudio.com/items?itemName=LeetCode.vscode-leetcode)**

 - Solve leetcode problems in VS Code.
 - Filter problem by company, topic and difficult.

[Here are steps to download this extension](https://marketplace.visualstudio.com/items?itemName=LeetCode.vscode-leetcode)

## Conclusion 

In this blog, I discussed 5 useful leetcode extensions, which help me a lot. This extensions makes leetcode journey easy.
I hope you enjoyed reading this article and if you have read till here then thank you so much for your patience reading.

Which extension do you like more? Let me know!
The Most Important Thing You Need To Understand About Angular
Tags: angular
Published: 2022-11-22 15:34:32

---
title: The Most Important Thing You Need To Understand About Angular
published: true
description: The Angular "Template Context" is a practically useful mental model, which once internalized, will be your main guide on the journey to build the best possible Angular applications!
tags: Angular
canonical_url: https://angularexperts.io/blog/angular-template-context
cover_image: https://angularexperts.io/assets/images/blog/angular-template-context/angular-template-context.webp
---


> The Angular "Template Context" is a practically useful mental model, which once internalized, will be your main guide on the journey to build the best possible Angular applications!


## Foreword


This article is pretty long, but don’t worry, it’s not because Angular is just soooo damn complicated… It’s because we’re painting a very board picture and looking at it from all the imaginable angles so that in the end you will end up with 100% full understanding of the topic!


> In theory, you could just search for the heading saying **_“Template context”_** , but I would strongly advise to check the whole thing 😉


**TLDR;** In Angular, template related things **declarables ( components, directives and pipes )** that use each other in their templates have to be part of **THE SAME _“template context”_** which is defined by `@NgModule` (or the component itself when using new stand-alone components SAC approach), application then usually has multiple **_“origin template contexts”_**, namely the eager ( root ) one and then for every lazy loaded `@NgModule`. On the other hand, every SAC defines its own **_“template context”_** in full.


[Read full article at angularexperts.io ...](https://angularexperts.io/blog/angular-template-context)
Deep Dive into Sidekiq's Source Code with Charta
Tags: ruby, webdev, programming, opensource
Published: 2022-11-22 15:30:15

:wave: I've recently wrote an article exploring how **Sidekiq**, the famous Ruby background job processing library, [works under the hood.](https://www.charta.dev/tours/how-sidekiq-works)

This article was built using a tool I've developed myself in my free time ([https://charta.dev/](https://charta.dev/)).

Would love to get your thoughts/feedback on:

- the article: is this format something you'd like to see more of? How, in your opinion could I improve on the current format?
- The platform: was the goal of it clear to you? Is it something you'd find yourself using?

Hope y'all enjoy :heart:
Technokratos: Localizing a marketplace with complex language requirements
Tags: go, devops, webdev, writing
Published: 2022-11-22 15:16:04

Since 2015, Technokratos has been helping large businesses grow and develop through mobile apps, web services, and consulting. Like us, they develop digital services for a variety of industries, including fintech, ecommerce, etc.

[When they approached Evrone](https://evrone.com/technokratos), they were looking to localize their service for Uzbekistan. They had separated this activity into a separate sub-project, which they decided to build using what they already had. However, they needed to adapt their service to meet the needs of people living in Uzbekistan, taking into account their language preferences, pricing, currency, suppliers, and so on.
One YAML to rule them all!
Tags: devops, yaml, kubernetes, opensource
Published: 2022-11-22 15:14:34

Hi all, I am Giulia, Community Manager and part of the team that launched [Score.dev](https://Score.dev) a week ago.
My team and I believe that developers shouldn’t fight with tooling and advocate for a workload-centric approach to development.
We’re on a mission to **reduce cognitive load on developers**, **minimize configuration drift and mismanagement**, and **improve the developer experience**.
Want to join us as a contributor? Read the [official announcement](https://score.dev/blog/score-one-yaml-to-rule-them-all) to learn more. Or check us out on [GitHub](https://github.com/score-spec/spec)!
Difference between =, == and === operators
Published: 2022-11-22 15:09:09

#### The =, ==, and === operators are all used for comparison in programming.

##### **=** operator
The = operator is used to assign a value to a variable.

Depending on the value of the operand that is available on the right side, the = JavaScript operator assigns a value to the left operand. A variable should be the first operand.

`let x = 10`
_= has been used to assigned value of 10 to x_


##### **==** operator
The == operator is used to check if two values are equal.

 `x == y`



##### **===** operator

The === is a strict equality comparison operator in JavaScript, which returns false for the values which are not of a similar type.
The === operator is used to check if two values are equal and of the same type.
When two variables have numerical values, they are regarded as equal if they both have the same value and neither is NaN (Not a Number).
`x ==== y` Returns true if the operands are equal and of the same type.