Simulink Design Optimization
Specify Custom Signal Objective with Uncertain Variable (GUI)
This example shows how to specify a custom objective function for a model signal. You calculate the objective function value using a variable that models parameter uncertainty.
Competitive Population Dynamics Model
The Simulink model sdoPopulation models a simple two-organism ecology using the competitive Lotka-Volterra equations:
$$\frac{d P_1}{dt} = R_1 P_1 (1 - \frac{P_1(t-\tau_1)+\alpha
P_2(t-\tau_2)}{K})$$
$$\frac{d P_2}{dt} = R_2 P_2 (1 - \frac{P_2(t-\tau_2)+\alpha
P_1(t-\tau_1)}{K})$$
 - $P_n$ is the population size of the n-th organism.
 - $R_n$ is the inherent per capita growth rate of each organism.
 - $\tau_n$ is the competitive delay for each organism.
 - $K$ is the carrying capacity of the organism environment.
 - $\alpha$ is the proximity of the two populations and how strongly they affect each other.
The model uses normalized units.
Open the model.
The two-dimensional signal, P, models the population sizes for P1 (first element) and P2 (second element). The model is initially configured with one organism, P1, dominating the ecology. The Population scope shows the P1 population oscillating between high and low values, while P2 is constant at 0.1. The Population Phase Portrait block shows the population sizes of the two organisms in relation to each other.
Population Stabilization Design Problem
Tune the $R_2$, $\tau_2$, and $\alpha$ values to meet the following design requirements:
 - Minimize the population range, that is, the maximum difference between P1 and P2.
 - Stabilize P1 and P2, that is, ensure that neither organism population dies off or grows extremely large.
You must tune the parameters for different values of the carrying capacity, $K$. This ensures robustness to environment carrying-capacity uncertainty.
Open Design Optimization Tool
Double-click the Open Optimization Tool block in the model to open a pre configured Design Optimization tool session. The session specifies the following variables:
 - DesignVars - Design variables set for the $R_2, \tau_2$, and $\alpha$ model parameters.
 - K_unc - Uncertain parameter modeling the carrying capacity of the organism environment ( $K$ ). K_unc specifies the nominal value and two sample values.
 - P1 and P2 - Logged signals representing the populations of the two organisms.
Specify Custom Signal Objective Function
Specify a custom requirement to minimize the maximum difference between the two population sizes. Apply this requirement to the P1 and P2 model signals.
 1. Open the Create Requirement dialog box. In the New list, select Custom Requirement.
 2. Specify the following in the Create Requirement dialog box:
 - Name - Enter PopulationRange.
 - Type - Select Minimize the function output from the list.
 - Function - Enter _USER_. For more information about this function, see Custom Signal Objective Function Details.
 - Select Signals and Systems to Bound (Optional) - Select the P1 and P2 check boxes.
3. Click OK.
A new variable, PopulationRange, appears in the Design Optimization Workspace.
Custom Signal Objective Function Details
PopulationRange uses the sdoPopulation_PopRange function. This function computes the maximum difference between the populations, across different environment carrying capacity values. By minimizing this value, you can achieve both design goals. The function is called by the optimizer at each iteration step.
To view the function, type edit sdoPopulation_PopRange. The following discusses details of this function.
The function accepts data, a structure with the following fields:
 - DesignVars - Current iteration values of $R_2, \tau_2$, and $\alpha$.
 - Nominal - Logged signal data, obtained by simulating the model using parameter values specified by data.DesignVars and nominal values for all other parameters. The Nominal field is itself a structure with fields for each logged signal. The field names are the logged signal names. The custom requirement uses the logged signals, P1 and P2. Therefore, data.Nominal.P1 and data.Nominal.P2 are timeseries objects corresponding to P1 and P2.
 - Uncertain - Logged signal data, obtained by simulating the model using the sample values of the uncertain variable K_unc. The Uncertain field is a vector of N structures, where N is the number of sample values specified for K_unc. Each element of this vector is similar to data.Nominal and contains simulation results obtained from a corresponding sample value specified for K_unc.
The function returns the maximum difference between the population sizes across different carrying capacities. The following code snippet in the function performs this action:
val = max(maxP(1)-minP(2),maxP(2)-minP(1));
Data Time Range
When computing the design goals, discard the initial population growth data to eliminate biases from the initial-condition. The following code snippet in the function performs this action:
%Get the population data
tMin = 5; %Ignore signal values prior to this time
iTime = data.Nominal.P1.Time > tMin;
sigData = [data.Nominal.P1.Data(iTime), data.Nominal.P2.Data(iTime)];
iTime represents the time interval of interest, and the columns of sigData contain P1 and P2 data for this interval.
Optimization for Different Values of Carrying Capacity
The function includes the effects of varying the carrying capacity by iterating through the elements of data.Uncertain. The following code snippet in the function performs this action:
for ct=1:numel(data.Uncertain)
 iTime = data.Uncertain(ct).P1.Time > tMin;
 sigData = [data.Uncertain(ct).P1.Data(iTime), data.Uncertain(ct).P2.Data(iTime)];
 maxP = max([maxP; max(sigData)]); %Update maximum if new signals are bigger
 minP = min([minP; min(sigData)]); %Update minimum if new signals are smaller
The maximum and minimal populations are obtained across all the simulations contained in data.Uncertain.
Optimize Design
Click Optimize.
The optimization converges after a number of iterations.
The P1,P2 plot shows the population dynamics, with the first organism population in blue and the second organism population in green. The dotted lines indicate the population dynamics for different environment capacity values. The PopulationRange plot shows that the maximum difference between the two organism populations reduces over time.
The Population Phase Portrait block shows the populations initially varying, but they eventually converge to stable population sizes.
% Close the model


text:
I'm trying to take a directory and list its contents in a string array so that a while loop can loop through the contents to find the.out files I'm reading. My program currently can read one of the.out files if given the specific file directory.
Problem is that I need it to be able to find the parent folder of the other folders so that it can then loop through each child folder, get the.out file, find and write the information needed then move onto the next child folder.
The only trouble I'm having is converting the string directory into a format that the.list() method can read. Any ideas?

source: openbmb/Ultra-FineWeb


text:
Loading Custom Tracks
An annotation data file in one of the supported custom track
formats may be uploaded by
any of the following methods:
(Preferred) Enter one or more URLs for custom tracks (one per line) in the data text box. The Genome Browser
supports both the HTTP and FTP (passive-only) protocols.
Click the "Browse" button directly above the URL/data text box, then choose a custom
track file from your local computer, or type the pathname of the file into the
"upload" text box adjacent to the "Browse" button. The custom track data may
be compressed by any of the following programs: gzip (.gz), compress (.Z), or
bzip2 (.bz2). Files containing compressed data must include the appropriate suffix in
Paste the custom annotation text directly into the URL/data text box. Data provided by a URL may
need to be proceeded by a separate line defining
type=track_type required for some
tracks, for example, "track type=broadPeak".
If a login and password is required to access data loaded through a URL, this information can be
included in the URL using the format protocol://user:email@_URL_. Only
basic authentication is supported for HTTP. Note that passwords included in URLs are
not protected. If a password contains a non-alphanumeric character, such
as $, the character must be replaced by the hexidecimal representation for that character. For
example, in the password mypwd$wk, the $ character should be replaced by %24,
resulting in the modified password mypwd%24wk.


What Is FTP and How Can It Improve Your Workout
What Is FTP and How Can It Improve Your Workout
When it comes to building a killer exercise that truly works you out, it can be quite difficult to determine how hard you really need to go. This is because our body is shaped by individual lifestyle choices and adapts to the physical activity (and inactivity) that we exert upon it. That means simply choosing between an easy, intermediate, and hard workout can be a lot tougher to decide when everyone's body fitness is built so differently. That's where Functional Threshold Power (FTP) comes in!
Recommend Product
How FTP works
FTP is traditionally used in competitive sports to determine the theoretical maximum power a rider can sustain for one hour; this is useful in predicting the precise pedal power a rider has down to the wattage. The results can then be used to ramp up training effectiveness and intensity in a highly personalized manner.
FTP is such an effective measuring stick for training intensity that it has rapidly become the must-have smart feature among exercise bikes on the market today—and one of the reasons why our recently released smart bike comes with FTP assessment technologically baked in!
AI Gym App Power Zone
The RENPHO AI Smart Bike uses FTP to evaluate an individual's fitness level and then personalize courses and challenges that align to the tolerance threshold of each rider. The core purpose is to push people to their limits without breaking their will to succeed; this feature can be found by accessing Cycling Power Test in the AI Gym app.
How do I prepare for an FTP test like the one found in RENPHO AI Smart Bike?
It may sound like a daunting task, but FTP is nothing to fear. Just know that you're guaranteed break a sweat, so it's best to dress in comfy clothes and warm-up in preparation for an intense session.
The FTP test will last 10 to 15 minutes and the difficulty will increase every minute until you can no longer pedal any more. Various courses in the RENPHO AI Smart Bike AI Gym app are then automatically calibrated to your FTP result, so it is recommended to cycle as long as possible in order for each training course to be calibrated correctly to your fitness level.
What if I get too tired to pedal for 10 to 15 minutes?
The FTP test ends when the rider can no longer pedal anymore. The test is designed to push the fitness of each rider by increasing the pedal resistance each minute until the rider can no longer continue. This is intended to stress the body and assess how effective it is at withstanding fatigue by adapting to dramatic leaps in weight resistance.
We use FTP to accurately understand a person's fitness threshold so that the AI courses can learn and adjust to your upper limit without ever pushing you beyond what cannot be achieved. Our belief is that the most effective workout regime is not the one that breaks you and leaves you tired for days. Instead, the aim is to provide a reasonable challenge that allows your body to recover faster from fatigue and adapt to a new threshold of strength that is much higher than before.
AI Gym App Power Courses
Should I take multiple FTP tests to get an accurate reading?
One FTP test is enough to calibrate the courses found within the AI Gym app. We do however recommend performing a new FTP test every 4-6 weeks to check your power increase and benchmark the leaps in improvement made after attempting several AI personalized courses.
Is an FTP personalized workout suitable for me?
The RENPHO AI Smart Bike embraces the philosophy of scientific fitness which is why it uses FTP to customize the difficulty of training courses to each rider's physical performance. This differs from traditional exercise bikes on the market which provide a variety of training resistance difficulty levels without taking the individual rider's fitness into consideration. Therefore, FTP personalized workouts are effective and suitable for those above the age of 14 and should be an option to consider when looking for an active cardio workout from home.


