View liquid-info.md

Liquid — Real Political Representation  
--------------------------------------  
www.liquid.vote  

Reclaim your voice in government.  
Hold politicians accountable.  
Remove corruption.  
View ApprovalVotingForPresident.com.md

ApprovalVotingForPresident.com

What is Approval Voting?

This is how we do it now:

Plurality voting as Radio box example

This is how we could be doing it:

View get-city-by-zip.js
function getCityByZip(zip) {
fetch(`https://maps.googleapis.com/maps/api/geocode/json?address=${zip}`)
.then(response => response.json())
.then(response => response.results[0].formatted_address)
.then(console.log)
}
View calculating-representation-scores.md

Goal: An algorithm to calculate an elected legislator's "Representation Score".

Legislative agenda

We have a set of legislative bills, uniquely identified with keys like "2016-11-01-160553" or "2017-03-07-170089", that are the agenda items of a jurisdiction's legislature.

The set grows by 40 bills per week on average. As of 2017-03-12, it has 602 elements.

Each bill has a 1-week window in which it can be voted upon by the citizens in the jurisdiction via the Liquid platform.

Voter registration

View Secure Internet Voting.md

Proof-of-Vote: A Simple Cryptosystem for Secure Internet Voting

by David Ernst, www.united.vote

A method to democratically vote online, that provably ensures to the individual voter that their vote was cast and counted correctly, without tampering, while still protecting their vote privacy.

Note: This is designed for our issue-based liquid democracy platform, not traditional elections.

Goals:

View visualize_complex_linked_list.md

How to arrange a complex linked list?

Given a singly linked list like this:

[
  {
    uid: 'a',
    full_name: 'Angela Augustine',
    next: 'c',
View bmndr-wiki_spam.txt
2 February 2016
(diff | hist) . . Main Page‎; 08:40 . . (0)‎ . . ‎146.185.234.48 (Talk)‎ (aOuwuMqXkNyjSsUaI)
1 February 2016
(diff | hist) . . N Real-World repo software Systems - Insights‎; 19:06 . . (+3,353)‎ . . ‎ReggieAlcala2 (Talk | contribs)‎ (Created page with "Designs are usually obtainable in many diverse designs including high end, signature and compact products, all of which offer excellent worth and fantastic quality. There are ...")
(diff | hist) . . N User:ReggieAlcala2‎; 19:06 . . (+177)‎ . . ‎ReggieAlcala2 (Talk | contribs)‎ (Created page with "Hi there! :) My name is Carissa, I'm a student studying Film Studies from Sandefjord, Norway.<br><br>my website [http://www.misiworld.de/kts/burningbook/index.php Repo Software]")
(diff | hist) . . N Speedy Systems Of repo software‎; 17:03 . . (+3,044)‎ . . ‎TerrellMcLoud (Talk | contribs)‎ (Created page with "There is an excellent consumer protection act in the state of California called the Song-Beverly Consumer Warranty Act, mostly referred to as the
View comparing-git-add-all.md

git add . vs git add -A

Both of these will stage all files, including new files (which git commit -a misses) and deleted files.

The difference is that git add -A also stages files in higher directories that still belong to the same git repository. Here's an example:

/my-repo
  .git/
  subfolder/
View intro_to_promises.md

Promises

Why?

  • reclaim simple synchronous control flow like return & throw
  • easier to write and maintain
  • banish callback hell

How?

View gmail-datetime-to-isodate.js
// Convert a Gmail datetime into an ISODate for Mongo
function gmailToIso(string) {
return 'ISODate("' + new Date(string.split('at ').join('')).toISOString() + '")'
}