teleren/devto huggingface dataset:
Aurora
Published: 2022-05-02 14:48:22

• Amazon Aurora (Aurora) is a fully managed
relational database engine
• Uses a base entity called a cluster
• A cluster consists of a primary instance and zero
or more replicas
• Replicas can be used for read operations
• You can have a maximum of 15 replicas per
cluster

No local storage- uses a shared volume storage for instances in the cluster
Shared storage are SSD based with a max size of 128 TIB
High IOPs and very low latency
It has six storage replicas across multiple availability zones
Data is replicated synchronously across the availability zones
You do not provision the amount of storage you want to use, you are billed for what you use

![aurora](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sywblbgefcpsulj0h4w0.png)

• High water mark –billed for what is most used*
• Storage which is freed up can be reused*
• Accessed using 2 types of endpoints
• The Cluster endpoint and reader endpoint
• Cluster endpoint always points at the primary instance and that is used for read and
write operations
• The reader endpoint also points at the replicas for read operations
• As new replicas are being added, they are automatically added to the reader endpoints
and traffic is balanced across the replicas automatically

![a](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmwgj8zbfm4slgok56ol.png)

• No free tier
• Backups/Snapshots are just like what is in RDS
• Backtrack can be used which allow in-place rewinds to a previous
point in time
• Fast Clone helps create a new database much faster than copying all
the data

**Aurora Serverless**
• Uses the concept of ACU- Aurora Capacity Units
• It represents a certain amount of compute /amount of memory used.
• So you set a minimum and maximum ACU value and Aurora will scale between those
values by adding or removing capacity based on the load placed on it.
• It can even go down to zero and be paused meaning you are only billed for the storage
consumed.

![b](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n68kzhi2z4evkp69x02l.png)

**Use cases**
• Infrequently used applications
• New applications where you are unsure of the usage
• Variable/unpredictable workloads

**Aurora Global Databases**
• Allows global level replication using Aurora from a master region to
up to 5 regions
• 1s or less replication between regions, asynchronous
• No impact on DB performance because replication is done at storage
level
• Secondary regions can have 16 replicas
• Can be promoted to read/write instance

![c](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ehnvo1rx1ajib9lfell.png)

**Aurora Multi- Master**
• Default Aurora is Single Master, One
R/W instance and other Read only
replicas
• In multi-master mode all instances are
Read/Write Instances
• Fault tolerant architectures

![d](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kvclgpq6et1wpeaam7nr.png)
run typescript file
Published: 2022-05-02 14:27:47

1. You must have npm, nodejs install in ur os.


2. On cmd or other terminal run the command
             npm install -g typescript  


3. In any code editor write a typescript code and
   save it with      ** .ts **    extension.


// ignore * in commands 


4. Now in terminal run these two commands one after another
  command1_


        ** tsc file_name.ts **

   //tsc (typescript compiler will compile it and convert it
   //  into js file

   then run the following command
  command2_


        ** node file_name.js **


:)  you have successfully compiled and executed ur typescript file
Quick look into Netron
Published: 2022-05-02 14:20:46

---
title: Quick look into Netron
published: true
description: We look into the machine learning network viewer Netron.
tags:
cover_image: https://i.ytimg.com/vi/-7Xq86xmnds/maxresdefault.jpg
---

{% youtube -7Xq86xmnds %}

We look into the machine learning network viewer Netron.
grep Command in CLI
Tags: cli, programming, beginners, tutorial
Published: 2022-05-02 13:52:31

---
canonical_url: https://baransel.dev/post/cli-grep-command/
---

