teleren/devto huggingface dataset:
Find your default gateway addr : Windows
Published: 2023-01-14 04:11:23



What exactly is a default gateway?


A _default gateway_ is the piece of hardware that sits between your home network and rest of the internet. As the name suggests, it is the gateway between your local network and the rest of the internet.

In most local networks, the default gateway is the Wi-fi router. It allows you to reach servers and devices outside of your network. Without it, browsing the internet would be a much more laborious effort.
 

Now…

Lets dive into the next step:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gyta7tjdbvwo4e2svhf3.png)
O que é e para o que serve o perfil de desempenho no banco de dados?
Published: 2023-01-14 04:00:02

Um perfil de desempenho no banco de dados é uma avaliação detalhada do desempenho de um banco de dados, incluindo métricas como uso de recursos, velocidade de consultas, eficiência de indexação, entre outros. Ele ajuda a identificar problemas de desempenho, possibilitando a tomada de decisões para melhorar a performance do banco de dados.

Há várias maneiras de criar o perfil do desempenho de um banco de dados:

**Monitore o desempenho do sistema**: 
Você pode usar ferramentas como o Windows Task Manager ou o comando Unix/Linux top para monitorar o desempenho do seu servidor de banco de dados. Essas ferramentas permitem que você veja o uso geral de CPU, memória e disco do sistema, o que pode ajudar a identificar qualquer gargalo de recursos.

**Use ferramentas específicas de banco de dados**:
A maioria dos sistemas de gerenciamento de banco de dados (DBMSs) possui suas próprias ferramentas para monitorar o desempenho. Por exemplo, o Microsoft SQL Server tem o SQL Server Management Studio (SSMS) e a exibição de gerenciamento dinâmico sys.dm_os_wait_stats, enquanto o Oracle tem o Oracle Enterprise Manager e a exibição v$waitstat. Essas ferramentas permitem ver métricas de desempenho específicas, como a quantidade de tempo gasto aguardando bloqueios ou o número de leituras e gravações físicas.

**Use ferramentas de terceiros**: 
Também existem várias ferramentas de terceiros que podem ajudá-lo a criar um perfil do desempenho de um banco de dados. Alguns exemplos incluem SolarWinds Database Performance Analyzer, Quest Software Foglight e Redgate SQL Monitor. Essas ferramentas geralmente fornecem uma análise de desempenho mais aprofundada e podem ajudá-lo a identificar problemas ou gargalos específicos.

**Analisar consultas lentas**: 
Se você tiver consultas específicas que estão sendo executadas lentamente, poderá usar ferramentas como EXPLAIN PLAN ou SHOW PLAN no MySQL ou SQL Server para ver o plano de execução da consulta e identificar possíveis problemas. Você também pode usar ferramentas como o log de consultas lentas do MySQL ou o SQL Server Profiler para capturar consultas lentas e analisá-las ainda mais.

**Monitore o desempenho do aplicativo**: 
Se você estiver enfrentando problemas de desempenho com um aplicativo específico que está usando o banco de dados, poderá usar ferramentas como Application Insights ou New Relic para monitorar o desempenho do aplicativo e identificar quaisquer problemas que possam estar relacionados ao banco de dados.

**Aprenda os segredos do seu banco**: 
Um dos "segredos" mais importantes sem dúvida é sobre aprender a melhor forma de estruturar seu banco, em muitos casos o que impede o banco de trabalhar da melhor forma possível tem a ver com erros ou gargalos que consomem recursos desnecessariamente. 
Dê uma olhada na documentação do banco de dados que você está usando, e com base nela aprenda a otimizar seu banco de dados.
Five Essential Characteristics of Cloud Computing defined by NIST
Tags: cloud, computing, fullstackdevelopment, fivecharacteristics
Published: 2023-01-14 03:49:18


Five Essential Characteristics of Cloud Computing defined by NIST
The Simple Definition of Cloud Computing is Delievery of On-demand Computing Resources. The Five Essential Characteristics of Cloud Computing defined by NIST are On-Demand Self-service, Broad Network Access, Resource Pooling, Rapid Elasticity and Measured Resources.

Cloud Computing defined by NIST

A model for enabling Convienient, on-demand network access to shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction. Examples of computing resources:
Network, Servers, Storage, Application, services.
~National Institute of Standards and Technology
Five Essential Characteristics of Cloud Computing defined by NIST

On-Demand Self-service
This means the access to cloud resources, processing power, storage and network you need without using a simple interface without requiring human interaction with each service provider.
Broad Network Access



