teleren/devto huggingface dataset:
Event-Driven Architecture on AWS
Tags: aws, eventdriven, architecture, beginners
Published: 2024-05-07 13:22:53

## Introduction 
Businesses are increasingly adopting cloud-based solutions in today's fast-paced technological landscape for *enhanced flexibility*, *scalability*, and *accessibility*. Modern applications prioritize agility, resilience, and innovation, with a focus on *decoupled architecture* where components operate independently for seamless maintenance and scalability.

`Event-Driven Architecture (EDA)` further advances this approach by using events to trigger actions, enabling real-time responsiveness and efficient resource usage, ultimately helping businesses stay competitive in a dynamic market.

## Event-Driven Architecture on AWS 
Event-Driven Architecture (EDA) on AWS leverages various AWS services to build highly scalable and responsive systems. It revolves around the concept of reacting to events, such as changes in data or system state, to trigger actions and drive workflows.

AWS offers several managed services that facilitate for event routing and integration :

> **Event Producers:** Generate streams of events, which can be implemented using straightforward microservices with [`AWS Lambda`](https://aws.amazon.com/lambda) (for serverless computing), [`Amazon DynamoDB Streams`](https://aws.amazon.com/dynamodb) (to captures changes to DynamoDB tables in real-time), [`Amazon S3 Event Notifications`](https://aws.amazon.com/s3) (Notify when certain events occur in S3 buckets) or [`AWS Fargate`](https://aws.amazon.com/fargate) (a serverless compute engine for containers).

> **Event Consumers:** Services that actively listen for events and respond accordingly. These consumers can be easily implemented using microservices, [`AWS Lambda`](https://aws.amazon.com/lambda) or [`Amazon Kinesis`](https://aws.amazon.com/kinesis) (for ingesting, processing, and analyzing streaming data in real-time).

> **Event Routers:** Services like [`Amazon SQS`](https://aws.amazon.com/sqs) (A managed message queuing), [`Amazon SNS`](https://aws.amazon.com/sns) (A pub/sub messaging), [`AWS Step Functions`](https://aws.amazon.com/step-functions) (An orchestrate serverless workflows) and [`Amazon EventBridge`](https://aws.amazon.com/eventbridge) (A serverless event bus) act as event routers, establishing the paths and flow for messages within the architecture. They enable seamless handling and distribution of events, ensuring that each message reaches its intended destination efficiently and effectively.

By using these services together, developers can create event-driven applications that are resilient, scalable, and cost-effective, enabling real-time processing, seamless integration, and efficient resource utilization on the AWS cloud platform.

## Thank you for reading
If you have any questions, feedback, or suggestions, please feel free to leave them in the comments below. I'm eager to hear from you and respond to your thoughts!

**Stay tuned for more AWS Resources !**
SQL's LIKE, ILIKE, and NOT LIKE: Beginner's Breakdown
Tags: sql, mysql, database, postgres
Published: 2024-05-07 13:21:59

**Are you ready uncovering the power of SQL matching patterns?**

In the realm of database querying, grasping the matching pattern will make our query more accurate. It's akin to having a finely tuned radar, enabling us to pinpoint exactly what we're looking for amidst vast seas of data.

In this blog you will learn how to use LIKE, ILIKE, and NOT LIKE. By understanding this this matching pattern we can transform our queries for searching into more precise tools, and more accurate extraction of what data we want to fetch.

Without further ado lets start now the familarization on this pattern.

**Understanding LIKE and ILIKE: What Sets Them Apart?**

At first glance, **LIKE **and **ILIKE **may seem interchangeable, both serving the purpose of pattern matching within SQL queries. However, a subtle yet significant distinction exists between these two operators.

**LIKE** : This matching pattern allow us to search within text data. It operates on a _case-sensitive_ basis. meaning it distinguishes between uppercase and lowerchase characters. for example in query

> SELECT * FROM Product WHERE name LIKE '%APPLE%';

The output will be all the name with APPLE word on it. its case sensitive so it will only select all the name where the APPLE is capital not included the small one.

**ILIKE** : This matching pattern allow us to search also within text data. but this one is **case-insensitive** This operator performs pattern matching without regard to case sensitivity, making it a versatile tool for scenarios where we want our search to encompass all possible variations of letter casing. for example in query

> SELECT * FROM Product WHERE name ILIKE '%apple%'

The output will be all the name with apple word on it. with ILIKE would match not only 'apple' but also 'Apple' and 'APPLE.


By understanding this subtle difference, we can wield LIKE and ILIKE with precision, So let's take advantage of this of how we gonna use it.

The next is **NOT LIKE** which is the inverse of LIKE and ILIKE that excluding the rows that match the specified pattern. for example in query

> SELECT * FROM product WHERE name NOT LIKE '%apple%'

It will exclude all the name with apple word on it. this is case-sensitive meaning it will only remove the 'apple' but not the 'Apple' and 'APPLE' word on it.


Very basic right? now that you know the LIKE, ILIKE and NOT LIKE matching pattern why not using it in your matching pattern query? to make your extracting data more precision than before?

That's it, and thanks for reading if you've made it this far!
Visualize Customer Survey Reports Using React 3D Circular Charts [Webinar Show Notes]
Tags: react, chart, development, essentialjs2
Published: 2024-05-10 04:17:51

---
title: Visualize Customer Survey Reports Using React 3D Circular Charts [Webinar Show Notes]
published: true
date: 2024-05-07 13:14:59 UTC
tags: react, chart, development, essentialjs2
canonical_url: https://www.syncfusion.com/blogs/post/customer-survey-react-3d-circular-charts
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ppadds21ehhzcjg1vih4.png
---
This blog provides show notes for our May 2 webinar, “Visualize Customer Survey Reports Using Our React 3D Circular Charts Control.” The webinar was presented and hosted by Meena Alagiah, product manager at Syncfusion. If you missed the webinar, or would like to watch it again, please see our [YouTube page](https://youtu.be/Hr0g4-ZVEhU "Visualize Customer Survey Reports Using Our React 3D Circular Charts Control [Webinar] on YouTube") or watch it here.

{% youtube Hr0g4-ZVEhU %}

## Overview

In this webinar, we created compelling customer survey reports using the new [React 3D Circular Charts](https://www.syncfusion.com/react-components/react-3d-circular-chart "React 3D Circular Charts") component. Additionally, we looked at some of the best [2024 Vol. 1 release](https://www.syncfusion.com/forums/187257/essential-studio-2024-volume-1-main-release-v25-1-35-is-available-for-download "Essential Studio 2024 Volume 1") updates in the [Blazor](https://www.syncfusion.com/blazor-components "Syncfusion Blazor components") and [Essential JS 2](https://www.syncfusion.com/javascript-ui-controls "Essential JS 2 components") platforms.

## Timestamps

[[00:00](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=0s "Introduction")] Introduction

[[00:30](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=30s "React 3D Circular Charts")] React 3D Circular Charts

[[01:16](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=76s "Prerequisites")] Prerequisites

[[01:35](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=95s "Demo Start")] Demo Start

[[09:34](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=574s "What's New in Blazor")] What’s New in Blazor

[[21:12](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=1272s "What's New in JS 2")] What’s New in JS 2

[[28:18](https://www.youtube.com/watch?v=Hr0g4-ZVEhU&t=1698s "Outro")] Outro

## Summary

During this webinar, we demonstrated how to visualize customer survey reports using our [React 3D Circular Charts](https://www.syncfusion.com/react-components/react-3d-circular-chart "React 3D Circular Charts") control. We hope you enjoyed this webinar and please keep an eye out for our future React and Blazor webinars. 

## Recommended resources (related links)

- [What’s New in Blazor 2024 Volume 1](https://www.syncfusion.com/products/whatsnew/blazor-components "What's New Blazor Components: 2024 Volume 1") 
- [What’s New in React 2024 Volume 1](https://www.syncfusion.com/products/whatsnew/react "What's New in React: 2024 Volume 1")
- [What’s New in JS 2 2024 Volume 1](https://www.syncfusion.com/products/whatsnew/essential-js2 "What's New JavaScript: 2024 Volume 1")
Netlify Dynamic Site Challenge: Building a Mars Mission Photo Web App
Tags: netlifychallenge, devchallenge, webdev, javascript
Published: 2024-05-07 13:11:48

*This is a submission for the [Netlify Dynamic Site Challenge](https://dev.to/challenges/netlify): Visual Feast.*

Today technology has taken over not only our planet, but also the planets around us and the universe.
Man has been able to create technologies to explore other planets many light years from ours.
And there's nothing better than using a framework called [Quasar](https://quasar.dev) to create a project using Netlify's powerful features.


## What I Built
Using [NASA's photo API](https://api.nasa.gov/), I created a gallery of images from missions to Mars with the rovers: Curiosity, Opportunity and Spirit.

Each rover has its own set of photos stored in the database, which can be queried separately. There are several possible queries that can be made against the API. Photos are organized by the sol (Martian rotation or day) on which they were taken, counting up from the rover's landing date. A photo taken on Curiosity's 1000th Martian sol exploring Mars, for example, will have a sol attribute of 1000.

And with the resources of [Netlify Image CDN](https://docs.netlify.com/image-cdn/overview/#transform-images) we can perform various transformations on images such as:
- Size
- Fit
- Position
- Quality
- Format

To develop the web application, the [Quasar Framework](https://quasar.dev/) was used, a framework based on Vue.js with ready-to-use components, a powerful CLI and the possibility of exporting the application to: SPA, PWA, Mobile with Cordova and capacitor and Desktop with electron.


## Demo

![Quasar Nasa Photos](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/08fbpufqykxhnw2hi33o.png)


You can access the online demonstration through the link: https://quasar-nasa-photos.netlify.app/

Another interesting point is that you can install the app as a PWA on your device. This makes access easier.


![Quasar Nasa Photos in Mobile](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xsurmpnnduqp23zq319n.png)

## Platform Primitives
Netlify's documentation is very smooth and intuitive. It has several examples to base yourself on and use in your application.

After choosing the Sun (accounting for the day from the rover's landing) and the rover executes a request to fetch the images from the NASA API. Using the Netlify Image CDN, we transform images, optimizing size and format, and also taking advantage of the caching feature to speed up queries.

## Explanatory video
A video presenting the project and presenting the solution with Netlify Image CDN(pt-br🇧🇷):

{% youtube YHEBtHcJjyQ %}


## Conclusion

I already use netlify for almost all of my personal and professional projects. Now with features such as image transformation using your CDN, I will be able to further optimize my projects.

If I manage to win the prize or the challenge, I will convert part of the money into technology books for the community I am part of in Brazil: [DevsNorte](https://www.instagram.com/devsnorte)
Embracing the Digital Shelves: The Benefits of Online Book Shopping
Tags: onlinebooks, bookpublishing, onlinebookshopping
Published: 2024-05-07 13:06:00

In today's fast-paced world, the convenience of online shopping has revolutionized the way we acquire goods. Among the myriad of items available for purchase, books stand out as a particularly beloved commodity. Let's explore the manifold benefits of embracing digital shelves and indulging in the world of online book shopping.
Convenience at Your Fingertips: Online bookstores bring the world of literature to your doorstep, quite literally. No longer constrained by physical location or operating hours, readers can browse and purchase books anytime, anywhere. Whether it's midnight or midday, the virtual shelves are always open, ready to satisfy your literary cravings.
Endless Selections, Infinite Possibilities:
Unlike traditional brick-and-mortar bookstores, online platforms offer an unparalleled array of titles. From bestsellers to niche genres, the virtual realm boasts an extensive catalog that caters to every taste and interest. Whether you're searching for a timeless classic or the latest release, chances are you'll find it with just a few clicks.
Reviews and Recommendations: One of the perks of online book shopping is access to user reviews and recommendations. Before making a purchase, readers can peruse feedback from fellow bookworms, gaining valuable insights into the quality and content of a book. Lots of options we get from 1 click like Mystery books, Nonfiction books, Science fiction books, Fantasy books, Historical Fiction books, Adventure books, Horror books, Literary fiction books, Romance books, Comics books, Young adult books, Poetry books, Thriller books, Short stories books, children & books.

This wealth of information empowers readers to make informed decisions, ensuring that each literary investment is a rewarding one. 

Cost-Effective Deals and Discounts: Online bookstores often feature competitive pricing and exclusive deals that are hard to find elsewhere. From discounted rates to special promotions, savvy shoppers can save a significant amount of money by purchasing books online. Additionally, digital formats such as e-books offer an economical alternative to their print counterparts, making reading more accessible to budget-conscious readers.

In conclusion, online book shopping offers a plethora of benefits that enhance the reading experience for enthusiasts worldwide. From convenience and selection to affordability and inclusivity, the digital realm opens doors to a world of literary delights. So why wait? Dive into the digital shelves today and embark on a journey through the boundless landscapes of imagination.
Streamlining Success: Enterprise Business Solutions
Published: 2024-05-07 13:04:28

Enterprise business solutions are like toolkits for big companies. They help them solve problems and run smoothly. These solutions offer things like software, consulting, and services tailored to the needs of large organizations.

[ENTERPRISE BUSINESS SOLUTIONS
](https://mindefy.tech/enterprise-business-solutions/)

They streamline processes, boost efficiency, and improve productivity. Whether it's managing finances, handling customer relations, or enhancing operations, these solutions cater to various aspects of business management.

They are designed to be user-friendly and customizable, ensuring they fit the unique requirements of each enterprise. By implementing these solutions, companies can save time, cut costs, and stay competitive in today's fast-paced business world.

Ultimately, enterprise business solutions pave the way for growth and success, enabling companies to focus on what they do best while leaving the rest to specialized tools and services.
Access the Postgres database through Docker, through a PHP API and another C#.
Published: 2024-05-07 13:02:16

I have an API in PHP. I want to learn C# and I want my Application, new to C#, to access my database, which is currently accessed via the PHP API, and I want to do the same access using a C# API. I want to continue accessing through both APIs. I am unable to access my database, Postgres, which is running in a docker cotainer. Can you help me?
My current settings are:
############## docker-compose.yml ##############
version: "3"
services:
  proxy:
    build:
      dockerfile: docker/dev/Dockerfile-proxy
      context: .
    ports:
      - 8080:80
    links:
      - php-fpm

  php-fpm:
    build:
      dockerfile: ./docker/dev/Dockerfile
      context: .
    expose:
      - 9000
    volumes:
      - ./:/src
    environment:
      - APP_ENV=production
      - APP_TIMEZONE=UTC
      - APP_DEBUG=true
      - DB_CONNECTION=pgsql
      - DB_HOST=db-database.com
      - DB_PORT=5432
      - DB_DATABASE=homolog
      - DB_USERNAME=user
      - DB_PASSWORD=********
      - JWT_SECRET=7CCEFE3E6D4A8B37F464C4094415E950946D1
      - EDUZZ_UPLOADER_API_TOKEN=3fe0e403f588db5d1d734c7
      - EDUZZ_UPLOADER_API_URL=https://upload.site.com
      - EDUZZ_CDN_URL=https://cdn.site.com    
      - ACCOUNTS_PARTNER=45463099-c60c-440b-b036
      - ACCOUNTS_SECRET=3c029bb996f2e77b54f5c020  
      - ACCOUNTS_URL=https://accounts-api.eduzz.com
############## Dockerfile ##############
FROM php:7.4-fpm

RUN set -x \
    && apt-get update \
    && apt-get install -y zip unzip git openssh-client libpq-dev cron

RUN set -x \
    && docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
    && docker-php-ext-install pdo pdo_pgsql pgsql

RUN set -x \
    && curl -L https://getcomposer.org/download/1.10.0/composer.phar -o /usr/local/bin/composer \
    && chmod +x /usr/local/bin/composer

RUN composer global require hirak/prestissimo

RUN set -x \
    && mkdir -m 777 /tmp/storage \
    && mkdir -m 777 /tmp/storage/logs \
    && mkdir -m 777 /tmp/storage/framework \
    && mkdir -m 777 /tmp/storage/framework/cache \
    && mkdir -m 777 /tmp/storage/framework/sessions \
    && mkdir -m 777 /tmp/storage/framework/views

WORKDIR /src

COPY docker/dev/php.ini /usr/local/etc/php/conf.d/php.ini
COPY docker/dev/fpm.conf /usr/local/etc/php-fpm.d/www.conf

COPY cron-file /etc/cron.d/cron-file

RUN chmod 0644 /etc/cron.d/cron-file

RUN crontab /etc/cron.d/cron-file

RUN touch /var/log/cron.log

COPY .env.prod /etc/environment

CMD cron cron-file && php-fpm     
############## Operational system ##############
OS: Ubuntu 23.10 x86_64 
Kernel: 6.5.0-28-generic 
CPU: Intel i3-6006U (4) @ 2.000GHz 
GPU: Intel Skylake GT2 [HD Graphics 520] 
Memory: 5442MiB / 15862MiB
Experience Branson King Resort: Your Gateway to Luxury
Tags: javascript, webdev, beginners, programming
Published: 2024-05-07 12:46:10

After a day filled with excitement and adventure, retreat to the comfort and elegance of Branson King Resort and Suites. Situated in the heart of Branson, our resort offers unparalleled luxury and convenience, making it the perfect home base for your [Branson getaway](https://www.bransonkingresort.com/).
Step into our tastefully appointed suites, where modern amenities and plush furnishings await you. Whether you’re traveling solo, with your significant other, or with the whole family, we have accommodations to suit every need. Relax and unwind in our spacious theme rooms, complete with comfortable beds, luxurious bathrooms, and stunning views of the surrounding landscape.
Streaming webcam
Published: 2024-05-07 12:42:45


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zrlqcsvxe91ve2xhwu48.png)
[CHECK PRICE](https://www.amazon.com/OBSBOT-Multi-mode-Correction-Streaming-Conference/dp/B0C3B6ZR1V?dib=eyJ2IjoiMSJ9.3mUQhDZpMiS6d7Og6S_VNkGCa6-Z7GaSm7s2N22cYE0QnEaTHCCXzergWHlLsV8cBx3GYGPeLrh-8-jdT0hKr_yd3v1BU9klpDixXAkKTXHLQZ83GEijQgkLLWTBuPcNS-65RfJdf3Qk9Q6EJFHAwHZTFlBs5b_2CXiKP43KLy0CbXMNaS3PHmt8-rrNFA5lqsy426fl9ha0wx8AmOJ1WiNpGYj09UyCzBgcfJADdXs._OmsVyQT88n2KaKvkSXe2wKrzDfC6T6clUowU3McxAo&dib_tag=se&keywords=webcam&qid=1713854265&sr=8-2-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1&linkCode=ll1&tag=sajal0a-20&linkId=c5295498ffe0ce2c342a80b91b5b8020&language=en_US&ref_=as_li_ss_tl)

I bought this webcam for steaming it's an OBSBOT Tiny 2 Webcam with 4K quality recording and the AI feature is the best thing I love about this webcam. 

While researching I found that there are a few steaming webcams available in the market and this is the best with 90fps, HDR, and many more that are good for me. 

There are other budget options available from Logitech so if you have a low budget then go for the Logi Brio 4k. 

Tune in with me I will share more experience with my webcam.
# Explorando o Poder dos Decorators em TypeScript e NestJS
Published: 2024-05-07 12:39:00

Uma funcionalidade introduzida no **TypeScript**, oferecem uma maneira poderosa de adicionar metadados a classes, métodos e propriedades. Esta capacidade tem sido amplamente explorada na comunidade de desenvolvimento, especialmente em frameworks como **NestJS**, onde os decoradores desempenham um papel fundamental na construção de aplicativos escaláveis e modulares.

## O que são Decorators?

Decorators são uma característica do TypeScript que permite adicionar metadados a definições de classes, métodos, acessadores e propriedades. Eles são denotados pelo prefixo `@` seguido de um identificador. decorators podem ser anexados a declarações de classe, declarações de métodos, declarações de acessadores, declarações de propriedades ou parâmetros de função.

## Benefícios dos Decorators

- **Adição de Metadados**: decorators permitem adicionar metadados a classes e métodos, o que pode ser útil para várias finalidades, como serialização, validação ou configuração de rotas em APIs.
- **Separação de Responsabilidades**: Ao usar decorators para adicionar funcionalidades específicas a classes e métodos, é possível manter um código mais limpo e modular, separando as preocupações em diferentes partes do código.
- **Facilidade de Leitura e Manutenção**: decorators tornam o código mais legível e expressivo, pois as funcionalidades adicionadas por eles são claramente identificáveis na declaração das classes e métodos.

## Decorators em NestJS

Em NestJS, um framework para construir aplicativos Node.js escaláveis e eficientes, os decorators são amplamente utilizados para definir rotas de API, configurar módulos, controladores e provedores de serviços.

Por exemplo, para definir uma rota de API em NestJS, você pode usar o decorator `@Get`, `@Post`, `@Put`, `@Delete` etc., juntamente com um caminho de rota, como mostrado abaixo:

```typescript
import { Controller, Get } from '@nestjs/common';

@Controller('cats')
export class CatsController {
  @Get()
  findAll(): string {
    return 'This action returns all cats';
  }
}
```

*Neste exemplo, o decorator @Get() é usado para definir uma rota GET para a classe CatsController.*

## Conclusão

Decorators em TypeScript e frameworks como NestJS oferecem uma maneira elegante e poderosa de adicionar funcionalidades a classes, métodos e propriedades. Eles promovem a modularidade, a legibilidade e a manutenção do código, tornando-os uma ferramenta valiosa para desenvolvedores que buscam criar aplicativos escaláveis e bem estruturados.

Explore os decorators em seus projetos TypeScript e NestJS e descubra como eles podem simplificar e melhorar sua experiência de desenvolvimento!

Para mais informações seguem os links abaixo:
 

https://www.typescriptlang.org/docs/handbook/decorators.html
https://docs.nestjs.com/custom-decorators

NestJS é #$%¨@$ de uma chance para ele kkkkkkk