Collaboration

Control

  • Formerly to do with control
  • Taking control over helpless user's computers
  • Building a program for distributed control

GitHub

  • 9 million people on 20 million projects
  • How to visualise some of the data and the relationships between them
  • GitHub provides a data API
  • Traverse the information to explore connections

{
  "id": "2632693650",
  "type": "PushEvent",
  "actor": {
    "id": 4088314,
    "login": "keshavkatwe",
    "gravatar_id": "",
    "url": "https://api.github.com/users/keshavkatwe",
    "avatar_url": "https://avatars.githubusercontent.com/u/4088314?"
  },
  "repo": {
    "id": 31814719,
    "name": "keshavkatwe/EMS",
    "url": "https://api.github.com/repos/keshavkatwe/EMS"
  },
  "payload": {
    "push_id": 595302513,
    "size": 1,
    "distinct_size": 1,
    "ref": "refs/heads/master",
    "head": "1b072f58c54d6034419c0b8fd28d8001d7e34976",
    "before": "531075d2b964cc9b624029acd78cc9d9c803e37e",
    "commits": [
      {
        "sha": "1b072f58c54d6034419c0b8fd28d8001d7e34976",
        "author": {
          "email": "keshav.katwe@gmail.com",
          "name": "Keshav Katwe"
        },
        "message": "Left menu",
        "distinct": true,
        "url": "https://api.github.com/repos/keshavkatwe/EMS/commits/1b072f58c54d6034419c0b8fd28d8001d7e34976"
      }
    ]
  },
  "public": true,
  "created_at": "2015-03-08T12:06:13Z"
},
					

    "avatar_url": "https://avatars.githubusercontent.com/u/4088314?"
					

					    @@ -36,7 +36,7 @@
                         <li class=\"<?php echo (isset($current_page) && $current_page == 'faculties') ? 'active' : '' ?>\"><a href=\"<?php echo base_url('faculties'); ?>\"><i class=\"fa fa-circle-o\"></i> Manage faculties</a></li>
                     </ul>
                 </li>
                 -            <li class=\"treeview\">
    +<!--            <li class=\"treeview\">
                     <a href=\"#\">
                         <i class=\"fa fa-users\"></i>
                         <span>Student</span>
                         @@ -46,7 +46,7 @@
                         <li><a href=\"../../index.html\"><i class=\"fa fa-circle-o\"></i> Add student</a></li>
                         <li><a href=\"../../index2.html\"><i class=\"fa fa-circle-o\"></i> Manage students</a></li>
                     </ul>
                     -            </li>
    +            </li>-->
                 <li class=\"treeview <?php echo (isset($current_tab) && $current_tab == 'subject') ? 'active' : '' ?>\">
                     <a href=\"#\">
                         <i class=\"fa fa-book\"></i>"
					

Experiments


/**
  * Randomly coloured audio monitor
  * Code based on example code from Minim documentation which can be found at
  * http://code.compartmental.net/minim/audioinput_class_audioinput.html
  */

import ddf.minim.*;

Minim minim;
AudioInput in;

void setup()
{
  size(displayWidth, displayHeight, P3D);

  minim = new Minim(this);

  // use the getLineIn method of the Minim object to get an AudioInput
  in = minim.getLineIn();
}

void draw()
{
  background(0);
  stroke(255);


  // draw the waveforms so we can see what we are monitoring
  for(int i = 0; i < in.bufferSize() - 1; i++)
  {
    float percent = (float)i / (float)in.bufferSize();
    float getLeft = in.left.get(i);
    float getRight = in.right.get(i);



    //stroke(random(getLeft*500), random(getLeft*500), random(getLeft*500));
    line( percent*width, height*0.25 + getLeft*400, percent*width+1, height*0.25 + getLeft*200 );
    line( percent*width, height*0.50 + getLeft*400, percent*width+1, height*0.55 + getLeft*200 );
    line( percent*width, height*0.75 + getRight*400, percent*width+1, height*0.75 + getRight*200 );
  }

  String monitoringState = in.isMonitoring() ? "enabled" : "disabled";
  //text( "Input monitoring is currently " + monitoringState + ".", 5, 15 );
}

void keyPressed()
{
  if ( key == 'm' || key == 'M' )
  {
    if ( in.isMonitoring() )
    {
      in.disableMonitoring();
    }
    else
    {
      in.enableMonitoring();
    }
  }
}