Set up and management of an integrated information system on Linux.Andrea Marchetti
ITA: Configurazione e gestione, su piattaforma Linux, di un sistema informativo integrato.
The goal is to configure a Linux Server to host a Web Server capable to run Java based applications in a Windows 2000 domain (using Samba protocols).
The main purpose of this server in the company is to offer an environment to a multi platform test of Java Web Based applications developed by Gruppo Servizi and for file sharing.
Set up and management of an integrated information system on Linux.Andrea Marchetti
ITA: Configurazione e gestione, su piattaforma Linux, di un sistema informativo integrato.
The goal is to configure a Linux Server to host a Web Server capable to run Java based applications in a Windows 2000 domain (using Samba protocols).
The main purpose of this server in the company is to offer an environment to a multi platform test of Java Web Based applications developed by Gruppo Servizi and for file sharing.
Mercoledì 25 luglio, abbiamo avuto il piacere di ospitare alcuni speaker delle community Data Science e Python.
PROGRAMMA
Data Science - Michele Vitali
Sentiment Analysis & Machine Learning - Alessandro Cucci
Git for Data Science - Luca Fontanili
Introduction to Data Visualization - Sergey Antopolsky - (in English)
Introduzione alla programmazione Android - Android@tulugIvan Gualandri
Prima lezione del corso android tenuto presso il TuLug (Tuscia Lug) A Viterbo. Le slides sono completamente in italiano (Slides are in italian! Sorry!)
Sviluppo in Java di un tool che sia di ausilio al programmatore permettendo la ricerca e l'inserimento di code pattern attraverso una specifica keyword.
Event: Giffoni Open Makers Day 2013
Speaker: Valentina Pelliccia
Android è un sistema operativo open-source basato su kernel Linux e progettato per dispositivi mobili come smartphone e tablet. Il progetto Open Source Android guidato da Google dispone di una vasta comunità di sviluppatori divenendo in pochi anni uno dei leader nel mercato mobile.
slide prima lezione corso flipped classroom; strumenti di condivisione online, google drive, questbase; esercizi di aula.
Corso di formazione del CTI di Verdellino.
Installazione Qt/Qt Quick per target AndroidPaolo Sereno
Questo breve tutorial rappresenta una mini guida per iniziare a programmare con Qt e Qt Quick su target Android. In particolare esso vuole essere un “memo” da usare durante i meetup e workshop sull’argomento organizzati dalla web community Qt-Italia.org.
Android ndk - ottimizzazione su dispositivi Intelfirenze-gtug
This document discusses optimizing applications for Intel devices. It begins by introducing Francesca Tosi and Alberto Mancini. It then discusses why NDK is useful for building native applications and libraries for Android. It provides details on benchmarking with Java, NDK (C/C++), Intel IPP, and Threading Building Blocks. It shows results of the native implementations and code snippets for Java and NDK C/C++ code. In the end it thanks the readers and provides contact details.
Set up and management of an integrated information system on Linux.Andrea Marchetti
ITA: Configurazione e gestione, su piattaforma Linux, di un sistema informativo integrato.
The goal is to configure a Linux Server to host a Web Server capable to run Java based applications in a Windows 2000 domain (using Samba protocols).
The main purpose of this server in the company is to offer an environment to a multi platform test of Java Web Based applications developed by Gruppo Servizi and for file sharing.
Set up and management of an integrated information system on Linux.Andrea Marchetti
ITA: Configurazione e gestione, su piattaforma Linux, di un sistema informativo integrato.
The goal is to configure a Linux Server to host a Web Server capable to run Java based applications in a Windows 2000 domain (using Samba protocols).
The main purpose of this server in the company is to offer an environment to a multi platform test of Java Web Based applications developed by Gruppo Servizi and for file sharing.
Mercoledì 25 luglio, abbiamo avuto il piacere di ospitare alcuni speaker delle community Data Science e Python.
PROGRAMMA
Data Science - Michele Vitali
Sentiment Analysis & Machine Learning - Alessandro Cucci
Git for Data Science - Luca Fontanili
Introduction to Data Visualization - Sergey Antopolsky - (in English)
Introduzione alla programmazione Android - Android@tulugIvan Gualandri
Prima lezione del corso android tenuto presso il TuLug (Tuscia Lug) A Viterbo. Le slides sono completamente in italiano (Slides are in italian! Sorry!)
Sviluppo in Java di un tool che sia di ausilio al programmatore permettendo la ricerca e l'inserimento di code pattern attraverso una specifica keyword.
Event: Giffoni Open Makers Day 2013
Speaker: Valentina Pelliccia
Android è un sistema operativo open-source basato su kernel Linux e progettato per dispositivi mobili come smartphone e tablet. Il progetto Open Source Android guidato da Google dispone di una vasta comunità di sviluppatori divenendo in pochi anni uno dei leader nel mercato mobile.
slide prima lezione corso flipped classroom; strumenti di condivisione online, google drive, questbase; esercizi di aula.
Corso di formazione del CTI di Verdellino.
Installazione Qt/Qt Quick per target AndroidPaolo Sereno
Questo breve tutorial rappresenta una mini guida per iniziare a programmare con Qt e Qt Quick su target Android. In particolare esso vuole essere un “memo” da usare durante i meetup e workshop sull’argomento organizzati dalla web community Qt-Italia.org.
Android ndk - ottimizzazione su dispositivi Intelfirenze-gtug
This document discusses optimizing applications for Intel devices. It begins by introducing Francesca Tosi and Alberto Mancini. It then discusses why NDK is useful for building native applications and libraries for Android. It provides details on benchmarking with Java, NDK (C/C++), Intel IPP, and Threading Building Blocks. It shows results of the native implementations and code snippets for Java and NDK C/C++ code. In the end it thanks the readers and provides contact details.
The document provides an overview of RFID technology including:
- A brief history of RFID from its first military use in WWI to commercial applications in the 1980s.
- An explanation of basic RFID principles including how tags are powered and transmit data via backscattering.
- A discussion of different RFID frequency bands and the preference for UHF RFID.
- Details on RFID standardization bodies and common standards like ISO 18000 and EPC Global.
GWT - AppDays - (25 aprile 2014, pordenone)firenze-gtug
This document provides information about a GWT kickoff meeting organized by Alberto Mancini and Francesca Tosi. It includes an introduction to GWT, statistics on its usage, demonstrations of how to use it for mobile and augmented reality applications, and plans for hands-on coding sessions the following day. The document discusses GWT's compiler, linker, deferred binding, emulated Java runtime, JSNI for calling JavaScript, widgets, UiBinder for declarative UI layout, and GWT-RPC for communication between the client and server.
Google App Engine is a Platform as a Service (PaaS) that allows you to build and run applications on Google's infrastructure. It provides automatic scaling, high performance, and easy maintenance. Key features include the User Service for authentication, the Datastore for data storage, Memcache for caching, and Task Queues for background tasks. Popular languages supported include Java, Python, PHP, and Go.
This document discusses building an Android chat app using Google Cloud Platform services including Cloud Datastore, authentication, and push notifications. It provides steps to create a backend using Mobile Backend Starter, generate client IDs, access APIs with and without authentication, add push notifications using Google Cloud Messaging, and discusses app architecture considerations.
Francesca Tosi and Alberto Mancini presented benchmarks comparing the performance of grayscale conversion in various environments on Android, including Java, C using the NDK, Intel IPP, and JavaScript. They tested processing 1024x1024 pixel images on a Galaxy Tab 3 with an Intel Atom CPU. Results showed that C using NDK and Intel IPP significantly outperformed Java and JavaScript implementations.
The document discusses using Android and Arduino together to program "things". It describes how the UDOO board allows running Android and communicating with an Arduino-compatible board for building smart devices and interactive things. It provides an overview of developing applications using the Android Accessory Development Kit (ADK) to interface Android with Arduino, covering aspects like setting up the development environment, manifest files, accessing I/O streams, and communicating between the two boards.
Apertura "Mobile & Embedded" - 13 febbraio 2014firenze-gtug
This document summarizes the program for a mobile and embedded technology event hosted by GDG Firenze. The event includes presentations on developing HTML5 mobile apps for Android, building an Android chat app in the cloud, and FirefoxOS. Sponsors for the event include UDOO Board, Intel, and SSTI. The event also features workshops, office hours, and a networking aperitif. Details are provided on participating in future events from GWT-Con and Tech Aperitif.
AppsFuel is a new ecosystem for HTML5 mobile web apps that provides a worldwide marketplace where developers can distribute their apps for free and earn money through mobile operator billing. It aims to enable a profitable HTML5 developer ecosystem through features like push notifications, advertising solutions, and a developer fund. The key components are a marketplace, developer zone, monetization tools, and developer tools, which are being built iteratively using Scrum methodology over the course of 2 week sprints.
The document provides an overview of integrating apps with Google Drive. It discusses using the Drive SDK to access and manage files through the API, integrating the Drive web and Android UIs, and using the Google Picker API to select files. It also covers OAuth authentication flows and important security considerations around file access permissions when building Drive apps.
The document discusses YouTube APIs and how developers can utilize them. It covers the main YouTube APIs: Upload Widget, Data API, Player API, and Analytics API. It then describes how developers can use the APIs to create content, curate videos, consume YouTube videos in their applications, and analyze video analytics. Examples are provided for creating talking tom videos, curating videos with YouTube Direct Lite, consuming videos in Flipboard, and analyzing analytics. Resources for the YouTube APIs are listed at the end.
3. e-Health Sensor Platform V2.0 by Cooking Hacks
Tra i progetti in questo abito e` interessante la piattaforma e-Health Sensor Platform V2.
0 della Cooking Hacks. Nasce per Arduino ma può essere usata anche con altre board.
È una shield Arduino in grado di gestire un
vasto numeri di sensori:
● Patient Position Sensor
● Glucometer Sensor
● Body Temperature Sensor
● Blood Pressure Sensor
(Sphygmomanometer) V2.0
● Pulse and Oxygen in Blood Sensor
(SPO2)Airflow Sensor (Breathing)
● Galvanic Skin Response Sensor (GSR
- Sweating)
● Electrocardiogram Sensor (ECG)
● Electromyography Sensor (EMG)
5. e-Health Sensor Platform V2.0 by Cooking Hacks
● è disponibile in kit oppure acquistando la shield ed i sensori che ci
interessano singolarmente.
● lo schema elettrico è disponibile in formato pdf.
● ci sono i file sorgenti sia per Arduino che per la Raspberry Pi
● per usarla sulla raspi dovete usare una board bridge tra il pin delle GPIO
Arduino ed il pin della raspi.
Vediamo le caratteristiche sul sito della
http://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-
sensor-platform-arduino-raspberry-pi-medical
7. Arduino Yùn
AVR Arduino
microcontroller
Microcontroller ATmega32u4
Operating Voltage 5V
Input Voltage 5V
Digital I/O Pins 20
PWM Channels 7
Analog Input Channels 12
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (of which 4 KB used by bootloader)
SRAM 2.5 KB
EEPROM 1 KB
Clock Speed 16 MHz
Arduino Leonardo + Linux embedded
http://arduino.
cc/en/Main/ArduinoBoardYun
8. Arduino Yùn
Linux microprocessor
Processor Atheros AR9331
Architecture MIPS @400MHz
Operating Voltage 3.3V
Ethernet IEEE 802.3
10/100Mbit/s
WiFi IEEE 802.11b/g/n
USB Type-A 2.0 Host
Card Reader Micro-SD only
RAM 64 MB DDR2
Flash Memory 16 MB
PoE compatible 802.3af card support (see
the note below)
Arduino Leonardo + Linux embedded
http://arduino.
cc/en/Main/ArduinoBoardYun
12. Google Fusion Table
Google Fusion Tables permette di archiviare, condividere, eseguire query e
visualizzare tabelle di dati e grafici. Tramite delle API REST per gestire tabelle,
info modelli finestre e stili. Con delle query sui dati possiamo inserimento.
Possiamo importare/esportare i dati formato CSV o JSON, o utilizzarli con API
di Google Maps o Google Chart Tools
Possiamo usarlo anche da Google Drive
● https://support.google.com/fusiontable
13. Google Fusion Table
In Google Drive abbiamo una webapp con cui potere creare la nostra
tabella, visualizzare i dati, inserirli e modificali. Possiamo anche creare
grafici e rappresentazioni su mappe dei nostri dai. Tutto questo partendo
da Google Drive.
Usando le API possiamo accedere dal nostro codice che possiamo
sviluppare.
Questo permettono di creare, modificare… la tabella , mentre per
inserirmento/modifica/cancellazione... dei record si utilizza SQL-like
queries
https://developers.google.com/fusiontables/
https://google-api-client-libraries.appspot.
com/documentation/fusiontables/v1/python/latest/index.html
14. Google Fusion Table
● Vediamo come si crea una tabella FT sotto Drive
● ricavare ricavare ID del database FT.
● ID è indentificativo univoco della tabella e va indicato quando usciamo
le API.
:
15. Google Fusion Table
Per usare le API cosa dobbiamo sapere:
● Google Accounts Authentication and Authorization
○ Google+ Sing In provides a simple way to let people use their Google
credentials to sign-in to your site. It includes a set of tools that are easy to
integrate across different devices.
○ oAuth2 is an authorization protocol for all Google APIs. OAuth 2.0 relies
on SSL for security instead of requiring your application to do
cryptographic signing directly. This protocol allows your application to
request access to data associated with a user's Google Account.
■ https://developers.google.com/accounts/docs/OAuth2
○ https://developers.google.com/accounts/
OAuth2 fornisce un metodo ai client di accedere ai servizi del server (applicazione,
database...) per conto del proprietario della risorsa.
● https://developers.google.com/api-client-library/python/guide/aaa_oauth
● http://oauth.net/2/
● http://en.wikipedia.org/wiki/OAuth
● https://developers.google.com/oauthplayground/
16. Google Fusion Table
SQL (Structured Query Language) è un linguaggio standard per database basati sul
modello relazionale (RDBMS) progettato per:
● creare e modificare schemi di database (DDL - Data Definition Language);
● inserire, modificare e gestire dati memorizzati (DML - Data Manipulation Language);
● interrogare i dati memorizzati (DQL - Data Query Language);
● creare e gestire strumenti di controllo ed accesso ai dati (DCL - Data Control
Language).
Nonostante il nome, non si tratta dunque solo di un semplice linguaggio di interrogazione,
ma alcuni suoi sottoinsiemi si occupano della creazione, della gestione e
dell'amministrazione del database.
Fonte: http://it.wikipedia.org/wiki/SQL
Links:
● Tutorial http://www.w3schools.com/sql/
17. Google Fusion Table
Il tool APIs Explorer permette di prendere conoscenza con le varie API di
Google.
● https://developers.google.com/apis-explorer
18. Google Fusion Table
Python e OAuth2
Il tool APIs Explorer permette di prendere conoscenza con le varie API di Google
avete visto che avete dovuto fare un click su OFF/ON per l’autorizzazione per usare
le API di FT. Questo lo dovete fare anche dalla vostra applicazione. Vediamo come
fare nel nostro caso che uscimo Python.
Google mette a disposizione le Google APIs Client Library for Python ch e ne
installiamo sulla nostra board come la Arduino Yùn
Diamo un occhiata alla documentazione su
https://developers.google.com/api-client-library/python/start/installation troviamo
anche una gradevole sorpresa.
Oltre alla descrizione su come funzionano queste API, abbiamo un tool che
permette di:
● attivare le API per il servizio che ci serve
● preparaci i file di configurazione con per la oAuth e l’uso delle API del servizio
richiesto.
19. Google Fusion Table
● Scarichiamo sul nostro pc i file preparati dal tool.
● Prima di passarli sulla board, proviamo se funzionano in locale ed
otteniamo i “file di autenticazione”
● se non avete Python 2.x installato, ora dove installarlo → http://python.org
● installiamo le Google API Python Client come indicato.
● decomprimere i due file in una cartella.
● dalla cartella che contengono i due file decompressi prima, eseguite
○ python sample.py
20. Google Fusion Table
● viene aperto il browser e siete indirizzati alla pagina per autorizzare la vostra
applicazione.
● l’applicazione una volta autorizzata salva le credenziali in un file locale chiamato
sample.dat
21. Arduino Yùn + Google API Python Client
Torniamo sulla Yùn e dalla console Linux installiamo le Google API Python Client
root@Arduino:~# opkg install distribute python-openssl
root@Arduino:~# easy_install --upgrade google-api-python-client
Ora che abbiamo installato la libreria delle API copiamo tutta la cartella dal nostro PC e
proviamo:
root@Arduino:/tmp/ft# python sample.py
Success! Now add code here.
22. Arduino Yùn + Google API Python Client
tableid="ID_TABLE"
Location="46.061663, 13.235883"
dt = time.strftime("%Y-%m-%d %H:%M:%S")
#update Fusion Tables
service.query().sql(sql="INSERT INTO %s (Date,Location) VALUES ('%s','%s')" % (tableid,dt,Location)).execute()
23. massimiliano@beaglebone:~$ cat contact.json
{
"Name":"Massimiliano D'Ambrosio",
"G+":"google.com/+MassimilianoDAmbrosio",
"Twitter":"@iv3unm",
"HackLab Udine": {
"Site":"www.hacklabudine.it",
"G+":"plus.hacklabudine.it",
"Twitter":"@hacklabudine",
"memo":"unOfficial Community BeagleBone Italia"
},
"Google Developer Group Udine": {
"Site":"www.gdgudine.it",
"G+":"plus.gdgudine.it",
"Twitter":"@gdgudine"
}
}
massimiliano@beaglebone:~$ sudo shutdown now
[sudo] password for massimiliano:
Broadcast message from root@beaglebone (pts/0) (Sat May 10 20:33:39
2014):
The system is going down to maintenance mode NOW!