text:
... including targeted forecasts at the time of your arrival to each point!
Elmswell, Suffolk typically has a temperate climate with mild winters and warm summers. During the winter months (December to February), temperatures range from an average low of 2°C to an average high of 8°C. During the summer months (June to August), temperatures range from an average low of 13°C to an average high of 20°C.
Rainfall averages between 700 and 900 millimetres per year, with most of it occurring during the winter months. Snowfall is rare, but the occasional light dusting of snow is not unheard of.
On average, Elmswell receives between 1,200 and 1,400 hours of sunshine per year. Winds tend to be light, with average wind speeds ranging from 5 to 10 kilometres per hour.
As of 2020, the city population is 3950.
This map shows the current & 7-day weather forecast, weather alerts, and weather radar for Elmswell, Suffolk.

source: m-a-p/FineFineWeb


The Crustor is an aggressive creature and will attack a player on sight. Unlike is smaller shell cousins, the Crustor is always standing and can be seen from afar due to it's large size. The creatures walks slowly towards a sighted player.
Combat and Tactics
The Crustor will not directly attack a player. It will instead slam it's fists on the ground and cause a fiery earthquake that does damage indirectly. When struck a few times, it will recoil on itself and briefly be invulnerable to all damage.
Deals Resists Vulnerable to
Fire Earth Water
The Crustor can be found on the following islands:


text:
Russell Ranch: a place to study the impacts of farming systems and inputs on agricultural sustainability. Watch this video about the research conducted at Russell Ranch!
The Russell Ranch Sustainable Agriculture Facility is a unique 300-acre facility near the UC Davis campus dedicated to investigating irrigated and dry-land agriculture in a Mediterranean climate. It's also a unit of the Agricultural Sustainability Institute (ASI).
Among Russell Ranch's ongoing experiments is a 100-year study referred to as Long Term Research in Agricultural Sustainability (LTRAS), which is comprised of 72 one-acre plots. LTRAS is an exploration of the long-term impacts of crop rotation, farming systems (conventional, organic and mixed) and inputs of water, nitrogen, carbon and other elements on agricultural sustainability. Sustainability is indicated by long-term trends in yield, profitability, resource-use efficiency (such as water or energy) and environmental impacts.
LTRAS has monitored changes in crop and soil properties, greenhouse gas emissions, weed ecology and economic indicators since 1993. The Sustainable Agriculture Farming Systems (SAFS) project joined with LTRAS in 2003. Russell Ranch is primarily a research facility and also supports UC Davis' extension and teaching missions by hosting field days, class field trips, undergraduate interns and graduate student research.
- Subscribe to the ASI Blog Recent Publications
- Jun 25 Russell Ranch Research Findings _PHONE_
- Jan 20 UC ANR: Strip-Tillage in California's Central Valley

source: HuggingFaceFW/fineweb-edu


text:
Mạc Toàn (chữ Hán: 莫全;? – 1593) emperor Vũ An đế was the sixth king of the Mạc dynasty, and effectively the last of the dynasty. He reigned briefly from _PHONE_, following the death of Mạc Mậu Hợp and was followed by various nominal leaders of the Mạc: Mạc Kính Chỉ (_PHONE_), Mạc Kính Cung (_PHONE_), Mạc Kính Khoan (_PHONE_) and Mạc Kính Vũ (_PHONE_).
- Đại Việt Thông Sử, Lê Quý Đôn (1759)
Mạc Mậu Hợp
|King of Vietnam
Mạc reduced to the status of local lords at Cao Bằng
|This biography of a member of an Asian royal house is a stub. You can help Wikipedia by expanding it.|


choline chloride data sheet
choline chloride
Chinese: 氯化胆碱French: chlorure de choline (n.m.)Russian: холина хлорид
Status: WHO INN
IUPAC PIN: 2-hydroxy-N,N,N-trimethylethan-1-aminium chloride
IUPAC name: choline chloride
(2-hydroxyethyl)trimethylammonium chloride
CAS name: 2-hydroxy-N,N,N-trimethylethanaminium chloride (1:1)
CAS Reg. No.: 67-48-1
Formula: C5H14ClNO
Activity: plant growth regulators (unclassified plant growth regulators)
Notes: There is no ISO common name for this substance; the name "choline chloride" is approved by the World Health Organization, and is also approved in China (氯化胆碱).
Structure: Structural formula of choline chloride
Pronunciation: -lēn klor-ǐd Guide to British pronunciation
InChI: InChI=1S/C5H14NO.ClH/c1-6(2,3)4-5-7;/h7H,4-5H2,1-3H3;1H/q+1;/p-1
A data sheet from the Compendium of Pesticide Common Names


%0 Journal Article %J In Silico Biol %D 2006 %T Sequence-structure-function relation characterized in silico %A Brylinski, M %A Kochanczyk, M %A Konieczny, L %A Roterman, I %K Bacterial Proteins %K Binding Sites %K Databases, Protein %K Hydrophobic and Hydrophilic Interactions %K Ligands %K Models, Chemical %K Models, Molecular %K Thermodynamics %N 6 %P 589-600 %V 6 %X Methods for biological function recognition in silico appeared to be useful also for identifying characteristics of structure-to-function relations. The introduction of a three-dimensional Gauss function was assumed to represent the hydrophobic core in a protein molecule. The discrepancy between idealized "fuzzy oil-drop" and the observed one in real proteins appeared to be localized in the ligation site or in the area of biological function related part of protein molecule. The examples of proteins presented in this paper reveal that the structure-function relation can be evaluated and characterized also using the profile of the difference in value between idealized and real hydrophobicity distribution along the polypeptide chain. The specificity of particular polypeptide chain fragments in respect to their biological function and their specific participation in active site creation is discussed in this paper. The scale allowing comparison of different proteins in respect to their ligand-binding sites characteristics is introduced. %8 2006 %> _URL_


text:
Akada enables you to send emails to parents, students, or staff. Additionally, you can email a class, a specific group of classes, or group codes. Emails can be sent using the main studio email address or from your user email address. You can email receipts, statements, confirmations, as well as several other reports. We'll talk more about emailing those things in other articles. Here we will discuss sending a typical mass email.
- From the home page "email" from the middle of the screen.
- Choose which address to send your email from by click "school" or "user" at the top of the page.
- To select recipients, click the Bcc* button or the "select recipients" link at the top.
- On the Select Recipients screen, select who the email is going to (accounts, students, classes, etc.)
- Select the status of the recipients (active, inactive, both, prospects, etc.)
- Choose a Last Name filter if you desire.
- Click Search, and the Search Results Screen will load.
- From this choose who will be receiving the email (you can select all using the blue link on the left of the screen).**
- When emailing accounts, you can click the pink buttons to include parent 1, 2, or both.
- Click Add Recipients.
- This will prompt a pop-up confirming the number of recipients and total emails.
- Close the pop-up and click the Return to Message button to prepare your email.
- Once you're back on the send email screen, if you wish to add more recipients (students or staff, for example), repeat the steps above.
*We strongly encourage sending group emails as Blind Courtesy Copies to protect the security of your customers' email addresses.
**To choose only specific recipients from the list click to highlight the first recipient. Then press and hold your Control key (command key for Mac users). While holding the control key, click on the other recipients you wish to include.
Attaching a File:
- From the send email screen, click the attach file button at the bottom of the screen.
- From the following pop-up, click the choose file button.
- Find the attachment from your computer and click open.
- Click the Attach File button.
Save for Later – When typing an email that you regularly send (an answer to common questions, for example), you can save that email in your Akada database to use in the future. Enter the subject line and your email message and then click the "Save email" button at the bottom of the screen. The email title will match the subject line.
Load Saved Email – To retrieve a previously saved email, click the "Load Saved Email" button. It will load the title of the email as the subject line and the text into the body field.
Add Signature – On your email setup page, you may create an email signature for each user. To add that signature to an email, click the Add Signature button at the top of the screen.


Genifuel Corporation has facilities in the Western United States.
While aquatic biomass can be grown almost anywhere, the optimum growing location depends primarily on climate (warm and humid all year is best), availability of reasonable amounts of water, availability of a large land area which is not used for other purposes, and proximity to infrastructure for transport of energy (either natural gas or electricity).
If the Genifuel process is used to remediate carbon dioxide emissions from industrial processes, including coal-fired electric generation, then our growing facilities will be located near the industrial plant.
Our licensing partner, the Pacific Northwest National Laboratory, is located in Richland, WA. This US Government facility is operated by Battelle for the United States Department of Energy


text:
Earliest Sunrise is Wednesday; More Daylight Hours through June 21
Each day we are seeing more and more daylight hours, and you've probably noticed. But after Wednesday, the sun will start to rise a little later each day.
Wednesday morning is the earliest sunrise that we will see here in East Texas. The sun will rise at 6:13 a.m. and set at 8:28 p.m., giving us 14 hours and 15 minutes of daylight. Even though we will continue to see the sunrise a little later, we'll actually see the most daylight hours occur on June 21, the summer solstice.
The summer solstice is the start of the summer season in the northern hemisphere. On June 21 we'll see 14 hours and 17 minutes of daylight. Enjoy it because each day through December 21 will be a little shorter with daylight hours. That's when we only see 10 hours and 2 minutes of daylight, on the winter solstice.
Some other days of note when talking about daylight hours:
Daylight hours fall below 12 hours in Tyler: September 27
Earliest sunset in Tyler: November 3
Latest sunrise in Tyler: January 9
The gain of daylight hours has a direct effect on the weather, and more specifically temperatures here in East Texas. More daylight hours equates to more sun, which then equates to the earth heating for longer. June 23 is the first day that the normal high in Tyler is 90 degrees. The normal high stays at or above 90 degrees through September 12.
More sun and more heat also translates to other weather phenomena such as stronger storms, pop up showers and storms, and much more.


