MS – Sen. Roger F. Wicker (R) and Sen. Cindy Hyde-Smith (R)
Committees
Roger F. Wicker is the #1 Republican on the Senate Committee on Commerce, Science, and Transportation
Committees
Cindy Hyde-Smith is the #6 Republican on the Senate Energy Subcommittee on Energy
Cindy Hyde-Smith is the #13 Republican on the Senate Committee on Appropriations
Cindy Hyde-Smith is the #9 Republican on the Senate Appropriations Subcommittee on Energy and Water Development
Cindy Hyde-Smith is the #8 Republican on the Senate Committee on Energy and Natural Resources
HEP Grants
In the past 9 years, this state has received: 12 HEP grants, totalling $2,375,000
Year Institution Amount ($)
------ ------------------------- ------------
2019 University of Mississippi 0
2018 University of Mississippi 535,000
2017 University of Mississippi 315,000
2016 University of Mississippi 382,000
2015 University of Mississippi 412,000
2014 University of Mississippi 264,000
2013 University of Mississippi 118,000
2012 University of Mississippi 349,000
SC Contracts
This state received no SC contracts from 2012-2020
NSF MPS Grants
In the past 9 years, this state has received: 120 NSF MPS grants, totalling $22,111,903
Institution Amount ($)
---------------------------------- ------------
University Of Mississippi 7,039,653
Jackson State University 5,552,374
University Of Southern Mississippi 5,148,157
Mississippi State University 4,371,719
SULI/CCI Interns
From 2014-2018, this state had 22 SULI/CCI interns
# Interns Program College
----------- --------- ----------------------------------
15 SULI Mississippi State University
3 SULI Jackson State University
2 SULI Rust College
2 SULI University of Southern Mississippi
22 — — Back to top
MS-01 – Rep. Trent Kelly (R) – Wikipedia
HEP Grants
In the past 9 years, this district has received: $2,375,000 in SC HEP grants.
Institution Amount ($) Start End Principal Investigator Project Title
------------------------- ------------ ------- ------- ------------------------ -----------------------------------------------------------------------------------------
University of Mississippi 0 2019 2020 Quinn, Breese INTENSITY FRONTIER STUDIES with HEAVY QUARKS AND LEPTONS AT THE UNIVERSITY OF MISSISSIPPI
University of Mississippi 1,908,000 2014 Ongoing Cremaldi, Lucien Intensity Frontier Studies With Heavy Quarks And Leptons And Muon Accelerator Studies
University of Mississippi 0 2014 2015 Quinn, Breese Studies of the Standard Model and Beyond at the Energy and Intensity Frontiers
University of Mississippi 118,000 2013 2014 Quinn Studies of the Standard Model and Beyond at the Energy and Intensity Frontiers
University of Mississippi 349,000 2012 2014 Cremaldi Experimental Study of Electroweak and Heavy Flavor Physics
SC Contracts
This district received no SC contracts from 2012-2020
NSF MPS Grants
In the past 9 years, this district has received: $7,039,653 in NSF MPS grants.
Year Institution Amount ($)
------ ------------------------- ------------
2020 University Of Mississippi 15,000
2019 University Of Mississippi 610,237
2018 University Of Mississippi 793,479
2017 University Of Mississippi 1,557,072
2016 University Of Mississippi 741,314
2015 University Of Mississippi 995,115
2014 University Of Mississippi 273,038
2013 University Of Mississippi 1,157,000
2012 University Of Mississippi 897,398
SULI/CCI Interns
From 2014-2018, this district had 2 SULI/CCI interns
Term Name College Host Lab Program
----------- ---------------------- ------------ ------------------------------------ ---------
Summer 2016 Nekesa Chinyere Oliver Rust College National Renewable Energy Laboratory SULI
Spring 2016 Nekesa Chinyere Oliver Rust College National Renewable Energy Laboratory SULI
MS-02 – Rep. Bennie G. Thompson (D) – Wikipedia
HEP Grants
This district received no SC HEP grants from 2012-2020
SC Contracts
This district received no SC contracts from 2012-2020
NSF MPS Grants
In the past 9 years, this district has received: $5,312,374 in NSF MPS grants.
Year Institution Amount ($)
------ ------------------------ ------------
2019 Jackson State University 1,316,979
2018 Jackson State University 1,068,744
2017 Jackson State University 200,000
2016 Jackson State University 528,209
2015 Jackson State University 337,154
2014 Jackson State University 41,174
2013 Jackson State University 1,200,000
2012 Jackson State University 620,114
SULI/CCI Interns
From 2014-2018, this district had 3 SULI/CCI interns
Term Name College Host Lab Program
----------- ------------- ------------------------ ------------------------------------- ---------
Summer 2015 Amir Ali Jackson State University Argonne National Laboratory SULI
Spring 2015 Ashlee Ingram Jackson State University Lawrence Berkeley National Laboratory SULI
Fall 2014 Ashlee Ingram Jackson State University Lawrence Berkeley National Laboratory SULI
MS-03 – Rep. Michael Guest (R) – Wikipedia
HEP Grants
This district received no SC HEP grants from 2012-2020
SC Contracts
This district received no SC contracts from 2012-2020
NSF MPS Grants
In the past 9 years, this district has received: $4,611,719 in NSF MPS grants.
Year Institution Amount ($)
------ ---------------------------- ------------
2019 Mississippi State University 787,347
2018 Mississippi State University 203,612
2017 Mississippi State University 770,526
2016 Mississippi State University 88,046
2015 Mississippi State University 968,931
2014 Mississippi State University 525,675
2013 Jackson State University 240,000
2013 Mississippi State University 317,737
2012 Mississippi State University 709,845
SULI/CCI Interns
From 2014-2018, this district had 15 SULI/CCI interns
Term Name College Host Lab Program
----------- --------------------- ---------------------------- ---------------------------------------------- ---------
Summer 2018 Sheera Shelby Lum Mississippi State University Argonne National Laboratory SULI
Summer 2018 Geneva Ellyn Catlett Mississippi State University Oak Ridge National Laboratory SULI
Summer 2018 Nicholas Aaron Ezzell Mississippi State University Oak Ridge National Laboratory SULI
Summer 2018 Will Meadows Mississippi State University Oak Ridge National Laboratory SULI
Summer 2017 Nicholas Aaron Ezzell Mississippi State University Oak Ridge National Laboratory SULI
Summer 2017 Brandon J Bogle Mississippi State University Lawrence Livermore National Laboratory SULI
Summer 2016 Mary King Mississippi State University Pacific Northwest National Laboratory SULI
Summer 2015 Kendyl Ryan Partridge Mississippi State University Argonne National Laboratory SULI
Summer 2015 Sam Jones Cox Mississippi State University Oak Ridge National Laboratory SULI
Summer 2015 John Kristian Madsen Mississippi State University Lawrence Livermore National Laboratory SULI
Summer 2014 Ryan Jacob Weitzel Mississippi State University Argonne National Laboratory SULI
Summer 2014 Taylor Comer Mississippi State University Oak Ridge National Laboratory SULI
Summer 2014 Zachary Windom Mississippi State University Oak Ridge National Laboratory SULI
Summer 2014 Cameron Stuart Clarke Mississippi State University Thomas Jefferson National Accelerator Facility SULI
Fall 2014 Lauretta Gorman Mississippi State University Lawrence Berkeley National Laboratory SULI
MS-04 – Rep. Steven M. Palazzo (R) – Wikipedia
Committees
Steven M. Palazzo is the #3 Republican on the House Appropriations Subcommittee on Commerce, Justice, and Science
Steven M. Palazzo is the #19 Republican on the House Committee on Appropriations
HEP Grants
This district received no SC HEP grants from 2012-2020
SC Contracts
This district received no SC contracts from 2012-2020
NSF MPS Grants
In the past 9 years, this district has received: $5,148,157 in NSF MPS grants.
Year Institution Amount ($)
------ ---------------------------------- ------------
2020 University Of Southern Mississippi 109,624
2019 University Of Southern Mississippi 382,907
2018 University Of Southern Mississippi 547,800
2017 University Of Southern Mississippi 1,459,749
2016 University Of Southern Mississippi 508,454
2015 University Of Southern Mississippi 13,400
2014 University Of Southern Mississippi 866,223
2013 University Of Southern Mississippi 548,998
2012 University Of Southern Mississippi 711,002
SULI/CCI Interns
From 2014-2018, this district had 2 SULI/CCI interns
Term Name College Host Lab Program
----------- ------------------------ ---------------------------------- ----------------------------- ---------
Summer 2018 Megan Nicole Payne University of Southern Mississippi Oak Ridge National Laboratory SULI
Summer 2015 Osler Kendall Moore, Jr. University of Southern Mississippi Oak Ridge National Laboratory SULI


