teleren/devto huggingface dataset:
#FelizAniversario AWS
Tags: aniversarioaws, cloudcomputing, aws, awsusergroups
Published: 2023-12-06 21:30:51

En el blog de la comunidad AWS Women Colombia User Group, celebramos el aniversario de los servicios AWS, con datos curiosos sobre su origen.

Hasta la fecha hemos publicado los siguientes aniversarios:

**Diciembre**

- Amazon Route 53: 5 Diciembre - 2010
- AWS Outposts: 3 Diciembre - 2019
- Amazon Pinpoint: 01 Diciembre - 2016
- AWS Step Functions: 01 Diciembre - 2016

**Noviembre**
- Amazon Polly: 29 Noviembre - 2015
- Amazon Lex: 29 Noviembre - 2015
- Amazon Rekognition: 29 Noviembre - 2015
- Amazon MSK: 29 Noviembre - 2018
- Amazon DeepLens: 29 Noviembre - 2018
- Translate: 29 Noviembre - 2017
- Transcribe: 29 Noviembre - 2017
- SageMaker: 29 Noviembre - 2017
- AWS Systems Manager: 29 Noviembre - 2017
- AWS Fargate: 29 Noviembre - 2017
- Amazon Textract: 28 Noviembre - 2018
- Amazon Personalize: 28 Noviembre - 2018
- Amazon Lake Formation: 28 Noviembre - 2018
- Amazon Forecast: 28 Noviembre - 2018
- Amazon CloudFront: 18 Noviembre - 2008
- AWS Lambda: 13 Noviembre - 2014
- AWS CloudTrail: 13 Noviembre - 2013
- AWS KMS: 12 Noviembre - 2014

**Agosto**
- Amazon VPC: 25 Agosto - 2009
- Amazon EC2: 25 Agosto - 2006
- Amazon EBS: 20 Agosto - 2008
- AWS Glue: 17 Agosto - 2017

**Julio**

- Amazon SQS: 13 Julio - 2006
- Amazon API Gateway: 9 Julio - 2015
- AWS CodePipeline: 9 Julio - 2015

**Junio**
- Amazon Elastic File System: 28 junio - 2016
- Amazon HoneyCode: 24 junio - 2020

**Mayo**
- Amazon ELB: 18 mayo - 2009
- AWS CloudFormation: 5 Mayo - 2010

**Abril**
- Amazon AppFlow: 22 Abril - 2020
- Amazon SNS: 7 Abril - 2010
- AWS Secrets Manager: 4 Abril - 2018