text:
Stats NZ has published their latest annual income survey. Some interesting stats:
- Average income from wages/salaries up 6% in the last year
- Average income from all sources up 2.2% and median income from all sources up 2.7% which suggests less income inequality
- Median income for those in paid employment is $45,729 and average income is $53,759
- Median income for those with no qualifications is $39,002, $50,005 for a bachelors degree and $67,003 for a post-grad degree
- Age is a major factor in income. 50% of those in the bottom income quintile are aged under 25, while under 25s make up just 2% of the top income quintile. Those arguing that 16 year olds must get paid $18.40 an hour are basically buts.
- The average income for a couple with two dependent children is $97,924 while for a sole parent with dependent children is $37,126
- Government transfers represent 3% of the income of an average couple with two children and 46% of the income an an average sole parent.
- The median salary/wage for a 40 hour week is $45,009 and the average is $54,229
- 1,197,100 people receive a Government transfer, 1,892,100 are in employment, 323,900 are self-employed


text:
Main Article Content
This study deals with air pollution tolerance index (APTI) and anatomical variation in leaves of two species of terrestrial plants Ficus sp. and Conocarpus sp. that have bee commonly the separated along roadsides in many stations within Babylon province. APTI values of both species were less than 10 during study period which represented sensitivity of these plants to air pollution. There are Anatomical responses to pollution in the leaves of both studied species. Main adaptations included increased thickness of parenchyma cell walls with clear dark deposits in sections of Ficus sp. from sections of stations 2 and 4 which represent polluted stations. Conocarpus sp. main adaptation included stomata increased in density and decreased in size with high tannin cells content in heavy polluted station.
Download data is not yet available.
How to Cite
Journal BS. Evaluation of Air Pollution Tolerance Index (APTI) by two species of terrestrial plants in some stations within Babylon Province, Iraq: Prof. Dr. Maysson Mahdi Salih| Assist Prof. Dr. Batool M. Hassan Al-Adily. Baghdad Sci.J [Internet]. 2017Jun.4 [cited 2021Sep.18];14(2):0349. Available from: _URL_


Ambush Attack: Eagle Snatches Baby Warthog
Watching eagles hunt is always fascinating. These magnificent predators swoop through the air gracefully, grabbing their unsuspecting prey with long, razor-sharp talons and are capable of hauling away shockingly large prey.
But even smaller, less grandiose moments can be interesting, too.
Recently, a family on safari got to witness one of these encounters when a martial eagle snatched and killed a baby warthog right before their eyes.
Nazeem Mohammed, a 49-year-old trade finance banker had been watching a family of warthogs in South Africa's Kruger National Park when the grizzly scene unfolded.
"At first, just filming the warthog, it appeared to be an uneventful, run-of-the-mill drive. For some reason, I kept filming as the piglets ran from beneath one tree to the next before crossing over the road," Mohammed told "My family and I were completely unaware of the martial eagle who remained hidden until the piglets crossed the road in the open."
True to its nature as an ambush predator, that's when the eagle made its move. Seemingly swooping in out of nowhere, the massive bird grabbed an unlucky piglet and patiently held the squirming prey between its giant claws until it died.
"Only once the eagle hooked its target did I realize just what a remarkable sighting I had just caught! Excitement naturally took over," said Mohammed.
After killing the warthog, the eagle immediately flew to a high perch and didn't return to the ground to feed until several hours later.
Image: Sharp Photography via Wikimedia Commons
With a wingspan ranging from 6 to 8 feet and the larger females weighing up to 14 pounds, martial eagles are the largest eagle species on the African continent. Their size belies astonishing power, too. The birds reportedly have enough power in one foot to break a person's arm and are capable of knocking an adult man of his feet.
The eagles typically hunt while in flight, zeroing in a wide variety of prey from as far as 4 miles away and stooping sharply to grab their targets. But occasionally, they will hunt from a high perch or concealed behind vegetation.
Martial eagles are classified a Vulnerable to extinction by the IUCN and are frequent targets of local farmers due to their habit of preying on livestock and game.
WATCH NEXT: Leopard Hunts Down Warthog


Definitions for emergency room
This page provides all possible meanings and translations of the word emergency room
Princeton's WordNet
 1. emergency room, ER(noun)
 a room in a hospital or clinic staffed and equipped to provide emergency care to persons requiring immediate medical treatment
Wiktionary
 1. emergency room(Noun)
 A department of a hospital primarily used for the treatment of the most serious, often life-threatening conditions.
Numerology
 1. Chaldean Numerology
 The numerical value of emergency room in Chaldean Numerology is: 8
 2. Pythagorean Numerology
 The numerical value of emergency room in Pythagorean Numerology is: 3
Sample Sentences & Example Usage
 1. Brittany Buell:
 Our plan was to go to the emergency room because they can't turn you away.
 2. Ben Reagan:
 Those things have been occurring this whole time, what you now have is an atmosphere where people are much more comfortable going to the emergency room.
 3. Howard Ross:
 You're dealing with people who are frightened, they're reactive, if you're doing triage in the emergency room, for example, you don't have time to sit back and contemplate, 'Why am I thinking about this?' You have to instantaneously react.
 4. Brian Smith:
 Kids do get overdosed; it happens in the hospital with all of these safeguards in place and it happens at home, kids come to the emergency room with unintentional overdoses and they get sick and some kids die. Anything we do to reduce errors by making the dosing clearer will save lives.
 5. John Cunha:
 I have had patients in my practice in the emergency room that I have walked in on that are actually vaping at the bedside, ...Someone could be sitting in their room in the emergency room and they could be vaping in between being seen by medical professionals, and we would have no idea what they are taking.
Images & Illustrations of emergency room
Translations for emergency room
From our Multilingual Translation Dictionary
Get even more translations for emergency room »
Translation
Find a translation for the emergency room definition in other languages:
Select another language:
Discuss these emergency room definitions with the community:
Word of the Day
Would you like us to send you a FREE new word definition delivered to your inbox daily?
Please enter your email address:
Citation
Use the citation below to add this definition to your bibliography:
Style:MLAChicagoAPA
"emergency room." Definitions.net. STANDS4 LLC, 2016. Web. 1 Jul 2016. <_URL_ room>.
Are we missing a good definition for emergency room? Don't keep it to yourself...
Nearby & related entries:
Alternative searches for emergency room:
Thanks for your vote! We truly appreciate your support.


text:
The incidence of congenital anomalies of the uterus has generally been obtained from studies of women undergoing evaluation for infertility, and has been reported as 1-10%. However, the true incidence of uterine malformations is not known. This study reviews hysterosalpingograms obtained for evaluation of tubal closure after transcervical sterilization in normal multiparous women using methylcyanoacrylate and the FEMCEPT device. Of the 840 hysterosalpingograms studied, 16 congenital uterine anomalies were identified, for an incidence of 1.9%. The presence of anomalies in this population of women may more closely represent the incidence of congenital uterine anomalies in the general population.
(C) 1988 The American College of Obstetricians and Gynecologists


text:
Malta's Valletta Declaration on a Mediterranean Zero Carbon Economy by 2030 is set to include green urban infrastructure as measures to combat climate change.
Valletta, the tiny capital of the beautiful Mediterranean island nation of Malta, will host the Towards a Zero Carbon Economy Beyond 2030 – Sustainable Urban Centres conference, held on May 29, 2017 at the University of Malta – Valletta Campus.
The culmination of the upcoming Towards a Zero Carbon Economy Beyond 2030 – Sustainable Urban Centres conference will focus on the Valletta Declaration.
Organized by Climate-KIC and Paragon Europe, climate challenges occurring here in the cradle of civilization will be highlighted. The goal is to create a world's first zero carbon economy solution in the Mediterranean by 2030 and issue an important Valletta Declaration from the conference that binds generations to come.
Climate-KIC is Europe's largest public-private innovation partnership focused on climate innovation to mitigate and adapt to climate change. Paragon Europe is a Maltese organization focused on research, training and project management.
"By organising a conference around 3 important pillars, the challenges and solutions in green urban centres, circular economy and green finance, Climate-KIC will also showcase the key deliverables achieved so far on Smart Sustainable Districts and its plans to extend the flagship programme to the Mediterranean.
The Smart Sustainable Districts (SSD) is a Climate-KIC programme that works closely with highly ambitious districts, such as Malta, across Europe to identify innovative solutions to their sustainability and climate change challenges.
Throughout the conference the focus will be on low carbon mobility concepts, the operation of smart grids, energy neutral buildings, the promotion of efficient water management and improvement of public and green spaces." Towards a Zero Carbon Economy Beyond 2030 – Sustainable Urban Centres
Climate-KIC and Paragon Europe are looking at how to achieve a zero-carbon economy beyond 2030 to mitigate the severely damaging effects of climate change through the full-day Climate Change Conference that is part of the official Maltese-EU Presidency program. And greenroofs and other forms of green urban infrastructure will be presented here at the Towards a Zero Carbon Economy Beyond 2030 – Sustainable Urban Centres conference. A series of keynotes and presentations will be held in the morning and followed by afternoon workshops where solutions to challenges will be provided.
"A long-term adaptation and mitigation plan to cope with the effects must start now. This includes identifying areas prone to sea flooding and building appropriate flood defences, drawing up a comprehensive water framework plan to ensure the survival of the mean sea level aquifer and developing comprehensive mitigation and adaptability plans to protect our cultural heritage." ~ Edwin Ward, Paragon Europe
To learn about the Agenda, Speakers, accommodations, and further regarding Towards a Zero Carbon Economy Beyond 2030 – Sustainable Urban Centres in Malta, visit their website.
The Growing Green Economy
Several factors are helping to drive change towards a low carbon economy in Malta and the region including government legislation, innovations in low carbon technology, and the growing green economy.
In fact, an informal high-level Meeting on Energy Efficiency in the Mediterranean was held on May 18 and 19 at the Grand Master's Palace in Valletta. The two day meeting gathered Energy Ministers and their delegations from the 43 States of the Union for the Mediterranean (UfM), i.e. EU28, North Africa, and Mediterranean Middle East.
The Meeting on Energy Efficiency in the Mediterranean meeting was co-organized by the European Commission, the UfM, the Maltese EU Presidency, and the Kingdom of Jordan. Greenroofs and other forms of green infrastructure were presented by Knauf Insulation, a member of the greenroof industry, showing they are important elements to provide advanced energy efficiency in buildings.
Jure Šumi, Business Development Director Green Solutions with Knauf Insulation said:
"As roofs are the sites of the greatest heat loss in the winter and the hottest temperatures in the summer, green roofs help both – keep the cold out in the winter and reject heat to enter in the summer. They have many other energy benefits as well, amongst others they can dramatically reduce the roof temperatures (lower Urban Heat Island) which consequently leads to much more efficient air-conditioning and PV energy generation when AC units and/or Photo-Voltaic panels are put on the roof.
There are further benefits to be considered which go even beyond energy efficiency including noise reduction, improved storm water management and improved air quality in cities. We have invested major R&D resources in to our range of Urbanscape® Green Roof Systems in order to be able to measure all that and provide construction engineers, architects and urban planners with state of the art data and proof that Green Roofs matter. And they also look fantastic, too." ~ Urbanscape Green Solutions
Mrs. Monica Frassoni, President of the European Alliance to Save Energy and a co-president of the European Green Party, expressed appreciation for Knauf Insulation's presentation and its views on green building envelopes extending well beyond thermal insulation:
"It is great to work with Knauf Insulation. Along with other members of the European Alliance to Save Energy they have been at the forefront of our campaign for energy efficiency in Europe since the creation of the Alliance back in 2010. They are an excellent example of why green business is good for Europe, for European citizens but most importantly for the future of our planet." ~ Urbanscape Green Solutions
Knauf Insulation provided their view on future energy efficient buildings, pointing out specifically green urban infrastructure as a driver of the energy efficiency in buildings and big cities. While greenroofs in particular received positive feedback, they feel a stronger global alliance and presence on the legislation map is needed.
Maltese Presidency of the Council of the EU
The presidency of the European Union Council rotates among the EU member states every six months. During this 6-month period, the presidency chairs meetings at every level in the Council, helping to ensure the continuity of the EU's work in the Council. The Maltese Presidency of the Council of the EU runs from January 1 through June 30, 2017.
Continued success to all of the climate change and green professionals in Malta and the MENA (Middle East North Africa) region!


