2.CORONAVIRUS EXPLAINED- symptoms, transmission & preventive measures.

What are the symptoms of COVID-19?

Those infected with the coronavirus disease may be asymptomatic or develop flu-like symptoms such as fever, cough & shortness of breath. Emergency symptoms include difficulty breathing, persistent chest pain or pressure, confusion, difficulty waking, and bluish face or lips; immediate medical attention is advisory if these symptoms are present. Less commonly, upper respiratory symptoms such as sneezing, runny nose or sore throat may be seen. Gastrointestinal symptoms such as nausea, vomiting and diarrhoea have been observed in varying percentages.

How does COVID-19 get transmitted?

The WHO and the U.S.Centers for Disease Control and Prevention (CDC) say it is primarily spread during close contact and by small droplets produce when people cough, sneeze or talk; with close contact being within approximately 1–3 m (3–10 ft). A study in Singapore found that an uncovered cough can lead to droplets travelling up to 4.5 meters (15 feet). Respiratory droplets may also be produce while breathing out, including when talking.

Though the virus is not generally airborne, the National Academy of Science has suggested that bioaerosol transmission may be possible and air collectors positioned in the hallway outside of people’s rooms yielded samples positive for viral RNA. The droplets can land in the mouths or noses of people who are nearby or possibly be inhale into the lungs. Initial studies suggest a doubling time of the number of infected persons of 6–7 days and a basic reproduction number (R0) of 2.2–2.7, but a study to be published on April 07, 2020 calculated a much higher median R0 value of 5.7.

It may also spread when one touches a contaminated surface, known as fomite transmission, and then touches one’s eyes, nose or mouth. While there are concerns it may spread via feces, this risk is believe to be low. The virus survives for hours to days on surfaces. Specifically, the virus was found to be detectable for one day on cardboard, for up to three days on plastic (polypropylene) and stainless steel (AISI 304), and for up to four hours on 99% copper. This, however, varies depending on the humidity and temperature.
The coronavirus is most contagious when people are symptomatic; while spread may be possible before symptoms emerge, the risk is low.

What are the preventive measures for coronavirus disease?

Preventive measures to reduce the chances of infection include staying at home, avoiding crowded places, washing hands with soap and water often and for at least 20 seconds, practising good respiratory hygiene and avoiding touching the eyes, nose or mouth with unwashed hands. The CDC recommends covering the mouth and nose with a tissue when coughing or sneezing and recommends using the inside of the elbow if no tissue is available. Proper hand hygiene after any cough or sneeze should be followed. The CDC has recommended the use of cloth face coverings in public settings, in part to limit transmission by asymptomatic individuals.



PREVIOUS READhttp://blogssolutions.co.in/coronavirus-what-is-it-and-how-it-began/

READ NEXThttp://blogssolutions.co.in/3-coronavirus-explained-diagnosis-treatment-and-containment/

Tagged : / / /

Fiber To Yarn TO Fabric

Sequence of fabric construction –

Interlacement of yarns is use to construct a fabric. These sets of yarns run lengthwise and crosswise. A close examination of any one of these yarns will reveal the fibrous substance. There is a logical development of raw material into finished consumers’ goods. Studying textile in the interesting sequence of “fiber to yarn to fabric” helps understand the construction and ultimate qualities of the fabrics.

Here are the steps of fiber to yarn to fabric :

  1. Fiber,which make yarn by spinning or twisting it.
  2. Yarn, which make fabric by weaving or knitting.
  3. Fabric, which by various finishing processes becomes fishined consumers’ goods.

This how fiber to yarn to fabric is made.

saved from thinkindchoice.com

Kinds of Fibers –

The textile industry uses many different kinds of fibers as its raw materials. Fibers have acquired varied degrees of importance in recent years. Broadly, textile fibers are of two groups namely, natural and man-made.

Natural Fibers –

Natural fibers are obtain from nature in fibrous form. All natural fibers (except silk from undamaged cocoons) are short and measured in inches. These are staple fibers. Even more, these are classify into four groups depending on their source and chemical composition. These are animal/protein fibers, plant/cellulose fibers, rubber and mineral fibers.

Animal / Protein Fibers –

These are hair fibers (on basis of the animal from which they are obtain) and extruded fibers. The larvae of silk moth extrude a continuous filament from their mouth to form a cocoon. Furthermore, the cocoon is process to recover silk fibers.

Plant / Cellulosic Fibers –

