Monthly Archives: August 2019

Phil 8.30.19

7:00 – 4:00 ASRC GOES

  • Dentist!
  • Sent notes to David Lazar and Erika M-T. Still need to ping Stuart Shulman.
  • Did my part for JuryRoom (Eero Mäntyranta)
  • Dissertation – more on State
  • TF 2.0 today? (release notes)
  • Installed! Well – it didn’t blow up…
    C:\WINDOWS\system32>pip3 install tensorflow-gpu==2.0.0-rc0                                                              Collecting tensorflow-gpu==2.0.0-rc0                                                                                      Downloading (285.1MB)                                                                  |████████████████████████████████| 285.1MB 20kB/s                                                                  Collecting absl-py>=0.7.0 (from tensorflow-gpu==2.0.0-rc0)                                                                Downloading (102kB)                                                                                                |████████████████████████████████| 112kB ...                                                                       Collecting gast>=0.2.0 (from tensorflow-gpu==2.0.0-rc0)                                                                   Downloading                                                                                                      Collecting google-pasta>=0.1.6 (from tensorflow-gpu==2.0.0-rc0)                                                           Downloading (52kB)                                                                                  |████████████████████████████████| 61kB 4.1MB/s                                                                    Collecting wrapt>=1.11.1 (from tensorflow-gpu==2.0.0-rc0)                                                                 Downloading                                                                                                    Collecting grpcio>=1.8.6 (from tensorflow-gpu==2.0.0-rc0)                                                                 Downloading (1.6MB)                                                                              |████████████████████████████████| 1.6MB ...                                                                       Collecting termcolor>=1.1.0 (from tensorflow-gpu==2.0.0-rc0)                                                              Downloading                                                                                                 Collecting tf-estimator-nightly<1.14.0.dev2019080602,>=1.14.0.dev2019080601 (from tensorflow-gpu==2.0.0-rc0)              Downloading (501kB)                                                      |████████████████████████████████| 501kB ...                                                                       Collecting keras-preprocessing>=1.0.5 (from tensorflow-gpu==2.0.0-rc0)                                                    Downloading (41kB)                                                                       |████████████████████████████████| 51kB 3.2MB/s                                                                    Collecting tb-nightly<1.15.0a20190807,>=1.15.0a20190806 (from tensorflow-gpu==2.0.0-rc0)                                  Downloading (4.3MB)                                                                         |████████████████████████████████| 4.3MB 6.4MB/s                                                                   Collecting wheel>=0.26 (from tensorflow-gpu==2.0.0-rc0)                                                                   Downloading                                                                                      Requirement already satisfied: numpy<2.0,>=1.16.0 in d:\program files\python37\lib\site-packages (from tensorflow-gpu==2.0.0-rc0) (1.16.4)                                                                                                      Collecting protobuf>=3.6.1 (from tensorflow-gpu==2.0.0-rc0)                                                               Downloading (1.0MB)                                                                             |████████████████████████████████| 1.0MB 6.4MB/s                                                                   Requirement already satisfied: six>=1.10.0 in d:\program files\python37\lib\site-packages (from tensorflow-gpu==2.0.0-rc0) (1.12.0)                                                                                                             Collecting opt-einsum>=2.3.2 (from tensorflow-gpu==2.0.0-rc0)                                                             Downloading (66kB)                                                                                              |████████████████████████████████| 71kB 4.5MB/s                                                                    Collecting astor>=0.6.0 (from tensorflow-gpu==2.0.0-rc0)                                                                  Downloading                                                                                       Collecting keras-applications>=1.0.8 (from tensorflow-gpu==2.0.0-rc0)                                                     Downloading (50kB)                                                                            |████████████████████████████████| 51kB 3.2MB/s                                                                    Collecting markdown>=2.6.8 (from tb-nightly<1.15.0a20190807,>=1.15.0a20190806->tensorflow-gpu==2.0.0-rc0)                 Downloading (87kB)                                                                                  |████████████████████████████████| 92kB 5.8MB/s                                                                    Collecting setuptools>=41.0.0 (from tb-nightly<1.15.0a20190807,>=1.15.0a20190806->tensorflow-gpu==2.0.0-rc0)              Downloading (576kB)                                                                              |████████████████████████████████| 583kB ...                                                                       Collecting werkzeug>=0.11.15 (from tb-nightly<1.15.0a20190807,>=1.15.0a20190806->tensorflow-gpu==2.0.0-rc0)               Downloading (328kB)                                                                                |████████████████████████████████| 337kB 6.4MB/s                                                                   Collecting h5py (from keras-applications>=1.0.8->tensorflow-gpu==2.0.0-rc0)                                               Downloading (2.4MB)                                                                                 |████████████████████████████████| 2.4MB ...                                                                       Installing collected packages: absl-py, gast, google-pasta, wrapt, grpcio, termcolor, tf-estimator-nightly, keras-preprocessing, setuptools, markdown, werkzeug, wheel, protobuf, tb-nightly, opt-einsum, astor, h5py, keras-applications, tensorflow-gpu                                                                                                                 Running install for absl-py ... done                                                                           Running install for gast ... done                                                                              Running install for wrapt ... done                                                                             Running install for termcolor ... done                                                                         Found existing installation: setuptools 40.8.0                                                                            Uninstalling setuptools-40.8.0:                                                                                           Successfully uninstalled setuptools-40.8.0                                                                          Running install for opt-einsum ... done                                                                      Successfully installed absl-py-0.8.0 astor-0.8.0 gast-0.2.2 google-pasta-0.1.7 grpcio-1.23.0 h5py-2.9.0 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 opt-einsum-3.0.1 protobuf-3.9.1 setuptools-41.2.0 tb-nightly-1.15.0a20190806 tensorflow-gpu-2.0.0rc0 termcolor-1.1.0 tf-estimator-nightly-1.14.0.dev2019080601 werkzeug-0.15.5 wheel-0.33.6 wrapt-1.11.2


  • Oops: Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
    Type “help”, “copyright”, “credits” or “license” for more information.
    >>> import tensorflow as tf
    2019-08-30 10:23:30.632254: W tensorflow/stream_executor/platform/default/] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
  • Spent the rest of the day trying to get “import tensorflow as tf” to work

