teleren/devto huggingface dataset:
I want to have a reliable friendship.
Tags: webdev
Published: 2024-01-22 05:00:47

Dear Everyone!!!
It's a pleasure to have great contact with you here. This will be the best start for our friendship.
Beautiful minds inspire others.
I believe that when I put a smile out there, I get a smile back...
loving people live in a loving world...
hostile people live in a hostile world
same world.
so trustworthy people live in a trustworthy world with loving people...
we live on one planet - Mother Earth...
so we live in a trustworthy world...
and everyone is a trustworthy person.
... There can be miracles when you believe...
This is my personal opinion and perspective. My major is computer science, and I am a developer with deep knowledge and sufficient experience.
I now sincerely hope to have great contact with a warm and trustworthy person so that I can have a reliable and rewarding long-term friendship and find a suitable remote IT job.
And of course, I know that it depends on my attitude and behavior.
Anyway, seeing is believing, so if you have time and want to meet, you can confirm not only my skills but also my personality, please let me know and contact me.
aws IoT Coreからaws IoT Analyticsにデータを保存する
Published: 2024-01-22 04:54:19

# IoT Analyticsの設定

IoT Analyticsを設定するには、以下のステップに従います：

1. **AWS IoT Analyticsダッシュボード**にアクセスします。
2. **ワンクリッククイックスタート**を使用して、必要なリソース（チャネル、パイプライン、データストア、データセット）を自動的に作成します。
3. **リソースプレフィックス**フィールドに、リソースを識別するための独自の名前（例えば、`MyIoTProject`）を入力します。
4. **リソースの作成**ボタンをクリックして、プロセスを完了します。

# IoT Coreの設定

IoT Coreでメッセージをルーティングするルールを設定するには、以下の手順を実行します：

1. **AWS IoT Coreダッシュボード**にアクセスし、**ルール**セクションに進みます。
2. **新しいルールの作成**ボタンをクリックします。
3. ルールに名前を付けます（例：`SendToIoTAnalytics`）。
4. ルールクエリステートメントで、データ形式に合ったSQL文を記入します。例：

    ```
    SELECT end_device_ids.device_id AS device, timestamp() AS timestamp, uplink_message.decoded_payload.distance AS distance FROM 'lorawan/A840413A21/uplink' WHERE uplink_message.decoded_payload.distance > 20
    ```

    このクエリは、デバイスID、タイムスタンプ、距離データを選択し、距離が20より大きいデータのみを取得します。

5. **アクションの追加**を選択し、**IoT Analytics**をアクションとして追加します。
6. IoT Analyticsのチャネル名を選択します（自動作成されたチャネル名を使用）。
7. 必要に応じて、新しいIAMロールを作成または既存のものを選択します。筆者は新しいIAMロールを任意の名前で作成します。
8. **ルールの作成**をクリックして、設定を完了します。

# IoT Analyticsにデータを確認

IoT Analyticsにデータが届いているかを確認するには、以下の手順に従います：

1. **IoT Analyticsダッシュボード**にアクセスします。
2. **データストア**セクションを開きます。
3. 作成したデータストアを選択します。
4. **最終データ到達日時**を確認します。この日時が最近のものに更新されていれば、データが正常に送信されていることを示します。

データストアの**最終データ到達日時**が更新されていない場合は、以下の点を確認してください：

- IoT CoreとIoT Analytics間の接続が正しく設定されているか。
- IoT Coreのルールが正しく設定され、アクティブになっているか。
- データがIoTデバイスから正常に送信されているか。

問題が解決しない場合は、IoT Analyticsのログやモニタリングツールを使用して、エラーの原因を特定してください。

# データセットの更新間隔の設定

データセットの更新間隔は、**データセット** ⇒ **スケジュール**から変更できます。この設定を通じて、データセットの更新頻度を制御し、リアルタイム性やデータ量とのバランスを取ることが可能です。更新間隔は、特定の時間ごと、または定期的なスケジュールに基づいて設定できます。

1. IoT Analyticsのダッシュボードにアクセスします。
2. **データセット**セクションを選択します。
3. 更新したいデータセットの**スケジュール**オプションをクリックします。
4. 更新間隔を設定します。例えば、「毎時」、「毎日」、「毎週」などのオプションがあります。
5. 設定を保存して完了します。

これらの設定により、データの分析と処理の頻度を最適化し、システムのパフォーマンスと効率を向上させることができます。また、特定のイベントや条件に基づいて更新間隔を設定することも可能です。この柔軟性により、異なるアプリケーションや使用状況に応じたデータ管理が実現できます。

## 参考: ドアセンサーデータのSQL例

