Introduction to Probability Models
Lecture 1
Qi Wang, Department of Statistics
Aug 20, 2018
About the Instrcutor
- Course Instructor: Qi Wang(Pronounced as Chee Waung)
- Email<EMAIL_ADDRESS>- Homepage: http://www.stat.purdue.edu/~wang2047/
- Office: MATH G143
Course Info
- Textbook: Introduction to Probability by Mark Daniel Ward and Ellen Gundlach, $1_{st}$ edition, W.H. Freeman
- Course website:
- http://www.stat.purdue.edu/~cfurtner/stat225
- user name: stat225
- password: fall2018
- Session website: http://www.stat.purdue.edu/~wang2047/teaching/fall2018/stat225
Grading
| Homework |
22.0% |
125pts |
| Quizzes |
18.4% |
105pts |
| Exam 1 |
17.5% |
100pts |
| Exam 2 |
17.5% |
100pts |
| Final Exam |
22.0% |
125pts |
| Class Participation |
2.6% |
15pts |
| Total |
100% |
570pts |
Grades
- There will be NO curving of individual exam grades
- A student must earn a minimum of 60% on AT LEAST ONE of the 3 exams in order to pass this class.
Quiz
- 8 are scheduled
- Close book and close notes
- The lowest quiz will be dropped
- Make-up quiz
- Official documented University business or a documented illness
- Contact your instructor at least TWO DAYS in advance
Homework
- 5 assignments
- Due at the begining of class
- Late homework will NOT be accepted
- Must be handwritten or typed using mathematical notation.
- Each homework is worth 25 points, NO homeworks are dropped.
Exams
- Two evening exams from 8:00 -- 9:30 pm
- Exam 1: Tuesday, 9/25/2018
- Exam 2: Tuesday, 10/30/2018
- A final exam, during the day during final exam week
- Close book and close notes
- Items allowed
- pencils
- erasers
- a scientific calculator (must not have capability to do integration)
- one-page cheat sheet for mid-terms and two-page for the final
- Show a photo ID to your instructor
Cheat sheet
- $8 \frac{1}{2} \times 11$
- Handwritten in your own writing
- Both sides
- Handing in your cheat sheet at the end of the exam is required
- Use of printed or photocopied material on a cheat sheet is prohibited and considered cheating in this course
Emergency
- If you hear a fire alarm inside, proceed outside
- If you hear a siren outside, proceed inside
- Fire emergency:
- immediately suspend class, evacuate the building, and proceed outdoors
- do not use the elevator
- meet outside by fountain near John Purdue’s grave
- Tornado warning/servere weather event
- suspend class and shelter in interior hallway on $1_{st}$ floor
- Shelter in place
- suspend class and shelter in the classroom
- shutting the door and turning off the lights
- A gambler's dispute in 1654 led to the creation of a mathematical theory of probability by two famous French mathematicians, Blaise Pascal and Pierre de Fermat
- The game consisted in throwing a pair of dice 24 times, the problem was to decide whether or not to bet even money on the occurrence of at least one "double six" during the 24 throws
Basic Terminology
This course is a course on Probability. The following terminology will assist us in the study of Probability.
- Element: a single item(outcome), typically denoted by $\omega$
- Set: a collection of elements
- For example, $A = \{x, y, z\}$
- $x \in A$, x is a memeber of set A
- $j \notin B$, j is not a smember of set B
- Population: the collection of all individuals or items under consideration
- Random Experiment: an action whose outcome cannot be predicted with certianty beforehand
- Sample Space: the set of all possible outcomes for a random experiment, typically denoted by $\Omega$, the textbook uses $S$
- Event a result that may or may not occur, a subset of $\Omega$
- Subset: a set in which every element is contained in another set
- Notation: $A \subset B$, A is a subset of B
- Complement: a set that contains all of the elements in $\Omega$ that aren't in the original set
- Notation: $A^c$ is the complement of $A$
- Empty Set: the set with no element in it, denoted by $\emptyset$ or $\{\}$
Example 1
We check whether the Standard and Poor’s 500 Index at the end of the day shows an increase,
a decrease or remains the same as the previous days ending index.
- For one day, what is the sample space for this scenario?
- What is the sample space for two days?
- Define event A: the S & P decreases at least one day. List the outcomes in A.
- What are the outcomes in the complement of A?
- What do you notice if we combine A and its complement?


Galaxy S11e renders point to three cameras and no headphone jack
by Corbin DavenportSamsung added a third tier to the Galaxy S lineup last year, with the introduction of the S10e. The phone combined most of the features from the S10 and S10+ with a smaller body, much to the appreciation of small phone fans everywhere. The first renders of the regular Galaxy S11 were published yesterday, and now we're getting a look at the S11e.
The S11e appears to follow the same basic formula as the last version: most of the features of the regular S devices in a smaller form factor. The screen measures between 6.2-6.3 inches, which is smaller than the S11's 6.7-6.9" display, but slightly larger than the 5.8" S10e. The entire case is 151.7 x 69.1mm x 7.9mm (or 9.1mm including the camera bump). That makes the phone just as wide as the S10e, with the same depth, but the screen increases the height.
The camera array appears to have a few features removed, compared to yesterday's S11 renders. There are three sensors, plus an LED flash, but OnLeaks/PriceBaba was unable to determine what exactly the setup is. Three sensors is at least an upgrade from the S10e, which only has a regular 12MP lens and a 16MP ultra-wide shooter.
Fans of the S10e's super-fast physical fingerprint sensor might be disappointed, as the S11e seems to have an in-screen sensor, just like the Note10. Also like the Note10, there is no headphone jack, with only a Type-C port on the bottom of the phone.
We'll likely see more of this phone (and the rest of the S11 lineup) a lot more over the coming months. If previous Galaxy phone launches are any indication, Samsung is a leaky ship.
Source:
PriceBaba
Thanks:
Armando


uses click
uses bind
uses on
User 1
User 2
User 3
User 4
Cuthbert Binns
History Of Magic
Charity Burbage
Muggle Studies
Firenze
Divination
Pomona Sprout
Herbology
Rubeus Hagrid
Care Of Magical Creatures
Aurora Sinistra
Astronomy
click me
remove the eventhandler from clickme


