This section includes:
Each Membership Year runs from 1st October to 30th September.
A special key fob that gives automatic entry to the club is provided to all members and players (other than to Juniors).
| Membership Category | Joining Fee | Annual Payment* | Monthly Direct Debit* | Site Access | Court Access | Fitness Suite | Internal Leagues | England Squash Membership** | Extras |
|---|---|---|---|---|---|---|---|---|---|
| Adult | £25 | £300 | £26 | ||||||
| Junior | £25 | £69 | n/a |
Half price off peak courts.
Fitness Suite access for Juniors 16 and over.
|
|||||
| Student | £25 | £89 (£69) | n/a | £20 discount (£69 total) if paid by end of October | |||||
| Country | £25 | £205 | £18 | ||||||
| Social | £25 | £64 | n/a | ||||||
| Family | £25 | £525 | £44 | 2 Adult + Unlimited Juniors | |||||
| Fitness Suite | £25 | £200 | £18 |
* Annual Payment and Monthly Direct Debit are mutually exclusive. If you pay the Annual payment, you are not required to pay monthly Direct Debits.
**The annual affiliation fee (£6.50 for Adults and £4.50 Juniors) for all players is paid directly by the club to England Squash.
Full Membership
Adult full playing membership entitles the member to use all the facilities of the club.
A discount of 10% of one fee will be given to any couple residing at the same address on 1 October in any Membership Year. Proof of residential address will be required each year.
Junior Membership
Junior full playing membership entitles the member to use all the facilities of the club except that Juniors under 16 are not permitted use of the Fitness Suite.
Junior membership is available to anyone who is under 19 years of age on 1 October in the relevant Membership Year. Proof of age will be required.
Membership benefits include England Squash affiliation fees, a free T Shirt and half price off peak courts.
Student Membership
Student membership entitles the member to use all the facilities of the club.
Membership is valid for Term Time Dates. Additional one-off payments for the Christmas, Easter and Summer terms.
Student membership is available to anyone who is over 19 years of age and a full time student on 1 October in the relevant Membership Year. Student ID will be required. There is no upper age limit.
Country Membership
Country full playing membership entitles the member to use all the facilities of the club.
Country membership is available to anyone who is resident 50 miles or more from the club on 1 October in the relevant Membership Year. Proof of residential address will be required each year.
Social Membership
Social non playing membership entitles the member to use the bar and facilities of the club but not the courts or Fitness Suite.
Family Membership
Family full playing membership entitles all members of the family to use all the facilities of the club.
Family membership is available to any family of two adults and any number of children under 19 who are resident at the same address on 1 October in the relevant Membership Year. Proof of joint residential address and age of children will be required each year.
Fitness Suite Membership
Fitness Suite only membership entitles the member to use the Fitness Suite, changing facilities and bar but not to use the courts.
The Fitness Suite only members are not Members of Leicester Squash Club Limited.
Guests
A member who invites a guest to visit the club and to play must pay a Guest Fee of £3 in addition to the appropriate court fee. The fee should be paid when the court is booked and confirmation of payment made when entering the guest’s name in the guest book. If, for any reason, the guest fee is not paid, the member’s MyCourts account will be debited. Guests are not permitted use of the Fitness Suite.
Student Groups
Available to educational institutions for a minimum of 6 students.
Rates will be negotiated by the club directly with the institution.
Student fees may be paid by monthly Direct Debit
Students Group members are not Members of Leicester Squash Club Limited.
Corporate
Available to employers for a minimum of 6 employees.
Rates will be negotiated by the club directly with the employer.
The full annual fee must be paid by the employer on 1 October.
The employer must nominate the individual employees on 1 October each year.
Employers may extend this to past employees only if at least 6 current employees have been nominated.
The nominated employees are not Members of Leicester Squash Club Limited.
Membership fees are payable on 1 October. Some categories can also be paid in monthly installments by direct debit.
Membership is for a Membership Year and must be paid in full for each year. Members should not cancel direct debits during the membership year. Should a member cancel a direct debit for any reason the balance of the year’s membership must be paid immediately. Reinstatement of membership will only be considered when all outstanding amounts are paid, together with a £75 administration fee.
Any member who has previously cancelled a direct debit will not be permitted to pay by monthly instalments when membership is reinstated. All such reinstated membership fees must be paid on 1st October in full.
Members may bring guests into the club. The member is responsible for the guest whilst the guest is in the club and for payment of any guest playing fees (see below). Any individual guest may visit the club a maximum of 6 times in any Membership Year, irrespective of the member. The member must ensure that his or her name and the guest’s name are both entered in the Guest Book in the bar. By definition, a member can, under no circumstances, be a guest. A former member can also not be a guest at any time during the 2 Membership Years following cessation of membership.
Members of Leicester Squash Club Limited (as defined in the Memorandum & Articles of Association) exclude anyone under 18 years of age.
If a member wishes to cancel membership he or she may do so on 30 September in any Membership Year. No refunds will be given under any circumstances.
New members joining the Membership Year will be required to pay pro rata from the date of joining to the end of the current Membership Year.
Additional key fobs and replacements are available at a cost of £10.00.
The above rules may be reviewed and amended at any time.
Monday to Friday starting between 12.30 - 13.30 & 17:00 - 19:45
Saturday starting between 9.00 am to 1.00 pm (this change will be implemented during the 2016-17 the Membership Year)
Peak Court Fee - £5 per court for 45 minutes, £6 per court for 1 hour.
Off-peak Court Fee - £4 per court for 45 minutes, £5 per court for 1 hour.


Trait ResourceControllerTrait
Direct Known Users
Cygnite\Base\Router\Router
Namespace: Cygnite\Base\Router\Controller
Located at Base/Router/Controller/ResourceControllerTrait.php
Located at Base/Router/Controller/ResourceControllerTrait.php
public
mixed
|
#
resourceController( mixed $router, mixed $name, mixed $controller )
Set the controller as Resource Controller Cygnite Router knows how to respond to resource controller request automatically |
public
|
|
protected
|
|
protected
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
protected
array
|
$resourceRoutes | ['index', 'new', 'create', 'show', 'edit', 'update', 'delete'] |
|
public
mixed
|
$router |
|
|
public
mixed
|
$routeController |
|


HTML consists of open tags, close tags, attributes and content. It is used to specify the content of web pages.
You can learn more about HTML by visiting the W3Schools site's HTML tutorial.
Here are a few HTML tags that may be useful:
| tag | what it's for |
|---|---|
table | Make a table |
tr | table row |
th | table header |
td | table data |
ol | ordered list |
li | list item |
CSS is used for formatting web pages: fonts, colors, layout, etc. There are at least three different ways to specify CSS:
The best way is in an external CSS file, so that's what we are going to do first.
You can learn more about CSS by visiting the W3Schools site's CSS tutorial.


Academic Paper Search Engine
Masterminds behind this tool:
Keval Morabia, Tara Vijaykumar, Malcolm Tivelius, Shubham Singhal
Find Papers !


If the player rolls a 1, they score nothing and it becomes the next player's turn.
If the player rolls any other number, it is added to their turn total and the player's turn continues.
If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn.
The first player to score 100 or more points wins. Lets start playing!
0
Round: 0
0
Round: 0


Company profile - Canadian Company Capabilities
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
BC Research Inc.
Mailing Address:
2880 Production WayBURNABY, British Columbia
V5A 4T6
Location Address:
2880 Production WayBURNABY, British Columbia
V5A 4T6
Tel.:<PHONE_NUMBER>
Fax:
Logo
Company Profile
BC Research is a leading innovation centre, specializing in the incubation and commercialization of upcoming technologies. Our services include experimental research, process development, pilot plant design, construction and operation, mechanical and material process engineering consulting, and laboratory analysis and testing. At BC Research, our scientific, engineering and design expertise brings projects from idea to completion in-house, to ensure total customer service and quality control. At BC Research, our goal is to help companies achieve their scientific and technical objectives, while providing customized service and support in a flexible environment
Full profile
Full profile
Contact information
Company description
541380 - Testing Laboratories
541690 - Other Scientific and Technical Consulting Services
561410 - Document Preparation Services
Product / Service / Licensing
Process design
Process modeling (Hysys®, Aspen®, CADSIM®)
Process automation
Process optimization
Unit operation design
Dimensional analysis
Fluid dynamics
Mass transfer
Thermodynamics
Piping and Instrument Diagrams (P&ID)
Process Flow Diagrams (PFD)
System 3-D models
Control logic (Boolean logic or cause and effect matrices)
Control complex loops
Equipment mechanical outline drawings
Equipment layouts
Instrument specifications
Piping design
Piping specifications
Process Hazard and Operability study (HAZOP)
Process operating manuals
Fluid dynamics, including Computational Fluid Dynamics, CFD
Finite Element Analysis, FEA, for equipment design
Pressure vessel design
Heat exchanger design
Heat and mass transfer system design
Energy efficiency optimization
Thermodynamics
Piping stress analysis
The engineers at BC Research have knowledge and experience in choosing materials for a large range of processes and operating conditions. Our material engineers are available for consulting in the selection and testing of materials for your specific applications.
Energy storage: battery and fuel cell development and testing
Membrane separation processes: electro-dialysis, salt splitting
Metal recovery
Water treatment
Pollutant destruction
Electro-synthesis of inorganic and organic (including pharmaceuticals) compounds
Sensors
Chlor-Alkali Industry
Our laboratory analytical equipment range is constantly expanding. Currently, our list of laboratory equipment includes:
High performance liquid chromatography
Gas chromatography
Spectrophotometer
Potentiostat / rotating cylinder or static electrode
Stirred Autoclave Reactor
Density analyzer, using sound propagation for high accuracy and rapid analysis
Surface tension measuring equipment
Some of the typical commercialization phases we can assist you with are:
Lab scale experiments and proof of concept
Staged design, engineering and fabrication for the scale-up process
Pilot plant or skid fabrication
Pilot trials to demonstrate unit processes on a realistic scale
Pilot campaigns to generate sufficient data for detailed design and permitting
Analytical and measurement support
Engineered cost estimates to facilitate the budgeting and funding
IP strategy
Demonstration plant build-out integration
If the pilot plant was to be operated within our site, our experienced staff can also help you with peripheral activities such as:
Permitting
Plant operation
Waste disposal
Market profile
Alliances:
- Financial
- Sales/Marketing
- Technology
Industry sector market interests:
- Medical/Biotechnology/Chemical
- Mining/Petroleum/Gas
- Service Industry
- Pulp and Paper
- Plastics and Rubber Products
- Primary and Fabricated Metal
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
Contacts
Contact information
Description
Company description
541380 - Testing Laboratories
541690 - Other Scientific and Technical Consulting Services
561410 - Document Preparation Services
Products, services and licensing
Product / Service / Licensing
Process design
Process modeling (Hysys®, Aspen®, CADSIM®)
Process automation
Process optimization
Unit operation design
Dimensional analysis
Fluid dynamics
Mass transfer
Thermodynamics
Piping and Instrument Diagrams (P&ID)
Process Flow Diagrams (PFD)
System 3-D models
Control logic (Boolean logic or cause and effect matrices)
Control complex loops
Equipment mechanical outline drawings
Equipment layouts
Instrument specifications
Piping design
Piping specifications
Process Hazard and Operability study (HAZOP)
Process operating manuals
Fluid dynamics, including Computational Fluid Dynamics, CFD
Finite Element Analysis, FEA, for equipment design
Pressure vessel design
Heat exchanger design
Heat and mass transfer system design
Energy efficiency optimization
Thermodynamics
Piping stress analysis
The engineers at BC Research have knowledge and experience in choosing materials for a large range of processes and operating conditions. Our material engineers are available for consulting in the selection and testing of materials for your specific applications.
Energy storage: battery and fuel cell development and testing
Membrane separation processes: electro-dialysis, salt splitting
Metal recovery
Water treatment
Pollutant destruction
Electro-synthesis of inorganic and organic (including pharmaceuticals) compounds
Sensors
Chlor-Alkali Industry
Our laboratory analytical equipment range is constantly expanding. Currently, our list of laboratory equipment includes:
High performance liquid chromatography
Gas chromatography
Spectrophotometer
Potentiostat / rotating cylinder or static electrode
Stirred Autoclave Reactor
Density analyzer, using sound propagation for high accuracy and rapid analysis
Surface tension measuring equipment
Some of the typical commercialization phases we can assist you with are:
Lab scale experiments and proof of concept
Staged design, engineering and fabrication for the scale-up process
Pilot plant or skid fabrication
Pilot trials to demonstrate unit processes on a realistic scale
Pilot campaigns to generate sufficient data for detailed design and permitting
Analytical and measurement support
Engineered cost estimates to facilitate the budgeting and funding
IP strategy
Demonstration plant build-out integration
If the pilot plant was to be operated within our site, our experienced staff can also help you with peripheral activities such as:
Permitting
Plant operation
Waste disposal
Market
Market profile
Alliances:
- Financial
- Sales/Marketing
- Technology
Industry sector market interests:
- Medical/Biotechnology/Chemical
- Mining/Petroleum/Gas
- Service Industry
- Pulp and Paper
- Plastics and Rubber Products
- Primary and Fabricated Metal


