SlideShare a Scribd company logo
1 of 34
Defeatharper.ca
Concept, strategy, architecture
The whole 9 yards.
Query Audience
• Level of Programming Expertise?
• Political engagement? Worked on campaign?
• Open Data
Why did I do this?
• Political
– This election is different
• Whose government?
– eg. Postal code boundaries
Why did I do this?
• Personal
– Four things in my life:
• Movies (recovering film producer)
• Politics
• Code
• Work with life partner
Flash to PHP
• Object oriented programming
• MVC!
• Framework!
• a mentor – Chris Monson
Political Origins of defeatharper.ca
• Rob Ford
– Not just wacky. Not about drugs.
– Fundamental difference in what the city does
• eg. Charge for everything (parks)
• 3 cities -> 2 cities
• US comparison (Detroit)
– Didn’t take care of wonderful city so people started to leave
– Those who were left were left with nothing but bills
» They burned what was left.
Run for City Council
• Tools
– Nation Builder http://nationbuilder.com/
• Organizing tool (Obama and every other campaign)
– Also large groups (clubs, teams, etc)
– Expensive
– Extensible
– Learning curve
– Facebook, twitter, email, maps, walking routes, money…
Lead Now
• Organizing people to choose best candidate to
defeat Harper.
• Who’s heard of them????
• Retail politics. Door to door in 12 ridings.
– Convince people to pledge to vote for candidate
with best chance to defeat sitting Conservative.
• Raising money for polls in 31 ridings (hope to
add more)
• What about the other 307 ridings??!!
March 16
• Bought URL
Initial Concept
• What do our visitors need to know?
– How did Harper get 100% of the power with 39%
of the vote?
– The impact of redistribution.
– First past the post.
• What order to lay it out?
• Real Live Testing!!!
Riding page (we got it wrong)
Home page with General Info
Just vote splitting
Find riding
338 riding pages
2011 election results
Straw Poll
form
results (charts/graphs)
Blog/comments
Expected people to be very active.
Enter survey results for friends, neighbours
Volunteers for parties would share their door
knocking.
Columnists
Thermometer – How many need to change their
vote to defeat sitting Conservative (statistical
formula)
Building the site
Mostly a question of gluing a bunch of APIs
together.
Wordpress user meta-data and custom post-
types
Find Your Riding
Google reverse geocoding
Via postal code
Via address
Both inaccurate.
(no help from Elections Canada – were
worried about scraping)
Represent Open North API
https://represent.opennorth.ca/
built on Google’s Civic Information API
returns json – nice Wordpress Function to parse
Riding Page
What URL to use?
riding numbers don’t change.
riding name more Google friendly
mistake.
Attributes of each Custom Post Typed?
Data imported by hand (Elections Canada
format)
-Login/out – authentication (BARF)
-Pie Register handled authentication.
(no user profile and…. Don’t get me started)
-later: Columnists – permission (next time wp roles)
Submit multiple survey results – user
permission
Social media - plugin
About the riding – Standard Page Content
Map (might be the wrong riding) Google KML
Candidates – from Represent North
Regional Polls – detect region. Graph/Text
2011 results - newchart.js
https://github.com/FVANCOP/ChartNew.js/
Custom text depending on 2011 results – a series of
switch statements
Poll results (next election only) – Formidable Forms
– wasted a LOT of time Terrible api. Terrible
analysis.
https://formidablepro.com/
Straw Poll form – Easy to lay out.
Do it the Wordpress Way!!!!!!
Map of Canada
CartoDB https://cartodb.com/
Bravo!!!!!! (but never did get the click for link
to riding – but would have)
Google was easy and easy to extend but
navigation on mobile was flakey. (break large
map into pieces)
Email – Postman SMPT 0Auth2.0
https://wordpress.org/plugins/postman-smtp/
Security
Site hacking
Expected Cons to come after us
- Glen Tate http://gtmanagement.com/
- VPS at myhosting.com (local. Very good)
Very fine suite of tools to protect and report.
(false alarms)
- nginx
User Input
Straw Poll
Assumed people would cheat.
required authentication.
Switched to cookies (Formidable cookies
didn’t work) – Chris Monson
Comments
Also required authorization
User security
Start loose
No one cheated.(but not many people)
August 14 – live
A few tweets during Cross Country Checkup gave
us a thousand views.
Facebook/Twitter
Lost effectiveness over time
- there was nothing new.
Launch of VoteTogether.ca
Impact of VoteTogether
Famous in a small corner of the internet – which
was also our core.
Wrote to them and said we are for the 325
ridings where they are not.
People thought that they had info on all ridings.
This is a coming problem.
Strategy
Didn’t have one.
How do you spell dumb? – “s t o o p I d”
Needed a team before we did anything.
Consult with people who have done this
before eg.
https://changealberta.wordpress.com/
Publicist
Attracted the attention of 30 year old social
media expert.
Target audience for this campaign
Both parents with MA degrees.
Contract work
Live in parents’ basement
Birth of a Strategy
Paid Chris Monson to add:
- columnists
- multiple survey entries
Strategy
Attract Columnists
People who are highly engaged.
They write about their own riding
As election nears and people want local
information they visit site and take survey, write
comments
Around Thanksgiving site gets very busy as
people decide.
Columnists for each riding examine all available
data.
Where it is clear they recommend a
candidate.
Go Big
Plan was to:
press releases to mainstream media
(NOT email. Newswire - $400 each)
Write columnists at TV networks, radio,
magazines, newspapers.
BUT
- too easy to give the wrong advice.
- we needed to align with others at the
beginning. No connections/credibility.
How Was Wordpress?
I am not qualified to answer this question. (Yii is only
point of comparison)
- I dislike plugin architecture. I prefer MVC
- I like the choice of plugins
- A plugin that does anything more than one simple
thing seems to always be missing something.
- Would have liked a datagrid.
- Slow
- Authentication should be a LOT better
- Did no admin side work. Suspect it’s awesome.
Links
defeatharper.ca
Nation Builder
premier organizing app
http://nationbuilder.com/
Lead Now / Vote Together
Largest Strategic Voting organization
raising money for polling in at least 30 ridings
leadnow.ca
votetogether.ca
Represent North
https://represent.opennorth.ca/
Api for data about our governments
- our representatives and their records
newchart.js
rewrite of chart.js -
now dated (it's heavy)
https://github.com/FVANCOP/ChartNew.js/
Formidable Forms
https://formidablepro.com/
popular form plugin
powerful, easy to use.
- Watch out for the api
almost no data analysis
(but the support is excellent)
CartoDB
Excellent Cartography (mapping) tool. Can't wait to use it again. A star.
https://cartodb.com/
Glenn Tate
set up our sever and wordpress security.
Wordpress Expert - Don't try what he does without parental supervision
http://gtmanagement.com/
Chris Monson
my Mentor
All 'round coder (design, too)
Full Stack (I don't know all the languages) php, Yii, Wordpress, others
eg. developer on custom animation system.
Change Alberta
Citizen's organization that organized campaign for strategic voting in last Alberta election
https://changealberta.wordpress.com/

More Related Content

Viewers also liked

Architectural Thinking - What Is Architecture?
Architectural Thinking - What Is Architecture?Architectural Thinking - What Is Architecture?
Architectural Thinking - What Is Architecture?ingo
 
Architecture Project Presentation
Architecture Project PresentationArchitecture Project Presentation
Architecture Project Presentationcallumdkerr
 
Architecture humanities
Architecture humanitiesArchitecture humanities
Architecture humanitiesRodelito Sazon
 
Architect presentation
Architect  presentationArchitect  presentation
Architect presentationimpianharta
 
Auditorium Acoustics
Auditorium Acoustics Auditorium Acoustics
Auditorium Acoustics mominzaki
 

Viewers also liked (6)

Architectural Thinking - What Is Architecture?
Architectural Thinking - What Is Architecture?Architectural Thinking - What Is Architecture?
Architectural Thinking - What Is Architecture?
 
Architecture Project Presentation
Architecture Project PresentationArchitecture Project Presentation
Architecture Project Presentation
 
Architecture humanities
Architecture humanitiesArchitecture humanities
Architecture humanities
 
What is architecture
What is architectureWhat is architecture
What is architecture
 
Architect presentation
Architect  presentationArchitect  presentation
Architect presentation
 
Auditorium Acoustics
Auditorium Acoustics Auditorium Acoustics
Auditorium Acoustics
 

Similar to Defeat harper

Using New Media in Political Campaigns
Using New Media in Political CampaignsUsing New Media in Political Campaigns
Using New Media in Political CampaignsSarah Granger
 
Improving Mobile Search Engine Listings
Improving Mobile Search Engine ListingsImproving Mobile Search Engine Listings
Improving Mobile Search Engine ListingsSuzzicks
 
VentureLab - Find It!
VentureLab - Find It!VentureLab - Find It!
VentureLab - Find It!zoltanp
 
User Centered Analytics: Superweek 2015
User Centered Analytics: Superweek 2015User Centered Analytics: Superweek 2015
User Centered Analytics: Superweek 2015Tim Leighton-Boyce
 
How to design with science: and not destroy the magic (Joe Leech)
How to design with science: and not destroy the magic (Joe Leech)How to design with science: and not destroy the magic (Joe Leech)
How to design with science: and not destroy the magic (Joe Leech)Future Insights
 
How to design with science and not destroy the magic
How to design with science and not destroy the magicHow to design with science and not destroy the magic
How to design with science and not destroy the magicJoe Leech
 
Improving Mobile Search Listings
Improving Mobile Search ListingsImproving Mobile Search Listings
Improving Mobile Search Listingsguestca744f
 
Tim w open data strategy 12th may 2011
Tim w open data strategy  12th may 2011Tim w open data strategy  12th may 2011
Tim w open data strategy 12th may 2011Tim Willoughby
 
Actionable Local SEO Tips - RizeCon - Nathan Hawkes
Actionable Local SEO Tips - RizeCon - Nathan HawkesActionable Local SEO Tips - RizeCon - Nathan Hawkes
Actionable Local SEO Tips - RizeCon - Nathan HawkesArcane Marketing
 
How to stand out from the pack - Part 2
How to stand out from the pack - Part 2How to stand out from the pack - Part 2
How to stand out from the pack - Part 2EMSI
 
Analytics Drivers Ed
Analytics Drivers EdAnalytics Drivers Ed
Analytics Drivers Edmzlatos
 
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR CodesinterlinkONE
 
Using Big Data to Tell Your Story
Using Big Data to Tell Your StoryUsing Big Data to Tell Your Story
Using Big Data to Tell Your StoryBen Wright
 
Government Next: NIC Presentation
Government Next: NIC PresentationGovernment Next: NIC Presentation
Government Next: NIC PresentationTara Hunt
 

Similar to Defeat harper (20)

Research Beyond
Research BeyondResearch Beyond
Research Beyond
 
Conversionboost 2015 tlb
Conversionboost 2015 tlbConversionboost 2015 tlb
Conversionboost 2015 tlb
 
Using New Media in Political Campaigns
Using New Media in Political CampaignsUsing New Media in Political Campaigns
Using New Media in Political Campaigns
 
Improving Mobile Search Engine Listings
Improving Mobile Search Engine ListingsImproving Mobile Search Engine Listings
Improving Mobile Search Engine Listings
 
VentureLab - Find It!
VentureLab - Find It!VentureLab - Find It!
VentureLab - Find It!
 
User Centered Analytics: Superweek 2015
User Centered Analytics: Superweek 2015User Centered Analytics: Superweek 2015
User Centered Analytics: Superweek 2015
 
How to design with science: and not destroy the magic (Joe Leech)
How to design with science: and not destroy the magic (Joe Leech)How to design with science: and not destroy the magic (Joe Leech)
How to design with science: and not destroy the magic (Joe Leech)
 
How to design with science and not destroy the magic
How to design with science and not destroy the magicHow to design with science and not destroy the magic
How to design with science and not destroy the magic
 
Improving Mobile Search Listings
Improving Mobile Search ListingsImproving Mobile Search Listings
Improving Mobile Search Listings
 
Tim w open data strategy 12th may 2011
Tim w open data strategy  12th may 2011Tim w open data strategy  12th may 2011
Tim w open data strategy 12th may 2011
 
myrepresentatives.org
myrepresentatives.orgmyrepresentatives.org
myrepresentatives.org
 
data, big data, open data
data, big data, open datadata, big data, open data
data, big data, open data
 
Actionable Local SEO Tips - RizeCon - Nathan Hawkes
Actionable Local SEO Tips - RizeCon - Nathan HawkesActionable Local SEO Tips - RizeCon - Nathan Hawkes
Actionable Local SEO Tips - RizeCon - Nathan Hawkes
 
How to stand out from the pack - Part 2
How to stand out from the pack - Part 2How to stand out from the pack - Part 2
How to stand out from the pack - Part 2
 
Analytics Drivers Ed
Analytics Drivers EdAnalytics Drivers Ed
Analytics Drivers Ed
 
Politik Inn_Business Plan_2
Politik Inn_Business Plan_2Politik Inn_Business Plan_2
Politik Inn_Business Plan_2
 
Real Estatate
Real EstatateReal Estatate
Real Estatate
 
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes
[NAPL Owners Conference 2011] Print + Mobile: Understanding QR Codes
 
Using Big Data to Tell Your Story
Using Big Data to Tell Your StoryUsing Big Data to Tell Your Story
Using Big Data to Tell Your Story
 
Government Next: NIC Presentation
Government Next: NIC PresentationGovernment Next: NIC Presentation
Government Next: NIC Presentation
 

Recently uploaded

High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...
High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...
High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...narwatsonia7
 
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxx
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxxIncident Command System xxxxxxxxxxxxxxxxxxxxxxxxx
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxxPeter Miles
 
Zechariah Boodey Farmstead Collaborative presentation - Humble Beginnings
Zechariah Boodey Farmstead Collaborative presentation -  Humble BeginningsZechariah Boodey Farmstead Collaborative presentation -  Humble Beginnings
Zechariah Boodey Farmstead Collaborative presentation - Humble Beginningsinfo695895
 
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas Whats Up Number
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas  Whats Up Number##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas  Whats Up Number
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas Whats Up NumberMs Riya
 
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...Suhani Kapoor
 
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
2024: The FAR, Federal Acquisition Regulations - Part 28
2024: The FAR, Federal Acquisition Regulations - Part 282024: The FAR, Federal Acquisition Regulations - Part 28
2024: The FAR, Federal Acquisition Regulations - Part 28JSchaus & Associates
 
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...“Exploring the world: One page turn at a time.” World Book and Copyright Day ...
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...Christina Parmionova
 
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jatin Das Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130 Available With Roomishabajaj13
 
How the Congressional Budget Office Assists Lawmakers
How the Congressional Budget Office Assists LawmakersHow the Congressional Budget Office Assists Lawmakers
How the Congressional Budget Office Assists LawmakersCongressional Budget Office
 
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...Garima Khatri
 
2024: The FAR, Federal Acquisition Regulations - Part 27
2024: The FAR, Federal Acquisition Regulations - Part 272024: The FAR, Federal Acquisition Regulations - Part 27
2024: The FAR, Federal Acquisition Regulations - Part 27JSchaus & Associates
 
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Club of Rome: Eco-nomics for an Ecological Civilization
Club of Rome: Eco-nomics for an Ecological CivilizationClub of Rome: Eco-nomics for an Ecological Civilization
Club of Rome: Eco-nomics for an Ecological CivilizationEnergy for One World
 
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Precarious profits? Why firms use insecure contracts, and what would change t...
Precarious profits? Why firms use insecure contracts, and what would change t...Precarious profits? Why firms use insecure contracts, and what would change t...
Precarious profits? Why firms use insecure contracts, and what would change t...ResolutionFoundation
 

Recently uploaded (20)

Call Girls Service Connaught Place @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Connaught Place @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Connaught Place @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Connaught Place @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...
High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...
High Class Call Girls Bangalore Komal 7001305949 Independent Escort Service B...
 
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxx
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxxIncident Command System xxxxxxxxxxxxxxxxxxxxxxxxx
Incident Command System xxxxxxxxxxxxxxxxxxxxxxxxx
 
Zechariah Boodey Farmstead Collaborative presentation - Humble Beginnings
Zechariah Boodey Farmstead Collaborative presentation -  Humble BeginningsZechariah Boodey Farmstead Collaborative presentation -  Humble Beginnings
Zechariah Boodey Farmstead Collaborative presentation - Humble Beginnings
 
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas Whats Up Number
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas  Whats Up Number##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas  Whats Up Number
##9711199012 Call Girls Delhi Rs-5000 UpTo 10 K Hauz Khas Whats Up Number
 
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...
VIP High Profile Call Girls Gorakhpur Aarushi 8250192130 Independent Escort S...
 
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wadki ( 7001035870 ) HI-Fi Pune Escorts Service
 
2024: The FAR, Federal Acquisition Regulations - Part 28
2024: The FAR, Federal Acquisition Regulations - Part 282024: The FAR, Federal Acquisition Regulations - Part 28
2024: The FAR, Federal Acquisition Regulations - Part 28
 
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...“Exploring the world: One page turn at a time.” World Book and Copyright Day ...
“Exploring the world: One page turn at a time.” World Book and Copyright Day ...
 
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jatin Das Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jatin Das Park 👉 8250192130 Available With Room
 
How the Congressional Budget Office Assists Lawmakers
How the Congressional Budget Office Assists LawmakersHow the Congressional Budget Office Assists Lawmakers
How the Congressional Budget Office Assists Lawmakers
 
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...
VIP Mumbai Call Girls Andheri West Just Call 9920874524 with A/C Room Cash on...
 
Call Girls In Rohini ꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In  Rohini ꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCeCall Girls In  Rohini ꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Rohini ꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
 
2024: The FAR, Federal Acquisition Regulations - Part 27
2024: The FAR, Federal Acquisition Regulations - Part 272024: The FAR, Federal Acquisition Regulations - Part 27
2024: The FAR, Federal Acquisition Regulations - Part 27
 
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service
(PRIYA) Call Girls Rajgurunagar ( 7001035870 ) HI-Fi Pune Escorts Service
 
Club of Rome: Eco-nomics for an Ecological Civilization
Club of Rome: Eco-nomics for an Ecological CivilizationClub of Rome: Eco-nomics for an Ecological Civilization
Club of Rome: Eco-nomics for an Ecological Civilization
 
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service
(DIYA) Call Girls Saswad ( 7001035870 ) HI-Fi Pune Escorts Service
 
Delhi Russian Call Girls In Connaught Place ➡️9999965857 India's Finest Model...
Delhi Russian Call Girls In Connaught Place ➡️9999965857 India's Finest Model...Delhi Russian Call Girls In Connaught Place ➡️9999965857 India's Finest Model...
Delhi Russian Call Girls In Connaught Place ➡️9999965857 India's Finest Model...
 
9953330565 Low Rate Call Girls In Adarsh Nagar Delhi NCR
9953330565 Low Rate Call Girls In Adarsh Nagar Delhi NCR9953330565 Low Rate Call Girls In Adarsh Nagar Delhi NCR
9953330565 Low Rate Call Girls In Adarsh Nagar Delhi NCR
 
Precarious profits? Why firms use insecure contracts, and what would change t...
Precarious profits? Why firms use insecure contracts, and what would change t...Precarious profits? Why firms use insecure contracts, and what would change t...
Precarious profits? Why firms use insecure contracts, and what would change t...
 

Defeat harper

  • 2. Query Audience • Level of Programming Expertise? • Political engagement? Worked on campaign? • Open Data
  • 3. Why did I do this? • Political – This election is different • Whose government? – eg. Postal code boundaries
  • 4. Why did I do this? • Personal – Four things in my life: • Movies (recovering film producer) • Politics • Code • Work with life partner
  • 5. Flash to PHP • Object oriented programming • MVC! • Framework! • a mentor – Chris Monson
  • 6. Political Origins of defeatharper.ca • Rob Ford – Not just wacky. Not about drugs. – Fundamental difference in what the city does • eg. Charge for everything (parks) • 3 cities -> 2 cities • US comparison (Detroit) – Didn’t take care of wonderful city so people started to leave – Those who were left were left with nothing but bills » They burned what was left.
  • 7. Run for City Council • Tools – Nation Builder http://nationbuilder.com/ • Organizing tool (Obama and every other campaign) – Also large groups (clubs, teams, etc) – Expensive – Extensible – Learning curve – Facebook, twitter, email, maps, walking routes, money…
  • 8. Lead Now • Organizing people to choose best candidate to defeat Harper. • Who’s heard of them????
  • 9. • Retail politics. Door to door in 12 ridings. – Convince people to pledge to vote for candidate with best chance to defeat sitting Conservative. • Raising money for polls in 31 ridings (hope to add more) • What about the other 307 ridings??!!
  • 11. Initial Concept • What do our visitors need to know? – How did Harper get 100% of the power with 39% of the vote? – The impact of redistribution. – First past the post. • What order to lay it out? • Real Live Testing!!! Riding page (we got it wrong)
  • 12. Home page with General Info Just vote splitting Find riding 338 riding pages 2011 election results Straw Poll form results (charts/graphs) Blog/comments
  • 13. Expected people to be very active. Enter survey results for friends, neighbours Volunteers for parties would share their door knocking. Columnists Thermometer – How many need to change their vote to defeat sitting Conservative (statistical formula)
  • 14. Building the site Mostly a question of gluing a bunch of APIs together. Wordpress user meta-data and custom post- types
  • 15. Find Your Riding Google reverse geocoding Via postal code Via address Both inaccurate. (no help from Elections Canada – were worried about scraping)
  • 16. Represent Open North API https://represent.opennorth.ca/ built on Google’s Civic Information API returns json – nice Wordpress Function to parse
  • 17. Riding Page What URL to use? riding numbers don’t change. riding name more Google friendly mistake. Attributes of each Custom Post Typed? Data imported by hand (Elections Canada format)
  • 18. -Login/out – authentication (BARF) -Pie Register handled authentication. (no user profile and…. Don’t get me started) -later: Columnists – permission (next time wp roles) Submit multiple survey results – user permission Social media - plugin About the riding – Standard Page Content Map (might be the wrong riding) Google KML Candidates – from Represent North Regional Polls – detect region. Graph/Text
  • 19. 2011 results - newchart.js https://github.com/FVANCOP/ChartNew.js/ Custom text depending on 2011 results – a series of switch statements Poll results (next election only) – Formidable Forms – wasted a LOT of time Terrible api. Terrible analysis. https://formidablepro.com/ Straw Poll form – Easy to lay out. Do it the Wordpress Way!!!!!!
  • 20. Map of Canada CartoDB https://cartodb.com/ Bravo!!!!!! (but never did get the click for link to riding – but would have) Google was easy and easy to extend but navigation on mobile was flakey. (break large map into pieces) Email – Postman SMPT 0Auth2.0 https://wordpress.org/plugins/postman-smtp/
  • 21. Security Site hacking Expected Cons to come after us - Glen Tate http://gtmanagement.com/ - VPS at myhosting.com (local. Very good) Very fine suite of tools to protect and report. (false alarms) - nginx
  • 22. User Input Straw Poll Assumed people would cheat. required authentication. Switched to cookies (Formidable cookies didn’t work) – Chris Monson Comments Also required authorization
  • 23. User security Start loose No one cheated.(but not many people)
  • 24. August 14 – live A few tweets during Cross Country Checkup gave us a thousand views. Facebook/Twitter Lost effectiveness over time - there was nothing new. Launch of VoteTogether.ca
  • 25. Impact of VoteTogether Famous in a small corner of the internet – which was also our core. Wrote to them and said we are for the 325 ridings where they are not. People thought that they had info on all ridings. This is a coming problem.
  • 26. Strategy Didn’t have one. How do you spell dumb? – “s t o o p I d” Needed a team before we did anything. Consult with people who have done this before eg. https://changealberta.wordpress.com/
  • 27. Publicist Attracted the attention of 30 year old social media expert. Target audience for this campaign Both parents with MA degrees. Contract work Live in parents’ basement
  • 28. Birth of a Strategy Paid Chris Monson to add: - columnists - multiple survey entries
  • 29. Strategy Attract Columnists People who are highly engaged. They write about their own riding As election nears and people want local information they visit site and take survey, write comments
  • 30. Around Thanksgiving site gets very busy as people decide. Columnists for each riding examine all available data. Where it is clear they recommend a candidate.
  • 31. Go Big Plan was to: press releases to mainstream media (NOT email. Newswire - $400 each) Write columnists at TV networks, radio, magazines, newspapers. BUT - too easy to give the wrong advice. - we needed to align with others at the beginning. No connections/credibility.
  • 32. How Was Wordpress? I am not qualified to answer this question. (Yii is only point of comparison) - I dislike plugin architecture. I prefer MVC - I like the choice of plugins - A plugin that does anything more than one simple thing seems to always be missing something. - Would have liked a datagrid. - Slow - Authentication should be a LOT better - Did no admin side work. Suspect it’s awesome.
  • 33. Links defeatharper.ca Nation Builder premier organizing app http://nationbuilder.com/ Lead Now / Vote Together Largest Strategic Voting organization raising money for polling in at least 30 ridings leadnow.ca votetogether.ca Represent North https://represent.opennorth.ca/ Api for data about our governments - our representatives and their records newchart.js rewrite of chart.js - now dated (it's heavy) https://github.com/FVANCOP/ChartNew.js/
  • 34. Formidable Forms https://formidablepro.com/ popular form plugin powerful, easy to use. - Watch out for the api almost no data analysis (but the support is excellent) CartoDB Excellent Cartography (mapping) tool. Can't wait to use it again. A star. https://cartodb.com/ Glenn Tate set up our sever and wordpress security. Wordpress Expert - Don't try what he does without parental supervision http://gtmanagement.com/ Chris Monson my Mentor All 'round coder (design, too) Full Stack (I don't know all the languages) php, Yii, Wordpress, others eg. developer on custom animation system. Change Alberta Citizen's organization that organized campaign for strategic voting in last Alberta election https://changealberta.wordpress.com/