text:
The role of achievement motivation in the relationship between athletic and academic achievement
The connection between sports participation and academic achievement was investigated with a primary focus on the role that motivation plays in this relationship. Female high school student-athletes, who have been underrepresented in sports psychology literature in the past served as participants. The School Attitude Measure and the Sport Orientation Questionnaire were administered to 70 athletes defined as students who participate in one or more sport programs, and non-athletes defined as students who do not participate in a sports program. Grade Point Averages and Coaches Rating Scales were also employed in this study to determine levels of achievement motivation in academic and athletic areas. A Path Analytic procedure was implemented. Path analysis is a form of multiple regression analysis that uses path diagrams to guide problem conceptualization or to test complex hypotheses. This type of analysis allows one to calculate the direct and indirect influence of independent variables on a dependent variable.^ Athletic participation and academic achievement were positively correlated (p $<$.01). Athletic Achievement and Academic Achievement were not significantly associated, but athletic achievement was positively related to Sport Motivation (p $<$.05), and Academic Motivation (p $<$.05). Additionally, the athlete group had a significantly higher overall GPA than the non-athlete group (p $<$.01). The rationale underlying this project is an attempt to determine that a positive relationship does, in fact, exist between athletics and academics based upon one's need to achieve in various areas. ^
Education, Physical|Education, Educational Psychology|Recreation
Grace M Hickey,
"The role of achievement motivation in the relationship between athletic and academic achievement"
(January 1, 1992).
ETD Collection for Pace University.


Siebel Mobile Connector Guide > Working with the Metadata Business Service > How the Metadata Business Service Works >
Metadata Process Flow
These steps describe the flow for creating new style sheets in greater detail.
 1. Using the Reference Configuration Sample (or a a third-party user interface), the administrator establishes a connection with the Metadata Builder engine through a COM Data Control.
 2. The administrator logs in to the Metadata Business Service and selects a Siebel application to view.
 3. The Metadata Builder engine uses the Extractor/Parser functionality to extract and parse the object definitions (located in the SRF file) for the specified application. (The application definitions are defined in Siebel Tools.)
 4. The Metadata Builder engine then creates a hierarchical representation of the entire application in memory.
 5. The Metadata Builder engine uses the XML Builder functionality to generate an XML representation of the application. The XML representation is presented to the administrator in the Reference Configuration Sample as a hierarchical tree structure.
 6. Using the Reference Configuration Sample, the administrator customizes the data in the hierarchical tree structure, selecting the user interface elements desired for each screen. (The administrator can also subscribe for updates and pushed alerts by using the same user interface.)
 7. When the administrator has configured each screen of the application that needs to be customized, the administrator saves the selections as a subscription. The Metadata Builder engine uses the Save Selections functionality to save all the selections (user interface elements, updates, and alerts). If alerts have been subscribed for, the Metadata Builder engine creates business processes and saves them.
 8. The administrator clicks the Create Stylesheets button. The Metadata Builder engine invokes the Style Sheet Builder functionality to generate the style sheets.
Siebel Mobile Connector Guide


text:
Principal Proposed Uses
- Chronic Respiratory Diseases
- Poor Digestion
The Latin name of elecampane comes from Helen of Troy, who was supposed to have carried elecampane with her while being abducted from Sparta. Revered by the ancient Greeks and Romans, this herb was recommended for treating such diverse problems as indigestion, melancholy, sciatica, bronchitis, and asthma.
What Is Elecampane Used for Today?
Some modern herbalists regard elecampane as a long-term treatment for respiratory diseases such as asthma and bronchitis, especially when excessive mucus is a notable feature. However, there is no real evidence that it is effective for this purpose.
Elecampane is also sometimes recommended as a daily supplement to improve general digestion.
A typical dosage of elecampane root is 1.5 to 4 g 3 times daily, either in capsule form or boiled in water as tea.
The only reported adverse effects of elecampane are occasional allergic reactions. However, safety in young children, pregnant or nursing women, or those with severe liver or kidney disease has not been established.
- Reviewer: EBSCO CAM Review Board
- Review Date: 07/2012 -
- Update Date: 07/25/2012 -


How to Change a Gateway Battery
By Mark Kennan
Every laptop battery dies eventually, and each laptop brand, including Gateway, has a different way to replace the battery. Gateway has a few quirks to changing the battery, but once you know them, it's relatively simple to change the battery without a hitch.
Things You'll Need
 - Gateway laptopReplacement battery
Changing the Battery on a Gateway Laptop
Step 1
If your Gateway laptop is not plugged in, turn your laptop off. If your Gateway is plugged in, you can change the battery without turning the computer off.
Step 2
Close the Gateway laptop and turn the computer over so you are looking at the bottom.
Step 3
Locate the battery lock and switch it to the unlock position as designated by the open lock.
Step 4
Slide the battery release latch in the direction indicated by the arrow and remove the battery from the battery bay.
Step 5
Insert the new battery into the bay. Once it snaps into place, slide the battery lock switch back to the locked position.
Tips & Warnings
 - Everything should come out and go in smoothly. If it doesn't, don't force it and check to make sure it's lined up correctly.
 - If your laptop is attached to an optical port replicator, detach it before turning the computer over.
References & Resources


Home / Resources / September 2019 / Part 1 - From power wheelchair environmental control to IoT
Part 1 - From power wheelchair environmental control to IoT
Dela:
Abstract
The wheeled mobility devices industry has experienced a significant level of technological development over the last few years; this innovation entails not just an increased level of customisation of the aid to meet the user's needs, but also a range of solutions enabling the user to interact with ICT devices (e.g. smartphones and tablets) and with household technologies directly through the wheelchair's controls.
But how can the Power Wheelchair (PWC) effectively interact with the home environment? What is the potential of this interaction? This publication aims to find simple and quick answers to these questions.
Keywords
IoT (Internet of Things); ICT (Information Communication Technology); PMD (Power mobility devices); PWC (Power Wheelchair); Wheelchair; AT (Assistive Technologies); Electronics; Environmental control
Introduction
It seems that the assessment and choice of a wheelchair, as well as the user's training, are not yet considered priority tasks by many clinicians, thus leaving them to be managed only by the providers of mobility aids 1. We believe however that this state of things should be reconsidered, with the investment of appropriate resources and time, because:
 - over the last few years there has been a remarkable increase in the quantity and in the level of customisation of the models available; furthermore, the manufacturers are focusing more and more on design and aesthetic features of their products, which are among the essential factors that promote their introduction and support their use
 - wheelchairs, particularly powered ones, are wheeled mobility devices that can offer a range of automated posture settings controlled directly by the user, resulting in increased comfort and prevention of pressure sores, even in subjects with very severe disabilities
 - the number of persons with disabilities who use a wheelchair is rising constantly, with a bigger increase among elderly people and people with disabilities, which means that manual or power wheelchairs are now used by many people who a few years ago, while being in the same situation, would not have adopted them; it is consequently possible to infer that this solution is becoming more and more accepted1, 2 ,3
 - research underlines the fact that personal mobility, a function that wheelchairs can offer to those with mobility problems, gives people with disabilities the opportunity to increase their social inclusion and improve their quality of life.4, 5, 6, 7, 8, 9
However, in order for the wheelchair to fulfil this important function in the best possible way, it is necessary for it to be carefully chosen and customised, and for the user to be suitably trained on how to operate it 10, 11, 12: This means that the practitioners ought to be trained, competent and possibly specialised. We evince from the existing literature that in order to provide a satisfactory service it is vital for the professional advice to be focused on the resources, activities and wishes of the person with disabilities13, 14, 15.
Power Mobility Devices
The power mobility devices industry has witnessed a remarkable technological development over the last few years; this innovation is not limited to the adoption of new mechanical and electronic resources, but includes the offer of solutions allowing a high degree of customisation and levels of performance that until recently were considered out of reach, which includes the interaction with other technological devices of common use, firstly smartphones and tablets. When choosing from the wide range of power wheelchairs currently on offer, it is worth to focus the comparison on:
 1. main usage environments (indoors, indoors/outdoors, outdoors)
 2. driving configuration (rear-wheel, front-wheel, mid-wheel drive,all-wheel drive).