These are subcategories according to the part of the plant that produces the fiber. Thus, there exist the categories of seed hair fibers, bast or stem fibers, leaf fibers and the miscellaneous category.

Natural Rubber –

The rubber tree process the latex. The stem is slash to take out and convert the thick milky exudate.

Natural Mineral

Asbestos is a natural mineral fiber. It is obtain from a variety of rock that contain silicates of magnesium and calcium. It is inherently non-flammable but is being replace because of its carcinogenic properties.

Man-made Fibers

Man made fibers are derive from various sources. Technologists make these under control conditions. Man-made fibers are extrude as filaments. Filament fibers are long and therefore can be cut into staple length. There are three groups depending on their raw material, that is, regenerating fibers, synthetic fibers and inorganic fibers.

Regenerated Fibers –

Here, raw material are dissolve through a series of chemical reactions. Then consequently, extrudes to produce a continuous fiber strand. The starting material and the fiber have the same chemical polymer. Raw materials which are obtain from nature include small cotton fibers (linters), wood , milk protein and other diverse substances. Their original form cannot be use. Henceforth the need for reforming or regenerating them. The first regenerated fiber was rayon in 1905 . After that acetate , another cellulosic fiber. Several protein fibers have also been experiment with.

Synthetic Fibers –

These are fibers produce from a chemical to form a polymer not previously existing in a natural state. The first synthetic fiber was nylon in 1938.

Inorganic Fibers –

There are some inorganic substances which do not have the conventional long chain molecules. However, it is possible to soften them by heat application and then form into thin, long strands. These are pliable and resemble organic fiber. Uses of inorganic fibers normally do not include apparel. But since there are numerous industrial uses for them. Expect natural mineral fibers and man-made inorganic fibers such as glass and metals, all textile fiber polymers are organic compounds. In other words they are predominantly compose of carbon and hydrogen atoms some oxygen , nitrogen , chlorine and fluorine atoms.

Classification of Textile Fibers

natural fibers

a) Animal/ Protein
  • Extruded – silk (silk moth – domesticated and wild)
  • Hair – wool (sheep) , speciality ( Alpaca , Cashmere, Llama, Mohair Vicuna) , fur (animal pelt)
b) Plant/Cellulosic
  • Seed hair (cotton, kapok, coir)
  • Stem or bast (flax, jute)
  • Leaf (pina from pineapple leaves, sisal from agave leaves)
  • Miscellaneous (from parts other than above three)

manufactured or man-made fibers

a) Regenerated Fibers
  • Cellulosic – rayon (viscose, cuprammonium, HWM), acetate, triacetate, lyocell
  • Protein – azlon ( from soybean and corn)
b) Synthetic
  • Nylon
  • Polyester
  • Acrylic
  • Modacrylic
  • Olefins ( polyethylene, polypropylene)
  • Spandex
  • Aramid (nomex, kevlar)
  • Carbon
c) inorganic
  • Glass
  • Metallic

References –

  • textbook of fabric science.
  • textiles fibers to fabrics.


Tagged : / / / /

Firebase JobDispatcher Background Service

We need background service for executing many task. For instance geo location, cloud messaging or to execute heavy task which cannot be done during android lifecycle. Some background service might not run for so long that’s why google created this library for doing long running task which is Firebase jobDispatcher.

What is a Firebase JobDispatcher or job Scheduler?

The JobScheduler is an Android system service available on API levels 21 (Lollipop)+. It provides an API for scheduling units of work (represented by jobservice subclasses) that will execute in your app’s process.

Why is this better than background services and listening for system broadcasts?

Running apps in the background is expensive, which is especially harmful when they’re not actively doing work that’s important to the user. That problem is multiplied when those background services are listening for frequently sent broadcasts (android.net.conn.CONNECTIVITY_CHANGE and android.hardware.action.NEW_PICTURE are common examples). Even worse, there’s no way of specifying prerequisites for these broadcasts. Listening for CONNECTIVITY_CHANGE broadcasts does not guarantee that the device has an active network connection, only that the connection was recently changed.

How to Integrate Firebase JobDispatcher Background Service?

So lets start. The official github repo is here and the implemented code is here

  • implement this code in app.gradle implementation ‘com.firebase:firebase-jobdispatcher:0.8.5’
  • add below code to manifest.
<action android:name="com.firebase.jobdispatcher.ACTION_EXECUTE" />
  • add FirebaseJobDispatcher folder to your project.
  • initialize service on mainactivity to start the job.
