teleren/devto huggingface dataset:
Viewing Cost Explorer Usage with AWS Credits
Tags: aws
Published: 2021-12-21 08:54:41

When you have [AWS Promotional Credits](https://aws.amazon.com/awscredits/) applied to your account, by default your usage will be hidden from the Cost Explorer.

[AWS Cost Explorer](https://aws.amazon.com/aws-cost-management/aws-cost-explorer/) is primarily concerned with showing you what the impact is to your billing & payments. Since Credits have already been applied to your account, you don't need to pay for it in an upcoming invoice.

Some charges for *Ineligible Services* not covered by AWS Promotional Credits may still show up, like Domain Registration,  upfront RI costs, etc. For the rest, you'll need to change the [Cost Explorer filter](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-filtering.html).

![Cost Explorer chart showing low usage - $10 in a month at most](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/55cookfrh7ho6rxrceow.png)

To show all usage in your AWS Account, including those covered by Credits, select the filter on the right-side of the Screen for **Charge Type**, change it to **Exclude Only**, and check the box for **Credits**.

![Filter Settings for Excluding Credits](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhsfxe7okqsrgvpibf7s.png)

Once applied, all charges on the account will be visible. Including any that may have been forgotten.

![Cost Explorer chart showing substantially higher usage, including caption '$250 on a forgotten Aurora Cluster... oops'](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ku2v2y4v39ihxh95xzog.png)

Just an alternative education expensive.
Day 66 of 100 Days of Code & Scrum: Services and Portfolio Pages For My Business Website
Tags: 100daysofcode, beginners, javascript, productivity
Published: 2021-12-21 08:51:04

Greetings, everyone!

I didn't blog for a few days because a super typhoon hit near our location and my Internet was out for two days. Also, I was busy with holiday preparation stuff, so didn't have the time to write a blog post. While I did manage to code every now and then during the past few days, I wasn't really as focused as usual.

One notable thing that I managed to do was finishing the [Services](https://www.rammina.com/services) and [Portfolio](https://www.rammina.com/portfolio) pages of the [Rammina company site](https://www.rammina.com). These are temporary placeholders, but I think they look fairly decent for now.

Probably going to take a break from daily blogging and #100daysofcode for the holiday season.

Anyway, let's move on to my daily report!

## Past 5 Days

No Internet because of super typhoon and was busy with holiday-related stuff.

## Today

Here are the things I learned and worked on today:

### Company Website

- added Services and Portfolio pages to my [web development website](https://www.rammina.com).
- create a reusable generic hero banner component.
- fixed some styling bugs.
- replaced some images on hero banners with more suitable ones.
- cleaned up some redundant code.

### Scrum

- I did some practice flashcards for Scrum.
- reviewed some of the things I've learned before.

Thank you for your continued support! Have a happy holiday!

![Rammina Thank You Banner](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x9ayfxxxaz2g2hfcqbsk.png)

### Resources/Recommended Readings

- [The 2020 Scrum Guide](https://scrumguides.org/scrum-guide.html)
- [Mikhail Lapshin's Scrum Quizzes](https://mlapshin.com/index.php/scrum-quizzes/)

### DISCLAIMER

**This is not a guide**, it is just me sharing my experiences and learnings. This post only expresses my thoughts and opinions (based on my limited knowledge) and is in no way a substitute for actual references. If I ever make a mistake or if you disagree, I would appreciate corrections in the comments!

<hr />

### Other Media

Feel free to reach out to me in other media!

<span><a target="_blank" href="https://www.rammina.com"><img src="https://res.cloudinary.com/rammina/image/upload/v1638444046/rammina-button-128_x9ginu.png" alt="Rammina Logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://twitter.com/RamminaR"><img src="https://res.cloudinary.com/rammina/image/upload/v1636792959/twitter-logo_laoyfu_pdbagm.png" alt="Twitter logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://github.com/Rammina"><img src="https://res.cloudinary.com/rammina/image/upload/v1636795051/GitHub-Emblem2_epcp8r.png" alt="Github logo" width="128" height="50"/></a></span>
[MongoDB Submission Post Placeholder Title]
Published: 2021-12-21 08:48:01

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)


### Submission Category: 

[Note]: # (E-Commerce Creation, Prime Time, Action Star, Automation Innovation, or Choose Your Own Adventure)


### Link to Code

[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)


### Additional Resources / Info

[Note:] # (Be sure to link to any open source projects that are using your workflow!)

[Note:] # Screenshots/demo videos are encouraged!

[Note]: # (Be sure to include the DEV usernames of your collaborators, if any. Prizes for winning projects with multiple collaborators will be sent to the person who posts this submission and they will distribute the prize evenly.)

[Reminder]: # (Submissions are due on January 13th, 2022 @ 11:59 PM PT/2 AM ET on January 14th, 2022/6 AM UTC on January 14th, 2022).
[Reward] Plato Talk #1
Published: 2021-12-21 08:32:29


## PLATO TALK #1

TOPIC：Talk about your views on privacy. Why is privacy important?

REWARD:  4000 LAT

Topic Deadline 2021/12/22 10:00 UTC

**Discord（plato-talk）: https://discord.gg/CGz3cSfn9J**

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


Event details：
https://dev.to/boney_platon/discord-eventplato-talk-share-views-ideas-suggestions-based-on-the-talk-topic-44ah





----
**About PlatON：**

PlatON Website：https://platon.network/en

Alaya Website：https://www.alaya.network/en

PlatON Privacy-Preserving Computation WhitePaper: https://link.medium.com/hHaZHcz9Djb 

PlatON 2.0 WhitePaper：https://link.medium.com/KCbkhaG9Djb

PlatON 2.0 PPT：https://www.slideshare.net/ShiHeng1/privacypreserving-ai-network-platon-20-249734241


**Developer Program：**

Hackathon：https://github.com/AlayaNetwork/Alaya-Season-Hackathon 

Grants: https://latticex.foundation/grants

Dev-Bounty：https://github.com/LatticeX-Foundation/dev-bounties


**Contact：**
Twitter：https://twitter.com/PlatON_Network

Discord：https://discord.gg/jAjFzJ3Cff

Dev-Telegram：https://t.me/joinchat/LhO63AsZ_iozZGNl
What are the important updates available in PHP8?
 

Tags: php, javascript, programming, python
Published: 2021-12-21 08:05:47

The latest update of [PHP 8](https://eiliana.com/blogitem/why-php-development-is-still-a-preferred-choice-of-78-9-web-owners) comes after 5 years of the release of PHP 7. PHP8 contains many new features and improved performance than former versions. While there are not many revolutionary changes in the language, a lot of improvement can be seen in PHP 8. Many changes, including named arguments, union types, attributes, constructor property promotion, match expressions, throw expressions, null safe operator, JIT, and improvements in the type system, error handling, and consistency are pathbreaking. 
 
The two changes in the PHP 8 language are:
 
JIT ( Just in Time) compiler
 
It speeds up more complex, longer-running scripts improving code execution performance. The JIT Compiler in PHP 8 shows improved performance by more than 45 per cent as compared to earlier versions. The improved capability of PHP in high-computer environments, make it possible for using PHP beyond just web development, like IoT deployments to machine learning models. For instance, the JIT compiler and the OPcache exte when used together will eliminate the need to load and parse scripts on every request.
 
Tidy comparison operator  
 
Better comparisons fix frequent bugs and also comparisons between numbers and non-numeric strings are possible now.
 
Streaming  from version 7.4 to 8 without JIT does not make an important difference, the difference to version 8 with JIT is significant. The JIT Compiler improves performance by further than 45 per cent.
 
Piecemeal from the new features introduced in PHP8, some functions and features that were disapproved in PHP 7.x and have been fully removed. These include:
 
The $php_errormsg variable
The create_function() function
The mbstring.func_overload ini directive
The real type
The allow_url_include ini directive
The restore_include_path() function
The each() function
 
Therefore, as a freelance web developer, any update to the programming language should be respectable.
BLXBuds Review: Earbuds Legit to Use or Scam
Tags: blxbuds
Published: 2021-12-21 07:50:30

Let's make a short story short. I am reminded of a story pertaining to this. This Internet element kind of blows the mind. I might have to rehash a few of my most less important activities. As though one detail we need to remember is that this takes time when using the layout. Through what medium do wizards recover old [BLXBuds](https://ipsnews.net/business/2021/12/17/blxbuds-review-advance-earbuds-for-clear-and-noiseless-sound-discount-offer/) labs? A typical BLXBuds Reviews can be used for BLXBuds Reviews.

Buy Now : [https://ipsnews.net/business/2021/12/17/blxbuds-review-advance-earbuds-for-clear-and-noiseless-sound-discount-offer/](https://ipsnews.net/business/2021/12/17/blxbuds-review-advance-earbuds-for-clear-and-noiseless-sound-discount-offer/)
A11y tips: don't use links, buttons or headings inside labels
Tags: a11y, tips, html
Published: 2021-12-21 07:50:18

A label should only contain text, **do not put interactive elements such as links and buttons inside**, since:

- It is more complicated to activate the form control associated with `<label>`.
- Screen readers will have problems announcing the content of `<label>` (they only read the part that does not contain text).

### DON'T
```
<label for="tac">
  <input
    type="checkbox"
    id="tac"
    name="tac"
  />
  I agree with the <a href="terms-and-conditions.html">Terms and Conditions</a>
</label>
```

The best option is to take the interactive element out of `<label>` and relate it to the form control using the `aria-describedby` attribute.

### DO
```
<label for="tac">
  <input
    type="checkbox"
    id="tac"
    name="tac"
    aria-describedby="tac-desc"
  />
  I agree with the Terms and Conditions
</label>
<p id="tac-desc">
  Please read <a href="terms-and-conditions.html">our Terms and Conditions</a>
</p>
```

Also, **do not use headings within a label** as many assistive technologies have trouble advertising them and are the most frequent navigation resource for their users.

### DON'T
```
<label for="your-name">
  <h3>Your name</h3>
  <input
    id="your-name"
    name="your-name"
    type="text"
  />
</label>
```

If the label text needs visual adjustments to make it look like a heading, they have to be done using CSS.

### DO
```
<label for="your-name" class="large-label">
  Your name
  <input
    id="your-name"
    name="your-name"
    type="text"
  />
</label>
```
Custom Initial exchange Offering Service
Tags: cryptocurrency, blockchain
Published: 2021-12-21 07:47:08

Initial exchange offering (IEO), or a structured sale of crypto tokens to institutional investors, provides a symbolic representation of the crypto.IEO is a type of initial coin offering (ICO) that is managed by an exchange.  [Initial exchange offering development](https://shamlatech.com/ieo/) with result driven professional assistance in no time at your budget.
反向代理替换response body中的字符串
Tags: nginx
Published: 2021-12-21 06:57:32

之前客户有个用ip直接访问蓝鲸的需求，如果用反向代理的话，会遇到response body 中内嵌的URL仍然是域名的情况。今天看到nginx有个模块可以解决这个问题
https://github.com/yaoweibin/ngx_http_substitutions_filter_module
New Year, New Keys: Exciting PGP and Git updates from us, coming 2022.
Published: 2022-01-05 08:00:03

---
title: New Year, New Keys: Exciting PGP and Git updates from us, coming 2022.
published: true
date: 2021-12-21 06:41:35 UTC
canonical_url: https://reinhart1010.id/2021/12/21/new-year-new-keys-exciting-pgp-and-git-updates-from-us-coming-2022/
---

Starting January 1, 2022, we will celebrate **the year of automation**. That means me and my robots are now willing to contribute to Git even more.

First, we will test and enable **commit signing** for future Git commits; whether made by myself or us. And yes, we’re allocating **new email addresses** dedicated for signing automated Git commits by us; just look for the **@1010bots** username over GitHub, GitLab, and Gitee as well as email addresses ending with `@bots.reinhart1010.id`.

These commit signing process could be done either through S/MIME or PGP keys. Hence, we’ll use PGP for simplicity, where I will update the current PGP keychain to add more emails, and allocating new PGP key pairs for each of my robots.

The post [New Year, New Keys: Exciting PGP and Git updates from us, coming 2022.](https://reinhart1010.id/2021/12/21/new-year-new-keys-exciting-pgp-and-git-updates-from-us-coming-2022/) appeared first on [Reinhart Previano Koentjoro](https://reinhart1010.id).
Begini Cara Mengatasi Suara Discord Patah-patah di Laptop Dengan Mudah
Tags: tutorial, windows, game
Published: 2021-12-21 06:39:00

Suara discord kalian kerap putus-putus? begini cara mengatasi suara Discord patah-patah di Android dengan Mudah!

Bagi kalian beberapa gamer tentu saja tahu sebuah program yang membantu kita untuk melakukan komunikasi dengan teman-teman kalian.

Berkomunikasi dalam beberapa permainan itu pastinya sangat penting, bahkan juga beberapa game mengharuskan para pemainnya untuk menggunakan komunikasi via voice call.

Contoh seperti game yang trending akhir-akhir ini yaitu diantaranya Among Us, game batte royale PUBG Mobile, dan ada banyak contoh game lainnya.

Sejumlah game memang menyediakan feature voice yang memudahkan para pemainnya untuk tidak menggunakan aplikasi yang lainnya.

Namun terkadang voice di dalam game tersebut tidak sebaik dan selancar yang kita kira. Salah satu aplikasi gaming voice yang populer yaitu [Discord](https://discord.com/).

Discord jadi wadah untuk para gamers untuk berkomunikasi satu sama lain, ini karena discord tidak membebankan game yang kita mainkan.

Selama aplikasi ini berjalan, game yang kita mainkan tidak akan lag atau sebagainya, karena program ini tidak berat sama sekali.

Terkadang untuk pemain mobile, kerap mengalami masalah di mana suara discord sering putus-putus.

## Cara Mengatasi Suara Discord Putus-putus
Nah, di artikel ini [Ruang Koding](https://ruangkoding.id) akan kasih tahu cara mengatasi suara Discord putus-putus di Laptop dan juga bagaimana cara agar suara Discord jernih.

Cara agar Discord tidak lag adalah kalian dapat mengubah server di channel Discord kalian, dan mengubahnya ke server luar supaya jaringannya lebih stabil.

Server yang selama ini dianggap bagus yaitu Sydney, India, dan Singapore yang dapat kalian jadikan server inti.

Langkahnya sangat gampang, dan cuma dapat dilakukan oleh yang membuat server tersebut:

* Buka server discord dan, lalu tekan tombol titik tiga di samping nama server kalian.
* Pilih Settings > Overview
* Dari sana kalian akan melihat ada Server Region, dan biasanya kita sudah masuk ke server Singapore.
* Apabila di server tersebut kalian masih putus-putus, maka ubahlah ke server lainnya yang sudah kita sarankan di atas.
* Pilih Server Region, lalu tentukan server yang kalian inginkan.

Nah setelah itu kalian dijamin tidak akan mengalami [suara Discord putus-putus](https://ruangkoding.id/cara-mengatasi-suara-discord-patah-patah/) dan dapat bermain bersama teman kalian dengan lancar.
Starting my Web Developer Journey
Tags: webdev, beginners, programming, javascript
Published: 2021-12-21 06:23:19

Hello my fellow developers. I have decided to start my web development journey (again) after trying for the last one year and failing!

## A brief background 
A brief introduction about me, I am a pre-final year student in Computer Science. I currently am learning data structures and algorithms and primarily use Java. I’m also taking some simple crash courses on Web Development and participating in #100DaysOfCode on Twitter.

---

## My study plan

- Reviewing my HTML, CSS and JavaScript knowledge: 
 I will be taking a crash course for each language to learn the basics. I don't want to get trapped in tutorial hell so I will not be spending too much time on watching tutorials.

- Build some projects: After finishing the courses, next logical step would be to build some projects to sharpen my skills, and deploy them to showcase in my portfolio.

- Working on my problem solving skills: As the interview season's round the corner, it's high time that I prepare for my coding interviews. For the next 100 days, I would prepare my problem solving skills.  

---

## Conclusion
I know I am a bit late to start this journey but hey, _Better late than never_. I am so excited to see where this journey takes me.
P.S. This is my very first article on social media. Pardon me for my grammar mistakes, if any!
Peace ✌
Codewar -problem "String end with" by C
Tags: challenge, programming, codewars, computerscience
Published: 2021-12-21 06:12:32

In this blog we talked about the solution that I submitted to the " 7 KYU " problem which is "String end with" by using language "C"

Let's read the question first
**_Complete the solution so that it returns true if the first argument(string) passed in ends with the 2nd argument (also a string).

Examples:

solution('abc', 'bc') // returns true
solution('abc', 'd') // returns false_**.

So simply, we need to check whether the first string ending characters are second string characters. return TRUE if they match or return FALSE if they do not match.

We will need header stdbool.h and string.h. the function will be "solution" with "bool" return data type, their parameters will be **_const char *string, const char *ending_**.

This is how the code will look like
`
##include<stdbool.h>
##include<string.h>
bool solution(const char *string, const char *ending)
{
   return true;
}
` 
Now let's go further:

In the function will  will take create two integer local variables  and they will use **strlen** string function to count the length of arguments or strings. You can name the variable whatever you want as long as they do not violate **Variable rules**. This is how the code will look like:
`
int strLen=strlen(string);
int endLen=strlen(ending);
` 

Now there is a catch, if the **first string length is greater than second string length** then it will dissolve the whole question so we will set it to result **false** there. Now the code will be:
`
if(endLen>strLen) return false;
`
Now let's go to final step, we will create a loop to go through both string to compare the characters here. we well set the condition to the end **Ending** string. because we do not need to go through the first string. The question asked to check **whether the ending string character is present at the end of first string characters**. You can use the other loop but I will go with the for loop here:

`
for(int i=1;i<=endLen;i++){
}
`

Now we will check whether the **last character of first string and last character of second string is same**. It will continue until the end of second string because of **loop**. We all know **C always take or create a null character \0 at the end of string so will will minus it with loop value of int i which is equal to 1 at the very start of loop**. If a single character do not match then we will  **return false** but if it does match then the function will **return true**. Here is the code:
`
  if(string[strLen-i]!=ending[endLen-i])
        {
            return false;
        }
`

This is the whole code:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6br4s53ax1pwbywwdesn.PNG)
Why css `-webkit-mask-box-image` is not applying after adding overflow:hidden to its parent?
Tags: css, html, webdev
Published: 2021-12-21 06:08:34

I am trying to achieve linear blur on a card as shown in the following


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

linear-blur is applied with the following CSS properties

```
.app-container {
  position: relative;
  background: url("https://res.cloudinary.com/dmwrugc6z/image/upload/v1639725427/wallhaven-lq1ezq_blo0mr.jpg");
  background-size: cover;
  border-radius: 24px;
  margin: auto;
  width: 328px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.blur-background {
  height: 144px;
  position: absolute;
  left: 0;
  right: 0;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(20px);
  -webkit-mask-box-image: linear-gradient(to top, black, black, transparent);
}
```
After adding `overflow:hidden;` `-webkit-mask-box-image` property is not applying, any reason for this weird behaviour?

```
.app-container {
  position: relative;
  background: url("https://res.cloudinary.com/dmwrugc6z/image/upload/v1639725427/wallhaven-lq1ezq_blo0mr.jpg");
  background-size: cover;
  border-radius: 24px;
  margin: auto;
  width: 328px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow:hidden;
}

.blur-background {
  height: 144px;
  position: absolute;
  left: 0;
  right: 0;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(20px);
  -webkit-mask-box-image: linear-gradient(to top, black, black, transparent);
}
```

The blur is not masking as shown in the below

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

you can find the source code here: https://codesandbox.io/s/linear-blur-issue-vdjw7?file=/src/styles.css
Custom Angular Components Suffix in ESLint
Tags: angular, frontend, eslint
Published: 2021-12-21 05:44:43

When creating some cool app we may end up creating so many different custom components.



One of the best practices to keep our app clean is to categorize our components, for example, we can have components that are suffixed with `dialog` or `page` instead of the default `component`.



But as we already activated `ESLint` to keep the quality of our code, it will complain about those suffixes.



To fix this problem we can add the following rule overrides to our `.eslint` config file.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tmwgpgciucn3hi60i5dw.png)
Psearch - A Package Searching and Installation tool for Go Projects
Published: 2021-12-21 05:36:40

### Introduction
When starting a new Go project, you often "go get" some package likes mux, mongo go driver, gorm,... And with each package, you need to remember full path of that package:
```
go get -u github.com/gorilla/mux
go get go.mongodb.org/mongo-driver/mongo
go get -u gorm.io/gorm
```
It's really inconvenient. But don't worry, I have written small tool that you can use to search and install go packages with just **keyword**.

### Installation
```
go install github.com/kinensake/psearch@v1.0.1
```
### Usage
```
psearch <package-keyword>
```
Then choose package in package list to install.
### Example
![Demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bcw036m4plopaktu28nl.gif)

This will get package into your module automatically.

---
Github Repository: [https://github.com/kinensake/psearch](https://github.com/kinensake/psearch)
If you like it, please give my repository one star ⭐
Your contribution is also my honor ❤️