It is possible to add to these well-established categories another one that takes into account the opportunities offered by modern power wheelchairs in terms of being able to fit them with special/alternative joystick commands, environmental controls and connectivity modules for ICT devices (smartphone and tablet);
 1. comparison based on electronics expandability (expandable electronics, non expandable electronics) 16.
Most power wheelchairs are controlled by a joystick, called a standard proportional control, which is tasked with controlling both the propulsion and the direction of the wheelchair. It is called proportional because it works like a throttle; an increase in the tilt angle of the stick results in a proportional acceleration of the wheelchair.
Q200-non-expandable-electronics-Q700-expandable-electronics
Picture 1: Q200 Sunrise Medical electronic wheelchair with non expandable electronics
Picture 2: Q700 Sunrise Medical electronic wheelchair with expandable electronics
If the user is unable to operate the joystick, a wheelchair with expandable electronics can be fitted with alternative controls: mini or compact joystick, head arrays, chin controls, foot controls, Sip 'n Puff, switch controls, scanning controls, etc. Expandable electronics enable the use of smart technology, a real nervous system in which the functions of its various components (motors, automations, controls, etc.) are managed and programmed via data packets processed by artificial intelligence located in a single power module.
Expandable electronics allow to "follow" and adapt the wheelchair to the needs and characteristics of the user, even in the event of rapidly developing progressive diseases; this is an essential aspect to consider when choosing the wheelchair, because there are several models that can be provided with both types of electronics.
Direct environmental control
One of the most frequent requests from power wheelchair users is to be able to access environmental controls from the wheelchair, as well as managing mobile ICT (Information Communication Technology) devices such as smartphone and tablet. These devices can concentrate functions and applications that until recently could only be provided by cumbersome ICT equipment, but now they can be easily installed on power wheelchairs with significant benefits on the quality of life of people with disabilities and their care-givers.
Expandable electronics in wheelchairs are therefore offering what was considered not that many years ago as a potential new frontier, since the power wheelchair can be equipped with some integrated modules for environmental control enabling the user to interact with PC, TV set, as well as lighting, doors, windows, etc. by operating the same controls used to drive the wheelchair.
Environmental control modules are generally integrated in some joysticks (see picture 3) or LCD screen modules dedicated to special/alternative controls (see picture 4) which allow to interact through specific menus with domestic devices that are operated via IR controls (TV set, decoder, air conditioning unit, etc.)
From-power-wheelchair-environmental-control-to-IoT-CJSM2-advance-joystick-omni2-lcd-screen
Picture 3: CJSM2 "Advance" Joystick. Picture 4: Omni2 LCD screen
The environmental controls integrated module can learn and store the IR codes of every remote control in the house and retransmit them on request; these modules are therefore real programmable universal remote controls 16,17 (see picture 5).
Picture 5: Copying the IR codes of domestic remote controls
Picture 5: Copying the IR codes of domestic remote controls
This interactive mode, which uses the wheelchair's technology to manage the environment, is called direct environmental control.
Picture-6-direct-integrated-environmental-control
Picture 6: direct integrated environmental control
(see Part 2 in EIM Resources - October 2019)

Clinical Support Information Citations
End of part 1
(See references in part 2, in next EIM Resources - October 2019)

To mention this publication:
Trioschi D., Rizza F., (2019), "From power wheelchair environmental control to IoT". In EIM – Education In Motion, Sunrise Medical, September-October 2019

This publication is copyrighted. Consultation for private use is permitted, for the reproduction of content is required the authorization of authors.
Contact: _EMAIL_
Devis Trioschi - Sunrise Medical Italy
Devis Trioschi - Sunrise Medical Italy
Clinical & Product Specialist – Occupational Therapist (OT) and Physioterapist (PT)
Graduated in Occupational Therapy, Physical Theraphy and Sport Science, Devis previously worked for 14 years in one of the most known centre for Assistive Technology in Italy dealing mainly with seating posture and powered mobility devices for adults and children.
Federico Rizza - Sunrise Medical Italy
Federico Rizza - Sunrise Medical Italy
Clinical & Product specialist - Occupational Therapist (OT)
Based in Italy, Federico graduated with a bachelor of Health Sciences (Occupational Therapy) degree from University of Pavia in 2017. He is the youngest Occupational Therapist that joins this Sunrise Medical Clinical Team, he is a talented and brilliant clinician despite his young age. He gained experience with a lot of Internships in different facilities, being able to see different clinical realities, from spinal units to neurological rehab, working with blind or visually impaired patients always targeting independence in ADL's.
DISCLAIMER: FOR PROFESSIONAL USE ONLY. THIS WEBSITE (AND THE DOCUMENTS REFERENCED HEREIN) DO NOT PROVIDE MEDICAL ADVICE. Sunrise Medical (US) LLC ("Sunrise") does not provide clinician services. The information contained on this website (and the documents referenced herein), including, but not limited to, the text, graphics, images, and descriptions, are for informational purposes only and should be utilized as a general resource for clinicians and suppliers to then use clinical reasoning skills to determine optimal seating and mobility solutions for individual patients. No material on this website (or any document referenced herein) is intended to be used as (or a substitute for) professional medical advice, diagnosis or treatment. Never disregard your professional medical training when providing medical advice or treatment because of something you have read on this website (or any document referenced herein). Clinicians should review this (and any other materials) carefully and confirm information contained herein with other sources. Reliance


168);
 outputColor.b = (textureColor.r * 0.272) + (textureColor.g * 0.534) + (textureColor.b * 0.131);
 outputColor.a = 1.0;
 gl_FragColor = outputColor;
}
For an image filter to be usable within the GPUImage framework, the first two lines that take in the textureCoordinate varying (for the current coordinate within the texture, normalized to 1.0) and the inputImageTexture uniform (for the actual input image frame texture) are required.
The remainder of the shader grabs the color of the pixel at this location in the passed-in texture, manipulates it in such a way as to produce a sepia tone, and writes that pixel color out to be used in the next stage of the processing pipeline.
One thing to note when adding fragment shaders to your Xcode project is that Xcode thinks they are source code files. To work around this, you'll need to manually move your shader from the Compile Sources build phase to the Copy Bundle Resources one in order to get the shader to be included in your application bundle.
Filtering and re-encoding a movie
Movies can be loaded into the framework via the GPUImageMovie class, filtered, and then written out using a GPUImageMovieWriter. GPUImageMovieWriter is also fast enough to record video in realtime from an iPhone 4's camera at 640x480, so a direct filtered video source can be fed into it. Currently, GPUImageMovieWriter is fast enough to record live 720p video at up to 20 FPS on the iPhone 4, and both 720p and 1080p video at 30 FPS on the iPhone 4S (as well as on the new iPad).
The following is an example of how you would load a sample movie, pass it through a pixellation filter, then record the result to disk as a 480 x 640 h.264 movie:
movieFile = [[GPUImageMovie alloc] initWithURL:sampleURL];
pixellateFilter = [[GPUImagePixellateFilter alloc] init];
[movieFile addTarget:pixellateFilter];
NSString *pathToMovie = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/Movie.m4v"];
unlink([pathToMovie UTF8String]);
NSURL *movieURL = [NSURL fileURLWithPath:pathToMovie];
movieWriter = [[GPUImageMovieWriter alloc] initWithMovieURL:movieURL size:CGSizeMake(480.0, 640.0)];
[pixellateFilter addTarget:movieWriter];
movieWriter.shouldPassthroughAudio = YES;
movieFile.audioEncodingTarget = movieWriter;
[movieFile enableSynchronizedEncodingUsingMovieWriter:movieWriter];
[movieWriter startRecording];
[movieFile startProcessing];
Once recording is finished, you need to remove the movie recorder from the filter chain and close off the recording using code like the following:
[pixellateFilter removeTarget:movieWriter];
[movieWriter finishRecording];
A movie won't be usable until it has been finished off, so if this is interrupted before this point, the recording will be lost.
Interacting with OpenGL ES
GPUImage can both export and import textures from OpenGL ES through the use of its GPUImageTextureOutput and GPUImageTextureInput classes, respectively. This lets you record a movie from an OpenGL ES scene that is rendered to a framebuffer object with a bound texture, or filter video or images and then feed them into OpenGL ES as a texture to be displayed in the scene.
The one caution with this approach is that the textures used in these processes must be shared between GPUImage's OpenGL ES context and any other context via a share group or something similar.
Sample applications
Several sample applications are bundled with the framework source. Most are compatible with both iPhone and iPad-class devices. They attempt to show off various aspects of the framework and should be used as the best examples of the API while the framework is under development. These include:
SimpleImageFilter
A bundled JPEG image is loaded into the application at launch, a filter is applied to it, and the result rendered to the screen. Additionally, this sample shows two ways of taking in an image, filtering it, and saving it to disk.
SimpleVideoFilter
A pixellate filter is applied to a live video stream, with a UISlider control that lets you adjust the pixel size on the live video.
SimpleVideoFileFilter
A movie file is loaded from disk, an unsharp mask filter is applied to it, and the filtered result is re-encoded as another movie.
MultiViewFilterExample
From a single camera feed, four views are populated with realtime filters applied to camera. One is just the straight camera video, one is a preprogrammed sepia tone, and two are custom filters based on shader programs.
FilterShowcase
This demonstrates every filter supplied with GPUImage.
BenchmarkSuite
This is used to test the performance of the overall framework by testing it against CPU-bound routines and Core Image. Benchmarks involving still images and video are run against all three, with results displayed in-application.
CubeExample
This demonstrates the ability of GPUImage to interact with OpenGL ES rendering. Frames are captured from the camera, a sepia filter applied to them, and then they are fed into a texture to be applied to the face of a cube you can rotate with your finger. This cube in turn is rendered to a texture-backed framebuffer object, and that texture is fed back into GPUImage to have a pixellation filter applied to it before rendering to screen.
In other words, the path of this application is camera -> sepia tone filter -> cube -> pixellation filter -> display.
ColorObjectTracking
A version of my ColorTracking example from _URL_ ported across to use GPUImage, this application uses color in a scene to track objects from a live camera feed. The four views you can switch between include the raw camera feed, the camera feed with pixels matching the color threshold in white, the processed video where positions are encoded as colors within the pixels passing the threshold test, and finally the live video feed with a dot that tracks the selected color. Tapping the screen changes the color to track to match the color of the pixels under your finger. Tapping and dragging on the screen makes the color threshold more or less forgiving. This is most obvious on the second, color thresholding view.
Currently, all processing for the color averaging in the last step is done on the CPU, so this is part is extremely slow.
Something went wrong with that request. Please try again.


