Blogs

Django / GeoDjango

Submitted by csik on Mon, 04/27/2009 - 16:01.

Hey All, quick note that I did an intro tutorial for how to get Django working on the image. Dan did a great job of installing everything you need to use Django to have a database-aware application and web site, and GeoDjango, allowing that to be geographically aware.

Details here: http://src.media.mit.edu/cfa/wiki/GettingStartedWithDjango

basic remote monitoring

Submitted by mesteno@mit.edu on Thu, 04/23/2009 - 19:07.

here's my code for a basic remote monitoring application. if you send a text message to an mms-enabled phone running this script, the mms-enabled phone will get a gps location fix and then take a picture with the camera and auto-reply with an mms including hte current picture and gps coordinates. great for....just about nothing practical! but, good basics for developing something more useful. if you have an unlimited data plan it might be better to http post this stuff online somewhere w/ coords & image for remote surveying, maybe with a timer? have fun playing. the .py file is attached below..click the linkzzz.

brad

NATO, Strasbourg and the Black Block. By DIANA JOHNSTONE

Submitted by interdocserv@ya... on Mon, 04/20/2009 - 04:16.

"NATO creates threats wherever it goes. That is its business. Whether in Afghanistan or in Strasbourg, the foreign military presence provokes violent rebellion, especially from young men who feel challenged. Their violent rebellion is cited to justify an increase in repressive violence. And so it goes…

This cycle of violence was played out last Saturday, April 4, in Strasbourg, where thousands of police and a small number of Black Block street fighters stole the show from what should have been the launching of a new European mass movement against NATO war policy. The peace demonstration was squashed and disintegrated by armed police as black-hooded youths threw stones and set fires..." Read More

SMS (+ contact name) -> Twitter!

Submitted by alajous@mit.edu on Wed, 04/15/2009 - 16:25.

This script automatically sends every SMS recieved on the phone to a Twitter account where the number of the phone from where it was originally sent and the content of the SMS appear on Twitter. (For it to work you need to setup the Twitter SMS service in you Twitter account)

From what I presented in class I made a small modification after Chris' "I am wearing a tutu" SMS (Twitter: andreslajous, I am wearing a tutu) so that it now would say "andreslajous, Chris dice (spanish for says) : I am wearing a tutu".

import inbox, e32, appuifw, messaging
global i
global id

#exit function


app_lock=e32.Ao_lock()
def quit():
app_lock.signal()
appuifw.app.exit_key_handler=quit

#this retrieves the content of the received sms


id=0
def cb(id_cb):
global id
id=id_cb
i=inbox.Inbox()
data1 = i.address(id)
data2 = i.content(id)
#this sends the retreived content to Twitter's SMS service


messaging.sms_send("40404", u" %s dice: %s " % (data1, data2))
i=inbox.Inbox()
i.bind(cb)
app_lock.wait()

gps w/ n95

Submitted by mesteno@mit.edu on Mon, 04/13/2009 - 06:03.

i originally wrote a simple script to acccess gps position but kept getting KErrPermisionDenied error relating to the positioning module. turns out that the python script shell and interpreter need to be signed with appropriate capabilities in order to access sensors and read/write data to/from them. i went ahead and through the app manager on the phone uninstalled the python script shell and python interpreter. then i downloaded the high capability unsigned .sis versions of each of these from https://garage.maemo.org/frs/download.php/5532/Python_1.9.2_3rdEd_unsign... and https://garage.maemo.org/frs/download.php/5527/PythonScriptShell_1.9.2_u... . after you get these, you can head over to https://www.symbiansigned.com/app/page/public/openSignedOnline.do and go through the short upload/download process (make sure to check all capabilities) and you'll end up w/ signed versions of these .sis files. upload these to your phone, from your phone open the file manager, install the newly signed versions of each of these (the interpreter first then the script shell) and you should have yourself readable sensors!
-brad

edit: a lot of gps programs require an initial fix before running the script. otherwise u will just get data filled with zeros. here's a quick tutorial on getting an initial fix http://www.ulpukka.com/obtaining-your-initial-gps-fix-on-your-n95

Mugabe annexes communication ministry: All your communications are belong to us.

Submitted by csik on Sat, 04/11/2009 - 17:04.

The Herald, a puppet paper of Robert Mugabe, has annouced that the ICT Ministry, controlled by MDC, has been annexed under one of Mugabe's minitries:

*From Radio VOP, 10 April*

**

*Chamisa dismisses annexing of ministry's functions*

Harare - Information Communication Technology Minister Nelson Chamisa has described the annexing of functions under his ministry and hand over to an expanded Ministry of Transport and Infrastructure Development led by Nicholas Goche as a joke, indicating that President Robert Mugabe does not have the mandate to do so. President Robert MugabeIn an interview with RadioVOP, Chamisa said only the three principals could take such a decision. "Mugabe does not have those powers, those powers in the inclusive government arrangement lie with the three principals and they have not advised me that I have been demoted or that my ministry has been disbanded as I read in The Herald, I will not take things from The Herald, which is notorious for telling lies, so maybe its just a way of misleading people," he said. A Herald report on Friday indicated that President Mugabe had expanded the Ministry of Transport and Infrastructure Development to include the Department of Communications and that the new portfolio would now become the Ministry of Transport, Communication and Infrastructural Development under Minister Nicholas Goche.