Phil 8.29.19

ASRC GOES – 7:00 – 4:00

  • Find out who I was talking to yesterday at lunch (Boynton?)
  • Contact David Lazar about RB
  • Participating as an anonymous fish in JuryRoom. Started the discussion
  • Dissertation – started the State section
  • Working on Control and sim diagrams
    • Putting this here because I keep on forgetting how to add an outline/border to an image in Illustrator:


  1. Place and select an image in the Illustrator document.
  2. Once selected, open Appearance panel and from the Appearance panel flyout menu, choose Add New Stroke:
  3. With the Stroke highlighted in the Appearance panel, choose Effect -> Path -> Outline Object.
  • Anyway, back to our regularly scheduled program.
  • Made a control system diagram
  • Made a control system inheritance diagram
  • Made a graphics inheritance diagram
  • Need to stick them in the ASRC Dev Pipeline document
  • Discovered JabRef: JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format. JabRef is a desktop application and runs on the Java VM (version 8), and works equally well on Windows, Linux, and Mac OS X.
  • Tomorrow we get started with TF 2.0

Phil 9.28.19

Politics and computational sociology conference Left 6:45, got there 9:30. Left 9:00-ish, arrived home 10:00

  • Late – it took 2.75 hours to get there. I hope I can find my car…
  • Joseph Shaheen – Target Policy making under the frame of dark networks
    • What is a dark neworks framewook?
    • Oh, no real definition. There are light and gray ones too
    • Centrality is important
    • @josephshaheen
  • Sarah Shugars – The structure of reasoning, inferring conceptual networks
    • What is public opinion – an aggregation of preferences
    • Build a model of individual reasoning
    • What are the nodes – concepts
    • What are the edges – connections between concepts
    • Portrait divergence?
    • @shugars
  • Bruce Desmarais – Network Event History Analysis
    • Bolasso model constant lasso estimatino using bootstrap – sounds like principal component analysis
    • Policy diffusion over time. How do they know that the policies are the same
  • NEWS
  • Jin Woo Kim – The distorting prism of social media
    • Frequent online commenters are unrepresentative of the general public – therefore, more toxic. Feedback loop of likes and toxicity
    • Google Perspective API?
  • Yujin Kim – Polarization in online uncivil comments
    • Lingustic features – partisan language, in-out group pronouns predict incivility?
    • This study used internal NYT data where comments were rejected by the editors? And what does that mean?
  • Maurits van der Ween – Measuring the European public sphere across multiple languages
    • Measure discourse across multiple language over time
    • European identity is maginal and not developing much
    • Imagined Community – Anderson
    • What does it mean to be tightly linked by print?
    • NN translation
    • Topic modeling
  • Pavel Oleinikpc – Finding duplicate stories in local news
    • National news promote polarization due to suppression of local news
    • Need to discriminate between true local news from repackaged national segments
    • Uses closed-caption text
    • Google’s free transcription after 60 minutes per month
    • Normally, teleprompter text is fed into closed caption  unless the text is spontaneous, at which point, the quality drops greatly
    • Locality sensitive hashing?
  • Sean Fisher – Locating the local
    • Selective exposure – what environmental constraints on news exposure
    • Local news disappear and politics becomes nationalized
    • Will affect how the issue is perceived
    • 3,000 county seats in the US
    • Northeastern developed search terms?
    • No spatial correlations
    • Regression for multi factors, but local searches = local results, national search = national results
  • Andy Guess – Media Literacy <—– This guy
    • WhatsApp fueling fake news in India
    • Calls for media literacy to counter credulous thinking
    • Facebook “news tip” in 2017? Also on WhatsApp.
    • Do these work?
  • Allessandro Vechchiato – Algorithmic bias
    • News delivery Google, social, app, even newspapers is personalized
    • news value vs. entertainment value
    • How bias interacts with self-selection
    • Built news aggregator app
      • Delivers two different biased news feed
      • measure user readership behavior online
    • Bias between hard and soft news
    • Uses patient preferred samples, where users select their preferred bias, and a randomized population to compare
    • Media diets can be manipulated by algorithms that can overcome individual tastes
  • David Lazer – Searching for the truth… <- contact about LMN
    • How much do people access fake news relative to regular news
    • Fake news list Grinberg et al (2019) [repeated violaters of fact checkers]
    • News is defined using a variety of manual and automated methods
  • Sarah Dreier – Religiosity and public policy in congress
  • Eric Dunford – Gender Norms and Violent Behavior in a virtual world <
    • Uses Eve Online
    • Six million players
    • Open sandbox – very little restriction on users. Money laundering is a problem
    • 500,000 players
    • Could be used to find nomad/flock/stampede?
  • Nicolas Velasquez – Ecologies of Online Contention: From Hate to Health
    • There is some mapping in physical and network space
    • Movement from untrusted groups to trusted groups in times of uncertainty
    • Policy 4  -fracture groups into smaller groups based on subsumed differences. Fascist vs. racial supremacist
  • Alexandra Siegal – Can Celebrities reduce prejudice? The effect of Mohamed Salah on Islamophobic Attitudes and Behaviors
    • matrix completion method to predict behavior based on surrounding counties. May be useful for satellite diagnosis as well