text:
Chicago Tribune Examines Controversy Surrounding Move From Code-Based HIV Reporting to Names-Based Reporting in Illinois
The Chicago Tribune on Dec. 27, 2005, examined the controversy surrounding the Illinois Department of Public Health's decision to this month begin requiring health care providers to submit to local health authorities the names of people who test HIV-positive rather than the alphanumeric codes they previously submitted (Peres, Chicago Tribune, 12/27/05). The decision was made in October 2005 in response to a CDC recommendation that states implement names-based reporting because code-based reporting often has been inaccurate or incomplete. This year, some federal funding distributed under the Ryan White CARE Act will be associated with the number of HIV cases in each state, as reported to CDC. Tom Hughes, Illinois' deputy director of health protection, said that although the new rule will require the state to collect the names of people getting confidential HIV testing, anonymous testing still will be available. With confidential testing, a person submits his or her name but the name is kept private, whereas with anonymous testing, no name is submitted (Kaiser Daily HIV/AIDS Report, 10/21/05). The new rule has some advocates and public health officials "waging a battle on two fronts: to prevent the loss of funding and to preserve the trust" of HIV-positive people, the Tribune reports. Some AIDS advocates are concerned the change will discourage people from seeking treatment early. "Anonymity has always been part of successful testing programs," Brad Ogilvie, head of the HIV prevention group Mosaic Initiative, said. However, some Illinois officials are seeking to reassure advocates and members of the public that confidentiality will be upheld. "We've been collecting names of AIDS patients for more than 20 years," Hughes said, adding, "We've never had a security breach of a patient's name in Illinois in all that time." Nanette Benbow, director of the Office of HIV/AIDS Surveillance in the Chicago Department of Public Health, said all HIV/AIDS case reports are kept in a locked room to which only two people have keys (Chicago Tribune, 12/27/05).This is part of the Morning Briefing, a summary of health policy coverage from major news organizations. Sign up for an email subscription.


This website contains biographical information on over 550 ancestors and descendants of Henry Harold Harrison. They include Harold's siblings, parents, grandparents, great-grandparents, uncles, aunts, and cousins of all descriptions. Their lives collectively spanned over 300 years from the late 17th century.
Joseph Harrison (c. 1835–) Ellen Ball (1832–1893) Edward Barton (1839–) Ann Barton (c. 1840–) Henry Harrison (1860–1937) Alice Barton (1863–1897) Henry Harold Harrison (1886–1973) Agnes Durie (1885–1971) Henry Harold (Hank) Harrison (1911–1974) John Durie Harrison (1913–1986) Gordon Harrison (1914–2005) Douglas Harrison (1919–1994)
Harold's was a working class family. His earliest known ancestors were mainly farmers and agricultural labourers from Lancashire. As the industrial revolution unfolded, their children migrated to Wigan and the surrounding villages to take up work in the textile mills and coal mines that were sprouting up throughout the Midlands. Some became shopkeepers. Harold himself apprenticed as a joiner at the beginning of the 20th century before emigrating to Canada where he worked as a carpenter and builder. His children mostly became middle-class business people.
Most of the traced ancestors lived in and around Wigan during the 19th century, their lives following the patterns of the society in which they lived. The children frequently received little schooling, and some were illiterate as adults. They joined the workforce around age 13. They usually lived at home with their parents until they were married. Husbands worked to support the family while wives looked after the home and children. The women bore children more-or-less continuously during their fertile years, however, many of the babies died in infancy. The lives of adults were often cut short by illness.
The biographies for most of Harold's ancestors are a synopsis of the facts recorded in census records and birth, marriage, and death certificates. This information typically includes their places of residence and occupations at various dates. Sadly, almost nothing more is known about who these people really were; their character, personality, talents, friendships, associations, interests, circumstances, health, contributions, trials, and tribulations are, for the most part, lost to time.
In addition to Harrison, the family's surnames include Ball, Barton, Mawdsley and Swarbrick. They married Donahues, Masons and Woods, among others. Their biographies can be accessed through our surname index, or from the partial family tree shown above. The biography for each of Harold's ancestors and descendants is also linked to his or her parents, siblings, and children for convenience.


text:
Homemade plates are typically made from pottery clay and fired in a kiln to ensure long-term strength and durability. Decorations for homemade plates vary, depending on whether the plates are designed to be purely decorative, or if they are intended for practical, everyday use. For homemade plates that will be used as serving dishes, select only decorating materials that are clearly marked as being safe for food.
- Skill level:
- Moderately Easy
Other People Are Reading
Things you need
- Homemade plates
- Food-safe glazes and paints
- Pottery kiln
- Paint brushes
- Potter's wax
Select a food-safe glaze or glazes to decorate homemade plates. Glaze can be applied to homemade plates once they have been kiln fired. Use paint brushes, stencils, sponges or other faux finishing tools, like brushes and combs, to create unusual and organic patterns, such as waves, stripes or curls. Fire the homemade plates again following the glaze manufacturer's guidelines.
Allow glazed, fired plates to fully cool before removing them from the kiln. Further embellish by applying glaze-resistant waxes and additional layers of glaze, or by painting designs on the surfaces. Ideas for designs include scrolls or floral patterns around the rim of the plate or a floral or geometrical pattern on the centre of the plate. Re-fire the homemade plates again and repeat the reglazing process as often as necessary to achieve the desired design.
After cooling, add additional clay embellishments, if desired. Consider gluing raised elements around the rim of the plates, such as glazed pieces of clay sculpted into decorative balls, or premade pressed or stamped decorative clay pieces.
Add finishing touches to homemade plates by trimming and highlighting various design elements with food-safe decorative paints. Consider adding gold or silver flourishes around the rim of the plates. Or paint delicate scrolls around the centre of the plates.
Allow homemade plates to dry completely and seal with a food-safe spray sealant, if desired.
Tips and warnings
- If homemade plates are to be used for decorative purposes only, add wall-hanging hardware to the backs of the plates so they can be displayed.
- Some pottery glazes have texturising elements that create a somewhat rough surface, which some people may find to be undesirable when used for serving food.
- Wash handmade decorated plates carefully after use. For best results, hand wash in warm, soapy water using a mild detergent and a non-abrasive cloth.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for


LiveCode LessonsLiveCode Data Grid Using The Built-In Field EditorHow Do I Save Changes The User Makes In An Editor Field To An External Data Source?
How Do I Save Changes The User Makes In An Editor Field To An External Data Source?
When Calling EditFieldText with 3 Parameters (Simpler)
When calling EditFieldText with all three parameters (which is what a data grid column does by default) the data grid will automatically save the text that the user enters in the dgData array. That means that all you need to do is save the text of the editor field to your external data source in the CloseFieldEditor message. Note that if you save anything other than the text of pFieldEditor then your data source will not match the dgData value.
Here is an example script that goes in the Data Grid group script.

## An example that saves
on CloseFieldEditor pFieldEditor
put the dgColumn of the target into theColumnBeingEdited
put the text of pFieldEditor into theNewText
## Save data to database using command I defined
put "Person" into theTable
## Get the unique id of the row in the database we want to edit
put GetDataOfIndex(the dgIndex of the target, "id") into theRowID
SaveDataToDatabase theTable, theRowID, theColumnBeingEdited, theNewText
end CloseFieldEditor
When Calling EditFieldText with 1 Parameter (More Flexible)
If you are working with data grid forms or decide to override the default behavior for data grid columns then you will make the call to EditFieldText yourself. For complete control over what gets saved you only pass in 1 parameter to EditFieldText. By passing in 1 parameter you are responsible for saving any changes to dgData.
Assume you made the following call in a data grid form:
EditFieldText the long id of field "Name" of me
CloseFieldEditor would still be sent when the user changes the contents of the field but would need to contain code for saving the changes to the dgData array.
Here is an example script that goes in the Data Grid group script.
## CloseFieldEditor placed in data grid script
on CloseFieldEditor pFieldEditor
put the dgColumn of the target into theColumnBeingEdited
## Store UTF8 text
put unidecode(the unicodetext of pFieldEditor, "UTF8") into theNewText
## Save data to database using command I defined
put "Person" into theTable
## Get the unique id of the row in the database we want to edit
put GetDataOfIndex(the dgIndex of the target, "id") into theRowID
SaveDataToDatabase theTable, theRowID, theColumnBeingEdited, theNewText
## Update dgData.
## Setting dgDataOfIndex will refresh the data grid display as well as update dgData
put the dgDataOfIndex[ the dgIndex of the target] of me into theDataA
put theNewText into theDataA[theColumnBeingEdited]
set the dgDataOfIndex[the dgIndex of the target] of me to theDataA
end CloseFieldEditor
6 Comments
JKrische
Point of clarification:
in the examples, your step that actually does the DB save is told the table, the column and the new value... but not the row ID? Would this not update EVERY row, putting the new value in the selected column for ALL rows? Since I can't imagine that was the intent here, how indeed are you telling the DB to update just the one row you wanted to change?
Trevor DeVore
@jkrische: yes, the id was unintentionally left out in the example. I've updated the example so that it includes code that gets the unique row id to use when updating the database.
Sean Cole
What is the SaveDataToDatabase command and what does it do?
Trevor DeVore
@Sean - The command isn't defined in the example script. It is an example of a command you would call to save the changes to your database. This is something you would have to implement yourself as it would be specific to your project.
Sean Cole
Ah, ok. It was 'how to save to an external source' that I was trying to understand (which is probably the bit in that command). I figured this was the best place to come. I'm trying to output a data grid to a data file directly (not as text file in csv but as something I can reload quickly as is as persistent storage as the custom properties are not storing them as I expected and return to they're original values at stack load.
Trevor DeVore
A sqlite database is one option. There is a lesson on using one at _URL_
Add your comment
E-Mail me when someone replies to this comment