XX
Contests
XX
Submissions
XX
Winners
XX
Contests
XX
Submissions
XX
Winners
XX
Contests
XX
Submissions
XX
Winners
8
Contests
372
Submissions
19
Winners
Contests |
Incentivized disaster preparedness & gamification by Saadithya + Sarkar
Platform to drive disaster risk preparedness with chatbots, gamification, incentives, insurance innovation; & bridge multiple stakeholders.
Naturally heated homes for colder and poorer regions of the world by Javed Sultan
Searching for Building Technology that are less fossil fuel dependent, affordable, encourage capacity building, and more climate responsive.
User-Maintained, Highly Efficient Solar Powered Water Purification Systems by PV Pure
Our solar-power purification systems are cost-effective, easy to maintain, and sustainably use varied water sources to combat disaster risk.
Naturally heated homes for colder and poorer regions of the world by Javed Sultan
Teaching people to build low carbon footprint, energy efficient, and naturally heated homes in poorer and colder regions of the world.
willpower-energy: Make your own fuel from CO2 at home by Alexia Ferreira Teren and 1 other
willpower-energy makes it possible to transform atmospheric CO2 into fuel and to store energy – in your own home for your own home.
willpower-energy: Make your own fuel from CO2 at home by Alexia Ferreira Teren and 1 other
willpower-energy makes it possible to transform atmospheric CO2 into fuel and to store energy – in your own home for your own home.
Put A Price On It by Our Climate
Empower students and millennials across the U.S. to hold polluters accountable with a price on carbon pollution.
Proxy pricing carbon in state govt procurement, contracting, and acquistion by Adele Morris
Proxy pricing adds a hypothetical carbon surcharge to market energy prices when choosing among emissions-intensive goods and services.
Revenue Neutral Carbon Fee and Dividend: Bending the Emissions Curve by CitizensClimateLobby
A revenue neutral, rising fee on GHG emissions will steer the economy to a low-carbon future and re-establish US climate leadership.
HELIAC Solar Cooker – Inexpensive, But Efficient by HELIAC
The Heliac Solar Cooker is inexpensive but efficient. A lens focusing sunlight generates heat. Improvements, distribution, & sales welcome.
Clean cooking solutions and development of a climate change mitigation programme by Climate Advocacy
Replacement of open fire stoves with improved cookstoves can reduce indoor air pollution & can cut the amount of GHG emissions significantly.
Community micro hydropower generation in the Hispaniola island by REDSER
Community managed micro hydropower systems are a key instrument for climate change mitigation and sustainable development at local scale.
Developing an Alternative to Shifting Cultivation in North-East India. by David Gandhi and 4 others
The SALT approach will be adapted to offer hill tribes a sustainable and climate smart alternative to shifting cultivation.
Developing an Alternative to Shifting Cultivation in North-East India. by David Gandhi and 4 others
The SALT approach will be adapted to offer hill tribes a sustainable and climate smart alternative to shifting cultivation.
Assam Fuelwood Decision Support System (AFDSS) by Swapan Mehra and 5 others
Systems dynamics modelling approach to address unsustainable extraction of fuelwood from forests and promote adoption of clean technologies
Climate Stories: a mobile community planning hub for climate adaptation by Urban Fabrick
Climate Stories is an interactive mobile community hub for climate change engagement, planning & action.
Youth Climate Leaders (YCL) by Cassia Moraes and 4 others
Young people traveling the world and working together to learn more about climate change and start their careers as climate leaders.
Youth Climate Leaders (YCL) by Cassia Moraes and 4 others
Young people traveling the world and working together to learn more about climate change and start their careers as climate leaders.
Solar powered boats; fostering marine eco-conservation by Birupakshya Dixit and 1 other
Use of Solar boats in tourist places can reduce the air, water and noise pollution.
Detox the Fleet by Bill Ferree and 2 others
Battery electric drive retrofit protocol for small commercial vehicles. Used cars, vans, delivery trucks–carbon emission free.
Solar powered boats; fostering marine eco-conservation by Birupakshya Dixit and 1 other
Use of Solar boats in tourist places can reduce the air, water and noise pollution.
Partner Contests |
Improving Disaster Preparedness of Deaf People, Philippines by Rommel Lo
Helping the Deaf community prepare for disasters begins with signing the signs of disaster.
The VNMS and Lifetowers: Solutions for last mile early warning dissemination by Animesh Prakash
Low cost solutions for effective last mile early warning dissemination.
& Awardees
17
Contests
579
Submissions
27
Winners
Grand Prize Winner |
Climate Smart
Interactive Business Energy and Emissions Dashboard for Cities by ana0105
“We’re deeply humbled and inspired by this recognition,” said Elizabeth Sheehan, Climate Smart President and CEO.  Our software helps them get the most bang for their buck, so they can be more effective in their work.”“We’re deeply humbled and inspired by this recognition,” said Elizabeth Sheehan, Climate Smart President and CEO.  Our software helps them get the most bang for their buck, so they can be more effective in their work.”
Honorable Mentions |
Benjamin Huber and Juna Shrestha of ClimateRe
Reducing methane emissions from rice farming by jshrestha
They proposed a mechanism to reduce methane emissions while enhancing rice farmers’ resilience to climate change.
James Gula of Franchised Microgrids
Franchised Microgrids for the Developing World Based on Open Source Components by jlgula
They proposed to deploy microgrids to the developing world using a franchise business model based on open source hardware to reduce cost.
Nishaant Sangaavi and Alex Corneglio of My Energy XPert
My Energy Xpert: a home and small business energy management solution by alex7728
They built "My Energy Xpert" which is a SMART energy audit and monitoring app empowering people to save time, money and lower their energy footprint.
Contests |
Hudson River Sustainable Shorelines Project by Sustainable Shores
Sustainable Shorelines generates info about best shoreline management options preserving ecology through adapting to climate change impacts.
Vulnerability Assessment and Adaptation Strategies for Property and Community by Climate.IQ
Climate.IQ is a web tool that uses spatial and statistical analysis to conduct climate risk assessmennt for properties and communities.
Build reefs to sustain oceans’ adaptation to a warmer world by SDO CLIMA
Unleashing the climate-smart potential of Africa’s forgotten rice by sririce
Cooperative Building by Kaenga
Let's build more sustainable buildings by empowering people to design their homes and shape their communities.
RentRocket.org - Bringing transparent energy data to rental housing markets by RentRocket.org
If we want to reverse climate change, we have to reach people who don't think about it. Let's make climate-friendly housing decisions easy.
Naturally heated homes for colder and poorer regions of the world by Javed Sultan
Franchised Microgrids for the Developing World Based on Open Source Components by jlgula
Deploy microgrids to the developing world using a franchise business model based on open source hardware to reduce cost.
The Collective Power Platform by roelofsmichiel and nikodem.bienia
The Collective Power Platform is a local peer to peer energy trading market for and by prosumers.
Faciliating Adaptation to Climate Change through Solar Irrigation Technology by Tareo
Infrastructure for a Livable Future by CRWA
Community Water and Energy Centers produce reliable, renewable and resilient energy and clean water while restoring the natural environment.
Infrastructure for a Livable Future by CRWA
Community Water and Energy Centers produce reliable, renewable and resilient energy and clean water while restoring the natural environment.
Infrastructure for a Livable Future by CRWA
Distilled Water From Combusted Fossil Fuel by Sidel Systems USA
25ºC (77ºF) by Kiri
Regulate industry globally so all new air conditioners have a minimum of 25ºC (77ºF). Reset existing equipment to comply this new standard.
25ºC (77ºF) by Kiri
Regulate industry globally so all new air conditioners have a minimum of 25ºC (77ºF). Reset existing equipment to comply this new standard.
Reducing methane emissions from rice farming by ClimateRe
Reducing Methane Emissions While Enhancing Rice Farmers’ Resilience to Climate Change
Vertical and Micro-gardening(VMG) climate smart farming in Uganda by PaulCastor
VMG is a CSA approach that uses the Vertical farming technology to convert 9 square feet into 36 square feet of farming space.
Preservation + restoration of blue carbon ecosystems require immediate attention by MoorooducRH
Honey Bees = Polination = crops = food Pollination = Photosynthesis = lower C02 by Kelvin Valley Honey
Green Cambridge Street Tree Biochar Pilot Study by Green Cambridge
DearTomorrow, a promise to the future about climate change by deartomorrow.org
To shift behavior and broaden the climate culture, we invite people to send open letters about climate change to loved ones in the future.
What is climate change and what do I have to do with it? by ENGAJAMUNDO
We seek to empower young Brazilians by showing them that we are part of the solution to overcome current problems caused by climate change.
Low Carbon City Initiative: From Citizens To the World by Low Carbon City Team
Mini Elevated cTrains (caterpillar trains) by terrautopia
A comprehensive solution-mass transit for all: MINI ELEVATED cTrains: seating room only - minimal height-width-length - visibly acceptable.
Mini Elevated cTrains (caterpillar trains) by terrautopia
A comprehensive solution-mass transit for all: MINI ELEVATED cTrains: seating room only - minimal height-width-length - visibly acceptable.
Recykle | A smart phone app to manage household waste responsibly by Kabadiwalla Connect
Develop a smart phone app that helps people segregate, compost, find their closest kabadiwalla and sign-up for local waste management events.
Conscious textile reverse Logistics by Retalhar
Retalhar is a social business that promotes reverse logistics of corporate uniforms by disposing it in a socio-environmental friendly way.
Recykle | A smart phone app to manage household waste responsibly by Kabadiwalla Connect
Develop a smart phone app that helps people segregate, compost, find their closest kabadiwalla and sign-up for local waste management events.
Food Recovery Network: Fighting Waste, Feeding People by FoodRecoveryNetwork
Tycycler: An intuitive, non-motorized & affordable tire recycling technology by Tycycler
Partner Contests |
Strategic Investment to Scale-up Aviation Biofuel by sunny1990 and vmthomas1
Focusing heavy investments from China to ramp up sustainable biofuel production can bring global costs down.
Cross Flow Air Turbine (CFAT) Auxiliary Power Unit by AirMach Innovations
Zero fuel Zero Emission replacement technology for aircraft's Auxiliary Power Units (APUs).
Strategic Investment to Scale-up Aviation Biofuel by sunny1990 & vmthomas1
Cross Flow Air Turbine (CFAT) Auxiliary Power Unit by AirMach Innovations
The flycycle is efficient, accessible, easy for any organization to buy and install, and a beautiful addition to street life.
The flycycle is efficient, accessible, easy for any organization to buy and install, and a beautiful addition to street life.
FROM CUBICLE TO CAFETERIA:Take a bite out of GHGs w/ Collaborative Green Lunches by Kira Davis, Zoë Sigle
Drastically Reduce GHGs w/ What We Eat while Creating Collaborative Space for Climate Institutions: Plant-Based Foods Produce Far Fewer GHGs
FROM CUBICLE TO CAFETERIA:Take a bite out of GHGs w/ Collaborative Green Lunches by Kira Davis, Zoë Sigle
Drastically Reduce GHGs w/ What We Eat while Creating Collaborative Space for Climate Institutions: Plant-Based Foods Produce Far Fewer GHGs
ClimateX is a platform where MIT Alumni can learn climate-related science, technology and policy while transitioning into a green career.
Dry firewood needs seasoning, covered storage and a drying chimney by climaterescue
After careful seasoning and storing, use a simple drying chimney for firewood. Next generation cookstoves can also be carbon-positive!
Smokeless gas cylinder stove with wood drier by saadithya
Modifying old unused gas cylinder into a smokeless stove for cooking, heat radiated while using it is used for drying wood.
Empowering designers roles in using better sustainable material options by Team Wonder
Sourceseed is a curated alternative material option platform that allows designers to co-buy fabrics with eachother at an affordable price.
Empowering designers roles in using better sustainable material options by Team Wonder
Sourceseed is a curated alternative material option platform that allows designers to co-buy fabrics with eachother at an affordable price.
Empowering designers roles in using better sustainable material options by Team Wonder
100% Net Zero Carbon Plan, 60% NZ Effectively Free, Expert Team Ready! by Net Zero Foundation
100% Net Zero Carbon for all Buildings. MIT 60-80% NZ for free! #DivestTheCampus -- Join the #NetZeroMovement to save the Planet!
Building Cooling and Heating, with Solar Robotic Concentrated Thermal Collectors by Lighthouse Group
It is economically and practically feasible, to substitute 60% of the energy we use for cooling and heating our buildings with solar energy.
Minimizing HVAC Energy Use Through Low-cost Software-based Airflow Optimization by mgevelber and 2 others
Interactive Business Energy and Emissions Dashboard for Cities by Climate Smart
Create a dashboard that allows cities to understand their business emissions by sector, business size, emissions source, and track progress
My Energy Xpert: a home and small business energy management solution by energyX Solutions
My Energy Xpert is a SMART energy audit and monitoring app empowering people to save time, money and lower their energy footprint.
Interactive Business Energy and Emissions Dashboard for Cities by Climate Smart
Create a dashboard that allows cities to understand their business emissions by sector, business size, emissions source, and track progress
My Energy Xpert: a home and small business energy management solution by energyX Solutions
Interactive Business Energy and Emissions Dashboard for Cities by Climate Smart
& Awardees
23
Contests
550
Submissions
37
Winners
Grand Prize Winner |
Eden Full & Jake Schual-Berke
SunSaluter: a low-cost, passive solar tracker that produces clean water by SunSaluter
"SunSaluter's goal is to make energy and water more accessible through one simple device, and to help local entrepreneurs build businesses around it," they write in their proposal, "at a target cost of $10 per SunSaluter, this could be accomplished for $66M. We believe this could be achieved by 2024."
Honorable Mentions |
Beatriz Martinez, Romera, Dirk Heine, Goran Dominioni, Arne Pieters & Susanne Gaede
An economically and legally viable mechanism for internalizing marine emissions by Ship-Emissions-Levy
Beatriz Martinez, Romera, Dirk Heine, Goran Dominioni, Arne Pieters & Susanne Gaede. They proposed a mechanism for internalizing marine emissions that combines charging a levy on emissions from international maritime shipping, with a fuel levy on fuel consumption by domestic shipping.
Vijnana Bharati
National campaign in India aimed to create a network of young Energy Ambassadors by Vijnana Bharati
Vijnana Bharati proposed, a national campaign on energy conservation and renewable energy in Indian schools that is working towards building a network of energy ambassadors. The campaign already has support from the Indian government, and is well on its way to fostering a more environmentally-aware generation of Indians.
Global Contests |
Solar Dollars: The World Currency to Price and Finance Carbon Mitigation by Global4C.org
The Solar Dollar is a currency for the people: to be issued as a reward for climate mitigation and financed by Green Quantitative Easing.
Make Climate A Top Priority for Action by Every Global Citizen and Organization by Mobilize Now
Use positive messages and small incentives to mobilize citizens and private/government organizations to combat climate change.
Regional Contests |
Plan to build low-carbon cities from the ground up in the United States by NewCityFounders
A revenue neutral, steadily rising fee on GHG emissions will steer the economy to a clean energy future and establish US climate leadership.
Contests |
Seeding Science Knowledge by engaging local experts by Geocitizens
Local prioritization and testing of adaptation practices supported by a collaborative mapping tool will out scale lessons learned globally.
Sand Dams for Climate Change Adaptation in Ghana by G4CC
The project aims to build six sand dams in the Upper East region of Ghana to capture and store water for domestic and agricultural purposes.
3D Printing Hempcrete - The People will know what they want once they see it... by AFMPPA
Build a full size 3D Printed Hempcrete Structure to demonstrate Hemp/3D Printing as a sustainable alternative to traditional construction.
Robotic Solar Armada by Helionauts
Synthetic fuel produced by solar harvesting ships can accelerate the transition to renewable energy by obviating an infrastructure overhaul.
Distributed Plug & Play Consumer Solar Panels - Add Capacity, Shed Carbon by InSite Energy, LLC.
Distribute Plug & Play solar panels to home owners, and apartment renters to make clean energy on site where you use it.
The Tidal Pump, now at proof of concept, aims to shift large volumes of liquid in the ocean at lowest possible cost using new technology.
SunSaluter: a low-cost, passive solar tracker that produces clean water by SunSaluter
The SunSaluter is a low-cost solar panel rotator which boosts efficiency by 30% and produces four liters of clean drinking water each day!
Nualgi - Diatom Algae - Oxygen by Nualgi-Diatom Algae
Diatom Algae produce about 20 to 25% of all Oxygen in the world. All the oxygen required to treat sewage can be produced by Diatoms.
Utilizing Molecularly Imprinted Technology to Selectively Filter Pollutants by alexkrotz
Molecular Imprinted Polymers present a unique opportunity to make inexpensive materials that selectivly bind to and filter pollutants.
United States Industrial Collaboration Agency (USICA) by SolarVibes
Removing inefficiencies of industrial innovation by facilitating collaborations and accelerating R&D solutions toward earlier adoption.
Integrating REDD+ and Green Economic Growth for sustainable forest landscapes by charlesehrhart
Using green economic growth to create scalable, replicable financial incentives for the sustainable management of forest landscapes.
Bamboo Air Purification by Joseph5Chepsoi
Bamboo grows in most soils, environments, climate with minimal tillage, input, care and naturally purifies the air we breathe.
Vertical Hydroponic Farms feed urban communities while reducing carbon emissions by Green Guys
An online management and finance platform for sustainable forestry projects. by OpenForests
The Eyes of Virunga: From Poacher to Protector by Virunga Heroes
YES! by A. Semeniuc
Unleash the energy of millions by making climate action simple, relevant and fun by Dylan H + Quentin P
It's 2050 and your granddaughter, Ohno, is suffering. Your climate action today will change her world and transform her life for the better.
National campaign in India aimed to create a network of young Energy Ambassadors by Vijnana Bharati
National level campaign on energy conservation and renewable energy in Indian schools, aimed at building a network of Energy Ambassadors
Networking Rwanda's Air Pollution Problem with Low-Cost Air Quality Sensors by langleydew
Establishing a low-cost air quality sensor network in Kigali, Rwanda with publicly accessible data empowering the public and policies.
An economically and legally viable mechanism for internalizing marine emissions by Ship-Emissions-Levy
Making polluters pay for climate damage caused by maritime emissions by overcoming avoidance, legal, data and global coordination issues.
The Little Engine That Could: Revenue Neutral Carbon Fee and Dividend by NewCityFounders
Low-carbon cities can be engineered and built today for livability, sustainability, resiliency, energy-efficiency and affordability
fulFILL: A delivery service for household products without wasteful packaging by fulFILL
fulFILL aims to combat the waste epidemic by revolutionizing the way we consume common household products.
Nualgi - Diatom Algae for Sewage Treatment by Nualgi-Diatom Algae
Using Nualgi to grow Diatoms is the most economical and sustainable solution to sewage treatment,growing fish and fuel and sequester carbon.
GHG Rescue; Buying Waste from Households and selling it to Recycle Companies by G4CC
The GHG Rescue Project seeks to buy segregated waste from households in Accra, Ghana and sell it to Recycling Companies.
Partner Contests |
Linking Climate Information to Ecological Calendars: An Appointment With Drought by mattbarlow
Prepare for climate change and apply regional drought information in the Pamirs by linking climate science with human ecological calendars.
Biodiversity collections as tools for understanding changes in the Pamir Mtns by ellwood
Anticipate and adapt to changing phenological patterns in the Pamir Mtns through the use of historical and contemporary biodiversity data.
Recalibration of traditional calendars through participatory data collection by TedW
Traditional knowledge, participatory science, and modern data analytics to create climate- smart, farm-scale agricultural body calendars
Sustainable Urban Food Initiative (SUFI) for Climate Change Resilience by PlaneTiers
SUFI provides an integrated hub that sustainably manages the urban energy-water-food nexus in an era of climate change.
The Loop Transit System by SomClimateAction
The Loop transit system is a fleet of fare-based passenger vehicles that travel planned route within city limits on a continuous schedule.
CarbonGobbler - Engaging Citizens And Business In Lowering Carbon Emissions by CarbonGobbler
Manage and Control Carbon Emission biggies, energy use and transportation choices with CarbonGobbler. While saving money too.
Just Green It – Purchasing Electricity from Renewable Sources for Somerville by IdeatingGreen
Urban Wood: Somerville’s Wood Construction Legacy and Future Carbon Neutrality by Team Urban Wood
CarbonGobbler – Engaging Citizens And Business In Lowering Carbon Emissions by CarbonGobbler
Electricity at the lowest societal cost: holistic optimization by EMERGE
Electricity at the lowest societal cost by optimizing techno-economic, environmental and health impacts of electricity infrastructure growth.
Establish Local Energy Interaction Strategies (LEIS) as driver to GHG reductions by G4 Energía
Highly replicable solution for Latin America reality based on local energy interaction strategy to create a win-win network to GHG reduction.
China's rural-urban intensification. Envisioning the habitat of the future by tcatta
Design strategies to improve resilience of Chinaâ€™s rural towns. Envisioning harmonious relationship between the rural and urban environments.
Generation of Biogas energy from animal waste for use in rural areas by asigealex
The use of Biogas energy from animal waste is a sustainable source of energy to meet the domestic energy demands for cooking and lighting.
Making every watt count: An intelligent demand side management system on phones by Energy-Save (Esave)
A smart energy audit on consumersâ€™ phones displaying their real time electricity consumption, wastage sources n tips to reduce energy use.
Pedal power by New Latin America
An initative thar reduce green house gases emissions; while you generate electricity, get a healthier life and reduce vehicular traffic.
Cold Spot: Evaporative Cooling through Ceramics by ceramics
Designing an oasis in the heat island of Cambridge.
Cooling with Urban-Ecosystem Services by Biomimicry NE
FIGHT urban heat island effect like a forest. Capture water, filter light, and evaporate to keep cool.
Variations on the Velarium by Michael D Newton
Apply ancient Roman invention (the velarium) imbedded w/thin-film solar cells above urban hot spots to disrupt heat island effect.
Lighten all municipal parking lot surface temps with white paint & healthy tree boats
Depave driveways and increase rain barrel irrigation by qyz
Depave driveways to decrease urban heating!
& Awardees
18
Contests
582
Submissions
34
Winners
Grand Prize Winner |
Danielle Dahan
Improve Building Energy Performance: Green Job Skills Training by danielledahan
“"As high performance green buildings increase in complexity," Dahan writes in her proposal, "we need to give building technicians the skills to maintain buildings and achieve high performance energy goals." The curriculum, when in full motion, is projected to save 111 million metric tons of carbon each year in the United States alone.
Honorable Mentions |
Adele Morris
A Carbon Tax in Pro-Growth Fiscal Reform by adelemorris
Adele Morris is a fellow and policy director of the Climate and Energy Economics Project at the Brookings Institution. She proposed a carbon tax that creates pro-growth tax reform, while also protecting the poor and reducing the deficit.
Anne-Marie Soulsby and Mandolin Dotto Kahindi
A Collaborative Solutions Communication Platform by jlgula
The proposal presents Tunza Kwa Faida (Benefits for All), a platform that combines a radio show and two-way text messaging to help coastal Tanzanians increase their resilience to climate change.
Job Taminiau, Gordon Schweitzer, Kathleen Saul and Sardar Mohazzam
Democratic Finance: Energy Of the People, By the People, For the People by alex7728
The group from the United States, Netherlands, and Pakistan proposed installing community-funded solar projects on unused federal rooftop space, which, they predict could mitigate millions of tons of CO2 emissions.
Global Contests |
Settle the carbon debt and release the power of example! by Jan Kunnas
I suggest how to leave the dispute about historical responsibility for climate change behind and unleash the power of example.
Carbon-Free, Fast by Dennis Peterson
An aggressive approach that doesn't break the bank.
Contests |
Stop Groundwater Plan - Save $8 Billion by Majdi & Manaugh
Systems thinking leads to a regional desalination plan to replace a narrowly conceived, costly and destructive groundwater pumping plan.
Future mangroves by Poh Poh Wong
Mangroves to address sea level rise and coastal erosion.
Municipal adaptation strategy to climate change in Costa Rica by Sergio A. Molina-Murillo
Implementation of climate strategy at Municipal level by empowering and training local actors with focus on agriculture and water resources.
COFA: Climate Optimized Fenestrations for Buildings in Developing Nations by Prof. Pradeep Kini
Climate adaptive energy conserving commercial building envelopes with analytical tool COFA:Climate Optimized Fenestration Assembly.
Improve Building Energy Performance: Green Job Skills Training by Danielle Dahan
As high performance green buildings increase in complexity, technicians need the skills to maintain buildings and achieve energy goals.
Passive Architectural Design Index: A benchmark for passive building techniques by Sriraj Gokarakonda
Unless sufficiency is addressed with same rigour as efficiency, energy usage is inadvertently increased resulting in a rebound effect.
Food bikes: the low capital, low footprint alternative to food trucks by John Romankiewicz
Food bikes are the low capital, low footprint alternative to food trucks, bringing positive economic and community development.
Grocery Carbon-Coloured Shelving by Hannah Ritchie
Design a coloured shelving system for grocery products based on carbon footprint,to help consumers make better-informed choices.
"Save the Baby" Global Data Commons for Baby Care by Chika Kuroda
Save the Baby: Global Data Commons created by digitized maternal and infant health record for disaster risk management.
We Are Ready (WAR) by Pooran Prasad Rajanna
We Are Ready is a platform to crowd source disaster info, send disaster alerts, plan evacuation, track people & identify medical needs.
Turn your phone into a virtual power plant and get paid to optimize your energy. by Matt Duesterberg
Pay people to use less electricity at key moments when their energy is coming from the grid's most carbon-intensive power plants.
Path To Zero - Energy Supply by BAS Nederland, Arash Aazami
Bring cities to energy independence through carbon, energy and cost neutrality.
STRAUT Aero: Solar Hot Air Generator by STRAUT, Sharad Parekh
STRAUT AERO Innovative design solar hot air gen. massive potential 4 addressng industrial process heat req. economic wthout subsidies.
fulFILL: A delivery service for household products without wasteful packaging by fulFILL
fulFILL aims to combat the waste epidemic by revolutionizing the way we consume common household products.
Synergies of Reforestation & Community Empowerment in Kenya by The Kijani Team, Tobias Lohse
Reforestation as convergence of climate change mitigation and adaptation with socioeconomic well-being and ecological restoration.
Visualizing climate-changed futures with serious play by FutureCoast, Ken Eklund
FutureCoast: a fun storymaking game with voicemails leaked from climate-changed futures. They appear in our time as mysterious chronofacts.
Fossil fuel divestment: Building a social movement for collective climate action by Fossil Free MIT, Geoffrey Supran
Fossil fuel divestment campaigns shift public opinion, empower young organizers, and generate sociopolitical willpower for climate action.
Batteries on the move for a more efficient world by Lance Noel of eRev
eRev finances V2G-capable electric vehicles so they provide grid storage, generate revenue, and cost less than traditional vehicles.
Pollution meter by Shenbagarajan Pandiarajan
Pollution prediction meter in automobiles & display panels over the roads + Emissions trading.
Sno-Caps: The People's Cap-And-Trade by Sno-Caps Team, James D'Angelo
Employing a new form of scalable regulation, we can launch a global cap-and-trade today that sidesteps politics and incentivizes the masses.
A Carbon Tax in Pro-Growth Fiscal Reform by Adele Morris
Use a carbon tax for pro-growth tax reform, protecting the poor, deficit reduction, and reducing less efficient policies.
The Little Engine That Could: Revenue Neutral Carbon Fee and Dividend by CitizensClimateLobby
A revenue neutral, steadily rising fee on GHG emissions will steer the economy to a clean energy future and establish US climate leadership.
REACC (RECYCLED DEBRIS FOR ADAPTATION TO CLIMATE CHANGE) by Victor Blanco
Cement Production is the 4th global fossil carbon emission activity and itÂ´s time to reduce and recycle debris for healthy environment.
Using Biogas Technology To Improve Sanitation And Mitigate Climate Change by Osero Shadrack Tengeya
Uncontrolled greenhouse gas emission from sewage waste will be reduced by using simple technology like utilizing this waste in making biogas.
Partner Contests |
A collaborative solutions communication platform by Anne-Marie Soulsby
Solutions platform users collaboratively share adaptations to improve livelihoods & increase coastal Tanzanian's climate change resilience.
The world according to CLIVE (CoastaL Impact Visualization Environment) by Adam Fenech
CLIVE allows citizens to visualize 3D sea-level rise and storm surge scenarios at local community scales using past data and IPCC models.
Path To Zero - Transforming energy inefficient buildings to green buildings by BAS Nederland, Arash Aazami
Bring cities to energy independence through carbon, energy and cost neutrality.
GreenUp - Engaging communities to build green & resilient cities in India by Aditi Sen
A crowdsourcing platform that provides funds and educational resources to encourage adoption of green infrastructure practices in cities.
Democratic Finance: Energy Of the People, By the People, For the People by The Energy Commons, Job Taminiau
A people-funded green energy revolution that reconnects people to energy and repositions the US as a global leader.
Climate Change is Elementary: Huge Green Fundraiser for Schools by Dave Finnigan
Kids promote the program. Vendors selling green products automatically give discounts to parents and rebates to PTAs for family purchases.
Make Our Economic Reasoning Consistent with Intergenerational Justice by Timothy Damon
Empower youth to advocate for a just valuation of their future in the economics of climate change, thus unlocking ambitious climate action.
Indicators for Sustainability by TierraVida, Marina Mansilla Hermann
Building a youth-led citizen movement to address climate change from the bottom-up.
& Awardees
18
Contests
374
Submissions
28
Winners
Grand Prize Winner |
Dr. Geoffrey Hay and the HEAT team
Whose Home is wasting more energy, yours or your neighbours? by drgeoff
"We're excited about being recognized and having our work recognized, but we're also excited about the other proposals we've been in the company of. There were some outstanding proposals, and we're grateful to have been part of that group", says Hay in a thank you video.
Honorable Mentions |
Peggy Liu and Chenyu Zheng
Reimagine prosperity; reframe sustainability; reshape consumerism by JUCCCE
JUCCCE (Joint US-China Collaboration on Clean Energy), a Shanghai-based non-profit organization, were awarded an Honorable Mention for their proposal, "Reimagine prosperity; reframe sustainability; reshape consumerism". Their "China Dream" project seeks to develop a new, more sustainable vision of the good life for the growing Chinese middle class.
Contests |
George Hops Farmers Association Climate Adaptation & Resilience Programme by Victor Blanco
Hops production is threatened by climate change. Farmers must adapt to secure the benefits of their enterprise.
Steps to an Ecology of Mind -- Climate Change Impact/Adaptation Strategy in Africa by AHP/FPD: Monika dos Santos
Africa contributes the least of any continent to global warming. People living on the continent are in line to be the hardest hit.
Nicaragua: Carbon Sink, Economic Driver & Medicinal Plant Preservation by Cecalli Esteli - Pia Jensen and Alejandro Floripe
Poverty stricken & war torn, Nicaragua's people strive for healthy environs & Cecalli has ambitious plans to improve life via reforestation.
Woody Agriculture: Breeding & Implementing Hazelnut & Chestnut as Staple Crops by Badgersett Research
Woody Agriculture converts annual cropland to staple-food-producing woody plants, capturing 3 times the carbon. It's time to scale it up.
EE-based Formalization by UNDP Montenegro
Using energy efficiency as an incentive for formalization of illegal buildings in Montenegro.
Smart LED Streetlamps system through the implementation of mesh networks by Hector Bracamontes
Streetlamps are part of the city's street furniture. Their electricity consumption represents a high percentage of a small-size city budget.
Spontaneous Conversion of Power Plant CO2 to Dissolved Calcium Bicarbonate by Greg Rau, Ken Caldeira and Phil Renforth
As in SO2 mitigation, spontaneously remove CO2 from power plant flue gas using wet limestone scrubbing.
Integral Fast Reactors Can Power The Planet by Tom Blees
Mass-producible integral fast reactor modules can power every country on earth for nearly a millennium with waste products already at hand.
It's the 21st Century. Where's My Fusion Reactor? by Dennis Peterson
Cheap, practical fusion may be closer than you think.
Building consensus, enabling adaptation: facilitating collective risk management by Danya Rumore, Lawrence Susskind, Patrick Field, and Carri Hulet
Here's a collaborative approach that at-risk communities can use to move forward with adaptation. Help us implement it!
Photovoice for Vulnerability: Disaster Adaptation in Central Philippines by Yanjun Cai
Empower the disadvantaged community through participatory photography to reveal unheard vulnerability and form adaptation capacity.
Saving the Planet, v2.0 by Greg Rau, Ken Caldeira, and Max Platzer
Interested in air CO2 removal, carbon-negative fuel, saving the ocean, and redrawing the global energy map?
Whose Home is wasting more energy, yours or your neighbours? by Geoff Hay
FREE personalized HEAT Scores, HEAT Maps, Hot Spots, GHG estimates and waste-heat comparisons/competitions for homes, communities & cities.
Cool Food - empowering climate friendly food choices on a daily basis by Cool Food
Team members: Viv Baker, Gerard Bisshop, Diana Donlon, and Francesca Allievi. A "Cool Food" rating system indicating climate and other impacts would empower consumers to choose climate-friendly foods.
Reimagine prosperity; reframe sustainability; reshape consumerism by JUCCCE
Use a carbon tax for pro-growth tax reform, protecting the poor, deficit reduction, and reducing less efficient policies.
Replacing the use of diesel pumps in agriculture by IDEI - Amitabha Sadangi
Replacing diesel pump use for irrigation by promoting Treadle Pumps and preparing a toolkit for capacity building.
Fish River River Hydro Scheme by Peter Jordaan and Magun Janietzche
A run-of-river hydroelectric system with a novel new approach that fundamentally differs from the standard hydro methodology.
From the Crowd to the Base: Crowdfunding for Local Climate Action by Konrad Ritter and Diann Black-Layne
Crowdfunding channeled through Microfinance gives urban and rural poor access to renewable energy to transform lives.
Sunk Investment Map: Show the Personal Property Impacts of Climate Change by Keith Brower Brown
Let's make climate change personal--with a map to show Americans how floods, storms and wildfire could impact their homes and businesses.
CliO - A Virtual Green Pet that Responds With Low-Carbon Lifestyle Choices by Yale FES
Team members: Rebeka Ryvola, Bo Uuganbayar, Rocio Sanz, Angel Hsu, and Vrinda Manglik. Meet CliO! A virtual green pet who responds with your low-carbon lifestyle choices.
Smart Mobility for the 21st Century by Galen Wilkerson
A bottom-up mobility-centered approach, to simply get individuals from A to B by intelligently using available data and mobile devices.
Open CarPool - Open Source for Efficient Commute by eBay Green Team - Clemens Rath
A simple open source framework for carpools within companies reduces traffic in daily commute and fosters ridesharing acceptance.
Mission 2030 - Zero Construction Renovation Demolition Waste to Landfill by 2030 by CRI Council - Renee Gratton
This call-to-action is a change management initiative, to change how the building industry views and deals with waste and other resources.
Partner Contests |
Dual purpose fracking by John Dowse
Increased fracking will create sites for CO2 sequestration. The gas/oil piping will be suitable for CO2 once the well is largely exhausted.
Methane-sniffing drones with distributed mobile sensors! by Mark Capron and Clifford Goudey
States require drillers to "buy" wasted fuels from gas utilities. The utilities deploy methane-sniffing drones and mobile sensors.
Transition Lab: Scalable Resilience Education and Models for New Local Economies by Transition Lab - Russell Evans and Jake Hanson
A replicable grassroots education teaching the skills and mindset for local resilience, powered by new and viable economic models.
Integral GIS - A conceptual framework for participatory adaptation planning by Lynn Rosentrater
A planning approach that uses common tools in innovative ways to communicate about climate change and facilitate adaptation decision-making.
Seasonal Migration Routes Identification System and Workshops: A New Strategy by Michael Houle
Prepare Vietnamese cities' housing infrastructures for potential seasonal migrants influx from Ca Mau and Kien Giang provinces, Vietnam.
& Awardees
2
Contests
6
Winners
The Planet or Your Plate: Mitigate Climate Change by Going Meatless by beach-babe-in-fl
An environmental activist and founder of the Daily Kos Meatless Advocates, Nancy A. Heitzeg, of St. Catherine University, and Gerard Wedderburn Bisshop, advisor and senior scientist at the World Preservation Foundation.
& Awardees
1
Contests
4
Winners
Global Contests |
Realistic Climate Proposal by Timothy Cronin, Arthur Gueneau, Jennifer Morris, and Paul Kishimoto
& Awardees
1
Contests
4
Winners
Global Contests |


