teleren/devto huggingface dataset:
Linux Makinalarda NFS Sunucu Mount Etme (Debian ve RPM )
Tags: linux, beginners, tutorial, opensource
Published: 2022-10-19 14:14:06

   Önceki yazılarımda **Debian** ve **Red Hat** tabanlı Linux Dağıtımlarında **_NFS Sunucu_** kurulumlarını açıklamıştım. Bu yazıda oluşturduğumuz NFS paylaşımlarını client makineler üzerinden nasıl kullanabileceğimizi göstereceğim.

## 1. (Debian) Sistemin Güncellenmesi (Opsiyonel)
```
sudo apt update
``` 
```
sudo apt get upgrade
```

## 1. (Red Hat) Sistemin Güncellenmesi (Opsiyonel)
```
sudo yum update -y
```

## 2. (Debian) NFS Bağlantısını yapmak için gerekli paketlerin Kurulması
```
sudo apt install nfs-common
```
## 2. (Red Hat) NFS Bağlantısını yapmak için gerekli paketlerin Kurulması
```
sudo yum install nfs-utils
```

## 3. NFS paylaşımının Mount edilmesi
```
sudo mkdir /<Mount etmek istediğiniz dizin adı>

sudo mount -t nfs <NFS sunucusunun IP adresi> : <NFS sunucusunda paylaşılan PATH> /<Mount etmek istediğiniz dizin>
```
Örnek verecek olursak,
```
sudo mkdir /nfs-paylasim

sudo mount -t nfs 192.168.2.100:/Data /nfs-paylasim
```
MongoDB - O banco NoSQL mais utilizado no mundo
Published: 2022-10-19 14:12:57

O MongoDB é um banco de dados NoSQL que foi lançado em 2009. De lá pra cá, este banco de dados tem crescido em utilização e em popularidade. Hoje já estamos na versão 6.0 dele. Mas, qual a diferença dela para outros bancos de dados como SQL Server, Oracle ou MySQL?
O MongoDB é um banco de dado que não armazena os dados em um formato tabelar e relacional. Os documentos são armazenados em "documentos".
Os documentos são expressos no tão conhecido formato JSON, e armazenados no formato BSON (que não significa um JSON armazenado em binário, mas sim uma serialização binária de json). Este formato armazena os dados de maneira tipada, diferente do JSON.
Dessa forma, informações que seriam expressas assim em um banco relacional:

|id|nome|titulo|email|linkedin|
|---|---|---|---|---|
|1|Paulo Benjamin|Consultor MongoDB|paulo.benjamin@phdatatech.com|linkedin.com/in/pcjuniorrj|

Passam a ser expressas assim:

```
{
    id: 1,
    nome: "Paulo Benjamin",
    titulo: "Consultor MongoDB",
    email: "paulo.benjamin@phdatatech.com",
    linkedin: "linkedin.com/in/pcjuniorrj"
}
```

A princípio parece simplesmente uma mudança na forma como os dados são visualizados e armazenados, mas essa diferença é bem mais profunda. Com essas alterações, podemos utilizar toda a flexibilidade do JSON para guardar as informações. Assim, o documento acima poderia ser convertido para o seguinte:

```
{
    id: 1,
    nome: "Paulo Benjamin",
    titulo: "Consultor MongoDB",
    contato: [
        {tipo: "email", contato: "paulo.benjamin@..."},
        {tipo: "linkedin", contato: "@pcjuniorrj"}
    ],
    stacks: [
        "MongoDB",
        "SQL Server",
        "Oracle",
        "MySQL",
        "Redis"
    ]
}
```

Para armazenar o documento acima, seriam necessárias pelo menos 3 tabelas. E aí começamos a ter vantagens na utilização do MongoDB. As consultas passam a ser mais rápidas já que evitamos a utilização de *joins* a todo custo. A comparação entre os dados armazenados e os objetos de uma aplicação se tornam mais fáceis.
Outro ponto é que o MongoDB permite uma flexibilidade muito grande do esquema. Assim, para converter o primeiro documento no segundo modelo, basta um update, o que facilita muito a implementação e evoluções do esquema de dados de uma aplicação.
No entanto, estas facilidades vêm com responsabilidades. É importante lembrar que o MongoDB não vai criticar a inserção de um documento sem um campo, ou com o nome do campo errado. Essa abstração e responsabilidade, assim como outras, ficam a cargo da aplicação.
Por isso, Devs, lembrem-se: "Com grandes poderes vem grandes responsabilidades" - Tio Ben/Tia May.
Languages That Don't Dogfood 🤔
Tags: programming, opensource, dogfooding
Published: 2022-10-19 14:08:01