ドアセンサーを使用し、ドアが開いている（`DOOR_OPEN_STATUS=1`）時のデータのみを保存する場合のSQL文の例は以下のようになります：

```
SELECT timestamp() AS timestamp, uplink_message.decoded_payload.DOOR_OPEN_STATUS AS clock FROM 'lorawan/A840417611/uplink' WHERE uplink_message.decoded_payload.DOOR_OPEN_STATUS=1
```

このSQL文は、ドアが開いている状態のデータを選択し、タイムスタンプと共に保存します。
We Have To Respect Others.
Tags: javascript
Published: 2024-01-22 04:04:58

Once upon a time, there was a handsome farmer who fell in love with a beautiful lady. They got married, and the whole village celebrated their union. However, on their wedding night, the husband was taken aback when he saw his wife transform into an old and unattractive lady.

Feeling distressed, his wife revealed that she was cursed from heaven and could only remain beautiful for half of the day. She turned to her husband for advice, hoping for a solution to her unfortunate situation.

The husband listened intently, showing empathy and understanding towards his wife's plight. He held her close and reassured her that he respected her opinion and would support her decision without any hesitation. The wife felt relieved by his kind words and chose to remain beautiful all the time to always make her husband happy. Their love grew stronger as they faced this challenge together, and they lived happily ever after.

In the end, the couple lived a happy and fulfilling life together, built on mutual respect and empathy. This story teaches us that empathy and understanding are crucial in building strong relationships and living a happy life.

"We Have To Respect the opinions of others even if we disagree with them."

- Respect is like a boomerang that comes back to you.
- When you put respect out in the world, you'll find that it returns to you.
- There can be no relationship without respect.
- It takes nothing to be a sincere person.
Data Science Landscape
Tags: datascience, data, bigdata, machinelearning
Published: 2024-01-22 04:21:03