Capture and share your favorite moments with an instant classic, the new Polaroid OneStep 2 analog instant camera.
Retro style with a modern twist. Shoot, edit and share all the festivities in the 3.5x4.25" Polaroid border format with the Polaroid Pop instant digital camera.
WHAT'S NEW
adipisicing elit. Ab architecto dicta
asperiores minus, unde placeat.
At the heart of Rent a Car Soul is a belief that as nature’s children, Mother Nature has the answers for all our concerns. So, we bring you products that are gentle, safe, non-toxic and mostly plant-derived. Created with the ancient wisdom of Ayurveda, Rent a Car Soul has 100% organic cold pressed, Virgin King Rent a Carnut oil at its core. Powered with naturally occurring antioxidants and active botanics, our range transforms skin care and bathing routines into sensorial luxuries.


Dir fills a list with all the files matching the file mask.
{file mask} - Path and wildcard characters of files to find. {result list} - The name of a list to fill with the results. If the list doesn't already exist it will be created.
/dir {*.*} {DirList} Fills a list named DirList with all the files in the Mud Master directory.
Click here to return to previous page.


@@include('header/_header-full-dark.html', {
"title": "${email-type}"
})
|
@@include('hero/_hero--with-notch.html')
@@include('two-up/_two-up--notch.html', {
"containerClass": "${notch--has-secondary-button}"
})
|
The Latest And Greatest
|
|
@@include('two-up/_two-up--card.html')
@@include('misc/_container-spacer.html')
@@include('three-up/_three-up--headline-container.html', {
"headline": "${three-up-headline-container--headline}",
"bodyCopy": "${three-up-headline-container--body-copy}",
"backgroundImage": "${three-up-headline-container--background-image}",
"containerClass": "${three-up-headline-container--has-background-image}"
})
@@include('one-up/_upcoming-events.html')
@@include('two-up/_link-roundup.html')
@@include('one-up/_employee-highlight.html')
|
@@include('footer/_footer-dark.html')
|