Lightning Web Components (LWC) quick overview
On December 13 Salesforce announced Lightning Web Components (LWC) a new way to build components on the Salesforce platform. Here is my take.
Expanding Lightning Family
"Lightning" serves now as a family name for modern Salesforce development. LWC are the latest family members. We now have:
- Lightning Platform: the runtime environment
- Lightning Design System: providing the visuals
- The Aura Framework: Implementing components for lightning
- ng-lightning: Angular components using the Lightning Design System - a open source contribution, not affiliated with commercial Salesforce
- Lightning React: React components using the Lightning Design system
- Last not least: Lightning Web Components (LWC)
The linked blog entries explain the rationale, so check them out.
Same but different
The look and feel doesn't change, the way you code them does. For now SFDX, Visual Studio Code and the Salesforce Extension Pack are to goto tools for the Spring 2019 release.
Instead of up to 8 files you only need 4. For one: all JavaScript (3 files) now lives in one ES6 JS file and we don't have an auradoc or svg file for now
Co-existence
Existing Aura based components will continue to work and will even allow to contain LWC components.
What you can't do is putting Aura components inside LWC. So your transition to LWC is bottom-up, not top-down
Cha cha cha changes
There are lots of changes in syntax and structure. Here is what I found on first glance when comparing Aura and LWC:
<aura:attribute>
->@api
{!myAttribute}
->{myAttribute}
<aura:iteration...>
->for:each
<aura:if isTrue...>
->if:true / if:false
as element attribute<aura:component ...>
-><template>
{!v.facetName}
-><slot name="facetName">
<lightning:formattedText>
-><lightning-formatted-text>
(colon and camelCase replaced by lowercase and dash).THIS .red {}
->.red {}
CSS takes advantage of Shadow DOM encapsulation<aura:handler name="init" ...>
->connectedCallback();
- Expressions -> JavaScript (functions)
<aura:registerEvent ...>
-> DOM Eventsevent.fire()
->this.dispatchEvent(...)
<aura:handler ...>
->addEventListener()
There will be more, stay tuned.
Goodby $A
$A is the global object of the Aura framework, it has no place in LWC. Instead of $A.enqueAction(...)
you now simply import the @AuraEnabled
function and use it as regular JS function. What is gone for good is $A.createComponents
. Here you can use the render function to pick different predefined template (more on that in a future post).
Stay tuned for more!
Posted by Stephan H Wissel on 14 December 2018 | Comments (0) | categories: Lightning Salesforce WebDevelopment


