The Hacking of Reality: Difference between revisions

From Hackers & Designers
No edit summary
No edit summary
(5 intermediate revisions by the same user not shown)
Line 16: Line 16:


In an exercise we worked in small groups on chatbots with dialectical reasoning as a method to reveal the absurdities of contradictions between real and fake we come across in our daily life.  
In an exercise we worked in small groups on chatbots with dialectical reasoning as a method to reveal the absurdities of contradictions between real and fake we come across in our daily life.  
<gallery>
Dialetics2.jpg
Dialetics3.jpg
Dialetics1.jpg
Dialetics5.jpg
</gallery>


===Making a Contradiction — Dialectic Twitter Bot tutorial===
===Making a Contradiction — Dialectic Twitter Bot tutorial===
Line 25: Line 33:
* Making a Twitter application
* Making a Twitter application
** Go to the [https://developer.twitter.com/en/apply/user app page of Twitter.]  
** Go to the [https://developer.twitter.com/en/apply/user app page of Twitter.]  
  2. If not done before, verify your mail address.
** If not done before, verify your mail address.
  3. Add a name for your app  4. In the Description field, you can add: "Dialectic chatbot that replies to messages."
** Add a name for your app  4. In the Description field, you can add: "Dialectic chatbot that replies to messages."
  5. Add your own URL or the hackers and designers url as a Website
** Add your own URL or the hackers and designers url as a Website
  6. In the App usage field you can copy this text: "This app is used for a workshop to experiment with chatbots. It is merely a test and will run for a short amount of time. It is using dialectic reasoning to make people think about the statements they make on Twitter. It will not use people's data but only reply to messages it is searching for with a simple algorithm."
** In the App usage field you can copy this text: "This app is used for a workshop to experiment with chatbots. It is merely a test and will run for a short amount of time. It is using dialectic reasoning to make people think about the statements they make on Twitter. It will not use people's data but only reply to messages it is searching for with a simple algorithm."
  7. You can find the keys under the tab Keys and tokens.
** You can find the keys under the tab Keys and tokens.
* Getting your Twitter authentication codes
* Getting your Twitter authentication codes
  1. Go to the [https://developer.twitter.com/en/apply/user app page of Twitter.]  
** Go to the [https://developer.twitter.com/en/apply/user app page of Twitter.]  
  2. Select your app by clicking on the Details button.
** Select your app by clicking on the Details button.
  3. Go to the tab Keys and tokens.
** Go to the tab Keys and tokens.
  4. If you haven't done it yet, you can generate a key by clicking on the (re)generate button.
** If you haven't done it yet, you can generate a key by clicking on the (re)generate button.
  5. There you go!
** There you go!
* Twitter [https://media.sproutsocial.com/uploads/2016/02/Twitter-Search-Operators-Cheatsheet-1.pdf search cheatsheet] and [https://media.sproutsocial.com/uploads/2016/02/Sprout-Search-Operators-Cheatsheet.pdf social cheatsheet].
* Twitter [https://media.sproutsocial.com/uploads/2016/02/Twitter-Search-Operators-Cheatsheet-1.pdf search cheatsheet] and [https://media.sproutsocial.com/uploads/2016/02/Sprout-Search-Operators-Cheatsheet.pdf social cheatsheet].


Line 79: Line 87:
[http://veravandeseyp.com/hdworkshop/hd_makingacontradiction_jaroslavtoussaint_veravandeseyp.pdf Link to the presentation PDF]
[http://veravandeseyp.com/hdworkshop/hd_makingacontradiction_jaroslavtoussaint_veravandeseyp.pdf Link to the presentation PDF]


[[File:Dialetics4.jpg|thumb]]


{{#ev:youtube|jSMZU4spk7g}}
{{#ev:youtube|jSMZU4spk7g}}

Revision as of 14:44, 27 August 2018

The Hacking of Reality
Name The Hacking of Reality
Location De Bonte Zwaan
Date 2018/07/30
Time 13:00-17:00
PeopleOrganisations Jaroslav Toussaint, Vera van de Seyp
Type HDSA2018
Web Yes
Print No
JaroslavVera.jpg

We can not talk about fake news without at least implicitly defining what is real: the one does not exist without the other. To approach the question of what is real and fake or true and false, methods of reasoning — such as dialectics — can be helpful. Invented in antiquity as a way of making productive arguments, dialectics was used in modern times as a description of reality as a system of intertwined antagonisms in a constant struggle for resolve. This method of thinking laid the foundation for one of the most powerful ideologies of the 20th century: socialism, its view on history and its analysis of capitalism. However, the dialectical method — mostly in twisted forms — had also been applied to legitimize the horrors of fascism. Explaining reality as strong contradictions needing resolve recently regained popularity amongst today's so-called “alt-right” neo-fascist movements.

After a short introduction to the theory of dialectics and how to identify dialectical contradictions, we discussed how this way of reasoning could be useful to our understanding of real and fake in our own environment.

In an exercise we worked in small groups on chatbots with dialectical reasoning as a method to reveal the absurdities of contradictions between real and fake we come across in our daily life.


Making a Contradiction — Dialectic Twitter Bot tutorial

Twitter

  • Setting up a Twitter account
  • Making a Twitter application
    • Go to the app page of Twitter.
    • If not done before, verify your mail address.
    • Add a name for your app 4. In the Description field, you can add: "Dialectic chatbot that replies to messages."
    • Add your own URL or the hackers and designers url as a Website
    • In the App usage field you can copy this text: "This app is used for a workshop to experiment with chatbots. It is merely a test and will run for a short amount of time. It is using dialectic reasoning to make people think about the statements they make on Twitter. It will not use people's data but only reply to messages it is searching for with a simple algorithm."
    • You can find the keys under the tab Keys and tokens.
  • Getting your Twitter authentication codes
    • Go to the app page of Twitter.
    • Select your app by clicking on the Details button.
    • Go to the tab Keys and tokens.
    • If you haven't done it yet, you can generate a key by clicking on the (re)generate button.
    • There you go!
  • Twitter search cheatsheet and social cheatsheet.


Dialogflow Programming skills: * | dialectic capacity: ***

  • For a detailed step-by-step program, go to this tutorial.
  • Sign up to dialogflow.com using a 
Google account.
  • Click on Create agent and give it 
a name.
  • Make questions and replies in Intents.
  • Connect the bot to your Twitter account. Here is how to do that.
  • If you want to start with an example, here is a bot that you can import into your own Dialogflow environment .


Processing Programming skills: ** | dialectic capacity: **

  • Install Processing.
  • Download this Processing library that mimics an ELIZA bot 
and place it in your libraries folder.

  • Integrate the Processing Twitter library by placing it in your libraries folder.

  • Download a monologue example and a reply example to your sketches folder if you want a head start.
  • Edit the Twitter authentification codes.
  • Edit the ELIZA bot interaction in the commented code in void setup() according to the instructions.

  • Find a fitting way to interact online. The Twitter cheatsheet is over here.


Node.js Programming skills: *** | dialectic capacity: *

  • Download Node.js
  • Copy this file and save it. Edit the authentication codes for Twitter. 

  • Replace #WhateverYouWant
YourHashtagToBe with the hashtag or text you want to follow.
  • Replace var statusObj = {status: “Hi @” + tweet.user.screen_name + “, Whatever your reply is”} with the message you want to send.

  • In Terminal/Powershell, insert the following codes after pressing enter:

   $ cd [path/to/your/botfolder/]

   $ npm install twitter

   $ node bot.js

  • See the answers coming in real-time! If your hashtag is not that popular, it might take a while before it runs. Press CTRL+C stop the terminal from fetching.


Link to more chatbot integrations Link to the presentation PDF

Dialetics4.jpg