Posts Tagged ‘code’

BBC News reports on Give Me My Data

Friday, June 25th, 2010

BBC News reports on Give Me My Data. Their website and video player is pretty clunky, and while they avoid crediting the developer, its still a nice plug to wake up to.
http://news.bbc.co.uk/2/hi/programmes/click_online/8744514.stm

Picture 2

Schematic for You Never Close Your Eyes Anymore

Friday, June 11th, 2010

“Open sourcing” the schematic for the electronic components for You Never Close Your Eyes Anymore.

Picture 5

Products:

RBBB boards (Arduino clone)
custom-designed circuits
– female headers
– TIP31 transistor
– 6-wire Unipolar Stepper motor (48 step Nippon Electric Pulse Motor)
– ULN2803A Darlington Array
– hook-up wire
– various resistors
– LEDs
used camera lenses
aluminum “flat bar”
hose clamps
rubber wine corks
various mounting hardware

Die peinlichsten Einträge bei Facebook, StudiVZ und Twitter

Monday, May 24th, 2010

565px-Bild_logo.svg

Give Me My Data mentioned in a Bild article:

Die peinlichsten Einträge bei Facebook, StudiVZ und Twitter The most embarrassing messages on Facebook, StudiVZ, and Twitter (English), May 22, 2010

Read the full translation

(translated from German) “Many users are unaware that their comments will be permanently stored in networks. For example Facebook can retrieve all stored Stautusmeldungen. The U.S. Professor Owen Mundy has a developed application, Facebook members ever entered all the data and displays the posts. Under “Select Data”, you select which data you want to see (for example, personal data, status messages). Here also dive old, long deleted on posts, which are provided with a time code. Facebook apparently never forgets.”

New yourarthere.net website is live

Saturday, May 22nd, 2010

After 4 months the new yourarthere.net website and member-run content management system is now live. Thanks to Braylin and Brittany Morales, Beth Lee, and Chris Cumbie for all their hard work.

The site is valid XHTML/CSS and runs on PHP/MySQL using the Codeigniter framework. All the details from our research from inception onward are archived here.

This site is based around the idea that members should have control of the content on the website. Every member has a profile where they can add images, text, tags, and events to promote their artwork or group. Members can create a new profile for every domain they host with yourarthere.nets.

Picture 6

Picture 8

Hello World

Monday, May 17th, 2010

Considering sharing the source code behind Give Me My Data on GitHub. Looks like its great for archiving, improving, and sharing…

“Facebook’s Disconnect: Open Doors, Closed Exits” – TechCrunch

Sunday, May 9th, 2010

Picture 1

More press for Give Me My Data, this time by Rohit Khare from TechCrunch (thanks for the note Evan.).

Give Me My Data has a more open-ended design that supports exploration and experimentation, in part because it sports an impressive array of formats to download your friend lists and other information for use in other projects such as visualization and charting. Owen Mundy at Florida State originally developed it for his own use, but “this week it kind of exploded because of the interface changes.” That could either be a sign of broader awareness of how much data users share with Facebook; or it could be the acute interest users have in putting profile data that Facebook “lost” right back onto Facebook (a feature that may be coming soon).”

Fading an LED with PWM and a Potentiometer

Saturday, May 8th, 2010

Using a potentiometer and PWM on an Arduino to fade an LED.

  1.  
  2. /* POT to LED test -> by Owen Mundy March 11, 2010
  3.    from: http://itp.nyu.edu/physcomp/Labs/AnalogIn
  4. —————————————————————*/
  5.  
  6. int potPin = 0;    // Analog input pin that the potentiometer is attached to
  7. int potValue = 0;  // value read from the pot
  8. int led = 9;      // PWM pin that the LED is on.  n.b. PWM 0 is on digital pin 9
  9.  
  10. void setup() {
  11.   // initialize serial communications at 9600 bps:
  12.   Serial.begin(9600);
  13.   // declare the led pin as an output:
  14.   pinMode(led, OUTPUT);
  15. }
  16.  
  17. void loop() {
  18.   potValue = analogRead(potPin); // read the pot value
  19.   analogWrite(led, potValue/4);  // PWM the LED with the pot value (divided by 4 to fit in a byte)
  20.   Serial.println("hello");      // print the pot value back to the debugger pane
  21.   delay(10);                     // wait 10 milliseconds before the next loop
  22. }
  23.  

Here is the schematic for the above project.