Aitutaki lies 220 km north of Rarotonga. It measures just 20 square km.
The entrance to the pass is narrow (less than 100 ft across) and unmarked, caution is urged before heading in. Cruisers report that both Navionics and C-Map are 300 meters off on placement of the pass. See these useful directions for entering the anchorage here.
The channel into the harbour area has a least depth of only 1.7m at high tide, therefore, careful timing is essential. Outflowing tidal currents can reach three to four knots, therefore the best time to enter is just before high tide (least current). Good sunlight is essential. If in any doubt, ask someone to guide you in.
Position 18° 51'08"S, 159° 48'32"W
See Cook Islands Formalities for complete clearance information.
Once anchored (see docking) the captain should come ashore to clear in.
The Customs & Immigration officer may come out to the boat or you may check with him at his office, in the post office building. There is departure tax per person to pay and a daily anchoring fee. The health officer will contact you too for pratique (his office is on the other side of the island) for which there is a fee.
Clearance here is reported to be slow.
Last updated July 2013.
The end of the channel has 2 sides: left passage leading into the small harbour and the right passage leading to the small anchorage off Arutanga village.
Due to a strong tidal current different from the prevailing winds, it is recommended to anchor fore and aft in the anchorage, as the deep area is small (or tie the stern to a coconut tree). Boats too large or with deeper draft should anchor outside the reef to the south of the channel (there is a shallower area also on the North side but a real trap for anchors!), however poor holding and bommies have been reported here.
Docking stern-to with a bow anchor in the harbour may be done with permission of the port captain, on condition the yacht is moved if required. There are plans to deepen the channel leading to the harbour to carry 20 ft all the way, and the harbour to be enlarged.
Fees are now being charged to anchor here.
Last updated July 2013.


Positioning with CSS
1/12/16
What We'll Learn
Does it seem like every time you try to position a node in CSS, it's down to trial and error? If someone were to ask you, "How did you manage to position that image like that?" would you look like this...
Positioning can be a tricky subject if you do not fully understand the attribute and how to it works between children and their ancestors. This blog post is a brief review of html positioning including the difference between static, relative, fixed, and absolute positioning. In addition to positioning, we will review the z-index property, what it does, and why you need it (Hint: It is very useful when elements start to overlap). There are also a few very handy resources I used to help understand this topic listed at the bottom of the page. If this post does not give you a truly solid understanding of positioning in CSS, please look at these resources to help complete your understanding!
What is Positioning
Positioning in CSS defines where you place an element on the page. It is a property assigned to an element. Check out the code below to see how a relative position would be assigned to main.
main { position: relative; }
There are four different assignments for positioning: Static, relative, absolute, and fixed.
Static
This is every element's position by default. You do not need to worry about defining an element's position as static, unless you are working to override a previous position command.
main { position: static; }
Relative
First, you need to remember that static is an element's default position. This is where an element would naturally fall without any outside adjustment. Relative positioning means placing the element relative to that static position. Relative to where the element would normally be placed.
main { position: relative; top: -20px; left: 10px; }
The code above places element main
about -20 pixels up and 10 pixels to the left of where it would have been otherwise.
Fixed
A fixed element is positioned relative to the viewport. That means this element moves with the page as the user scrolls. Scroll up, scroll down, scroll all around. It doesn't matter to the example below. main
will always be just 50 pixels from the top and 30 pixels from the right of your viewport.
main { position: fixed; top: 50px; right: 30px; }
Absolute
Absolute can be the trickiest position to understand. When an element is defined as absolute, it is positioned relative to the nearest positioned ancestor. If there is no such ancestor, the element is positioned relative to the page and will almost act as a fixed element, moving as the user scrolls.
main { position: absolute; top: 30px; }
Again, absolute says the element is placed relative to the nearest positioned ancestor. That means the parent, grandparent, etc. closest to the element that has a defined position (not static, but something like position:relative
). For example, if an element of class #section2
was the child of #section1
, in order for #section2
to be absolute relative to #section1
, the code would have to look something like this:
#section1 { position: relative; } #section2 { position: absolute; top: 30px; }
If you are still unsure about absolute positioning, please check out some of the links at the end of this article.
Bonus: About the z-index
So where does the z-index
come in? The z-index
is relative when elements overlap.  When your elements begin to overlap, you can use the z-index
to assign an order of elements, also known as a stack order of elements. The z-index
can be negative or positive!
Take the code below. In this case, the img
would show up before the article
, as it has a higher z-index
, while the aside
would be below everything else with a value of -1.
img { z-index: 2; } article { z-index: 1; } aside { z-index: -1; }
Now, imagine for a second that the z-index
for these elements was never defined. What would the new order be? HTML automatically places elements at the bottom of the HTML code on top. The new order would be aside
, article
, img
.
Resources
Thanks for taking a look at the CSS positioning attribute with me! I aquired all this information from some really great sites. If you would like to learn more about positioning, and maybe complete some tutorials, please check out the resources below.


Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront.
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront.
Stack offers a clean and contemporary to suit a range of purposes from corporate, tech startup, marketing site to digital storefront.


THE WITCHES OF EASTWICK A film review by Mark R. Leeper Copyright 1987 Mark R. Leeper
Capsule review: Broadband supernatural comedy has insight, slapstick, violence, horror, special effects, sophisticated comedy, profanity, a monster, vomit scenes, Jack Nicholson, Michelle Pfeiffer, Susan Sarandon, and Cher. For fans of six or seven of the above only.
John Updike is a prize-winning writer of serious literature about people finding their identities and that sort of thing. His masterwork was his trilogy of novels RABBIT RUN, RABBIT REDUX, and RABBIT IS RICH. There was something of a stir when he wrote THE WITCHES OF EASTWICK about three women in a provincial Connecticut village who have a brush with a warlock. People thought he was too good a writer to fall back on the fantasy market. My guess is that it was a calculated financial move. I have no figures but I'd be surprised if it was not his most profitable book.
Now THE WITCHES OF EASTWICK has been adapted into a film by George Miller--you know, the man who directed the "Mad Max" films. Add a musical score by John Williams, a cast like Jack Nicholson, Cher, Michelle Pfeiffer, and Susan Sarandon, and makeup by Rob Bottin (THE HOWLING) and you've got one heck of a motley crew contributing to a movie. With a crew like this you might expect a film that is something of a hodge-podge. That's pretty good expecting on your part. This film is an incredible hodge-podge, in fact. The film can't decide if it is light fantasy, horror, soul-searching literature, comedy, Peyton Place, or what. I would use a cliche like "This film throws in everything but the kitchen sink," but it wouldn't be quite true. Instead I'll say this film throws in NEARLY everything including the kitchen sink. Warlock Jack Nicholson--I forget his character's name-- breezes into a provincial Connecticut town after he is wished to do so by three unattached women (played by Pfeiffer, Sarandon, and Cher). He takes up residence in an old house where witches were once burned (Pretty hard to find. Actually only one person in North America was ever sentenced to be burned for witchcraft. He escaped. Salem has a very small witch-hunt compared to what used to go on it Europe and all the Salem witches who were executed were hanged.) The three women have simultaneous affairs with Nicholson and all seem to be taking it amicably. Then things start to sour.
Nicholson glides through his part, sometimes impishly childlike, often ranting and bellowing like Ralph Kramden. The three women are believable in their parts and perhaps more realistic than most women in witchcraft films, but don't look for them at Oscar time. The film has some powerful scenes of evil--some seem inspired by SOMETHING WICKED THIS WAY COMES--but as good an actor as Nicholson is, he never rises to the malevolence of Jonathan Pryce in SOMETHING WICKED THIS WAY COMES.
THE WITCHES OF EASTWICK has its moments but they do not add up to one whole movie of any kind. It has something for everyone but it will have enough of anything only for real fans. Rate it a 0 on the -4 to +4 scale.
Mark R. Leeper ihnp4!mtgzz!leeper<EMAIL_ADDRESS>P.S. To save having everyone e-mailing me Nicholson's character's name, yes, I do remember it, but it's an inside joke.
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


AVAILABLE NOW
4 Beds
FOR SALE
4 bedroom semidetached duplex with BQ by the 3rd toll gate ,Lekki, Lagos
property well built with decent indoor and outdoor spaces.
For more enquiries and inspection contact the agent.
AGENT
070-040-000-00


Dashboard
Master Modules
Admin Management
Item Management
Customer Management
Pump Management
Supplier Management
Charts of Account
Transactions
Create
View
Inventory Management
Zakat Module
Create
View
Kachi Parchi Module
Create
View
Other Income
Create
View
Tanker
Create
View
Shortage Excess
Create
View
Purchase Module
Create
View
Reports
Create
View
Abdul Rehman
Profile
Log Out
Edit Admin
First Name
Last Name
Email
Password
Confirm Password
Permission
Select All
Machine Management
Edit
Delete
Admin Management
Edit
Delete
Expense Management
Edit
Delete
Customer Management
Edit
Delete
Sales Management
Edit
Delete
Supplier Management
Edit
Delete
Purchase Management
Edit
Delete
Category Management
Edit
Delete
Report
Edit
Delete
Item Management
Edit
Delete
Kachi Parchi
Edit
Delete
Pump Management
Edit
Delete
Accounts Management
Edit
Delete
Save


