teleren/devto huggingface dataset:
Big Data
Published: 2022-09-19 07:55:07

Big data analytics refers to the methods, tools, and applications used to collect, process, and derive insights from varied, high-volume, high-velocity data sets. These data sets may come from a variety of sources, such as web, mobile, email, social media, and networked smart devices. They often feature data that is generated at a high speed and varied in form, ranging from structured (database tables, Excel sheets) to semi-structured (XML files, webpages) to unstructured (images, audio files).
Présentation du dojo ytreza.dev
Tags: french, dojo, ytrezadev
Published: 2022-09-19 07:51:10

Le dojo ytreza.dev est un lieu de rencontre **en ligne** permettant à ses participantes et participants de **progresser** en tant que développeur.

Il s'adresse à toute personne ayant le souhait d'apprendre et d'échanger sur les thématique de l'art du développement. Les développeuses et les développeurs qui le souhaitent peuvent donc venir étudier les sujets qui les intéressent avec les autres, ou au contraire, proposer des sujets sur lesquels ils sont experts afin de permettre aux autre de progresser.

Il est donc ouvert à tout le monde, quelque soit le niveau.
- junior
- senior
- expert

Il y a plusieurs rôles au dojo : 
- participant
- facilitateur
- coach
- formateur
- administrateur

Il y a plusieurs formules pour participer au dojo : 
- Accès gratuit
- Accès VIP
- Accès équipe

