teleren/devto huggingface dataset:
😨Is Someone Actually Eavesdropping On Me!😱
Published: 2023-03-24 22:37:00

---
title: 😨Is Someone Actually Eavesdropping On Me!😱
published: true
description: GitHub discovered that its RSA SSH private key was briefly exposed in a public GitHub repository. Although the exposure lasted only a few minutes, it was long enough to potentially compromise the security of the SSH key.
tags: 
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/riestbutj216y0l74dr3.jpg
# Use a ratio of 100:42 for best results.
published_at: 2023-03-24 23:37 +0100
---
I woke up this morning to discover the message in the banner, it was scary! The message popup while trying to access a GitHub repository from my local machine, (I've not seen something like this before), I actually thought I have been hacked.

## Background on GitHub's SSH Key Exposure

GitHub is one of the most popular code hosting platforms in the world. Millions of developers use GitHub every day to collaborate on projects, share code, and manage their workflows. Unfortunately, even the most trusted and reliable platforms can sometimes experience security incidents.

GitHub discovered that its RSA SSH private key was briefly exposed in a public GitHub repository. Although the exposure lasted only a few minutes, it was long enough to potentially compromise the security of the SSH key.

## Impact of the Exposure on Developers Using GitHub

As a result of the incident, GitHub changed its RSA SSH private key out of an abundance of caution. This change will impact developers who use SSH keys to authenticate with GitHub. If you are one of those developers, you may notice a warning message when you try to connect to GitHub.

## Warning Message Displayed by GitHub

The warning message will look like this:
```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s.
Please contact your system administrator.
Add correct host key in ~/.ssh/known_hosts to get rid of this message.
Host key for github.com has changed and you have requested strict checking.
Host key verification failed.
```
This warning message is triggered because the RSA SSH key used to authenticate with GitHub has changed. There are two potential causes for this change: either someone is attempting a man-in-the-middle attack, or GitHub has changed the key for security reasons.

## Steps to Fix the Issue

If you see the warning message, there are several steps you can take to fix the issue, read more from this [post](https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/) made by GitHub about the incidence, and what steps to take to protect yourself.
What's the difference between logical OR || and nullish coalescing ??
Tags: javascript, learning
Published: 2023-03-24 22:33:42

Here's the answer from StackOverflow:
[https://stackoverflow.com/questions/61480993/when-should-i-use-nullish-coalescing-vs-logical-or](https://stackoverflow.com/questions/61480993/when-should-i-use-nullish-coalescing-vs-logical-or)
11- Run QGIS processing algorithms using Python
Tags: programming, python, pyqgis
Published: 2023-03-24 22:08:16

--- series: A beginner's guide to using Python with QGIS ---
Are you looking for a way to execute QGIS processing algorithms using Python? Look no further than the [`processing.run`](http://processing.run) method in PyQGIS! With just two arguments - the name of the algorithm and a dictionary of algorithm parameters - you can easily create buffers and load them as new layers.

[`processing.run`](http://processing.run) is a method in PyQGIS that allows you to execute QGIS processing algorithms using Python. The method takes two arguments: the name of the algorithm as a string and a dictionary of algorithm parameters.

Identify the path of the shapefile:

```python
uri = "D:/Python_QGIS/data/KRG_Cities.shp"
```

Using the processing.*run() method to create a buffer to the shapefile:*

```python
processing.run("native:buffer", {'INPUT': uri,
               'DISTANCE': 100.0,
               'SEGMENTS': 10,
               'DISSOLVE': True,
               'END_CAP_STYLE': 0,
               'JOIN_STYLE': 0,
               'MITER_LIMIT': 10,
               'OUTPUT': 'D:/Python_QGIS/data/buffers.shp'})
```

Load the result as a new layer using the "processing.runAndLoadResults" method*:*

```python
processing.runAndLoadResults("native:buffer", 
                {'INPUT':uri,
                'DISTANCE':1,
                'SEGMENTS':5,
                'END_CAP_STYLE':0,
                'JOIN_STYLE':0,
                'MITER_LIMIT':2,
                'DISSOLVE':False,
                'OUTPUT':'memory:'})
```

In conclusion, the article explains how to execute QGIS processing algorithms using Python with the help of the [`processing.run`](http://processing.run) method in PyQGIS. By providing the name of the algorithm and a dictionary of algorithm parameters, users can create buffers and load them as new layers. The article also provides an example of how to identify the path of a shapefile, create a buffer to it, and load the result as a new layer using the `processing.runAndLoadResults` method.

> If you like the content, please [SUBSCRIBE](https://www.youtube.com/channel/UCpbWlHEqBSnJb6i4UemXQpA?sub_confirmation=1) to my channel for the future content
Day 721 : Selfish
Tags: hiphop, code, coding, lifelongdev
Published: 2023-03-24 21:25:40

_liner notes_:
- Professional : So, I thought I was going to have the whole day to work on my proof of concept for work using some Web Components I'm developing and be selfish. Nope. A co-worker asked if I could help out with a project since they aren't too familiar with JavaScript. Spent the day refactoring and finishing it up. Bad part is that once I got it done, I think there is something broken on the backend that's causing it to not do the thing I want. We'll take a look at it Monday. Did as much as I can.

- Personal : Last night, I went through tracks for the radio show. Worked a little on my side project. Watched an episode of "Spy x Family" and went to sleep. Don't remember much else. haha.

![Aerial view looking down at the Big Sur, CA, USA coast with large rocks in the water and waves crashing onto the shore.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6u4exg2lamysw05insjm.jpg)

Going to finish putting together the radio show. Good thing I'm way ahead so there's not much to do. Just the starter tracks and finding all the artists' social media accounts. After that, I want to work on my side project and watch an episode of "Spy x Family".

Have a great night and weekend!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube uu5xnoqRClY %}
Evitando consumo de mensagens duplicadas com Redis
Tags: redis, rabbit, architecture
Published: 2023-03-24 21:19:42

Nesse artigo vou tratar de uma forma de evitar o consumo de mensagens duplicadas via RabbitMQ, a solução que será demonstrada foi elaborada por [Alison Machado](https://github.com/alisonsm92), [Jonatan Pedraza](https://github.com/jonatasnona) e por esse quem vos escreve [Jonatan Lima](https://github.com/jdssl).

## Cenário

Primeiro vamos entender o cenário.

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

O processo inicia quando o **Payment Gateway** se comunica com **Webhook** que por sua vez publica uma mensagem no **RabbitMQ**, onde o **Service** consome a mensagem.

## Problema

Por motivos de instabilidade o **Payment Gateway** pode enviar o mesmo **Webhook**, gerando o envio da mesma mensagem para o **RabbitMQ** que por sua vez enviará a mensagem duplicada para o **Service**.

Como não existe uma tratativa no **CONSUMER** para verificar se a mensagem já foi consumida e processada com sucesso, o **USE CASE** é chamado novamente.

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

## Solução

Após conversarmos sobre várias formas de resolver o problema, chegamos na que melhor se encaixa no nosso cenário.

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

Decidimos utilizar o **Redis** para armazenar uma _hash_, que será gerada no momento em que o **Consumer** consumir a mensagem, após a geração da _hash_ consultamos no redis para verificar se a mensagem já foi processada com sucesso, caso a _hash_ seja encontrada não processamos a mensagem novamente.

Se a _hash_ não for encontrada, o fluxo normal da chamada do **USE CASE** é realizado, caso tudo ocorra como o esperado, no final do fluxo inserimos a _hash_ no **Redis**.

## Pontos de atenção

- Não esqueça de adicionar o **ttl** da chave que será inserida no **Redis**.
- Caso queira que os métodos implementados do **Redis** sejam rejeitados no momento em que a conexão seja perdida, desabilite **offline queue**.

## Projeto no Github
https://github.com/jdssl/redis-saves
Mengenal Lebih Dekat Cenning Rara, Mantra Mistis dari Bugis Sulawesi Selatan
Published: 2023-03-24 20:53:06

[Cenning Rara](https://dev.to), sebuah [mantra Bugis](https://kumpulanilmughoib.blogspot.com/2017/09/ilmu-nurung-muhammad.html) warisan leluhur dari Sulawesi Selatan, menjadi wujud ideal dari kebudayaan yang diwariskan turun temurun. Bagi masyarakat Bugis-Makassar, mantra ini diartikan sebagai "wajah yang manis". Mantra mistis ini menjadi populer karena khasiatnya yang dapat digunakan untuk menggaet pasangan atau membuat seseorang senantiasa awet muda. Berikut ini, mari kita kenali lebih dekat tentang Cenning Rara, mantra mistis yang penuh dengan misteri dan supranatural.

Pengertian Cenning Rara

Cenning Rara merupakan mantra mistis yang berasal dari Sulawesi Selatan dan menjadi bagian dari kebudayaan masyarakat Bugis-Makassar. Mantra ini diartikan sebagai "wajah yang manis" yang memiliki khasiat untuk menarik perhatian pasangan dan membuat pemakainya senantiasa awet muda. Dalam kepercayaan masyarakat setempat, mantra ini diyakini berasal dari leluhur dan diwariskan turun temurun.

Cara Menggunakan Cenning Rara

Untuk menggunakan Cenning Rara, seseorang harus memahami mantra ini dengan baik dan percaya akan khasiatnya. Biasanya, Cenning Rara digunakan dengan cara dibacakan pada saat mandi atau membersihkan diri. Selain itu, mantra ini juga dapat dibacakan sebelum tidur atau saat bangun tidur. Mantra ini diucapkan dengan pelan dan penuh keyakinan agar energi positif dapat terpancar dengan baik.

Khasiat Cenning Rara

Mantra Cenning Rara memiliki khasiat yang bervariasi, tergantung pada tujuan penggunaannya. Beberapa khasiat yang sering dikaitkan dengan mantra ini adalah sebagai berikut:

Menarik perhatian pasangan
Cenning Rara dapat digunakan untuk menarik perhatian pasangan atau orang yang disukai. Dengan membaca mantra ini secara rutin, energi positif akan terpancar sehingga dapat menarik perhatian orang yang diinginkan.

Membuat seseorang awet muda
Selain untuk keperluan asmara, Cenning Rara juga dipercaya dapat membuat seseorang senantiasa awet muda. Mantra ini diyakini dapat membantu memperbaiki kualitas kulit dan mempercepat proses regenerasi sel.

Menghilangkan energi negatif
Cenning Rara juga dapat digunakan untuk membersihkan energi negatif dalam diri seseorang. Dengan membaca mantra ini secara rutin, seseorang dapat merasakan efek positif pada kesehatan fisik dan mentalnya.

Sumber :
С++ Yangi qator
Tags: beginners, programming, tutorial, cpp
Published: 2023-03-24 20:33:56

Assalomu alaykum xurmatli dasturchi bugungi organadigon narsamiz c++ dasturlash tilida yangi qator tashlashni korib chiqamiz 
Yangi qator kiritish uchun "\n" belgisidan foydalanishingiz mumkin 

misol uchun::

```
#include <iostream>
usin namespace std;

int main()
{ 

cout <<"men c++ organishni bowladim\n"; 
cout <<"judayam qiziqarli va organishga oson";

return 0
}
```
Maslahat bir-biridan keyin ikkita \n belgi bosh qator hosil qiladi

Musol uchun::

```
#include <iostream>
using namespace std;

int main()
{

cout << "Sizga maslahatim darsturlashni c yoki c++ dan boshlang \n\n";
cout << "Qani kettik";

return 0
}
```
Satirlarni kesish uchun "\n va "endl" ham ishlatiladi. Biroq, "\n" eng kop ishlatiladi 

Lekin \n aynan nima?
Yangi qator belgisi (\n) qoshish ketma ketligi  dep ataladi va u kursorni oz ornini ekrandagi kengi qatorning boshiga ozgarishiga majbur qiladi. Buning natijasida yangi qator hosi boladi.

boshqa haqiqiy qoshish ketmaketliklariga misollar :
C++ Izoh
Tags: tutorial, programming, beginners, css
Published: 2023-03-24 20:10:20

Assalomu alaykum hurmatli dasturchi bugun C++ darsturlash tilida izoh qoldirish haqida gaplashib olamiz! Boshlashdan oldin biz nima uchun izoh dan foydalanishimiz kerak ekanligini bilib olishimiz zarur hisoplanadi. Shuni esda saqlab qoling. izohlar ochiq va yopiq  turga bolinadi!

c++ darsturlash tilida "//" belgidan song izoh yoziladi. bu belgi faqat bir qatorli izh uchun amal qiladi. Bir nechta qator uchun qollashingiz mumkin. Buning uchun "//" ni har bir qatorda qolashingiz zarur boladi 

```
// Bu izoh uchun yozildi. 
// ikkinci qator izoh uchun yozildi.
cout << "Hello World ";
```
C++ darsturlash tilida operator oxirida ham izoh sifatida yozib ketsak boladi.

Misol uchun::

```
Cout <<"salom dunyo" ; // bu izoh (Chiqarish operatori)

```
 Ochiq izoh -Bu foydalanuvchiga korinib turadigon izohlar sirasiga kiradi Masalan tizimga kirish vaqtida sizning login parolingizni togri yoki notogri ekanligini bildiruvchi habarni misol keltirishimiz mumkin!

yopiq izoh -Bu dasturchilar ortasida qayta tushuntirish uchun hojat qomasligi  uchun dastur qismiga sharx sifatida qoldiriladigon izohlar hisoblanadi 

izoh ozi nima uchun qollaniladi 

1. izoh c++ darsturlash tilini kodini tushuntirish uchun qollash mumkin! 
2. Kodni oqilishi uchun shaxrlardan foydalanish mumkin.
3. Jamoa bolib ishlagan vaqtda kodingiz qaygta jamoangizga tushuntirish zarur emas! cjunki izoh qoldirib bir yolda yozgan kodingiz ni tushuntirish imkoniyatiga ega bolasiz!

Odatda biz // qisqa yani bir qatorli shahr uchun va /* */ bir yoki bir nechta qatorli shahrlar uchun foydalanamiz
Looking out for key actions to propel your organization from the inside
Tags: leadership, projectmanagement, team, mentor
Published: 2023-03-24 20:06:35

My goal with this series is to identify roadblocks that make the process of evolving a company harder. In doing so I wish to kindle discussion and exchange of ideas in the spirit of arriving at a possible solution.

Each article is going to be short. I plan on writing concise ideas, too long for a tweet, and too short for a standalone blog.

Thanks for reading. I hope this series is helpful to you.

## The first step: Finding out specifically what is holding your organization back

Being a small and chaotic business is not sustainable at all. Everybody does everything all the time until eternity. Founders and other accountable employees don't stop working. Mistakes are done and fixed again and again. That's why a natural evolution to a well-organized company tends to happen.

So now the whole team plans on making things more organized so that responsibility is distributed and entropy diminishes.

Negative aspects of the company's processes start to pop up. You give them a name. They become real. That is the first step to evolving an organization. Then you can design and implement solutions.

For each roadblock you identify in your journey to improve a company, there is a possibility of improvement. In fact, the mere finding of an obstacle means that it holds the opportunity to set a pillar for the next iteration of your organization. Building a solid process and methodology to surpass that obstacle is the foundation on which you can stand on top and continue identifying and solving problems that lie on the road ahead.

## Wrap Up
The thing to take from this article is that identifying a problem with exquisite detail is key. You have to give substance to what you are trying to solve. If not, it will linger on. The simple act of giving entity to what you need to tackle is pushing you closer to its solution.
What I am thinking about right now is processes that get implemented with no sufficient communication to everybody involved. Maybe I will write about that next.
Adicionando Animações em seu projeto utilizando Lottie React Native;
Tags: reactnative, programming
Published: 2023-03-24 19:11:30

Quando criamos nossa aplicação nós utilizamos diversos recursos visuais com botões, e estilizações de cores e fontes. Um recurso que também podemos utilizar seria as animações, que deixam nossa aplicação cada vez mais profissional e completa, e é sobre como podemos inserir essas animações que se trata o artigo. Falaremos a respeito do Lootie e suas possibilidades.

O Lottie React Native é uma extensão do Lottie, uma biblioteca que também suporta animações mas focado em aplicativos da Web e outras plataformas móveis. O Lottie React Native fornece componentes personalizados que podem ser usados para exibir animações em seu aplicativo React Native.

**Instalando Lottie React Native -**

O Lottie React Native funciona convertendo as animações vetoriais em formato JSON em animações interpretáveis pelo React Native. A biblioteca utiliza a renderização nativa para fornecer animações fluidas e responsivas em seu aplicativo.

Para utilizar o Lottie React Native, primeiro é necessário instalar a biblioteca em seu projeto. Para isso, você pode utilizar o gerenciador de pacotes npm, digitando o seguinte comando no terminal:

```
npm install lottie-react-native

yarn add lottie-react-native
```
Após instalar a biblioteca, é possível importá-la em seu arquivo JavaScript e começar a utilizar os componentes personalizados. Por exemplo, para exibir uma animação de um arquivo JSON, você pode utilizar o componente LottieView da seguinte forma:

```
import React from 'react';
import { View } from 'react-native';
import LottieView from 'lottie-react-native';

export default function App() {
  return (
    <View style={{ flex: 1 }}>
      <LottieView
        source={require('./animation.json')}
        autoPlay
        loop
      />
    </View>
  );
}
```
Neste exemplo, o componente LottieView é utilizado para exibir a animação contida no arquivo animation.json. As propriedades autoPlay e loop são utilizadas para definir que a animação deve ser iniciada automaticamente e repetida continuamente.


Nós também podemos ir até o site: https://lottiefiles.com/tag/reactnative  e baixar alguma animamação específica para execução e importando no `require()` trazendo a mesma para sua aplicação.

O Lottie React Native é uma biblioteca útil para criar animações vetoriais em aplicativos React Native. Ela oferece uma integração fácil e suporte para vários recursos, como reprodução automática e repetição contínua. O uso de animações vetoriais pode melhorar a experiência do usuário e fornecer um visual mais moderno e atraente para o aplicativo.
Delitos informáticos
Tags: spanish, security, delito
Published: 2023-03-24 20:05:57

En la era digital en la que vivimos, los delitos informáticos se han convertido en un problema cada vez más frecuente en todo el mundo. En México, se han promulgado diversas leyes para prevenir y sancionar estos delitos, que se consideran una amenaza para la seguridad nacional y la economía.
El Código Penal Federal es la principal ley que regula los delitos informáticos en México. En su artículo 211 Bis establece que se considera delito informático cualquier acción u omisión dolosa realizada mediante el uso de tecnologías de la información y la comunicación que tenga como resultado dañar, impedir o interferir en el funcionamiento de un sistema informático, así como obtener, manipular o destruir información contenida en él.
El artículo 211 Bis también contempla como delitos informáticos la creación, distribución o venta de herramientas tecnológicas destinadas a cometer delitos informáticos, así como la violación de medidas de seguridad informática establecidas por las autoridades.
Otra ley relevante es la Ley de Protección de Datos Personales en Posesión de Particulares, que regula el uso de datos personales por parte de empresas y organizaciones en México. Esta ley establece medidas de seguridad para proteger la información personal de los usuarios, así como sanciones para las empresas que no cumplan con sus disposiciones.
Además, en México existe la Policía Cibernética, que es una unidad especializada encargada de investigar y prevenir los delitos informáticos en el país. La Policía Cibernética trabaja en conjunto con otras agencias de seguridad nacional y organismos internacionales para detectar y perseguir a los delincuentes informáticos.
A pesar de la existencia de estas leyes y medidas de seguridad, los delitos informáticos siguen siendo un problema en México y en todo el mundo. Los delincuentes informáticos están constantemente desarrollando nuevas técnicas para eludir la seguridad informática y cometer sus crímenes. Por lo tanto, es importante que las autoridades y los usuarios de tecnología estén constantemente actualizando sus conocimientos y medidas de seguridad para prevenir estos delitos.
En conclusión, los delitos informáticos son una amenaza cada vez más frecuente en la era digital en la que vivimos. En México, se han promulgado diversas leyes y medidas de seguridad para prevenir y sancionar estos delitos, pero es importante que los usuarios de tecnología estén siempre actualizados en cuanto a sus medidas de seguridad para evitar ser víctimas de estos delitos.
Angular Signals
Tags: typescript, angular, news, javascript
Published: 2023-03-24 19:51:36

Angular Framework's **Signals** is a new reactive mechanism that allows components to share data without the need for explicit bindings. Signals are zero-argument functions that return a value, and they can be used to create observable data streams. When a signal is changed, all of the components that are subscribed to it will be notified of the change. This makes signals a powerful tool for decoupling components and making your application more reactive.

        This addition will roll out in Angular 16
        Current @latest stable is Angular 15

_Here are some of the benefits of using Angular Framework Signals:_

**Decoupling components**: Signals can be used to decouple components from each other. This means that components can share data without having to be directly connected to each other. This makes your application more modular and easier to maintain.
**Making your application more reactive**: Signals can be used to make your application more reactive. This means that components will be able to react to changes in data in real time. This can improve the user experience of your application.
**Making your application more efficient**: Signals can be used to make your application more efficient. This is because they only notify components that are subscribed to them of changes. This can reduce the number of updates that your application needs to perform.

> This is a good way to decouple components, make your application more reactive, and make your application more efficient. It is expected to roll out with Angular 16.

**Demo**
many thanks to Enea Jahollari @eneajaho

[demo](https://stackblitz.com/edit/angular-ednkcj?embed=1&file=src/main.ts&hideNavigation=1)