Feed on
Posts
Comments

Category Archive for 'english'

In the previous article I explained briefly my PiGreenCloud project, the hardware I had chosen and some of the calculations I had to do to build the energy system that will power the #raspeberrypi. But that was only theory, yesterday I decided to test the power consumption of my system in the real world and [...]

Read Full Post »

I have always been fascinated by small hardware and by shared wifi networks so I decided to set up a little project to test the possibility of building a power independent system that could act as a node for a wifi network. The small piece of hardware I chose to realize the core of this [...]

Read Full Post »

If you need to connect a Linux or a Windows to a Mac OS X 10.9 smb share, probably you have to replace the default file sharing protocol with samba through MacPorts. Steps to install and configure samba3 replacement for Apple Mac OS X Server 10.7.x SMB services. Install the latest version of XCode from [...]

Read Full Post »

I recently tried Urban Airship to manage cross-platform mobile push messages. Even if it’s a very good service, it tries to deal with different cloud messaging systems (GCM, APNS, etc) in a uniform way and in doing that it forces users to use all services in the same way, as if they have the same [...]

Read Full Post »

I developed an Android application that uses the Acra library to track exceptions. This library offers lots of backend solutions but the easiest way to collect reports, it suggests, is to use a Google Spreadsheet. This kind of solution is becoming deprecated so I decided to implement an alternative solution that uses the HttpPostSender already [...]

Read Full Post »

I recently made an helper class to download a file from the web and save it to the file sytem while updating a ProgressDialog to let the user know the percentage of the download made. This class has the responsibility to manage the network communication and to send messages to the UI to update the [...]

Read Full Post »

This article is to make a simple example on how you can manage SOAP Messages with Attachements in PHP and, in particular, I'll describe how to use the PEAR::SOAP package to transmit files associated to a SOAP message as attachments in their native format in a multipart MIME structure for transport (SOAP Messages with Attachments [...]

Read Full Post »

Very often I found on the web ContentProvider examples based on a SQLite table that describes, as a constraint, to have a column named _id to be used as primary key. Also the official Android Dev Guide introducing in Creating a Content Provider tells to Be sure to include an integer column named "_id" (with [...]

Read Full Post »

Yesterday I was googling to find the algorithm to covert a netmask (in the dotted decimal format like 255.255.255.0) in corresponding cidr to manage a database migration, but I can't find it. So I wrote it in PHP. The following function takes a valid netmask in the dotted decimal format as a string in input [...]

Read Full Post »

If you need to copy an XML document to another filtering it from a specific element node, a good solution could be the use of XSL. The starting point is the so called "identity" template as introduced with an example in the XSLT Recommendation itself: PLAIN TEXT XML: <xsl:template match="@*|node()">     <xsl:copy>     [...]

Read Full Post »

Older Posts »