This is a combination of source codes of OPQ and Inverted MultiIndex. In our impementation, we use the inverted multi-indexing technique to perform non-exhaustive search for OPQ. The original code of OPQ is implemented by MATLAB, which is used to transform the data vectors and query vectors for finding the minimal quantization distortion.
Yael
and VLFeat
libraries (for the Matlab code)C++11
(e.g., gcc 4.7
and above)boost
library (dev version) installed.To compile, go to src directory and type
sh ./build_debug.sh or ./build_release.sh
Note that the local directory of Boost and IntelMKL should be provided (CMakeLists.txt
).
To get OPQ indexing, one should first enter the Transform_Data
folder and run
main.m
file to get the transformed data vectors and query vectors, coarse vocabularies and fine vocabularies. Note that the directory of Yael and vlfeat library should be given. Then go to OPQ/script directory and run
./indexer.sh
to obtain the OPQ index.
./search.sh
Note that, in our experiment paper, we tune the c
value of OPQ search (i.e., size of neighbors to be visited) to achieve the trade-off between search speed and search quality (recall). The search performance (time and recall) results are kept in the OPQ/results
directory.


Police investigating after body found on Robinson Street
Officers were dispatched to the 800 block of Robinson Street just before 3:30 a.m. after receiving a report about a deceased man.
by Regina Leader-PostPolice are investigating the death of a man who was discovered dead on Robinson Street early Saturday morning.
According to a police news release, officers were dispatched to the 800 block of Robinson Street just before 3:30 a.m. after receiving a report of a deceased man.
When emergency crews arrived at the scene, paramedics confirmed the man was dead. Police then secured the scene and requested additional resources from the coroner as well as the forensic identification and major crimes units.
Few other details into the mans death were given but police expect more information to come to light as the investigation progresses.
Anyone with information that might aid in this investigation is asked to contact Regina police at<PHONE_NUMBER> or Crime Stoppers at 1-800-222-8477 (TIPS).


{% include head.html %}
{% include sidebar.html %}
{{ content }}
Want me to build your app / consult for your company / speak at your event? Good news! I'm an
iOS developer for hire
.


--- layout: member_profile title: "Theodoros Anagnos" permalink: /members/anagnos/ name: "Theodoros Anagnos" affiliation: "Landessternwarte" jointaffiliation: "University of Heidelberg" country: "Germany" position: "PhD Student" researchtitle: "Astrophotonic Applications" summary: " I work in the field of Astrophotonics which is an area of research that has emerged over the past decade in response to the increasing demands of astronomical instrumentation, that uses rapidly evolving technologies from Astronomy/Astrophysics and Photonics in order to improve modern astronomical instruments and observation techniques. New astrophotonics components are being developed at a rapid pace and have already many applications. Recent examples of such applications include spectroscopy, sky emission line filtering, interferometry and space, using components such as Bragg gratings inscribed inside fibers, integrated spectrographs, photonic lanterns, adaptive optics parts and fiber position technologies. As the next generation of telescopes gets bigger, a number of new challenges for telescope systems and instrumentation emerge. During my PhD in Landessternewarte in Heidelberg University, I will work with Professor Andreas Quirrenbach and Dr. Robert Harris, to develop new components for the future Extremely Large Telescopes (ELTs) and especially for the HIRES instrument. I will try to find the best to combine conventional and astrophotonic technologies in instruments. For the second part to my thesis I plan to follow up radial-velocity planets and experiment with new detection techniques. " prior: orcid: website: linkedin: rgate: research: ["Astrophotonics" , "Spectroscopy" , "Fibres" , "Waveguides", "Reformatters"] keywords: "Astrophotonics -- Spectroscopy -- Fibres -- Waveguides -- Reformatters" email<EMAIL_ADDRESS>image_path: /assets/img/member/anagnos.jpg ---
Current Research Summary:
{{ page.summary}}
Prior Research:
{{page.prior}}


#include "coap.h"
#include "handlers.h"
#include "tasks.h"
#include "client.h"
#include "server.h"
#include "queue.h"
#include "debug.h"
Go to the source code of this file.
Functions |
| void | coap_default_config (void) |
| | Load the default configuration.
|
| int | coap_client_task_regist (coap_user_type user_type, coap_user user) |
| | Register a user task.
|
| void | coap_client_config (char *file_name) |
| | Parse the configuration file of the client.
|
| int | coap_client_init (void) |
| | Initialization of the client.
|
| int | coap_client_run (int tasks, coap_task *get_task(void *d), void *data) |
| | Main loop function for the CoAP client.
|
| void | coap_client_cleanup (void) |
| | Cleanup the client mutex.
|
| coap_task * | coap_client_create_task (coap_user_type type, char *server_name, uint8_t oc, uint16_t payload_len) |
| | Allocate memory for a single task based on serv_name, oc and payload_len.
|
| int | coap_client_add_option (coap_task *task, uint8_t index, uint8_t option_id, uint16_t length, uint8_t *data) |
| | Add coap options for a client task.
|
| uint8_t * | coap_client_create_token (coap_task *task) |
| | Create the token option.
|
| int | coap_client_fill_msg (coap_task *task, coap_msg_type type, uint8_t code, char *payload, uint16_t payload_len) |
| | Fill the message of a task with the type, code and payload.
|
| int | coap_serv_handler_regist (coap_req_type req_type, coap_req_handle req_handle) |
| | Register a server handler.
|
| void | coap_server_config (char *file_name) |
| | Parse the configuration file of the server.
|
| int | coap_server_init (void) |
| | Initialization of the server.
|
| int | coap_server_run (void) |
| | Main loop function for the CoAP server.
|
| void | coap_server_cleanup (void) |
| | Cleanup the server mutex.
|
Variables |
|
char * | coap_server_name |
| | The FQDN of the targeted server.
|
|
uint16_t | coap_port |
| | The CoAP port.
|
Detailed Description
- Date:
- Dec 14, 2011
- Author:
- Jichang Hou
The CCOAP library API for client/server application developpers.
Function Documentation
| int coap_client_add_option |
( |
coap_task * |
task, |
|
|
uint8_t |
index, |
|
|
uint8_t |
option_id, |
|
|
uint16_t |
length, |
|
|
uint8_t * |
data | |
|
) |
| | |
Add coap options for a client task.
- Parameters:
-
| task | pointer to the task for with the option is added |
| index | index at the list (the option count) |
| option_id | the option id |
| length | length of the option data |
| data | pointer to the option data |
- Returns:
- -1 if error, or 0 if success.
| void coap_client_cleanup |
( |
void |
|
) |
|
Cleanup the client mutex.
Must be called before exiting.
- Returns:
- void
| void coap_client_config |
( |
char * |
file_name |
) |
|
Parse the configuration file of the client.
- Parameters:
-
| file_name | the client config file name |
- Returns:
- void
| coap_task* coap_client_create_task |
( |
coap_user_type |
type, |
|
|
char * |
server_name, |
|
|
uint8_t |
oc, |
|
|
uint16_t |
payload_len | |
|
) |
| | |
Allocate memory for a single task based on serv_name, oc and payload_len.
- Parameters:
-
| type | application type |
| server_name | server name. |
| oc | element count for the option list. |
| payload_len | length of the payload |
- Returns:
- NULL for error, or the task newly created.
| uint8_t* coap_client_create_token |
( |
coap_task * |
task |
) |
|
Create the token option.
- Parameters:
-
| task | pointer to the task for which the token must be created |
- Returns:
- NULL for error, or a pointer to the token option
| int coap_client_fill_msg |
( |
coap_task * |
task, |
|
|
coap_msg_type |
type, |
|
|
uint8_t |
code, |
|
|
char * |
payload, |
|
|
uint16_t |
payload_len | |
|
) |
| | |
Fill the message of a task with the type, code and payload.
- Parameters:
-
| task | pointer to the task for which the message must be filled |
| type | message type |
| code | message code |
| payload | message payload |
| payload_len | payload length |
- Returns:
- -1 for error, or 0 for success
| int coap_client_init |
( |
void |
|
) |
|
Initialization of the client.
Must be called at startup.
- Returns:
- -1 for error, or 0 for success
| int coap_client_run |
( |
int |
tasks, |
|
|
coap_task * |
get_taskvoid *d, |
|
|
void * |
data | |
|
) |
| | |
Main loop function for the CoAP client.
- Parameters:
-
| tasks | the number of tasks |
| get_task | callback function that retrieves the task to perform |
| data | data given as argument to the get_task function |
- Returns:
- 0 on success, -1 on failure
| int coap_client_task_regist |
( |
coap_user_type |
user_type, |
|
|
coap_user |
user | |
|
) |
| | |
Register a user task.
- Parameters:
-
| user_type | application type. |
| user | callback function called upon message reception |
- Returns:
- -1 for error, or 0 for success
| void coap_default_config |
( |
void |
|
) |
|
Load the default configuration.
- Returns:
- void
| int coap_serv_handler_regist |
( |
coap_req_type |
req_type, |
|
|
coap_req_handle |
req_handle | |
|
) |
| | |
Register a server handler.
- Parameters:
-
| req_type | application type. |
| req_handle | callback function called upon message reception |
- Returns:
- -1 for error, or 0 for success
| void coap_server_cleanup |
( |
void |
|
) |
|
Cleanup the server mutex.
Must be called before exiting.
- Returns:
- void
| void coap_server_config |
( |
char * |
file_name |
) |
|
Parse the configuration file of the server.
- Parameters:
-
| file_name | the server config file name |
- Returns:
- void
| int coap_server_init |
( |
void |
|
) |
|
Initialization of the server.
Must be called at startup.
- Returns:
- -1 for error, or 0 for success
| int coap_server_run |
( |
void |
|
) |
|
Main loop function for the CoAP server.
- Returns:
- 0 on success, -1 on failure


|
AADC
|
class for road sign detection More...
#include <CRoadsignDetectionDLL.h>
Public Member Functions | |
| CRoadsignDetection (cString srcFolderPath) | |
| tVoid | LoadFileSign (cString filename, RoadSign enumGiven, tInt minHessian, tInt shapeIdentifier) |
| virtual tBool | init (tInt imgWidthIn, tInt imgHeightIn, tInt imgBytesPerLineIn) |
| virtual tInt | update (tUInt8 *imgRawData) |
| virtual tVoid * | getProcessedData () |
| virtual tBool | shutdown () |
| virtual tVoid | setParam (cString paramName, tFloat64 paramValue) |
| virtual tInt | getProcImgBytesPerLine () |
| virtual tInt | getProcImgSize () |
| virtual tInt | getProcImgBitsPerPixel () |
| virtual tVoid | setWidth (tInt inWidth) |
| virtual tVoid | setHeight (tInt inHeight) |
| virtual tVoid | setBytesPerLine (tInt inBytesPerLine) |
| Public Member Functions inherited from roadsignDetection::IRoadsignDetection | |
| virtual | ~IRoadsignDetection () |
class for road sign detection
this class was developed as prototyp for the road sign detection. It can be used as basic implemention for further work. It loads images in the defined source and is used by the update member function The processing in this class is based on the code published under https://sites.google.com/site/mcvibot2011sep/home. For further documentation refer to this site.
Definition at line 26 of file CRoadsignDetectionDLL.h.
| roadsignDetection::CRoadsignDetection::CRoadsignDetection | ( | cString | srcFolderPath | ) |
constructor of the class
| srcFolderPath | the path where the images of the roadsigns are located |
Definition at line 63 of file CRoadsignDetectionDLL.cpp.
|
virtual |
over this function the processed data can be fetched
Implements roadsignDetection::IRoadsignDetection.
Definition at line 348 of file CRoadsignDetectionDLL.cpp.
|
inlinevirtual |
get the BitsPerPixel of the processed Image
Implements roadsignDetection::IRoadsignDetection.
Definition at line 72 of file CRoadsignDetectionDLL.h.
|
inlinevirtual |
get the Bytesperline of the processed Image
Implements roadsignDetection::IRoadsignDetection.
Definition at line 68 of file CRoadsignDetectionDLL.h.
|
inlinevirtual |
get the ImgSize of the processed Image
Implements roadsignDetection::IRoadsignDetection.
Definition at line 70 of file CRoadsignDetectionDLL.h.
|
virtual |
inits the dll with the width, height and BytesPerLine
| imgWidthIn | width of input data |
| imgHeightIn | Height of input data |
| imgBytesPerLineIn | BytesPerLineIn of input data |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 102 of file CRoadsignDetectionDLL.cpp.
| tVoid roadsignDetection::CRoadsignDetection::LoadFileSign | ( | cString | filename, |
| RoadSign | enumGiven, | ||
| tInt | minHessian, | ||
| tInt | shapeIdentifier | ||
| ) |
loads image from file and appends this sign to list
| filename | filename of image (absolute path) |
| enumGiven | enum of this roadsign |
| minHessian | matrix for SurfFeatureDetector |
| shapeIdentifier | 1=circular, 2=triangular; |
Definition at line 78 of file CRoadsignDetectionDLL.cpp.
|
inlinevirtual |
sets the Bytesperline of the input data
| inBytesPerLine | new Bytesperline of the input data |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 85 of file CRoadsignDetectionDLL.h.
|
inlinevirtual |
sets the height of the input data
| inHeight | new height of the input data |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 81 of file CRoadsignDetectionDLL.h.
|
virtual |
sets the parameter with the given name to the new value
| paramName | name of the parameter |
| paramValue | new value of the parameter |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 406 of file CRoadsignDetectionDLL.cpp.
|
inlinevirtual |
sets the width of the input data
| inWidth | new width of the input data |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 77 of file CRoadsignDetectionDLL.h.
|
virtual |
shuts the filter down
Implements roadsignDetection::IRoadsignDetection.
Definition at line 401 of file CRoadsignDetectionDLL.cpp.
|
virtual |
over this function new rawdata can be put in the dll
| imgRawData | pointer to rawdata |
Implements roadsignDetection::IRoadsignDetection.
Definition at line 117 of file CRoadsignDetectionDLL.cpp.


Programme
Jump to...
SATURDAY AFTERNOON 3:30pm-6:30pm
1. FIRST SESSION 3.30pm (90 min) - Buy Tickets
1-1 WRITTEN / UNWRITTEN
Outside a maternity ward, a Roma family is announced their underage daughter has just had a baby girl. Pardică (50) doesn’t seem to celebrate the moment; he is very displeased with this early pregnancy, for which he blames his wife. However, things become even tenser when a hospital employee asks them to sign some papers and discovers issues related to their IDs and their status as parents of the underage new mother. The imminent danger of state authorities separating them from their daughter determines Pardică to take action.
1-2 CAUTIONARY TALES
A bizarre incident as a young boy left Aaron with an unusual facial disfigurement. Isolated and vulnerable, Aaron seeks comfort in the friendship and understanding of an unexpected group of outcasts.
1-3 KARMAACCOUNT
A man is heading ruthlessly towards his goal and loses connection to what he once was: A child!
1-4 BRITISH BY THE GRACE OF GOD
Set in Scotland during the summer of the ‘Brexit’ referendum, British by the Grace of God follows Irene as she struggles to find her place in the world as a mother and wife.
1-5 MY BAKERY BLOSSOM
An extremely shy young man is in love with the girl at his local bakery, but he doesn't have the courage to tell her how he feels. On the morning of her last day at work, he realizes it's now or never. A tragicomedy based on the German tweets of @Naum_Burger.
1-6 THE ME I ONCE WAS
A poetic Spoken Word piece performed by a survivor of her own childhood.
1-7 BORN OF STONE
Completed just a few weeks before Sciola’s recent passing, Born of Stone is an immersion inside the sights and sound of remarkable artists, and inside his belief that stones are not just the material that gives shape to the universe, but that they are alive, plastic, a fundamental way to communicate with nature.
1-8 ALRIGHT
Jenna, a 9 year old girl, experiences bullying from a male classmate. Seeking comfort in her teacher, she is advised that the boy hit her because he likes her. From that point onwards Jenna embarks on a journey of self-discovery to decide for herself.
30 min break
2. SECOND SESSION 5.30pm (60 min) - Buy Tickets
2-1 SERVAL AND CHAUMIER: MASTERS OF SHADOWS
1896. In a small French village, Jules Chaumier, professional magician, runs into Marcel Serval, his former disciple who left 10 years ago with his wife Jacqueline. They get into a fight, which should lead them to know who actually is the true "Master of Shadows"...
2-2 MOUSE
Vanessa and Danny are down on their luck, so when an unlikely can of Unica brand beans falls to their kitchen floor, they aim to squeeze out every penny.
2-3 A WHITE WALL
Meet photographer, Kazem Hakimi, a pillar of East Oxford’s multi-cultural community, who takes ‘street portraits’ of his beloved customers and friends at the back of his Fish and Chip shop. "A White Wall" follows Kazem’s journey to the launch of a major exhibition of his photography, exploring the vital role of the artist and the media in bringing people together.
2-4 NICOLE'S CAGE
The big wheel in the most exciting area of the city is the perfect real estate for Jakob and Nicole, a young, ambitious and firmly in the event culture anchored couple. When one of the popular gondolas becomes free, they do not hesitate to move into their first common flat. Unfortunately none of them both has taken the time to get to know his partner before.
2-5 AUSTERITY BRITAIN (GRENFELL)
Austerity Britain: Grenfell explores the ways in which the 'culture of cuts' played a part in one of the most horrific accidents in recent history, the Grenfell fire.
SATURDAY EVENING 8pm-10:30pm
3. THIRD SESSION 8pm (60 min) - Buy Tickets
3-1 NOT HERE, NOT THERE
Matti is 15. He really wants to make out with his girlfriend Paula or to go to the lake with his mates. But again he has to stay at home. The reason why should be kept secret... A short film about growing older and about love.
3-2 SPEAKING OF LOVE
Arne loves Birte, Birte loves Fritz, Fritz loves Elisabeth, Elisabeth loves Arne and everyone loves music. "Speaking Of Love“ deals with the longing for love and its failure.
3-3 FIFO
First in first out (FIFO) is a shelving technique used in supermarkets. Stephan must place the freshest products behind the oldest ones. Products nearing their sell-by date must be destroyed. When going to the bins in the basement, Stephan will have to face those who could still benefit from them, but who are excluded by the system. He will also have to confront who he was before getting a job.
3-4 THE LAST EULOGY
"The Last Eulogy" is a black comedy centered on the theme of remembrance and memory that everyone leaves behind after death. A story that wants to think about how remembrance and memory can be manipulated in the perception of whoever says forever goodbye to a relative. This is what Giorgio Priscoli, the head of a funeral agency launches, is launching a new service for the relatives of the dead: with the help of his collaborators, Giorgio transforms ordinary lives of ordinary men and women into brilliant existences or even adventurous. And manipulation of memory becomes collective joy and approval. Nothing is definitive, not even death.  The last word is never said.
30 min break
4. FOURTH SESSION 9.30pm (60 min) - Buy Tickets
4-1 EINSTEIN-ROSEN
Summer of 1982. Teo claims he has found a wormhole. His brother Óscar does not believe him - at least not for now.
4-2 EUNA
Meet Euna, a young woman, working in a factory, seeing friends, trying to come to grips with her life. But why is it that she seems to struggle so much and why do some folks behave so oddly, when she is around?
4-3 JUNGLE
For the past several months, the infamous refugee camp in Calais has been home for a young Afghani boy. His daily experiences and his feelings about life in the Jungle are reflected in his letters to his parents, which paint a picture of the inescapable situation of hopelessness. The young man keeps on repeating his mantra : « Soon I will be in England.»
4-4 FAMILY FOR SALE
A small hole in a condom back in 1980, and Xav is conceived…  Oscar is the father. Typhaine, the mother, is a disinherited bourgeois. Since the arrival of Petra, Typhaine can’t stop throwing herself against the wall to express her discomfort. Petra is Oscar’s mistress. Xav has tried getting used to his family, but eighteen years later, he’s had enough…
SUNDAY - CHILDREN SESSIONS 9:30am-1:30pm
1. WALLANDS/BRAZIL AND LOCAL ANIMATIONS 9.30am
(60 min) - Buy Tickets
Short films created in a one day workshop as part of the festival in our local school The Wallands and in a Brazilian school Instituto Acaia; plus short animations created by local children and the company Press Play Films.
1-1 UM DIA NA VIDA DE RENAN
1-2 UM DIA DE LETÍCIA
1-3 A DAY IN THE LIFE AT SCHOOL
1-4 PIPPA'S GROUP
INTERVIEWS AND AWARDS
1-5 BEING BORN
1-6 BISCUITS
1-7 A STORY OF DOMESTIC VIOLENCE
1-8 DAY IN LIFE OF A BATTERY
1-9 DONUT MAN
1-10 ELDERFLOWER
1-11 ELMO
1-12 MARTA AND WILLOW CAKE
1-13 LIFE OF A PIECE OF POPCORN
1-14 PRINCES
1-15 TRUMP VS HILARY
INTERVIEWS
30 min break
2. ZYLO FILMS 11am (100 min) - Buy Tickets
Shorts created by local children with the company Zylo Productions.
2-1 ANGELS GONE AWOL
2-2 SPACE BATTLES
2-3 SPARKLE TOWN
2-4 THE LAST BREWSADE
2-5 THE POWER OF EVIL
INTERVIEWS
20 min break
3. CHILDREN ANIMATIONS 1pm (40 min) - Buy Tickets
3-1 WANDERER
Wanderer is a story of a polar bear who lost his habitat, wanders, and starts to dream about his imaginary habitat. This film contains my personal experiences and emotions as a wanderer whose house is not a home.
3-2 OUTSIDE
When a lonely little boy finds a strange creature in the woods, he must keep it a secret from his mom or risk losing his only friend.
3-3 LIGHT SIGHT
M.E., the imprisoned character in a room is attracted to a hanging light and tries to catch it. But the room itself becomes an obstacle on his way.
3-4 THREADS
A young girl is rapidly forced to grow up and learn from her mistakes. Whilst in a search for her family following an earthquake that destroyed their home and will change their lives, will she have a chance of redemption.
3-5 A GIRL NEEDS A BIKE
In rural villages in Ghana, Clara faces the challenges of teaching, as her students discover the happiness of having wheels. This playful animated documentary shows how bicycling brings joy to a new teacher and independence to her students.
3-6 OUR WONDERFUL NATURE - THE COMMON CHAMELEON
The feeding habits of the common chameleon as never seen before.
3-7 AWESOME BEETLE’S COLORS
Fun and educative plasticine animation
3-8 IN SEARCH FOR THE LOST FAMILY
Suddenly on a beautiful day in the jungle erupts a volcano, whereby a small elephant is separated from his parents. With the help of a small elf he wants to find his family. But an angry troll is going to set up some sneaky traps for them on their way... Have a look at all their adventures!
3-9 SUNNY AND GERD SPRING CLEANING
A whistle blows, signalling break time. Gerd sits in his favourite spot to enjoy his break and catch up on some reading. Unbeknownst to Gerd, his best friend Sunny is about to deny him any respite from the day’s grind. Things go from zero to “wha’-tha’?!” when Sunny finds himself in a tight spot and Gerd has to rescue his little buddy. Some quick thinking and a little hacking just might save the day.
SUNDAY - ADULT SESSIONS 3pm-7pm
4. ADULT ANIMATIONS 3pm (50 min) - Buy Tickets
4-1 CITIPATI
After being subjected to a cataclysmic meteorite impact, a small dinosaur attempts to battle the horrific aftermath both physically & psychologically.  Growing into a teenager, he encounters a singular tree that he wants to turn into fire wood. He tears the tree out and thus becomes a man who is drawn to the woods that emerge around him. Overwhelmed by the mass of trees, he starts to tear out every single one of them. Then he gathers the wood, getting ready to travel back. Though the last tree breaks the back of this now middle-aged man, his desire, to bring everything back home, persists. Having become an old man, he realizes that he is not strong enough to return with any trunk at all. Unburdened from his responsibilities, he stumbles across the tree he already knows from his youth.
4-3 ALL THE WORLD IS A STAGE
An animated adaptation of the famous Shakespeare poem "All The World's A Stage" narrated by the renowned Shakespeare actor and director Samuel West (Royal Shakespeare Company). Directed by Hannes Rall.
4-4 PATATA DAY
This cinematic parable tells the story of five people in a diner who spin a yarn about potato dishes. In the next scene, funny animated potatoes appear. The audience cheerfully follows the film but understands that a highly topical issue is served with the potatoes on the plate.
4-5 VACANCY
The non-narrative animated film is a poetic debate with the issue of "HOME" and the experience of the outland as a new home. A collage of fragments of Hilde Domin s poems and a concentration and overlay of sketchy drawings and sound elements - always incomplete, always close to disappearance. It describes the search for an inner place of calm - a timeless space of deceleration.
"One must be able to part and still be like a tree: the roots remaining in the ground, landscape passing and we are fixed." (Hilde Domin)
4-6 WHERE HAVE THE FLOWERS GONE
A piggy pursuing its dream in the big factory but in reality all efforts seemed powerless, and it even considered suicide. The concept is inspired by the classic movies of the silent era, Metropolis and Modern Times. The title comes from the song 'Where have all the flowers gone?'. The original song uses disappearing flowers to symbolise disappearing people in war.  Wanting to be with her one last time, he decides to go and seek her in the hereafter.
4-8 AU REVOIR BALTHAZAR
A scarecrow, a storm, a broken leg. The resonant sound of a sea shell.  Their desires get projected onto the food, turning them alive, into uncanny mutated composite of limbs and organs.
A supermarket love story that plays with food as a metaphor of sensual desires.
40 min break
5. COLLEGE 4.30pm (60 min) - Buy Tickets
Selection of short films created by the Sussex Downs college.
5-1 SEASIDE
5-2 DEAR ANNIE
5-3 THE BLACK DOG
5-4 THE PASSING OF NOW
5-5 DEATH COMES TO TOWN
5-6 MY FILM JOURNEY
JACK RED
30 min break
6. 24H COMPETITION 60-6pm (90 min) - Buy Tickets
Screening of films from the Make it Short 24 hour competition, which preceeded the festival.
6-1 A TOWN ON FIRE
Documentary about Lewes and bonfire night. From the filmmaker:
"I made this documentary because I wanted to explore how tradition was effected by media narrative. The bonfire often goes unnoticed in times where political narratives are not that weeks narrative. A lot of naïve reports start to surface when images of the event are shown out of context and I was interested in the impact it made on the town, who are very proud of there history and traditions." Jack Martin
30 min break
Mousse (40 min)
What could be easier than robbing a small tobacco shop on the outskirts of town? It's during the year's biggest horse race event and the betting center Washington's Tobacco looks like the ultimate hit for some fast cash. Mousse is a man of pride and principles and fed up with living as a second-class citizen. But what happens when he faces principles different to his own?


