teleren/devto huggingface dataset:
Top Data Science Use Cases
Tags: datascience, productivity, opensource, machinelearning
Published: 2022-04-27 15:15:32

## Data Science in Telecom :

- Fraud Detection
- Predictive Analytics
- Customer Churn Prevention
- Customer Segmentation
- Network Management and Optimization
- Recommendation Engines
- Price Optimization
- Targeted Marketing
- Location Based Promotions
- Call Detail Record (CDR) Analysis

## Data Science in Retail :

- Recommendation engines
- Market basket analysis
- Warranty analytics
- Price optimization
- Inventory management
- Location of new stores
- Customer sentiment analysis
- Lifetime value prediction
- Fraud detection
- Logistics and Supply Chain Management
- Demand Forecasting
- Churn prediction
- Foretelling trends through social media

## Data Science in Banking :

- Fraud Detection
- Managing Customer Data
- Risk Modeling
- Customer Lifetime Value Prediction
- Al-driven chatbots & Virtual Assistants
- Customer Segmentation
- Real-Time and Predictive Analysis
- Personalized marketing
- Recommendation engines
- Consumer analytics
- Algorithmic trading

## Data Science in Healthcare :

- Drug discovery
-  Medical image analysis
- Improve Diagnostic Accuracy
- Optimal staffing
- Reduce Risks in Prescription Medicine
- Improve Patient Engagement
- Virtual assistance for patients and customer support
- Managing customer data
- Predictive Analytics
- Tracking & Preventing Diseases
- Data Science in Genomics

## Data Science in Manufacturing :

- Predictive Analytics
- Preventive Maintenance and Fault Prediction
- Price Optimization
- Automation in the Smart Factory
- Supply Chain Optimization
- Product Design and Development
- Inventory Management and Demand Forecasting
- Warranty analysis
- Computer vision applications

## Data Science in Education :

- Improve Adaptive Learning
- Social-Emotional Skills
- Improve Student's Performance
- Monitoring Student Requirements
- Innovating the Curriculum
- Measuring Instructor Performance
- Predicting Dropout Rate
- Better Grading System
- Customized Programs/Paths
- Better Parent Engagement
- Better Assess Teachers

## Data Science in Insurance :

- Detection Of Fraudulent Claims
- Detecting And Mitigating Risk In Real-Time
- Personalizing Marketing Strategies
- Targeting Specific Customer Groups
- Influencing Customer Behaviour
- Lifetime Value Prediction
- Claims Prediction
- Improve Customer Service
- Policy Recommendation Engines

## Data Science in Logistics :

- Demand forecasting
- Automated Warehousing
- Warehouse robots
- Damage detection/ Visual Inspection
- Predictive maintenance
- Self-driving vehicles
- Dynamic Pricing
- Route optimization /Freight management
- Customer service chatbot
Website Development Company In Chennai | Besttech
Published: 2022-04-27 15:15:19

