Patrick Connolly
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: Polis --- # 2021-03-17 Polis Technical Office Hours <sup>[:pencil: View all notes](https://hackmd.io/@patcon/conversa-calls/)</sup> Background: https://github.com/compdemocracy/polis/discussions/907 Who's here? metasoarous, lawrencefulton, patcon Hosting? metasoarous / Computational Democracy ## Notes - generally reading through [`/math/src/polismath/math/conversation.clj`](https://github.com/compdemocracy/polis/blob/dev/math/src/polismath/math/conversation.clj) together - metadata comments = constant priority. higher than avg priority / selection prob. - metadata comments are important, so get prioritized even if not significant. supports moderators - problems: so much high than avg that if moderator asks lots of metadata Qs, then can get heavily front-loaded - lots of "survey" questions first, can kinda turn off participants - chris spent a bunch of time tuning parameters, but still a bit suboptimal - as convo grows, these make less sense and get a bit wonky - priority metric + importance metric - priority metric scales by a factor the more that the comment has been seen - in small convos, number (s) is big. when large convo, is small - as you get a bigger convo, might want a better curve to upweight new comments in system ("give new comments a chance to bubble up") - bad thing is that it's constant. should be more dynamic, as a function of total number of comments - `p` and `a` are ests of probability of passing or agreeing - can infer prob of disagreeing from these? - consensus disagree not shown as much as consensus disagree. favouring positivist framing. - if there's something NO ONE agrees with, why are we showing it to everyone. - pc: moderator view won't have vote associated with. - participants who are hyper engaged might want to tease out a nuance of a group that's not them, and if they know that submitted a statement involves an implied +1, they'll need to write an negative frame. but this will currently be punished, so best to "lie" about personal stance to get positivist up-weighting. - lawrence: i might phrase an antagonistic way to appeal to certain audiences. e.g. "i don't want refugees in the country". Even though not common, nor my own view, i might want ppl to respond to this provocation, e.g., if i think one other group would agree. - is this intentional? are you trying to encourage agreement? are we trying to be positivist? - chris: easier to analyse with positive statements. easier to say what a group is by what the stand for, not for the negative space of disagreement. - chris: constructivists. "not not A != A" - maybe can't just flip it. hard to do synthesis when there are a lot of negatives - pc: GPT-3 to flip statement framing ONLY for reports page, with a big asterisk to warn about constructivist implications (inverse not same). - would need to be optional, as GPT API is private - lawrence: more dragons around closed source of GPT-3 - chris noted the above points as interesting and worth considering, as they hadn't been anticipated behaviors, but they make a lot of sense. - lawrence: A P S E = agree / pass / distance / extremity [line 305] - distance = where you would project comment in PCA space - `p`, `a` = probabilities - seen = number of votes total + 1 pseudo-count so defaults to dumb prior of 0.5 (prior disappears) - if not extreme at all (e.g. dead in center of convo) ends up being "1" - lawrence: looking for comments that are LESS centered - "a split that hasn't been seen before?" chris: maybe, but not necessarily - maybe first 2 principal component axes are capturing positions on abortion and gun control, and next one is authoritarian/liberalism. truly meta-axes. bad example, since not independant. e.g. 3 uncorrellated axes. if most activity in convo is about abortion and gun control, - this is a third axis in conversation that doesn't have same momentum or overall focus of those rep'd in existing convo - lawrence: and will get promoted? if they don't have xxx wouldn't get promoted. but maybe we should promote it to help - lawrence: would it be better to do distance before PCA? rather than PCA then distance. why reduce the information to 2 dimensions to calculate distance? - chris: wrestled with this early on. reason we didn't was because. literature on PCA is that it's a way of reducing noise. often real stuff and noise. - "scree plot" can show that at some point, you can lop of other dimensions, that's where the noise is. where to make that cut is a nontrivial problem. - why not just take all distances? bc potentially adding noise to mix. - pragmatically, focussing on what will help us place people in two dimensions. - BUT as lawrence is getting at, what if there are things happening and bubbling in 3rd or 4th dimensions, we wouldn't want to lose that. - chris: "not downweighted for having low-extremity, just not up-weighted" - lawrence: sounds like exploration/exploitation discussion - thought PCA3 (third axis) might get lost, some of those comments will be on PCA2 or PCA1, and so they're not lost. so if PCA3 was surfacing, it would start - pc: is this PCA3 thing like a blind spot? could a high level adversary manipulate convo to keep something in blind spot? - chris: think of star field. if you have a plane that you can shine in all directions, how do you shine it to "cast the biggest shadow" - odd, because in this, we're inside the starfield. - pc: can see why audrey wanted to work in 3D. - chris: we did experiments where 2D plots of top 4 PCA dimensions. Caught off-guard the sort of correlations that showed up in there. - chris: this has to do with factor analysis. trying to determine what axes mean. - CLOJURE HAS EXECUTABLE COMMENTS. code will get evaluated with repl, but gets ignored in compiler. - REPLs very important in clojure. REPL-driven development. common in LISP - deployment - chris: hopeful about switching deployment to docker-compose prod functionality - started down this path, got things kinda working. a few gotchas. pretty responsive on bugs. put on backburner for a bit - traditionally compose works in production, on one machine - recently added ability to deploy to AWS/azure. specify context of compose, and by switching context, can deploy to prod cluster env. - `docker-compose` => `docker compose` - can re-use docker-compose.yml stuff with overlay files - pc: helm + kubernetes - from related projects catalog: https://docs.google.com/spreadsheets/d/1PNlYoIyN1_jS7CpHDImHcA8qW4UFuEDLVZe0p_C6V0w/edit#gid=0 - https://github.com/itme/charts/tree/master/src/polis/templates - is it overkill? def for blog, but maybe appropriate here - chris: often contrasted with serverless, and polis is not considering that. too much lockin. so maybe critiques don't apply - chris: warm to helm. maybe "rancher" alternative - for now, working on getting it in heroku again - doesn't work great with monorepo - BUT can deploy from docker images - prod/preprod tangling. diff math workers. same database. frontend has different code paths for prod/preprod - math can run in multiple modes. if preprod, labels things differently in postgres database - branches: edge, main/stable - either of HEADs can be deployed - notebooks repo is getting merged in analysis repo - analysis repo has docker image that it uses to run things - can also use custom jupyter setup for writing own notebooks

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully