Tuesday, January 03, 2012

Ayuda al desarrollo del DDR de CTIC

Queridos todos: La Unidad de Movilidad e Independencia de Dispositivo del Área de I+D+i de Fundación CTIC Centro Tecnológico está preparando un Repositorio de Descripción de Dispositivos distribuído y colaborativo y os pide ayuda a todos. Por cierto, nuestro sitio web está en medio de algunos cambios serios así que disculpas si hay algún problema con alguna dirección de las anteriores o si hay alguna sección en inglés que no funcione correctamente.

¿Qué es un Repositorio de Descripción de Dispositivos? (DDR)

Básicamente, es una base de datos de dispositivos que almacena información sobre las capacidades hardware y software de cualquier dispositivo. Puedes interrogar al DDR para intentar averiguar qué fabricante hizo el dispositivo, qué versión de sistema operativo lleva, qué navegador web tiene instalado, qué sensores tiene disponibles (brújula, acelerómetros, cámara, micrófono, ...), modelo de CPU, memoria principal y secundaria instaladas, almacenamiento disponible, su tamaño físico de pantalla, su resolución en pixels, la versión de Bluetooth y perfiles disponibles, codecs de audio y vídeo soportados, y muchas otras cosas. Principalmente, casi cualquier cosa que puedas saber del dispositivo de antemano, puesto que los DDRs mantienen información estática que no varía a lo largo del tiempo. Hay una muy buena entrada en la Wikipedia, si quieres indagar más sobre el tema.

¿Cómo puedo ayudar?

Normalmente, los DDRs reciben evidencias sobre la identidad del dispositivo y una consulta acerca de una o más características del dispositivo. A partir de esto, responden con valores para las capacidades del dispositivo requeridas en la consulta. Éste es sólo uno de los múltiples casos de uso para un DDR, pero considero que puede ser suficiente para que tengáis una idea acerca de las posibilidades de esta tecnología. Por ejemplo, cuando accedo un sitio web, el navegador de mi dispositivo (mi PC de sobremesa, mi portátil, mi teléfono móvil, mi televisión, mi set-top-box o mi consola de juegos) envía una Petición HTTP, analiza todas las cabeceras que ésta incluye y añade el dispositivo al DDR que estamos preparando. NECESITAMOS QUE ACCEDÁIS A http://idi.fundacionctic.org/mobHeaders O AL MÁS CORTO http://bit.ly/headrs CON TANTOS DISPOSITIVOS Y NAVEGADORES WEB COMO OS SEA POSIBLE. Queremos tener accesos de dispositivos reales pues no tomaremos información de tecnologías DDR existentes como WURFL O Device Atlas. Básicamente, porque no es ético aprovecharse del trabajo de otros y, en ocasiones, tampoco es legal.

¿Y qué saco de esto?

De momento, una respuesta agradeciéndote la contribución más una frase indicando si ya se ha añadido un navegador o dispositivo idénticos o si uno igual ya había accedido al sitio. Después de tener suficientes accesos y nuestros algoritmos más refinados, enriqueceremos el sitio web ofreciéndote información sobre las capacidades de tu dispositivo. A más largo plazo, ofreceremos una tecnología DDR gratuita con todos sus despliegues compartiendo información sobre identificación de dispositivos y sus características. Nuestra intención es acabar con la actual situación de jardines vallados en identificación de dispositivos. Creemos que ya debería haber una base de datos de dispositivos global y universal lista para todo el mundo, de forma que la comunidad de desarrolladores pueda centrar sus esfuerzos en la creación de software adaptativo de alta calidad basado en una fuente de identificación de dispositivos de confianza. Inicialmente, este DDR cubrirá adaptación web pero, si tiene éxito, ¿quién sabe qué más puede llegar? Tenemos algunos ases en la manga que compartiremos en cuanto estén maduros.

¿Cuándo estará listo?

No tenemos prisa. Tenéis excelentes soluciones comerciales como Device Atlas o WURFL, así que estás cubierto por buenas bases de datos de dispositivos en el dominio de aplicaciones y contenidos web. Antiguas versiones del API y base de datos de WURFL son gratuitas y de uso libre bajo la licencia correspondiente y pueden ser útiles para que desarrolles tu propia base de datos de dispositivos. El OpenDDR, con una aproximación similar a la nuestra, ha sido recientemente liberado. Sin embargo, podemos decir que habrá una primera versión en 2012 (si la profecía maya no nos para) y es muy posible que tengamos una versión anticipada en la primera mitad de este año.

Por favor, no nos hagas trampa

Sí. Sabemos que algunos de vosotros os sentiréis tentados de lanzar algunas peticiones HTTP por programa, usar software que permite trucar el agente de usuario del navegador, inundar nuestra base de datos con peticiones falsas, comprobar la seguridad del sitio y demás. Sabed que retrasaréis nuestros resultados y será una pena pero no podemos hacer nada contra eso. Sabemos que puede ocurrir y cargaremos con esa posibilidad. Estarás molestando a desarrolladores con el objetivo de proporcionar nueva tecnología gratis a la comunidad de desarrolladores. Ésta es simplemente una herramienta interna para que nosotros cataloguemos todos los dispositivos que pasan por nuestras manos y sólo pedimos ayuda en el proceso.

Vale, contribuiré. ¿Qué hago? ¿Cuándo paro?

Simplemente, accede a una de las direcciones web disponibles, (http://idi.fundacionctic.org/mobHeaders o la más corta y mejor para móviles y otros dispositivos con los que es complicado escribir http://bit.ly/headrs) con cada navegador web al que tengas acceso. Si actualizas la versión de sistema operativo de tu dispositivo y/o del navegador web, por favor, recuérdanos y accede de nuevo.

Sigue sintonizándonos

Sí, llegarán pronto más noticias aquí o en el sitio web de CTIC. Estamos ansiosos por traer nuevas noticias pronto. Mientras tanto, iremos enriqueciendo nuestra base de datos con todos los dispositivos que lleguen a nuestras manos. ¿Nos ayudarás? ¡Gracias!

Help developing CTIC's DDR

Dear all: The Unit of Device Independence and Mobility of the R&D Department at Fundación CTIC Centro Tecnológico is preparing a distributed collaborative Device Description Repository and is asking for help to you all. By the way, our web site is in the middle of some serious changes so sorry if no English version is available or there is some problems with any of the web address above.

What is a Device Description Repository (DDR)?

It is basically a device database which keeps information about hardware and software device features. You can query a DDR in order to guess what vendor made the device, what the operating system version is, which web browser is installed, what sensors are available (compass, accelerometers, camera, microphone, ...), CPU model, primary and secondary memory installed, available storage, its physical screen size, its resolution in pixels, Bluetooth version and available profiles, audio and video codecs supported, and many other things. Mainly, mostly everything that you can know beforehand about the device, as DDRs keep static information which does not change over time. There is a good wikipedia entry if you want to dig more on this.

How can I help?

Typically, DDRs receive evidences about the identity of the device and a query for one or more device features. Consequently, they respond with values for the device features requested. This is only one of the multiple use cases for a DDR, but I consider it is sufficient for you to guess their purpose. For example, when I access a web site, the web browser of my device (my desktop PC, my laptop, my mobile phone, my TV set, my Set-Top Box or my game console) send a message called HTTP Request which includes some information which helps identifying which device/browser performed such request. So we have prepared a very basic web site that you can access with any of your device and web browsers. In this way, we shall read the HTTP Request, analyze all the headers included and add the device to the Device Description Repository that we are preparing. WE NEED THAT ALL OF YOU ACCESS http://idi.fundacionctic.org/mobHeaders OR THE SHORTER http://bit.ly/headrs address WITH AS MANY DIFFERENT DEVICES AND WEB BROWSERS AS POSSIBLE. We want to have real hits from real browsers because we will not sniff information from existing DDR technologies such as WURFL or Device Atlas.

And what do I get from it

So far, a response thanking you for contributing plus a sentence indicating if an identical web browser and/or device had already hit the site or if you are the first one which contributed those device identification evidences. After we have a sufficient number of devices and we have refined our algorithms, we shall enrich the site providing you with some information about your device. In the long term, we will release a free DDR technology with all the deployments sharing device identification and device features. Our intention is to finish the current state of walled gardens in device identification. A global universal device database should be ready for everyone so the developer community can focus their efforts creating high-quality adaptation software based on a trustworthy device identification source. Initially, this DDR will cover web adaptation but, if successful, who knows what might come? We have some aces in the hole which we shall share when they are mature.

When will it be ready

We are not in a hurry. You have excellent commercial solutions such as Device Atlas or WURFL so you are covered for good device databases in the web domain. Old versions of the WURFL API and database are free and they might be very helpful for you to develop your own device database. The OpenDDR, with an approach more similar to ours, has recently been released. However, a first version will be ready in 2012 (if the Mayan prophecy does not stop us) and it is very likely that we have an early access version in the first half of this year.

Please do not play tricks on it

Yes, some of you will feel tempted to make some HTTP Requests programatically, use user agent string faking software and browser extensions, flood our database, check security of the site and so on. Know that you will delay our results and it will be a pity but we won't do anything against that. We know it can happen and we shall bear with that possibility. You will be disturbing developers with the aim to provide new technology for free to the developer community. This is just an internal tool for us to catalogue all the devices which come to our hands and we are asking for help in the process.

OK, I will contribute.- What to do? When to stop?

Just access one of the available web addresses (http://idi.fundacionctic.org/mobHeaders or the shorter good for mobile phones and other hard-to-type-with devices http://bit.ly/headrs) with each web browser that you have access to. If you update your device OS version and/or browser, please remember us and access again.

Stay tuned

Yes, more news will come soon here and/or at CTIC's web site. We're looking forward to bringing good news! In the meantime we shall enrich our device database with all the devices that reach our hands. Will you help us? Thank you!

Monday, January 02, 2012

Box.net client for Mac OSX

I own a paid account in Dropbox and I do love it. The extra Rat-Pack allows me to have infinite versions of the file in my Dropbox. I have already accidentally deleted important files more than once and the Dropbox web client allowed me to undelete it. The 50 GBs of the account are great, although if you intend to keep back-ups of old email inboxes and some other old stuff, you can fill it. It has happened to me. Then came box.net with the offer of 50 GBs to iOS users in order to counteract the iCloud offer of 5 GB for free. So I signed up and I checked that there is no native client as there is for Dropbox. I saw people complaining about it and it seemed weird to me that there were Mac OSX users complaining. Why? Mac OSX can use Finder in order to access their box.net files via WebDAV. You just have to bring Finder to the foreground, press cmd+K to connect to server and then write the URI to connect to Box's WebDAV: https://www.box.net/dav/. Then type in your login and password and there you have it. So I have the Dropbox folder which keeps space in my hard disk, some Dropbox folders which are in the cloud (thanks to Dropbox's selective sync feature) and all the files in Box.net remotely accessible thanks to WebDAV and its Mac OSX's finder integration.