BaseKey QML Type
Common parent for all key types. More...
| Import Statement: | import QtQuick.VirtualKeyboard 2.2 |
| Inherits: | |
| Inherited By: | BackspaceKey, ChangeLanguageKey, EnterKey, FillerKey, HideKeyboardKey, Key, and ShiftKey |
Properties
- active : bool
- alternativeKeys : var
- displayText : string
- effectiveAlternativeKeys : var
- effectiveAlternativeKeysHighlightIndex : int
- functionKey : bool
- highlighted : bool
- key : int
- keyPanelDelegate : alias
- noKeyEvent : bool
- noModifier : bool
- pressed : bool
- repeat : bool
- showPreview : bool
- smallText : string
- smallTextVisible : bool
- soundEffect : url
- text : string
- uppercased : bool
- weight : real
Signals
- clicked()
Detailed Description
BaseKey is a common type for all keys in keyboard layout.
This type should not be used directly in the layouts. The specialized key types, such as Key or EnterKey should be used instead.
Property Documentation
This property holds the active status of the key.
This property is automatically set to true when the key is pressed.
alternativeKeys : var |
Sets the list of alternative keys.
This property can be set to a string, or a list of strings. If the value is a string, the alternative keys are presented as individual characters of that string. If the value is a list of strings, the list is used instead.
The alternative keys are presented to the user by pressing and holding a key with this property set.
Note: If the alternative keys contains the key text
, it will be filtered from the effectiveAlternativeKeys
and its position will be used as an indicator for the highlighted item instead.
The default is empty list.
Sets the display text.
This string is rendered in the keyboard layout.
The default value is the key text.
[read-only] effectiveAlternativeKeys : var |
This property contains the effective alternative keys presented to user.
The list is contains the items in the alternativeKeys
excluding the text
item.
This QML property was introduced in QtQuick.VirtualKeyboard 2.0.
This property contains the index of highlighted item in the effectiveAlternativeKeys
.
The index is calculated from the index of the key text
in the alternativeKeys
.
For example, if the alternative keys contains "çcċčć" and the key text
is "c", this index will become 1 and the effective alternative keys presented to user will be "ç[ċ]čć".
This QML property was introduced in QtQuick.VirtualKeyboard 2.0.
Sets the key panel delegate for the key.
This property is essential for key decoration. Without a key panel delegate, the key is invisible. This property should be assigned in the inherited key type.
This property controls whether the key emits key events for input method processing. When true, the key events are disabled.
By default, the key event is emitted if the key is not unknown or the text is not empty.
This QML property was introduced in QtQuick.VirtualKeyboard 1.3.
Disables key modifiers on the emitted key.
The default is false.
This QML property was introduced in QtQuick.VirtualKeyboard 1.3.
This property holds the pressed status of the key.
The pressed status can only be true if the key is both enabled and active. When the key state becomes pressed, it triggers a key down event for the input engine. A key up event is triggered when the key is released.
Sets the key repeat attribute.
If the repeat is enabled, the key will repeat the input events while held down. The repeat should not be used if alternativeKeys is also set.
The default is false.
Sets the show preview attribute.
By default, the character preview popup is not shown for function keys.
Sets the small text rendered in the corner of the key.
The default value based on the default item in the effective alternative keys.
This QML property was introduced in QtQuick.VirtualKeyboard 2.0.
Sets the visibility of small text.
The default value is inherited from the parent.
This QML property was introduced in QtQuick.VirtualKeyboard 2.0.
[read-only] soundEffect : url |
This property holds the sound effect to be played on key press.
This property is read-only since the sound effects are defined in the keyboard style.
This QML property was introduced in QtQuick.VirtualKeyboard 1.1.
Sets the key text for input method processing.
In most cases, this is the Unicode representation of the key code.
The default value is an empty string.
This property holds the uppercase status of the key.
By default, this property reflects the uppercase status of the keyboard.
Sets the key weight value which determines the relative size of the key.
Use this property to change the key size in the layout.
The default value is inherited from the parent element of the key in the layout hierarchy.


Information as a Site of Conflict and a Site of Critique
by Jorinde Seijdel
Illegality of Information
In order to establish what space there might be for resistance, publicness and critique within the order of information and its power systems, reading Foucault’s analysis of the classical public execution, which he made in Discipline & Punish: The Birth of the Prison 1, can be enlightening.
In this study of the relationship between sovereign and disciplining power in both classical and modern times, through an analysis of the prison and penal system, Foucault reflects upon the function of public executions in the eighteenth century, in the chapter ‘The Spectacle of the Scaffold’.He attaches much importance to the public aspect of it and to what he calls the accompanying ‘popular illegality’.
The presence of a public (the people) as witnesses was a crucial element of these executions, which could be regarded as demonstrations of the power of the sovereign over his people.But these events were not always just a demonstration of power, as the people also often took advantage of these spectacular opportunities to make themselves heard and even take the initiative by, for instance, attacking the condemned or, as the case may be, to free them. If we take the liberty of extrapolating Foucault’s thinking to the present, it is conceivable that an illegality of property, typical of the early-capitalist, Fordist era, will now be replaced by an ‘illegality of information’ as a factor of a neo-capitalist and post-Fodist order of immaterial labour, communication and information. While the media and social networks seem to be all about revealing and sharing information and the public/users are persuaded to engage in this whenever they can, there is at the same time an increasing ‘illegality of information’. There are powerful information keepers (governments, services, companies) that regulate and control what information is public and what is not, but at the same time, for instance, the practices of WikiLeaks and whistle-blowers such as Edward Snowden – branded as illegal – demonstrate that information can be liberated. Illegality of information is thus expressed in moments of unrest and resistance, or in counter- information, which makes public and accessible the information that is being claimed or kept hidden by corporations or governments. Illegality of information challenges the power practices with regard to information and enforces the publicness and freedom of information, which may lead to political acts. In her essay ‘Know It All. WikiLeaks, Democracy and the Information Age’ (SKOR/ Open 22), Jodi Dean, for instance, points out: ‘... that power in communicative capitalism relies on abundance, overkill, and repetition, on the excess of information, on the way that too much information is more incapacitating than too little information (even as it enhances the feeling that there is never enough)’ (Dean, 2011: 51).
Communicative capitalism is also characterized by a decrease in effectiveness of symbols, as they are no longer understood in the same way by everyone. ‘Because we can never be certain, we always need more information. ... [which] is accompanied by a decline in a sense of the capacity for action’ (Dean, 2011: 49). In the information age, publicness and secrecy, abundance and scarcity of information, are intricately interwoven and it is in their interaction that they exercise power. Illegality of information occurs when the balance between these is disturbed and information either spills over or withdraws. It is precisely as a ‘site of conflict’ – WikiLeaks is an exemplary case – that information can then be either a place of repression or of public resistance and that is where the possibilities for critique lie.