I grew up in Wixom, MI a small suburb 30min west of detroit. I spent most of my youth involved in Scouting, and achieved the rank of Eagle Scout in 2007. Throughought high school I played in a rock band with some close friends, and played shows around the local are monthly. Computers were constantly a center point of my life, and naturally fell into Computer Engineering while at Western Michigan University, after briefly testing the waters of Electrical Engineering. I graduated from Western Michigan University in 2014, and immediatly entered the work force working in software development. After a few short months with the company I quickly began ramping up again with web development, and specifically AngularJS. A long term internship in college introduced me to the framework, and I immediatly felt comfortable/just understood the framework. Ever since I have continued to dive more and more into the web development world where my true passion lies, learning the ins and outs of Angular, and all aspects of the Front-End.
There are lots of things that drive me to be the person I am today and continue to grow to be. Paramount to them is simply making things better, or in simpler terms growth. In everything I do, generally there is a root cause of me wanting to improve a process, make something easier for someone(s), evolve thinking and methodologies, or simply make something more fun than it was before. Everything comes back to growth and simply put doing good things, its what makes me happy at the end of the day, and feel value.


From source: 1. open a terminal in directory "moss" 2. sh make.sh 3. as superuser: sh install.sh
The following features outside of C89 are used:
| Found in | Feature |
|---|---|
| C99 | Declaration of variables is not restricted to the beginning of a scope block |
| C99 | Flexible array as a structs last member |
| C99 | Fixed size types uint8_t ,
int32_t , uint32_t
|
| C99 | Supplements to math.h
|
| C99 | complex.h (import cmath, sf )
|
| C11 | CMPLX (complex.h) (if available)
|
| Clang, GCC | __builtin_add_overflow, __builtin_sub_overflow,
__builtin_mul_overflow (if available)
|
Currently the Moss interpreter depends more or less on the following programs.
# C99 compiler apt-get install gcc # alternative C99 compiler apt-get install clang-3.5 # GNU Readline (optional) apt-get install libreadline-dev # GNU Multiple Precision Arithmetic Library # (optional) apt-get install libgmp-dev # Linear algebra libraries (optional) apt-get install libblas-dev apt-get install liblapacke-dev # Graphics interface (optional) apt-get install libsdl2-dev # Vector font rendering for SDL, # depends on FreeType apt-get install libsdl-ttf2.0-dev # Cross compiler, target: MS Windows apt-get install mingw32 # GUI-library (optional) sudo apt-get install libgtk-3-dev
# IDE apt-get install geany # Static program analysis apt-get install splint # Debugger apt-get install gdb # Dynamic program analysis apt-get install valgrind apt-get install kcachegrind # Emulator for cross compiler output apt-get install wine # Compare a file and its modification apt-get install kompare # Find all occurrences of a pattern egrep -nrwi "regex" ./ () | [] . * ? {n} {min,} {,max} {min,max} ^ $ \< \> \w \b # GNU Scientific Library apt-get install libgsl-dev