Here are 4 popular programming languages that don't use their own technologies on their documentation and or marketing sites.

## [Swift](https://www.swift.org/)
No surprise here from Apple 😬.

## [Kotlin](https://kotlinlang.org/)
Really JetBrains? You have a variety of good web frameworks for Kotlin, [Ktor](https://ktor.io/), which you write yourself. 

## [Scala](https://scala-lang.org/)
Not much I can expect from Scala I guess.

## [Zig](https://ziglang.org/)
A new player on the block but surprisingly they chose not to use Zig

Many of these sites could have chosen to use their technology to run a web framework or a server. Alternatively just a basic static site generator built with their technology could suffice.

I reviewed 19 different languages and if you want to review the full list check out the [google sheet](https://docs.google.com/spreadsheets/d/1eTeoDBmn_c_6ejW06k_9CU0ytV1yp5lIYrKs5KuB8iA/edit?usp=sharing).
Django & Stripe - Open-Source Mini eCommerce
Tags: webdev, django, ecommerce, opensource
Published: 2022-10-19 13:48:11

---
title: Django & Stripe - Open-Source Mini eCommerce
published: true
description: Open-source Django eCommerce project that loads the products from JSON files saved in the templates directory (no database required) - Bootstrap 5 design is used for styling.
tags: webdev, django, ecommerce, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a18gixmhgq6wewo7ch2k.jpg
canonical_url: https://blog.appseed.us/django-stripe-mini-ecommerce/
---
Hello! 

This article presents an open-source [Mini eCommerce](https://blog.appseed.us/django-stripe-mini-ecommerce/) project that uses **Stripe** as the payment processor and **Django** as the backend. The eCommerce section content is loaded from JSON and the information is managed by a simple routing logic. The source code can be found on GitHub under the MIT License (free for commercial or eLearning activities). `Thanks for reading!`

- 👉 [Django & Stripe](https://github.com/app-generator/sample-django-stripe) `Mini eCommerce` - source code
- 👉 [Django & Stripe eCommerce](https://www.youtube.com/watch?v=Ui3YZ0R1weg) - `YouTube presentation`

Another useful feature of this project is the **Bootstrap 5** design, provided by `Creative-Tim.` [Soft UI Design](https://www.creative-tim.com/product/soft-ui-design-system?AFFILIATE=128200), the UI Kit used to style the pages, comes with 50+ components and reusable widgets for at least a decent eCommerce project. 

![Django & Stripe eCommerce - Animated Presentation.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4lt79aawaaj52gsrkq96.gif)

---

## ✨ How to use it

The fastest way to start the product and play around with the codebase is to access the repository and follow the build instructions presented on the README file.

> 👉 **Step #1** - Clone the project from the [public repository](https://github.com/app-generator/sample-django-stripe):

```bash
$ git clone https://github.com/app-generator/sample-django-stripe.git
$ cd sample-django-stripe
```

---

> 👉 **Step #2** - `Install the dependencies`

```bash
$ pip install -r requirements.txt
```

---

> 👉 **Step #3** - Create `.env` and provide the `Stripe` Secrets

```env
STRIPE_SECRET_KEY = <STRIPE_KEY_HERE>
STRIPE_PUBLISHABLE_KEY = <STRIPE_KEY_HERE>
DOMAIN_URL = <IP_HERE>
```

---

> 👉 **Step #4** - `Start the app`

```bash
$ python manage.py migrate
$ python manage.py runserver
```

At this point, we should be able to access the app in the browser. The above setup is also explained in a video material published on YouTube.

{% embed https://www.youtube.com/watch?v=Ui3YZ0R1weg %}

--- 

> Thanks for reading! For more resources, feel free to access: 

- 👉 More [Django Dashboards](https://appseed.us/admin-dashboards/django/) - a curated index 
- 👉 [Django App Generator](https://app-generator.dev/django/) - A 2nd generation App Builder
Top 3 Fixes For Outlook Notifications Not Working on window 10
Published: 2022-10-19 13:00:53

Numerous customers have complained about how poorly their Windows 10 computers' Outlook apps function as notifications. Opening the Outlook program and seeing new emails in their inbox is frequent when they first become aware of this issue. How can this issue be resolved? This article will examine how to fix Outlook Notifications Not Working on Windows 10.
 

## Methods to Fix Outlook Notifications Not Working
 
Outlook is undoubtedly among the most widely used email programs for the Windows, Android, iOS, and Mac platforms. The most delicate part is that it is free and of excellent quality. Outlook notifications are undoubtedly one of the best benefits of using the Outlook app on Windows 10. What if it malfunctions, though? What is attainable? You can use several solutions in this circumstance to resolve the Outlook notification problem. See a few of the answers below.
 

### •       Restart Your Windows 10 Device

Do not panic if you open Outlook and discover that you have received an email but no notifications; it may just be a momentary issue brought on by a poor network connection. Fortunately, a straightforward way to fix this is to Switch off your Windows 10 computer. Even though this appears to be a reasonably short remedy, it will enable you to recognize false alarms faster and save significant time. Try this method when [Outlook Notifications Not Working](https://www.emailtechnicalsupport.us/blog/outlook-notifications-not-working/).
 

### •       Turn on The Outlook Application, and Enable Notifications

The Outlook app's new message alerts section needs to be activated on your Windows 10 machine if you have not already done so. To do that, follow these instructions:
•       It will be best if you first opened the Outlook software on your Windows 10 computer.
•       Afterward, select File.
•       After that, select Options, and a new window will appear.
•       Select Mail from the sidebar on the left.
•       You must select Display a Desktop Alert option under the Message Arrival section on the right side of the screen.
•       The "Play a Sound" option beneath the "Message arrival" option can also be checked off if you'd like.
•       Click OK to save the settings. From this point on, Outlook on your Windows 10 PC will notify you anytime a new email arrives.
 

### •       The Outlook Reset Preferences Tool

By using just one mouse click, Microsoft has created a tool that will assist you in resetting all Outlook options. The program was developed expressly to address many problems, such as Windows 10's inability to receive Outlook notifications. You may download the Outlook Reset Preferences Tool on Microsoft's official website. You can find a "Reset Now" button when you unzip the tool's downloaded File and launch the app.
 

## Conclusion
You now have all the solutions you need to resolve the issue with the malfunctioning Outlook alerts. When Outlook Notifications Not Working, do these steps. This problem will be quickly resolved.

Source:-https://emailtechnicalblog.blogspot.com/2022/10/outlook-notifications-not-working.html
⭐Build A Feature Rich Crypto Screener App with React JS + Tailwind CSS
Tags: react, javascript, webdev, tutorial
Published: 2022-10-19 12:38:56

Hi there👋,

I wanted to create one project for all the beginners and intermediate React learners where I could implement some concepts such as state, useEffect, useRef, React-Router, Context API etc. After doing so much work I have created this tutorial where I'm creating a fully featured Crypto Screener application that uses an Crypto APIs provided by CoinGecko.

Here is the Demo Link:
https://crypto-bucks.netlify.app/

For this project I have used these libraries,
▶️ React JS (CRA)
▶️ Tailwind CSS for styling
▶️ React Context API
▶️ React Router
▶️ Recharts to add interactive charts
▶️ CoinGecko Cryptocurrency APIs

First I have created design in Figma, and used some of it's awesome plugins and resources. 

Here is the tutorial how I have created this website!

{% youtube JPlVb3t6kx8 %}  

Things that you will learn by building this project,
▶️ How to use Tailwind css in  a ReactJS applications
▶️ How to fetch APIs using fetch
▶️ How to create beautiful and interactive charts in React JS
▶️ How to ue Context API to store states globally
▶️ How to create pagination componen
▶️ How to add searching and sorting functionalities
▶️ Leverage the INTL API of the browser to use different currency formats  

> You can use this project and if you want to use it commercially  then small credit would be appreciated, just check the license of all icons and other assets before using it commercially.

I will try to improve it's speed and performance.
Feel free to try different designs and animations with it and you can also tag me or share your link in the comments.

Any suggestions are welcomed!

#### Don't forget to Share your feedback in the comments.

### You might also like these website templates:

- A beautiful portfolio template in ReactJS => [here](https://codebucks.gumroad.com/l/hsTPD)
- NFT collection landing page in ReactJS => [here](- A beautiful portfolio template in ReactJS => [here](https://codebucks.gumroad.com/l/hsTPD))

### Thanks For Reading😄

Checkout my other article: 

[How to render 3D model in a React JS application]
(https://dev.to/codebucks/how-to-render-3d-model-in-a-react-js-application-2bi)

Feel free to visit my youtube channel: 
[@CodeBucks](https://www.youtube.com/channel/UCeYt6blRBKuNrEg_-282fSA)

Follow me on Twitter where I share lots of useful resources!
[@code_bucks](https://twitter.com/code_bucks) 😉
AWS Security Services
Published: 2022-10-19 12:41:59

---
title: AWS Security Services
published: true
date: 2022-10-19 12:35:09 UTC
tags: 
canonical_url: https://imransaifi.hashnode.dev/aws-security-services
---

> Hey there! I'm Imran, I am working with DevOps tools and technologies and learning them also. I believe in learning in public, sharing my learnings and knowledge with everyone in the community and learn from everyone in the community. And I am writing this blog about a topic in Cloud Computing.

AWS offers shared security model to its consumers. That means AWS controls few security aspects and some are controlled by you as consumers.

As a consumer you get to control identity and access management aspects of security.

Below are the most widely used AWS security services.

# 1. AWS IAM

- IAM stands for **Identity and Access Management**.
- It is a security web service Offered by AWS, to ensure that users get to access resources at appropriate level of permissions.
- It offers shared access, deals with user and group level accesses.
- It also controls centralized and granular level access.

![iam-how-it-works-diagram.04a2c4e4a1e8848155840676fa97ff2146d19012.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1666180942279/mCK_YGHia.png)

# 2. AWS WAF

- WAF stands for **Web Application Firewall**.
- WAF protects the web application by filtering, monitoring, and blocking any malicious HTTP/s traffic that might penetrate the web application.
- A WAF acts as a shield between a web application and the internet.

![Defense-in-depth-WAFb-Figure-1.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1666181998589/e6LG5Ky49.png)

# 3. AWS KMS

- KMS stands for **Key Management Service**.
- It is a managed service that makes it easy for you to create and control the cryptographic keys that are used to protect your data.
- With KMS you can safely encrypt data that moves over the AWS cloud platform network.
- Your keys are also kept safe by using hardware security modules.

![Demystifying-KMS-keys-2021-2.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1666182132483/AS9E9Jpkl.png)

# 4. AWS Shield

- It is a managed **DDOS** ( **Distributed Denial of Service** ) protection service that safeguards applications running on AWS.
- It comes with two levels of protection.

(i) AWS Shield Standard

(ii) AWS Shield Advanced

![7_D_Do_S_attack_mitigation_7_2cf149b498.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1666182225191/Zct8VYzMs.png)

# 5. AWS Trusted Advisor

- Trusted Advisor acts as an inspector in your AWS environment to make recommendations that helps in saving money, improvise system performance , or close security gaps.

![AWS-TRUSTED-advisor.drawio.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1666182460303/m8hgs959N.png)

> So this is the article/blog. I hope you find it informative and helpful. If you like it please follow , like and share. I will keep writing informative blogs related to DevOps. Please give your feedback in the comments and checkout my other articles as well. Thank You !!!!
Quasar Admin CRM New Version [Premium] .. Quasar 2/Vue 3
Tags: vue, template, quasarframework
Published: 2022-10-19 12:14:08

I have re-designed my Admin CRM template and given it a totally new look. You can buy the new version for $79. If you are interested, please email me at mayank091193@gmail.com

Live preview: https://quasar-admin-crm-premium.netlify.app/

Few Features:

- Modern and responsive design
- CRM Dashboard
- Analytics Dashboard
- Charts
- Calendar
- Export Feature

Please provide your valuable feedback and I will try to work on it. I will be adding a few more screens to the premium version in the near future.

Please find some screenshots of the new version below.


![Analytics](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/prkrfzvec819hte09zad.png)

![CRM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yn39zopjzs8posr8y2k9.png)

![Customer List](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jr2tmiz7m75lmw9f7mmf.png)

![Login](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kj2iux7c6r81zb69zntp.png)
React optimization: useMemo() , React.memo() & useCallback()
Tags: javascript, react, webdev, beginners
Published: 2022-10-19 11:45:08

# Memo & useCallback

### **Best performance and optimization training**

<p>&nbsp;</p>

#### _Before optimization_

- Making enviroment with the issue of all components re-rendering

- Understanding how react works and re-evaluation : re-running everything again in react except states declaring.

- Difference between re-run/re-evaluate & re-render
  -  _**re-evaluate**_ should work every time and compare
  -  _**re-render**_ works on change only with calling react-dom
  -  All react components will re-rerun (not re-render) everytime if we didn't use any optimization


#### _**Optimization methods**_

It's a trial to make re-run/re-evaluate works like re-render on changes only

1. React.memo()

   - it saves the component states and props to get checked first before the re-run

   - It caches the props and states of the components so using it alot in useless way will make it caching a lot so it will be heavy on runtime.
   <p>&nbsp;</p>

   ```javascript
   import React from "react"

   const Component=(props)=>{
    //some javascript
    return (
        //some jsx
    )
   }
   export default React.memo(Component)
   ```

2. useMemo()

   - difference between reference types in Js
      <p>&nbsp;</p>

     ```javascript
     let name = "adel"
     let name2 = "adel"

     //name === name2 --> true

     let obj = {name:"adel"}
     let obj2 = {name:"adel"}

     //obj === obj2 --> false
     //objects on different refrences values

     let obj3 = obj
     //passing by refrence

     //obj === obj3 --> true
     ```

     - Primitive type
     - Refrence type : Object, array & function
       <p>&nbsp;</p>

   - useMemo is used with arrays, objects & with functions that returns something to fix the problem in re-decleration with every re-reun

     ```javascript
     const obj = useMemo(()=>{ return name: "adel" }, [])
     ```

   - useMemo prevents object re-declaration with new refrence on re-run

3. useCallback()

   - useCallback() prevents function (with no return) from re-declaration with new refrence on re-rerun
     <p>&nbsp;</p>

   ```javascript
   //this won't work it will be re-declared with new refrence every re-run

   const addAge = () => {
     //function logic with no return
   }

   //solution

   const addAge = useCallback(() => {
     //function logic
   }, [])

   return <Component addAge={addAge} />
   ```

   - useCallback caches the logic itself not a return value like useMemo
Global AI Developer Days 2022- Philippines
Tags: developer, webinar, globalaideveloperdays, ai
Published: 2022-10-19 11:29:05


We are going to organize the Global AI developer days in the Philippines on October 26th 2022. It's a free webinar so If you would like to join the session please register in the provided link [here ](https://www.eventbrite.com/e/global-ai-developer-days-philippines-2022-tickets-433420822347)and save the date.

Details can be found:
https://rijsat.com/2022/10/06/global-ai-developer-days-philippines-2022/
4 Step Strategy to Migrate SQL Server to Azure Cloud
Tags: sql, azure, cloud, sqlserver
Published: 2022-10-19 11:29:05

Microsoft Azure is the world’s second-largest cloud computing provider, delivering a wide array of services, including storage, computing, networking, and analytics. Azure delivers tools that assist you efficiently and quickly migrating on-premises resources, including databases, to the Azure cloud.

You can migrate on-prem databases driving various database engines, including MySQL, PostgreSQL, and Microsoft SQL Server, to the Azure cloud. Azure migration helps with numerous methods, including importing and exporting database content into a consistent database on Azure, supporting databases and reforming them on Azure, documenting custom migration code, or utilizing automated Azure Database Migration Service (DMS).

Azure delivers three main circumstances to execute SQL Server in Azure, including:

- IaaS on Azure – install & execute the database on Azure virtual machines (VMs).
- PaaS on Azure – migrate the on-prem database to Azure SQL Database.
- IaaS and PaaS – utilize Azure SQL Database managed instances to gain IaaS and PaaS features.

Azure offers free, automated tools that assist you in performing Azure migration for on-premises SQL Server databases, using any of these above deployment models.

**[SQL Migration to Azure: 4 Main Strategies - Read on](https://www.anblicks.com/blog/migrate-sql-server-to-azure-in-four-simple-strategies)**
DataFrame Wars: Polars Leaves Pandas in the dust!
Tags: python, rust, datascience, machinelearning
Published: 2022-10-19 11:25:40

A few weeks ago, my team lead and I started running into a problem with our ETL pipelines - they were too damn heavy! We were having problems with the RAM usage, many scripts with tables too large (50-100 GB) were crashing with memory errors.
We tried all kinds of things to lower the RAM usage and while it did help it was clear to us this was more of a bandaid then a solution. So we looked around and came across... Polars!

Polars is a DataFrame library for Rust and Python, written in Rust (which already got me excited 🤤) and built upon Apache Arrow2.
Most of my gripes with Pyspark was the hassle of setting it up (and my lack of experience with it), but polars looked intitutive to me as a long time pandas user, and the benchmarks they were showing off were very promising:

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

(Feel free to see more at https://h2oai.github.io/db-benchmark/)

We have been gettting results so far, but still learning the nuinances of Polars, so let me know if you want to hear more about it!

If you're looking for a fast DataFrame library that you've never heard of, look no further than Polars! This library is designed to be fast and efficient, and it definitely delivers on that front. In addition, Polars is also very easy to use, so you'll be up and running in no time. Whether you're a beginner or an experienced user, you'll definitely find Polars to be a valuable addition to your toolkit. So what are you waiting for? Give Polars a try today!

Star our [Github repo](https://bit.ly/3QFgAUf) and join the discussion in our [Discord channel](https://bit.ly/3HQtlYo)!
Test your API for free now at [BLST](https://www.blstsecurity.com/?promo=blst&domain=https://dev.to/Polars_The_fastest_DataFrame_library_you’ve_never_heard_of)!