Publicado en: [AWS Women Colombia](https://awswomencolombia.com/series/feliz-aniversario)
Triggers
Tags: mysql, bancodedados, sql
Published: 2023-12-06 21:26:08

Introdução:
No universo da gestão de bancos de dados, triggers desempenham um papel crucial na automação de ações baseadas em eventos específicos. Este artigo mergulhará na definição, sintaxe, e em uma análise abrangente das vantagens e desvantagens de triggers.

Definição:
Triggers são tipos especiais de procedimentos armazenados que são executados automaticamente em resposta a eventos predefinidos em um sistema de gerenciamento de banco de dados relacional (SGBDR). Esses eventos podem variar de modificações de dados a alterações de esquema, permitindo respostas proativas às atividades do banco de dados.

Sintaxe:
A sintaxe para triggers varia entre os sistemas de gerenciamento de banco de dados, mas um modelo genérico pode ser delineado.

CREATE [OR REPLACE] TRIGGER nome_do_trigger
BEFORE/AFTER INSERT/UPDATE/DELETE ON nome_da_tabela
FOR EACH ROW
BEGIN
   -- Lógica do trigger aqui
END;

Vantagens:
Automatização: Triggers automatizam tarefas rotineiras, reduzindo a necessidade de intervenção manual em determinados cenários.
Manutenção da Integridade de Dados: Ao impor regras de negócios e restrições, triggers contribuem para manter a integridade dos dados dentro do banco de dados.
Registro e Auditoria: Triggers facilitam o registro de eventos específicos, auxiliando na auditoria abrangente e rastreamento de alterações no banco de dados.
Lógica de Negócios Complexa: Eles permitem a implementação de lógica de negócios complexa no nível do banco de dados, garantindo consistência no comportamento da aplicação.

Desvantagens:
Impacto no Desempenho: Triggers mal projetados podem impactar o desempenho do banco de dados, levando a tempos de resposta mais lentos.
Complexidade de Depuração: Depurar triggers pode ser desafiador, pois operam implicitamente e podem não fornecer mensagens de erro claras.
Natureza Implícita: Triggers operam implicitamente, tornando crucial que desenvolvedores e administradores estejam cientes de sua existência e impacto potencial.
Dependência do Sistema de Banco de Dados: Triggers são específicos do sistema de banco de dados, limitando a portabilidade entre diferentes plataformas de SGBDR.

Conclusão:
Em conclusão, triggers são ferramentas poderosas que, quando usadas com discernimento, aprimoram a funcionalidade e confiabilidade de um banco de dados relacional. Compreender sua sintaxe, vantagens e desvantagens é essencial para desenvolvedores e administradores de banco de dados tomarem decisões informadas ao projetar e manter sistemas de banco de dados robustos.
My video on how I am organizing my Jetpack Compose code
Tags: mobile, kotlin, android, tristan
Published: 2023-12-06 21:23:38

### Introduction
- Here is my YouTube video on how I am organizing my Jetpack compose code
- [GitHub code](https://github.com/thePlebDev/Clicker/blob/master/app/src/main/java/com/example/clicker/presentation/stream/views/TwitchIRCSystemNotifications.kt#L66)
{% youtube https://www.youtube.com/watch?v=NBi9TokyKTg %}
How To Implement Free, Fast, Local Search Using Fuse.js with Next.js SSR
Tags: nextjs, webdev, react, tutorial
Published: 2023-12-06 21:20:07

Hi Devs!

I am excited to share an article I recently wrote on how to implement search using Fuse.js with Next.js SSR. The post contains animations and code that is better viewed directly on our website so i'll link it here:

https://konfigthis.com/blog/how-to-implement-free-fast-local-search-with-fuse-js-with-next-js-ssr

Let me know if you have any questions anymore questions or comments on the tutorial!
Amazon EMR Summary
Tags: aws, cloud, datascience, dataengineering
Published: 2023-12-06 20:36:00

## What is Amazon EMR
EMR stands for Elastic MapReduce and EMR helps you create **Hadoop clusters** for doing big data on AWS.

This allows you to **analyze and process vast amount of data**.
Anytime you would see anything related to big data clusters with Hadoop clusters, then think Amazon EMR.

These clusters have to be provisioned and they can be made of hundreds of EC2 instances.

## Why would you use EMR?

EMR comes bundled with a lot of tools that big data specialist use.
For example, **Apache Spark**, or **HBase**, or **Presto**, or **Apache Flink**.
They're very difficult to set up, so Amazon EMR will take care of all the **provisioning** and the configuration of these services for you.

You can also **auto-scale** your entire cluster and it's **integrated with spot instances** for you to benefit from price reductions.

## The use cases of Amazon EMR

You can use Amazon EMR for Data Processing, doing Machine Learning, Web Indexing and Big Data, but all of them using big data related technologies such as Hadoop, Spark, HBase Preso Flink, and so on.

## Amazon EMR Components
Amazon EMR is made of clusters of EC2 instances and you have different kind of nodes.

**Master Node**
The Master Node manages the cluster, it will _coordinate and manage the health of all your other nodes_, and it must be `long running`.

**Core Node**
they're here to _run tasks and also store data_, and they must be `long running` as well.

**Task Node**
which is there just to _run tasks_. Usually you can take spot instances for it and using task node is _optional_.

[GitHub](https://github.com/a00ayad00)
[LinkedIn](https://www.linkedin.com/in/a00ayad00)
[Facebook](https://m.facebook.com/a00ayad00)
[Medium](https://a00ayad00.medium.com/)
Discovering CIAM
Tags: discovery, auth0, ciam
Published: 2023-12-13 14:14:17

---
title: Discovering CIAM
published: true
date: 2023-12-06 20:28:00 UTC
tags: Discovery,auth0,ciam
canonical_url: https://discovery.cevolution.co.uk/auth0/2023/12/06/discover-ciam-and-the-benefits-of-integrating-with-the-auth0-platform/
---

Welcome to my CIAM Discovery blog! My name’s Peter, and this is my inaugural post 🎉

For those of you who may have read my blog post [here](https://discovery.cevolution.co.uk/blog/2023/12/05/embarking-on-a-journey-of-discovery/), you’ll know that I’ve started to build a number of Discovery sites dedicated to my views on the things that I discover along my way. I decided to build not just one site, but rather a series of sites focusing on different subjects. And it all started because I felt I needed to share more about the things I’ve learnt – in the hope that some of it will be helpful to others.

But it’s not just about me being altruistic 😉 About 6 months ago, I made the move to the Developer Relations team at Okta, becoming a Principal Developer Advocate for all things Auth0. I’ve been working at Okta (and previously Auth0, before the acquisition) for a little over 5 and a half years, and for most of that time I’ve been a Solutions Architect – helping folks who’d purchased Auth0 integrate their products with the platform. As a Solutions Architect my job was to help customers integrate with Auth0; as a Developer Advocate, my job’s become more about educating (prospective) customers on all things CIAM, and how Auth0 can help.

Which brings us nicely back to my CIAM Discovery blog 😊 It’s my intention that this will become a vehicle for me to achieve two objectives in one fell swoop: share more about the things I’ve learnt in regards all things CIAM, whilst at the same time helping to build my community presence as an expert in all things CIAM/Auth0.

For the foreseeable future I shall most likely be focusing my attention on the mobile platforms – namely iOS and Android. I’ve been a developer for over 30 years, and have built everything from frontends to backends, embedded systems, kernel level modules, and several of the points inbetween. But I’m a relative novice when it comes to mobile development. So this is an exciting opportunity for me: discover a new horizon…leveraging a vista that is much more familiar – namely the world of CIAM 😎

I hope you’ll enjoy the journey with me. For now, let me leave you to browse the [CIAM Discovery](https://discovery.cevolution.co.uk/auth0) site, which sets the stage for the world of Customer Identity & Access Management. And perhaps you might discover how to enable safe, secure, and reliable CIAM in your application(s), by integrating with Auth0: the Software-as-a-Service (SaaS) platform that powers the [Okta Customer Identity Cloud](https://www.okta.com/customer-identity/). Enjoy! 🤗
The first month in CS Diploma
Tags: developer, webdev, programming, beginners
Published: 2023-12-06 20:26:33

Hey guys,

Two months ago I applied for a CS(Computer science) diploma in ASST (Arab Academy for Science and Technology). I'm sucked at self-taught learning and need to have the academic basics of CS.

Last month I started the journey. I chose 3 subjects for the first semester. Intro to programming, Intro to computing, digital logic, and computer design.

I decided to share the knowledge that I will have with you, and feel free to ask me any question we're here to share our knowledge with you.

Here I'll list what I had last month in 3 subjects:
First, Intro to programming 
We have the basics of C language 

- Syntaxes 
- Conditions (If - nested if - switch)
- Loop (for - while - do...while)

Second, Intro to Computing 
We started with "Understand Computers Today and Tomorrow 16th edition" which took 4 chapters, a numbering system, and a flowchart.

Last, digital logic design 
Numbering system also and digital gates.

I will arrange my time and share at least 3 posts every week. 

Wish me luck guys and hope all is well with you.

Here are my social links if you would like to follow.

Github: https://github.com/EsraaNasr92/
Twitter / X: https://twitter.com/Esraa_nasr92
Instgram: https://www.instagram.com/_esraaanasr/
List all of your buckets in Lambda
Tags: lamda
Published: 2023-12-06 20:22:45

import {S3Client, ListBucketsCommand} from '@aws-sdk/client-s3';
const s3 = new S3Client({region: 'us-west-2'});

export const handler = async (event) => {
  const data = await s3.send(new ListBucketsCommand({}));
  return data.Buckets;
};
🤔 Python Quiz: Unpacking Sequences in Python
Tags: python, programming, beginners, codenewbie
Published: 2023-12-06 20:19:07

[Follow me to learn 🐍 Python](https://dev.to/vladignatyev) in 5-minute a day fun quizzes!

Todays quiz is all about sequences and unpacking them. When you deal with list-type objects or tuples, sequence unpacking come to help! In this quiz guess a proper usage to unpack function arguments and print out user's score!

## Sample 1
```python
def process_data(*data):
    name, age, *scores = data
    print(f"Name: {name}, Age: {age}, Scores: {scores}")

process_data("Alice", 30, 75, 85, 90)
```

## Sample 2
```python
def process_data(*data):
    name, *age, scores = data
    print(f"Name: {name}, Age: {age}, Scores: {scores}")

process_data("Bob", 25, 80, 70, 95)
```

Which code snippet is correct? Post your answer in the comments – is it 0 for the first sample or 1 for the second! As usual, the correct answer will be explained later in comments.
Building a Full-Stack Web App with Next.js 14, Resend & Supabase
Tags: webdev, javascript, programming, nextjs
Published: 2023-12-06 20:13:09

{% embed https://youtu.be/HNXKB2Yn5O0?si=zbeM3tqXRs9v6uLY %}

👉 Github repository https://dub.sh/pwD7Fag
👉 Subscribe to my newsletter here! Top 5 code news of the week: https://dub.sh/codewithg

In the dynamic world of web development, staying up-to-date with the latest technologies and frameworks is crucial. One such exciting venture is the video tutorial "Building a Full-Stack Web App with Next.js 14, @resendlabs & @Supabase," a comprehensive 4-hour guide to creating a powerful web application. This tutorial takes you on a journey from installation to building a feature-rich web app, covering every aspect of the development process.

The video tutorial begins with a step-by-step installation guide and gradually dives into topics like project organization, architecture, and using Next.js hooks and context. Notably, it explores the integration of Supabase, a real-time database, and authentication service, making the app not only robust but also secure. Tailwind CSS is introduced to enhance the app's visual appeal, and a bonus section discusses Uicolors.app for effective color choices.

The latter part of the tutorial delves into advanced features, including campaign management, email editing, and in-depth testing. Throughout the video, you'll find valuable insights, tips, and practical examples to help you build your own full-stack web app with confidence.

In conclusion, "Building a Full-Stack Web App with Next.js 14, @resendlabs & @Supabase" is a comprehensive resource for both beginners and experienced developers looking to expand their skill set. With its detailed breakdown of each step and hands-on approach, this tutorial equips you with the knowledge and expertise needed to create modern, robust web applications. So, roll up your sleeves, hit play, and embark on a rewarding journey to becoming a full-stack web developer.

Guillaume Duhan
tsParticles 3.0.2 Released
Tags: typescript, webdev, javascript, showdev
Published: 2023-12-06 20:02:08

## tsParticles 3.0.2 Changelog

### Bug Fixes

- Fixed trails config
- Fixed flat output in [@tsparticles/confetti](https://npmjs.com/package/@tsparticles/confetti)
- Improved sounds plugin
- Fixed position in emitters after respawn

### New Features

- Added new EventType particleDestroyed
- Replaced text shape with emoji shape in [@tsparticles/confetti](https://npmjs.com/package/@tsparticles/confetti)
- Reworked [@tsparticles/fireworks](https://npmjs.com/package/@tsparticles/fireworks) a bit for better output with the new v3 trails

--

## Social links

- [Discord](https://discord.gg/hACwv45Hme)
- [Slack](https://join.slack.com/t/tsparticles/shared_invite/enQtOTcxNTQxNjQ4NzkxLWE2MTZhZWExMWRmOWI5MTMxNjczOGE1Yjk0MjViYjdkYTUzODM3OTc5MGQ5MjFlODc4MzE0N2Q1OWQxZDc1YzI)
- [WhatsApp](https://chat.whatsapp.com/KQyHc9UEbRc2qlqNQR2J5c)
- [Telegram](https://t.me/tsparticles)
- [Reddit](https://www.reddit.com/r/tsParticles/)

---

{% github matteobruni/tsparticles %}
buckle up for GEMINI revolution
Tags: gemini, gpt4, highnitin, ai
Published: 2023-12-06 19:51:02

🚨Google just announced Gemini! Google Gemini beats Human experts at MMLU and also beats GPT-4!

Crazy showcase 🔥 checkout:

https://www.youtube.com/watch?v=UIZAiXYceBI

Read more at - https://blog.google/technology/ai/google-gemini-ai/
Powershell basics for Cybersecurity
Tags: powershell, beginners, cybersecurity
Published: 2023-12-06 19:49:06

PowerShell is a scripting and automation framework that is widely used in cybersecurity for tasks such as log analysis, vulnerability scanning and incident response. PowerShell is primarily associated with Windows,but it's also becoming increasingly cross-platform with Linux and MacOS. 

In this PowerShell basics, I'll highlight aspects relevant to cybersecurity along with sample code.

### 1. **PowerShell Basics:**

#### a. **Variables:**
```powershell
# Variable assignment
$name = "John"
Write-Host "Hello, $name!"
```

#### b. **Arrays:**
```powershell
# Array creation and iteration
$fruits = @("Apple", "Banana", "Orange")
foreach ($fruit in $fruits) {
    Write-Host $fruit
}
```

#### c. **Functions:**
```powershell
# Function definition and usage
function Greet {
    param (
        [string]$name
    )
    Write-Host "Hello, $name!"
}

Greet -name "Alice"
```

#### d. **Conditionals:**
```powershell
# If-else statement
$number = 10
if ($number -gt 5) {
    Write-Host "The number is greater than 5."
} else {
    Write-Host "The number is 5 or less."
}
```

### 2. **PowerShell for Cross-Platform:**

#### a. **Installing PowerShell on Linux:**
- For Debian-based systems (e.g., Ubuntu):
  ```bash
  sudo apt-get update
  sudo apt-get install -y powershell
  ```

- For Red Hat-based systems (e.g., CentOS):
  ```bash
  sudo yum install -y powershell
  ```

#### b. **Running PowerShell on Linux:**
- Open a terminal and type `pwsh` to start PowerShell.

### 3. **PowerShell in Cybersecurity:**

#### a. **Log Analysis:**
```powershell
# Example: Analyzing Windows Security Event Logs
$securityEvents = Get-WinEvent -LogName Security -MaxEvents 10
foreach ($event in $securityEvents) {
    Write-Host "Event ID: $($event.Id) | Message: $($event.Message)"
}
```

#### b. **Vulnerability Scanning:**
```powershell
# Example: Checking for open ports using Test-NetConnection
$computers = @("192.168.1.100", "192.168.1.101")
foreach ($computer in $computers) {
    $result = Test-NetConnection -ComputerName $computer -Port 80
    Write-Host "$computer | Port 80 open: $($result.TcpTestSucceeded)"
}
```

#### c. **Incident Response:**
```powershell
# Example: Collecting system information after an incident
$systemInfo = Get-WmiObject Win32_ComputerSystem
$processes = Get-Process

Write-Host "System Information:"
Write-Host "Computer Name: $($systemInfo.Name)"
Write-Host "Total Processes: $($processes.Count)"
```
Sample Output:
```powershell

PS C:\Users\ABC> Write-Host "Computer Name: $($systemInfo.Name)"
Computer Name: SWXXXXOY
PS C:\Users\ABC> Write-Host "Total Processes: $($processes.Count)"
Total Processes: 276
PS C:\Users\ABC>
```

These are simple examples, and in real-world scenarios, PowerShell scripts can be much more complex and tailored to specific cybersecurity tasks. 


[Free Microsoft training](https://learn.microsoft.com/en-us/training/paths/powershell/)

Note: No affiliations here...
Java vs JavaScript: A Quirky Exploration of Programming Languages
Tags: javascript, java, fun
Published: 2023-12-06 19:36:28

  In the world of programming, the distinction between Java and JavaScript often stirs confusion. Despite their similar names, these two languages are as different as chalk and cheese. To illustrate this point, let's delve into a whimsical analogy: Java is to JavaScript as van is to vanillin.   
  
  This comparison might seem odd at first, but it perfectly encapsulates the essence of the Java-JavaScript conundrum. The analogy was inspired by two thought-provoking quotes:  
* "Java is to JavaScript as car is to carpet" - Chris Heilmann
* "Java is to JavaScript as ham is to hamster" - Jeremy Keith
  
  These quotes brilliantly express the idea that similar-sounding terms can have vastly different meanings. This concept sparked an intriguing idea: what if there was a platform that showcased all possible word pairs where the first word is a prefix of the second, yet they convey different meanings?  
  
  With this thought, I embarked on a journey to turn this idea into reality. The result? A unique web page: www.whatisjavatojavascript.com. This platform generates statements similar to the quotes above, offering a fun and interactive way to explore the fascinating world of words and their meanings.   
  
  So, whether you're a language enthusiast, a coding aficionado, or someone who enjoys a good play on words, this platform is for you. Dive in and see if you can find your favorite pair! And remember, just like Java and JavaScript, things aren't always as similar as they sound.
Example HTML response Lambda
Tags: lamdba
Published: 2023-12-06 19:34:42

export const handler = async (event) => {
  const response = {
    statusCode: 200,
    headers: {
        "Content-Type": "text/html"
    },
    body: `<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>test</div></body></html>`
  };
  return response;
};
"Embracing Rest for Productivity": CodeNewbie Podcast S26E6
Tags: podcast, codenewbie, career, beginners
Published: 2023-12-06 18:35:26

In our sixth episode of Season 26 of the CodeNewbie Podcast, @saronyitbarek talks about becoming a tech leader and the significance of mental health breaks during career shifts with [Ronesha Dennis](https://twitter.com/roneshaddennis), Founder and Lead Engineer at Bergeron-Woodley.

{% embed https://www.codenewbie.org/podcast/embracing-rest-for-productivity %}

Ronesha D. Dennis is a software engineer and coding instructor. She is the author of a coding book series for children titled Coding with Cornell, and a coding book for young adult and adult beginners titled Python, the Relatable Way.

- [Listen on Apple Podcasts](https://podcasts.apple.com/us/podcast/codenewbie/id919219256?i=1000637659962)

- [Listen on Spotify](https://open.spotify.com/episode/39Z5CZFG6q8RYFaayyNuuq?si=81c4fd6c9e074c19)

Or, listen wherever you normally get your podcasts!

***

### We will see you next week, happy coding

PS: Make sure to subscribe to the CodeNewbie podcast if you haven't yet + review us on your chosen platform!
Progress - Open Source Project(w. Codu)
Published: 2023-12-06 18:03:53

#### Intro
I dived into the [issue](https://github.com/codu-code/codu/issues/528) to find a workaround, unfortunately, I couldn't find it and I was stuck on the issue for over a week. And I reached out to the author to get some help, but he also didn't have any good ideas for the issue. However, he has a best friend working for `Vercel` and we decided to wait for his help. 

#### Issue
The issue happens because `Next js` router.events was deprecated after version 13, and our project is working on `Next js v14`. Now, it's time to refactor the existing code, but the latest version 14 doesn't come with `router.events` method and many people are struggling with this issue and complaining. You can refer to [this](https://github.com/vercel/next.js/discussions/42016).

#### Challenge
The latest `Next js` is updated, and now users can listen for page changes by composing other Client Component hooks like `usePathname` and `useSearchParams` instead of using `router.events`.

```ts
'use client'
 
import { useEffect } from 'react'
import { usePathname, useSearchParams } from 'next/navigation'
 
export function NavigationEvents() {
  const pathname = usePathname()
  const searchParams = useSearchParams()
 
  useEffect(() => {
    const url = `${pathname}?${searchParams}`
    console.log(url)
    // You can now use the current URL
    // ...
  }, [pathname, searchParams])
 
  return null
}

```

Also, some people suggested their workaround(https://www.npmjs.com/package/nextjs13-router-events), but there was no luck, and couldn't fix the issue. 

#### End
As I dig into the issue and time goes by, I feel frustrated a bit and stressed out. It makes me feel like this is my limit, so I try to stop looking into this issue for a while, I'll be waiting for good ideas from the author and will get back to the issue later on.