text:
Smoky, river, c.250 mi (400 km) long, rising in Jasper National Park, W Alta., Canada, and flowing generally NE to the Peace River. It receives the Wapiti and Little Smoky rivers. It was explored (1792) by Alexander Mackenzie.
More on Smoky from Infoplease:
See more Encyclopedia articles on: Canadian Physical Geography


text:
Curator's Circle: Strange Wine & Walkthrough
Open to Curator's Circle members at the $1,000 level and above
Come mingle with fellow Curator's Circle members over wine and small bites in Babette, followed by an engaging tour of the exhibition Strange (August 21, 2019–January 5, 2020) led by the exhibition's organizer, BAMPFA Director and Chief Curator Lawrence Rinder.
It has been a century since the Surrealist movement exploded across the global cultural scene. Surrealism championed the creative power of the unconscious and the value of irrational thoughts and imagery. It was a movement with enormous impact in the visual arts, film, performing arts, and literature; yet the spirit of Surrealism preceded the movement itself, and extraordinary antecedents can be found across many centuries and in cultures around the world. While the Surrealists sought out feelings of strangeness—of the improbable, uncanny, mysterious, and miraculous—the strange has always been a source of artistic inspiration, and continues to fascinate us today.
Featuring works from many cultures and time periods that resonate with the spirit of Surrealism, Strange explores dreams and memory, miracles and coincidence, myth and magic, death and the spirit, and inner and outer worlds. Among the artists represented are Maruyama Okyo, William Blake, René Magritte, Achilles Rizzoli, Ynez Johnston, Diane Arbus, Ariel Parkinson, Ruth Wall, Bruce Conner, Jack Smith, Nancy Grossman, Iris Polos, and Sylvia Fein.
Space is limited, and reservations will be made on a first come, first served basis.
Not a current Curator's Circle member or wanting to upgrade? We would be happy to help. Please contact Jennifer Sime at _PHONE_ or _EMAIL_.


Napari Tracer Plugin
napari-tracing
A plugin to trace the brightest path between two points in an image
License GNU GPL v3.0 PyPI Python Version
napari hub
Napari Tracer Plugin
The Napari Tracer Plugin provides an intuitive interface for users to load images, perform brightest path tracing, and visualize the results. This plugin, which is built on top of the Napari viewer, enables users to explore and annotate complex images, and take advantage of the viewer's built-in features such as zooming, panning, and adjusting contrast while viewing their tracings. The Napari Tracer Plugin uses the brightest path tracing algorithms from brightest-path-lib to provide an interactive path building process for users to create traced segments in 2D and 3D images.
Features
 1. Load images and trace paths in 2D and 3D.
 2. Offloads computations to a background thread to ensure a responsive user interface.
 3. Two tracing modes: disjoint and continuous. Disjoint segments refer to paths that do not share any points, while continuous segments start from the endpoint of a previously traced path.
 4. Verify traced segments and cancel tracing if necessary.
 5. Save traced paths in SWC format commonly used in biology to represent neuronal morphology.
 6. Load previously saved tracings in SWC format.
Installation
You can install napari-tracing via [pip]:
pip install napari-tracing
To install latest development version :
pip install git+_URL_
Usage
Once installed, the Napari Tracer Plugin can be accessed from the Napari menu under "Plugins" > "napari tracing: Tracer Widget". This will open the plugin interface, where you can load your image and start tracing.
Tracing
 1. To trace a path, select the "Trace" mode and the image layer that you want to trace from their respective dropdowns.
 2. Once you select the image, a points layer called the terminal points layer will be created on the Napari viewer where you can add the start and end point.
 3. Click the "Start Tracing" button to perform brightest path tracing between the points.
 4. The traced path will appear in a new points layer called the tracing result result layer in the Napari viewer as a line overlay.
 5. Each new traced segment is verified, so you can either accept the tracing or reject it. If you choose to reject the tracing, you can try again with a different set of points if necessary.
 6. You can click on the "Cancel Tracing" button to cancel a tracing that is in progress.
Saving and loading tracings
 1. To save a tracing, click on the "Save Trace" button from the plugin menu. This will save the traced path in SWC format to a file of your choosing.
 2. To load a previously saved tracing, click on the "Load Trace" button and choose the SWC file you want to load. The traced path will appear in the Napari viewer.
Contributing
Contributions are very welcome. Tests can be run with [tox], please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the GNU GPL v3.0 license, "napari-tracing" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Version:
 - 1.0.1
Last updated:
 - 28 April 2023
First released:
 - 23 April 2023
License:
 - GPL-3.0
Supported data:
 - Information not submitted
Plugin type:
GitHub activity:
 - Stars: 4
 - Forks: 1
 - Issues + PRs: 3
Python versions supported:
Operating system:
Requirements:
 - numpy
 - qtpy
 - brightest-path-lib
Sign up to receive updates


text:
Open Time : 6:00 am to 8:00 pm
Entry : free
Address : Bull Temple, Steps to Bull Temple, Basavanagudi, Bengaluru, Karnataka, India
More Travel Tips from Bangalore
Why to visit Bull Temple
It is well-known for its enormous statue of the sacred bull, Nandi, and is also known as the Nandi Temple. The Nandi idol in this temple is actually one of the largest in the world, measuring roughly 6.1 metres in length and 4.6 metres in height.
History of the Bull Temple:
- According to a legend, Lord Shiva put the iron plate on the bull's head there to prevent the statue from growing.
- According to an inscription in the temple, the spring that lies beneath the Nandi statue is the source of the Vrishabhavathi River, which flows through Bengaluru's western region.
Things to see at Bull Temple:
- The Bugle Boulder is a sizable rock that is estimated to be 3000 million years old. One of the main draws in Bugle Rock Park is it.
- A park featuring natural rock formations that are millennia old is called Bugle Rock Park. It has many trees, well-maintained walking trails, and a water tank with murals of significant Karnataka people.
- The enormous monolithic figure of Nandi, the Shiva Lingam positioned behind it, and the temple's statues of the Sun God and Moon God.
Opening Time: 6:00 AM to 8:00 PM.
Best Time to Visit: June to February
Photography and Videography: Allowed
Entry Fee: Free
Nearest Bus Stop: Bull Temple (280 meters by walk)
Nearest Metro Station: Lalbagh (2 km) and National College (2 km) on the Green Line
How to reach Bull Temple?
- Bull Temple Bus Stop is the name of the bus stop that is most convenient for the Bull Temple. The distance to the temple is 600 meters or about 7 minutes' worth of walking.
- The temple is only 6 km from the Bengaluru Railway Station, and in normal traffic, it takes about 27 minutes to get there. From various locations throughout the city, taxis and autorickshaws frequently run to this magnificent temple.
FAQ on Bull Temple
How to reach Bull Temple?
Bull Temple Bus Stop is the name of the bus stop that is most convenient for the Bull Temple. The distance to the temple is 600 metres, or about 7 minutes' worth of walking. The temple is only 6 km from the Bengaluru Railway Station, and in normal traffic, it takes about 27 minutes to get there. From various locations throughout the city, taxis and autorickshaws frequently run to this magnificent temple.
What are the places to visit near Bull Temple?
Nearby attractions include: Sri Govardhana Temple (250 m) Gavi Gangadhareshwara Temple (1 km) Lalbagh Botanical Garden (2 km) Tipu Sultan's Summer Palace (3 km)
When is the best time to visit Bull Temple?
The best time to visit Bull Temple is in the month of June to February.
What are the restaurants near Bull Temple?
Kamat Bugle Rock, Sandwich Guru and Megna's Pizza are the restaurants near Bull Temple.
Every last Monday and Tuesday of "Kaarthik Maas" is marked as "Kadalekai Parsihe." Additionally, you will see shops selling toys made of mud, clay, stones, etc. Other street cuisine and small servings are available at stalls. For the tourists and locals, it is a pleasant time of year and has become a significant aspect of their religious lives.
By TANISHA JAISWAL
Disclaimer: Please note that the content of this blog/article including links, texts, images, and graphics is only meant for informational purposes. We do not intend to infringe any copyright policy or do not possess any third-party material. If you have issues related to any of our content or images, kindly drop your message at _EMAIL_


Question: Is Cash Safe In A Recession?
What happens to your money in the bank during a recession?
Where should I put money in a recession?
Investors typically flock to fixed-income investments (such as bonds) or dividend-yielding investments (such as dividend stocks) during recessions because they offer routine cash payments.
However, they are low risk, so it makes sense to take one out if you want to protect your money from a coming recession. Talk to your bank and ask if they provide money market accounts. You may want to take a chunk of money from your savings or checking and put it into a money market account.
Is cash king in a recession?
How do you keep money safe in a recession?
How do you get rich in a recession?
Who benefits from a recession?
Should you buy a house during a recession?
The experts agree that buying a house during a recession can result in scoring a great value on a home that may have been out of reach during better economic times. But if you want to buy during a recession, you need to have: Stable employment. Plenty of savings.
What sells during a recession?
Any item that falls under the consumer staples umbrella is generally a lot safer to sell during a recession….1. Consumer staplesBeverages.Food and staples retailing.Food products.Household products.Personal products.Tobacco.


text:
Scotland's First War of Independence: Ilustrated talk with Sarah Crome
Sarah Crome's beautifully illustrated book "Scotland's First War of Independence" tells the tale of a turbulent time in Scotland's history from the tragic death of Alexander III in 1286, through the English invasions and the resistance of William Wallace of Braveheart fame, to the military successes of Robert the Bruce and the Treaty of Edinburgh in 1328.
Using maps, reconstruction illustrations, artifacts and documents of the era, Ms. Crome guides us through the events that ultimately led to Scotland's independence.
Join Fellow of the Society of Antiquaries and author Sarah Crome to celebrate the Year of History, Heritage and Archaeology at Strathearn Library with an illustrated talk based on her book. Sarah will also be revealing some snippets of local history relating to Scotland's First War of Independence as well.
This event is part of Culture Perth and Kinross's celebration of the year of History, Heritage and Archaeology.


