teleren/devto huggingface dataset:
React: Components
Tags: react, webdev, beginners, coding
Published: 2024-02-08 13:12:35

## **Introduction to React js**
React js is a JavaScript Library for building User Interfaces(UI). React is all about developing Single Page Applications. To describe React, it is all about Components. 

## **What is a Component?**


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

Components are like Cardboard boxes, In one box we can place books, another one we can place utensils. Smiliar to Cardboard box, a single component can be used for the entire application and a single component can be used for particular page.

**App** Component is the main component for a React Application.

Now let's try to understand Components in detail:

**User Profile in Facebook**

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


Some components from above example:

- Navbar Component
- Chat Component
- Address Component
- Cover Component

## **Common Component**

1.**Navbar Component**: Common for every page in the application.

2.**Chat Component**: Common for both User Feed and Profile Page.


##**Page Specific Components**

1.**Address Component**:Page Specific to the User Profile Page.

2.**Cover Component**: Used for User Profile Page.

This is how the components are used in React.

Meet u soon with more concepts in React🤠
Day 26 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis (Statistics Day -5)
Tags: data, datascience, dataengineering, analyst
Published: 2024-02-08 13:08:23

STATISTICS FOR DATA ANALYTICS - 5

Measure of Variability : -

Variability.
It describes how far apart data points lie from each other and from the centre of distribution.
It also shows the clustering of data. 


Type of Measure of Variability
Mean absolute deviation.
Variance
Standard deviation
Range


Mean absolute deviation : - 

The mean absolute deviation of a dataset is the average distance between each data point and the mean.


Variance ( sigma )
That tells the degree of spread of the dataset.
Lower variance - less spread
High variance - more spread.

POPULATION & SAMPLE 


Standard Deviation : -
It is a square root of the variance, it helps us to know the deviation of the dataset.
Low deviation - less spread means values are near.
High deviation- more spread means values are far.

POPULATION & SAMPLE 

Difference between variance and standard deviation

Standard deviation is a statistical measure used to determine how spread out numbers are in a data set.

Variance gives an actual value to how much the numbers in a data set vary from the mean.



Empirical Rule :-



68     ,95     ,99.7 rule 
Data value  present according to the standard deviation.
Range :- It is commonly used to measure of variability

Range = max - min

Large range means high variability in distribution.

Follow me on this where every day will be added if i learn something new about it  :- https://dev.to/nitinbhatt46

Thank you for your time.
Leading the Charge: Top Software Development Companies in Poland
Published: 2024-02-08 13:07:45

Poland has emerged as a powerhouse in the global tech industry, home to a thriving ecosystem of top-tier software development companies. This article explores the prominence of these industry leaders and the criteria that define their excellence in the Polish market. 

The Technological Vanguard 

