teleren/devto huggingface dataset:
Who Am I ?
Tags: webdev, about
Published: 2022-08-11 13:16:00

Hi Dev Family,

I am Abhishek Prajapati, a front-end developer living in Delhi, India. I create user interfaces mostly with core technologies like HTML, CSS, JavaScript, React, and Bootstrap.

## On Earth
I was born on July 1st, 2002. My home town is Azamgarh, a small city in Uttar Pradesh, India. My father is a farmer and my mother is a housewife.

## Schooling
My primary schooling was in a local school. I studied from 1st standard to 6th standard there. After that, I went to the city and studied 7th and 8th standards. High school was completed in my hometown. After that, I went to Ghaziabad, a city in Uttar Pradesh to complete my Diploma in Information Technology in 2018. I completed my Diploma in 3 years, the duration.

## Hobbies
I have too many hobbies that I love to spend time on. One of them is sketching. I make pencil sketches like portraits, 3D Letters, etc. I have a dedicated Facebook page to showcase my work. You can check it out [here](https://www.facebook.com/artworksbyabhi/).

I also like listening to and singing songs, watching movies, reading novels, learning technology, etc.

## Find Me
If you want to talk me. Here are my online presence.

[GitHub](https://github.com/abhi0661236/), [Linkedin](https://linkedin.com/in/abhi-prajapati), [Portfolio](https://itisabhi.vercel.app/contact), [Medium](https://medium.com/@ap0661236)
Future of java development
Published: 2022-08-11 13:12:09

Over the years, Java has earned its popularity as one of the main programming languages for organisation applications. Today in 2021, the future of Java improvement appears to electricity lots of the software program used in the actual world to facilitate enterprise and accomplish tasks. Java has and will proceed to have a very proper future. Software that solves unique functions like ERP, CRMs, cloud inside software, Orchestration frameworks, IDMs, etc, have been constructed the use of Java. Since this has taken years to construct them they will proceed to use them now and in the future. 

The Future of Java Development…
For the previous couple of years Java has delivered many adjustments and posed a difficult venture for builders to maintain up to date with new Java version each 6 months. The launch of famous frameworks like Spring 5, Spring Security 5, and Spring Boot two are simply some of the updates which have been added to existence remaining yr and the today's model of Java used to be launched March 2020, Java 14. Developers will want to continue to be on their toes as extra Java updates are introduced out in the subsequent few years.

There used to be a lot of traction in 2018/2019 as extra and extra agencies are shifting into DevOps and adopting non-stop integration and deployment. DevOps is very tremendous and you want to analyze a lot of equipment and ideas and that’s what weigh down many developers. The future of Java Development can see an expand in DevOps in agencies that will additionally require Java Developers.

The enterprise neighborhood love the predictability of the updates and the lengthy lead and aid instances between versions. Its stability, predictability, depth of features, and robust neighborhood have made are a big perk for many businesses who will undertake this programming in the future.

Java will end up greater responsive to rising traits in improvement and the desires of its users. This include of a speedy launch cycle alongside with prolonged help for reference builds ability Oracle has carried out a hybrid strategy that receives the first-class of each worlds in phrases of balance and flexibility. If one factor is for positive Java builders want to be geared up to refresh their competencies and studying all the time as they convey out new programmes and developments.

Cavendish Professionals
Building up a relationship with a professional recruiter who can maintain you posted on cutting-edge market developments and the competencies that are most in-demand as nicely as the future of Java Development. Whether you are searching for an entry-level function or favor to develop to a mid- or senior-level role, Cavendish Professionals can recommend you on how to attain your goals. Contact our professionals to discover out greater about present day possibilities and how we can assist you to boost your career.
Uploading time is increasing gradually when we are uploading image more than 2000-3000
Published: 2022-08-11 13:04:57

We have made webapp for uplaoding image.for that we are using angular and Firabase storage. When we start to upload image more than 2000-3000,intially uploading time is almost constant for 600-700 images but after that, uploading time is increasing gradually. which is creating big issue. we have already tested with constant internet speed (add throttling in developer tools in chrome) and same images size. but still upload time is increasing gradually.

Code snipet:-
const path = `users/${this.user.uid}/${this.projectName}/${this.file.name}`;
  this.fileName = this.file.name;
  const ref = this.storage.ref(path);
 this.task = ref.put(this.file, {
      customMetadata: { projectName: this.projectName, contentType: 'image/jpeg' }
    });
 let flag = false;
    this.snapshot = this.task.snapshotChanges().pipe(
      finalize(async () => {
        if (!flag) {
          try {
            flag = true;
            this.projectService.uploadedFileCount({
              key: COUNT_UPDATE
            });
          } catch (err) {}
          this.endTime = new Date().getTime();
          this.emitCompleteSignal.emit(1);
          const diff = this.endTime - this.startTime;
          const seconds = diff;
          this.emitCompleteSignalFileInfo.emit(this.file.size + '###' + seconds);
        }
      })
    );
  }


Please help me on that.
How to create an Elastic IP in AWS.
Tags: aws, cloud, beginners, discuss
Published: 2022-08-11 13:02:00

In this post, we will discuss different types of IPs used by AWS. And how to create an Elastic IP in AWS.

AWS offers three types of IP addresses.

1. Public IP
2. Private IP
3. Elastic IP

By using public IP we can access our instance from anywhere on the internet.
By using private IP we can only access our instance within the same VPC.

---

Public IPs, however, change if an instance is restarted, so we cannot use them. Therefore, the website may be unavailable. Your instance can no longer be accessed using your old IP address.

So to solve that problem we use Elastic IP.
Elastic IPs are public IP addresses you can assign to your AWS account. You can associate this elastic IP with any EC2 instance, disassociate from one instance, then reassociate.

It won't change after you restart the instance because of it's static nature.
So the website won't face downtime.


## HOW TO CREATE AN ELASTIC IP IN AWS.

**-First create an instance**

**-Then select Elastic IP in Network & Security**


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

**-Now select Allocate IP address and Associate IP.**

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

**-Go to Associate IP and select the instance to which you want to allocate the Elastic IP, Leave everything as it is and click on Associate.**

**-Now you can see the Elastic IP and the public IP of instance are same.**

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

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

You are done. Now restart the server. You will notice the IP won't change.

Hope you like it:>
What is DevOps?
Tags: devops, devopspgp, pgpcourse
Published: 2022-08-11 12:59:35

## What is DevOps?

DevOps is an array of methods, tools and a mental model that streamlines and integrates processes that connect Software development as well as IT departments. It is a philosophy that emphasizes the empowerment of team teamwork, collaboration and cross-team communication and automation of technology.

The DevOps movement was born in 2007. in the year 2007 when both software development as well as IT operation groups expressed concerns about the conventional software development model, in which the developers who wrote code were in isolation from the operations team who implemented and helped to deploy the code. 

The term DevOps is a combination of development and operation and is the method of integrating these disciplines into a single, continuous process.

Consider the [PGP DevOps](https://www.edureka.co/executive-programs/purdue-devops) course for more information. DevOps is a highly scalable field in the upcoming future, so you need a strong foundation for that. 

## What is the process behind DevOps function?

A DevOps team includes developers and IT operations working collaboratively throughout the product lifecycle, in order to increase the speed and quality of software deployment. It’s a new way of working, a cultural shift, that has significant implications for teams and the organizations they work for.

In the DevOps design, development and operations teams are no any more "siloed." In some cases, both teams will merge into one team, where engineers are involved throughout the entire lifecycle of an application beginning with development and testing through deployment and operations and possess a variety of skills that are multidisciplinary.

DevOps teams utilize tools to automatize and speed up processes, which can help improve the reliability of their processes. A DevOps toolchain assists teams in tackling crucial DevOps basics like continuous integration continuous delivery, automation and collaboration.

DevOps principles are often used in teams that are not developed. When security teams take the DevOps method, security is an active and integral component in development. development process. This is referred to as DevSecOps.
Cool Symbol — All Cool Text Symbols to Copy and Paste.
Tags: coolsymbol, textsymbols
Published: 2022-08-11 12:26:40

## Cool Symbol — All Cool Text Symbols to Copy and Paste.
A collection of cool symbols that provides access to many special fancy text symbols, letters, characters.

##1: Circle Symbol Copy and Paste

![Circle Symbol](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6qe6a05nypsmm7c7oud4.png)

##2: Arrow Symbol Copy and Paste

![Arrow Symbol](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/as8rq1fvr0b3idclc9s9.png)

##3: Bracket Symbol Copy and Paste

![Bracket Symbol](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/03lecitqryedh5h9bq01.png)

##4: Line Symbol Copy and Paste

![Line Symbol](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q8j6vi42rucqrk3795by.png)

##5: Circle Symbol Copy and Paste

![Circle Symbol](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hd8xr7yhuryaxv5g0pg7.png)

Check out my new tool: [copy and paste symbols](https://www.copyandpastesymbol.com/)

check out also these tools: 
[https://pilisymbol.me/](https://pilisymbol.me/)
[https://mysymbol.me/](https://mysymbol.me/)
[https://aestheticamino.me/](https://aestheticamino.me/)
JavaScript: Executando um programa
Tags: javascript
Published: 2022-08-11 12:21:06

Normalmente, afirma-se que JavaScript é uma linguagem interpretada, porque seu código-fonte é processado toda vez que é executado. Mas isso não é totalmente correto. 
Nesse tutotrial veremos sobre a execução de um programa escrito em JavaScript e também escreveremos algumas linhas de código!!!
Confira. Não deixe de apoiar esse projeto, inscreva-se, curta e compartilhe!

{% youtube uuvkY98Aio0&t=214s %}
Set up Content Encoding for AWS API Gateway in Terraform
Tags: aws, terraform
Published: 2022-08-11 11:09:00

## Content Encoding in AWS Console

Recently, when looking through API Gateway settings I stumbled upon Content Encoding:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sdp13is6dsxx9pmlehq5.png)
I was curious and thought that I surely want it enabled (and that it should be enabled by default...). So I set it up, tested, was glad with the results, so wanted to include it in my terraform setup.

After searching the web for some time I was sure it's not possible to set it up. In none of the resources related to the API Gateway, stage or deployment, was any parameter related to encoding.

## Setup in Terraform

I must've dig really deep into aws terraform provider commit history to find out that they've hidden this parameter under `aws_api_gateway_rest_api` resource and named it `minimum_compression_size` !?

So, when this parameter is defined, it means the Content Encoding is turned on and sets what in AWS Console was called **Minimum body size required for compression**.

```
resource "aws_api_gateway_rest_api" "this" {
  name        = "the-best-api"
  description = "Api gateway for ${var.environment} environment"
  minimum_compression_size = 4096
}
```

Hope this helps you and will save you some time searching through the web. 👍

Give this post a heart if you like it!
We created a journaling tool for developers
Tags: productivity, tools, note, programming
Published: 2022-08-11 12:20:01

we created [DevJour](https://www.devjour.com/)
We are developers ourselves and we found it hard to keep track of notes and feedback. We thought about creating a small tool that could help us clear our minds and organise our thought through answering simple questions.
Its still in a very early phase, looking to gather feedback to make it better.
How to display Oracle schema size with SQL query?
Tags: sql, oracle
Published: 2022-08-11 12:06:04

Question:

I have a Oracle schema with 70+ tables. I want to create simple page which can display the HDD space occupied by the tables. How I can get this value with SQL query?

P.S And how I can get the Oracle architecture version?

Solution 1:

You probably want

SELECT sum(bytes)
  FROM dba_segments
 WHERE owner = <<owner of schema>>
If you are logged in as the schema owner, you can also

SELECT SUM(bytes)
  FROM user_segments
That will give you the space allocated to the objects owned by the user in whatever tablespaces they are in. There may be empty space allocated to the tables that is counted as allocated by these queries.

Solution 2:

If you just want to calculate the schema size without tablespace free space and indexes :

select
   sum(bytes)/1024/1024 as size_in_mega,
   segment_type
from
   dba_segments
where
   owner='<schema's owner>'
group by
   segment_type;
For all schemas

select
   sum(bytes)/1024/1024 as size_in_mega, owner
from
   dba_segments
group by
  owner;
Solution 3:

select T.TABLE_NAME, T.TABLESPACE_NAME, t.avg_row_len*t.num_rows from dba_tables t
order by T.TABLE_NAME asc
See e.g. [sqlerrors](https://sqlerrors.com/) for more options
Laravel enum tips!!
Tags: laravel, php
Published: 2022-08-11 12:02:00

About [Laravel Enum](https://github.com/BenSampo/laravel-enum)

**Enum to selector**
![Enum to selector](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51t0xsu8v4dw5bckrtqz.png)
or
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yc0eowlfepnkfcax269t.png)

**Set data type enum in model** 
Setting the data type to an enum will make it easier to use in a view.

![set data type enum in model](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o6ln88eugumu89hc0ag1.png)
Tweet-counter: A module to calculate the length of a tweet
Tags: python, cli, showdev, devjournal
Published: 2022-08-11 11:50:00

_Originally published [on my blog](https://robinwinslow.uk/tweet-counter)._

I just published a new Python package: [tweet-counter](https://pypi.org/project/tweet-counter/) ([repo](https://github.com/nottrobin/tweet-counter)).

If you want to automate posting of tweet using Python, it's pretty important to know if your tweet exceeds the 280-character limit.

It turns out, working this out is non-trivial, as Twitter has [a few rules](https://developer.twitter.com/en/docs/counting-characters) around how it count's characters. These are basically:

- Twitter will convert anything that looks like a URL (with a [valid TLD](https://data.iana.org/TLD/tlds-alpha-by-domain.txt) - e.g. `example.ae`) into a Twitter short link, and count it as taking up exactly 23 characters
- Twitter counts emoji and any unicode character above `U+2037` as each taking up 2 characters

To it's credit, Twitter [provides official open-source libraries](https://github.com/twitter/twitter-text) for calculating tweet length.

But there isn't a library for Python that I could find. So I made one. It's probably far from perfect, but it does at least take into account the top two conditions, which should cover most common English-language use cases.

```
$ pip3 install tweet-counter
$ count-tweet "Otters 👪 otters 𝗼𝘁𝘁𝗲𝗿𝘀 otters otters.com/otters"
60
```

I'm hoping to use it in an automatic tool for turning blog posts into twitter threads that I'm working on.
[Redis Hackathon Submission Post Placeholder Title]
Tags: redishackathon
Published: 2022-08-11 11:32:57

[Instructions]: # (To submit to the Redis Hackathon on DEV, please fill out all sections. DELETE ALL NOTES, reminders, and guidelines before publishing.)


### Overview of My Submission
[Note]: # (Share what you built, how you built it, and the inspiration behind the idea! Please make sure the project links to the appropriate GitHub repository, and includes the [MIT](https://choosealicense.com/licenses/mit/), [Apache](https://www.apache.org/licenses/), [BSD-2](https://opensource.org/licenses/BSD-2-Clause), [BSD-3](https://opensource.org/licenses/BSD-3-Clause), or [Commons Clause](https://commonsclause.com/) license and a README.)


### Submission Category: 

[Note]: # (Select between Minimalism Magicians, Microservice Mavens, MEAN/MERN Mavericks, Wacky Wildcards – Descriptions of requirements listed in the announcement post.)

### [Optional: Video Explainer of My Project]

[Note]: # (This is where you can embed the optional bonus video you created to accompany your submission. Ensure your video is published publicly to YouTube and you’ve used the embed tag here to share it with us. By opting to include a video, you will be eligible for BONUS prizes. Learn more in the announcement post.)

### Language Used
[Note]: # (Select the language you used for your project – must be one of the following: C#/ASP.NET Core, Java/Spring, JS/TS/Node.js, Python)


### Link to Code

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

BTW, your Github code’s README file should contain the details as [per this template](https://github.com/redis-developer/hackathon-docs/blob/main/README.md).

### Additional Resources / Info

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

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

### Collaborators

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

[Note]: # (All collaborators with DEV profiles listed here will receive a badge, however, prizes including sticker packs will only be sent to the member who publishes the post, with the person expected to distribute the prizes evenly amongst their collaborators.)

[Reminder]: # (Submissions are due on August 29th, 2022 @ 11:59 PM UTC).

- - - 

[Note]: # (Please ensure  that the footer content below is part of your post when publishing. Please delete this note in parentheses but do not delete the content below.)


* _Check out [Redis OM](https://redis.io/docs/stack/get-started/clients/#high-level-client-libraries), client libraries for working with Redis as a multi-model database._
* _Use [RedisInsight](https://redis.info/redisinsight) to visualize your data in Redis._
* _Sign up for a [free Redis database](https://redis.info/try-free-dev-to)._
How to setup Redux tool kit for RTK query
Tags: redux, react, javascript, api
Published: 2022-08-11 11:30:00

Redux toolkit query or RTK query for short is the greatest human invention since the wheel. It simplifies performing asynchronous tasks such as fetching data from an API. In this article, I will show you how to set up your project to use RTK query.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6apu38cur26np76cum3h.gif)

1. Run create-react-app 
`npx create-react-app .`

2. Install the following dependecies. 

```javascript

npm install react-redux @reduxjs/toolkit 

```

**Attention**
please note, all files for a single feature should be in the same folder, meaning everything concerning posts should be in a folder called `posts`

#### setup a store

```javascript
// src/app/store.js

import { configureStore } from "@reduxjs/toolkit"
import { apiSlice } from "./api/apiSlice";


export const store = configureStore({
  reducer: {
   // reducer for slice goes here
  },
})

export default store
```

#### Provide the store to the App
wrap the entire app with the store.

```javascript

// index.js
import App from './App';
import { store } from './app/store'
import { Provider } from 'react-redux'

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <App />
    </Provider>
  </React.StrictMode>
);

```

#### create an API slice

```javascript

// src/app/api/apiSlice.js

import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query/react";

const baseQuery = fetchBaseQuery({
    baseUrl: "https://ifeanyi-stock-backend.herokuapp.com/"
})

export const apiSlice = createApi({
    baseQuery: baseQuery,
    endpoints: builder => ({})
})

```
#### Add the API Slice reducer to the store.

`apiSlice.reducerPath` helps us to dynamically assign a name to the API slice reducer.

```javascript
import { configureStore } from "@reduxjs/toolkit"
import { apiSlice } from "./api/apiSlice";


export const store = configureStore({
    reducer: {
        [apiSlice.reducerPath]: apiSlice.reducer
    },
    middleware: getDefaultMiddleware => getDefaultMiddleware().concat(apiSlice.middleware),
    devTools: true
})

```

**Thank You, Please follow me**

[twitter](https://twitter.com/ifeanyiTchima)
[github](https://github.com/MasterIfeanyi)
[linkedin](https://www.linkedin.com/in/ifeanyi-thankgod-chima/)