Reveal.js
HTML Presentations Made Easy
Created by
Hakim El Hattab
/
@hakimel
SVG fragments
and synchronization with other elements
Item 1
Item 2
Item 3


Percentage of assets covered by systematic risk assessments (>99)
Number of personal vacancies in the security roles required for ISMS (Nil)
Time taken to grant, change and remove access privileges (Max. 2 hours)
Percentage of agents covered by an effective security awareness program (100%)
Number of security access violations (<2)
Number of emergency changes (<5)
Number of security incidents involving malicious code (Max. 2)
Number of systems where security requirements are not met (Max. 2)
Average turnaround time of incidents (Max. 2 hours)
Number of pending actions to meet response and recovery requirements (Max. 5)
Number of scheduled internal audits not done (Max. 1)
Number of scheduled penetration tests not done (Max. 1)
Number of overdue actions arising out of audit reports (Max. 5)
Number of changes not carried out as per change control procedure (Max. 1)
Clear
Show


| Package | com.whirled.contrib.card.graphics |
| Class | public class HandSprite |
| Inheritance | HandSprite CardArraySprite flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| _added : Array | HandSprite | ||
| _animations : Array | CardArraySprite | ||
| _cards : Array | CardArraySprite | ||
| _factory : CardSpriteFactory | CardArraySprite | ||
| _floater : CardSprite | HandSprite | ||
| _hand : Hand | HandSprite | ||
| _removedCards : Array | HandSprite | ||
| _selectCount : int | HandSprite | ||
| _selected : Array | HandSprite | ||
| _target : CardArray | CardArraySprite | ||
| _userPreselect : Boolean | HandSprite |
| Method | Defined by | ||
|---|---|---|---|
|
Create a new hand sprite.
| HandSprite | ||
|
finalizeRemovals():Array
Grab the card sprites that were recently removed from the hand.
| HandSprite |
| Method | Defined by | ||
|---|---|---|---|
|
animateAddition(card:CardSprite):void
| HandSprite | ||
|
animateRemoval(card:CardSprite):void
| HandSprite | ||
|
cardArrayListener(event:CardArrayEvent):void
| HandSprite | ||
|
clickListener(event:MouseEvent):void
| HandSprite | ||
|
deselect(card:CardSprite):void
| HandSprite | ||
|
disable():void
Disable clicking on all cards.
| HandSprite | ||
|
dispatchSelection():void
| HandSprite | ||
|
Enable clicking on specific cards.
| HandSprite | ||
|
findCard(event:MouseEvent):CardSprite
| HandSprite | ||
|
findCardByLocalXY(x:int, y:int):CardSprite
| HandSprite | ||
|
findCardByX(xpos:int):CardSprite
| HandSprite | ||
|
floatCard(card:CardSprite):void
Slide a card vertically to indicate that clicking it will play it.
| HandSprite | ||
|
getStaticCardPosition(i:int, pos:Point):void
Get the x, y position of a card in the array.
| CardArraySprite | ||
|
handListener(event:HandEvent):void
| HandSprite | ||
|
isSelected(card:CardSprite):Boolean
| HandSprite | ||
|
positionCards():void
Positions all cards (that are not currently animating).
| CardArraySprite | ||
|
refresh():void
Update our card sprites with the contents of the target card array.
| CardArraySprite | ||
|
select(card:CardSprite, userAction:Boolean):void
| HandSprite | ||
|
unfloatCard():void
Slide the currently floating card back into its usual location.
| HandSprite | ||
|
updateFloater(event:MouseEvent):void
| HandSprite | ||
|
verticalTween(card:CardSprite, offset:int):void
| HandSprite |
| Constant | Defined by | ||
|---|---|---|---|
| FLOAT_DURATION : Number = .2 [static]
| HandSprite | ||
| FLOAT_HEIGHT : Number = 10 [static]
| HandSprite | ||
| MAX_HAND_SIZE : int = 15 [static]
| HandSprite | ||
| REMOVAL_DURATION : Number = .75 [static]
| HandSprite | ||
| SELECT_HEIGHT : Number = 20 [static]
| HandSprite | ||
| SQUEEZE_DURATION : Number = .75 [static]
| HandSprite |
| _added | property |
protected var _added:Array
| _floater | property |
protected var _floater:CardSprite
| _hand | property |
protected var _hand:Hand
| _removedCards | property |
protected var _removedCards:Array
| _selectCount | property |
protected var _selectCount:int
| _selected | property |
protected var _selected:Array
| _userPreselect | property |
protected var _userPreselect:Boolean
| HandSprite | () | constructor |
public function HandSprite(hand:Hand, factory:CardSpriteFactory)
Create a new hand sprite.
Parametershand:Hand — the card array this sprite represents
|
|
factory:CardSpriteFactory — the embedded deck object to use when creating instances of CardSprite
|
| animateAddition | () | method |
| animateRemoval | () | method |
| cardArrayListener | () | method |
protected override function cardArrayListener(event:CardArrayEvent):void
Parameters
event:CardArrayEvent |
| clickListener | () | method |
protected function clickListener(event:MouseEvent):void
Parameters
event:MouseEvent |
| deselect | () | method |
| disable | () | method |
protected function disable():void
Disable clicking on all cards.
| dispatchSelection | () | method |
protected function dispatchSelection():void
| enable | () | method |
protected function enable(subset:CardArray = null):void
Enable clicking on specific cards.
Parameterssubset:CardArray (default = null ) — the cards to enable, or all if null (default)
|
— is the resulting set of enabled cards is empty since otherwise
the game will be waiting forever. |
| finalizeRemovals | () | method |
public function finalizeRemovals():Array
Grab the card sprites that were recently removed from the hand. After each card is removed, its sprite is animated towards a central location and added to an array. It is expected that the TrickSprite or some other card game view object will call this function to take control of the removed cards. Card sprites accessed from this function will be free of positional tweens and removed from the parent container (this).
ReturnsArray — an Array of CardSprite objects. |
| findCard | () | method |
protected function findCard(event:MouseEvent):CardSprite
Parameters
event:MouseEvent |
CardSprite |
| findCardByLocalXY | () | method |
protected function findCardByLocalXY(x:int, y:int):CardSprite
Parameters
x:int |
|
y:int |
CardSprite |
| findCardByX | () | method |
| floatCard | () | method |
protected function floatCard(card:CardSprite):void
Slide a card vertically to indicate that clicking it will play it.
Parameterscard:CardSprite — the mouse position in the card's coordinates. |
| handListener | () | method |
| isSelected | () | method |
| select | () | method |
protected function select(card:CardSprite, userAction:Boolean):void
Parameters
card:CardSprite |
|
userAction:Boolean |
| unfloatCard | () | method |
protected function unfloatCard():void
Slide the currently floating card back into its usual location.
| updateFloater | () | method |
protected function updateFloater(event:MouseEvent):void
Parameters
event:MouseEvent |
| verticalTween | () | method |
protected function verticalTween(card:CardSprite, offset:int):void
Parameters
card:CardSprite |
|
offset:int |
| FLOAT_DURATION | constant |
protected static const FLOAT_DURATION:Number = .2
| FLOAT_HEIGHT | constant |
protected static const FLOAT_HEIGHT:Number = 10
| MAX_HAND_SIZE | constant |
protected static const MAX_HAND_SIZE:int = 15
| REMOVAL_DURATION | constant |
protected static const REMOVAL_DURATION:Number = .75
| SELECT_HEIGHT | constant |
protected static const SELECT_HEIGHT:Number = 20
| SQUEEZE_DURATION | constant |
protected static const SQUEEZE_DURATION:Number = .75


Avoid doing complex tasks which could fail inside of constructors. Examples of complex tasks include: file operations, lengthy computations, launching threads, and anything else that can become decentralized or fail. Never call virtual functions from a constructor.
Tasks that cannot be performed in a constructor should be moved to an initialization method called "init". Member data should be initialized using initializer lists instead of assignment in the body of the constructor. If there are multiple overloads for the constructor (besides the copy), consider calling the default constructor from the initializer list instead of duplicating member data initialization in multiple constructors.
Constructors with one argument should always be declared explicit. Multiple argument constructors can be declared explicit as needed.
Declare a copy constructor and assignment operator only when necessary. Otherwise they should be declared private. A macro should be defined to simplify the process of declaring them private.
Use structs only for passive objects that carry data. Instance variables should be marked as public. Functions should only be used for setting data.
Only use inheritance if it simplifies the situation. Composition is usually more appropriate. Inheritance should always model an "is-a" relationship. Only use public inheritance. Private and protected inheritance usually indicate a need for composition.
Use protected member functions only when necessary. Avoid protected member variables at all costs. They can be wrapped in a protected get method if absolutely needed.
Destructors should be declared virtual if there are any virtual functions.
When overriding a virtual method from a super class, declare it virtual to avoid any confusion. Never change the signature of a derived virtual method.
Avoid operator overloading except for cases when it greatly improves convenience and readability. String classes benefit from operators such as == for equals, += for append, and + for temporary appending. There are many examples where overloading and operator can result in unintuitive behaviour such as overloading operator&. Sometimes overloading comparison operators is necessary for sorting functions like std::sort. Sometimes overloading operator< for use with std::sort can be tricky if a class might be subject to variable sorting orders. For example, a class Student might need to be sorted depending on certain criteria. When calling std::sort and relying on operator<, it's hard to sort on specific criteria such as the student's GPA vs attendance. Instead, comparison functions should be used instead for scenarios like this.
By default, everything should be declared private. Instance variables should never be declared public unless it greatly enhances convenience (such as x, y, z on a Vec3). Only lower access control when necessary
Instance variables declared protected should be avoided unless it greatly enhances convenience. Supplying a protected get wrapper is usually sufficient.
Functions declared protected is preferred over public/friend if derived classes.
If only a few functions need to be accessed only by an external class, consider declaring them as friend functions. This provides better encapsulation than declaring them public, but does create a tight coupling
If many functions need to be accessed by an external classes, consider declaring the external class as a friend. While this does expose private instance variables, it is much simpler than declaring many friend functions.
Functions declared public represent public API and cannot be changed easily without breaking other systems. Limit the public API and make it hard to use wrong.
Declare members in the order of public, protected, private. Within each, declare members in the order of nested types, constants, constructors, destructors, functions, instance variables.
Example: class Terrain3D : public OpenGLWindow { public: Terrain3D(); private: void onStartup(); void onUpdate(double currentTime); void onKey(int key, int action); void onResize(int width, int height); void onTerminate(); void loadShaders(); void updateKeys(); private: int mProgram; int mVbo, mIbo, mVao; UniformLocations mUniformLocations; World mWorld; Camera mCamera; };
Redundancy and excessive length means you are probably doing it wrong. If a function exceeds 50 lines, it's probably worth breaking it into more reusable code. Likewise, any duplicate functionality spanning more than a single line (or that requires really long lines) probably would benefit from have a helper function wrapping it. There are exceptions to this limit such as large switch statements or other large conditionals where it's very clear what is happening. If you encounter a function with an overwhelming length or complexity, re-factor it.
A class should represent one thing. It should never be responsible for implementing divergent behaviour.