teleren/devto huggingface dataset:
Learning AWS Day by Day — Day 13 — AutoScaling — Part 2
Tags: aws, cloud, cloudcomputing, learning
Published: 2024-03-22 16:25:14


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

Exploring AWS !!

Day 13:

Autoscaling — Part 2:

Instance Termination:

When scaled in then check if instance is available in multiple availability zones, if Yes then select availability zone with most instances and if No, then select instances with oldest launch configurations. Further, check if there are multiple instances using oldest launch configurations, if No, Terminate the instance. If Yes, then in that case select instances next to closest billing hour. If there are multiple instances closest to next billing hour, then select random instance and terminate the instance.

Instance Termination Policies (other than default):

Oldest Instance
Newest Instance
Oldest Launch Configuration
Closest to next instance hour

Instance protection does not terminate an instance during a scale in event. It can be enabled at autoscaling group or individual instance level.

Autoscaling pricing:
No additional fees
Underlying instance are charged hourly

ELB and Autoscaling Integration:
Autoscaling: adds and removes capacity as per requirement.
Load Balancer: Distributes incoming traffic evenly across all EC2 instances.
Placing ELB in front of autoscaling makes sure that all the incoming traffic are distributed, dynamically changing number of EC2 instances.
ELB is point of contact between clients and backend EC2 instances.
Load Balancers automatically registers instances in group.

Health Checks:
EC2 instances only: EC2 status checks are configured.
EC2 and ELB health checks: An instance is considered unhealthy if either of the health checks fail.
How to convert your screen recordings to GIF on macOS?
Tags: video, gif, bitbucket, macos
Published: 2024-03-22 16:19:25

As **frontend developers**, you often need to share screenshots or **video recordings** to your Pull/Merge Requests, Issues or just on Slack.

And some platforms like **Bitbucket** don't accept videos but only images so a **GIF is a good alternative**.

So I recently created a **tool** to easily convert a video screen recording to a GIF. It is fast and generates a GIF small enough to be accepted by Bitbucket while high-resolution enough.

See the result by yourself:

![example of gif](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eelcm14ojb0zjr8q0tg9.gif)

## Installation

You just need to install few libraries:
```bash
brew install ffmpeg imagemagick

# if you are using macOS silicon
arch -arm64 brew install ffmpeg imagemagick
```

Then you install this Apple shortcut: https://www.icloud.com/shortcuts/db18892750f3453c83d57281915be17f

## Then enjoy!

On macOS, you can record your screen in a blink using `CMD+Shift+5`,

Once you have recorded your screen and you have a .MOV video, you can just convert to GIF using the context menu in the Finder: 

![Use the context menu to use the tool](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mltvswizqhnelaf2locx.png)


An option to convert to GIF from a bash script is available too.

Details are available there: https://github.com/friedrith/productivity/blob/master/convert-video-to-gif.md

If you found this tool useful, don't hesitate to star the repository or post a comment below this post.
Meme Generator Sample With React
Tags: react, css, javascript, beginners
Published: 2024-03-22 15:42:33

The Memo repository is a Meme Generator sample built with React, designed to enable users to generate PNG or JPG images from custom HTML content. This content can include images and text, with the option to position two headings absolutely on the image. The top heading appears at the top of the image, while the bottom heading is positioned at the bottom.