Phil 9.27.19

7:00 – 7:00 ASRC GOES

  • Replied to Antonio with a plan for the software paper
  • Dissertation
    • More Lit Review – finished Dimension Reduction!
  • Set up TF 2.0 – Nope
  • Started writeup of simulator and sent a status to Erik
  • Waikato meeting
    • First room is running
    • Asked Chris to change “Maximum Anonymity” to “Improved Anonymity”
    • Some discussion about experimental design

Phil 8.26.19

7:00 – ASRC GOES

  • Dissertation – working my way through the lit review section
  • Antonio sent a note about Software Impacts, which provides a scholarly reference to software that has been used to address a research challenge. The journal disseminates impactful and re-usable scientific software through Original Software Publications (OSP) which describe the application of the software to research and the published outputs.
    • Submissions to Software Impacts consist of two major parts:
      • A short descriptive paper of about three pages including an Impact Overview and references to publications where the software has been used
      • An open source software distribution with support material.
    • So, to get things to fit on GitHub, I worked on getting GPM to work with a smaller library – done
  • Discussions with Aaron about using TF 2.0 xformer on GOES sim data
  • Security training – an hour or so
  • Copied the Waikato JuryRoom proposal to PolarizationGame folder

Phil 8.23.19

7:00 – 4:00 ASRC GEOS

  • More Dissertation
    • Continuing lit review
  • Rework BlueSky paper for air traffic? Meeting with T at 10:00
  • Simulation
    • Need to discuss with Aaron the best way to use the data to train the NN and round-trip the outputs so that they can be used to have the ML model issue commands to the RCS system so that given the outputs of one model, the NN can create commands that cause the same outputs in a separate model
  • Wow. It knows/finds syntactically correct Java. From
  • Wow