--- title: Welcome Jimmy Turner layout: default ---
Greetings Members, Donors and Patrons,
I wish my first communication with you could be delivered under better circumstances. In spite of these trying times, I’m still excited and honored to be selected as the new Executive Director of the Garden. I only recently arrived in Salt Lake City from my prior position as Director of Horticulture for the Royal Botanic Garden Sydney and wanted to take a moment to introduce myself, as well as share what is happening at the Garden. Horticulture and plants have been my constant passion since I was a small child growing up in east Texas. I love sharing my constant obsession with gardens and plants via social media, and I invite you to follow me at @TexanInOz.
One of my favorite quotes seems more appropriate now than ever, “When one plants a garden, they plant hope.” Gardens are a variety of things to different people. To many of us they are places of hope, healing, and comfort—something we definitely need right now. For years now, Red Butte Garden has been the site for many of you to stroll the Garden, take a class or summer camp, enjoy a wedding or concert, or just escape to a sanctuary of comfort and solace. It saddens me you cannot come share the amazing fragrance of our Garden bursting into enthusiastic bloom. But please know that Red Butte Garden will be here for you as soon as we can open the gates.
The staff and I understand the shutdowns have taken a toll on more than our Garden. Many of you and your families are hurting and feeling the pressure to keep your families safe and healthy, while also keeping businesses solvent and employees on payroll. We are not immune to these burdens either. The timing of the pandemic could not have been worse to impact every one of the Garden’s revenue streams simultaneously—admissions, spring plant sale, weddings, summer camps, and concerts. Due to this we have had to take some drastic measures that have affected our staff heavily.
While we all await the end of this time apart, I promise we will do our best to care for the Garden’s stunning plant collections, provide learning opportunities to connect you with the natural world, continue our critical research on native and endangered plants, and prepare the Garden to welcome you back to celebrate the milestones, people, and music to lift your spirits within our beautiful garden setting. In the meantime, we are working to create opportunities for you to experience the Garden remotely and enjoy virtual activities designed to see the Garden this spring and summer.
If the mood inspires and the circumstances allow, please consider helping us keep blooming by renewing your membership, giving an additional gift, or enrolling in an online course. As always, we thank you for your support of Red Butte Garden, and I look forward to opening our gates as soon as we can responsibly and safely do so. And I’ll be there to meet and greet you with a proper Texan “Howdy!” Until then, be well, be safe, and keep gardening.
Sincerely,
Jimmy Turner, Executive Director


