if [ "$BIRTHDATE" == "Jan 1, 2000" ] ; then
echo "BIRTHDATE is correct, it is $BIRTHDATE"
else
echo "BIRTHDATE is incorrect - please retry"
fi
if [ $Presents == 10 ] ; then
echo "I have received $Presents presents"
else
echo "Presents is incorrect - please retry"
fi
if [ "$BIRTHDAY" == "Saturday" ] ; then
echo "I was born on a $BIRTHDAY"
else
echo "BIRTHDAY is incorrect - please retry"
fi
Script #2 #!/bin/bash
NAMES=( John Eric Jessica )
# write your code here
NUMBERS=( 1 2 3 )
STRINGS=( "hello" "world" )
NumberOfNames=${#NAMES[@]}
second_name=${NAMES[1]}
echo ${NUMBERS[@]}
echo ${STRINGS[@]}
echo "The number of names listed in the NAMES array: $NumberOfNames"
echo "The second name on the NAMES list is:" ${second_name}
Please provide your thoughts on how OPEN Source is able to IMPACT a Cure
Article #1: Open Source and Corona Article from zd.net
In Linux and open-source circles, we're fond of saying we've changed the world. And, well, we have changed the world. But, now, we, along with everyone else, face a new challenge: COVID-19.
Here are some of the open-source projects taking on the coronavirus.
One of the biggest problems we face is how to plan and deal with the sheer number of patients that our hospitals will shortly have coming their way. This project, from the Predictive Healthcare team at Penn Medicine, is a tool that leverages SIR modeling, an epidemiological model, which computes the theoretical number of people infected with a contagious illness in a closed population over time, can help hospitals deal with capacity planning.
The newly open-sourced CHIME enables hospitals to enter information about their facility and population and then modify assumptions around COVID-19's spread and behavior. Once it has this information, hospital administrators can run a standard SIR model to project the number of new hospital admissions each day, along with the daily hospital census. They can also create best and worst-case scenarios to assist with capacity planning.
The most important factor in this model is the doubling time. This defines how rapidly a disease spreads. Experiences in other geographical contexts suggest that doubling time may range from three to 13 days or more. You can enter your own doubling time estimate in an online version of CHIME and see what happens
Pfizer is one of the Big Pharma drug giants. Historically, it and its rivals are as friendly to open source as Steve Ballmer was when he was Microsoft's CEO. Pfizer CEO Albert Bourla is now calling on all the drug companies to join forces to battle the pandemic.
Bourla said:
"With very little known about this virus, many are working to develop cell-based assays, viral screening, serological assays, and translational models to test potential therapies and vaccines. Pfizer is committed to making the vital tools we develop available on an open source platform to the broader scientific community and to sharing the data and learnings gained with other companies in real time to rapidly advance therapies and vaccines to patients."
We don't have any further details at this time on this proposal. Still, just the fact that Pfizer is opening its code is significant.
No, Facebook, isn't doing anything directly with open-source software and the virus. This is a Facebook group devoted to creating an open-source ventilator, and it has widened its reach to open-sourcing other medical supplies. Ventilators are essential for taking care of people struggling to breathe in serious cases of coronavirus. The US has approximately 100,000 ventilators, and we may need many more. Other groups, such as EndCoronavirus, are also working on open-source ventilators.
Ventilators may look simple. They're not. Still, the need is great and, hopefully, something can be done in time to create a truly useful ventilator. If not, the efforts to open-source other medical aids won't go amiss.
This is an open-source program for the real-time tracking of pathogen evolution such as COVID-19. It's used to work out a disease's family history, which, in turn, can give us an idea of how it will turn out tomorrow. Previously, it had been used on Ebola; now, armed with coronavirus genetic data from Global Initiative on Sharing All Influenza Data (Gisaid), the project is tracking the coronavirus.
According to a Wired report, researchers using this software were able to establish that the virus was shared around Seattle as early as Jan. 20. That was when people still thought there had to be a direct connection with a victim from Wuhan to be infected.
Only time will tell how useful any of these projects will turn out to be. That said, some of them may prove essential in the weeks and months ahead as we cope with the coronavirus.
Article #2 from Forbes
How Every PC Gamer In The World Can Join The Fight Against Coronavirus Jason Evangelho I cover the fascinating worlds of Linux & consumer PC hardware.
Graphics cards are obviously a useful tool for gaming, video editing and even cryptocurrency mining. But did you know you can “donate” your AMD Radeon or Nvidia GPU’s spare compute cycles to researching and potentially fighting against the ongoing coronavirus pandemic?
The software uses the spare CPU and GPU cycles of thousands of computers globally to simulate protein folding and computational drug design.
Put another way, Folding@Home uses computer simulations to understand a protein’s moving parts. Once scientists have a firm grasp on how the atoms move and interact within a protein, they can venture closer to discovering therapeutics to treat it.
But these simulations require massive computational power. And the Folding@Home team now wants to direct as much global compute power as possible at fighting SARS-CoV-2.
“Viruses also have proteins that they use to suppress our immune systems and reproduce themselves. To help tackle coronavirus, we want to understand how these viral proteins work and how we can design therapeutics to stop them.”
The TL;DR
If you own a Windows, macOS or Linux PC that has a graphics card, you can join thousands of others around the world by donating your spare GPU cycles. This helps power the advanced simulations that could unlock a key to more deeply understanding the novel coronavirus (SARS-CoV-2) and its resulting disease COVID-19.
To get started, all you have to do is download the Folding@Home client for the OS you’re currently using. The linked page should automatically detect your OS and present the right installer.
After that, simply install Folding@Home. Should you need help, here’s a link to detailed installation guides for Windows, macOS and Linux.
Tips For Folding@Home
While this is meaningful software for a terrific cause, it isn’t the most elegant. So I’ll include a few tips for getting it up and running without grinding your PC to a halt.
1) Once the software is installed and launched, it should automatically open a web page that acts as a simple controller and monitor. If it doesn’t, point your browser at https://client.foldingathome.org.
2) If you have a GPU and you want to dedicate those compute cycles to various coranavirus research, choose “Any disease” from the dropdown box labeled “I support research fighting...”
No GPU? Your CPU Is Still Useful
If you don’t have a dedicated graphics card, you can still make a difference. CPU-only workloads contribute to researching Alzheimer’s, Parkinson’s, Huntington’s and cancer. The Folding@Home team is also working on adding COVID-19 simulations to CPU workloads as well, but no timeline was given for that.