<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2821494565641932291</id><updated>2011-07-29T08:18:28.771+02:00</updated><category term='PHP'/><category term='Utility'/><category term='Markup Language'/><category term='PAlib'/><category term='Javascript'/><category term='Images'/><category term='Linux'/><category term='NDS'/><category term='Eclipse'/><category term='Announce'/><category term='windows'/><category term='Bluetooth'/><category term='MySql'/><category term='thought'/><category term='Theory'/><category term='Visual c++ 2008 Express'/><category term='c'/><title type='text'>yet another</title><subtitle type='html'>yet another programming blog...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mapidev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-812298795534037332</id><published>2010-01-19T14:32:00.000+01:00</published><updated>2010-01-19T14:32:22.330+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><category scheme='http://www.blogger.com/atom/ns#' term='Announce'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='Markup Language'/><title type='text'>What an idea!</title><summary type='text'>Yesterday i talked with an old friends! He helped me about finding a way to code "something". He is damn formal and accademic (and effective developers too), and i was so suprised on how two minds can works in sync.
So we started to chill around a lil project, which maybe we are gonna to develop...
The main was about "how to define an algorhythm as an XML documents". I guess we found a (maybe one</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/812298795534037332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/812298795534037332'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2010/01/what-idea.html' title='What an idea!'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-8124714046817608672</id><published>2009-11-03T17:43:00.001+01:00</published><updated>2009-11-03T17:45:32.019+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='c'/><category scheme='http://www.blogger.com/atom/ns#' term='Bluetooth'/><title type='text'>Bluetooth Device Discovery in c language HOW TO</title><summary type='text'>Today i wanna show a simple how to about bluetooth programming.
I will start witha brief theory follow by a full commented c source compile under linux.

This two functions convert a string address in a bdaddr_t (a defined structure which is a bluetooth device address) and viceversa
str2ba (const char * str , bdaddr_t * ba)
ba2str (const bdaddr_t * ba , char * str)
We also need to know about </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8124714046817608672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8124714046817608672'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/11/bluetooth-device-discovery-in-c.html' title='Bluetooth Device Discovery in c language HOW TO'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-543989764859550562</id><published>2009-10-24T16:56:00.006+02:00</published><updated>2009-10-24T17:30:26.101+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NDS'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='c'/><title type='text'>Eclipse 3.5 SR1 Galileo (C/C++ IDE) devkitpro on Linux Mint 7</title><summary type='text'>Im trying different enviorment on which devel. Today i wanna keep information i found on how to set up an linux eclipse c/cpp IDE for nintendo DS programming. Especially this work for Linux Mint 7 but i guess this should work for most linux distros.If you try to install eclipse for c/cpp from mintInstall you will notice that it is an older version, which is not compatible with an interesting </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/543989764859550562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/543989764859550562'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/10/eclipse-35-sr1-galileo-cc-ide-devkitpro.html' title='Eclipse 3.5 SR1 Galileo (C/C++ IDE) devkitpro on Linux Mint 7'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-5392571133218023849</id><published>2009-10-13T17:50:00.003+02:00</published><updated>2009-10-13T17:59:11.404+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='c'/><title type='text'>c Kernighan &amp; Ritchie exercise</title><summary type='text'>Lately im into c programming, really newbie, so im reading Kernighan &amp; Ritchie famous book.Here a funny exercise that reverse an input line string:"Write a function reverse(s) that reverses the character string s. Use it to write a program that reverses its input a line at a time."i change the params as you can see..#include &lt;stdio.h&gt;#define MAXLEN 30int getline(char s[], int lim);void reverse(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/5392571133218023849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/5392571133218023849'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/10/c-kernighan-ritchie-exercise.html' title='c Kernighan &amp; Ritchie exercise'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-4758051664731052521</id><published>2009-10-05T21:23:00.006+02:00</published><updated>2009-10-05T21:39:22.036+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NDS'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual c++ 2008 Express'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='c'/><category scheme='http://www.blogger.com/atom/ns#' term='PAlib'/><title type='text'>Devkitpro 1.5.0, PAlib and Visual c++ 2008 Express</title><summary type='text'>Few days ago i started to think about devkitpro, to develop nintendo DS homebrew software. So i start to chill around PAlib. Just to check out. So i move to the wiki to installing the toolchain.I soon discover that it was possible to use PAlib with Visual c++ 2008 Express.I notice that the step to follow was outdated.If you want to get it work just follow that steps but with this difference:Set </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4758051664731052521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4758051664731052521'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/10/devkitpro-150-palib-and-visual-c-2008.html' title='Devkitpro 1.5.0, PAlib and Visual c++ 2008 Express'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-2031292479874593479</id><published>2009-09-10T20:13:00.003+02:00</published><updated>2009-09-10T20:23:55.452+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>PHP directory listing : convert a folder tree into an array</title><summary type='text'>Hi there!in a post few months ago i talked about Directory listing in php, there i show a pair of function to list a directory and turn it into an array.Well today i come back to that function and change it a little to get it better.It's quite simple, it start from a path (btw thinking correct) and push it into a structured array. In wich every array element mean a subdirectory, and a null value </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2031292479874593479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2031292479874593479'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/09/php-directory-listing-convert-folder.html' title='PHP directory listing : convert a folder tree into an array'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-5736071082886220871</id><published>2009-09-09T22:20:00.000+02:00</published><updated>2009-09-09T23:22:46.520+02:00</updated><title type='text'>Silence please, one minute: Mike Bongiorno</title><summary type='text'>Too much to say,you are great,  the most! You change our point of view, you win on TV.Thanks Mike, so much.Allegria!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/5736071082886220871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/5736071082886220871'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/09/silence-please-one-minute-mike.html' title='Silence please, one minute: Mike Bongiorno'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-4552130166972963274</id><published>2009-09-01T09:51:00.000+02:00</published><updated>2009-09-09T23:20:13.275+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><title type='text'>PHP RESTful WebService</title><summary type='text'>Lately im working on a restful php webservice.In its concepts RESTful is quite easy, but it is still not really understand by most of web programmers.So if you are interested, first of all you should start to study what behind REST, so its architecture. Good resources are of course wikipedia and Roy Thomas Fielding's dissertation which start the most of works.Then you may try to develop, or study</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4552130166972963274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4552130166972963274'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/09/php-restful-webservice.html' title='PHP RESTful WebService'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-1439030202571273491</id><published>2009-07-31T11:10:00.004+02:00</published><updated>2009-07-31T11:19:32.948+02:00</updated><title type='text'>Google translate simple php client</title><summary type='text'>This morning i were reading an english based blog. I came from italy and (as you can notice) im not the best english speller at all. Sometimes i need to use an online dictionary to translate words or sentences. One of the most dictionary translation is wordreference.com and also http://translate.google.com/.Well im a web programmer, google offers a rich api to its services, so i thought to write </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1439030202571273491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1439030202571273491'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/07/google-translate-simple-php-client.html' title='Google translate simple php client'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-6501347496709967903</id><published>2009-07-09T10:11:00.004+02:00</published><updated>2009-09-10T20:23:39.330+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>Directory listing in PHP</title><summary type='text'>[edit] i write a new function: PHP directory listing : convert a folder tree into an array [/edit]Hello world!Lately im working on a series of tools which can be useful to organize works in web. Of course, nothing new, but im developing somthing mine and small that i can overwork instead of more complex tools.This run for web of course and my interest is about:deploybackupmaintenanceWell about </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/6501347496709967903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/6501347496709967903'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/07/directory-listing-in-php.html' title='Directory listing in PHP'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-2245499970268345319</id><published>2009-07-07T10:38:00.001+02:00</published><updated>2009-07-07T10:38:58.627+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thought'/><title type='text'>it's a rainy day</title><summary type='text'>Milan.. a rainy day.. what happen???KERNEL PANIC!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2245499970268345319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2245499970268345319'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/07/its-rainy-day.html' title='it&apos;s a rainy day'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-1771646712539522026</id><published>2009-04-01T10:41:00.003+02:00</published><updated>2009-04-01T11:00:10.581+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySql'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>MySql Table to HTML Table</title><summary type='text'>Hi to all!!happy april :p like CADIE?Well now i want to exctract a little preview form dbi that should be useful to someone.This is a php function and could needed to be a little change from you. in_table function print out a HTML table showing the results of a SELECT query. Actually the function (as it is) need an existent mysql connection and the function mysql_select_db() already called. Then </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1771646712539522026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1771646712539522026'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/04/mysql-table-to-html-table.html' title='MySql Table to HTML Table'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_N0scGi_3AkY/SdMsy8mtemI/AAAAAAAAACI/OTL-55m4sx0/s72-c/_dbi_test.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-1175158974206864525</id><published>2009-03-31T09:32:00.003+02:00</published><updated>2009-03-31T09:43:41.080+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Announce'/><title type='text'>Latest updates 2</title><summary type='text'>Dear readers,actually im working on improve this args:mysql database inspector: change a little the workflow, and a query monitor will appear =)xml and graph and XML Schema for Charting - a first implementation: finally define a schema for a line chart and a xslt =)It should be nice to turn the schema into EBNF as another final example!have a nice day!</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1175158974206864525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1175158974206864525'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/03/latest-updates-2.html' title='Latest updates 2'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-2180487184668396297</id><published>2009-03-13T12:04:00.002+01:00</published><updated>2009-03-13T12:12:52.124+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Images'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>Xiaolin wu circle php implementation</title><summary type='text'>In this post i will finally close this works: Xiaolin Wu look like circle.Here the function wu_cirlce (helped by distance() and new_color()) that plot an antialiased circle. You need GD supports, the params are commented. Hope this could help someone:&lt;?php/* @author mauro p*/function distance($r, $y) { $real_point = sqrt(pow($r, 2) - pow($y, 2)); return ceil($real_point) - $real_point;}function </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2180487184668396297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2180487184668396297'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/03/xiaolin-wu-circle-php-implementation.html' title='Xiaolin wu circle php implementation'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_N0scGi_3AkY/Sbo_gupIKCI/AAAAAAAAACA/lEwDlXuO5ys/s72-c/final_wu.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-8430621259422553456</id><published>2009-03-10T13:30:00.003+01:00</published><updated>2009-03-10T13:43:24.631+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySql'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>MySql Database Inspector</title><summary type='text'>Well, came back,im very busy lately so my posts as you can see, decrease in number. Now i want to start in a new project (lol added to the lot i've already started). It's about mysql database, a simple web application that only show all databases structure in a web browser.You need to download jquery to let it works.The workflow is easy: it first put in a multidimensional php array all the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8430621259422553456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8430621259422553456'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/03/mysql-database-inspector.html' title='MySql Database Inspector'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-2535859247016521413</id><published>2009-02-04T10:16:00.003+01:00</published><updated>2009-02-04T13:24:47.121+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Announce'/><title type='text'>Latest Updates</title><summary type='text'>Well here some updates i've done lately about older posts:Web-related Drag theoryPrettify the code =) in the next future i will working on keep the div exactly where the mouse is clicked.Bakus-Naur FormAdded two examples. The first one is easy and show how to define a little subset of a natural language, such as an affermative sentence. The second one a little more complex define rules with </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2535859247016521413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2535859247016521413'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/02/latest-updates.html' title='Latest Updates'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-1039724140756688342</id><published>2009-02-02T11:55:00.000+01:00</published><updated>2009-02-02T11:11:47.895+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thought'/><title type='text'>Social Network</title><summary type='text'>Real life... Is everything you could taste on your skin, everything could make you happy or worry, everything make you cry for happines or sadness. Everything let your heart beat fast or stop to beat at all. That's what i mean.DigiLifeDigital life is a series of signal, nothing more... Digital life comes from a machine, a personal computer or everything like that. and it is only for support at </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1039724140756688342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1039724140756688342'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/social-network.html' title='Social Network'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-3863832674775621995</id><published>2009-01-28T16:59:00.003+01:00</published><updated>2009-02-02T10:53:17.570+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Markup Language'/><title type='text'>XML Schema for Charting - a first implementation</title><summary type='text'>&lt;?xml version="1.0"?&gt;&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;xs:element name="LineChart" type="line_chart"/&gt; &lt;xs:complexType name="line_chart"&gt;  &lt;xs:all&gt;   &lt;xs:element name="LineChartInfo" type="chart_info" /&gt;   &lt;xs:element name="Points" type="points_" /&gt;  &lt;/xs:all&gt; &lt;/xs:complexType&gt; &lt;xs:complexType name="chart_info"&gt;  &lt;xs:all&gt;   &lt;xs:element name="ChartHead" type="xs:string"/&gt;   </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3863832674775621995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3863832674775621995'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/01/xml-schema-for-charting-first.html' title='XML Schema for Charting - a first implementation'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-3071744779502234310</id><published>2009-01-13T11:02:00.013+01:00</published><updated>2009-02-04T13:23:54.897+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><title type='text'>Backus-Naur Form</title><summary type='text'>Backus-Naur form, is a way to describe grammar for programming languages, communication protocols, instruction set and to represent part of natural language too. It express free context grammar.A BNF consist of a set of derivation rules, made of symbols. Every Symbol is expressed as a rule like:&lt;symbol&gt; ::= expressionan expression could be another symbol or a choice of symbols separated by a </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3071744779502234310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3071744779502234310'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/01/bakus-naur-form.html' title='Backus-Naur Form'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-4187051550939431414</id><published>2009-01-12T11:14:00.003+01:00</published><updated>2009-01-13T11:24:23.657+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Markup Language'/><title type='text'>XML and Graph</title><summary type='text'>Since i knew xml like languages i was impressed. Lately im thinking about take a new look to some of that languages to start a new little project (as always i will be share on here).Yes, the title talk about graph, in real i don't really care about graph, but i want to improve my xml like languages knowledge with graph as a pretext.My goal is to define an XML Schema that that lead a graph </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4187051550939431414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/4187051550939431414'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2009/01/xml-and-graph.html' title='XML and Graph'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-425684777199407457</id><published>2008-12-01T11:54:00.016+01:00</published><updated>2009-02-02T23:26:01.850+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Markup Language'/><title type='text'>Web-related Drag theory</title><summary type='text'>After vain attemps to realize a good drag method in a web enviorment, i finally understand what i guess is the best way.A little bit of history :p ...I started months ago, interested in web dashboard, to implement a dom-drag, i done but it works bad. Sometimes the dragged element "loose the focus" so the mouse pointer go ahead and the element stays back; then when i try to drag it once again it </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/425684777199407457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/425684777199407457'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/12/web-related-drag-theory.html' title='Web-related Drag theory'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-6774899475328588563</id><published>2008-11-04T13:30:00.004+01:00</published><updated>2008-11-04T14:01:51.791+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='Markup Language'/><title type='text'>Regex in markup</title><summary type='text'>Well, in an older post (the italian one only) i made intensive use of regex to retrive HTML tags text content. Well, now i want to give you a simple trick to do this in a more elegant way.Be careful: this post doesn't want to explain regex at all!We all know that a markup tag with a content look like &lt;tag_name&gt;content&lt;/tag_name&gt;.Well to retrive the content we only need to match everything between</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/6774899475328588563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/6774899475328588563'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/11/regex-in-markup.html' title='Regex in markup'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-1453676162573485225</id><published>2008-11-04T12:29:00.000+01:00</published><updated>2008-11-04T12:31:48.832+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thought'/><title type='text'>About duality</title><summary type='text'>Find a place to die, find another way to fail, find another sin to do...Find The place to live, find your own way to win, find another good thing to do...That's about duality, that's about what i think about life, that's why.i.am.here.Nothing is true nothing is false, it's just about duality, there's a thing and it's opposite, and the circle get close with the opposite thing inside it's </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1453676162573485225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/1453676162573485225'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/11/about-duality.html' title='About duality'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-8146121278957058005</id><published>2008-10-09T14:46:00.003+02:00</published><updated>2008-10-09T14:51:01.636+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Announce'/><title type='text'>Improve mapidev</title><summary type='text'>In order to gain more visibility and gain more readers, i'm thinking about to switch my language to english.Hope this could be useful, and most of all will helps to let more people to know what i write.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8146121278957058005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/8146121278957058005'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/improve-mapidev.html' title='Improve mapidev'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-3977313968132671940</id><published>2008-10-09T12:06:00.008+02:00</published><updated>2008-10-09T15:59:19.614+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>Numeri di telefono on the fly</title><summary type='text'>NB: Italian only, this script is useful for italian only readers. This script recive as input an italian phone number and give its holder as output.In questo post vediamo come ricavere on the fly informazioni su intestatari di numeri di telefono.Si tratta di due scritp pensati per essere eseguiti direttamente dall'interprete php.Può essere utile in ufficio sapere in anticipo chi sta telefonando e</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3977313968132671940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3977313968132671940'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/numeri-di-telefono-on-fly.html' title='Numeri di telefono on the fly'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-7696925967359257974</id><published>2008-10-08T10:35:00.003+02:00</published><updated>2008-10-09T15:57:16.561+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySql'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>A little help</title><summary type='text'>Im gonna show you a simple function in php that will help you to generate the easiest insert mysql query (yet another...).I use it in a personal web application, someone could find it useful too. It's just an alpha definition, but i really doubt to bring new modifications.Context:This function have been called in a asynchronous way from javascript (by XHR), so the parameters comes from $_GET </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/7696925967359257974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/7696925967359257974'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/un-piccolo-aiuto.html' title='A little help'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-3848317197115263893</id><published>2008-10-07T11:32:00.010+02:00</published><updated>2009-07-09T11:31:40.847+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Images'/><title type='text'>Xiaolin Wu look like circle</title><summary type='text'>Xiaolin Wu had implement an algorithm to draw fast antialiased lines and circles.In this post i will consider the circle.His idea is based on draw the points next to the real circumference. Drawing that points with different intensity so that will be inverse proportion to the distance from the center and the total sum of the intensities will be constant. The lemma that leads the plot loop is </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3848317197115263893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/3848317197115263893'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/xiaolin-wu-look-like-circle.html' title='Xiaolin Wu look like circle'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_N0scGi_3AkY/SOt7jSKNJkI/AAAAAAAAAAM/yB9_O6R6dls/s72-c/zoom.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2821494565641932291.post-2244937971720043473</id><published>2008-10-07T10:56:00.009+02:00</published><updated>2009-03-10T16:56:58.821+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Theory'/><title type='text'>Rectangles</title><summary type='text'>Objective: A function allow to draw a rectangle, so we want to supply top-left corner coordinates, width and height. These variables must be retrive by click-drag-relase mouse.The most easy way consists by click and drag the mouse in bottom-right direction. Retrive the 4 variables will be easy as follow:x coordinate: first mouse click x coordinate;y coordinate: first mouse click y coordinate;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2244937971720043473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2821494565641932291/posts/default/2244937971720043473'/><link rel='alternate' type='text/html' href='http://mapidev.blogspot.com/2008/10/rettangoli.html' title='Rectangles'/><author><name>mapi</name><uri>http://www.blogger.com/profile/11994815296879759984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