Phil 8.22.19

7:00 – ASRC GOES


  • Dissertation
    • Lit review
    • This, from Colin Martindale CogPsy a NN approach. It’s the central piece:
      • it turns out that language is almost entirely metaphorical (Hobbs,
        1983; Lakoff, 1987; Lakoff & Johnson, 1980). Many of these metaphors are
        spatial. Look back at the last sentence. I asked you to think things through. I told you that something turned out. We bring up topics. We put them on the table. If you could argue with me, Lakoff and Johnson (1980) point out that we would have a war: you might try to attack and shoot down my arguments. I would try to defend them by trying to demolish your position and counterattacking. Lakoff’s argument is that if we took all the metaphors out of language, there would be virtually nothing left. (p 212)
  • More control systems – first pass is working!



Phil 8.21.19

City Arts & Lectures: Privacy and Technology

  • This week, a conversation about privacy, ethics, and organizing in the world of technology.Who benefits from the lack of diversity in the tech industry? Does artificial intelligence reflect the biases of those who create it? How can we push for regulation and transparency?  These are some of the questions discussed by our guests, Meredith Whittaker, co-founder of AI Now at NYU and the founder of Google’s Open Research Institute; and Kade Crockford, Director of the ACLU Massachusetts’ Technology and Liberty Program. They appeared at the Sydney Goldstein Theater in San Francisco on June 7, 2019.

7:00 – 8:00 ASRC GOES

  • Printed out some business cards for JuryRoom
  • Antonio has submitted the manuscript – created a TAAS account and verified that its there
  • Dissertation
    • Finished 0.5 pass at chapter 1!
  • Goddard today
    • See if I can get a permanent card? Done!
    • More control system work
  • Meeting with Wayne
    • Send the as-delivered TAAS paper and cover letter. Done
    • Work on getting the ML/Weapons paper reformatted tomorrow
    • Send chapter one of the dissertation
    • I’ll then start sending the chapters as I “complete” them, and we’ll see how it’s going. If the dissertation seems to be coming together well, then we might switch strategies to a from a content-centric to a coherence-centric approach.

Phil 8.20.19

Chores calls!

Trump, Qanon and an impending judgment day: Behind the Facebook-fueled rise of The Epoch Times

  • By the numbers, there is no bigger advocate of President Donald Trump on Facebook than The Epoch Times. The small New York-based nonprofit news outlet has spent more than $1.5 million on about 11,000 pro-Trump advertisements in the last six months, according to data from Facebook’s advertising archive — more than any organization outside of the Trump campaign itself, and more than most Democratic presidential candidates have spent on their own campaigns. Those video ads — in which unidentified spokespeople thumb through a newspaper to praise Trump, peddle conspiracy theories about the “Deep State,” and criticize “fake news” media — strike a familiar tone in the online conservative news ecosystem. The Epoch Times looks like many of the conservative outlets that have gained followings in recent years.

7:00 – 4:00 ASRC GOES

  • Dissertation
    • I just found out that the UMBC, UMD, and TSU are Jan 2 – 22. I’ll be doing my defense in there somewhere
    • Working on the TACJ section
  • Add controllers for the reaction wheels so that a “go to AZ=30, EL=20, R= -10” can work
    • Getting close:
    • Control
  • Next task is to subclass the ReactionWheelController to pitch, roll, and yaw controllers, so that they can manipulate their data separately
    • Voltage should control the velocity and direction of the wheel
    • Simulator can be told to add drag to a wheel
  • I think Communications of the ACM is the next place to try the AI Weapons paper. It’s 5,000-ish words, so it looks like it should fit:
    • CACM
  • Finished TAAS article and letter. Notified Antonio

Phil 8.19.19

ASRC GOES 7:00 – 4:00

  • Adding the journalism framing example to the introduction
  • Continue to work all data transfers into the Data Dictionary so that effective, tagged training in the sim can happen
    • done-ish? Need to do another layer and figure out how to set up the command and response buffers – done


Data Dictionary as a spreadsheet

Phil 8.16.19