Discover the forefront of technological innovation with the [top software development companies in Poland](https://www.mobileappdaily.com/directory/pl/software-development-companies?utm_source=devto&utm_medium=SS&utm_campaign=MAD). This section underscores the pivotal role played by these companies in driving digital transformation, fostering innovation, and delivering cutting-edge solutions that elevate businesses to new heights of success. 

Tailored Solutions for Every Requirement 

Explore the tailored solutions offered by the top software development companies in Poland. From customized software development to innovative applications and robust IT solutions, these companies specialize in adapting their expertise to meet the unique needs of diverse businesses across various industries. 

Spearheading Digital Evolution 

Delve into the spearheading role of the top software development companies in Poland in driving digital evolution. This section highlights their proficiency in embracing emerging technologies, staying abreast of industry trends, and pushing the boundaries of innovation to propel businesses forward in the rapidly evolving digital landscape. 

Success Stories - Client Testimonials 

Uncover success stories as businesses share testimonials from their collaborations with the top software development companies in Poland. Real client experiences underscore the effectiveness and reliability of these firms in delivering scalable, secure, and user-friendly software solutions that drive tangible business outcomes. 

Choosing Excellence - Criteria for Selecting Top Software Development Companies in Poland 

For businesses seeking excellence in software development services, this section provides essential criteria for selecting the right partner among the top software development companies in Poland. From a proven track record and industry expertise to transparent communication and a strategic approach, gain insights into the factors defining excellence in software development partnerships. 

In conclusion, navigating the digital landscape with the top software development companies in Poland is not just a choice; it's a strategic imperative. With a focus on tailored solutions, driving digital evolution, impactful success stories, and a commitment to excellence, these companies stand as trusted allies in the pursuit of technological innovation and business success in Poland and beyond.
Unexpected Behind The Scenes of console.log() 😶‍🌫
Tags: webdev, javascript, watercooler, discuss
Published: 2024-02-08 12:58:10

### 🤔 Have you ever thought about how `console.log` works and how it can handle many arguments at once?

If you’ve worked with JavaScript, then you must have used the console.log method.

It's a function that can accept any number of arguments and print them in the console.

```js
console.log(n1, n2, n3, n4.....n)
```

### 😮 But have you wondered how it handles these variable number of arguments?

Well, such functions are also known as variadic functions and you can create them in JavaScript using the rest operator(...).

Let's consider an example of a function written to calculate the sum of n numbers.

First, you create a function using the rest operator to collect all arguments into an array.

This allows an **_unlimited_** number of arguments to the function.

_(To be honest, there's always some limit, try finding out and comment below as a sign you read the article!)_

```js
let sum = (...args) => {
    console.log(args)
}

sum(1, 2, 3, 4, 5, 6);
sum(0);
sum(10, 20, 30);
```

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

When the function is called, observe this keyword `args` captures the arguments as an array.

Once you have this array of values you can continue writing the code to print the sum.

```js
let calculateSum = (...numbers) => { 
    console.log(numbers.reduce((total, num) => total + num))
} 

calculateSum(1, 2, 3, 4, 5, 6); 
calculateSum(0); 
calculateSum(10, 20, 30);
```

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

Comment below the theories you thought were behind this functionality! (Believe it or not! I thought it was some kind of miracle 😂)

I hope you liked the article! ❤️

Connect with me: [linktree](https://linktr.ee/arjuncodess)

Happy Coding! 🚀
Thanks for 14415! 🤗
Art Portfolio Website WordPress Premium Theme
Tags: webdev, beginners, tutorial, productivity
Published: 2024-02-08 12:55:39


Creating an [art portfolio website](https://rstheme.com/art-portfolio-website-wordpress-premium-theme/) is essential for artists, designers, and creatives to showcase their work and attract potential clients. Let’s explore some of the best WordPress premium themes specifically designed for art portfolio websites:

1. Dabble – Creative Agency & Portfolio WordPress Theme:

- A sophisticated and stylish theme with multiple menu layouts, sliders, and preset blog post styles.
- Features a portfolio system using a custom post type, allowing you to display your projects effectively.
- Available in both free and premium versions, with advanced controls in the premium version.

2. Rubrash – Personal Portfolio WordPress Theme:

- Known for its rock-solid coding and fantastic support.
- Offers full-width portfolio layouts, including checkerboard style and carousel options.
- Utilize the drag-and-drop Elementor Builder to create stunning pages for each portfolio entry.

3. Swipy – Creative Agency WordPress Theme:

- A flexible and feature-rich theme powered by the Elementor page builder plugin.
- Suitable for various types of websites, including art portfolio website.
- Explore its extensive library of over 300 templates for startups, freelancers, and personal sites.

4. Kulluu – Creative Agency WordPress Theme:

- A minimalist freelancer and agency portfolio theme.
- Ideal for showcasing your work with a clean and modern design.

5. Bionic- Personal Portfolio WordPress Theme:

- Another portfolio WordPress theme that emphasizes simplicity.
- Perfect for artists, photographers, and creative professionals.

6. Cretic – Creative Agency WordPress Theme:

- A multi-concept artist and creative agency theme.
- Offers versatility and a variety of options for different types of art portfolio website.

7. Mifo – Creative Minimal Portfolio WordPress Theme:

- A clean and minimal multipurpose theme suitable for art portfolio website.
- Focuses on elegant design and typography.

Remember to choose a theme that aligns with your artistic style, provides an excellent user experience, and effectively showcases your work. Happy creating! 🎨🖌️

For more options, you can explore other themes from [ThemeForest](https://themeforest.net/user/rs-theme). Each of these themes has unique features and customization options to suit your specific needs.
Understanding AWS Amplify Monitoring Metrics Definitions
Tags: aws, cloudcomputing, awsamplify, javascript
Published: 2024-02-08 12:52:21

One of the App settings provided by AWS Amplify is Monitoring, which allows us to monitor metrics like site traffic, configure alarms, and access logs for our Amplify applications in nearly real time. 

In this article, we will look at the definitions of CloudWatch metrics in the _AWS/AmplifyHosting_ namespace for monitoring our app traffic, errors, data transfer, and latency.

When we decide to monitor our app hosted on AWS Amplify, we navigate to the app settings sidebar and click on the Monitoring tab, which takes us to the monitoring page, as shown in the image below.


![monitoring page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oka9xv4bhdargzsf4e1p.png)


So, what do all these terms mean?

According to the Monitoring and CloudWatch section of the AWS Amplify Hosting, Here is what they mean.

**Requests:**  This is the total number of viewer requests Amplify Hosting receives for all HTTP methods and HTTP and HTTPS requests, which means it is how often people visit our website hosted on Amplify, including all types of requests like clicking links or loading pages with HTTP or HTTPS.

**Bytes downloaded:** The total amount of data transferred out of our app (downloaded) in bytes by viewers for GET, HEAD, and OPTIONS requests, which means it shows the total data sent from our app to users when they download something, like images or files, through actions like clicking links or accessing pages.

**BytesUploaded:** This is the total amount of data transferred into our app (uploaded) in bytes using POST and PUT requests. Therefore, it represents the complete data our app receives when users upload files or submit forms, typically through actions like posting comments or uploading images.

**4XXErrors:** The number of requests that returned an error in the HTTP status code 400-499 range. This metric counts the requests that encountered errors on the user's end, like entering incorrect information or trying to access restricted content, resulting in an error response from the server.

**5XXErrors:** The number of requests that returned an error in the HTTP status code 500-599 range. This metric counts the requests that encountered errors on the user's end, like entering incorrect information or trying to access restricted content, resulting in an error response from the server.

**Latency:** This metric measures how quickly Amplify Hosting responds to a request, from when it receives it until it sends the first byte of data back to the network. It excludes the time the response travels to the viewer's device. 
Key statistics include the **average**, **maximum**, **minimum**, and various percentiles (**p10**, **p50**, **p90**, **p95**, **p100**), providing insights into response times across different scenarios.


For more details about the metrics, we can access the CloudWatch metrics in the AWS Management Console [here](https://console.aws.amazon.com/cloudwatch/).
Early Adopter's guide to Umbraco v14 - Upgrading a preview release
Tags: umbraco
Published: 2024-02-08 12:44:15

[preview005 of Umbraco v14 is out](https://github.com/umbraco/Umbraco.CMS.Backoffice/releases/tag/v14.0.0--preview005) ! and as we are mid Ealry Adopter's guide, I thought i would see what an 'upgrade' might look like. spoiler, "fairly simple". 

## Upgrade
So because we both have backoffice c# code and our own frontend lit/typescript code, we have to upgrade both bits. 

### Upgrade the site / apps.
the nice and hopefully painless upgrade of the .nuget package from preview-004 to preview-005 can be done in a number of ways. 

because i am lazy i did it in visual studio, but the dotnet command would work just as well.

```bash
dotnet add package Umbraco.Cms --version 14.0.0--preview005
```

### Upgrade the npm package.
As we are using the NPM packages in our own client library, we need to also update these references. 

> because we are in preview, i think `npm update` isn't really working, so i uninstalled and reinstalled the package. 

```bash
npm uninstall @umbraco-cms/backoffice
npm install --force --registry https://www.myget.org/F/umbracoprereleases/npm/ -D @umbraco-cms/backoffice@14.0.0--preview005
```

### Changes to our example code 
> (i am going to go back and put these changes into the posts, to keep them preview relavent)

So changes from all the code used in the Early adoper's guide posts are mainly name changes. 

[Upgrade Commit is here](https://github.com/KevinJump/TimeDashboard/commit/ab9d2696c068c2f3e7287c55285140f079ea6593)

#### Some aliases have changed names:

```
UMB_NOTIFICATION_CONTEXT_TOKEN => UMB_NOTIFICATION_CONTEXT
```

```
UMB_MODAL_MANAGER_CONTEXT_TOKEN => UMB_MODAL_MANAGER_CONTEXT
```

```
UMB_DOCUMENT_REPOSITORY_ALIAS => UMB_DOCUMENT_DETAIL_REPOSITORY_ALIAS
```

## Troubleshooting an upgrade.
The thing i just did, is upgrade 'everything' but somehow not actually upgrade the site properly, what you then get is a situation where your package will compile down fine (because it is using the current library, but when you put it onto a site, it fails because the site is using the 'old' library. 

> when this happens, none of your package bits appear to work at all. and the browser gives you a little error 

> ![missing token](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2lfn12tppsv6al9rdwj5.png)

> which ammounts to that token doesn't exist. 

> Its probibly worth notining this one, because it's actually a 'your package was made with a diffrent version of the umbraco libraries than the site is running' error.



## Working Samples ? 
Everything appears to still work.

I know there are some minor recommended changes to how the AUTH token can be consumed, and workspace context's for Content Apps, so i am going to go and ammend those posts. but for a straight upgrade it still works 🤞.
Check out this awesome animation we created for our Travel AI app, "Travel Monkey"! 🐒✈️ Made entirely on FlutterFlow.😎
Tags: flutter, flutterflow, animation, appdev
Published: 2024-02-08 12:42:59

Hey there 👋
Check out this awesome animation we created for our Travel AI app, "Travel Monkey"! 🐒✈️ Made entirely on FlutterFlow.😎 – it's simple yet so impactful! 😎✨

Link- https://www.linkedin.com/feed/update/urn:li:activity:7161312012977729536

Adding cool animation to your app is super easy in Flutterflow. With interactive elements, smooth transitions, and eye-catching effects - all without complex coding! It's a great way to make your app stand out and keep users engaged.

So, what do you think about this animation? Let us know in the comments below! We love hearing your feedback!

P.S. Do you have a killer app idea that needs amazing animations? We can help! Connect with us to hire expert FlutterFlow designers & developers who can take your app to the next level and make it shine among the competition. ✨
Why we chose Bun
Tags: webdev, javascript, programming, bunjs
Published: 2024-02-08 12:39:31

At [AlertPix](https://alertpix.live?utm_source=dev.to&utm_medium=alertpix&utm_campaign=posts) we allow streamers to receive donations from their audience via Pix Instant Payment and show an alert on the live stream.

I was eyecatching Bun for a long time. And while developing the initial version of the platform the excitement to use it when it was more stable was really high.
And when 1.0 reached, I knew it, our real time system should be written in Bun.

## No common js or esmodules madness
Our API is in node. And God, how I suffered to import [nanoid](https://github.com/ai/nanoid) in an esmodule project. I had to vendor it, since using a previous version was not ideal.
With bun, we can no longer worry about that. Just import what you need and done.
```ts
import fs from "node:fs"
const path = require("node:path")
```

## TypeScript ou of the box
We all know that TS is just a linter, so we need it as the project grows right?
That feeling when the auto complete works, hits different.
But the struggle to setup TypeScript in nodejs is a pain.

Well, with Bun, its no longer an issue anymore. It just works.

## Fast startup times
Oh boy, while developing [AlertPix](https://alertpix.live?utm_source=dev.to&utm_medium=alertpix&utm_campaign=posts), I was relying solely on using cloud environments since my laptop was in repair.
I can count how many hours I wasted waiting node to sync the changes (I'm talking about you Next, you are slow even on high end machines) in these cloud enviroments. When switched to Bun, everything felt fast.

## Buildless deployment
Our realtime service needs to be deployed as fast as possible.
It means that, the time to identify a bug in production, fix the issue, commit and run de CI deployment should be small.
And we know that, even cached, deployments are slow because of the build step. The bigger the project, the more time it takes.

Since bun runs TypeScript without a build step.
In summary, our container pulls Bun, install the packages, copies the needed files and runs the code with Bun:
```dockerfile
FROM oven/bun

WORKDIR /app

COPY package.json .
COPY bun.lockb .

RUN bun install --production

COPY src src
COPY tsconfig.json .

ENV NODE_ENV production
CMD ["bun", "src/index.ts"]

EXPOSE 3000
```

## Pub Sub is easier
Our real time system is a pub sub on top of websockets.
And it is so easy to do, that we already covered it in [this post](https://dev.to/alertpix/going-real-time-with-donation-alerts-92n)

---
[AlertPix](https://alertpix.live?utm_source=dev.to&utm_medium=alertpix&utm_campaign=posts)
starfield Cheat Engine
Published: 2024-02-08 12:36:52

Starfield Cheat Engine is a game-changer, so long as players with the ability to deploy various aspects of the game. From unrestrained incomes to supercharged spaceships, these cheat engine codes open exits to a galaxy of options. It's not just about laying a bet; it's about crafting your unique journey in the hugeness of space.

Get on on a ride through the cosmic wonders of Starfield, where cheat codes are the key to revealing unimaginable latent. In this guide, we'll delve into the workings of '[Starfield Cheat Engine](https://www.mrlearningway.com/starfield-cheat-engine/)', close-fitting the enigmas that can elevate your gaming practice to new heights.
apex legends map rotation
Published: 2024-02-08 12:35:06

A critical aspect that often goes ignored but significantly influences gameplay is the [Apex Legends Map Rotation](https://www.mrlearningway.com/apex-legends-map-rotation/).

In the ever-evolving world of Apex Legends, staying ahead of the game wants more than just sharp intention and quick reflexes. A critical aspect that often goes ignored but significantly influences gameplay is the Apex Legends Map Rotation. If you've found yourself doubting, What is the apex map rotation, and what maps are in rotation in Apex Legends? you're in the right place. Let's dive into the emotion of the substance without the nonsense and complexities.
Unveiling Excellence: Top Software Development Companies in the UK
Published: 2024-02-08 12:28:51

In the dynamic landscape of technology, the United Kingdom stands as a hub for innovation, hosting a plethora of top-tier software development companies. This article explores the significance of partnering with these industry leaders and delves into the criteria that define their excellence in the UK market. 

The Pinnacle of Tech Innovation 

Embark on a journey of technological advancement with the [top software development companies in UK](https://www.mobileappdaily.com/directory/uk/best-software-development-companies?utm_source=devto&utm_medium=SS&utm_campaign=MAD). This section emphasizes the critical role played by these companies in shaping the digital landscape, fostering innovation, and delivering cutting-edge solutions that propel businesses to new heights. 

Tailored Solutions for Every Need 

Discover the bespoke solutions offered by the top software development companies in the UK. From customized software development to innovative applications and robust IT solutions, these companies specialize in tailoring their expertise to meet the unique needs of diverse businesses across industries. 

Driving Digital Transformation 

Delve into the pivotal role played by the top software development companies in the UK in driving digital transformation. This section highlights their adeptness in adopting emerging technologies, staying ahead of industry trends, and pushing the boundaries of innovation to propel businesses forward in the rapidly evolving digital landscape. 

Success Stories - Client Testimonials 

Explore success stories as businesses share testimonials from their collaboration with the top software development companies in the UK. Real client experiences underscore the effectiveness and reliability of these firms in delivering scalable, secure, and user-friendly software solutions that drive tangible business outcomes. 

Choosing Excellence - Criteria for Selecting Top Software Development Companies in the UK 

For businesses seeking excellence in software development services, this section provides essential criteria for selecting the right partner among the top software development companies in the UK. From a proven track record and industry expertise to transparent communication and a strategic approach, gain insights into the factors defining excellence in software development partnerships. 

In conclusion, navigating the digital landscape with the top software development companies in the UK is not just a choice; it's a strategic imperative. With a focus on tailored solutions, driving digital transformation, impactful success stories, and a commitment to excellence, these companies stand as trusted allies in the pursuit of technological innovation and business success.