Lookup tables for estimating the likelihood of poverty using the Poverty Probability Index
(previously called Progress out of Poverty Index
) or PPI
from country-specific indicators collected from cross-sectional surveys. This lookup table is extracted from documentation of the PPI
found at https://www.povertyindex.org.
You can install ppitables
from CRAN with:
install.packages("ppitables")
library(ppitables)
You can install ppitables
from GitHub with:
# install.packages("devtools")
devtools::install_github("validmeasures/ppitables")
library(ppitables)
The ppitables
package contains PPI lookup tables for the 61 countries1 where PPI can currently be calculated. To be able to use the lookup tables in ppitables
appropriately, you need to be aware of the naming syntax used for the tables for each country. The name for each table will always have three fixed or constant components as follows:
ppiXXXYYYY
The name of any of the PPI tables contains:
ppi
in lower case letters;XXX
which is the the three letter ISO code
of the country of interest (all capitals); and,YYYY
which is the specific year at which the country PPI table was released.These three components are joined together without any spaces or gaps.
Some country lookup tables may have additional components to their name which are added after the year separated with an underscore. These usually signify that a lookup table released on a particular year has a subset table in which the poverty likelihoods for a given PPI
score are reported based on a different poverty definition or cut-off. This additional component to the table name is usually a character value or alphanumeric and is usually country-specific. To know more about what this additional component to some PPI
tables refer to, read the index table below of the PPI
tables available in this package.
Following are the available PPI country tables from the ppitables
package. This is updated as at 23 May 2018 using information from the PPI site.
| PPI Country Table Name | Description | PPI Release Date | |
|---|---|---|---|
ppiAFG2012 |
PPI for Afghanistan based on 2007/8 National Risk and Vulnerability Survey (NRVA) | 2012 | |
ppiAGO2015 |
PPI for Angola based on the 2008/2009 Household Living Standards Survey | 2015 | |
ppiBEN2012 |
PPI for Benin based on 2010 data | 2012 | |
ppiBFA2011 |
PPI for Burkina Faso using Burkina Faso’s 2003 Household Living Standards Survey | 2011 | |
ppiBFA2014 |
PPI for Burkina Faso using Burkina Faso’s 2014 Permanent Multi-Sector Survey | 2017 | |
ppiBFA2017 |
PPI for Burkina Faso using Burkina Faso’s 2014 Enquête Multisectorielle Continue (EMC) based on IPA’s new approach to PPI calculation | 2017 | |
ppiBGD2013 |
PPI for Bangladesh using Bangaldesh’s 2010 HIES Survey | 2013 | |
ppiBOL2015 |
PPI for Bolivia using Bolivia’s 2013 Household Survey | 2015 | |
ppiBRA2010 |
PPI for Brazil based on the 2008 PNAD | 2010 | |
ppiCIV2013 |
PPI for Ivory Coast using the Ivory Coast’s 2008 Household Living Standards Survey | 2013 | |
ppiCIV2018 |
PPI for Ivory Coast using the Ivory Coast’s 2015 Enquête sur le Niveau de Vie des Ménages | 2018 | |
ppiCMR2013 |
PPI for Cameroon using Cameroon’s 2007 Household Survey | 2013 | |
ppiCOL2012 |
PPI for Colombia based on Colombia’s 2009 Encuesta Integrada de Hogares. This table uses the old poverty definitions. | 2012 | |
ppiCOL2012_a |
PPI for Colombia based on Colombia’s 2009 Encuesta Integrada de Hogares. This table uses the new poverty definitions for Colombia. | 2012 | |
ppiCOL2018 |
PPI for Colombia based on Colombia’s 2016 Gran Encuesta Integrada de Hogares (GEIH) | 2018 | |
ppiDOM2010 |
PPI for Dominican Republic based on the 2007 Encuesta Nacional de Ingresos y Gastos de los Hogares (ENIGH) | 2010 | |
ppiECU2015 |
PPI for Ecuador based on the 2013 Living Standards Survey | 2015 | |
ppiEGY2010 |
PPI for Egypt based on the 2004/5 HIECS | 2010 | |
ppiETH2016 |
PPI for Ethiopia based on Ethiopia’s 2010/11 Household Consumption and Expenditure Survey | 2016 | |
ppiFJI2014 |
PPI for Fiji based on Fiji’s 2008/9 Household Income and Expenditure Survey | 2014 | |
ppiGHA2015 |
PPI for Ghana based on Ghana’s 2012/13 Living Standards Survey using legacy poverty lines | 2015 | |
ppiGHA2015_a |
PPI for Ghana based on Ghana’s 2012/13 Living Standards Survey using the new-definition poverty lines deflated with Ghana’s CPI | 2015 | |
ppiGHA2015_b |
PPI for Ghana based on Ghana’s 2012/13 Living Standards Survey using the new-definition poverty | lines deflated with the change in 100% of national poverty line | 2015 | |
ppiGTM2016 |
PPI for Guatemala based on Guatemala’s 2014 Household Living Standards Survey | 2016 | |
ppiHND2010 |
PPI for Honduras based on the 2007 EPHPM | 2010 | |
ppiHTI2016 |
PPI for Haiti based on Haiti’s 2012 Post-Earthquake Living Standards Survey | 2016 | |
ppiIDN2012 |
PPI for Indonesia based on data from 2010 using legacy poverty lines | 2012 | |
ppiIDN2012_a |
PPI for Indonesia based on data from 2010 using new definition poverty lines | 2012 | |
ppiIND2016_r59 |
PPI for India using India’s 2011/12 Socio-Economic using the R59 legacy poverty lines using MRP consumption | 2016 | |
ppiIND2016_r62 |
PPI for India using India’s 2011/12 Socio-Economic using the R59 legacy poverty lines using MRP consumption | 2016 | |
ppiIND2016_r66 |
PPI for India using India’s 2011/12 Socio-Economic using the R66 legacy poverty lines using MRP consumption | 2016 | |
ppiIND2016_r68 |
PPI for India using India’s 2011/12 Socio-Economic using the R68 new poverty lines using MRP consumption | 2016 | |
ppiJOR2010 |
PPI for Jordan using Jordan’s 2006 Household Income and Expenditure Survey | 2010 | |
ppi2011KEN |
PPI for Kenya using Kenya’s 2005/06 Integrated Household Budget Survey | 2011 | |
ppiKGZ2015 |
PPI for Kyrgyzstan Kyrgyz Republic’s 2012 Integrated Household Survey | 2015 | |
ppiKHM2105 |
PPI for Cambodia using Cambodia’s 2011 Socio-Economic Survey based using legacy poverty lines | 2015 | |
ppiKHM2015_gov |
PPI for Cambodia using Cambodia’s 2011 Socio-Economic Survey based using government definition poverty lines | 2015 | |
ppiKHM2015_wb |
PPI for Cambodia using Cambodia’s 2011 Socio-Economic Survey based using World Bank definition poverty lines | 2015 | |
ppiLKA2016 |
PPI for Sri Lanka using Sri Lanka’s 2012/13 Household Income and Expenditure Survey | 2016 | |
ppiMAR2013 |
PPI for Morocco based on Morocco’s 2007 Households Living Standards Survey | 2013 | |
ppiMDG2015 |
PPI for Madagascar based on Madagascar’s 2010 Periodic Household Survey | 2015 | |
ppiMEX2017 |
PPI for Mexico based on Mexico’s Encuesta Nacional de Ingresos y Gastos de los Hogares de 2014 using legacy definitions of poverty | 2017 | |
ppiMEX2017_a |
PPI for Mexico based on Mexico’s Encuesta Nacional de Ingresos y Gastos de los Hogares de 2014 using new definitions of poverty | 2017 | |
ppiMLI2010 |
PPI for Mali based on Mali’s 2001 Poverty Evalution Survey | 2010 | |
ppiMMR2012 |
PPI for Myanmar based on Myanmar’s 2009/10 Integrated Household Living Conditions Assessment | 2012 | |
ppiMNG2016 |
PPI for Mongolia based on Mongolia’s 2014 Household Socio-Economic Survey | 2016 | |
ppiMOZ2013 |
PPI for Mozambique based on 2008/9 Household Budget Survey | 2013 | |
ppiMWI2015 |
PPI for Malawi based on Malawi’s 2010/11 Integrated Household Survey using legacy poverty definitions | 2015 | |
ppiMWI2015_gov |
PPI for Malawi based on Malawi’s 2010/11 Integrated Household Survey using government poverty definitions | 2015 | |
ppiMWI2015_pbm |
PPI for Malawi based on Malawi’s 2010/11 Integrated Household Survey using PBM poverty definitions | 2015 | |
ppiNAM2013 |
PPI for Namibia based on Namibia’s 2009/10 Household Income and Expenditure Survey | 2013 | |
ppiNER2013 |
PPI for Niger based on Niger’s 2007/8 National Household Budget and Expenditure Survey | 2013 | |
ppiNGA2015 |
PPI for Nigeria based on Nigeria’s 2012/13 General Household Panel Survey | 2015 | |
ppiNIC2013 |
PPI for Nicaragua based on Nicaragua’s 2009 Living Standards Measurement Survey | 2013 | |
ppiNPL2013 |
PPI for Nepal using legacy poverty definition lines | 2013 | |
ppiNPL2013_a |
PPI for Nepal using new poverty definition lines | 2013 | |
ppiPAK2009 |
PPI for Pakistan using Pakistan 2005/6 Social and Living Standards Measurement Survey | 2009 | |
ppiPER2012 |
PPI for Peru based on Peru’s 2010 National Household Survey | 2012 | |
ppiPER2018 |
PPI for Peru based on Peru’s 2016 Encuesta Nacional de Hogares sobre Condiciones de Vida y Pobreza (ENAHO) | 2018 | |
ppiPHL2014 |
PPI for the Philippines based on Philippines’ 2009 FIES/LFS. | 2014 | |
ppiPHL2018 |
PPI for the Philippines based on Philippines’ 2015 Family Income and Expenditure Survey (FIES) | 2018 | |
ppiPRY2012 |
PPI for Paraguay based on Paraguay’s 2011 EPH | 2012 | |
ppiPSE2014 |
PPI for Palestine based on Palestine’s 2011 Expenditure and Consumption Survey | 2014 | |
ppiROU2009 |
PPI for Romania based on the 2007 HBS | 2009 | |
ppiRUS2010 |
PPI for Russia based on 2007 HBS | 2010 | |
ppiRWA2016 |
PPI for Rwanda based on Rwanda’s 2010/11 Integrated Household Living Standards Survey | 2016 | |
ppiSEN2009 |
PPI for Senegal based on Senegal’s 2005/6 Enquête de Suivi de la Pauvreté au Sénégal (ESPS) | 2009 | |
ppiSLE2011 |
PPI for Sierra Leone based on Sierra Leone’s 2003/4 HIS | 2011 | |
ppiSLV2010 |
PPI for El Salvador based on the 2008 EHPM | 2010 | |
ppiSYR2010 |
PPI for Syria based on Syria’s 2006/7 Household Income and Expenditure Survey | 2010 | |
ppiTJK2015 |
PPI for Tajikistan based on 2007 data | 2015 | |
ppiTLS2013 |
PPI for Timor Leste based on Timor-Leste’s 2007 Survey of Living Standards | 2013 | |
ppiTZA2016 |
PPI for Tanzania based on Tanzania’s 2011/12 Household Budget Survey | 2016 | |
ppiTGO2018 |
PPI for Togo based on Togo’s 2015 Questionnaire des Indicateurs de Base du Bien-être (QUIBB) | 2018 | |
ppiUGA2015 |
PPI for Uganda based on Uganda’s 2012/13 National Household Survey | 2015 | |
ppiVNM2009 |
PPI for Vietnam based on the 2006 VHLSS | 2009 | |
ppiYEM2009 |
PPI for Yemen based on 2005/06 HBS | 2009 | |
ppiZAF2009 |
PPI for South Africa based on the 2005/6 IES | 2009 | |
ppiZMB2013_got |
PPI for Zambia based on Zambia’s 2010 Living Conditions Monitoring Survey (LCMS) using Göttingen poverty definitions | 2013 | |
ppiZMB2013_cso |
PPI for Zambia based on Zambia’s 2010 Living Conditions Monitoring Survey (LCMS) using CSO poverty definitions | 2013 | |
ppiZMB2017 |
PPI for Zambia based on Zambia’s 2015 Living Conditions Monitoring Survey (LCMS) using legacy poverty definitions | 2017 | |
ppiZMB2017_a |
PPI for Zambia based on Zambia’s 2015 Living Conditions Monitoring Survey (LCMS) using new PPI calculation approach | 2017 |
This list of available PPI country tables can be retrieved in R using the find_table()
function. View the complete list using the following command in R:
find_table()
#> # A tibble: 82 x 7
#> region country survey_year release_year description type filename
#> * <fct> <fct> <int> <int> <fct> <fct> <fct>
#> 1 Asia Afghan… 2007 2012 PPI for Afgha… sps ppiAFG2…
#> 2 Africa Angola 2008 2015 PPI for Angol… sps ppiAGO2…
#> 3 Asia Bangla… 2010 2013 PPI for Benin… sps ppiBEN2…
#> 4 Africa Benin 2010 2012 "PPI for Bang… sps ppiBGD2…
#> 5 Latin A… Bolivia 2013 2015 "PPI for Boli… sps ppiBOL2…
#> 6 Latin A… Brazil 2008 2010 PPI for Brazi… sps ppiBRA2…
#> 7 Africa Burkin… 2003 2011 "PPI for Burk… sps ppiBFA2…
#> 8 Africa Burkin… 2014 2017 "PPI for Burk… sps ppiBFA2…
#> 9 Africa Burkin… 2014 2017 "PPI for Burk… ipa ppiBFA2…
#> 10 Asia Cambod… 2011 2015 "PPI for Camb… sps ppiKHM2…
#> # ... with 72 more rows
View the list of PPI country tables for Africa using the following command in R:
find_table(region = "Africa")
#> # A tibble: 33 x 7
#> region country survey_year release_year description type filename
#> * <fct> <fct> <int> <int> <fct> <fct> <fct>
#> 1 Africa Angola 2008 2015 PPI for Angola… sps ppiAGO2…
#> 2 Africa Benin 2010 2012 "PPI for Bangl… sps ppiBGD2…
#> 3 Africa Burkina… 2003 2011 "PPI for Burki… sps ppiBFA2…
#> 4 Africa Burkina… 2014 2017 "PPI for Burki… sps ppiBFA2…
#> 5 Africa Burkina… 2014 2017 "PPI for Burki… ipa ppiBFA2…
#> 6 Africa Cameroon 2007 2013 "PPI for Camer… sps ppiCMR2…
#> 7 Africa "C\x99t… 2008 2013 "PPI for Ivory… sps ppiCIV2…
#> 8 Africa "C\x99t… 2015 2018 "PPI for Ivory… ipa ppiCIV2…
#> 9 Africa Ethiopia 2010 2016 "PPI for Ethio… sps ppiETH2…
#> 10 Africa Ghana 2012 2015 "PPI for Ghana… sps ppiGHA2…
#> # ... with 23 more rows
View the list of PPI country tables in Zambia using the the following command in R:
find_table(country = "Zambia")
#> # A tibble: 4 x 7
#> region country survey_year release_year description type filename
#> * <fct> <fct> <int> <int> <fct> <fct> <fct>
#> 1 Africa Zambia 2010 2013 "PPI for Zambia … sps ppiZMB2…
#> 2 Africa Zambia 2010 2013 "PPI for Zambia … sps ppiZMB2…
#> 3 Africa Zambia 2015 2017 "PPI for Zambia … sps ppiZMB2…
#> 4 Africa Zambia 2015 2017 "PPI for Zambia … ipa ppiZMB2…
To extract the actual PPI tables, the get_table()
function can be used. The get_table()
function wraps around the find_table()
function to make a search for a specific PPI table and then extracts the table/s and puts them together into a tidy data frame.
For example, to get the actual PPI tables for all countries with PPI tables, the following command can be used in R:
get_table()
#> # A tibble: 77,871 x 7
#> country release_year filename type score poverty_definition ppi
#> <fct> <fct> <fct> <fct> <dbl> <chr> <dbl>
#> 1 Afghanistan 2012 ppiAFG2012 sps 0 nl 100
#> 2 Afghanistan 2012 ppiAFG2012 sps 1 nl 100
#> 3 Afghanistan 2012 ppiAFG2012 sps 2 nl 100
#> 4 Afghanistan 2012 ppiAFG2012 sps 3 nl 100
#> 5 Afghanistan 2012 ppiAFG2012 sps 4 nl 100
#> 6 Afghanistan 2012 ppiAFG2012 sps 5 nl 68.8
#> 7 Afghanistan 2012 ppiAFG2012 sps 6 nl 68.8
#> 8 Afghanistan 2012 ppiAFG2012 sps 7 nl 68.8
#> 9 Afghanistan 2012 ppiAFG2012 sps 8 nl 68.8
#> 10 Afghanistan 2012 ppiAFG2012 sps 9 nl 68.8
#> # ... with 77,861 more rows
To get the actual PPI tables for all countries with PPI tables in Africa, the following command can be used in R:
get_table(region = "Africa")
#> # A tibble: 34,239 x 7
#> country release_year filename type score poverty_definition ppi
#> <fct> <fct> <fct> <fct> <dbl> <chr> <dbl>
#> 1 Angola 2015 ppiAGO2015 sps 0 nl100 100
#> 2 Angola 2015 ppiAGO2015 sps 1 nl100 100
#> 3 Angola 2015 ppiAGO2015 sps 2 nl100 100
#> 4 Angola 2015 ppiAGO2015 sps 3 nl100 100
#> 5 Angola 2015 ppiAGO2015 sps 4 nl100 100
#> 6 Angola 2015 ppiAGO2015 sps 5 nl100 100
#> 7 Angola 2015 ppiAGO2015 sps 6 nl100 100
#> 8 Angola 2015 ppiAGO2015 sps 7 nl100 100
#> 9 Angola 2015 ppiAGO2015 sps 8 nl100 100
#> 10 Angola 2015 ppiAGO2015 sps 9 nl100 100
#> # ... with 34,229 more rows