Are you planning to get into [Data Science](https://bigdataanalyticsnews.com/category/data-science/) field? This GIF should help you to understand different branches of Data Science!

Data science is a field that uses data to solve problems and make predictions. It is a vast and complex field that requires a variety of skills, including:

**- Data preprocessing:** This is the process of cleaning and preparing data for analysis

**- Software engineering:** This involves using programming languages and software tools to develop and maintain data science projects

**- Web development:** This is the process of creating and maintaining websites that can be used to present data science findings

**- Statistics:** This is the use of mathematical tools to analyze data

**- Programming languages:** This includes languages like Python, R, and SQL, which are used to write code for data science projects

**- Machine learning: **This is a type of artificial intelligence that allows computers to learn from data without being explicitly programmed

**- Deep learning:** This is a subset of machine learning that uses artificial neural networks to learn from data

**- Soft skills:** These are non-technical skills that are important for data scientists, such as communication, teamwork, and problem-solving

![data science landscape](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/95mo536xniygx26l2d3i.gif)



-----
Subscribe to my **[Big Data News Weekly Newsletter](https://www.bigdatanewsweekly.com/)**.

Join us for insights on Big Data, Data science, AI, AI News, Ai Tools, AI updates, Tech, No Code, and Side Hustles. https://lnkd.in/gMuCsmJd

#data #teradata #nosql #mapreduce #python #bigdata #datascience
"We Have To Respect Others."
Tags: webdev
Published: 2024-01-22 04:04:00

Once upon a time, there was a handsome farmer who fell in love with a beautiful lady. They got married, and the whole village celebrated their union. However, on their wedding night, the husband was taken aback when he saw his wife transform into an old and unattractive lady.

Feeling distressed, his wife revealed that she was cursed from heaven and could only remain beautiful for half of the day. She turned to her husband for advice, hoping for a solution to her unfortunate situation.

The husband listened intently, showing empathy and understanding towards his wife's plight. He held her close and reassured her that he respected her opinion and would support her decision without any hesitation. The wife felt relieved by his kind words and chose to remain beautiful all the time to always make her husband happy. Their love grew stronger as they faced this challenge together, and they lived happily ever after.

In the end, the couple lived a happy and fulfilling life together, built on mutual respect and empathy. This story teaches us that empathy and understanding are crucial in building strong relationships and living a happy life.

"We Have To Respect the opinions of others even if we disagree with them."

- Respect is like a boomerang that comes back to you.
- When you put respect out in the world, you'll find that it returns to you.
- There can be no relationship without respect.
- It takes nothing to be a sincere person.
[20 Days of DynamoDB] Day 11 - Using pagination with Query API
Tags: dynamodb, serverless, cloud, database
Published: 2024-01-22 04:03:03

*Posted: 22/Jan/2024*

The `Query` API returns the result set size to `1 MB`. Use `ExclusiveStartKey` and `LastEvaluatedKey` elements to paginate over large result sets. You can also reduce page size by limiting the number of items in the result set, with the `Limit` parameter of the `Query` operation.


Here is an example:

```go
func paginatedQuery(searchCriteria string, pageSize int32) {

	currPage := 1
	var exclusiveStartKey map[string]types.AttributeValue

	for {
		resp, _ := client.Query(context.Background(), &dynamodb.QueryInput{
			TableName:              aws.String(tableName),
			KeyConditionExpression: aws.String("ForumName = :name"),
			ExpressionAttributeValues: map[string]types.AttributeValue{
				":name": &types.AttributeValueMemberS{Value: searchCriteria},
			},
			Limit:             aws.Int32(pageSize),
			ExclusiveStartKey: exclusiveStartKey,
		})

		if resp.LastEvaluatedKey == nil {
			return
		}
		currPage++
		exclusiveStartKey = resp.LastEvaluatedKey
	}
}
```
Recommended reading - [Query Pagination](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.Pagination.html)
Greenpeace Ship 2023
Tags: webdev, beginners, discuss
Published: 2024-01-22 03:52:20


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x5ksli5g3p3v2qqw7i24.jpg)Explore the Greenpeace Ship 2023[](wrpurification.blogspot.com), a beacon of environmental activism and sustainability. Join us on a journey committed to protecting our planet's oceans and biodiversity. Discover the cutting-edge initiatives, eco-friendly practices, and global campaigns aboard this vessel, dedicated to creating positive change for a greener and more sustainable future. Support the cause, follow our expeditions, and be part of the movement to safeguard our precious Earth[](wrpurification.blogspot.com). 


#Greenpeace#EnvironmentalActivism#SustainabilityAtSea#OceanProtection#EcoVoyage#ClimateAction
Patio Covers Eastvale, CA
Tags: patiocovers, patioinstallation, concreteservices
Published: 2024-01-22 03:49:16

Looking for patio covers in Eastvale, CA? Look no further than Davis Construction and Patio Covers. 

We offer a wide variety of patio covers to choose from, including screened-in patios, pergolas, and awnings. 

We can also custom design a patio cover to fit your specific needs and budget. 

Contact us today to learn more about our services and to schedule a free consultation.

Find Patio Covers Eastvale, CA on:

✓ GOOGLE - [https://maps.app.goo.gl/LJqVipFTkhjwNWvA7](https://maps.app.goo.gl/LJqVipFTkhjwNWvA7)
✓ YELP	- [https://www.yelp.com/biz/davis-patio-covers-hesperia](https://www.yelp.com/biz/davis-patio-covers-hesperia)
✓ WEBSITE - [https://davispatios.com/eastvale-patio-covers-awning-installation/](https://davispatios.com/eastvale-patio-covers-awning-installation/)
✓ YOUTUBE - [https://youtu.be/UiIivlLbzyU](https://youtu.be/UiIivlLbzyU)
Integrate Current Changes into a Specific Commit without Opening the Editor
Tags: git
Published: 2024-01-22 03:12:52

## TL;DR
Set up the following alias in your Git configuration.

```
[alias]
    cmfr = "!f() { git commit --fixup \"$1\"; GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash \"$1\"^; }; f"
```

Now you can execute `git cmfr HASH` to apply the changes.

## How it works
When integrating current changes into the most recent commit, we typically use the `commit --amend` command. Adding `--no-edit` lets us do this without opening the editor. But what if we need to alter not the latest commit, but an earlier one?

The usual steps for this are somewhat cumbersome:

1. Temporarily commit the current changes.
1. Perform an interactive rebase.
1. Shift the temp commit right below the target commit.
1. Change the temp commit's command to 'fixup'.
1. Save and exit the editor.

This process involves more steps than necessary. Using `--fixup` and `--autosquash` can simplify it. The commands below bring you directly to step 4 of the aforementioned process:

```bash
> git commit --fixup HASH
> git rebase -i --autosquash HASH^
```

Then just close the editor and you are done. Since we've simplified the process considerably, we'd also like to bypass the editor-closing step.

In Git, the rebase editor can be changed by setting the `GIT_SEQUENCE_EDITOR` environment variable. This variable can be set to vi, emacs, vscode, sed, etc. Interestingly, using the bash built-in command `:` (a no-operation command) for this variable simulates an immediate exit without performing any action. Using this feature, the following commands can execute all steps in just two commands:

```bash
> git commit --fixup HASH
> GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash HASH^
```

The final step is to save this sequence as an alias:

```
[alias]
    cmfr = "!f() { git commit --fixup \"$1\"; GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash \"$1\"^; }; f"
```

Now, whenever you need to tweak a past commit, simply run `git cmfr HASH`.

Happy coding! 🚀

## Reference
- [Git interactive rebase without opening the editor - Stack Overflow](https://stackoverflow.com/questions/29094595/git-interactive-rebase-without-opening-the-editor)
Small Language Models are Going to Eat the World.
Tags: llmops, promptengineering, softwareengineering, llm
Published: 2024-01-22 02:14:28

Today, Large Language Models (LLMs) typically require internet access. As prompt-based applications become ubiquitous, there is a high likelihood we slowly begin to see a transition from internet-based models to locally hosted models.

Local models are nothing new. Google product users are often pushed to download local models for Google Maps, Google Translate, and Text2Speech. These models run locally for four primary purposes:
- speed
- reliability
- privacy
- cost

## Benefits

### Speed
Local models have no network latency. They run locally, and instructions and data transfers happen closer to the application layer, resulting in increased performance.

### Reliability
Local models are self-reliant. They don't require additional computers to operate and don't rely on 3rd party service providers. They run as stand-alone and won't break if internet connectivity is lost.

### Privacy
Private information is processed locally and never shared with another provider. Information passed into these models may contain private or confidential information that an external processor should not process.

### Cost
Local models require zero hosting. Models may run frequently, and costs involved in processing data regularly at scale may become unaffordable or may better be absorbed by a local device.

## How can we make local models a reality?

Python is the language of choice to run LLMs. However, we know that embedded devices, mobile apps, and web servers often use different languages to run and operate efficiently.

To bridge the gap in SDKs for accessing large language models across various platforms, engineers should consider developing and integrating multi-language libraries and frameworks that are compatible with mobile, embedded, and diverse server environments. Embracing innovation and flexibility in these developments is critical, as large language models represent a new technological frontier rather than merely enhancing existing tools.

This original article can be found here: [https://promptdesk.ai/articles/small-languages-models-are-going-to-eat-the-world](https://promptdesk.ai/articles/small-languages-models-are-going-to-eat-the-world)
Prisma Cloud - Agentless Scanning - AWS ¿Hidden Cost?
Tags: prismacloud, aws, serverless, ec2
Published: 2024-01-22 01:50:59

Agentless scanning provides visibility into vulnerabilities and compliance risks in cloud workloads by scanning snapshot root volumes. The agentless scanning architecture allows you to inspect a host and the container images on that host without having to install an agent or affect your workload execution.

Prisma Cloud supports agentless scanning of cloud workloads on AWS, Azure, GCP, and OCI for vulnerabilities and compliance.
On AWS, Azure, and GCP you can also use agentless scanning for container images, as well as Serverless Function.
To set up agentless scanning for your cloud accounts, you must onboard the accounts to Prisma Cloud.

Once you onboard your cloud account with agentless scanning enabled, that account is continuously scanned regardless of how many workloads are in that account. Whether you add or remove hosts and containers, agentless scanning keeps your workload security issues visible.

When you add an organization to Prisma Cloud and enable agentless scanning across the organization, agentless scanning automatically scans the accounts added to the organization.

To achieve that goal, you grant the necessary permissions during onboarding and Prisma Cloud scans the account regularly. By default, agentless scans are performed periodically every 24 hours and this interval is configurable.


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

So if to perform agentless scanning, Prisma Cloud needs an instance every 24 hours to perform this task, the time it may take is a cost that must be taken into account for the cloud project where you would be working with the tool.
For example:

Keep in mind that it would be a SPOT INSTANCE.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0olkyw8jrzpzmg6ahzql.jpg)

And we must calculate the costs associated with that SPOT instance and the outgoing traffic to Prism from the data obtained from each evaluated Snapshot.
Only taking into account the standard cost of the type of instance in the previous image we would have a cost of 9 Dollars as long as the Scanner Instance takes that time to analyze.


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

Now the time that can be taken is flexible to different factors:

Number of hosts
Hosts disks sizes
Used space on hosts disks
Number of files in the hosts disks

Finally, for a project it is important to be clear about the costs associated with its entire infrastructure but also with the security tools that are deployed and indirectly affect its FORECAST.
Devlog 21-01-2024
Published: 2024-01-22 01:42:20

## O que estou fazendo?

Esses dias comecei a construir um site que queria a muito tempo, o meu portfólio. Desde que comecei a estudar programação, acabei indo para outras áreas e não foquei tanto assim em desenvolvimento web, então na intenção de aprender mais sobre o ecossistema comecei a construir um site básico utilizando apenas HTML, CSS e Javascript.

Minha escolha de não utilizar nenhum framework é de começar a entender as demandas desde a base, buscando saber como funciona cada interação e montagem de páginas de forma pura. A intenção é que conforme o projeto cresça e novas demandas surjam, eu possa ir acrescendo essas tecnologias que abstraem muito código.

Vou utilizar desse espaço para registrar meu progresso quanto ao projeto e minhas tomadas de decisão. Atualmente, fiz a maioria dos HTML base do site e acrescentei alguns textos. 

Também pretendo estar adicionando um blog ao meu site, na intenção de ter artigos com assuntos específicos, bem como devlogs de projetos que estou participando.

Os textos para o blog serão escritos em Markdown devido a já estar acostumado com esse formato, e não quis realmente fazer um renderizador de Markdown do zero, então busquei uma biblioteca minimalista para isso. Acrescentei a biblioteca `markdown-it` para realizar essa tarefa. Por enquanto estou utilizando apenas essa biblioteca externa.

Então, por enquanto é isso, em breve trago mais atualizações. O projeto pode ser encontrando [aqui](https://paulohgs.github.io) e o repositório do projeto [aqui](https://github.com/paulohgs/paulohgs.github.io).

Até a próxima!
SRE é sobre criar softwares que resolvem problemas de operação de outros softwares
Tags: sre, softwaredevelopment
Published: 2024-01-22 00:26:09

No último domingo tive a oportunidade de conversar com um novo amigo sobre a incrível jornada em SRE - **Site Reliability Engeering**.

Em um espasmo mental consegui resumir pra ele que um dos aspectos mais interessantes de SRE é que boa parte do nosso tempo é dedicada a **desenvolver software** e que scripting não é suficiente: você precisa ter proficiência em desenvolvimento de software porque seu software precisará ter log estruturado, métricas, performance, persistência e uma série de requisitos técnicos em que o Bash não vai te salvar - ou seria um martírio, no mínimo.

Mas que tipo de software SRE desenvolve? Vou elaborar alguns exemplos para ajudar nesse entendimento:

--

## Command-lines

Com um ecossistema de infraestrutura e regras de negócio cada vez mais complexos, desenvolver CLI's pode ajudar times de operações N1, N2, infra e até DevOps na interligação de diferentes soluções por meio de uma interface única de controle.

## Middlewares

Aplicações backend que integram com soluções externas ao seu produto e interagem com seu produto conforme determinadas condições. Por exemplo, interagir com um datacenter que provê blocos de IPv4, consultar serviços externos de block lists e, conforme alguma condição, notificar seu produto para tomar uma determinada decisão - como bloquear um cliente, pausar uma campanha, etc.

## Produtores e consumidores

Aplicações backend que acompanham a operação de um produto, consomem tópicos de mensageria em busca de determinados eventos e, consumidos esses eventos, envia esses dados para um database de séries temporais que permite extrair informações quantitativas de um determinado fluxo do produto.

## API's

Construção de API's http/rest que recebem callbacks de serviços externos ao seu produto e constróem séries temporais de dados para permitir criar visualizações de operação ou fluxos do produto.

## Aplicações sidecar

Aplicações que rodam junto a outros softwares, como load balancers, permitindo análise de tráfego e tomadas de decisão em relação às requisições conforme regras de negócio próprias do produto.

--

Uma das principais certezas em SRE é que dificilmente um outro time vai "saber o que demandar". 

SRE é muito sobre **visão de produto e negócio** e **habilidade em desenvolvimento de software**. 

É saber que todos os principais fluxos do produto precisam ter **visibilidade** para que possam ser operados. 

É sobre fornecer dados em tempo real de operações para **outros times** como atendimento, suporte N1, suporte N2, infra, dev, etc.

SRE é sobre resolver problemas de operação de software - seja ele de natureza tecnológica, humana ou processos - com mais software.

Quer uma dica para evoluir em SRE? Seja uma pessoa **inconformada** e que **não espera a demanda chegar**.

--

Com carinho,
Isadora.

-- 

Literatura acerca do tema em:
[Google SRE Books](https://sre.google/books/)
Is Trust the Key to Successful Leadership?
Tags: discuss
Published: 2024-01-22 00:00:00

---
published_at : 2024-01-22 00:00 +0000
---
In your experience, how vital is trust in leadership, and what impact does it have on team dynamics? Share examples of how building trust has positively influenced your leadership journey.
Follow the DEVteam for more discussions and online camaraderie!
{% embed https://dev.to/devteam %}