To Read more Visit : 
https://hecodesit.com/five-essential-characteristics-of-cloud-computing-defined-by-nist/
Laptop gaming Hải Phòng
Tags: lapgaminghp, laptopvanphong, laptopsinhvien, laptophaiphong
Published: 2023-01-14 03:46:07

Laptop gaming Hải Phòng – Cửa hàng máy tính Laptop cũ 24h phân phối, cung cấp các dòng laptop gaming chính hãng uy tín, chuyên nghiệp tại khu vực Hải Phòng. /m/01c648

Website :  https://issuu.com/laptopgaminghp
https://ko-fi.com/lapgaminghp#paypalModal
https://trello.com/u/lapgaminghp
https://www.diigo.com/user/lapgaminghp
https://muckrack.com/lapgaming-hp/bio
https://www.instapaper.com/p/11810799
https://pawoo.net/web/accounts/5664443
https://folkd.com/page/submit.html
https://www.deviantart.com/lapgaminghp/about
https://qiita.com/lapgaminghp
https://issuu.com/lapgaminghp
https://band.us/band/89979013
https://bbs.now.qq.com/home.php?mod=space&uid=3402359
https://social.msdn.microsoft.com/Profile/Laptop%20gaming%20Hai%20Phong
https://en.gravatar.com/lapgaminghp
https://lapgaminghp.wordpress.com/
https://lapgaminghp.blogspot.com/2023/01/laptop-gaming-hai-phong.html
https://lapgaminghp.blogspot.com/
https://www.blogger.com/profile/04012788364028125654
https://www.twitch.tv/lapgaminghp/about
Adress: 87 Quán Nam, Lê Chân, Hải Phòng, Việt Nam
Hotline : 0981989929 - 0941.231.889
Benefits of becoming AWS community member
Published: 2023-01-14 03:29:08


Networking opportunities: As a community builder, you will have the chance to connect with other AWS experts and professionals, share knowledge and collaborate on projects.

Recognition and credibility: Being recognized as an AWS community builder is an achievement that can enhance your professional credibility and reputation.

Access to exclusive resources: AWS community builders have access to exclusive resources and training programs that can help them stay up-to-date with the latest AWS technologies and best practices.

Career advancement: Being an AWS community builder can open up new opportunities for career growth and advancement.

Giving back to the community: By becoming an AWS community builder, you can contribute to the growth and development of the AWS community, helping to create a more knowledgeable and engaged user base.

Opportunities to lead: Community builders often have the opportunity to lead or co-lead local AWS user groups or meetups, providing a platform to showcase their leadership skills.

AWS Community Hero: As a community builder, you may have the chance to be awarded with an AWS Community Hero title, which is a significant recognition within the AWS community.
Bliss Skin Tag Remover - Skin Care Results, Benefits, Price & Reviews?
Tags: webdev, javascript, beginners, programming
Published: 2023-01-14 03:28:41