void ScheduleJob(){

try {
FirebaseJobDispatcher jobDispatcher = new FirebaseJobDispatcher(new GooglePlayDriver(MainActivity.this));

final Job.Builder builder = jobDispatcher

Trigger.executionWindow(60, 60 + 50));
}catch (Exception e){

  • By calling this you can start the job
  • And in DemoJobService ononStartJob you can define your job
  • I have created a notification service just for example you can create any other service with this.
Sample notification


What is coronavirus ?

Coronaviruses are a group of related viruses that cause diseases in mammals and birds. In humans, coronaviruses cause respiratory tract infections that can range from mild to lethal. Mild illnesses include some cases of the common cold. While more lethal varieties can cause SARS, MERS, and COVID-19.

What is Coronavirus Disease?

Coronavirus disease 2019 (COVID-19) is an infectious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The disease was first identified in December 2019 in Wuhan, and has since spread globally. This has resulted in the ongoing 2019–20 coronavirus pandemic. Common symptoms include fever, cough, and shortness of breath. Other symptoms may include fatigue, muscle pain, diarrhoea, sore throat, loss of smell, and abdominal pain. The time from exposure to onset of symptoms is typically around five days. But it may range from two to fourteen days. While the majority of cases result in mild symptoms, some progress to viral pneumonia and multi-organ failure.

How did COVID-19 begin?

An investigation was launched in early January 2020 as health authorities in Wuhan, Hubei, China, reported a cluster of viral pneumonia cases of unknown cause on 31 December 2019, . The virus has a zoonotic origin because the cases mostly had links to the Huanan Seafood Wholesale Market . SARS-CoV-2, a newly discovered virus closely related to bat coronaviruses, pangolin coronaviruses, and SARS-CoV is the virus that caused the outbreak.

In March and April 2020, scientists reported that the virus originated naturally.

The earliest known person with symptoms was later discovered to have fallen ill on 1 December 2019, and that person did not have visible connections with the wet market cluster. But two-thirds of the early cluster of cases reported in December 2019 had a link with the market. On 13 March 2020, an unverified report from the South China Morning Post suggested a case traced back to 17 November 2019, in a 55-year-old from Hubei, may have been the first.

The number of cases doubled approximately every seven and a half days during the early stages of the outbreak. As Wuhan is a transport hub and major rail interchange and due to the Chinese New Year migration in early and mid-January 2020, the virus spread to other Chinese provinces, . On 20 January, China reported nearly 140 new cases in one day, including two people in Beijing and one in Shenzhen. Later official data shows that 6,174 people had already developed symptoms by 20 January 2020.

The United States had overtaken China and Italy with the highest number of confirmed cases in the world by march 26. Research on coronavirus genomes indicates the majority of COVID-19 cases in New York came from European travelers, rather than directly from China or any other Asian country.



FURTHER READhttp://blogssolutions.co.in/2-coronavirus-explained-symptoms-transmission-preventive-measures/

Tagged : / / /

Role of a Fashion Designer

what is the role of a fashion designer exactly ?

do they work under a name of a agency ?

do they have a work place ? if so what do they do in it ?

A fashion designer’s job will depend on who they work with , who they know and where they work. In most fashion industries the role of a fashion designer will be what it says on the tin – to design fashion. They will normally be working in a cohort with other fashion designers , drawing up ideas to suit a particular purpose or style of which their manager will assign them to. In this sort of job , they would indeed be working under the name of an industry. They will work their way up the business until they become the head of management or an agency, an assistant. Basically making all the important decisions and telling everyone what they want to see.

Other fashion designers work in completely different industry, such as creating or designing costumes for the characters in a movie. Others may simply be freelance designers. They will use blogging and the internet to publish their fashion designing ; if they are lucky , someone may offer to buy or to help get the world around about their designs. Either this or they are likely to email agencies showing them their designs. Also maybe requesting that they considering using these designs.

Fashion designers combine technical knowledge with artistic flair to create distinctive clothing and apparel products. Common responsibilities include recognizing fashion trends, creating designs, interacting with fabric suppliers and pitching marketable designs. The designer’s job is not only creating and marketing clothing or garment. Fashion designers study trends and sketch the initial clothing or accessory design. Fashion designers study trends and sketch the initial clothing or accessory design.

There are other fashion designer duties, such as:

  • Observing fashion trends to predict designs for consumers
  • Choosing a theme for designs and collections
  • Utilizing computer-aided design (CAD) programs for designs
  • Participating in fashion shows with designs
  • Picking fabrics, colors, designs, and more for pieces
  • Instructing manufacturers or teams of designers on how to make the piece
  • Managing the production of pieces
  • Creating prototypes or models
  • Discussing designs with directors or managers
  • Finding new consumer markets for designs.

Fashion designers love to study fashion trends, sketch designs, select materials. They have a part in all the production aspects of their designs. They contribute to the creation of millions, if not billions of pieces of clothing and accessories purchased by consumers. Fashion designers create women’s, men’s and children’s apparel. This might include sportswear, maternity wear, outerwear, underwear, formalwear, eyewear and footwear. There are also accessory designers who design belts, scarves, hats, handbags and hosiery.



Upload image on Firebase storage

Upload image on Firebase storage Uploading an image to any server is quite a hectic task and it also as for so much of memory and processing time on the front end. This can be achieve with new RxJava By using this we can create multiple task with quite a minimum time.

What is Firebase Storage?

Cloud Storage for Firebase lets you upload and share user generated content, such as images and video, which allows you to build rich media content into your apps. Your data is stored in a Google Cloud Storage bucket, an exabyte scale object storage solution with high availability and global redundancy. Cloud Storage lets you securely upload these files directly from mobile devices and web browsers, handling spotty networks with ease.

Why RxJava?

RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences.

How to upload image on firebase

How to Upload image on Firebase storage

1- First you need to add the android app to Firebase Console if not done yet you can get through this from here.

2- Add firebase storage to your firebase console.

3- In this tutorial we are using dexter for permission and glide.

4- Add Some helper class For camera upload CameraIntent.java and helper.java.

5- Add layout file activity_sign_up.xml.
<?xml version="1.0" encoding="utf-8"?>




                app:layout_collapseMode="pin" />


6- Now signup activity.

Create a function for upload image

private UploadTask saveImage(Bitmap image_bitmap_load, StorageReference storage, String file_name_small,int type) {

    //Play with bitmap
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    image_bitmap_load.compress(Bitmap.CompressFormat.JPEG, 100, baos);
    final byte[] data = baos.toByteArray();
    Date date = new Date();

    final StorageReference ref = storage.child(file_name_small);
    UploadTask  uploadTask = ref.putBytes(data);

    Task<Uri> urlTask = uploadTask.continueWithTask(new Continuation<UploadTask.TaskSnapshot, Task<Uri>>() {
        public Task<Uri> then(@NonNull Task<UploadTask.TaskSnapshot> task) throws Exception {
            if (!task.isSuccessful()) {
                Toast.makeText(SignUpActivity.this, "unable to upload", Toast.LENGTH_SHORT).show();

                throw task.getException();

            return ref.getDownloadUrl();
    }).addOnCompleteListener(new OnCompleteListener<Uri>() {
                                 public void onComplete(@NonNull Task<Uri> task) {
                                     if (task.isSuccessful()) {
                                         Uri downloadUri = task.getResult();

                                     } else {
                                         // Handle failures
                                         Toast.makeText(SignUpActivity.this, "unable to upload", Toast.LENGTH_SHORT).show();

    return uploadTask;

7- And initialize observable
private final CompositeDisposable disposables = new CompositeDisposable();

Observable<UploadTask> sampleObservable(final UploadTask large_image_task, final UploadTask normal_image_task, final UploadTask small_image_task) {
    StorageReference storage = FirebaseStorage.getInstance().getReference();
    return Observable.defer(new Callable<Observable<UploadTask>>() {
        @Override public Observable<UploadTask> call() throws Exception {
            // Do some long running operation
            //   SystemClock.sleep(5000);

            return Observable.just(large_image_task,normal_image_task,small_image_task);

8- Add task to disposables

// Run on a background thread
// Be notified on the main thread

.subscribeWith(new DisposableObserver<Task>() {
@Override public void onComplete() {
Log.d(TAG, "onComplete()");


@Override public void onError(Throwable e) {
Log.e(TAG, "onError()", e);

@Override public void onNext(Task task) {
Log.d(TAG, "onNext(" + task + ")");

It will trigger oncomplete File will be uploaded to the firebase storage. You can comment below for any queries. You can also get the code from here.

That’s all for how to upload image using Rx java.

Tagged : /