The ministry will oversee the operations at NetOne, TelOne, Zimpost and their governing body, the Postal and Telecommunications Regulatory Authority of Zimbabwe. Chamisa said he was now awaiting the decision of Prime Minister Morgan Tsvangirai and leader of the Movement for Democratic Change party Morgan Tsvangirai on the matter. "The Information Communication Technology ministry will be left to focus on developing appropriate policies and strategies of ICT innovations while spearheading the development of regulatory frameworks that facilitate the development of ICT. The ministry would also champion and promote ICT literacy in the country while formulating laws and regulations that would establish necessary departments," said the Herald. Under the new arrangement, Minister Goche would be responsible for all the communication parastatals and their regulatory bodies. The Department of Communications would be governed by the Postal and Telecommunications Act, Postal and Telecommunications Services Act and Postal and Telecommunications Corporation Act. Transmedia, which was also at the centre of the dispute, however remains under the Ministry of Media, Information and Publicity.

Using Mobile Technology to Tackle the Problem of Under-Reporting Health Statistics in Venezuela

Submitted by irene.bosch@uma... on Wed, 04/08/2009 - 21:53.

Due to the government's restriction to access available data on infectious diseases, Venezuela is currently facing a threat of epidemic outbreaks of dengue, and more recently Chaga's disease, specially in the rural and coastal areas of the country.
 
In normal situations, epidemiological data is published openly on a weekly basis and accessible to the public. Recently, the Venezuelan government put a holt on data reporting. This decision is political in nature and is designed to hide the government's inability to implement timely and relevant health policies. Unfortunately, the lack of openness causes delays in efforts to control the epidemic
 
In response to this situation, we propose several mobiles technologies oriented to inform the communities about the status of these devastating diseases. One of these mobile applications consists of reporting to local hospitals the patient's health situation (fever, acute disease, etc). Once the patient has been admitted for medical care, and released, the information about the health status could be retrieved via a mobile phone accessible datebase.
 
Another way to alert the population about mosquito borne diseases would be to obtain information on the amounts of mosquitoes transmitting dengue. This novel way of reporting mosquito alerts could be crucial for predicting outbreaks as the virus is present in the mosquito prior to biting and transmitting disease to humans.
 
We propose the following:
 

  • Develop and deploy an intelligent mosquito trap device (consisting of human bait, fan and container) attached to a cell phone with a sensor that would allow the weighing (counting) of mosquitos in various urban areas (see attachment). The cell phone is able to send an alert message indicating that high levels of mosquitoes have been reached inside the trap. The increase in the number of mosquitoes in urban areas have been shown to be correlated to the appearance of dengue outbreaks.
  • Develop an interactive voice response alert system. The user will access the compiled data dialing into an interactive voice response system.  For example, color codes can be used to indicate the level of risk of mosquito biting. A simple green-yellow-red alert can provide information about the level of risk of transmission in your area. In addition, the warning system will be able to collect data over time and over a large area, allowing analysis of the data gathered from the various devices around the city to deliver (text, graphical) distribution of the levels of the mosquitoes in any given time.
  • Design a campaign to create awareness in the community about the importance of high mosquito levels in the transmission of Dengue. Educate the population to use mobile phones to obtain information about prevention and the spread of mosquitos transmitted diseases.  

 

ITU Report now up...

Submitted by csik on Wed, 04/01/2009 - 14:43.

The UN/ITU report that Katrin mentioned is now up in Readings....

Women, Action & the Media

Submitted by interdocserv@ya... on Sat, 03/28/2009 - 04:33.

I went to an interesting panel discussion tonight titled Women Reporting from the Global Frontlines. The event was part of the Women, Action & the Media Conference at MIT's Stata Center. One of the panelists was Peta Thornycroft, one of the few remaining independent journalist in Zimbabwe. She was jailed in 2002 by the Mugabe government for breaking a media censorship law. It was very interesting to listen to her, especially after last weeks Skype conversation between Chris and the ladies from the NGO in Harare. Thornycroft described the current crisis in Zimbabwe as a repetitive story of human rights abuses, government repression and a collapsed economy.

Imagine a country where

Submitted by interdocserv@ya... on Sun, 03/22/2009 - 00:39.

Given this environment, how can mobile technology be used innovatively to achieve social impact? The problems and challenges are overwhelming, so we decided to narrow down our focus to the problem of under-reporting health statistics which affects most devastatingly the poorest segments of society. Please read the post Using Mobile Technology to Tackle the Problem of Under-Reporting Health Statistics in Venezuela.

Note:
If you want a copy of our class presentation, please contact us.