Friday, April 9th, 2010
Dycapo is the project I'm developing for my Bachelor thesis in Computer Science, during my internship at Fondazione Bruno Kessler, in the SoNet research group.

Dycapo Project mission is to develop a complete free/open Architecture to provide Dynamic Carpooling capabilities. That is, Dycapo Project outputs will be:
- A Protocol aspiring to become a standard for Dynamic Ridesharing services
- A Server System implementing the Protocol, providing a full Dynamic Carpooling system
- A set of API to access the service
- A mobile Java client for Android smartphones
The first three aspects are developed by me, while the fourth one will be written by a Unibz collegue.
Because Computer Scientists are lazy, we gave very simple code names to every part of the Project:
- Dycapo Project is the whole ambitious project, including the whole Architecture, the research activities and people behind
- Dycapo Protocol is the Dynamic Carpooling Protocol that I am writing
- Dycapo is the server system implementing Dycapo Protocol
The whole project has its home located at http://dycapo.org
Tags: DyCaPo, dynamic carpooling, dynamic ridesharing, FBK, Free*, opensource, research, SoNet, xml-rpc
Posted in | No Comments »
Thursday, February 18th, 2010
A tiny update for the (still) alpha project Pomodroid.
I added some new Power Management features:
- When running a Pomodoro, the Android phone is prevented from going stand-by. That is, it will never block the screen and go to sleep. The block is released when Pomodoro Activity looses focus.
- When running a Pomodoro, screen brightness is set at a minimum level to save battery. When Pomodoro either finishes or is broken, screen brightness is restored to its original value
From this version, I am also going to use Semantic Versioning rules.
The APK has already been uploaded to the Market.
Tags: abstraction, Free*, pomodoro, pomodroid, xml-rpc
Posted in Free*, Programming | No Comments »
Sunday, January 10th, 2010
As promised, Dycapo 0.0.2 is out.
Dycapo will be an open client (mobile)/server system that will improve travel experiences of users in a city. The system will let people to define a destination on their mobile phone. DyCaPo will suggest and arrange trips by either using the Public Transport Service or Carpooling volunteers.
That is, DyCaPo will implement full Dynamic Carpooling functionalities as well as static approaches.
More information and download on the official page.
Here are the release notes and the changes since 0.0.1:
RELEASE NOTES
***************
2010-01-10 Daniel Graziotin
Dycapo 0.0.2 is just for _showing_out_some_functionalities_ of the system and testing the underlying technologies. Dycapo 0.0.2 incorporates and shows:
* OpenTrip Core adoption and OpenTrip Dynamic data structures proposal (in Django Model format)
* Use of XML-RPC with Django (rpc4django over HTTP and HTTPS)
* (Sort of) integration of Dycapo models with Django and rpc4django
* Authentication
* Insertion of a trip by a driver
* Start of a trip by a driver
* Search of a trip by a rider
* Send a ride request to a driver
* Let the driver accept the ride request
No one exported XML-RPC function will surely be included in the final API! No one exported XML-RPC function is either optimized or completely working!
Code is (somewhat) documented. Expect a completely better work for 0.1.0
CHANGES SINCE 0.0.1
***************
Some refactoring to make the code cleaner.
Lots of bugs fixed.
Test suite rewritten and (finally) fully working.
models.py:
- added utility methods (i.e. __unicode__ and to_xmlrpc)
- use of OpenTrip id proposal instead of Django id
- addition of fields to Participation model, regarding a ride request and a request accepted
trip.py:
this module has been splitted in four files:
- driver.py - holds all the XML-RPC methods that a Driver needs.
- rider.py - holds all the XML-RPC methods that a Rider needs.
- commin.py - will hold all the XML-RPC methods shared by Rider and Driver
- utils.py - holds some utility functions.
driver.py (formerly trip.py):
- added check_ride_requests(trip) - checks for ride requests
- added accept_ride_request(trip, person) - for accepting a Rider
rider.py (formerly trip.py):
- added request_ride(trip) - sends a ride request to a trip
tests/:
- Cleaner code and better organization
- Added test_all_simple.py - creates a Driver and a Rider with the same destination as target
- test_all.py - creates 3 drivers and 5 riders with random locations as target
Tags: 2010, api, bugs, change, Client, code, daniel, data structures, django, document, Download, driver, DyCaPo, dynamic, dynamic carpooling, dynamic ridesharing, FBK, fix, free software, Free*, gmail, graziotin, how, HTTP, HTTPS, models, OpenTrip, page, pro, promise, protocol, prototype, release, research, Serv, server, SoNet, Wiki, xml-rpc
Posted in Carpooling Research | 1 Comment »