[Bliss Skin Tag Remover](url) Recent years have brought about the development of anti aging wrinkle creams that are much healthier and effective than what was available even a decade ago. You can now find an anti wrinkle firming cream that heals the skin and actually turns back the clock on the years so that your skin really does become younger looking.
[](https://www.outlookindia.com/outlook-spotlight/bliss-skin-tag-remover-scam-alert-review-2023-bliss-skin-tag-removal-dangers-exposed-news-253215)
https://bliss-skin-tag-removerfact.clubeo.com/news/2023/01/14/bliss-skin-tag-remover-skin-care-reviews-uses-price-and-benefit
https://udsakwnba.podbean.com/
https://soundcloud.com/bliss-skin-tag-remover-275202219/blissskintagremoverprice
https://www.linkedin.com/pulse/bliss-skin-tag-remover-care-benefits-pros-cons-scam-tag-remover/
https://www.instagram.com/blissskintagremoverinfo/
https://www.pinterest.com/pin/1022880134094344184/
https://www.scoop.it/topic/bliss-skin-tag-remover-info
https://www.crunchbase.com/organization/bliss-skin-tag-remover-3f89
https://www.crunchbase.com/event/bliss-skin-tag-remover-3909
https://twitter.com/blissskintagin1
Porque escolhi o Golang como segunda linguagem
Tags: go, programming
Published: 2023-01-14 03:02:38

Durante a minha carreira uma coisa que eu percebi é que depender somente de uma ferramenta pode não ser uma boa idéia e no meu caso, isto estava aplicado a linguagem de programação, pois até então eu tinha domínio somente de PHP e um pouco de JavaScript.

## Porque Golang?

Durante minha busca por uma nova linguagem de programação para "amar" me deparei com uma linguagem que estava sendo muito usada no mundo DevOps, o Golang, e acabei me interessando por ele, principalmente pelos pontos abaixo.

## Linguagem Compilada

Eu procurava uma linguagem compilada e o que gostei do Golang é que ele gera um arquivo compilado assembly, não sendo necessário o Golang para execução, diferente de outras linguagens, que gera um binário bytecode, sendo dependente de máquina virtual para execução.

## Binário Cross platform

Além de ser uma linguagem compilada, ela é cross platform, ou seja, você consegue gerar binário para Linux, MacOS, Windows, etc, nas arquiteturas i386, x86_64, arm64, etc, e o mais legal, você consegue gerar binário para Windows e MacOS no Linux e vice-versa, isto é fantástico.

## Filosofia Minimalista

Uma das coisas que me incomodava um pouco no mundo PHP era o quão "inchado" era os frameworks, além das mágicas que ocorria "debaixo do capô" e que tirava o controle do desenvolvedor e com o Golang isto é justamente o contrário.

No Golang existe um filosofia muito forte na comunidade de que caso você queira, consegue fazer praticamente tudo com a [stdlib](https://pkg.go.dev/std), ou seja, a idéia é "Do It Yourself".

Claro que você vai usar libs, mas será poucas, somente para o essencial e você mesmo faz todo o resto. No meu caso geralmente uso lib para rotas, log, banco de dados e migrations, cli e pronto, o resto é tudo por minha conta, como a injeção de dependências, e como é gostoso ter controle sobre isto.

## Concorrência e Paralelismo

O Golang desde sempre tem suporte nativo a goroutines e outros meios de fazer concorrência e paralelismo e com ele eu começei a conseguir fazer estes processos de forma mais fácil.

## Eu e o Golang Hoje

Depois de me aprofundar nos pontos acima, ter cerca de 4 anos de experiência com Golang em vários projetos e até contribuições para o mundo opensource, fico satisfeito em ter esta segunda linguagem na bagagem para ajudar a resolver problemas do mundo real.

Então é isto, até a próxima!
Day 9 #100DaysofCode
Tags: webdev, beginners, 100daysofcode
Published: 2023-01-14 02:58:48

At last! Project Sign Up Page has been completed. After a long and tough week, I am proud to finish this project. Moral of this story is to persevere through the winter. I had imposter syndrome and doubts if I was capable to get through this project but I persevered through and figured it out. See the live demo [here](https://globoivic.github.io/Odin-Signup-Page/)

## Project Update

#### Before
![Project Sign up Page before](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8swoufckg438bn4fmdns.png)

#### After 
![Project Sign up Page after](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uq1vqe2n9agwfa3dx29r.png)

## Room for improvement
* Form does not validate
  * This is because the `input submit div` is outside of the form element.
  * When I move it into the form element, it works but it breaks my stylings.
  * I plan to fix it when I am putting together my portfolio at the end the curriculum. Right now, I am more focused on finishing this course.
* Add JavaScript functionality, specifically making sure the password and confirm password matches.
1000 post views
Published: 2023-01-14 02:28:40

1000 Total post views. 

63 followers. 

I guess people like my stuff. 

I didn't think this would do that well, switching from Hashnode to dev.to but clearly something is different. 

If we compare to my Hashnode total views you can see what I mean: 
![2211 total views](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmt1fbxr9mafzbk9wvz7.png) 
![9 views](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u73w92gnihfscf87ay35.png)

Its about half of what I did on Hashnode for more than a year. 

I have a audience now, people that will read all my post, critique my blogs,call out app the typos ( I actually don't mind if you do this, just do it nicely ), and watch my every move. That's kinda scary to be honest, but it also means I have to try to make the best content. 

I want to make stuff, people actually like, not the 10 ways or 15 things blogs. Its probably not the most sustainable and grow able thing on dev.to but has seemed to work so far.

Anyways, thank you all, like really thank you for following and reading and commenting. One of my favorite things is to respond to your comments, its really the best part of blogging.
Comparating Hash Tables, Two Pointers, and In-Place Algs for Removing Duplicates
Tags: python, leetcode, algorithms, datastructure
Published: 2023-01-14 02:18:26

The "Remove Duplicates from Sorted Array" problem's 3 distinct techniques

In-place algorithms, two pointers, and hash tables are the focus today. Let's compare the benefits and drawbacks of each approach to determine which one is better.

### Talk is cheap, show me the (python) code
#### 1. Code for **Hash Table** approach
```python
def removeDuplicates(nums):
    # Create an empty hash set
    num_set = set()
    # Iterate through the list
    for i in range(len(nums)):
        # If the current number is not in the set, add it
        if nums[i] not in num_set:
            num_set.add(nums[i])
    # Replace the original list with the unique elements from the set
    nums[:] = list(num_set)
    return len(nums)
```
👉 **Explanation:** In this method, the input list's unique components are stored in a hash set. We go through the list repeatedly, adding each item to the set. It won't be added if the element already exists in the set. We then return the length of the new list after replacing the original list with the set's unique items.

#### 2. Code for **Two Pointers** approach
```python
def removeDuplicates(nums):
    # Initialize pointers
    i = 0
    j = 1
    # Iterate through the list
    while j < len(nums):
        # If the current element is not equal to the previous element
        if nums[i] != nums[j]:
            # Move the pointer and update the current element
            i += 1
            nums[i] = nums[j]
        # Move to the next element
        j += 1
    return i + 1
```
👉 **Explanation:** The input list is iterated through using two pointers, i and j, in this method. The pointer j is used to cycle through the remaining elements of the list while the pointer i retains track of the last unique entry. We change the pointer i and update the current element if the current element is not equal to the preceding element. By adding 1 to the final value of i, we finally return the updated length of the list.

#### 3. Code for **In-Place Algorithm**
```python
def removeDuplicates(nums):
    # Initialize a pointer
    i = 0
    # Iterate through the list
    for j in range(1, len(nums)):
        # If the current element is not equal to the previous element
        if nums[j] != nums[i]:
            # Move the pointer and update the current element
            i += 1
            nums[i] = nums[j]
    return i + 1
```
👉 **Explanation:** This strategy is comparable to the Two Pointers strategy, except it eliminates duplicates using an in-place technique. To loop through the list and look for duplicates, we utilize a single pointer, i. We change the pointer and update the current element if the current element is not equal to the preceding element. By adding 1 to the final value of i, we finally return the updated length of the list.

---

⏱️ _All of these approaches have the same time complexity O(n) and space complexity O(1) except for the Hash Table approach that have a space complexity O(n)._

Hope you like reading! :)
System Design Basics
Tags: coding, systemdesign, api
Published: 2023-01-14 02:02:48

𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 𝗕𝗮𝘀𝗶𝗰𝘀: 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗮𝗻 𝗔𝗣𝗜 𝗚𝗮𝘁𝗲𝘄𝗮𝘆?
An API Gateway (AG) is a server that acts as a single point of entry for a set of #microservices. 

It receives client requests, forwards them to the appropriate microservice, and then returns the server's response to the client.

AG is responsible for tasks such as routing, authentication, and rate limiting. This enables microservices to focus on their individual tasks and improves the overall performance and scalability of the system.

Here are some of the uses of AG:

𝗟𝗼𝗮𝗱 𝗯𝗮𝗹𝗮𝗻𝗰𝗶𝗻𝗴: The AG can distribute incoming requests among multiple instances of a microservice, enabling the system to handle a larger number of requests and improving its overall performance and scalability.

𝗥𝗮𝘁𝗲 𝗹𝗶𝗺𝗶𝘁𝗶𝗻𝗴: You can rate limit client access to microservices with an AG. This can help prevent #DDoS attacks and other types of malicious behavior.

𝗖𝗮𝗰𝗵𝗶𝗻𝗴: The AG can #cache responses from the microservices, reducing the number of requests that need to be forwarded to the microservices and improving the overall performance of the system.

𝗥𝗼𝘂𝘁𝗶𝗻𝗴: The AG receives requests from clients and routes them to the appropriate microservice. This enables clients to access the various microservices through a single entry point, simplifying the overall system design.

𝗥𝗲𝘃𝗲𝗿𝘀𝗲 𝗽𝗿𝗼𝘅𝘆: AG can act as a reverse proxy, routing incoming requests to the appropriate backend service based on the request path or other criteria.

𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆: The AG can be used to authenticate clients and enforce access control policies for the microservices. This helps to ensure that only authorized clients can access the microservices and helps to prevent unauthorized access.

𝐓𝐫𝐚𝐧𝐬𝐟𝐨𝐫𝐦𝗶𝗻𝗴 𝐫𝐞𝐪𝐮𝐞𝐬𝐭𝐬 𝐚𝐧𝐝 𝐫𝐞𝐬𝐩𝐨𝐧𝐬𝐞𝐬: AG can transform incoming requests and outgoing responses to and from the backend to meet the needs of different clients or to comply with different backend architectures.

𝗟𝗼𝗴𝗴𝗶𝗻𝗴 𝗮𝗻𝗱 𝗠𝗼𝗻𝗶𝘁𝗼𝗿𝗶𝗻𝗴: The AG can collect metrics and other data about requests and responses, providing valuable insights into the performance and behavior of the microservices. This can help to identify and diagnose problems, and improve the overall reliability and resilience of the system.

𝗦𝗲𝗿𝘃𝗲𝗿𝗹𝗲𝘀𝘀 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻: AG can integrate with other services, such as #awslambda, to enable serverless architectures and enable complex processing of requests without requiring a dedicated server.

𝗖𝗶𝗿𝗰𝘂𝗶𝘁 𝗯𝗿𝗲𝗮𝗸𝗲𝗿: AG can be used to implement circuit breaker patterns, which can help to protect against cascading failures and improve the resilience of your system.

𝗔𝗣𝗜 𝘃𝗲𝗿𝘀𝗶𝗼𝗻𝗶𝗻𝗴: AG can be used to implement API versioning, allowing you to maintain multiple versions of an API and manage the transition from one version to another.
Using Live Suffix in LiveView
Tags: elixir, phoenix, programming
Published: 2023-01-14 01:54:11

When using `LiveView` and you don't include `Live` inside your module name an error like this can appear:


Example: `defmodule RankmodeWeb.Profiles.Index do`, will throw Live Suffix Error.

![Live Suffix Error](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztsgsq9keegjbocw87g3.png)

For example in my [Rankmode Live Profiles module](https://raw.githubusercontent.com/ElixirCL/rankmode/main/lib/rankmode_web/live/profiles/index.ex) 


If we change the module to `RankmodeWeb.ProfilesLive.Index` it will run. But there is a secret option that will be valid too `RankmodeWeb.Live.Profiles.Index`

By using `Live` as a Phoenix Context we can improve our code organization and avoid having to type `Live` at the end of the module name.


We can see how the `router.ex` is improved.

```elixir
scope "/", RankmodeWeb do
    pipe_through [:browser, :require_authenticated_user]
    live "/profiles", Live.Profiles.Index, :index
    live "/profiles/new", Live.Profiles.New, :new
    live "/profiles/edit/:profile", Live.Profiles.Edit, :edit
    live "/profiles/:profile/gameplays", Live.Gameplays.Index, :index
    live "/profiles/:profile/gameplays/new", Live.Gameplays.New, :new
    live "/profiles/:profile/gameplays/edit/:gameplay", Live.Gameplays.Edit, :edit
end
```

And our files structure can be improved as well.

![file organization](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6k39yg4k9g7dnox7z0i9.png)
Day 7: Building a Cloud Infrastructure? Don't Forget about Non-Technical Requirements
Tags: cloud, architecture, career, beginners
Published: 2023-01-14 01:19:43

Want to ensure your cloud infrastructure is a success? Make sure it fulfills the business's needs by considering non-technical requirements.

---

It can be challenging to build a cloud infrastructure, but it's essential to remember that there are more than just technical considerations. To make sure that the final design meets your client's needs, you should consider the non-technical requirements.

## Identifying Non-Technical Requirements

Examining your customer's vision and goals is a great start when identifying non-technical requirements.

Are they attempting, for instance, to be more agile and responsive to changes in the market? This would necessitate the use of a cloud infrastructure that is simple to scale and modify.

Or the highest priority is global availability, requiring a highly redundant cloud infrastructure with strong failover capabilities.

These are only a few examples; every business will have its own particular set of non-technical requirements.

## Regulatory Requirements

Regulation requirements are yet another crucial factor. It's critical to be aware of the specific rules that apply to your customer, as they can significantly impact design decisions.

Here are a few regulations you should be aware of:

The Payment Card Industry Data Security Standard (PCI DSS) is a set of strict data security and encryption guidelines that applies to businesses that accept credit cards.

The Health Insurance Portability and Accountability Act (HIPAA), which applies to healthcare organizations, has strict guidelines for protecting individualized medical information.

Companies processing the personal data of individuals in the European Union are subject to the General Data Protection Regulation (GDPR), which has strict data protection rules.

Every regulation will have its own specifications and requirements. To ensure that your cloud architecture complies with them, you must determine which regulations apply and check your architecture against them.

## Conclusion

Simply put, when developing a cloud infrastructure, business, and regulatory requirements are crucial factors to consider. But don't only see them as restrictions. They will also provide valuable guidelines and direction for your cloud architecture.