Using PWM and a potentiometer to fade an LED and drive a stepper motor, powered by a Boarduino RBBB.

  1.  
  2. /*
  3.   Owen Mundy
  4.  July 29, 2009
  5.  
  6.  p. 262 of Physical Computing
  7.  Using BBB to run stepper motor by manually moving steppers
  8.  
  9.  */
  10.  
  11. int pin1 = 3;                 // PWM
  12. int pin2 = 5;                 // PWM
  13. int pin3 = 6;                 // PWM
  14. int pin4 = 9;                 // PWM
  15. int ledpin = 13;              // LED
  16. int led = false;              // LED monitor
  17. int motor_time_lapse = 80;
  18.  
  19. int potPin = 0;      // Analog input pin that the potentiometer is attached to
  20. int potValue = 0;    // value read from the pot
  21. int ledPotPin = 11;  // PWM pin that the LED is on.  n.b. PWM 0 is on digital pin 9
  22.  
  23.  
  24. void setup()
  25. {
  26.   pinMode(pin1, OUTPUT);      // sets the pin as output
  27.   pinMode(pin2, OUTPUT);      // sets the pin as output
  28.   pinMode(pin3, OUTPUT);      // sets the pin as output
  29.   pinMode(pin4, OUTPUT);      // sets the pin as output
  30.   pinMode(ledpin, OUTPUT);    // sets the pin as output
  31.  
  32.   // initialize serial communications at 9600 bps:
  33.   Serial.begin(9600);
  34.   // declare the led pin as an output:
  35.   pinMode(ledPotPin, OUTPUT);
  36. }
  37.  
  38. void loop()
  39. {
  40.   potValue = analogRead(potPin); // read the pot value
  41.   analogWrite(ledPotPin, potValue/4);  // PWM the LED with the pot value (divided by 4 to fit in a byte)
  42.   Serial.println(potValue);
  43.  
  44.   digitalWrite(pin1, HIGH);   // on
  45.   digitalWrite(pin2, LOW);    // off
  46.   digitalWrite(pin3, HIGH);   // on
  47.   digitalWrite(pin4, LOW);    // off
  48.   delay(motor_time_lapse);    // wait
  49.  
  50.  
  51.   digitalWrite(pin1, LOW);    // off
  52.   digitalWrite(pin2, HIGH);   // on
  53.   digitalWrite(pin3, HIGH);   // on
  54.   digitalWrite(pin4, LOW);    // off
  55.   delay(motor_time_lapse);    // wait
  56.  
  57.   digitalWrite(pin1, LOW);    // off
  58.   digitalWrite(pin2, HIGH);   // on
  59.   digitalWrite(pin3, LOW);    // off
  60.   digitalWrite(pin4, HIGH);   // on
  61.   delay(motor_time_lapse);    // wait
  62.  
  63.  
  64.   digitalWrite(pin1, HIGH);   // on
  65.   digitalWrite(pin2, LOW);    // off
  66.   digitalWrite(pin3, LOW);    // off
  67.   digitalWrite(pin4, HIGH);   // on
  68.   delay(motor_time_lapse);    // wait
  69.  
  70.   blink();
  71. }
  72.  
  73. void blink()
  74. {
  75.   if (led == false)
  76.   {
  77.     led = true;
  78.     digitalWrite(ledpin, HIGH); // on  
  79.   }
  80.   else
  81.   {
  82.     led = false;
  83.     digitalWrite(ledpin, LOW); // on  
  84.   }
  85. }

“Two Facebook Apps To Help You Fight Back Against Facebook” – The Consumerist

Tuesday, May 4th, 2010

logo_theconsumerist

Two Facebook Apps To Help You Fight Back Against Facebook
by Chris Walters, The Consumerist, May 4, 2010

PHP: Timestamp validator and converter

Monday, May 3rd, 2010
  1. <?php
  2.  
  3. /*
  4.  *  Timestamp validator and converter
  5.  *  {cc} Owen Mundy ~ owenmundy.com
  6.  *
  7.  */  
  8. function convert_date($string)
  9. {
  10.     // make sure it is a string with a number && > 1992-05-07 && < 2033-05-18
  11.     if ( ctype_digit($string) && $string >= 800000000 && $string <= 1999999999 )
  12.     {
  13.         // if so convert it to a human-readable date
  14.         $d = date(‘Y-m-d H:i:s’, $string);
  15.         return $d;
  16.     }
  17.     else
  18.     {
  19.         return false;  
  20.     }
  21. }
  22.  
  23. print convert_date("1613199869");
  24.  
  25. ?>

Thanks

“Give Me My Data Helps Refill Blanked Facebook Profiles” – ReadWriteWeb

Sunday, May 2nd, 2010

logo_readwriteweb

Give Me My Data Helps Refill Blanked Facebook Profiles
by Curt Hopkins, ReadWriteWeb, May 2, 2010