[Memo Timeline Repository](https://github.com/paghar/meme-generator)

#### Users can utilize the Memo repository to:
- Allows users to create custom memes by overlaying text on an image.
- Users can input any HTML content they desire, including images and text.
- Supports absolute positioning of two headings on the image, one at the top and one at the bottom.
- Users can add images from their local disk using a file input.
- Provides the ability to download the generated meme in PNG or JPG format.
Aioewa
Tags: extensions, javascript, opensource, github
Published: 2024-03-22 15:35:40

Aioewa aka **A**ll **I**n **O**ne **E**xtension **W**ith **A**ddons is a chrome browser extension that contains many types of addons. It is very dynamic for the user and the developer. It is still in the very early stage, but advanced addons is still very much possible.

Want to look in to it further?
[Here is the link](https://github.com/StioStudio/Aioewa)
Word Search Puzzles for Kids
Published: 2024-03-22 15:35:27

Word search puzzles are engaging activities that offer numerous benefits for kids' learning and development. Here's a more detailed exploration:

Vocabulary Building: Word search puzzles expose children to new words and reinforce vocabulary they already know. By searching for words related to specific themes or topics, kids learn the meanings and spellings of various words.

Pattern Recognition: Completing word search puzzles helps children develop pattern recognition skills as they scan through the grid of letters to locate words horizontally, vertically, diagonally, and sometimes backward. This skill is essential for reading and problem-solving.

Concentration and Focus: Solving word search puzzles requires concentration and focus. As kids search for words amidst a grid of letters, they learn to pay attention to detail and stay focused on the task at hand, enhancing their concentration skills.

Critical Thinking: While searching for words, children engage in critical thinking as they analyze the letters in the grid and strategize the most efficient way to find the words. They also learn to eliminate distractions and focus on relevant information.

Educational Content: Word search puzzles can be tailored to various educational topics, making them valuable supplements to classroom learning. Teachers often use themed word searches to reinforce lessons in subjects such as science, geography, history, and language arts.

Interactive and Printable Options: Word search puzzles are available in both interactive online formats and printable worksheets. Interactive puzzles offer a dynamic experience with features like timer settings and hints, while printable puzzles provide a hands-on, screen-free option that can be easily distributed in classrooms or used during travel.

Engagement and Enjoyment: Most importantly, word search puzzles are fun and engaging for kids. They offer a sense of accomplishment when words are found and crossed off the list, motivating children to continue solving puzzles and challenging themselves with increasingly difficult grids.

Overall, word search puzzles are versatile educational tools that promote learning in an enjoyable and interactive way, making them a valuable addition to any child's learning repertoire.
Cuando la tecnología aporta... ¿confusión?
Tags: spanish, computer, automatization, reallife
Published: 2024-03-22 15:23:03

---
title: Cuando la tecnología aporta... ¿confusión?
series: Rumiando
published: true
description: ...o cuando no se automatizan los procesos correctamente.
tags: #spanish #computer #automatization #reallife
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-03-22 15:01 +0000
---

Cierto día fui a la consulta del médico para una extracción de sangre. Para ser más exactos, tenía cita con la enfermera en un centro de salud del [SERGAS](https://www.sergas.gal/).

Llego, meto mi tarjeta en la máquina de citas, y me saca un papelorio parecido al siguiente:

```
Ud. tiene cita
  a las 8:15
en la consulta2
de la planta baja,
con la vez B001,
sala de espera 1.

(Las horas de
    citación
son aproximadas.)
```

Y, como no, empieza la confusión. ¿Dónde está la `sala de espera 1`? ¿Dónde está la `consulta2`?

Y es que en mi centro de salud las salas de consulta se numeran como `B01`(médico), `B02`(enfermera), `B03` (médico),... Bueno, es fácil hacerse una idea. De hecho, imagina una pasillo rectangular con consultas en cada una de las paredes... ese, más o menos es el centro de salud al que yo acudo. Seguramente, asignaron las numeraciones de las consultas como `B` (de planta baja), y un número de dos dígitos (el centro de salud no llega a la docena de consultas, que yo sepa).

Por lo que puedo deducir, la máquina de citaciones debía haber sido programada con unos datos más o menos parecidos a estos:

```
Consulta[1] = B01
Consulta[2] = B02
Consulta[3] = B03
...
Sala de espera[1] = Sala de espera
```

Y sin embargo fue programada (¿como de fábrica?), con los siguientes datos:

```
Consulta[1] = Consulta1
Consulta[2] = Consulta2
Consulta[3] = Consulta3
...
Sala de espera[1] = Sala de espera1
```

Pero aún se puede hacer un poco peor. ¿Te has fijado en el número de vez? Pues sí, efectivamente. No tengo ni idea del criterio que siguen para asignar letras a los números de vez, probablemente sea para distinguir entre consulta con le médico (quizás la 'A') o con la enfermera (con la 'B'), o quizás las letras roten diriamente... no lo sé. El problema es que el número de vez es el `B001`, que se parece muchísimo al número de la consulta de mi médico, el `B01`...

A ver, efectivamente podemos suponer y razonar que el número de consulta se asignó según lo cerca que estuviera de la puerta de entrada. Además, yo tenía cita con la enfermera, así que el que mi consulta fuese atendida en la sala `B01` (la del médico), no tenía mucho sentido.

Sin embargo, debemos recordar que la informática sirve principalmente para automatizar procesos, como el de encontrar la sala para tu cita médica. Si en lugar de aclarar dudas, las incrementa, estamos haciendo un flaco favor al proceso, que es mejor dejar como estaba (me toca con mi enfermera: o pregunto cuál tengo asignada, o ya sé a dónde debo ir).

Desde un punto de vista puramente informático, si no las simplificas, estas empeorando las cosas.
Ibuprofeno.py💊| #60: Explica este código Python
Tags: python, programming, learning, beginners
Published: 2024-03-22 15:15:03

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Básico</mark></center>

```py
## Reto #60
my_dict = {"nombre": "John", "edad": 30, "ciudad": "New York"}

my_dict["isSoltero"] = True
my_dict["edad"] = 25

print(my_dict)
```

👉 **A.** `{'nombre': 'John', 'edad': 30, 'ciudad': 'New York', 'isSoltero': True}`
👉 **B.** `{'nombre': 'John', 'edad': 25, 'ciudad': 'New York', 'isSoltero': True}`
👉 **C.** `{'nombre': 'John', 'edad': 25, 'ciudad': 'New York'}`
👉 **D.** `{"nombre": "John", "edad": 30, "ciudad": "New York"}`

---

Respuesta en el primer comentario.
3 hemsidemallar för småföretagare!
Tags: news, design, community, startup
Published: 2024-03-22 15:13:22

3 hemsidemallar, var och en noggrant designad för att passa perfekt för olika yrkesgrupper: elektriker, städfirmor, och de inom ekonomi, bokföring, och redovisning.

![hemsidemall för elektriker](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r4vg9sokylpnw544ioz9.jpg)

## Elektriker: Varje klick ger gnistor!
Upptäck mallen som transformerar din elektrikerverksamhet online. Med stilsäkra animationer och en design som fångar både blicken och behovet, är denna layout mer än bara en digital fasad. Den berättar din historia, lyfter fram din expertis och bygger broar till dina kunder.

[Se mall](https://mallar.designrutan.se/mall/kjells-elektriska)

![hemsida för städfirma](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ro01z5je36lngq1sy1x6.jpg)

## Städfirmor: Få din webbplats att glänsa!
Vår specialdesignade mall för städfirmor blänker inte bara till – den håller besökarnas intresse polerat från start till mål. Genom en kombination av visuell attraktion och direkt kommunikation, skapas en oemotståndlig inbjudan till samtal och samarbete.

[Se mall](https://mallar.designrutan.se/mall/kjells-stadfirma)

![webbplats åt redovisningsbyrå](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ykr5l0n77a64bvtbpzb8.jpg)

## Ekonomi/Bokföring/Redovisning: Siffror som berättar din framgång!
För de i finansvärlden introducerar vi en mall där varje pixel räknas. Denna design använder sig av sofistikerade animationer för att förenkla din kommunikation, presentera dina tjänster och förmedla din professionalism.

I dessa mallar har jag kombinerat funktion med form för att skapa inte bara en webbplats, utan en erfarenhet som speglar din unika verksamhet.

[Se mall](https://mallar.designrutan.se/mall/kjells-ekonomi)

## Varför välja mina mallar?
Jag har gjort dessa mallar SEO-optimerade för att boosta din synlighet online och dra till sig mer trafik. De är superflexibla och lätta att anpassa, vilket betyder att du kan göra din webbplats unikt din. Plus, de är användarvänliga, så du kan få din webbplats att rulla på nolltid.

[Gå till Designrutan](https://mallar.designrutan.se)
React Summit US
Tags: webdev, javascript, react, reactjsdevelopment
Published: 2024-03-22 15:01:34

And... we're heading back to New York! 🗽Prepare for deep learning and a lot of networking at the West's largest planetarium.

📅November 18-21
🪐Learn from 50+ stars in the industry
⛴️Take a ferry with views of Manhattan
🥂Have fun at the biggest React Party in the US

Secure your ticket now 🎟️https://reactsummit.us/
React Advanced London is back on October 25 & 28!
Tags: react, webdev, javascript, reactjsdevelopment
Published: 2024-03-22 15:01:08


🌊Dive deep into React 19, Performance, Server Components, Senior-Driven Tech Mindset & more! Play board games with your old & new friends and enjoy the party with awesome folks & karaoke🎤

Grab your ticket now 🎟 https://reactadvanced.com/
React Advanced London is back on October 25 & 28!
Tags: react, webdev, javascript, reactjsdevelopment
Published: 2024-03-22 15:01:00


🌊Dive deep into React 19, Performance, Server Components, Senior-Driven Tech Mindset & more! Play board games with your old & new friends and enjoy the party with awesome folks & karaoke🎤

Grab your ticket now 🎟 https://reactadvanced.com/
Fetching Yesterday's Date in JavaScript: A Beginner's Guide
Tags: webdev, javascript, beginners, programming
Published: 2024-03-22 14:47:58

### Fetching Yesterday's Date in JavaScript: A Beginner's Guide

[DEMO](https://todaysdatenow.com/tools/yesterday/)👀

Handling dates is a fundamental part of web development. One common task you might face is getting yesterday's date. This article will guide you through the process in JavaScript, ensuring clarity and simplicity.

To start, JavaScript's `Date` object is your go-to for date-related operations. Here’s a quick way to get yesterday’s date:

1. **Create Today's Date Object**: `let today = new Date();`
2. **Get Yesterday's Date**: Subtract one day from today's date using `setDate()` and `getDate()`.

```javascript
let today = new Date(); // Today's date
let yesterday = new Date(today); // Copy today's date
yesterday.setDate(yesterday.getDate() - 1); // Subtract one day
```

This code snippet makes a copy of today's date and adjusts it to represent yesterday by subtracting one from the current day.

To display it, you might want to format it nicely:

```javascript
console.log(yesterday.toDateString()); // E.g., "Mon Mar 21 2022"
```

This straightforward method allows you to manipulate and display yesterday's date, a handy trick for various web development scenarios.
Glam Up My Markup: Camp Activities
Tags: frontendchallenge, devchallenge, css, webdev
Published: 2024-03-22 14:43:00

_This is a submission for DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities_

## What I Built
I wanted to make the form into something that looked like part of a fun website for a kid's summer camp. 

## Demo
Here's what I created.

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

You can view my code on my [Github](https://github.com/RyanB-Shields/Glam-My-Markup-Challenge). 

## Journey
The idea of the challenge is not to edit the HTML code other than boilerplate code so I just wrapped it in the standard html and body tags as I knew I'd want to add a background image to the whole page. I also added a tile and a link for my stylesheet.

I started by fixing the styling of the form using the margin, display and padding attributes to move each element onto a new line and create space around them. I also moved the form to be centred on the page.

Next, I wanted to make the h1 text stand out more and look like it was carved into wood. I added a dark brown background to the text and made the font colour a light brown. I then looked for a wood effect font on dafont and found this [one](https://www.dafont.com/wood2.font). I realised that this font wouldn't be available when I uploaded my code so I looked up how to add custom fonts to CSS and found the @font-face selector that allowed me to add my own font-family name and a URL to the font file.  

I then decided to use AI to generate an image of a kid's summer camp to use as my background. The brown bar on the title didn't look over the background image so I removed it. 

Finally, I wanted to make the form stand out more from the background image so I added a translucent white background to the form. I also rounded the corners to soften the look.
"Day 48 of My Learning Journey: Setting Sail into Data Excellence! ⛵️ Today's Focus: Maths for Data Analysis ( Per & Com - 3)
Tags: data, dataengineering, datascience, maths
Published: 2024-03-22 14:27:22

PERMUTATION AND COMBINATION - 3



NUMERICAL 

Four visitors A,B,C & D arrive at a  town which has 5 hotels. In how many ways can they disperse themselves among 5 hotels, if 4 hotels are used to accommodate them.


Ans. A has 5 possibility
B has 4 possibility
C has 3 possibility
D has 2 possibility

Now we have the possibility but everything has to be done simultaneously so, 
Multiplication rule will be used.

TOTAL POSSIBILITY ARE = 5*4*3*2 = 120


In how many ways can 5 letters be mailed if there are 3 mailboxes available if each letter can be mail in any mailbox.

	   Ans. letter 1  has 3 possibility
letter 2  has 3 possibility
letter 3  has 3 possibility
		letter 4  has 3 possibility
letter 5  has 3 possibility

		Everything has to be done simultaneously 
		So, 3*3*3*3*3 = 243


Every telephone number consists of 7 digits. How many telephone numbers are there which do not include any other digits but 2,3,5 & 7 ?

	   Ans.  Digit 1 has 4 possibility
Digit 2  has 4 possibility
Digit 3  has 4 possibility
Digit 4  has 4 possibility
Digit 5  has 4 possibility
Digit 6  has 4 possibility
Digit 7  has 4 possibility

		Everything has to be done simultaneously 
		So, 4^7.


Find the number of 5 lettered palindromes which can be formed using the letter from the english alphabet ?

	   Ans.  The total alphabet is 26. 

Letter 1 has 26 possibility
Letter 2 has 26 possibility
Letter 3 has 26 possibility
Letter 4 has 1 possibility
Letter 5 has 1 possibility

		Everything has to be done simultaneously 

		So, 26*26*26*1*1 = 26^3.


How many 10 digit numbers can be made with an odd digit so that no two consecutive digits are the same ?

	   Ans.  The consecutive digits must not be the same.

		Odd number 1,3,5,7,9.

Digit 1 has 5 possibility
Digit 2 has 4 possibility
Digit 3 has 4 possibility
Digit 4 has 4 possibility
Digit 5 has 4 possibility
Digit 6 has 4 possibility
Digit 7 has 4 possibility
Digit 8 has 4 possibility
Digit 9 has 4 possibility
Digit 10 has 4 possibility

		Everything has to be done simultaneously 

		So, 5* 4^9.



🙏 Thank you all for your time and support! 🙏
Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨
How to Improve Your 70-410 Skills with Free Practice Tests
Tags: webdev, beginners, javascript, programming
Published: 2024-03-22 14:18:28

Here are some supplementary <a href="https://dumpsvilla.com/microsoft/70-410-practice-test/">70 410 practice test free</a> materials to consider: Supplementary Study Materials Official Documentation: Refer to Microsoft's official documentation and exam guides for in-depth coverage of exam topics and objectives. Are you gearing up to take the 70-410 exam and looking for effective ways to prepare? One highly recommended method is to utilize practice tests. These tests not only help you gauge your readiness for the exam but also familiarize you with the format and types of questions you can expect. In this article, we'll delve into how you can access free 70-410 practice tests online and make the most out of them to ace your certification exam. Introduction to 70-410 Practice Tests Before we dive into where <a href="https://dumpsvilla.com/microsoft/70-410-practice-test/">70 410 practice test free</a>  to find free practice tests, let's understand what they entail. 70-410 practice tests are designed to mimic the structure and content of the actual 70-410 exam, which is part of the Microsoft Certified Solutions Associate (MCSA): Windows Server 2012 certification track. These tests cover a range of topics, including installation and configuration of Windows Server 2012, server roles, Active Directory, and more. 

Click here for more info>>>>>>>>   https://dumpsvilla.com/microsoft/70-410-practice-test/
My Favorite Snack
Tags: frontendchallenge, devchallenge, css
Published: 2024-03-22 13:34:29

_This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack._

Today I will be highlighting the Gummy Worm. They happen to be one of my favorite snacks of all time, so let's begin.

{% embed https://css-art--challenge.glitch.me %}

This was my very first time experimenting with CSS art. As a new programmer who's still learning to even use flexbox, I noticed this challenge and thought to myself what better way to practice and learn what I'm capable of than to just jump right into a project. I chose to do this as a solo project to help develop and hone in on some of my skills. I had overcome quite a few obstacles like learning to create shapes and how to position them. Overall this was a fun project that kept me on my toes and I really enjoyed the time I spent creating this little gummy worm!
Update on App Center's Retirement
Tags: mobile, devops
Published: 2024-03-22 13:58:43


[![App Center Retirement](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w2j596gcm49bfgjt3h85.png)](https://appcircle.io/blog/navigating-the-retirement-of-app-center-embracing-appcircle-as-the-ultimate-alternative?utm_source=devto&utm_medium=post&utm_campaign=appcenter_retirement)

We have an update on App Center's retirement. In our blog, "Navigating the Retirement of AppCenter: Embracing Appcircle as the Ultimate Alternative," we explore the challenges of App Center's retirement and how Appcircle is the ideal replacement.

[https://appcircle.io/blog/navigating-the-retirement-of-app-center-embracing-appcircle-as-the-ultimate-alternative](https://appcircle.io/blog/navigating-the-retirement-of-app-center-embracing-appcircle-as-the-ultimate-alternative?utm_source=devto&utm_medium=post&utm_campaign=appcenter_retirement)
Mounting Google Drive in Google Colab
Tags: python, machinelearning, beginners, googlecolab
Published: 2024-03-22 13:56:56

Connect Google Drive to Google Colab.

### Follow these steps:
1. First, upload the CSV file to Google Drive.
2. Open a Colab notebook and write the code.
3. Connect to Google Drive by granting access to your Google account.
4. Find the file in Google Drive, copy its path, and paste it into the code.


### Run this code: 
This code will be automatically generated when you mount the drive. You just need to run this code.  
```python
from google.colab import drive

drive.mount('/content/drive')
```
### Access file:
```python
df = pd.read_csv("paste the google drive path")
```

~ Thank You 🩵⭐


{% embed https://youtu.be/Ew2rhHrE6MU?si=Qt-3uUDFxhRaL4Hj %}