text:
Resident Help Center
How do I start using my physical Arize Smart Thermostat device?
- Control Area – The four arrows are your main controls. They can be used to navigate the thermostat screens and change your thermostat mode, fan mode, schedule, and settings. The OK button can be used to select options on the display screen.
- Current Indoor Temperature – This number indicates the current indoor temperature of the room the device is located in.
- Indoor Humidity Percentage – This feature displays the indoor humidity percentage.
- Thermostat Mode - This is where you can control the thermostat mode. The thermostat mode is where you control cooling and heating.
- Fan Mode - This is where you can control the fan mode. The fan mode is where you control airflow.
- Main Menu - This is where you can access most of the thermostat features and controls.
- Thermostat Schedule Status - This is where the schedule status is displayed.


text: Benjamin R. Doolittle, M.D. '97, M.Div. '97, HS '02, assistant professor of medicine (general medicine) and pediatrics at the School of Medicine, was one of 53 nominees for the 2006 Association of American Medical Colleges Humanism in Medicine Award. The nomination by medical students is recognition of a candidate as a positive and caring role model. Five characteristics are considered: mentoring skills, compassion and sensitivity, collaboration, community service activity and observance of professional ethics.


The stupid question is the question not asked
Fabric calculator - a better way to do it?
by ailie (Friar)
on Dec 06, 2001 at 04:04 UTC ( #129813=perlquestion: print w/ replies, xml ) Need Help??
This is a script I wrote to calculate how much fabric I need when making various quilt blocks. At the moment it's run from the command line, but I'd like to eventually get it so it can be run from a web page. That's where I really started to get frustrated. Alternately, a GUI might be sort of neat.
Anyway, I would be interested in receiving feedback on the script as it stands now. I have a vague feeling that perhaps there are better, cleaner ways to do much of what I've got, and I'd like to learn them.
#!/usr/bin/perl -w use strict; # How many fabrics are you using? my $j; my $number_of_fabrics; print "How many fabrics are you using? \n"; chomp($number_of_fabrics = ); for ($j = 1; $j <= $number_of_fabrics; $j++) { # How wide is the fabric you are using? my %fabric_width; my $fab_width; print "How wide is fabric $j? \n"; chomp($fab_width = ); $fabric_width{$j} = $fab_width - 2; print "To be safe, we'll use a width of $fabric_width{$j} for fabri +c $j. \n"; # How many different shapes is a block made of? my $number_of_shapes; print "How many different shapes of fabric $j is a block made of? \ +n"; chomp($number_of_shapes = ); # What are the dimensions of the shapes? my $i; my %width; my %height; my %shape; my $piece; for ($i = 1; $i <= $number_of_shapes; $i++) { my $shape_width; print "What is the width of shape $i? \n"; chomp($shape_width = ); $width{$i} = $shape_width; my $shape_height; print "What is the height of shape $i? \n"; chomp($shape_height = ); $height{$i} = $shape_height; $shape{$i} = $shape_width. "x". $shape_height; } print "Shape dimensions: \n"; foreach $i (keys (%shape)) { print "The dimensions of shape $i are $shape{$i}\n"; } # For each shape, how many can be made per yard of fabric? my $number_per_fabric_width_strip; my $strips_per_yard; my $number_per_yard; my $number_of_pieces; my %pieces; my $number_of_strips; my $strip_yardage; my $remainder; my $fabric_yardage; my $number_of_blocks; my $total_pieces; foreach $i (keys (%height)) { $number_per_fabric_width_strip = $fabric_width{$j} / ($height{$i +}); $number_per_fabric_width_strip = int $number_per_fabric_width_st +rip; print "You can get $number_per_fabric_width_strip piece(s) of sh +ape $i per $width{$i}\" strip of fabric $j.\n"; $strips_per_yard = 36 / ($width{$i}); $strips_per_yard = int $strips_per_yard; print "You can get $strips_per_yard $width{$i}\" strips per yard +. \n"; $number_per_yard = $number_per_fabric_width_strip * $strips_per_ +yard; print "You can get $number_per_yard of shape $i per yard of $fabric_width{$j}\" of fabric $j. \n"; print "How many of shape $i do you need per block? \n"; chomp($number_of_pieces = ); $pieces{$i} = "$number_of_pieces"; print "You need $number_of_pieces per block. \n"; print "How many blocks are you making? \n"; chomp($number_of_blocks = ); print "You are making $number_of_blocks blocks. \n"; $total_pieces = $number_of_pieces * $number_of_blocks; print "You need $total_pieces of shape $i. \n"; if ($total_pieces <= $number_per_fabric_width_strip) { print "You will need one $width{$i}\" strip of fabric $j. \n" +; } else { $number_of_strips = $total_pieces / $number_per_fabric_width_ +strip; $number_of_strips = int $number_of_strips; $remainder = $total_pieces % $number_per_fabric_width_strip; $strip_yardage= $number_of_strips * $width{$i}; if ($remainder == 0) { print "You will need exactly $strip_yardage\". \n"; } else { $fabric_yardage = $strip_yardage + $width{$i}; print "You will need $fabric_yardage\" of fabric $j. The last +$width{$i}\" strip will have only $remainder pieces cut from it. \n"; } } } }
Thanks for any advice.
Comment on Fabric calculator - a better way to do it?
Download Code
Re: Fabric calculator - a better way to do it?
by jynx (Priest) on Dec 06, 2001 at 09:36 UTC
 A few suggestions,
 Most of these are rather cosmetic, but they should help readability.
 Considering how many times you read from STDIN you may want to farm that part out to a subroutine. It would remove clutter from the rest of the code and should be a bit more maintainable later.
 For structures like %width an array seems to make more sense than a hash. It works either way, but it's probably a good idea to try and use more appropriate tools when possible.
 Also you can reduce the number of variables you have to keep track of by using a hash for multiple things. For example, your $number_of_* variables in the last section could probably be written as (using a subroutine for getting STDIN):
 my %number; $number{blocks} = get_input("How many blocks are you making?"); $number{strips} = int( $total_pieces / $number_per_fabric_width_strip) +; etc...
(crazyinsomniac:) Re: Fabric calculator - a better way to do it?
by crazyinsomniac (Prior) on Dec 06, 2001 at 11:42 UTC
 This is me just being a monkey and testing the script out:
 F:\dev>perl How many fabrics are you using? 2 How wide is fabric 1? 1 To be safe, we'll use a width of -1 for fabric 1. How many different shapes of fabric 1 is a block made of? 1 What is the width of shape 1? 1 What is the height of shape 1? 2 Shape dimensions: The dimensions of shape 1 are 1x2 You can get 0 piece(s) of shape 1 per 1" strip of fabric 1. You can get 36 1" strips per yard. You can get 0 of shape 1 per yard of -1" of fabric 1. How many of shape 1 do you need per block? 23 You need 23 per block. How many blocks are you making? 2 You are making 2 blocks. You need 46 of shape 1. Illegal division by zero at line 88, line 7. F:\dev>
 I'll update this node after I've messed with the code.
 My monkeying around immediately proves insightful into how you can improve this (at least it appears so to me).
 A good strategy might be to turn this into a module, and then, write "interfaces" for it, like commandline, CGI, GUI. All I have to say at this point is, not bad quiltmaker (some of your math may be funny, but useful to real people and immensly perlmonkish -- no prog/perl bg, good practices at the beginning). I see sanity checks, units of measurement conversions, price estimation.... ;D
 #!/usr/bin/perl -w use strict; # How many fabrics are you using? my $number_of_fabrics; print "How many fabrics are you using? \n"; chomp($number_of_fabrics = ); $number_of_fabrics =~ s/\D//; # only allow number input ## $number_of_fabrics ||= 3; # assume default quietly unless($number_of_fabrics and $number_of_fabrics >=3 ) { warn "Ahem!!! You must enter a NUMBER >= 3, but that's ok, default + is 3"; $number_of_fabrics = 3; } #... more to come... ;D
 Disclaimer: Don't blame. It came from inside the void
 Wow. It never even occurred to me to put in widths like that, since quilting fabric is


text:
BASF at International Vitamin Conference
BASF Human Nutrition was proud to be one of the main sponsors for the International Vitamin Conference held from September 21-23, 2021, in Copenhagen, Denmark. Representing BASF as experts in their field of work were Dr. Ute Obermueller-Jevic, Global Scientific Marketing Lead and Christine Haupt, Global Lead for Food Fortification & Partnerships, both of whom discussed and shared about the functional roles of vitamins and food fortification with approximately 150 international participants at the event.
During the pandemic, consumer interest on supporting immune health has spiked, including the importance of vitamin D in relation to a healthy immune system. At the conference, Dr. Obermueller-Jevic gave an overview of the latest research on how vitamins as key micronutrients, play a role in the immune system function. Linking consumer needs to science-based nutritional solutions, she gave examples on innovative supplement formats targeting immunity, including insights about BASF's collaboration with Temasek Foundation in Singapore. In March 2020 the Temasek Foundation distributed vitamin D to low-income families, the elderly and pregnant women in Singapore to strengthen their immune systems.
Providing the right nutrients to the right people at the right time is the fundamental principle underlying BASF's food fortification initiative. As global lead for Food Fortification, Haupt drew on her experience to illustrate how Food Fortification is a complementary strategy to tackle micronutrient deficiency in addition to supplementation as a short-term intervention and the diversification of diets as a long-term strategy.
Haupt also went on to explain that Food Fortification does not require a change of eating habits, as vitamins and minerals are added to staple foods consumed daily. Fortification of staple foods with essential vitamins and micronutrients is an important measure to improve micronutrient deficiencies in developing and emerging countries, where malnutrition is considered a severe public health problem. This is also the rationale behind BASF's partnership approach of food fortification which aims to create shared value for all stakeholders involved and ensure the sustainable success of projects.


text:
Research Project – 1.5m model of a dam
1.5m wide model of a dam for physical experiments
January 1, 2022
IST-ID, Instituto Superior Técnico
1.5 m wide model of a dam for experiments on water tunnel.
The 3D surface was generated by 3D scanning a scaled model, from which a 3D solid model was designed.
The model was built into sections of 1.2m, to be produced in parallel.
Material: Grey PLA
Layer thickness: 0.3mm
Collaborative print heads: 6.
Total fabrication Time: 120 hours