teleren/devto huggingface dataset:
Step By Step
Tags: beginners, productivity, career, motivation
Published: 2022-06-25 03:29:53

In the last month, I started a new way to do the things in my life. Step by step, not more, not less, just focus on the next step.

And yes, I know that this is confusing, but I'm going to explain, I remember that I was walking to my father's job but the way is long, maybe five or ten minutes walking. In the Dominican Republic with our climate that is a lot of time, but I just have to do the next step and step by step I complete my goal, meet with my father in his job.

So why can't I use the same idea, in software development?

As software engineer we must do a lot of things, the more simple feature can take some hours of our time. So thinking in the complete feature can be scary, maybe feel tired.

So I imagined Julio and Cian when they told me "Frederick this week you have to complete the ticket about import a Thread from Twitter" I said, yes of course. As Dominican, I said "Claro , anja yo resuelvo" but I had no idea how can I complete this how I can complete this ****. 

So At this moment I used the technique Step by Step, I take the Jira History and started to describe the step in my internal to do list.
Step 1: Study the developer documentation of twitter
Step 2: Register in the developer site of twitter
Step 3: .... 

So my focus don't was complete the history import the thread, no, my focus was to complete the Step 1, when finish the Step 1, continue step 2, after step 3, etc.

When I finish my internal to-do list, I was more productive because complete my work also Julio and Cian does happy because I complete my history. Thank you to the technique step by step, my moral is up.

I'm trying to use this technique in all the thing in my life, when I'm cooking, when I'm reading my focus is read the current page, not all  the pages. When I'm programming, my focus is in the current task and step to step I complete the history.

_Thanks for reading my post.
_
How to set Alias for Git command?
Published: 2022-06-25 03:13:13

## Introduction
Describes how to set an alias for a Git command.
It all started when I happened to be using Git in my work and was curious about alias settings.

## About Alias
This setting is used to omit commands used in Git.

Example

- Before Abbreviation

```zsh
git status
```

- After Abbreviation

```zsh
git s
```

## Setup Procedure

### Commands to set Alias settings
Perform Alias configuration for the following commands

```zsh
git log --graph --all --color --pretty='%x09%h %s %Cred%d%Creset %C(green)- %ad%Creset c:%cn:%ce a:%an:%ae' --date=format:'%Y/%m/%d %H:%M:%S%z'
```

This command makes the git log easier to read.
Examples of use are as follows.

```zsh
% git log --graph --all --color --pretty="%x09%h %s %Cred%d%Creset %C(green)- %ad%Creset c:%cn:%ce a:%an:%ae" --date=format:"%Y/%m/%d %H:%M:%S%z"
*       4c001c1 Update READMD.md  (HEAD -> work, origin/work) - 2022/06/19 15:28:05+0900 c:masuwa:xxxxxxxxxxx@gmail.com a:masuwa:xxxxxxxxxxx@gmail.com 
*       20ac8ba Initial commit  (origin/main, origin/HEAD, main) - 2022/06/19 13:15:40+0900 c:GitHub:noreply@github.com a:masuwa9028:105219153+masuwa9028@users.noreply.github.com
%
```

### Alias Setting

#### Setting File

|  Range to be reflected  |  Configuration file to be edited  |
| ---- | ---- |
| Entire system  |  `/etc/gitconfig`  |
| User  |  `~/.gitconfig` or `~/.config/git/config`  |
| Repository  |  Repository root directory/.git/config  |

※This time, modify `~/.gitconfig`.

#### Setting

- Modify `~/.gitconfig`.

Add the following to `~/.gitconfig`.

```
[alias]
  tree = log --graph --all --color --pretty='%x09%h %s %Cred%d%Creset %C(green)- %ad%Creset c:%cn:%ce a:%an:%ae' --date=format:'%Y/%m/%d %H:%M:%S%z'
```

- Check if the command is available.

Verify that the git tree command is working.

```
% git tree
*       4c001c1 Update READMD.md  (HEAD -> work, origin/work) - 2022/06/19 15:28:05+0900 c:masuwa:xxxxxxxxxxx@gmail.com a:masuwa:xxxxxxxxxxx@gmail.com 
*       20ac8ba Initial commit  (origin/main, origin/HEAD, main) - 2022/06/19 13:15:40+0900 c:GitHub:noreply@github.com a:masuwa9028:105219153+masuwa9028@users.noreply.github.com
%
```