> [Sign up to my newsletter for more tutorials!](https://baransel.dev/newsletter/).

`grep`, the *global regular expression print*, allows us to select and/or mark from a text stack in the context of the specified pattern. The entered template is processed within the specified path, results suitable for the template are listed by marking. By using it alone or with pipes `|`, its capabilities can be developed and/or evaluated in different-purpose operations.

The simplest use by itself is as follows.

```commandline
grep '[search-text/pattern]' [path-to-directory-or-file]
```

We can move on to examples. I will use the `access_log.txt` document of the web server for operations. I want to extract only `POST` operations from the text stack. So I can use a command like this.

```commandline
grep 'POST' /home/nginx/access_log.txt
```

What if I want to perform an exclude operation instead of a select operation? For example, I want to list the transactions that took place outside the `5.12.88.10` IP address.

```commandline
grep -v '5.12.88.10' /home/nginx/access_log.txt
```

Let's develop the example a little more. Let's filter the search operations and direct them to the `keywords.txt` file with `>`. Unless otherwise stated, operations will be performed in the context of case sensitivity. In the example, I applied the command by specifying `-i` to execute the operation without case distinction.

```commandline
grep -i 'search' /home/nginx/access_log.txt > /home/nginx/keywords.txt
```

There are also parameters and usage methods that we can use in line marking, file name and content search operations. Of course, it is possible to get more detailed information with `grep –help`. However, to give a short summary; Using the `-n` parameter, we can get the line number of matches that match our search pattern inside a file. Using it with `cat`, we can cast the fields we want with `head` and `tail`.

```commandline
cat -n /home/nginx/access_log.txt | grep "spam"  | head -5
```

As seen in the example, we do not need to apply the `grep` command first. It is possible to continue many related operations in `grep` after the pipe (`|`) mark.

```commandline
ls -alh | grep '.sql'
```

With the above command, the lines containing `.sql` will be listed and marked. You can edit the command with directories (`^d`) and files (`^-`).

> [Sign up to my newsletter for more tutorials!](https://baransel.dev/newsletter/).
Cloud Computing Acquisitions & Trends – Infographic
Tags: cloud, trend
Published: 2022-05-02 14:13:37

Keeping our finger on the pulse: IOD’s new infographic reveals the top cloud acquisitions of the last 6 months, including one for $6.5B, highlighting the importance of the identity and authentication space, and a $900M purchase that has put the spotlight on the demand for edge solutions. We also cover 4 key trends that will impact your business in 2022. 


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

The world of cloud is constantly changing, making the need for expert-based tech content greater than ever. From videos and tutorials to blogs and white papers, across DevOps, fintech, cybersecurity, AI, and beyond, IOD combines fresh ideas with deep tech and marketing expertise to make sure your message stands out.
I have made a npm package that can help us to see UTC time right in your terminal
Tags: discuss, cli, npm, package
Published: 2022-05-02 14:11:44

---
title: I have made a npm package that can help us to see UTC time right in your terminal
published: true
description: when we working on different projects we need to have a simple look at the utc time (universel time); without have a big google search in terminal. this can help
tags: #discuss #cli #npm #package
//cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7poakzk20rsy7zd0i25x.png
---


# timeis

## 安装 || Install

```bash
npm i timeis -g
# global install help to access anywhere in computer
```

```bash
npm i timeis    
```

## Help's to see the UTC time right in your terminal, without any hassle

type `timeis` in your terminal to see the current time in UTC.

![@usage](https://github.com/theabhayprajapati/timeis/blob/trunk/assets/usage.png?raw=true)

<!-- a title I have made an npm package that can help us to see UTC time right in your terminal: -->
<!-- subtitle: when we working on different projects we need to have a simple look at the UTC time (universal time); without having a big google search in the terminal. this can help -->
## `timeis` with this you can access your UTC time in your terminal

```bash
timeis 
UTC 12:48:56
```

<!-- more features -->

## Usage📝

    -h, --help: help
    -v, --version: version
    -l, --local: local time
    -u, --utc: utc timeis


## Thank you for using.
**🤝🏾share your reviews on Twitter that'll make me happy😊**

---

any problem or suggestion, please ping on Twitter [@abhayprajapati_](https://twitter.com/abhayprajapati_)

[@abhayprajapati (website)](abh.vercel.app)

[@timeis repo](https://github.com/theabhayprajapati/timeis)
landing page figma 01
Tags: figma, landing, htmlcss, esay
Published: 2022-05-02 14:05:22

## Website design to start training on astronautics

![Amirrezaheydari81-landing-page-01-figam](https://waregint.sirv.com/github%20photos/Frame%201.jpg)
This project is only designed so that you can use it for your work

[Download Project In Github](https://github.com/Amirrezaheydari81/landing-page-01-figam)

[Code By : Amirreza.Heydari](https://www.instagram.com/amirrezaheydariinsta/) || [Design By : zalfaaaulia](https://www.figma.com/@zalfaaaulia)
Binary Search Tree Class Implementation
Tags: cpp, tutorial, oop
Published: 2022-05-02 14:01:36

Hello everybody! Today, I will show you an implementation of the binary search tree (BST) class which borrows the structure of a linked list but is a little bit different. The BST has two reference fields (left subtree and right subtree) instead of just only one. Though I have implemented a linked list class before, it has not quite come as an official post. Therefore, if you want to compare between the two, [see it for yourself](https://github.com/qbaocaca/c_plus_plus/blob/main/insert_and_removing_list/solve_with_linked_list.cpp).

Without further ado, let’s get on!

```
struct node
{
    int info;
    node *left;
    node *right;
};

class BST
{
private:
    node *root;
    void deepcopy(const BST &other);

public:
    // node *search(int);
    // node *search(node *, int);
    BST();
    ~BST();
    BST(int);
    BST(const BST &other);
    BST &operator=(const BST &other);
    void insert(int);
    void insert(node *, int);
};
```
Read more [here](https://blogbybao.wordpress.com/2022/05/02/binary-search-tree-class-implementation/)!
SINTRA SENTIMENT CLASSIFIER
Published: 2022-05-02 13:00:03

Hey there! It is my pleasure to announce the kick-off of the first stage of a personal project that I've been developing these past weeks! 👾👾👾⚡️⚡️⚡️⚡️

sintrasentiment.com is a news sentiment classifier web app available for mobile and desktop devices and inspired by the retro arcade vibe from the 80s. The idea is extremely simple: classify a piece of news according to its tone 🎯. The main objective was to keep the design clean and simple.

What you need to know:
1) click the link ([https://sintrasentiment.com]())
2) read the sentence
3) classify based on its tone.

Easy huh? 

It is critical for the quality of the results to get as many users as possible, so sharing and recommending is highly appreciated!!! 📲📲

Don't doubt to reach out if interested in the project or if you encounter any bugs! 😀
——————————————————————————

FULL PROJECT DESCRIPTION

🤓🤓🤓🤓

The point of this first release is to produce a dataset that will feed an ML NLP model in the next stages of development. This will be the foundation for an investment strategy based on a market inefficiency discussed in the paper 'The Information Content of Forward-Looking Statements in Corporate Filings' by Li Feng. 

The web app has been fully implemented in Flask and fully deployed in EC2 virtual servers using a microservices architecture (Docker).

____________________________________________

FAQs 🧐

- There is a piece of news that seems unrelated to any. How should I proceed?

The application is connected to an API that consumes random news which then is split into smaller sentences. There might
This week in streaming May 2, 2022
Tags: apachepulsar, apacheflink
Published: 2022-05-02 13:48:12

[This week](https://www.linkedin.com/pulse/take-kids-work-may-day-2022-streaming-tim-spann-/?trackingId=n0by8UH5Q%2FuQsA29UA2UrA%3D%3D
)


In this edition: Apache Pulsar, Scylla, Druid, Decodable, Kotlin, Java, Spring, Python, MQTT, Kubernetes and Apache Kafka.

No alt text provided for this image
Art by Victoria Spann
Art by Victoria Spann (Stormy and Dakota)
Upcoming will our first in-person meetup this year.

ARTICLES










TRAINING

*Book now* Instructor-led #ApachePulsar Training for Developers: June 14 - 16 at 12 pm EDT/9 am PDT. Spaces are limited, sign up immediately to learn how to develop applications using @apache_pulsar with the experts at StreamNative!

⏰ Early bird tickets now available: Apache Pulsar Operations Training by StreamNative
📅 June 21 - 23 at 12 pm EDT/9 am PDT. Save your spot to level up your #messaging and #streaming skills with #ApachePulsar experts! https://lnkd.in/gqcPtNyZ

EVENTS
28-April-2022 - Complete



04-May: Clickhouse Meetup. May the Force Be With You.



16/20-May-2022. KubeCon | CloudNativeCon. Valencia, ES.
16-May-2022. DoK (Data on Kubernetes). Serverless Event Streaming Applications as Functions on K8
https://dok.community/dok-day-europe-2022-kubecon/
17-May-2022

May 26-27, 2022


June 21, 2022 - Virtual Poland - Data Science Summit: Machine Learning Edition.

July 25-27, 2022
Deep Dive into Building Streaming Applications with Apache Pulsar

August 2022


CODE





COMMITTERS
Congrats to our new committer Zhangmin Gao https://t.co/QxJbwj3Wfv. Gao made most of his contributions on broker's reliability and improving Pulsar IO features. He is also an active contributor on admin, metadata etc. https://twitter.com/apache_pulsar/status/1518998346576412672?s=27&t=2mzg-900GH1juDMSh00dng
Congrats to our new #ApachePulsar committer Zike Yang https://t.co/gzC0MMa2AG! Zike helped with the implementation of PIP 107 and PIP 124. He also added multi-roles support for authentication in terms of security as well as features for C# client.
Welcome onboard https://twitter.com/apache_pulsar/status/1519013447035326464?s=27&t=NHzPFUkDDxL70vsYRhTH9g
Music Monday — What are you listening to? (May 2)
Tags: watercooler, discuss, music
Published: 2022-05-02 13:37:02

_cover image credits: [Thoka Maer](https://giphy.com/gifs/medium-themoment-rjd2-l41lVoIegXT6tgzUk)_

In this weekly series, folks can chime in and drop links to whatever it is they're listening to + browse others suggestions.

If you like talking about music, consider following the org [#music discussions](https://dev.to/music-discussions) for more conversations about music!

{% embed https://dev.to/music-discussions %}

Also noteworthy, my friend @duxtech has a Spanish speaking version of this series [here](https://dev.to/duxtech/lunes-de-musica-que-estas-escuchando-2jcm) in case you'd like to chime in there as well.

{% embed https://dev.to/duxtech/lunes-de-musica-que-estas-escuchando-2jcm %}

So, what have y'all been listening to today? _Note: you can embed a link to your song on most platforms using the following syntax `{% embed https://... %}`._

I look forward to listening to y'all's suggestions! 👂 🎶
Stop Sharing your Website Directly on Social Media!
Tags: webdev, blogging, tutorial, productivity
Published: 2022-05-02 13:31:53

Social traffic really brings low quality traffic in your site, so you really want your site to gain high-quality traffic to increase SEO or traffic-marking of your site. Today we gonna solve the issue of low-quality traffic, let's start!

### Why shouldn't you directly share your website/webapp in social media?
Here's why? Facebook and other social media platforms bring in very low-quality traffic as far as AdSense and traffic-marking is concerned and it's likely any ad clicks will be written off as invalid. Even worse, you could face ads being limited or even have your account disabled.

### How you can protect your site from Low-Quality Traffic?
Here's a quick way to solve it? To Avoid Low-Quality Traffic; Protect your URL to the Xoomato URL guard (https://xoomato.com), sign in, protect your URL and share the social-sharable link you got from the dashboard.


1. Optimize your site for Google or Bing search, and try to gain as much search traffic as you can.

2. Stop Clicking on Your Own Ads, if you’re doing so.

3. To Avoid Invalid Social Traffic; Go to the Xoomato URL guard, sign it, and get your social-sharable link from the [dashboard](https://xoomato.com/guard).

4. Do not request your audience to click on your own ads.

5. Purge all the Forbidden Content (Adult content, Alc0hol, Copyrights, Gambling and games, Healthcare and medicines, Political content, Financial services and Trademarks)

6. Don’t try to gain paid traffic, that’s not good for the health of your traffic-marking or Google Adsense.


Thanks for being with me!
How to get promoted and get ahead as a developer.
Tags: javascript, webdev, beginners, career
Published: 2022-05-02 13:31:37

Let me tell you the bitter truth, working toward promotion is a lengthy process that can take anything from a few months to years but wait.

> "You can accelerate your professional development by finding a mentor."

Look for a developer who has already progressed to the next level.

> Software engineering is a synonym for constant learning.

### Let’s be honest, who doesn’t want to be promoted?

But only a few understand with a promotion there are: 

- More responsibilities
- More compensation 
- More you need to learn new skills you didn’t anticipate learning

### STEP 1- Responsibilities come first, then the promotion. 

- Taking on additional responsibilities in light of future opportunities as an employee is critical.

For e.g.→ Want to become a senior Developer.

Be a senior developer in your responsibilities & actions, & then you’ll become one.

### STEP 2- Communicate expectations.

"Managing expectations of your boss is a difficult task for people."

- Growth is determined by how well you communicate your goals & manage expectations to the best of your ability.

> Tip: Ask the boss to create an individual development plan.

### STEP 3- Use (But Don’t Overuse) Independence

You might be top performers who still don’t get promoted. ↓

"You may be too Independent"

Bosses do not always view independence as a positive trait. Because you are so productive, they may tolerate it politely but never reward it.

### STEP 4- Make it a win-win

"Promotions are not based on multiple-choice exams with only one correct answer and are graded by a machine."

> People decide on promotions.

If an employee wishes to negotiate a pay raise, it's helpful to remember the work expected of them & evaluate.

### STEP 5 - Never lack professionalism

How you act in the presence of coworkers is just as important, if not more so, than how you act in the presence of management. 

A quick question to you:

**Would you promote anyone who is consistently negative about the team & company?**

### STEP 6- Talk to people who are in the position you want to be

Talking to seniors is a good way for new graduates or junior developers to avoid mistakes & understand what skills they need to focus on to one day reach a seniority level.

In life, nothing happens by accident.

### STEP 7- Don't be afraid to look elsewhere.

Despite your best efforts, there are times when the timing is simply not right.

It's often easier to advance your career by joining a new company rather than staying with your current one.

> It's time for a change!

Bonus Tip: Break it down

By breaking down the task of your promotion, you will find the inter-dependencies and be able to stay on track much more successfully.

> "Never get so caught up in the promotion that you forget about your overall career path and goals"

Thanks for reading.

If you’re a regular reader, thank you, you’re a big part of the reason I’ve been able to share my life/career experiences with you.

Connect with me on [Twitter](https://twitter.com/TheAnkurTyagi)
Multiple Pointers
Published: 2022-05-02 13:30:07

The idea of the multiple pointer pattern revolves solely around creating identifiers or pointers that correspond to an index or position, which moves towards a specific direction based on the condition set.

 This pattern is quite efficient for solving problems with minimal space complexity. 

**Example:**

Write a function that accepts a sorted array of integers. The Function in question should find the first pair of integers where the sum is 0, the expected output should return the pair of numbers whose value summed up to `0` and `undefined` if the pair does not exit.


```
function sumZero(arr) {

    let left = 0;
    let right = arr.length -1;

    while(left < right){
        let sum = arr[left] + arr[right];

        if(sum === 0){
            return [arr[left], arr[right]];
        } else if(sum < 0){
            left++
        } else if(sum > 0){
            right--
        }
    }
}
```

**sumZero([-3, -2, -1, 0, 1, 2, 4])**
returns `[-2, 2]`

 **sumZero([-4,2,1])** 
 returns `undefined`

From the above block of code, we have a variable declared for pointers left and right. Such that the left pointer sweeps through the array from the first item in the list towards the ending of the list. While the right pointer starts from the end of the list and moves towards the beginning of the list. All this happens provided the left identifier wouldn't overlap with that of the right.
Logistics Management Software: Potential to Build a “Day 1” Company with High Profit"
Tags: logistic, management, software
Published: 2022-05-02 13:22:08

Companies in many fields of the industry apply logistics management software to boost performance, efficiency, and revenue. Carriers utilize it to get smoother collaboration with the drivers. Retailers are striving to get custom LMS products for better communication with the end-users.

Logistics management software contributes to inventory consolidation, operations streamlining as well as making shipping management more perfect gaining satisfied customers, who will return again and again to get the same high service quality.
[https://innovecs.com/blog/logistics-management-software/](https://innovecs.com/blog/logistics-management-software/)
can someone help me, I'm trying to simulate the click in the html only for specific keys
Tags: javascript
Published: 2022-05-02 13:18:12

```
const mapaTeclado = {
  0: "tecla0", //class in html
  1: "tecla1",
  2: "tecla2",
};
const mapearTeclado = (evento) => {
  const tecla = evento.key;
  console.log(evento.key);

  const teclaPermitida = () => Object.keys(mapaTeclado).indexOf(tecla) != -1;
  if (teclaPermitida()) {
    // document.getElementsByClassName(mapaTeclado[tecla]).click();  dontwork
    // document.querySelector(mapateclado, "[class=tecla]").click(); dont work

    console.log("allowed key");
  }
};
document.addEventListener("keydown", mapearTeclado);
```

https://github.com/LordGhapa/pequeno-estudo-em-js
https://lordghapa.github.io/pequeno-estudo-em-js/calculadora/