TABLE OF CONTENT
A. GS1 Related B. GS2 Related Polity 1. Aadhaar mandatory for opening bank accounts, transactions over ₹50,000 2. Puducherry government demands more powers International Relations 1. Swiss ratify pact on information sharing 2. All eyes on Modi-Trump meeting 3. U.S. issues Zika advisory in India C. GS3 Related Science and Technology 1. ‘Photosynthesis can save hearts’ D. GS4 Related E. Concepts-in-News: Related Concepts to Revise/Learn F. Bills/Acts/Schemes/Orgs in News G. Practice Questions for UPSC Prelims Exam
UPSC Current Affairs 2017: News Analysis
A. GS1 Related
Nothing here for Today!!!
B. GS2 Related
1. Aadhaar mandatory for opening bank accounts, transactions over rs.50,000
In news:
- The government, through a notification amending the Prevention of Money-laundering (Maintenance of Records) Rules, 2005, has made it mandatory to provide Aadhaar to open a bank account and to conduct a transaction of Rs 50,000 or more.
Notification:
- It says that that individuals who are eligible to be enrolled for an Aadhaar number need to provide that number and the Permanent Account Number (PAN) to open a bank account or conduct any transaction “of an amount equal to or exceeding rupees fifty thousand, whether conducted as a single transaction or several transactions that appear to be connected, or any international money transfer operations”.
Even small accounts under scanner:
- “The small account shall be opened only at core banking solution linked banking company branches or in a branch where it is possible to manually monitor and ensure that foreign remittances are not credited to a small account and that the stipulated limits on monthly and annual aggregate of transactions and balance in such accounts are not breached, before a transaction is allowed to take place.”
2. Puducherry government demands more powers
Context:
- Tussle between Lt. Governor and Government: Governor of Puducherry Kiran Bedi has made it clear that she was the “real administrator” and all files have to be sent to her for approval.
In news:
- Governor view points: Purpose of such a move is to observe financial prudence.
- Government view points: it is an attempt to tarnish the government image by blocking files related to welfare schemes.
Resolution:
- Puducherry Legislative Assembly passed a resolution urging the Union Government to make necessary amendments in the Union Territories Act to bestow more powers on the elected government and curtail the role of the Lt. Governor.
1. Swiss ratify pact on information sharing
In news:
- Switzerland ratified automatic exchange of financial account information (AEOI) with India.
- AEOI is a global convention for automatic information exchange on tax matters. AEOI facilitates immediate sharing of details on suspected black.
- The first set of data should be exchanged in 2019.
AEOI:
- The new global standard on Automatic Exchange of Information (AEOI) reduces the possibility for tax evasion. It provides for the exchange of non-resident financial account information with the tax authorities in the account holders’ country of residence. Participating jurisdictions that implement AEOI send and receive pre-agreed information each year, without having to send a specific request.
- AEOI will enable the discovery of formerly undetected tax evasion. It will enable governments to recover tax revenue lost to non-compliant taxpayers, and will further strengthen international efforts to increase transparency, cooperation, and accountability among financial institutions and tax administrations. Additionally, AEOI will generate secondary benefits by increasing voluntary disclosures of concealed assets and by encouraging taxpayers to report all relevant information.
2. All eyes on Modi-Trump meeting
In news:
- June 24 to 27: second round of visits to western countries by Prime Minister Narendra Modi
- Countries to be covered: Portugal, the United States and the Netherlands from June
U.S. Visit to focus on: Defence partnership, counter-terror cooperation and cooperation in the Indian Ocean region.
3. U.S. issues Zika advisory in India
Context:
- Last month, World Health Organisation (WHO) has categorized India as a site of active transmission of the Zika virus.
- WHO placed India under a ‘Category-2’ country for Zika risk. A Category-2, the second highest on a four-point scale and that also includes 2015 Zika-hotspot Brazil, indicates that the virus is being actively transmitted within the country. Until April, India was a Category-4 country.
In news:
- The United States sent out an advisory, informing its citizens in India about the number of confirmed Zika infections in India.
Zika virus:
- Zika virus is a mosquito-borne flavivirus that was first identified in Uganda in 1947 in monkeys through a network that monitored yellow fever.
- It was later identified in humans in 1952 in Uganda and the United Republic of Tanzania.
Signs and Symptoms:
- The incubation period (the time from exposure to symptoms) of Zika virus disease is not clear, but is likely to be a few days. The symptoms are similar to other arbovirus infections such as dengue, and include fever, skin rashes, conjunctivitis, muscle and joint pain, malaise, and headache. These symptoms are usually mild and last for 2-7 days.
Complications of Zika virus disease:
- Based on a systematic review of the literature up to 30 May 2016, WHO has concluded that Zika virus infection during pregnancy is a cause of congenital brain abnormalities, including microcephaly; and that Zika virus is a trigger of Guillain-Barré syndrome. Intense efforts are continuing to investigate the link between Zika virus and a range of neurological disorders, within a rigorous research framework.
Transmission:
- Zika virus is primarily transmitted to people through the bite of an infected mosquito from the Aedes genus, mainly Aedes aegypti in tropical regions. Aedes mosquitoes usually bite during the day, peaking during early morning and late afternoon/evening. This is the same mosquito that transmits dengue, chikungunya and yellow fever. Sexual transmission of Zika virus is also possible. Other modes of transmission such as blood transfusion are being investigated.
C. GS3 Related
Category: SCIENCE AND TECHNOLOGY
1. ‘Photosynthesis can save hearts’
In news:
- Stanford University scientists have found that using blue-green algae and light to trigger photosynthesis inside the heart could help treat cardiac disease, the top cause of death globally.
- Researchers injected a type of bacteria into the hearts of anaesthetised rats with cardiac disease. Using light to trigger photosynthesis, they were able to increase the flow of oxygen and improve heart function.
- In nature, humans exhale carbon dioxide and plants convert it back to oxygen. During a heart attack, the muscle is still trying to pump. There’s carbon dioxide but no oxygen.
Cardiac ischemia:
- Myocardial ischemia occurs when blood flow to your heart is reduced, preventing it from receiving enough oxygen. The reduced blood flow is usually the result of a partial or complete blockage of your heart’s arteries.
- The researchers plan to investigate how to apply this concept to humans and how to deliver a light source to the human heart. They are also examining the potential of using artificial chloroplasts to eliminate the need for bacteria.
D. GS4 Related
Nothing here for Today!!!
PIB Articles Editorials Roundup
E. Concepts-in-News: Related Concepts to Revise/Learn
F. Bills/Acts/Schemes/Orgs in News
|
Bill/Acts/Schemes in News |
About the Schemes |
G. Practice Questions for UPSC Prelims Exam
Question 1: The Union Government has launched IDCF programme to reduce child deaths due
to diarrhoea. What does “IDCF” stands for?
- Intensified Diarrhea Control Fortnight
- Intensive Diarrhea Control Fortnight
- Intensify Diarrhea Control Fortnight
- Intense Diarrhea Control Fortnight
Question 2: Which country has topped the global remittance-receiving list of 2016, as per
latest UN report “One Family at a Time”?
- China
- Philippines
- Malaysia
- India
Question 3: The Tropic of Capricorn passes through which one of the following countries
in African continent?
- Botswana
- Swaziland
- Zambia
- Zimbabwe
Question 4: Section 139AA inserted in the Income Tax Act, which was in news recently
deals with?
- Provision of Aadhaar being mandatory for getting a PAN
- Provision of Aadhaar being mandatory for getting a GST number
- Provision of Aadhaar being mandatory for getting IT rebates
- None of the above
“Proper Current Affairs preparation is the key to success in the UPSC- Civil Services Examination. We have now launched a comprehensive ‘Online Current Affairs Crash Course’. Limited seats available. Click here to Know More.”
Practice More: Enroll for India’s Largest All-India Test Series


Russo Brothers defend Marvel movies in wake of Martin Scorsese’s “not cinema” comments
"Scorsese doesn't own cinema."
Avengers: Endgame directors the Russo Brothers have responded to Martin Scorsese’s controversial comments about Marvel movies.
The Irishman director recently said Marvel’s output was “not cinema”, later elaborating on his opinion by saying they lack “revelation, mystery or genuine emotional danger”.
However, Joe and Anthony Russo have hit back at the criticism, the former telling The Hollywood Reporter: “Ultimately, we define cinema as a film that can bring people together to have a shared, emotional experience.
“When we look at the box office [of] Avengers: Endgame, we don’t see that as a signifier of financial success, we see it as a signifier of emotional success.
“It’s a movie that had an unprecedented impact on audiences around the world in the way that they shared that narrative and the way that they experienced it. And the emotions they felt watching it.”
Martin Scorsese
Scorsese revealed that he had tried to watch Marvel movies before abandoning them, the Russos saying it was hard to criticise when he had not seen them.
“But, at the end of the day, what do we know?” Joe added. “We’re just two guys from Cleveland, Ohio, and ‘cinema’ is a New York word. In Cleveland, we call them movies.”
Anthony further explained: “The other way to think about it, too, is nobody owns cinema. We don’t own cinema. You don’t own cinema. Scorsese doesn’t own cinema.”
Marvel Studios boss Kevin Feige recently responded to Scorsese’s comments, saying: “Some people don’t think it’s cinema. Everybody is entitled to their opinion.
“Everyone is entitled to repeat that opinion. Everyone is entitled to write op-eds about that opinion. And I look forward to what will happen next. But in the meantime, we’re going to keep making movies.”


Gardaí investigating Kevin Lunney attack make further arrests
Gardaí have made two further arrests in relation to the abduction of Kevin Lunney.
Mr Lunney suffered life-changing injuries after he was taken from near his home and violently assaulted in September.
Two men, both 38, were arrested in the Dublin Region today for an offence contrary to Section 73 Criminal Justice Act 2006.
They are being detained under Section 50 Criminal Justice Act 2007 at Ballymun & Finglas Garda stations.
The gardaí are continuing to appeal for information, "no matter how insignificant it appears".
They said anyone with information "on this vicious criminal attack or any other criminal activities which have taken place in the Cavan/Fermanagh border area over recent years to contact An Garda Síochána at Cavan Garda Station<PHONE_NUMBER>, the Garda Confidential Line 1800 666 111, Crime Stoppers on 1800 25 00 25 or any garda station."
READ MORE
PSNI chief meets businessman Kevin Lunney who was abducted and tortured


Darren's
Webpage
Hello there!Welcome to my webpage!
About
Me
I am 14 this year and I like Math and Chemistry.
Education
and
Experience
My School is Victoria School
My CCA is NCC(Sea)