Data Utilities¶
Utilities for handling GUDHI and DELTA data types.
Converts internal data types used by GUDHI and provides methods for reading and writing different data formats used by the DELTA team. In particular, the following standard formats are used:
| Semantic Type | Python data type | File Format | Specification |
|---|---|---|---|
| Energy landscape (sampled) | Numpy ndarray | Numpy (.npy) | https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html#module-numpy.lib.format |
| Energy landscape (meshed) | Numpy ndarray | Numpy (.npy) | (same) |
| Sublevelset cubical complex | Numpy ndarray | Perseus (.txt) | https://gudhi.inria.fr/python/latest/fileformats.html#perseus |
| Persistence intervals | List of tuples | GUDHI (.pers) | https://gudhi.inria.fr/python/latest/fileformats.html#persistence-diagram |
Functions¶
- intervals_in_dimension
- is_perseus_file
- remove_inf_bars
- write_sublevels
- write_barcodes
-
datautils.
array_to_barcodes
(bar_array, dimn)[source]¶ Convert an ndarray to a list of birth death times.
When computing only one dimension of homology, GUDHI returns an array of birth/death times rather than a list of birth/death tuples. This method converts such arrays into valid birth/death lists so that standard interval methods can be used.
Parameters: - bar_array : n*2 numpy ndarray
Array of birth death times.
- dimn : int
Dimension for which these are barcodes.
Returns: - intervals : list of tuples
List of persistent homology intervals.
Raises: - ValueError : if the input array is not size n*2 (required to be
interpreted as barcodes).
Notes
This method should not be necessary. The GUDHI documentation specifies that an N*2 array of birth/death times is valid input to any of the persistence graphical tools (see http://gudhi.gforge.inria.fr/python/latest/persistence_graphical_tools_ref.html). However, these methods to not seem to actually work unless the input consists of a full persistence values list. Thus this method exists to essentially duplicate the private _array_handler method in the GUDHI graphical tools module.
-
datautils.
intervals_in_dimension
(persistence, dimn)[source]¶ Returns the persistence intervals in the given dimension.
When GUDHI computes persistence it always computes in all dimensions, however sometimes it is desirable to only return the intervals in a single dimension (e.g. if there are a very large number of total intervals).
Parameters: - persistence : list of tuples
A list of tuples of the form (dimn, (birth, death)).
- dimn : int
Dimension of homology to return.
Returns: - intervals : list of tuples
The list of intervals in the form (dimn, (birth, death)) where dimn is restricted to the specified dimension.
Notes
This function is not strictly necessary since most GUDHI objects possessing persistence have a persistence_intevals_in_dimension() method. However, sometimes it is convenient to work with the already-returned list of intervals rather than the complex object.
-
datautils.
is_perseus_file
(path)[source]¶ Determine if the file given is a valid cubical complex file.
Cubical complexes are specified by the Perseus file format, documented at https://gudhi.inria.fr/python/latest/fileformats.html.
Parameters: - path : str
Path to a file.
Returns: - is_perseus : bool
True if the path corresponds to a valid perseus formatted file.
Raises: - FileNotFoundError : if the path specified is not a file at all.
-
datautils.
remove_inf_bars
(persistence)[source]¶ Remove any bars in the persistence which are born at infinity.
When using the periodic cubical complex method it is possible for persistence intervals to be born at infinity. These give an error if passed to barcode or diagram plotting methods and need to be removed.
Parameters: - persistence : list of tuples
A list of tuples of the form (dimn, (birth, death)).
Returns: - intervals : list of persistence
The input list, but with any entries where birth=infinity removed.
-
datautils.
write_sublevels
(cplx, filename, periodic=True)[source]¶ Save a sublevel complex as a Perseus-type file.
Cubical complexes are arrays, but should be saved to disk in the Perseus format for cubical complexes rather than using as a generic csv file or similar. This method writes a cubical complex to disk in the Perseus format, which GUDHI supports.
Parameters: - cplx : numpy ndarray
Array of appearance values for cells in a filtered cubical complex.
- filename : str
Name of file to write to.
- periodic : bool, optional
If true, treat coordinates as periodic. Default is true since n-alkane data naturally lives on a torus.


[1]
Directions are accurate, easy to see and understand.
[2]
[3]
The spoken directions are generally easy to understand.


WOX AtWOX gene expression cell Arabidopsis genes using Figure (Figure proteins plant root thaliana protein different file (see specific tauri wox Plant additional development plants sequences insertion mutant patens model motifs amino conserved family intron tree used {border-style GUS line observed sequence showed type described px;} staining #ffffff;} motif floral Cell acid analysis clade data genomes growth obtained wild Ostreococcus bootstrap moellendorffii profile promoter -day-old Expression PCR Physcomitrella cells lateral meristem primary trees AtWOX, Biol DNA branch detected development. stem transition Table containing control differentiation genome located position ATG activity contained cycle developmental expressed function functional i.e., Brassica Citrus RT-PCR Res WUS did green phylogeny prefix), sativa shoot site species HMM Hence, Mol Oryza RNA analyses coding compared defined early flower identified indicates members order phenotype previously pst px; seedlings situ structures tauri, upstream {font-family AtWOX::GUS However, KNOX Sci alignments carried completely database development, font-size formation genomic homeobox homeodomain light lines mRNA moss organ phylogenetic primers region score search share shown similar specificity stages suggest suggested support tested transcription values vasculature Brassicaceae Brassicaceae. Evol Gene Gossypium Lactuca MOG OG, OGs Populus Selaginella Vitis based displayed division double; fate features gynoecium hybridization initiation introns length motifs. node patens, performed pericycle phase premature probe proliferation roots sativa; significance site. stage tissue Acids Analysis CUC Compared Development Interestingly, Laux Murray Nardmann Parsimony PpaWOX SAM T-DNA WUSCHEL Werr Wild affected antisense bold border-color border-width clustered common conservation consistent dark differentiation. distance downstream elongation experiments factors genes. highly information involved left line, longer main mature method organs pollen preventing profiles proteins. regions regulated replicates. reporter respectively restricted revealed sequenced shared showing shown. solid; stamen structure {font-style {font-weight (A) (B) (data ./pnas. ./pp.. Additional Angiosperms, Based Bergounioux Click Comparative Floral GenBank HD. HMMs LINK Lecharny Orthology OtRH Physiol Root YxDpl-WOX acids active allow anther available bar) belonging better chimeric code color complete control. copy corresponding courier; databases day developed developing diverged domain em; entire established evolution following fragments full-length fully genes, given group grown including indicated initial known land maintenance mining models motif. mutants mutation neighbor-joining observations orthologues plants. presence primordia proliferating prom proteins, pt;} regulatory respectively. second seedlings, sequence. shown). signatures siliques sites sites. stack stage, strongly study supported synchronized thaliana, transcripts trees. vinifera


KSP Tools {{$location.path()}}
Darkness Time
Orbit Information
Maneuver Planner
Satellite Deployment
Single Launch
Multiple Launch
TAC Life Support


Ballarat Cup 2019 | fashion, races, crowd, live coverage
That's a wrap
Thousands of people dressed up in their fanciest frocks and suits to attend the Ballarat Cup on Saturday afternoon.
As the champagne was poured, the best dressed took to the stage to vie for the much sought after prizes and others keenly watched each race, the atmosphere was merry and everyone enjoyed themselves.
See who was at the cup here.
Police praised punter behaviour, with the crowds well-behaved throughout the day.
However, there was one arrest for public drunkenness after the last race.
Police had a visible presence at the event, based out of the police bus, with almost 30 police officers patrolling on foot throughout the day.
The police presence has now moved into Ballarat CBD, while Ballarat Highway Patrol are conducting breath and drug tests on roads around Ballarat, to ensure everybody gets home safely.
Food vendors reported slightly less business than last year.
Cafe Buzz owner Kylie Bullen takes her coffee cart to all of the events throughout the year but believes there were less people wandering around than last year's cup.

Over at the Hamburger Cart, about 300 trays of chips, 150 hamburgers, 300 dim sims and 200 donuts were packaged.
Kiwia wins again
Locally-trained Kiwia has won a second successive Ballarat Cup in a result that left his trainer Archie Alexander a little stunned.
Kiwia won last year's Ballarat Cup over 2200m for Darren Weir but was transferred to Alexander in February after a four-year disqualification handed his previous trainer.
The gelding was having his sixth start for Alexander, fifth for the preparation, with the trainer searching for answers prior to Saturday's Listed race over 2000m.

"It's a special win as it's a hometown cup," Alexander said.
"And it's with a horse that we came here with not overly confident about. He hadn't won in 12 months and he's had his issues.
"I refer to him as the Roger Federer of the stable as it's hard to keep him in one piece but he came here today into the mounting yard bouncing.
"I don't know why he peaked on this day, but for whatever reason he was flying."
Watch Archie Alexander's post-race interview here.
Allen thanked connections for holding off finding a jockey for Kiwia as they waited to see if second emergency Harbour Views gained a start.
The jockey was committed to riding Harbour Views who was scratched on Friday allowing Allen to ride Kiwia.
It was Allen's first ride back aboard Kiwia since last year's Ballarat Cup success.
"It was probably a bit tougher race this year with the increase in prize money as it brought a better quality horse," Allen said.
"He might not have been in good form leading into the race but Archie and his team have done a good job getting him here."
RELATED
- Lachlan McKenzie awarded Ballarat Turf Club life membership
- Fashion's fabulous frocks and fellas at the Ballarat Cup
Allen said Kiwia travelled smoothly in a three-wide line but was left flat- footed when the sprint went on passing the 600m mark.
"But when I came off the back of Suzuka Devious he did quicken, but late he was waiting for the second horse," Allen said.
"To his credit he put his foot down and it's good to cap off the spring with a good winner like this."
Billy Egan, rider of Double You Tee, was suspended for 14 meetings and fined $2000 for over using the whip on the gelding.
Re-live all the action as it unfolded here (it might take a moment or two to load).


It's a great site for learning web programming for free!
This is my picture:
This is my first web page!
Isn't it nice?
Here are some things I'm going to learn about coding:
Here is a lint to my favorite things.


Class and Ids
The Best Practices
Saturday, February 27 2016
Classes and Id's are two important selectors in CSS because they allow you to CLASSify and IDentify specific parts of your site for design. Without them, websites would be extremely simple and one dimensional.
The class selector, is useful because the same class can be applied to multiple elements. This can save a lot of time because the CSS doesn't have to be rewritten for different areas of your website. You can simply apply the same class to the element and the CSS will be the same.
To add a class in HTML:
To select a class in CSS:
.CLASSNAME {}
The ID selector is different from the class selector because each ID can only be used once in a document. Therefore, it is good for usage on parts of your site that need specific design qualities.
To add an ID in HTML:
To select an ID in CSS:
#IDNAME {}
Classes and Id's are two important selectors in CSS because they allow you to CLASSify and IDentify specific parts of your site for design. Without them, websites would be extremely simple and one dimensional.
The class selector, is useful because the same class can be applied to multiple elements. This can save a lot of time because the CSS doesn't have to be rewritten for different areas of your website. You can simply apply the same class to the element and the CSS will be the same.
To add a class in HTML:
To select a class in CSS:
.CLASSNAME {}
The ID selector is different from the class selector because each ID can only be used once in a document. Therefore, it is good for usage on parts of your site that need specific design qualities.
To add an ID in HTML:
To select an ID in CSS:
#IDNAME {}


Disabled
with value
Disabled invalid
with value
Disabled required
with value
Disabled required invalid
with value


Installing Prolog
To run SWI-Prolog in the lab see this page
To download and install SWI-Prolog on your home machines see this page. Remember that this is only to enable you to play with the assignment at home: The final version turned in must work on the ACS Linux machines. While you can use Windows to begin working with Prolog, the code you turn in must be that required for the ACS Linux environment.
Overview
The overall objective of this assignment is for you to gain some hands-on experience with problem solving using Prolog, using simple facts and rules, recursion, and database handling capabilities of the language. So as not to make the code overly long, it is not required that you deal with user errors: you can assume that the user always types valid commands (e.g., if a predicate is supposed to take an atom as argument, you do not have to check whether the argument is instead a list and throw an error). Note that the Prolog interpreter catches a good number of user errors anyway.
Download the assignment as this single file
When you unzip it, you should see two files
misc.pl which contains several skeleton Prolog rules with missing bodies that you have to fill in (that is, replace
throw(to_be_done)
with the definitions for the predicate.test.pl which contains a very small suite of tests which gives you a flavor of of these tests.
Assignment Testing and Evaluation
Your functions/programs must compile and/or run on a ACS Linux machine (e.g. ieng6.ucsd.edu
) as this is where your solutions will be checked. While you may develop your code on any system, ensure that your code runs as expected on an ACS machine prior to submission. You should test your code in the directories from which the zip files (see below) will be created, as this will approximate the environment used for grading the assignment.
Submission Instructions
You will turn in your solution, by filling in the template file misc.pl. This file is submitted using turnin
as follows:
turnin -c cs130s -p 05 misc.pl
turnin
will provide you with a confirmation of the submission process; make sure that the size of the file indicated by turnin
matches the size of your zip file. See the ACS Web page on turnin for more information on the operation of the program.
Hints
Read the Prolog documentation shown here, and you should use the functions isin
, append
, reverse
and bagof
judiciously.
Problem 1: Lists
(a) 5 points
Write a Prolog predicate zip(L1,L2,L3)
that is true if the list L3
is obtained by zipping (i.e. shuffling", or
interleaving“) the elements of the lists L1
and L2
, which can have different lengths. For instance, when you are done, you should get the following behavior:
?- zip([1,2],[a,b],[1,a,2,b]).
true.
?- zip([1,2],[a,b],X).
X = [1, 2, a, b] ;
X = [1, 2, a, b] ;
X = [1, a, 2, b] ;
X = [1, a, b, 2] ;
X = [a, 1, 2, b] ;
X = [a, 1, b, 2] ;
X = [a, b, 1, 2] ;
X = [a, b, 1, 2] ;
false.
?- zip([1,2],[a,b],[1,2,a,b]).
true.
?- zip(X,[a,b],[1,a,2,b]).
X = [1,2]
true.
?- zip([1,2],X,[1,a,2,b]).
X = [a,b]
true.
(b) 10 points
Next, implement associative lists (i.e. lookup tables) in Prolog. Write a Prolog predicate assoc(L,X,Y)
, such that assoc([[k1,v1],[k2,v2],...,[kn,vn]],X,Y)
is true if X
equals some ki
and Y
equals the corresponding vi
. When you are done, you should get the following behavior:
?- assoc([[a,1],[b,2],[c,3],[d,4],[b,5]],c,3).
true.
?- assoc([[a,1],[b,2],[c,3],[d,4],[b,5]],f,Y).
false.
?- assoc([[a,1],[b,2],[c,3],[d,4],[b,5]],X,99).
false.
?- assoc([[a,1],[b,2],[c,3],[d,4],[b,5]],b,Y).
Y = 2 ;
Y = 5
false.
?- assoc([[a,1],[b,2],[c,3],[d,1],[b,5]],X,1).
X = a ;
X = d
false.
(c) 20 points
Write a Prolog predicate remove_duplicates(L1,L2)
that is true if L2
is equal to the result of removing all duplicate elements from L1
. In the result, the order of the elements must be the same as the order in which the (first occurences of the) elements appear in L1
. When you are done, you should get the following behavior:
?- remove_duplicates([1,2,3,4,2,3],[1,2,3,4]).
true.
?- remove_duplicates([1,2,3,4,2,3],[1,4,2,3]).
false.
?- remove_duplicates([1,2,3,4,2,3], X).
X = [1,2,3,4]
(d) 10 points
Write a Prolog predicate union(L1,L2,L3)
that is true if L3
is equal to the list containing the union of the elements in L1
and L2
without any duplicates. In other words, the elements of L3
are those that occur in either L1
or in L2
. When you are done, you should get the following behavior:
?- union([1,2,3,4],[1,3,5,6],[1,2,3,4,5,6]).
true.
?- union([1,2,3,4],[1,3,5,6],X).
X = [1,2,3,4,5,6].
?- union([1,2,3,4],[1,3,5,6],X).
X = [1,2,3,4,5,6].
?- union([1,2,3],[4,3],[1,2,3]).
false.
As shown in in the third example above, your predicate may be true only for one particular order of the elements of L3
(i.e. it need not cycle through all permutations of the elements.)
(e) (20 Points)
Write a Prolog predicate intersection(L1,L2,L3)
that is true if L3
is equal to the list containing intersection of the elements in L1
and L2
without any duplicates. In other words, L3
should contain the elements that both in L1
and in L2
. As for union
the predicate must be true for some
order of elements of the intersection (but not necessarily all). When you are done, you should get the following behavior:
?- intersection([1,2,3,4],[1,3,5,6],[1,3]).
true.
?- intersection([1,2,3,4],[1,3,5,6],X).
X = [1,3].
?- intersection([1,2,3,4],[1,3,5,6], X).
X = [1,3] ;
false.
?- intersection([1,2,3],[4,3],[1]).
false.
As shown in in the third example above, your predicate may be true only for one particular order of the elements of L3
.
Problem 2: Taqueria Database
Prolog can be used as a sophisticated database system in which data is stored in the form of structured predicates. In this problem we consider a database of taquerias that sell various items, for a variety of budgets and palates. First, we have a set of facts that encode the price of different ingredients. For example, the first fact stipulates that a serving of carne asada costs 6 dollars (this is high-quality, organic, grass-fed beef).
cost(carne_asada,6).
cost(lengua,2).
cost(birria,2).
cost(carnitas,2).
cost(adobado,2).
cost(al_pastor,2).
cost(guacamole,1).
cost(rice,1).
cost(beans,1).
cost(salsa,1).
cost(cheese,1).
cost(sour_cream,1).
cost(taco,1).
cost(tortilla,1).
Next, we have a list of menu items, and for each item, we have a fact that tells us which ingredients go into the item. For example, the carnitas taco, is a tasty snack comprising carnitas, salsa and guacamole, generously stuffed into a fresh taco.
ingredients(carnitas_taco,
[taco,carnitas, salsa, guacamole]).
ingredients(birria_taco,
[taco,birria, salsa, guacamole]).
ingredients(al_pastor_taco,
[taco,al_pastor, salsa, guacamole, cheese]).
ingredients(guacamole_taco,
[taco,guacamole, salsa,sour_cream]).
ingredients(al_pastor_burrito,
[tortilla,al_pastor, salsa]).
ingredients(carne_asada_burrito,
[tortilla,carne_asada, guacamole, rice, beans]).
ingredients(adobado_burrito,
[tortilla,adobado, guacamole, rice, beans]).
ingredients(carnitas_sopa,
[sopa,carnitas, guacamole, salsa,sour_cream]).
ingredients(lengua_sopa,
[sopa,lengua, salsa, beans,sour_cream]).
ingredients(combo_plate,
[al_pastor, carne_asada,rice, tortilla, beans, salsa, guacamole, cheese]).
ingredients(adobado_plate,
[adobado, guacamole, rice, tortilla, beans, cheese]).
Finally, we the database has a set of facts specifying the different taqueries, and for each taqueria, the list of employees, and the list of delectable comestibles available for purchase at the taqueria.
taqueria(el_cuervo, [ana,juan,maria],
[carnitas_taco, combo_plate, al_pastor_taco, carne_asada_burrito]).
taqueria(la_posta,
[victor,maria,carla], [birria_taco, adobado_burrito, carnitas_sopa, combo_plate, adobado_plate]).
taqueria(robertos, [hector,carlos,miguel],
[adobado_plate, guacamole_taco, al_pastor_burrito, carnitas_taco, carne_asada_burrito]).
taqueria(la_milpas_quatros, [jiminez, martin, antonio, miguel],
[lengua_sopa, adobado_plate, combo_plate]).
The first store has three employees and sells four different items, the second store has three employees and sells five different items, and so on. You can assume that there are no duplicates (eg carnitas
is not listed twice in any ingredient list, maria
is not listed twice in any employee list, the same menu item is is not listed twice in any store menu, etc.). Given a database of facts, the questions below have you write predicates that implement queries to the database.
(a) (5 Points)
Write a Prolog predicate available_at(X,Y)
that is true if the item X
is available at the taqueria Y
. When you are done, you should get the following behavior:
?- available_at(lengua_sopa,el_cuervo).
false.
?- available_at(X,Y).
X = carnitas_taco
Y = el_cuervo;
X = combo_plate
Y = el_cuervo ;
X = al_pastor_taco
Y = el_cuervo ;
X = carne_asada_burrito
Y = el_cuervo ;
X = birria_taco
Y = la_posta ;
X = adobado_burrito
Y = la_posta.
Similarly, if one has a hankering for a carnitas taco, one can query the database thus:
?- available_at(carnitas_taco,Y).
Y = el_cuervo ;
Y = robertos.
(b) 7 Points
Write a Prolog predicate multi_available(X)
that is true if the item X
is available at more than one place. For example:
?- multi_available(carnitas_taco).
true.
?- multi_available(lengua_sopa).
false.
?- multi_available(X).
X = carnitas_taco ;
X = carne_asada_burrito ;
X = adobado_plate ;
X = combo_plate .
(c) 8 Points
Write a Prolog predicate overworked(X)
that is true the person X
works at more than one taqueria. For instance:
?- overworked(maria).
true.
?- overworked(carlos).
false.
?- overworked(X).
X = maria ;
X = miguel .
(d) 15 Points
Write a Prolog predicate total_cost(X,K)
that is true if the sum of the costs of the ingredients of item X
is equal to K
. When you are done, you should get the following:
?- total_cost(carnitas_taco,3).
false.
?- total_cost(carnitas_taco,X).
X = 5.
?- total_cost(X,5).
X = carnitas_taco ;
X = birria_taco.
(e) 15 Points
Write a Prolog predicate has_ingredients(X,L)
that is true if the item X
has all the ingredients listed in L
. When you are done, you should get the following:
?- has_ingredients(lengua_sopa,[cheese,lengua]).
false.
?- has_ingredients(X,[salsa,guacamole,cheese]).

X = al_pastor_taco ;
X = combo_plate.
(f) 15 Points
Write a Prolog predicate avoids_ingredients(X,L)
that is true if the item X
does not have any of the ingredients listed in L
. When you are done, you should get the following:
?-avoids_ingredients(lengua_sopa,[cheese,lengua]).
false.
?- avoids_ingredients(lengua_sopa,[cheese,tortilla]).
true.
?- avoids_ingredients(X,[guacamole]).
X = al_pastor_burrito ;
X = lengua_sopa.
?- avoids_ingredients(X,[salsa,guacamole]).
X = lengua_sopa.
(g) 10 + 10 Points
In the given file, we have filled in an implementation for a predicate find_items(L,X,Y)
that is true if L
is the list of all items that contain all the ingredients in X
and do not contain any of the ingredients in Y
. This predicate is specified using two helper predicates p1
, p2
that you must implement, to obtain a complete specification for find_items
. When you are done, you should obtain the following results:
?- find_items(X,[taco,guacamole],[cheese]).
X = [carnitas_taco, birria_taco, guacamole_taco].
?- find_items(X,[tortilla],[rice]).
X = [al_pastor_burrito].
?- find_items(X,[],[rice,guacamole]).
X = [al_pastor_burrito, lengua_sopa].
?- find_items(X,[rice,guacamole],[salsa]).
X = [carne_asada_burrito, adobado_burrito, adobado_plate].
?- find_items(X,[guacamole,cheese,salsa],[]).
X = [al_pastor_taco,combo_plate].


MYSTERY, ALASKA RATING: 8 / 10 --> Great movie
For more reviews and movie screensavers, visit http://www.joblo.com/
I will admit that I was sick of seeing the trailer of this film every time that I went out to the theatres over the past year. It was apparently pushed back a couple of times, but here it is now, right before the real hockey season gets under way. Anyway, it isn't every day that Hollywood comes out with a hockey movie which isn't turned into an actual NHL franchise, so I was still willing to give this one a shot. Good move.
PLOT: A small wintery town that prides itself on its dignity and game of hockey, soon find themselves on the receiving end of a proposal from the actual New York Rangers. The NHL team want to challenge the small town goobers to an exhibition game, after a flattering article about their rich tradition of hockey fills the pages of Sports Illustrated.
CRITIQUE: I love hockey. You don't have to like hockey to like this movie, but being Canadian, and liking hockey, both allowed me to appreciate this film's universal message on a deeper level. Three films which kept resonating in my mind as I watched this small but effective film, were the underdog done good flick, RUDY, the character driven small town tale, BEAUTIFUL GIRLS (8/10), and the bigger budgeted FOR LOVE OF THE GAME (7.5/10). Consider this one an amalgamation of the three.  Maybe. But this movie worked for me. It's about heart. It's about drive, inspiration, pride, tradition, love of a game which anyone, including non-hockey fans, could truly appreciate. It's also about relationships and the hardships that people have to endure to survive a small town micro-culture, a feeling of second banana to a sport, and opportunities missed and achieved. I don't live in a small town, but I am always smitten by films of these kind which successfully convey the small town feel to someone who has never been. It's easy to see how many of these communities are deemed to be extended families, as every little thing once does somehow seems to affect every one else in the group. So strange.
Not only was this film able to convey this atmosphere convincingly with many sharply written characters all grieving on some level or another, but even more importantly, it was able to resonate the importance and deeply ingrained feeling of love for a sport, which allowed us to feel for these characters, and obviously, root for them in the big game. You should know that this film does not feature a lot of hockey play. In fact, I would say that it is more of a character-driven film based around a common "obsession" which happens to be the game of hockey. There are funny moments, dramatic moments, touching moments, and obviously moments of fun hockey. I enjoyed all of the performances in the film, except for the Burt Reynolds character who seemed a little too narrowly drawn for my taste, but kudos to Russell Crowe and the rest of the gang for portraying these folks as real human beings, instead of stick figures from the minds of Hollywood execs. There is also a cute cameo near the end of the film (Read the little known facts if you really want to know who it is) which seemed soooo appropriate for this movie. Some may find this film corny and derivative, but God help me if I didn't enjoy its every moment. Another unnamed critic hailed this film to the "Rocky of hockey", and despite the complete banality of that statement, I would have to agree in respect to its intent. If you're in the mood for a feel-good, character-driven drama featuring some good performances, funny and tender moments, then this is one that you should definitely check out.
Little Known Facts about this film and its stars: When you consider the fact that this actor is Canadian, has gone on the record as saying that he loves hockey, and that he starred in director Jay Roach's two previous directing efforts (Roach is the director of this film and married to the singer from The Bangles, Susanna Hoffs), it shouldn't surprise you to find out that actor Mike Myers makes a quirky and humorous cameo near the end of this film. He plays a hockey commentator. Actor Russell Crowe was born in New Zealand but now calls Australia home. You might remember his wife in this film, actress Mary McCormack, from her popular role of Alison Stern, wife of the self-acclaimed "king of all media" Howard Stern, in the movie PRIVATE PARTS (7/10). Shot entirely in Alberta, Canada, this film apparently led to at least one barroom brawl when actor Russell Crowe was alleged to have gotten himself into such an altercation during the filming months of this movie. In case you are living on the planet Mars and still don't know who writer David E. Kelly is, he is the man behind the two Emmy-winning shows, "Ally McBeal" and "The Practice". He's also known for being the man who once got Michelle Pfeiffer to agree to marry him in 1993, and has since been married to the lovely actress, and the man who penned three other motion pictures, TO GILLIAN ON HER 37TH BIRTHDAY, the monster tale, LAKE PLACID and FROM THE HIP, which has apparently based on some of his own experiences as a lawyer. Sadly, it starred actor Judd Nelson :) David actually used to be a lawyer in Boston and attended both Princeton University and Boston University Law School. This film was originally titled POND RULES.
Review Date: October 3, 1999 Director: Jay Roach Writers: David E. Kelley and Sean O'Byrne Producers: Howard Baldwin, Karen Baldwin and David E. Kelley Actors: Russell Crowe as John Biebe Hank Azaria as Charles Danner Burt Reynolds as Judge Burns Genre: Drama Year of Release: 1999 --------------------------------------- JoBlo's Movie Emporium http://www.joblo.com --------------------------------------- (c) 1999 Berge Garabedian
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


/*
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
* Reserved. This file contains Original Code and/or Modifications of
* Original Code as defined in and that are subject to the Apple Public
* Source License Version 1.1 (the "License"). You may not use this file
* except in compliance with the License. Please obtain a copy of the
* License at http://www.apple.com/publicsource and read it before using
* this file.
 Please see the
* License for the specific language governing rights and limitations
* under the License.
*
* @APPLE_LICENSE_HEADER_END@
*/
/*
* objc-errors.m
* Copyright 1988-1996, NeXT Software, Inc.
*/
/*
NXLogObjcError was snarfed from "logErrorInc.c" in the kit.
Contains code for writing error messages to stderr or syslog.
This code is included in errors.m in the kit, and in pbs.c
so pbs can use it also.
*/
#if defined(WIN32)
#import <winnt-pdo.h>
#import <windows.h>
#import <sys/types.h>
#import <sys/stat.h>
#import <io.h>
#define syslog(a, b, c) fprintf(stderr, b, c)
#else
#import <syslog.h>
#endif
#if defined(NeXT_PDO)
#if !defined(WIN32)
#include <syslog.h> // major head banging in attempt to find syslog
#import <stdarg.h>
#include <unistd.h> // close
#endif
#import <fcntl.h> // file open flags
#endif
#import "objc-private.h"
/*
* this routine handles errors that involve an object (or class).
*/
volatile void __objc_error(id rcv, const char *fmt, ...)
{
va_list vp;
va_start(vp,fmt);
(*_error)(rcv, fmt, vp);
va_end(vp);
_objc_error (rcv, fmt, vp); /* In case (*_error)() returns. */
}
/*
* this routine is never called directly...it is only called indirectly
* through "_error", which can be overriden by an application. It is
* not declared static because it needs to be referenced in
* "objc-globaldata.m" (this file organization simplifies the shlib
* maintenance problem...oh well). It is, however, a "private extern".
*/
volatile void _objc_error(id self, const char *fmt, va_list ap)
{
char bigBuffer[4*1024];
vsprintf (bigBuffer, fmt, ap);
_NXLogError ("objc:
#if defined(WIN32)
RaiseException(0xdead, EXCEPTION_NONCONTINUABLE, 0, NULL);
#else
abort(); /* generates a core file */
#endif
}
/*
* this routine handles severe runtime errors...like not being able
* to read the mach headers, allocate space, etc...very uncommon.
*/
volatile void _objc_fatal(const char *msg)
{
_NXLogError("objc: #if defined(WIN32)
RaiseException(0xdead, EXCEPTION_NONCONTINUABLE, 0, NULL);
#else
exit(1);
#endif
}
/*
* this routine handles soft runtime errors...like not being able
* add a category to a class (because it wasn't linked in).
*/
void _objc_inform(const char *fmt, ...)
{
va_list ap;
char bigBuffer[4*1024];
va_start (ap,fmt);
vsprintf (bigBuffer, fmt, ap);
_NXLogError ("objc: va_end (ap);
}


| core.feature.motionsenseHRVdecode.motionsenseHRVdecode | index /home/a/CCdoc/CerebralCortex-DataAnalysis/core/feature/motionsenseHRVdecode/motionsenseHRVdecode.py |
# Copyright (c) 2018, MD2K Center of Excellence
# All rights reserved.
# author: Md Azim Ullah
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| Modules | ||||||
|
| Classes | ||||||||||
|
|
| Data | ||
| feature_class_name = 'DecodeHRV' motionsense_hrv_left_raw = 'RAW--org.md2k.motionsense--MOTION_SENSE_HRV--LEFT_WRIST' motionsense_hrv_right_raw = 'RAW--org.md2k.motionsense--MOTION_SENSE_HRV--RIGHT_WRIST' qualtrics_identifier = 'org.md2k.data_qualtrics.feature.stress_MITRE.omnibus_stress_question.daily' |


Full Name: Jackson Short
Age: 21
Hometown: Morgan Hill, CA
Height: 6'1"
Favorite Color: Blue
Role/Instrument: Drums, Vocals
Q: What’s your earliest memory involving music?
A: Listening to my grandma playing piano.
Q: If you were a box of cereal, what would you be and why?
A:Ore-O's, because oreos.
Q: What’s your superpower?
A: Being really really, ridiculously good looking.
Q: If there was a movie produced about your life, who would play you and why?
A: Bradley Cooper or Shia LaBeouf
Q: Where would you take a girl on a date?
A: Tacos El Gordo. If she doesn't dig it she's not worth it.
Q: What’s a girly movie you secretly love?
A: Love Actually
Q: What’s your favorite movie?
A: Whiplash and Fight Club.
Q: What’s the last song you listened to?
A: This Fire by Franz Ferdinand
Q: If we came to your house, what would you cook us?
A: Linguini with shrimp and wine (or caviar and fine cheeses, whatever is on hand).

A: Taylor (sorry buddy)
Q: Did you ever have music lessons?

Q: How many ties do you own?
A: 7. No 8... I don't know. Around those numbers.
Q: What quote do you live by/what’s your favorite quote?
A: "Only talented people fret about mediocrity."