7:00 – 4:00 ASRC GOES

  • Dissertation
    • More introduction. Finished the first pass. Maybe add something about journalism, and how the system could create something new?
  • Put the commands and responses in the DB so we get tagging
  • Add controllers for the reaction wheels so that a “go to AZ=30, EL=20, R= -10” can work
  • Have the dictionary save to a database?

Phil 8.15.19

7:00 – 5:00 ASRC GOES

  • Antonio has the TAAS paper
  • Dissertation
    • Starting at the beginning. Paragraphs have been written!
  • Demo at NOAA today
    • Change the timeseries filename to include date and time information – done
    • Demo went well. Bruce helped a lot, which means he’s on board with the concepts
  • Thinking about maintaining anonymity on JuryRoom
    • Anonymity is the default
    • In the menu, there is something that says “You are posting as XX”, where XX is a 2-character label that is generated for every Jury.
    • In the same spot is a “Post as Yyyyy”, where Yyyyy is the login name. Clicking that will reverse the statements so that the bar reads “You are posting as Yyyyy”
    • If posting, all players get a color, rather than their Icon
    • In the database, the presence of a label is a flag for anonymous posting. If the user is presenting as themselves, then that string is NULL, so it’s an easy test.
  • Social learning strategies regulate the wisdom and madness of interactive crowds
    • Why groups of individuals sometimes exhibit collective ‘wisdom’ and other times maladaptive ‘herding’ is an enduring conundrum. Here we show that this apparent conflict is regulated by the social learning strategies deployed. We examined the patterns of human social learning through an interactive online experiment with 699 participants, varying both task uncertainty and group size, then used hierarchical Bayesian model fitting to identify the individual learning strategies exhibited by participants. Challenging tasks elicit greater conformity among individuals, with rates of copying increasing with group size, leading to high probabilities of herding among large groups confronted with uncertainty. Conversely, the reduced social learning of small groups, and the greater probability that social information would be accurate for less-challenging tasks, generated ‘wisdom of the crowd’ effects in other circumstances. Our model-based approach provides evidence that the likelihood of collective intelligence versus herding can be predicted, resolving a long-standing puzzle in the literature.
  • Locally noisy autonomous agents improve global human coordination in network experiments
    • Coordination in groups faces a sub-optimization problem1,2,3,4,5,6 and theory suggests that some randomness may help to achieve global optima7,8,9. Here we performed experiments involving a networked colour coordination game10 in which groups of humans interacted with autonomous software agents (known as bots). Subjects (n = 4,000) were embedded in networks (n = 230) of 20 nodes, to which we sometimes added 3 bots. The bots were programmed with varying levels of behavioural randomness and different geodesic locations. We show that bots acting with small levels of random noise and placed in central locations meaningfully improve the collective performance of human groups, accelerating the median solution time by 55.6%. This is especially the case when the coordination problem is hard. Behavioural randomness worked not only by making the task of humans to whom the bots were connected easier, but also by affecting the gameplay of the humans among themselves and hence creating further cascades of benefit in global coordination in these heterogeneous systems.

Phil 8.14.19

7:00 – 8:00 ASRC GOES

  • pyforest – lazy-import of all popular Python Data Science libraries. Stop writing the same imports over and over again.
    • pyforest lazy-imports all popular Python Data Science libraries so that they are always there when you need them. If you don’t use a library, it won’t be imported. When you are done with your script, you can export the Python code for the import statements.
  • Ping Antonio about TAAS. Important points are round-tripping ABS, and enabling navigation as a way of prediction
  • Transition text from TAAS to Dissertation
  • Mission Drive – nope, couldn’t get in
    • Show Bruce model and control
    • Meeting
    • pip3 install openpyxl, for some reason
    • Pretty pictures!


  • Meeting with Will this evening
    • after a moderate amount of flailing, got his Slack message files into a database

Phil 8.13.19

7:00 – 5:00ASRC GOES

  • TAAS/DIssertation
    • Rolling in changes. At Belief Space Cartography
    • Done! Need to ping Antonio
  • Nice Jersey! Sizing chart
  • More control system work
    • Add data dictionary – done
    • Add main controller – done
    • Put sim under controller – done
    • Add “Attitude Controller” for reaction wheels and sensors
    • Add “Reaction Wheel” controller?
  • Leaving early
  • Wakaito meeting