2. Install Library
{% bg 'work' %}
For Ruby environments we provide a gem that handles all the REST calls for you in a very Ruby-fashioned way.
Install our client: gem install indextank {% with "gem install indextank" as text %}{% with "1" as small %}{% with "#999999" as bgcolor %}{% include 'includes/clippy.html' %}{% endwith %}{% endwith %}{% endwith %}
Look at the client's source code
Read the client documentation
For Python environments we provide a package that handles all the REST calls for you. You can install it with Pip or download the library:
Install our client: pip install indextank {% with "pip install indextank" as text %}{% with "1" as small %}{% with "#999999" as bgcolor %}{% include 'includes/clippy.html' %}{% endwith %}{% endwith %}{% endwith %}
Or Download Stable version:
ZIP file |
TGZ file
Look at the client's source code
Read the client documentation
For Php environments we provide a client that handles all the REST calls for you. Download a file that comes with the library ready to use.
Download Stable version:
ZIP file |
TGZ file
Look at the client's source code
Read the client documentation
For Java environments we provide a basic API client that handles all the REST calls for you and translates the responses to simple Java objects.
Download Stable version:
ZIP file |
TGZ file
Or add our maven client to your dependencies:
<groupId>com.indextank</groupId>
<artifactId>indextank-java</artifactId>
<version>1.0.6</version>
Look at the client's source code
Read the client documentation
There might be an open source tool better suited to your needs. Check out the list maintained on our blog.
{% endbg %}
3. Test your account
First step is to instantiate the client
{% box 'commands' %}
require 'rubygems'
require 'indextank'
api_url = "{% if request.user.is_authenticated %}{{ request.user.get_profile.account.get_private_apiurl }}{% else %}<YOUR API URL HERE>{% endif %}"
api = IndexTank::Client.new api_url
{% endbox %}
{% box 'commands' %}
from indextank.client import ApiClient
import time
api = ApiClient('{% if request.user.is_authenticated %}{{ request.user.get_profile.account.get_private_apiurl }}{% else %}<YOUR API URL HERE>{% endif %}')
{% endbox %}
{% box 'commands' %}
include_once "indextank_client.php";
$API_URL = '{% if request.user.is_authenticated %}{{ request.user.get_profile.account.get_private_apiurl }}{% else %}<YOUR API URL HERE>{% endif %}';
$client = new ApiClient($API_URL);
{% endbox %}
{% box 'commands' %}
import com.flaptor.indextank.apiclient.IndexTankClient;
import com.flaptor.indextank.apiclient.IndexTankClient.Index;
import com.flaptor.indextank.apiclient.IndexTankClient.Query;
public class IndexTankTest {
private final static String API_URL =
"{% if request.user.is_authenticated %}{{ request.user.get_profile.account.get_private_apiurl }}{% else %}<YOUR API URL HERE>{% endif %}";
public static void main(String[] args) {
IndexTankClient client = new IndexTankClient(API_URL);
}
}
{% endbox %}
Next, you need to get an index to start playing, you can create directly with the client.
{% box 'commands' %}
index = api.indexes "MyFirstIndex"
index.add
while not index.running?
sleep 0.5
end
{% endbox %}
{% box 'commands' %}
index = api.create_index('MyFirstIndex')
while not index.has_started():
time.sleep(0.5)
{% endbox %}
{% box 'commands' %}
$index = $client->create_index("MyFirstIndex");
while (!$index->has_started()) {
sleep(1);
}
{% endbox %}
{% box 'commands' %}
Index index = client.createIndex("test_name");
while (!index.hasStarted()) {
Thread.sleep(300);
}
{% endbox %}
Now that you have created an index, and it has started, you can index documents and do queries.
{% box 'commands' %}
docid = "MyDoc"
text = "some sample text"
index.document(docid).add({ :text => text })
results = index.search "some text"
print results['matches'], " results\n"
results['results'].each {|doc|
docid = doc['docid']
print "docid: #{docid}"
}
{% endbox %}
{% box 'commands' %}
id = 'MyDoc'
text = 'some sample text'
index.add_document(id, { 'text': text })
results = index.search('some text')
print '%d results' % results['matches']
for doc in results['results']:
print 'docid: %s' % doc['docid']
{% endbox %}
{% box 'commands' %}
$doc_id = 'MyDoc';
$text = 'some sample text';
$index->add_document($doc_id, array('text'=>$text));
$res = $index->search('some text');
echo $res->matches . " results\n";
foreach($res->results as $doc) {
print_r($doc);
echo "\n";
}
{% endbox %}
{% box 'commands' %}
String documentId = "MyDoc";
Map<String, String> fields = new HashMap<String, String>();
fields.put("text", "some sample text");
index.addDocument(documentId, fields);
SearchResults results = index.search(Query.forString("some text"));
System.out.println("Matches: " + results.matches);
for (Map<String, Object> document : results.results) {
System.out.println("doc id: " + document.get("docid"));
}
{% endbox %}
You have successfully created an index and performed queries. See what else
you can do with the Ruby client, or
try searching over your own test index.
You have successfully created an index and performed queries. See what else
you can do with the Python client, or
try searching over your own test index.
You have successfully created an index and performed queries. See what else
you can do with the PHP client, or
try searching over your own test index.
You have successfully created an index and performed queries. See what else
you can do with the Java client, or
try searching over your own test index.
Don't forget to checkout your account's dashboard


| DOSE: |
14 mg |
insufflated |
2C-T-2 |
(powder / crystals) |
This is a warning, there are very few reports about snorting 2C-T-2, so I decided to write up my experience, and let me say that is what it was an experience. 2C-T-2 SHOULD NOT BE SNORTED! I have had experience with most of the more common psychedelics out there, and a couple of the more exotic rcs as well. and probably have almost 100 trips under my belt. For some reason I decided that 14mg would be a good dose for me and my friend, how wrong I was.
 The burn was nowhere near as bad as 2C-E, but within 30 seconds I felt that something was wrong. Within a minute I was gagging. I needed to throw up. A minute or two later I did, it was everything in my stomach just a small bowl of veggie chili I ate an hour before. I grabbed a bowl to puke in, because I already knew I would have to puke again even though there was nothing left. I knew there was no way I would be standing in a minute or two.
5 Minutes later I started to really feel the effects of the T-2 come on. Everything around me began to shift and move. As the minutes passed though, everything got crazier and crazier. It is about ten to fifteen minutes into the trip when everything went to hell. My sense of time for the next two hours was almost non-existent. What follows is what I can best describe the experience as.
It was about fifteen minutes into the trip and I was laying in my friends huge easy chair.  My friend who snorted the same amount of me was begining to freak out.  His trip was also getting intense as mine. He however took the easy way out, he popped a 2mg xanax bar, and a cyclobenzadrine.
So fifteen minutes into my trip everything begins to become too intense. My friends voices became impossible to listen to. Everything from the outside world almost seemed to cause my brain to overload. It was almost as if huge forces of energy assaulted me whenever any activity happened in my brain.  It is here where my real trip began. Later my sober friend would tell me I lay in that chair for two hours crying, for all could have cared that chair did not exist. When I closed my eyes I could still not stop what I can only describe as energy assaulting me. Any activity in my brain would trigger this. I tried as hard as I could to ignore sound feeling, all the senses. I decided that if I could just lay there not thinking or feeling that the energy, the intensity would go away.
It was as if the universe was smashing me with a hammer. Even my thoughts were too intense. As hard as I tried I could not clear my head. Eventually I could not control it any more. A thought I had began a chain reaction. I do not remember what that word was, but one word spawned a chain reaction. One thought would bring up another and that thought would bring up every thought associated with it. I was like an explosion in my mind expanding in all directions. Eventually I held every thought in the universe in my head at once.
When I closed my eyes I left what I now am sure is the 3rd world. This is the world we live in. This is the world we work, play, and love in. I entered the 2nd world, ourselves. The second world is the mind, myself who I am, my memories. It was at that point I held every thought in my head, that I entered the 1st world.
The 1st world is a strange one. I believe I have been there a few times, mostly on robo trips. But I reached it here. I left myself, I was no longer me, my family, my memories, those were not myself. I was still there, just not in that second world. I left my body. I was a line, energy, I had no perception, yet I knew all. There were other lines and energies that were constantly assaulting me throughout. I do not know how long I stayed in this 1st world, but gradually I began to return to the second, I became aware of my sitting, I became aware of the sounds around me.
 As I looked up at the ceiling it still twisted and bended, but I no longer felt like I was being attacked by all the energy in the universe. My friend was also beginning to mellow out, and after another hour or two we pretty much returned to base line. So, in all the major part of the trip only lasted for about two or three hours after snorting.
To best sum up the intensity of this trip I would say if dropping ten hits of acid is like drinking one beer, this trip would be drinking an entire twelve pack. Now as for 2C-T-2 in general, 2C-T-2 also seemed to have an almost errie body feel to it, never mind the fact it made me and a friend puke out our entire stomachs. 2C-T-2 is definately not a drug I would describe as friendly. The visuals are amazing. But this is definatley one I will not be trying again.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Put Allen Woodturning Events On Your Calendar
Please look for me at the following events
| Event | Dates | Description | Location |
|---|---|---|---|
| 2017 Rivertown Fall Art Festival |
Saturday, Oct 7 10 AM – 5 PM 5 PM - 8 PM (extended music and beer tent hours) Sunday, Oct 8 11 AM – 4 PM |
The Rivertown Fall Art Festival (RFAF)
is expected to bring in more attendees and vendors than ever before,
and will be the largest art festival in Stillwater history.
The Festival will feature 140+ fine art artisans
and will also include a wonderful selection of food vendors,
a beer and wine tent serving local spirits,
live music throughout the day,
concluding with the fun, six-piece 70's Disco Dance Band
Boogie Wonderland performing from 5:00 pm – 8:00 pm on Saturday night.
For a full list of artists, food vendors and music line up, visit the event website! http://rivertownfallartfestival.com |
Lowell Park,
located next to the St. Croix River,
in historic downtown Stillwater, Minnesota. 201 Water St N Stillwater, MN 55082 map |
| Saint Paul Art Crawl - Fall, 2017 |
Friday, Oct 13 - 6–10 PM Saturday, Oct 14 - 12–8 PM Sunday, Oct 15 - 12–5 PM |
I'm really excited to be a part of the St Paul Art Crawl once again. This will be my sixth year participating, so make sure to stop by my studio and see my latest creations. For anyone who hasn't been to a St Paul Art Crawl, it's a really neat event where you can walk around some St Paul neighborhoods, some fascinating old warehouse buildings, and see where & how your art is created. More info: http://www.saintpaulartcrawl.org |
ACVR Warehouse (The old Farwell, Ozmun, Kirk & CO. building) 106 West Water Street 4th floor (My Studio is on the East end) Saint Paul, MN 55107 map I've been at the ACVR Warehouse for over 6 years now. Some around town may know it as “The F.O.K Building”. It was built in 1911 for hardware manufacturers Farwell, Ozmun, and Kirk, & Co. Link to “The F.O.K Building” website. |


7.28.15
The diversity in the tech would is becoming so wide spread its unbeliveable. As you can see there is no standard to where tech comes from and whos a part of it...
This is a great example to show you the diversity. Many people think this area of the world is filled with white males, but they are very wrong. The diversity is growing very strongly and changing everday.
I would only see this as a negative because of all the jobs that can be relocated to other countries because the field is becoming so diverse. Another problem could arise with the clashing of too many ideas. At first you may this how can this be a problem, but if a group gets too hung up on decision making you make fall behind schedule of deadline.


--- name: playground.accordion url: /accordion accordion: - - Test Title - Test Content - - Another Test - Test3 ---


Welcome to the presenter console!
Here you have a view of the current slide, a preview of the next slide and your notes.
You also have a clock and a timer, so you know how much time you have left.
Sliding from left to right is no longer enough. You need to be able to...
If you click on the timer it restarts from zero. This is handy when you are rehearsing the presentation and need to make sure it fits in the time allocated.
If you have more notes than fit in the console, you can scroll down, but more handily, you can scroll the text up by pressing space bar.
If there isn't more text to scroll up, space bar will go to the next slide.
Zooming is cool. But one day it will grow old as well. What will we do then to make presentations interesting?
So we are back to square one.
(And it is closed source to boot)
It's probably back to making bad jokes again.
It's open source!
Supports pan, tilt and zoom!
But...
Wow! 3D! You didn't see that one coming, did you?
Not a friendly format to edit
So inserting a slide means
repositioning all the following slides!
The endless repositioning of slides is what prompted me to write Hovercraft! in the first place.
Of course there is!
What would be the point of this slide show if I didn't have a solution? Duh!
TADA!
That SVG path support was a lot of work. And all I used it for was to position the slides in circles.
You found the presenter console already!
The merge of convenience and cool!
A slogan: The ad-mans best friend!
| Space | Forward |
|---|---|
| Left, Down, Page Down | Next slide |
| Right, Up, Page Up | Previous slide |
| P | Open presenter console |
| H | Toggle this help |