Besttech is one of the developing [Website Development Company](https://www.besttech.in/web-development-company/) in Chennai . In our company, we are specialized to do e-commerce, blog and business website etc.,. We can help you to build website that is also fit within your budget and provide worthful services. we are ready to fulfill the need of our clients and establish close relationships with them. we understand the need of our customers to design each website according to different business requirements. We always ensure that each of our deliverable website product is world class and unique. We are providing full-fledged customer service so feel free to contact us and we are having better solution for you.
Use Ruby Range with date objects
Tags: ruby, rails, todayilearned
Published: 2022-04-27 15:06:23

It is quite common to need to define time periods in your application, most often it is modeled by a start date and an end date. Then these dates are compared to the current date for thing like knowing if a customer is a paying member.

This way of doing often results in methods that could be hard to read

```ruby
class User
  def paying_member?
    subscription_started_at <= Date.current &&
      (subscription_ended_at.nil? || subscription_ended_at > Date.current)
  end
end
```

But there is a way to improve the readability of your code using the Ruby’s Range class.

```ruby
class User
  def paying_member?
    subscription_period.cover?(Date.current)
  end

  private
  
  def subscription_period
    subscription_started_at..subscription_ended_at
  end
end
```

In the event that the customer do not have terminated its subscription the `subscription_period` will return an infinite Range which will also validate our predicate.

Now let’s say that business consider that the subscription is supposed to be over the day before its stored end date, it is quite simple to modify the `subscription_period` method to return a Range that exclude its upper limit.
 
```ruby
class User
  # ...
  def subscription_period
    subscription_started_at...subscription_ended_at
  end
end
```

In a Rails application, it is also possible to take advantage of the methods `Range#===` and `Range#overlaps?` added to the Range class by **ActiveSupport**.

```ruby
class User
  def subscriber_kind
    case subscription_period
    when innovator_period then 'Innovator'
    when early_adopter_period then 'Early adopter'
    when early_majority_period then 'Early majority'
    when late_majority_period then 'Late majority'
    when laggards_period then 'Laggard'
  end

  def share_subscription_with(user)
    subscription_period.overlaps?(user.subscription_period)
  end
end
```

### Links

- [Inspired by Matt Swanson](https://twitter.com/_swanson/status/1313527786326327297?s=20&t=r5nYmj3sW7t2EOCaVP74Jg)
- [Ruby Range API (v3.1)](https://rubyapi.org/3.1/o/range#method-i-last)
- [Active Support Core Range Extensions](https://guides.rubyonrails.org/active_support_core_extensions.html#extensions-to-range)
Create Todo List App in HTML, CSS, and Javascript
Tags: html, css, javascript, incoder
Published: 2022-04-27 14:54:19

Hello friends, today in this blog you will learn how to create a to-do list app in HTML, CSS, and Javascript. In our previous blog, we saw [how to create text to speech converter in HTML, CSS, and Javascript](https://incoderweb.blogspot.com/2022/04/text-to-speech-converter.html). Earlier I shared many projects related to HTML, CSS, and Javascript. You can check here. Now it's time to create a to-do list app. If you are interested then you can check my other javascript projects after reading this blog. My [Javascript blogs](https://incoderweb.blogspot.com/search/label/Javascript).

As you may know, a to-do list is a list of tasks you need to complete or things you want to do, and in this design [Todo List App], there is a content box with a button at the top corner of the content box. when you click on the add button, a modal dialog will be opened. In the modal box, there is a textarea and submit a button, and when you click on the submit button the modal closes, and the task will be added.

##You may like these:

- [Responsive Personal Portfolio design](https://incoderweb.blogspot.com/2022/04/responsive-personal-portfolio-design.html)
- [How to Detect User Location](https://incoderweb.blogspot.com/2022/03/how-to-detect-user-location.html)
- [Analog Clock Desing](https://incoderweb.blogspot.com/2022/04/analog-clock-desing-using-html-css.html)
- [Responsive Animated Card Design](https://incoderweb.blogspot.com/2022/03/Responsive-Animated-Card-Design.html)

There is a menu icon in the list, when you click on the icon then a menu will be opened with two options edit or delete, and when you click on the edit option again a modal will open and you can edit the to-do task. If you are unable to understand what am I trying to say, you can check the source code.

You can get source code [here](https://incoderweb.blogspot.com/2022/04/todo-list-app.html).
Setup VSCode SSH with Cloud9 using CDK
Published: 2022-04-27 14:50:43

### Summary
There are some benefit when using Cloud9, here is the [aws blog vscode cloud9](https://aws.amazon.com/blogs/architecture/field-notes-use-aws-cloud9-to-power-your-visual-studio-code-ide/)

- Auto hibernate after 30 minutes idle
- Auto turn on when open vscode
- No open port
![aws_devops-Expriment (1)](https://user-images.githubusercontent.com/20411077/165545940-4ddcdfb7-2d39-431c-a47f-288dc12a4e1e.jpg)

### CDK stack to create a cloud9 environment

There are multiple way to launch a cloud9 such as AWS console, CLI, CloudFormation, I go with a CDK stack as below.

```
import { aws_cloud9, Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';

export class Cloud9CdkStack extends Stack {
  constructor(scope: Construct, id: string, props?: StackProps) {
    super(scope, id, props);

    // cloud9 environment
    const cloud9 = new aws_cloud9.CfnEnvironmentEC2(
      this,
      'CdkCloud9Example',
      {
        automaticStopTimeMinutes: 30,
        instanceType: 't2.large',
        name: 'CdkCloud9Example',
        connectionType: 'CONNECT_SSM',
        ownerArn: `arn:aws:iam::${this.account}:user/YOUR_IAM_USER_NAME`
      }
    )

    // access the ec2 and attach volume

  }
}

```

### Configure ssh for the local machine

Generate ssh private and public key

```
ssh-keygen -b 4096 -C 'VS Code Remote SSH user' -t rsa
```

Copy the public key from the local machine

```
cat ~/.ssh/id_rsa.pub
```

Paste the key to authorized_keys in ec2 instance

```
echo 'key pub' >> authorized_keys
```

Configure ssh config for the local machine

```
Host cloud9
    IdentityFile ~/.ssh/id_rsa_cloud9
    User ec2-user
    HostName INSTANCE_ID
    ProxyCommand sh -c "~/.ssh/ssm-proxy.sh %h %p"
```

Download the [ssm-proxy script from here](https://github.com/aws-samples/cloud9-to-power-vscode-blog/blob/main/scripts/ssm-proxy.sh).It will check it the Cloud9-EC2 is running or not.

- If the EC2 running, it starts a ssm session and ssh tunnel via the session.

- If the EC2 is stopped, it will start the instance first, then start the ssm session and tunnel ssh.

```
 chmod +x ~/.ssh/ssm-proxy.sh
```
How To Rollback a Specific Migration in Laravel
Published: 2022-04-27 14:44:58


<p>In this post I will show you how to roll back one specific migration in laravel framework let's start...</p>
<p>To run all of your outstanding migrations, execute the <code class="language-php">migrate</code> Artisan command:
<pre><code class="language-php">php artisan migrate</code></pre>
<p><strong>Rolling Back Migrations</strong></p> 
<p> You may use the  <code class="language-php">rollback</code> Artisan command to roll back the latest migrations</p>
<pre><code class="language-php">php artisan migrate:rollback</code></pre>
<p>This command rolls back the last "batch" of migrations, which may include multiple migration files:</p>
<p><strong>Rolling Back a one Specific Migration</strong></p> 
<p>For instance this could be the migrations you have rolledback in your laravel application</p>
<p><pre><code class="language-php">
Rolled back: 2015_05_15_195423_create_emails_table
Rolled back: 2015_05_13_135240_create_posts_table
Rolled back: 2015_05_13_134411_create_contacts_table
</code></pre></p>
<p>You may want to rollback  one specific migration i.e <pre><code class="language-php">Rolled back: 2015_05_13_135240_create_emails_table</code> </pre></p>
<p>Use the following command to achieve this </p>
 <pre><code class="language-php">php artisan migrate:rollback --step=1</code></pre>
<p>The above command will rollback the last migration, no matter the batch number.</p>
<p>You may want to rollback all the migrations the <code class="language-php">migrate:reset</code> command will roll back all of your application's migrations</p>
<p>Use the following command</p>
<pre><code class="language-php">php artisan migrate:reset</code></pre>

Follow my website https://webdevtrainee.com/ for more...
How to remove golang-go from Debian/Ubuntu/Pop OS using terminal
Tags: go, beginners, programming, tutorial
Published: 2022-04-27 14:16:03

```
# Uninstall previous golang-go in ubuntu
```
## This command will remove golang-go package
`sudo apt-get remove golang-go`

## Uninstall golang-go and its dependencies using following command
`sudo apt-get remove --auto-remove golang-go`

## Purging your config/data too using following 
`sudo apt-get purge golang-go or sudo apt-get purge --auto-remove golang-go`

```
# Install Go 1.18.1 in ubuntu
```
## Download the go linux package 
`wget https://storage.googleapis.com/golang/go1.18.1.linux-amd64.tar.gz`

## Extract the package using following command
`sudo tar -zxvf go1.18.1.linux-amd64.tar.gz -C /usr/local/`

## Added Go to Path using following commands
`echo 'export GOROOT=/usr/local/go' >> ~/.bashrc`
`echo 'export GOPATH=$HOME/go' >> ~/.bashrc`
`echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc`
## Now run `go version` command to check whether install or not.
# Top 6 websites to practice JavaScript
Tags: javascript, webdev, programming, beginners
Published: 2022-04-27 14:13:17

**1.Edabit**
this website is basically designed for beginners.
Learn to code with 10,000+ interactive challenges.Gain XP,unlock acheivements and level up.

website link- https://edabit.com/challenges

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




**2.Js-hero**
Learn to code with JS Hero, the JavaScript tutorial with interactive exercises.
On each page you will find a lesson and an exercise. Answer the task directly on the page. Run the tests and you'll see if you did the job right.
website link- www.jshero.net

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




**3.Bigfrontend dev**
 Practice Front-End coding problems and javascript challenges.
 Prepare for job interviews
 website link- https://bigfrontend.dev/

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



**4.jschallenger.net**
JSchallenger is a platform for learning JavaScript by solving coding challenges.
 
website link- https://www.jschallenger.com/

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





**5.w3 resource**
w3resource was created aiming to be the largest online web development resource that beginners can use as a comprehensive learning resource and experienced web developers can use it as a reference
website link- w3resource.com

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

**6.Exercism**
Exercism javascript provides access to 139 excercises grouped into 31 javascript concepts,with automatic analysis of your code and personal mentoring,all 100% free.
Website link- https://exercism.org/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/maj1xmuf72ch6q5tdbgw.png)
Why React can not access images from public
Tags: javascript, react, juniordevs, beginners
Published: 2022-04-27 14:13:07

## How I got to this question.

So the other night I was working on a small react project. I’ve imported images once before with no issues. But this one was giving me a `module error with webpack`. 

## Here’s what I found.
So when you save images or images folders it best to use `src/assets` Inside your react project, don’t save them to the `public/folder` even though you can tweak that html file webpack does not process it because that folder is technically not part of the final bundle when you build production. The fastest way is to move images to src file where all your ‘component/folder’ files are in.

## Okay but why?
Images stores in Your `src/folder` directory is apart of the final bundle with webpack, so they have a bonus of being able to be imported as a JavaScript module. 

So in addition if it’s something you’re going to be importing to put it In your `src/`.
Download File ISO Guitar hero indo Keong racun, Aethersx2
Tags: aethersx
Published: 2022-04-27 13:24:28

Buat kamu para penggemar Guitar Hero indo, Kali ini admin akan membagikan File ISO Game Guitar Hero Indo Keong Racun untuk kamu mainkan di Aplikasi Emulator Aether SX2 kamu.

Baca sampai akhir untuk mendapatkan Link Download File ISO nya.

Baca Juga : File ISO Game Basara Heroes 2  
Guitar Hero Indo Keong Racun
Yang dibutuhkan :

     Aplikasi Aether SX2 

     Aplikasi Zarchiver

     Download File Bios Ps2 nya, Klik DISINI

     Download File ISO Game GH Indo Keong Racun, Klik DISINI

Untuk Cara pasang Game nya silahkan Tonton vidionya di Chanel Youtube saya klik DISINI untuk tutorial pasang Game di Aether SX2.

Kalau mau Request Game silahkan komen dibawah.

source : https://www.nekovio.my.id
JMeter Interview Questions
Tags: interview, jmeter, sql, devops
Published: 2022-04-27 13:14:14

JMeter has become very popular in Software Testing. It's a Java application that is built by Apache. JMeter is a protocol analyzer, not a browser.
Let's hop to the preparation for JMeter interview with our comprehensive list of JMeter interview questions. These interview questions are designed for both beginners and professionals.

**QUE-1** What is JMeter?
**Ans** JMeter is an open source Java based application. It can be used to out performance testing of web based application, web services, FTP server, etc. JMeter works on level of protocol it doesn't execute JavaScript present in HTML Webpages.

**QUE-2** Does JMeter tool stimulates a real browser?
**Ans** No, JMeter does not simulate or function like a real browser. It cannot render HTML response like an actual browser.

**QUE-3** What is Tidy parsing?
**Ans** Its a type of parsing used in XPath extractor. In case of pure XML tidy parsing is not required but in case of case of XHTML its mandatory to check tidy parsing.

**QUE-4** What is a test plan?
**Ans** A Test plan in JMeter is a logical container containing all the test elements which constitute the performance test. Some of the different elements in a test plan are – Thread Group, Samplers, Timers, Assertions, etc.

**QUE-5** What is a distributed testing?
**Ans** Distributed Testing means using multiple machines for load testing in which one of the machines can be made master and others can be kept as a slave. All the machines should be on the  same network and should have the same version of Java and JMeter.

**QUE-6** Explain parameterization in JMeter?
**Ans** Parameterization is the process of parameterizing the user input or other test inputs. So as to use different values for different users and loop iterations. For instance, an external CSV file can be created with multiple login credentials and then passed to the load test script in order to fetch different credentials for each iteration.
[For more details, refer to the post- [Parameterization in JMeter](https://artoftesting.com/jmeter-interview-questions)]

**QUE-8** Is coding necessary to create script in JMeter?
**Ans** Creation of script in JMeter is different from normal script creation. Mostly, a script can be created by recording or using JMeter UI. Followed by parameterization of tests, correlation, and configuration of different test parameters.

**QUE-9** What are the ways in which Data Parameterization can be done in JMeter?
**Ans** Data Parametrization is done to make the script reusable where the values are not required to be hardcoded.

**QUE-10** What is Workbench?
**Ans** A Workbench in JMeter is a temporary area of storage for the test elements. It also contains non-test elements like HTTP Proxy Server, which can be configured to record scripts via browser in JMeter. Any element placed in the workbench doesn’t get saved after with the test plan’s JMX script.

References:-
[JMeter Interview Questions](https://artoftesting.com/jmeter-interview-questions)

[Interview Questions](https://www.softwaretestinghelp.com/jmeter-interview-questions/)
A word about webMethods packages
Tags: webmethods, integrationserver, esb
Published: 2022-05-11 10:52:04

---
title: A word about webMethods packages
published: true
date: 2022-04-27 13:10:14 UTC
tags: webMethods, Integrationserver, ESB
canonical_url: https://tech.forums.softwareag.com/t/a-word-about-webmethods-packages/257043
---
webMethods packages are the building blocks for integrations and the primary delivery mechanism for provisioning Software AG’s webMethods integration runtime.

This is why webMethods Integration Server is ideally situated to responding to the rapidly shifting architectural changes in our production environments, from monolithic high availability clustered servers to modern micro-services running in Kubernetes.

We are planning some exciting new features to take packages to the next level and as part of this I am please to introduce some tech articles aimed at both administrators and developers who want to maximise the benefit and power of packages.

The first article aimed at Administrators is now available
[An administrators perspective on webMethods packages](https://tech.forums.softwareag.com/t/a-word-about-packages/257038)

The second article is aimed at new or experienced developers who want to understand how to get the best out of packages.

[Packages for developers](https://tech.forums.softwareag.com/t/webmethods-packages-from-a-developers-perspective/257088)


Check out the [original post](https://tech.forums.softwareag.com/t/a-word-about-webmethods-packages/257043) in the Software AG Tech Community.
What is JPEG XL?
Tags: webdev, design, performance
Published: 2022-04-27 12:55:33

The JPEG has been an integral image format since 1992, but the Joint Photographic Experts Group didn't stop there.

## JPEG 2000

Finalized in 2000, JPEG 2000's goal was to provide flexibility in decoding images. It only has a modest increase in performance over JPEG. However, the flexibility requires codecs that are complex and computationally demanding. In 2004, the video encoding JPEG 2000 format was selected as the basis of Digital Cinema video compression. The image format is widely used today in diagnostic imagery like MRIs, CT scans, and X-rays. The image format never gained popularity with camera manufacturers or [browser support beyond Safari](https://caniuse.com/jpeg2000), so it remains difficult to use on the web.

## JPEG XL

The JPEG XL format was published in 2019, but is still being [standardized/finalized](https://jpeg.org/jpegxl/index.html). JPEG XL is the Joint Photographic Experts Group's latest and greatest attempt to replace the legacy JPEG. The L in JPEG XL stands for long-term. Since 2000 there have also been JPEG XT, JPEG XR, and JPEG XS. 

Currently, JPEG XL can be enabled in Chromium, Firefox, and Opera browsers, but has [no other browser support](https://caniuse.com/jpegxl). JPEG XL is supposed to remain royalty free. You can grab the [encoder and decoder off Github](https://github.com/libjxl/libjxl) and chat with other JPEG XL enthusiasts on [Reddit](https://www.reddit.com/r/jpegxl/) and [Discord](https://discord.com/invite/DqkQgDRTFu). You can install JPEG XL utilities on Mac using [homebrew](https://formulae.brew.sh/formula/jpeg-xl) and [on Windows](https://github.com/saschanaz/jxl-winthumb). Tools like [GIMP](https://www.gimp.org/) and [ImageMagick](https://imagemagick.org/) are beginning to support it.

As far as file size goes, JPEG XL routinely performs [right in between AVIF and WebP](https://blobfolio.com/2021/jpeg-xl/). Unlike JPEG 2000 and the other JPEG Xs, JPEG XL allows you to transcode existing JPEG files into the JPEG XL without any additional loss. Like most JPEG formats, where it really shines is maintaining quality and color in high quality photographs.

Unlike JPEG, JPEG XL supports transparency and animation and has lossless compression in addition to lossy. Its encoding speed is comparable to WebP, and its decoding speed beats AVIF and WebP.

## Conclusion

We can think of JPEG XL as the upgrade for JPEG, currently in beta. We'll see if the Joint Photographic Experts Group's marketing can garner camera manufacturer and browser support for this format.