## Reference
[【git】aliasの設定方法](https://qiita.com/chihiro/items/04813c707cc665de67c5)
[2.7 Git の基本 - Git エイリアス](https://git-scm.com/book/ja/v2/Git-%E3%81%AE%E5%9F%BA%E6%9C%AC-Git-%E3%82%A8%E3%82%A4%E3%83%AA%E3%82%A2%E3%82%B9)
[ダブルクォートを含むコマンドをそのままaliasにすると失敗しがち](https://qiita.com/TakuTaku04/items/b764fc8ed5db642c7796)
[New Announcement-June 2022] Amazon EC2 Auto Scaling group default limit per account
Tags: aws, news, cloud, devops
Published: 2022-06-25 02:50:58

AWS account has default quotas and each quota is Region-specific. You can request increases for some quotas, and other quotas cannot be increased.

To view the quotas for Amazon EC2 Auto Scaling, open the [Service Quotas console](https://console.aws.amazon.com/servicequotas/home). In the navigation pane, choose AWS services and select Amazon EC2 Auto Scaling.

To request a quota increase, see [Requesting a Quota Increase](https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html) in the Service Quotas User Guide. If the quota is not yet available in Service Quotas, use the [Auto Scaling Limits form](https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-auto-scaling). 

**Amazon EC2 Auto Scaling resources**

Your AWS account has the following quotas related to the number of Auto Scaling groups and launch configurations that you can create.


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

**Auto Scaling group configuration**

Your AWS account has the following quotas related to the configuration of Auto Scaling groups. They cannot be changed.


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

**Auto Scaling group API operations**

Amazon EC2 Auto Scaling provides API operations to make changes to your Auto Scaling groups in batches. The following are the API limits on the maximum number of items (maximum array members) that are allowed in a single operation. They cannot be changed.

 

<u>Operation	                        Maximum array members</u>
[AttachInstances]	                        20 instance IDs
[AttachLoadBalancers]	                10 load balancers
[AttachLoadBalancerTargetGroups]	        10 target groups
[BatchDeleteScheduledAction]	        50 scheduled actions
[BatchPutScheduledUpdateGroupAction]	50 scheduled actions
[DetachInstances]	                        20 instance IDs
[DetachLoadBalancers]	                10 load balancers
[DetachLoadBalancerTargetGroups]	        10 target groups
[EnterStandby]	                        20 instance IDs
[ExitStandby]	                        20 instance IDs
[SetInstanceProtection]	                50 instance IDs


**Other services**

Quotas for other services, such as Amazon EC2, can impact your Auto Scaling groups. For more information, see [Service endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html) in the Amazon Web Services General Reference.

[More details](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html)
Why you should learn Spanish
Tags: tutorial, spanish, programming, beginners
Published: 2022-06-25 02:48:12

In the world of technology communicating is the most fundamental part, because with this we can share, understand, learn and of course see other points of view.

The predominant language is English and surely will be so for many years, but the world is so big that only understanding one language closes many doors.

Spanish is one of the most spoken languages in the world, in the entire American continent (North America, Central America and South America), there is a huge amount of talented developers, so this is one of the best reasons to learn this beautiful language, many companies have begun to look at the Latin and Hispanic talent as a golden opportunity, because sharing cultures makes the technologies that are created bigger, there is a huge potential yet to discover!

For small and medium companies, hiring Spanish speaking developers has been very beneficial, it is not a secret to anyone that the cost is much lower than an employee from the United States for example, however it is not only that, in this fast changing technological world it is essential to have creative talent and that is very much in abundance in these parts.

I will be publishing many articles with frequencies in Spanish so you can practice reading or you can follow me on my website.

I hope this little article will motivate you to learn Spanish.

See you in the next post.
Similarities: Coding vs. The Theatre
Tags: discuss, codenewbie, devjournal, motivation
Published: 2022-06-25 00:47:04

Recently, I finished a run of one of the more well-known Shakespeare plays, MacBeth. We had an interesting take of it, where the three witches (one including myself) oversee the show, the audience, and perform as musicians in the back of the stage. The idea wasn't too unique to me as a musician, but as I usually do, I have a lot of free time between songs to think about anything.

Though I pride myself in my craft as a musician, there are times where I come up with a great idea, and I'll want to code. Obviously, I can't get up and start coding while MacBeth and MacDuff have their epic battle. And then, it hit me.

Programming is so similar to theatre.

You have your props, they must be accounted for before going onto the stage for your grand moment, just as a page must be ready with its props in a React project.

The director leads us, bit by bit, as one part of "the code" is triggered to perform their lines (of code) after another.

Together with the design team (wardrobe, set/light designer - or, our CSS), our code comes to life with the beautification of the product.

Making this show has been rewarding to me, musically. But now I can finally focus back on why I'm here; back to choreographing and directing my projects for a wonderful audience.
On big binaries names
Tags: byte, standard
Published: 2022-06-23 07:56:34

Most people have, at least, heard about awful IEC/ISO "binary prefixes" like "kibi" (1024 and not 1000), "mebi", "gibi" and so forth.

The entire idea is rather good. I have no doubts about written form (KiB, etc.) But any practical linguist understands that oral prefixes were devised by people who are ignorant of basic human language principles: words with similar meaning should be different in sounding. There were already airplane catatrophes when a pilot had mistaken "third" for "first" in a noisy ether. Who, the hell, can distinguish "kibi" from "gibi" at a typical conference where microphones are ugly, and neighbors discuss kinds of cognac in the buffet?

I would select the following principles to construct the proper prefix set:

1. They shall be as much different from each other as possible, provided other conditions are met.
2. A binary prefix shall clearly differ from its decimal counterpart.
3. Nevertheless, a binary prefix shall start with the same sound as its decimal counterpart.
4. A prefix shouldnʼt be long; two syllables are well enough.
5. There should be no intentional association with a (non-numeric) word from a language.

Proposition:

* 1024^1 = kano-
* 1024^2 = maro-
* 1024^3 = gaido-
* 1024^4 = tesko-
* 1024^5 = pempo-
* 1024^6 = erfo-
* 1024^7 = zelmo-
* 1024^8 = yorgo-

Well, but we may also discuss basic memory sizes. Well, there is the word for 8 bits - "byte"; moreover, "octet" for those who can't read it without wrong connotations; but where are the words for higher powers of 2?

Don't recall "word"; a true word is always at least 32 bits, but 8086 heretics spoiled it finally. Also, all such "octabyte" are long and ugly. Imagine "octaoctet", huh? No, the true words, I don't fear to say it again, shall sound quite different, to avoid any chance to mix them in the same context.

For 16 bits, the solution is obvious: hexa- -> a sheck [ʃek]. Yes, some like "shack", because 16 bits are, out of embedded world (I highly appreciate its peculiar) now enough mainly for an old hut of grass and branches.

For higher values, it's some harder. We need an inspiration source not tied with traditional IT languages and nevertheless usable. After some search, I've stopped on Crimean. So, 32 bits = tuke [tjuːk], from: 32 = otuz iki.

64 = amad [əˈmæd], because of: altmış + dört; OTOH the skeleton ?-m-d hints at AMD64 invention, the most popular 64-bit computing source now. Vowels were selected arbitrary (but, "umudu" is definitely the worst).

128 = yermezeck (yüzyirmi sekiz); yep, it's long, the same as the data value :)

The need for longer size names is to be reconsidered at a next turn.

So, finally,
1 yermezeck = 2 amads = 4 tukes = 8 shecks = 16 octets (a minimal useful cache line size) = 128 bits.

And, with 1024-based prefixes: 2^31 bits = 2 gaidobits = 64 marotukes.

Enjoy and use it thoroughly.
Building a weatherHub app using vanilla JavaScript and consume API
Published: 2022-06-24 23:15:30

//In this project I'm working towards creating a Weather hub is an application for users to search for any weather data they may need. It also allows them to set a default location for revisiting the application and getting quick data on the location of their choice.
About The Project
This app is simple to navigate and takes minimal time to get results of any information you might need.
Build a WeatherHub in 30 minutes with JASON server,HTML,CSS and JavaScript.
Before we begin, all the code for this project can be found in the GitHub Repo.

Creating our Server (with JSON server )
First thing we need to do is get our server up and running.
Setting up the index view
Instead of responding with text when someone visits our root route, we’d like to respond with an HTML file. 
Adding a CSS File.
make our API call. When we receive our callback, the first thing we’re going to do is check for an error. If we have an error, we’re going to render our index page. 
In this instance, I’ve added an error string:

function defaultLocationGrabber() {
    return fetch('http://localhost:3000/locations')
        .then((resp) => resp.json())
        .then((localData) => {
            const defaultLocation = localData.defaultLocation;
            if (defaultLocation !== "") {
                fetchWeather(defaultLocation)
                document.querySelector(".hidden").classList.add("show");;
            }
        })
}
📢 Grype v0.40.1 released and php support
Tags: docker, security, devops, php
Published: 2022-06-24 23:01:16

## 🗞️ News

Grype has just released an excitin version as it embeds the following issue : 

{% embed https://github.com/anchore/grype/issues/792 %}

## 🍿 News and upgrade demo

{% youtube https://youtu.be/nxMQejs1XOU %}
Day 77: Hello firebase!
Published: 2022-06-24 22:25:49

Hi!
actually firebase is not that bad. I had doubts when I was coming from relational database as PostgreSQL, and SQLite that the firebase and firestore database will be not good but now I think it's good especially when you want to work on a project faster without worrying much about building the backend yourself today I was working on the authentication with emails and phone numbers and it works gracefully I'm not done with the phone number part yet but I plan to finish it by tomorrow.
This weekend will be mainly focused to learning, resting and writing I plan to look into something between next.js, react hooks, react context, Css, Sass maybe one or two topic

signing out...
Book Club: "Test Driven Development: By Example" #14 - Using tests to unravel a coding language
Tags: books, tdd, discuss
Published: 2022-06-24 21:35:11

---
title: Book Club: "Test Driven Development: By Example" #14 - Using tests to unravel a coding language
published: true
description: A chapter by chapter discussion of "Test Driven Development By Example" by Kent Beck
tags: books, tdd, discussion
series: Book club TDD By Example
---

## Book Club: "Test Driven Development: By Example" #14
### Chapter 14: Change

Two things stood out to me in this chapter. Firstly was the use of a test to explore Java. Instead of looking up how equality works in objects in an Array, we wrote `testArrayEquals` to quickly find out if it would work for us.
We found that two array objects would not be considered equal if they contain the same contents. 

Earlier I had been working on a [ray tracer project](https://github.com/ruthmoog/ray-tracer/commit/0260f1c6d5b940456b05a1eed81e85a02d42ef06#diff-0a162478be5add62f5678e0916e896a28b47664fb3255b9a47f9e999c0a3f6ba), and in that case I wanted to change how `equals` worked (on the class I had written) so I used the `@Override` keyword to compare that objects are functionally equal, rather than being the _same_ object. We can't do this with Java's Array but for our own classes it's really nice.

Since we didn't want to use Java Arrays, we introduced our own private helper class instead. This doesn't have or need it's own tests, it simply gives us the means to check if two currency/rate key/value pairs are functionally equal:

```java
    public boolean equals(Object object) {
        Pair pair = (Pair) object;
        return from.equals(pair.from) && to.equals(pair.to);
    }
```
And, for now we are using `hashCode` to return a rubbishy `0`...

> 0 is a terrible hash value 
> <sub>- Kent Beck<sub>

```java
    public int hashCode() {
        return 0;
    }
```

If we don't create this method, our reduce test will fail, and since we don't care about the value right now this lets our tests pass without worrying about how the hashCode is created.
Assured that we will come back to that later, the next step will be tackling the original task on our To Do list!

🔎 View my code-along repo at https://github.com/ruthmoog/test-driven-development-by-example 

-----

![Book cover](https://learning.oreilly.com/library/cover/0321146530/250w/ ) Kent Beck's "[Test Driven Development: By Example](https://www.oreilly.com/library/view/test-driven-development/0321146530/)" was released in 2002. The book aims to explain how to use TDD to write quality code that works.
Perl lightning talk: ”Don’t Fear map and grep”
Tags: perl, map, grep, video
Published: 2022-06-25 02:45:42

---
title: Perl lightning talk: ”Don’t Fear map and grep”
published: true
date: 2022-06-24 21:25:44 UTC
tags: Perl,map,grep,video
canonical_url: https://phoenixtrap.com/2022/06/24/perl-lightning-talk-dont-fear-map-and-grep/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bncebjusm4bgmrux00v0.jpeg
---

This week’s [Perl and Raku Conference 2022](https://perlconference.us/tprc-2022-hou/) in Houston was packed with [great presentations](https://youtube.com/playlist?list=PLA9_Hq3zhoFyOpb-U3DMU7OT93dPUdtpE), and I humbly added to them with a five-ish minute [lightning talk](https://perlconference.us/tprc-2022-hou/lightning-talks/) on two of Perl’s more misunderstood functions: `map` and `grep`.

{% embed https://youtu.be/PHdq4QfSxrc %}

_(Sorry about the ”um”s and ”ah”s…)_

{% embed https://www.slideshare.net/mjgardner1/dont-fear-map-grep-list-processing-for-fun-and-profit %}

I’ve written much about [list processing in Perl](https://phoenixtrap.com/tags/lists), and this talk was based on the following blog posts:

- [Better Perl: Using `map` and `grep`](https://phoenixtrap.com/2021/03/16/perl_map_grep/)
- [Better Perl: Four list processing best practices with `map`, `grep`, and more](https://phoenixtrap.com/2021/10/26/better-perl-four-list-processing-best-practices-with-map-grep-and-more/)
- [Perl list processing is for hashes, too](https://phoenixtrap.com/2022/02/10/perl-list-processing-is-for-hashes-too/)
- [A list of Perl list processing modules](https://phoenixtrap.com/2021/05/18/a-list-of-perl-list-processing-modules/)

Overall I loved attending the conference, and it really invigorated my participation in the Perl community. Stay tuned as I resume regular posting!

---

_Cover image: "[shopping list](https://www.flickr.com/photos/52887415@N00/5863092970)" by [Ex-Smith](https://www.flickr.com/photos/52887415@N00) is licensed under [CC BY-SA 2.0](https://creativecommons.org/licenses/by-sa/2.0/?ref=openverse)._
Hello World: About my programming journey
Tags: webdev, programming, python, css
Published: 2022-06-24 21:24:14

Hi, my name is Adam Elitzur and welcome to my blog! My goal with this blog is to document my learning and in turn, help others with what I learn and what challenges I run into. I believe that learning from others is a great way to avoid mistakes and succeed.

### About Me
I'm going into 11th grade, and I love everything to do with computers! My first interaction with programming (and my Hello World program) was at a summer camp in 2018. I started with Python, but didn't get really advanced until two years later, in March of 2020. I had a lot of free time, so I got [Colt Steele's Modern Python 3 Bootcamp](https://www.udemy.com/course/the-modern-python3-bootcamp/). It was an amazing course, and after completing it I felt like I knew how to program. Little did I know, I haven't had my first encounter with data structures and algorithms yet. Anyways, after that, I learned some automation with BeautifulSoup and made my first real project, a social media scraper that saved my Dad many hours of repetitive work. The scraper took a spreadsheet of names, searched for each person, and pasted their bios into the spreadsheet.

I then took [Harvard's Introduction to Computer Science(CS50)](https://cs50.harvard.edu/x), which taught me more about data structures and algorithms. Boy was that a challenging course, but David Malan, professor of computer science for CS50, is an amazing teacher. He really got me thinking like a programmer.![David Malan teaching CS50](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nnzdkemhnsmd6hvomb5y.jpg)*David Malan teaching CS50*

In January of 2021, I got into web development and started [Colt Steele's Web Developer Bootcamp](https://www.udemy.com/course/the-web-developer-bootcamp/). It's a great course, but I made the mistake of rushing through it (like watching four and a half hours of lectures in one day). But because I rushed it, I didn't remember much of the course.

I did some research on how to solidify my knowledge and decided to start making projects to review the content that I rushed through. I started working on these projects, mainly [Frontend Mentor challenges](https://www.frontendmentor.io/challenges?sort=difficulty|asc&types=free,free-plus). I slowly started improving CSS, and now, I feel much more comfortable with CSS. I just finished my first collaboration on a project, which taught me a lot about using Git for collaboration. My next step is to review DOM manipulation, which I'm using [Scrimba's Learn JavaScript for free](https://scrimba.com/learn/learnjavascript) course for.
Deploy Strapi on AWS with Terraform and Qovery
Tags: terraform, aws
Published: 2022-06-24 20:42:33

[I recorded a video](https://www.youtube.com/watch?v=3qTyrZYhtk0) to show how to deploy a Strapi application on AWS. It's even simpler than the official way via the strapi documentation since I am using Terraform and Qovery (open-source).

{% embed https://www.youtube.com/watch?v=3qTyrZYhtk0 %}

Complete [Strapi Terraform template](https://github.com/Qovery/terraform-examples/examples/deploy-strapi-with-postgresql-on-aws)
Acerca de mí
Published: 2022-06-24 20:04:15

Hola  me llamo Mario soy de **Ecuador** este es un post que explica mi historia que empezó en la programación a los 22 años, porque siempre me ha gustado la **informática**, para poder crear soluciones, me gusta el área de desarrollo web **_backend_**.

Tengo un estudio de una carrera técnica de desarrollo software

Ahora estoy estudiando Python | Ruby son mis lenguajes favoritos, estudio como autodidacta.