ds9¶
-
class
imexam.ds9_viewer.
ds9
(target=None, path=None, wait_time=5, quit_ds9_on_del=True)[source]¶ Bases:
object
Controls all interactions between the user and the ds9 window.
The ds9() contructor takes a ds9 target as its main argument. If none is given, then a new window will be opened.
DS9’s xpa access points are documented in the reference manual, but the can also be returned to the user with a call to xpaset.
http://hea-www.harvard.edu/saord/ds9/ref/xpa.html
Parameters: target: string, optional
the ds9 target name or id (default is to start a new instance)
path : string, optional
path of the ds9
wait_time : float, optional
waiting time before error is raised
quit_ds9_on_del : boolean, optional
If True, try to quit ds9 when this instance is deleted.
Attributes
wait_time: float The waiting time before error is raised path: string The path to the DS9 executable _xpa_name: string The value in XPA_METHOD, the name of the DS9 window _quit_ds9_on_del: boolean Determine whether to quit ds9 when object goes out of scope. _ds9_unix_name: string The full path filename to the unix socket, only if unix sockets are being used with local _need_to_purge: boolean whenever there are unix socket directories which need to be purged when the object goes out of scope _tmpd_name: string The full path name to the unix socket file on the local system _filename: string The name of the image that’s currently loaded into DS9 _ext: int Extension of the current image that is loaded. If one extension of an MEF file is loaded this will be 1 regardless of the extension that was specified (because DS9 and the XPA now see it as a single image and header) _extname: string If available, the EXTNAME of the MEF extension that is loaded, taken from the current data header _extver: int If available, the EXTVER of the MEF extension that is loaded, taken from the current data header _ds9_process: pointer Points to the ds9 process id on the system, returned by Popen, whenever this module starts DS9 _mef_file: boolean The file is a multi-extension fits file _iscube: bookean The file is a multiextension fits file, and one of the extensions contains at least 1 additional extension (3D or more) _numaxis: int number of image planes, this is NAXIS _naxis: tuple specific image plane displayed, defaulted to 1 image plane, most relevant to cube fits files starter.
Notes
I think this is a quirk in the XPA communication. The xpans, and XPA prefer to have all connections be of the same type. DS9 defaults to creating an INET connection. In some cases, if no IP address can be found for the computer, the startup can hang. In these cases, a local connection is preferred, which uses a unix filename for the socket.
The problem arises that if the user already has DS9 windows running, that were started by default, the nameserver is only listening for the default socket type (inet) and not local. There are also cases where the machine running this code does not have xpa installed, so there is no xpans (nameserver) to run and keep track of the open connections. In that case, the user needs to provide this init with the name of the socket in their window (in XPA_METHOD) in order to create the connection.
Methods Summary
alignwcs
([on])align wcs. blink
([blink, interval])Blink frames. clear_contour
()clear contours from the screen. close
()close the window and end connection. cmap
([color, load, invert, save, filename])Set the color map table, using a defined list of options. colorbar
([on])turn the colorbar on the bottom of the window on and off. contour
([on, construct])show contours on the window. contour_load
(filename)load a contour file into the window. crosshair
([x, y, coordsys, skyframe, ...])Control the position of the crosshair in the current frame. cursor
([x, y])move the cursor in the current frame to the specified image pixel. disp_header
()Display the header of the current image to a DS9 window. frame
([n])convenience function to change or report frames. get
(param)XPA get method to ds9 instance which returns received string. get_data
()return a numpy array of the data displayed in the current frame. get_filename
()return the filename currently on display. get_frame_info
()return more explicit information about the data displayed. get_header
()Return the current fits header. get_image
()return the full image object instead of just the data array. get_slice_info
()return the slice tuple that is currently displayed. get_viewer_info
()Return a dictionary of information. grab
()Make a copy of the image view. grid
([on, param])convenience to turn the grid on and off. hideme
()lower the ds9 window. iscube
()return whether a cube image is displayed in the current frame. load_fits
([fname, extver, extname])convenience function to load fits image to current frame. load_mef_as_cube
([filename])Load a Mult-Extension-Fits image into one frame as an image cube. load_mef_as_multi
([filename])Load a Mult-Extension-Fits image into multiple frames. load_region
(filename)Load regions from a file which uses ds9 standard formatting. load_rgb
(red, green, blue[, scale, lockwcs])load 3 images into an RGBimage frame. make_region
(infile[, labels, header, ...])make an input reg file with [x,y,comment] to a DS9 reg file. mark_region_from_array
(input_points[, ...])mark ds9 regions regions given an input list of tuples. match
([coordsys, frame, crop, fslice, ...])match all other frames to the current frame. nancolor
([color])set the not-a-number color, default is red. panto_image
(x, y)convenience function to change to x,y physical image coordinates. panto_wcs
(x, y[, system])pan to wcs location coordinates in image. readcursor
()Returns the image coordinate postion and key pressed. reopen
()reopen a closed window. rotate
([value, to])rotate the current frame (in degrees). run_inet_ds9
()start a new ds9 window using an inet socket connection. save_regions
([filename])save the regions in the current window to a DS9 style regions file. save_rgb
([filename])save an rgbimage frame as an MEF fits file. scale
([scale])The default zscale is the most widely used option. set
(param[, buf])XPA set method to ds9 instance. set_iraf_display
()Set the environemnt variable IMTDEV to the current display. set_region
([region_string])display a region using the specifications in region_string. show_xpa_commands
()print the available XPA commands. showme
()raise the ds9 window. showpix
([close])display the pixel value table, close window when done. snapsave
([filename, format, resolution])Create a snap shot of the current window, save in specified format. valid_data_in_viewer
()return bool if valid file or array is loaded into the viewer. view
(img)Display numpy image array to current frame. zoom
([par])zoom using the specified command in par. zoomtofit
()convenience function for zoom. Methods Documentation
-
alignwcs
(on=True)[source]¶ align wcs.
Parameters: on: bool
Align the images using the WCS in their headers
-
blink
(blink=True, interval=None)[source]¶ Blink frames.
Parameters: blink: bool, optional
Set to True to start blinking the frames which are open
interval: int
Set interval equal to the length of pause for blinking
Notes
- blink_syntax=
- Syntax: blink [true|false] [interval <value>]
-
cmap
(color=None, load=None, invert=False, save=False, filename='colormap.ds9')[source]¶ Set the color map table, using a defined list of options.
Parameters: color: string
color must be set to one of the available DS9 color map names
load: string, optional
set to the filename which is a valid colormap lookup table valid contrast values are from 0 to 10, and valid bias values are from 0 to 1
invert: bool, optional
invert the colormap
save: bool, optional
save the current colormap as a file
filename: string, optional
the name of the file to save the colormap to
-
colorbar
(on=True)[source]¶ turn the colorbar on the bottom of the window on and off.
Parameters: on: bool
Set to True to turn on the colorbar, False to turn it off
-
contour
(on=True, construct=True)[source]¶ show contours on the window.
Parameters: on: bool
Set to true to turn on contours
construct: bool, optional
Will open the contour dialog box which has more options
-
contour_load
(filename)[source]¶ load a contour file into the window.
Parameters: filename: string
The name of the file with the contour level defined
-
crosshair
(x=None, y=None, coordsys='physical', skyframe='wcs', skyformat='fk5', match=False, lock=False)[source]¶ Control the position of the crosshair in the current frame.
crosshair mode is turned on automatically
Parameters: x: string or int
The value of x is converted to a string for the call to XPA, use a value here appropriate for the skyformat you choose
y: string or int
The value of y is converted to a string for the call to XPA, use a value here appropriate for the skyformat you choose
coordsys: string, optional
The coordinate system your x and y are defined in
skyframe: string, optional
If skyframe has “wcs” in it then skyformat is also sent to the XPA
skyformat: string, optional
Used with skyframe, specifies the format of the coordinate which were given in x and y
match: bool, optional
If set to True, then the wcs is matched for the frames
lock: bool, optional
If set to True, then the frame is locked in wcs
-
cursor
(x=None, y=None)[source]¶ move the cursor in the current frame to the specified image pixel.
selected regions will also be movedParameters: x: int
pixel location x coordinate to move to
y: int
pixel location y coordinate to move to
x and y are converted to strings for the call
-
frame
(n=None)[source]¶ convenience function to change or report frames.
Parameters: n: int, string, optional
The frame number to open or change to. If the number specified doesn’t exist, a new frame will be opened If nothing is specified, then the current frame number will be returned. The value of n is converted to a string before passing to the XPA
Examples
frame(1) sets the current frame to 1 frame(“last”) set the current frame to the last frame frame() returns the number of the current frame frame(“new”) opens a new frame frame(3) opens frame 3 if it doesn’t exist already, otherwise goes to frame 3
-
get
(param)[source]¶ XPA get method to ds9 instance which returns received string.
Parameters: param : parameter string (eg. “fits” “regions”) Notes
This function is linked with the Cython implementation get(param)
-
get_data
()[source]¶ return a numpy array of the data displayed in the current frame.
Notes
This is the data array that the imexam() function from connect() uses for analysis
astropy.io.fits stores data in row-major format. So a 4d image would be [NAXIS4, NAXIS3, NAXIS2, NAXIS1] just the one image is retured in the case of multidimensional data, not the cube
-
get_filename
()[source]¶ return the filename currently on display.
This function will check if there is already a filename saved. It’s possible that the user can connect to a ds9 window with no file loaded and then ask for the data file name after loading one through the ds9 menu options. This will poll the private filename and then try and set one if it’s empty.
-
get_header
()[source]¶ Return the current fits header.
The return value is the string or None if there’s a problem
-
get_viewer_info
()[source]¶ Return a dictionary of information.
The dictionary contains information about all frames which are loaded with data
Notes
Consider adding a loop to verify that all the frames still exist and the user has not deleted any through the gui.
-
grid
(on=True, param=False)[source]¶ convenience to turn the grid on and off.
grid can be flushed with many more options
Parameters: on: bool, optional
Will turn the grid overlay on in the current frame
param: bool, optional
Will open the parameter dialog in DS9
-
load_fits
(fname='', extver=1, extname=None)[source]¶ convenience function to load fits image to current frame.
Parameters: fname: string, optional
The name of the file to be loaded. You can specify the full extension in the name, such as filename_flt.fits[sci,1] or filename_flt.fits[1]
extver: int, optional
The extension to load (EXTVER in the header)
extname: string, optional
The name (EXTNAME in the header) of the image to load
Notes
To tell ds9 to open a file whose name or path includes spaces, surround the path with “{...}”, e.g.
% xpaset -p ds9 file “{foo bar/my image.fits}”
This is assuming that the image loads into the current or next new frame, watch the internal file and ext values because the user can switch frames through DS9 app itself
XPA needs to have the absolute path to the filename so that if the DS9 window was started in another directory it can still find the file to load. arg.
-
load_mef_as_cube
(filename=None)[source]¶ Load a Mult-Extension-Fits image into one frame as an image cube.
-
load_region
(filename)[source]¶ Load regions from a file which uses ds9 standard formatting.
Parameters: filename: string
The file containing the DS9 style region description
-
load_rgb
(red, green, blue, scale=False, lockwcs=False)[source]¶ load 3 images into an RGBimage frame.
Parameters: red: string
The name of the fits file loaded into the red channel
green: string
The name of the fits file loaded into the green channel
blue: string
The name of the fits file loaded into the blue channel
scale: bool
If True, then each image will be scaled with zscale() after loading
lockwcs: bool
If True, then the image positions will be locked to each other using the WCS information in their headers
-
make_region
(infile, labels=False, header=0, textoff=10, size=5)[source]¶ make an input reg file with [x,y,comment] to a DS9 reg file.
the input file should contain lines specifying x,y,comment
Parameters: infile: str
input filename
labels: bool
add labels to the regions
header: int
number of header lines in text file to skip
textoff: int
offset in pixels for labels
size: int
size of the region type
Notes
only circular regions are supported currently
-
mark_region_from_array
(input_points, ptype='image', textoff=10, size=4)[source]¶ mark ds9 regions regions given an input list of tuples.
a convienence function, you can also use set_regionParameters: input_points: iterator, a tuple, or list of tuples
or a string: (x,y,comment),
ptype: string
the reference system for the point locations, image|physical|fk5
size: int
the size of the region marker
textoff: string
the offset for the comment text, if comment is empty it will not show
Notes
only circular regions are supported currently
-
match
(coordsys='wcs', frame=True, crop=False, fslice=False, scale=False, bin=False, colorbar=False, smooth=False, crosshair=False)[source]¶ match all other frames to the current frame.
Parameters: coordsys: string, optional
The coordinate system to use
frame: bool, optional
Match all other frames to the current frame, using the set coordsys
crop: bool, optional
Set the current image display area, using the set coordsys
fslice: bool, optional
Match current slice in all frames
scale: bool, optional
Match to the current scale for all frames
bin: bool, optional
Match to the current binning for all frames
colorbar: bool, optional
Match to the current colorbar for all frames
smooth: bool, optional
Match to the current smoothing for all frames
crosshair: bool, optional
Match the crosshair in all frames, using the current coordsys
Notes
You can only choose one of the options at a time, and the logic will select the first True option so set frame=False and something else in addition to your choice if you don’t want the default option.
-
nancolor
(color='red')[source]¶ set the not-a-number color, default is red.
Parameters: color: string
The color to use for NAN pixels
-
panto_image
(x, y)[source]¶ convenience function to change to x,y physical image coordinates.
Parameters: x: float
X location in physical coords to pan to
y: float
Y location in physical coords to pan to
-
panto_wcs
(x, y, system='fk5')[source]¶ pan to wcs location coordinates in image.
Parameters: x: string
The x location to move to, specified using the given system
y: string
The y location to move to
system: string
The reference system that x and y were specified in, they should be understood by DS9
-
readcursor
()[source]¶ Returns the image coordinate postion and key pressed.
Notes
XPA returns strings of the form: u a 257.5 239
-
rotate
(value=None, to=False)[source]¶ rotate the current frame (in degrees).
the current rotation is printed with no params
Parameters: value: float [degrees]
Rotate the current frame {value} degrees If value is 0, then the current rotation is printed
to: bool
Rotate the current frame to the specified value
-
run_inet_ds9
()[source]¶ start a new ds9 window using an inet socket connection.
Notes
It is given a unique title so it can be identified later.
-
save_regions
(filename=None)[source]¶ save the regions in the current window to a DS9 style regions file.
Parameters: filename: string
The nameof th file to which the regions displayed in the current window are saved. If no filename is provided then it will try and save the regions to the name of the file in the current display with _regions.txt appended
If a file of that name already exists on disk it will no attempt to overwrite it
-
save_rgb
(filename=None)[source]¶ save an rgbimage frame as an MEF fits file.
Parameters: filename: string
The name of the output fits image
-
scale
(scale='zscale')[source]¶ The default zscale is the most widely used option.
Parameters: scale: string
The scale for ds9 to use, these are set strings of [linear|log|pow|sqrt|squared|asinh|sinh|histequ]
Notes
The xpa doesn’t return an error if you set an unknown scale, it just doesn’t do anything, this is true for all the xpa calls
-
set
(param, buf=None)[source]¶ XPA set method to ds9 instance.
Notes
This function is linked with the Cython implementation
set(param, buf=None) param : parameter string (eg. “fits” “regions”) buf : aux data string (sometime string needed to be ended with CR)
-
set_iraf_display
()[source]¶ Set the environemnt variable IMTDEV to the current display.
the socket address of the current imexam.ds9 instance is used Notes —– For example, your pyraf commands will use this ds9 for display.
TODO: Not sure this is still needed.
-
set_region
(region_string='')[source]¶ display a region using the specifications in region_string.
Parameters: region_string: string
Should take the form of a region string that DS9 is expecting
Examples
set_region(“physical ruler 200 300 200 400”) set_region(“line 0 400 3 400 #color=red”)
-
showpix
(close=False)[source]¶ display the pixel value table, close window when done.
Parameters: close: bool, optional
If set to True, then the pixel table dialog window is closed
-
snapsave
(filename=None, format=None, resolution=100)[source]¶ Create a snap shot of the current window, save in specified format.
This function bypasses the XPA calling routines to avoid a bug with the X11/XPA interface. Instead is uses the os import function which takes a snapshot of the specified x11 window.
Parameters: filename: str, optional
filename of output image, the extension in the filename can also be used to specify the format. If no filename is specified, then the filename will be constructed from the name of the image displayed image with _snap.png appended.
format: str, optional
available formats are fits, eps, gif, tiff, jpeg, png If no format is specified the filename extension is used
resolution: int, optional
1 to 100, for jpeg images
-
view
(img)[source]¶ Display numpy image array to current frame.
Parameters: img: numpy array
The array containing data, it will be forced to numpy.array()
-
zoom
(par='to fit')[source]¶ zoom using the specified command in par.
Parameters: par: string
- it can be a number (ranging 0 to 8 effectively), and successive
calls continue zooming in the same direction
it can be two numbers ‘4 2’, which specify zoom on different axis
if can be to a specific value ‘to 8’ or ‘to fit’
it can be ‘open’ to open the dialog box
- it can be ‘close’ to close the dialog box (only valid if the box
is already open)
Examples
zoom(‘0.1’)
-


“HiredHelpr
does everything for you. All I
have to do is show up, record the readings through my phone
and I’m done.
Ryan Jones
CEO, Pools service of America
“HiredHelpr
does everything for you. All I
have to do is show up, record the readings through my phone
and I’m done.
Ryan Jones
CEO, Pools service of America
“HiredHelpr
does everything for you. All I
have to do is show up, record the readings through my phone
and I’m done.
Ryan Jones
CEO, Pools service of America


Lab 5 activity 2 javascript template that defines the interaction between this client and the www.apixu.com weather API. It uses a series of real-time fetching methods and graphical information to display current weather information in a give set of regions using a dynamic table platform.
Turns the debugger on and off
Defines the name of the nearest city to current location
Key required to fetch weather data from Apixu
Defines a list of cities to populate to the UI select box. The cities can be selected and have their real-time weather information fetched and displayed.
Stores weather conditions and their corresponding descriptions, codes, and other information (for complete listing of codes see Apixu weather conditions)
Stores the average temperature of the list of cities
Stores the city name and temperature of the hottest city amongst the list of cities
Sets the initial layout of the weather page by:
Populates the table with a city value using a series of parameters to identify the correct table position
Defines the event listener for the select box, which allows the user to select a value and the table to reflect with the newly-chosen city information
Fetches JSON data from the server based on the type of report requested and the city.
any
:
The apixu JSON API as a Promise
Fetches the apixu weather conditions with a list of codes and their corresponding night/day descriptions. Drawn from http://www.apixu.com/doc/Apixu_weather_conditions.json
Handles and displays errors if passed by the apixu JSON API
(number)
The JSON error object as a Promise
Returns the HTTP status code based on the error code defined by the apixu error API. See: https://www.apixu.com/doc/errors.aspx
(number)
The apixu error code
any
:
The corresponding HTTP status code
onclick event listener for the 'Forecast' buttons on the weather table.
(string)
The id of the 'tr' to draw the city info from
Sets the forecast div ('forecast-info') using response data generated from apixu
(JSON)
Forecast data fetched from apixu
Returns the corresponding weather code to the passed parameter. The weather codes are drawn from: http://www.apixu.com/doc/Apixu_weather_conditions.json
(number)
Weather status code
any
:
JSON representation of the weather code. Null if there
is no corresponding code in the apixu API
Returns a button object to be inserted into the DOM
(number)
id of 'tr' object to assign button method to
any
:
A button object to be inserted into the DOM
Returns the selected city of the city-select drop down
any
:
the selected city of the city-select drop down


My name is Fan Gao. I am a phD student in Department of Statistics, University of Wisconsin, Madison.
I love math, programming and poker games.
Fan G, How to become a hot girl in Hupu bbs . Journal of China Web. 2016
Fan G, Ten tips on playing Three-Kingdom-Kill. Journal of Online Game. 2015
Fan G, Junfu Z, Short-cuts of dating the most beautiful girl in your class. Journal of Dating. 2014
Feel free to email me to provide some feedback if we share any common interests, or to just say hello!


fakebook
Registration
It is safe and it will always be!
None-Important Information
Birthday
Male
Female
Other
Important Information *required
Sri Lanka
India
United States of America
Japan
China
Austrlia
Qualifictions
Degree
Masters
Other
Door Color
More Personal Information
Give us more information.!