Quelques exemples de kata que l'on pratique au dojo : 
- [fizzbuzz](https://www.ytreza.dev/kata/fizzbuzz/)
- [string-calculator](https://www.ytreza.dev/kata/string-calculator/)
- [Change-Maker](https://www.ytreza.dev/kata/Change-Maker/)
- [minesweeper](https://www.ytreza.dev/kata/minesweeper/)
- [Bowling](https://www.ytreza.dev/kata/bowling/)

Quelques exemples des discussions qui se sont déroulées au dojo: 
- Test Driven Development (TDD)
- Architecture hexagonale
- Plateforme pour héberger un site web
- Différents langages (rust, java, python, typescript, go, etc...)
- Revenus en tant que freelance
- Outils
- et plein d'autres

Si le dojo t'intéresse, je t'invite à suivre les étapes ci-dessous : 
- [Découvrir le site web du dojo](https://www.ytreza.dev/dojo/pr%C3%A9sentation/)
- [Suivre l'onboarding](https://www.ytreza.dev/dojo/onboarding/)
- [T'inscrire à la liste de diffusion](https://framalistes.org/sympa/subscribe/dojo-ytreza.dev)

Une fois inscrit, je prendrai personnellement contact avec toi pour te guider à faire tes premiers pas au sein du dojo. Tu peux aussi me contacter en privé ou en commentaire.

A bientôt au dojo !

[Photo de Andrea Piacquadio](https://www.pexels.com/fr-fr/photo/gens-ordinateur-portable-bureau-travailler-3863788/)
Antd Design: Table React
Published: 2022-09-19 07:17:14

**<u>Useful Stackoverflow Resources
</u>**


https://stackoverflow.com/questions/44083948/using-react-component-in-ant-design-table

https://stackoverflow.com/questions/53778383/onmouseenter-on-a-cell-of-antd-table

https://codepen.io/gges5110/pen/GLPjYr?editors=0010
Ruby Methods
Tags: beginners, programming, ruby
Published: 2022-09-19 07:08:08

## What Are Methods

Ruby methods are like functions in other programming languages. Ruby methods are used to group repeatable code into a single reusable _methods_.

Method names should **not** be capitalized. If you begin a method name with an uppercase letter, Ruby might think that it is a constant. The convention is to use underscores to separate words if your method name has more than one word.

## How to Define a Method

Methods should be defined before calling them:

- A methods definition starts with the 'def' keyword followed by the methods name.

- Method parameters are specified between parentheses after the methods name.

- The methods definition ends with the 'end' keyword on the last line similar to a closing bracket for a function.

**Syntax example:**

```
def method_name(argument)
  puts argument 
end
```

## Naming Methods

Method names may end with a "!"(bang operator), a "?" or "=".

- The bang methods(! at the end of method name) are called and executed just like any other method.

- Methods that end with a question mark by convention return a boolean. They may not always return just true or false, but usually they return an object which in ruby is a truthy value.

- Methods that end with an equals sign indicate an assignment method. For assignment methods the return value is ignored, the arguments are returned instead.

## Arguments

A Ruby method can accept arguments.

- The list of arguments follows the method name.

- The parentheses around the arguments are optional.

- Multiple arguments are separated by a comma.

- The arguments are positional.

**Syntax example:**

```
def multiply_values(num1, num2)
  return num1 * num2 
end
```

## Default Values

You can set default values of arguments. The default value does not need to be listed first, but arguments with defaults must be listed together.

**Syntax example:**

```
def multiply_values(num1, num2 = 6)
  return num1 * num2 
end
```
Zookeeper Vulnerability Analysis
Published: 2022-09-19 06:53:54

Hello Team,

Below vulnerabilities have been detected for zookeeper (v3.8.0) image by the vulnerability scanner.

Component: CVE-2022-2048,CVE-2022-23772,CVE-2022-28327, CVE-2022-30580,CVE-2022-30635,CVE-2021-39293,CVE-2022-32189, CVE-2021-41771, CVE-2022-30630, CVE-2021-44716, CVE-2022-23773,CVE-2022-30632, CVE-2022-27664, CVE-2022-24675, CVE-2021-41772,CVE-2022-24921, CVE-2022-30631,CVE-2022-28131, CVE-2022-30633

Can someone please help us to fix above vulnerability?
Factors To Note While Hiring A Taxi
Tags: taxi, cabs, call, travel
Published: 2022-09-19 06:43:58

Although there are many public transport options available these days, taxis still remain a popular choice for many people. Taxis are a convenient and comfortable way to travel, and they can be booked in advance or hailed on the street.
However, not all taxi services are created equal. When you book a taxi From [onroadzcabs.com](https://www.onroadzcabs.com/), you should take into account a few factors to ensure that you get the best possible service. 

In this article, we will discuss the factors you should consider while hiring a taxi. We will also provide some tips on how to choose a reputable taxi service.

The taxi industry has undergone a drastic change in recent years. With the advent of ride-sharing apps, the traditional taxi business has been turned on its head. For those who are still in the business of hiring taxis, there are a few factors that need to be considered. 

The first factor is the availability of a taxi. In most cases, a taxi needs to be booked in advance. This is especially true if you are going to be hiring a taxi during peak hours or during holidays. 

The second factor is the price. In many cases, the price of a taxi ride is fixed. However, there are some cases where the price is negotiable. 

The third factor is safety. When you are hiring a taxi, you need to be sure that you are hiring a reputable company. There are a number of ways to check the safety record of a taxi company. 

The fourth factor is customer service. When you are hiring a taxi, you need to be sure that you are going to be comfortable with the driver. If you want to book a cab then choose [Onroadz Cabs in Chennai | Book Taxi at 30% off](https://www.onroadzcabs.com/chennai-taxi-service/)
Speed Up Your Woocommerce Store With These 9 Tips
Tags: woocommerce, store, codenewbie, cloud
Published: 2022-09-19 06:38:56

With the right optimizations, you can speed up your woocommerce store by up to 50%. In this post, we will cover the 5 most common woocommerce issues and how to fix them.

What is the Woocommerce Issue?
The woocommerce issue is the main reason that your woocommerce store is not loading as fast as it should. There are 5 common woocommerce issues and we will cover each one in detail.

How to Fix the Woocommerce Issue?

1. Check If Your Website Is Optimized for Mobile Viewing:
Make sure that your website is optimized for mobile viewing. This will [speed up your woocommerce store](https://www.cloudways.com/blog/speed-up-woocommerce/) overall.

2. Remove Unnecessary CSS and JavaScript Files:
Remove any unnecessary CSS and JavaScript files from your website. This will reduce the load time of your woocommerce store.

3. Clear Your Cache:
Clear your cache on your website to speed up your woocommerce store.

4. Use Amazon S3 for Storage:
Using Amazon S3 for storage can speed up your woocommerce store by offloading storing bulk data to the cloud.

5. Enable GZip Compression:
Enable GZip compression on your website to speed up the loading of your woocommerce store pages.

6. Optimize Your Images:
Make sure that your images are optimized and are loading quickly. This will also speed up your woocommerce store.

7. Optimize Your Code:
Make sure that your code is optimized and is loading quickly. This will also speed up your woocommerce store.

8. Remove Unnecessary Files:
Remove any unnecessary files from your woocommerce store. This will also speed up your woocommerce store.

9. Check for Broken Links:
Check for any broken links and fix them if necessary. This will also speed up your woocommerce store.

Conclusion
By following these 9 simple steps, you can speed up your woocommerce store.
Automate Context
Tags: javascript, react, reactnative, tutorial
Published: 2022-09-19 06:35:41

Hello, my friends, First of all, I want to talk about the Context and how we can use it.
Context provides a way to pass some values to another component without needing to pass those values as a prop to children's components.
Then you might ask yourself when we should use Context.
Context is designed to share values in the tree of React components. Like user authentication, theme or preferred language.

I want to show you how we can automate Context in React.js / React Native. First, we have a simple JavaScript file that creates our Context like this shot.


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

Now we create another JavaScript file. In this file, we generate Context and return the Context Provider function, then useReducer (or if you want, you can use state ).
In the Provider function, I create another function for loop in my actions that pass my actions to this function.
Then in the Context Provider value, I pass that function ( returned value as an object) and destructure it.


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

In the last step, I export Context & Provider in the main JavaScript file, where I pass the reducer and helper functions like this shot.



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


So, I created an automated Context in React / React Native.
It's optional to use, But this is the best practice and is helpful for you when you have a big project.

Thank you for read this article.
AICRA welcomes Shri Piyush Goyal
Tags: gaisa, aicra, technology, entrepreneurship
Published: 2022-09-19 06:35:15

AICRA welcomes Shri Piyush Goyal, Minister of Commerce & Industry, Consumer Affairs, Food and Public Distribution, Textile, Govt of India, to be Chief Guest of 3rd edition of Global Artificial Intelligence Summit & Awards'22 (GAISA) to be held at Vigyan Bhawan, New Delhi (India) on 7th & 8th Oct'22.
👉 Theme: Indigenization of Artificial Intelligence
👉 Focus: AI in Agriculture, AI in Defense, AI in Healthcare, AI in Education, AI in Smart Cities and Mobility, 

For details, visit: www.gaisa.in

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ybt3kpk4e59j5qnsmn3g.jpg)
What Are the Uses of AI In Medical Devices?
Tags: devops, codenewbie, news, javascript
Published: 2022-09-19 06:33:48

Artificial intelligence (AI) is a powerful and constantly evolving technology with the potential to improve capabilities in a wide range of industries. Medical devices with artificial intelligence have the potential to transform the healthcare industry by assisting medical professionals in more accurately and effectively diagnosing and treating their patients, as well as improving their overall care. Along with its benefits, medical device artificial intelligence faces challenges, such as the need for regulation to keep up with the rapid advancement of technology.

For more info visit here: https://www.aicra.org/aicrapost/what-are-the-uses-of-ai-in-medical-devices/
Some useful ipython magic commands
Tags: python, ipython, jupyter, notebook
Published: 2022-09-19 06:32:07

```
In [1]: %precision 2
Out[1]: '%.2f'

In [2]: import math

In [3]: math.sqrt(2)
Out[3]: 1.41
```

```
In [1]: %time sum(range(10000))
CPU times: user 91 µs, sys: 6 µs, total: 97 µs
Wall time: 98.2 µs
Out[1]: 49995000
```

```
In [1]: %timeit sum(range(10000))
114 µs ± 8.23 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
```

```
In [1]: %load example.py

In [2]: # %load -r 1:3 example.py
   ...: import numpy as np
   ...: import pandas as pd
```

```
In [1]: %save sample.py 1
The following commands were written to file `sample.py`:
get_ipython().run_line_magic('load', 'example.py')
```


Ref.: https://ipython.readthedocs.io/en/stable/interactive/magics.html
System Design: Disaster recovery
Tags: distributedsystems, architecture, tutorial
Published: 2022-09-19 06:29:53


Disaster recovery (DR) is a process of regaining access and functionality of the infrastructure after events like a natural disaster, cyber attack, or even business disruptions.

Disaster recovery relies upon the replication of data and computer processing in an off-premises location not affected by the disaster. When servers go down because of a disaster, a business needs to recover lost data from a second location where the data is backed up. Ideally, an organization can transfer its computer processing to that remote location as well in order to continue operations.

_Disaster Recovery is often not actively discussed during system design interviews but it's important to have some basic understanding of this topic. You can learn more about disaster recovery from [AWS Well-Architected Framework](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/plan-for-disaster-recovery-dr.html)._

## Why is disaster recovery important?

Disaster recovery can have the following benefits:

- Minimize interruption and downtime
- Limit damages
- Fast restoration
- Better customer retention

## Terms

Let's discuss some important terms relevantly for disaster recovery:

![disaster-recovery](https://raw.githubusercontent.com/karanpratapsingh/portfolio/master/public/static/courses/system-design/chapter-IV/disaster-recovery/disaster-recovery.png)

### RTO

Recovery Time Objective (RTO) is the maximum acceptable delay between the interruption of service and restoration of service. This determines what is considered an acceptable time window when service is unavailable.

### RPO

Recovery Point Objective (RPO) is the maximum acceptable amount of time since the last data recovery point. This determines what is considered an acceptable loss of data between the last recovery point and the interruption of service.

## Strategies

A variety of disaster recovery (DR) strategies can be part of a disaster recovery plan.

### Back-up

This is the simplest type of disaster recovery and involves storing data off-site or on a removable drive.

### Cold Site

In this type of disaster recovery, an organization sets up basic infrastructure in a second site.

### Hot site

A hot site maintains up-to-date copies of data at all times. Hot sites are time-consuming to set up and more expensive than cold sites, but they dramatically reduce downtime.


---

_This article is part of my open source [System Design Course](https://github.com/karanpratapsingh/system-design) available on Github._

{% github karanpratapsingh/system-design %}
System Design: SLA, SLO, SLI
Tags: distributedsystems, architecture, tutorial
Published: 2022-09-19 06:29:51


Let's briefly discuss SLA, SLO, and SLI. These are mostly related to the business and site reliability side of things but good to know nonetheless.

## Why are they important?

SLAs, SLOs, and SLIs allow companies to define, track and monitor the promises made for a service to its users. Together, SLAs, SLOs, and SLIs should help teams generate more user trust in their services with an added emphasis on continuous improvement to incident management and response processes.

## SLA

An SLA, or Service Level Agreement, is an agreement made between a company and its users of a given service. The SLA defines the different promises that the company makes to users regarding specific metrics, such as service availability.

_SLAs are often written by a company's business or legal team._

## SLO

An SLO, or Service Level Objective, is the promise that a company makes to users regarding a specific metric such as incident response or uptime. SLOs exist within an SLA as individual promises contained within the full user agreement. The SLO is the specific goal that the service must meet in order to comply with the SLA. SLOs should always be simple, clearly defined, and easily measured to determine whether or not the objective is being fulfilled.

## SLI

An SLI, or Service Level Indicator, is a key metric used to determine whether or not the SLO is being met. It is the measured value of the metric described within the SLO. In order to remain in compliance with the SLA, the SLI's value must always meet or exceed the value determined by the SLO.


---

_This article is part of my open source [System Design Course](https://github.com/karanpratapsingh/system-design) available on Github._

{% github karanpratapsingh/system-design %}
Website Building
Published: 2022-09-19 06:24:01

There are many great website building programs available for beginners of website design and coding. 

Many of these website builders allow you to inject a basic level of code to modify the design, function and capabilities of your built website. 

Squarespace is my personal preference purily for the design elements and user friendly mechanisms. Squarespace have by far the best looking layouts, templates and design elements but it is also the easiest platform to hand over to clients to manage ongoingly. 

Here is an example of a long-running client who offers home improvement services in South Australia who we have build a dynamic website for using the Squarespace platform: [Focus Home Improvements](https://www.focushomeimprovements.com.au/)

Squarespace is also quite supportive of SEO which is also vital for clients in growing the reach and brand awareness online which is the main goal of any website. There is no point in having a beautifully designed website if it's not reaching people searching in your market online!
What is Machine Learning
Tags: beginners, machinelearning, ai
Published: 2022-09-19 06:20:38

According to [MIT](https://mitsloan.mit.edu/ideas-made-to-matter/machine-learning-explained), Machine Learning is a subfield of artificial intelligence, which is broadly defined as the capability of a machine to imitate intelligent human behavior. 

The main programming language used in machine learning is Python.

There are three main types of machine learning:

** Supervised Learning**
This is process where the training data has labels that guide the algorithm to build a model.
The process is known as predictive modeling i.e. making predictions sing data. 
Some of the algorithms used include: _Linear Regression, Logistic Regression, Decision Tree, Random forest and Naïve Bayes classifier_.

**Unsupervised learning**
The data has no labels and are classified according to similarity in groups/ classes called clusters.
Key target is that similar objects belong to one group but different from objects in another group.
Some of the algorithms include: _K-means clustering, Hierarchical clustering_.

**Reinforcement Learning**
The model learns by interacting with an environment and is not taught. A RL agent learns from consequences of its actions on basis of past experiences (exploitation) and new choices (exploration).

Some of the libraries that are handful in machine learning are:

- Scikit-learn: Used for data processing and implementing machine learning models.
https://medium.com/bootrain-blog/a-comprehensive-guide-to-scikit-learn-part-1-overview-of-the-package-b766f1da50da

- TensorFlow: An open source library that helps one to develop and train ML models.
https://www.tensorflow.org/

- Pytorch: An opensource ML framework that shapes the path from research prototyping to production deployment.
https://pytorch.org/

- Ensemble Models: a ML approach to combine other multiple models(base estimators) during prediction process.
https://towardsdatascience.com/ensemble-models-5a62d4f4cb0c

Machine Learning can be applied in many tasks such as:
- Fraud Detection
- Business Analysis and Automation
- Self Driving Cars
- Chat-bots to support Customer Service
- Market Research and Customer Segmentation 
- Automated Security monitoring, among many others.

Learning and understanding Machine learning is a first step, rather a key to using data to create vast solutions.
Week 0028
Tags: weeklyretro
Published: 2022-09-19 06:13:41

### Monday

In the morning I worked on Red Origin. Some annoying activities on bugs and the afternoon I was in vacation. It was an half day of national vacation in Switzerland.

**Mood:** 🤓

### Tuesday

I spent the day in the office with a colleague of mine.
We work on Red Origin for finding a new way to organize the activities, starting from the DevOps organization.
After that I started to work on the License check service for Red Origin.
A few months ago I have created a very easy license system to manage all the licenses for our products.
I did some changes on it to have a better implementation on Red Origin.

**Mood**: ✌️

### Wednesday

At the beginning of the morning, I worked on the License check for Red Origin. I have implemented the logic from yesterday in a specific Blazor component in my project.
It works very well and I will release this feature in the next release (on Friday).

**Mood: ✌️**

### Thursday

I started the morning doing a big refactory in Red Origin because during the debugging sessions I saw a lot of part with a lot of technical debit.
This is why I am retesting more or less everything.

I wrote a blog post about a new that I found to speed up my development flow during the day.

![https://res.cloudinary.com/practicaldev/image/fetch/s--zdE5-Wsx--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a9vbz5dv2i1u92v1wcqc.png](https://res.cloudinary.com/practicaldev/image/fetch/s--zdE5-Wsx--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a9vbz5dv2i1u92v1wcqc.png)

This is the link of the post: [https://dev.to/kasuken/open-edge-developer-tools-automatically-by-launching-debug-with-visual-studio-2022-54og](https://dev.to/kasuken/open-edge-developer-tools-automatically-by-launching-debug-with-visual-studio-2022-54og)

**Mood: 🙅‍♂️**

### Friday

In the morning I worked on Red Origin. I spent a lot of time to solving bugs and made some refactoring of the code.
I refactored especially the backend. Now the code is more safe than before.

After lunch I worked on a side project (for a side business) that I have with a friend of mine.
I will share more information in the next few weeks. Now we are in a kind of embargo.
By the way, I worked on an Azure Function that will import all the data from the Graph API reports into several Azure Tables.
Luckily we have a large tenant where we can test these operations because I found a lot of exceptions to manage.
Especially on the running timeout of the Azure Function. I needed to migrate to an Azure Function with a App Service Plan because I can use the timeout until one hour instead of 10 minutes.
I published everything in our development environment on Azure and I will monitor the situation in the next few days.

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

**Mood: 😊**