<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Marco Monacelli</title>
	<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php" />
	<modified>2010-03-10T09:57:18Z</modified>
	<author>
		<name>Marco Monacelli</name>
	</author>
	<copyright>Copyright 2010, Marco Monacelli</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.5.1">SPHPBLOG</generator>
	<entry>
		<title>Document Freedom Day 09</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry090312-144942" />
		<content type="text/html" mode="escaped"><![CDATA[FSUGitalia &quot;Free Software User Group Italy&quot; organize the Document Freedom Day 09 for italy.<br />the event will be March 25 at the &quot;Centro Polifunzionale, Opera(MI) Italy&quot;, Street Gramsci 21.<br />Is a very important event.<br /><br /><br />]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry090312-144942</id>
		<issued>2009-03-12T00:00:00Z</issued>
		<modified>2009-03-12T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Proxy Asio implementation SOCKS5</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry081031-130301" />
		<content type="text/html" mode="escaped"><![CDATA[Today i study rfc 1928 for proxy SOCKS5 and i try to implement a cross platform implementation of SOCKS5 protocol with ASIO library.<br /><br />Asio is a Cross Platform Networking library very interesting.<br /><br />Asio comes in two variants: (non-Boost) Asio and Boost.Asio.<br /><br />Boost is a Strong C++ Cross Plattform framework.<br /><br />I want write a little tutoria for Asio Programming.<br />]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry081031-130301</id>
		<issued>2008-10-31T00:00:00Z</issued>
		<modified>2008-10-31T00:00:00Z</modified>
	</entry>
	<entry>
		<title>TIps of the day:XPM compile warning</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080831-190926" />
		<content type="text/html" mode="escaped"><![CDATA[SO: All posix<br />Type: Resource Compilation<br />Language: C\C++<br />Title: XPM compile warning<br /><br /><br />Recently with new versions of gcc, when trying to compile an image XPM, at compile time you receive the following error:<br /><br />warning: deprecated conversion from string constant to `char*<br /><br />Solution:<br /><br />This is because some image editor save the xpm images as struct of char pointers, for remove warning simply edit a XPM image and change the struc as follows:<br /><br />/* XPM */<br />static char * myimage_xpm[] = {<br /><br />to <br /><br />static const char * myimage_xpm[] = {<br />]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080831-190926</id>
		<issued>2008-08-31T00:00:00Z</issued>
		<modified>2008-08-31T00:00:00Z</modified>
	</entry>
	<entry>
		<title>TIps of the day: NetBeans 6.1 where is my jsf component?</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080726-142009" />
		<content type="text/html" mode="escaped"><![CDATA[SO: Java<br />Type: Tips<br />Language: Java<br />Title:  NetBeans 6.1 where is my jsf component?<br /><br />Yesterday i have upgraded some project from NetBeans 6 to NetBeans 6.1.<br /> <br /> Question:<br /> When i insert a new component in a jsf page with the visual web plugin the new component is not automatically declared in the page bean. Where is my jsf component?<br /> <br /> Solution:<br /> With NetBeans 6.1 the &quot;automatic&quot; binding of component with page bean is not really automatic. This improves the performances of the page and allows the programmer to create bindings only if they are necessary for the business logic. It is also possible to click on the component with the rigth button and automatically enable\disable the binding attribute for the component.]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080726-142009</id>
		<issued>2008-07-26T00:00:00Z</issued>
		<modified>2008-07-26T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Snippets of the day: Random Number in C++</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080722-120803" />
		<content type="text/html" mode="escaped"><![CDATA[SO: Microsoft Windows\Posix<br />Type: Random Number<br />Language: C++<br />Title: Random Number in C++<br /><br />To generate random number in C\C++ we can use the functions rand() and srand().<br /><br />The first function generate a pseudo\random number and srand set the start of random generation, this information are a integer.<br /><br />WARNING: if you use only rand function the result of the function are predictable. A good example are this.<br /><code><br />#include &lt;stdio.h&gt;<br />#include &lt;strlib.h&gt;<br />#include &lt;time.h&gt;<br /><br />int main()<br />{<br />   srand(time(0));<br />   int rand1 = rand() % 10; //random number da 0 - 9<br />   return 0;<br />}<br /></code>]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080722-120803</id>
		<issued>2008-07-22T00:00:00Z</issued>
		<modified>2008-07-22T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Snippets of the day: Convert from BSTR to CHAR array</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080714-211231" />
		<content type="text/html" mode="escaped"><![CDATA[SO: Microsoft Windows<br />Type: String Manipulation<br />Language: C++<br />Title: Convert from BSTR to CHAR array<br /><br />BSTR is a unicode COM string, All the COM objects uses only this type of unicode string.<br />To convert this incompatibile string to standard ANSI C you can use this simple utils function.<br /><br /><code>char* strValue = _com_util::ConvertBSTRToString(bstrValue)</code><br /><br />Where bstrValue are a BSTR string, and strValue are return value.<br /><br />exists also the  Char to BSTR utils function...<br /><br /><code>BSTR bstrValue = _com_util::ConvertStringToBSTR(strValue)</code>]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080714-211231</id>
		<issued>2008-07-14T00:00:00Z</issued>
		<modified>2008-07-14T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Snippets of the day: PL/SQL add a day to oracle date</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080714-064042" />
		<content type="text/html" mode="escaped"><![CDATA[With this little snippets i start the series of code snippets. For each snippest i reports the portability, type and languages.<br /><br />SO: All support from Oracle<br />Type: DataBase<br />Language: PL\SQL<br />Title: add a day to oracle date<br /><br />For add a day to oracle date you must simple add a interger to date for example. <br /><br /> <code>select sysdate + 1 from dual;</code> <br /><br />increments one day the current system date.<br /><br />To incremente a month you can use a function ADD_MONTHS<br /><br /> <code>select ADD_MONTHS(sysdate,1) from dual;</code> <br /><br />this increments one months the system date are useful because add a day number of next month.<br /><br />To add a year you can also use this<br /><br /><code>select sysdate + 365 from dual;</code> <br /><br /><br />]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080714-064042</id>
		<issued>2008-07-14T00:00:00Z</issued>
		<modified>2008-07-14T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Come back from holiday</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080707-163755" />
		<content type="text/html" mode="escaped"><![CDATA[I&#039;m glad to announce the imminent creation of c programming guide in collaboration with fsugitalia. The project requide 3/6 months of development.... <br /><br />I hope to announce soon the start of the work...]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080707-163755</id>
		<issued>2008-07-07T00:00:00Z</issued>
		<modified>2008-07-07T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Disk Performance benchmark</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080614-102508" />
		<content type="text/html" mode="escaped"><![CDATA[I make a simple page when i insert a little sorce of disk bench.<br /><br />On my test is clear the role of buffer size in I\O operation i execute the test whit file size of 218 MB. This file is copy on 1,0285 seconds on other file when i use a buffer size even the block size of filesystem. <br /><br />The complete test is <a href="http://www.monacellisoft.it/static.php?page=static080614-101240" >here</a>]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080614-102508</id>
		<issued>2008-06-14T00:00:00Z</issued>
		<modified>2008-06-14T00:00:00Z</modified>
	</entry>
	<entry>
		<title>The Question of the day</title>
		<link rel="alternate" type="text/html" href="http://www.monacellisoft.it/index.php?entry=entry080604-225626" />
		<content type="text/html" mode="escaped"><![CDATA[As judged important reflection in modern programming languages? <br /><br />Personally I think it is very important.<br /><br />I welcome comments]]></content>
		<id>http://www.monacellisoft.it/index.php?entry=entry080604-225626</id>
		<issued>2008-06-04T00:00:00Z</issued>
		<modified>2008-06-04T00:00:00Z</modified>
	</entry>
</feed>
