<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Marco Monacelli</title>
		<link>http://www.monacellisoft.it/index.php</link>
		<description><![CDATA[No Footer]]></description>
		<copyright>Copyright 2010, Marco Monacelli</copyright>
		<managingEditor>Marco Monacelli</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.5.1</generator>
		<item>
			<title>Document Freedom Day 09</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry090312-144942</link>
			<description><![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 />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry090312-144942</guid>
			<author>Marco Monacelli</author>
			<pubDate>Thu, 12 Mar 2009 13:49:42 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=09&amp;m=03&amp;entry=entry090312-144942</comments>
		</item>
		<item>
			<title>Proxy Asio implementation SOCKS5</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry081031-130301</link>
			<description><![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 />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry081031-130301</guid>
			<author>Marco Monacelli</author>
			<pubDate>Fri, 31 Oct 2008 12:03:01 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=10&amp;entry=entry081031-130301</comments>
		</item>
		<item>
			<title>TIps of the day:XPM compile warning</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080831-190926</link>
			<description><![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 />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080831-190926</guid>
			<author>Marco Monacelli</author>
			<pubDate>Sun, 31 Aug 2008 17:09:26 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=08&amp;entry=entry080831-190926</comments>
		</item>
		<item>
			<title>TIps of the day: NetBeans 6.1 where is my jsf component?</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080726-142009</link>
			<description><![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.]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080726-142009</guid>
			<author>Marco Monacelli</author>
			<pubDate>Sat, 26 Jul 2008 12:20:09 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=07&amp;entry=entry080726-142009</comments>
		</item>
		<item>
			<title>Snippets of the day: Random Number in C++</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080722-120803</link>
			<description><![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>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080722-120803</guid>
			<author>Marco Monacelli</author>
			<pubDate>Tue, 22 Jul 2008 10:08:03 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=07&amp;entry=entry080722-120803</comments>
		</item>
		<item>
			<title>Snippets of the day: Convert from BSTR to CHAR array</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080714-211231</link>
			<description><![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>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080714-211231</guid>
			<author>Marco Monacelli</author>
			<pubDate>Mon, 14 Jul 2008 19:12:31 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=07&amp;entry=entry080714-211231</comments>
		</item>
		<item>
			<title>Snippets of the day: PL/SQL add a day to oracle date</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080714-064042</link>
			<description><![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 />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080714-064042</guid>
			<author>Marco Monacelli</author>
			<pubDate>Mon, 14 Jul 2008 04:40:42 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=07&amp;entry=entry080714-064042</comments>
		</item>
		<item>
			<title>Come back from holiday</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080707-163755</link>
			<description><![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...]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080707-163755</guid>
			<author>Marco Monacelli</author>
			<pubDate>Mon, 07 Jul 2008 14:37:55 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=07&amp;entry=entry080707-163755</comments>
		</item>
		<item>
			<title>Disk Performance benchmark</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080614-102508</link>
			<description><![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>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080614-102508</guid>
			<author>Marco Monacelli</author>
			<pubDate>Sat, 14 Jun 2008 08:25:08 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=06&amp;entry=entry080614-102508</comments>
		</item>
		<item>
			<title>The Question of the day</title>
			<link>http://www.monacellisoft.it/index.php?entry=entry080604-225626</link>
			<description><![CDATA[As judged important reflection in modern programming languages? <br /><br />Personally I think it is very important.<br /><br />I welcome comments]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.monacellisoft.it/index.php?entry=entry080604-225626</guid>
			<author>Marco Monacelli</author>
			<pubDate>Wed, 04 Jun 2008 20:56:26 GMT</pubDate>
			<comments>http://www.monacellisoft.it/comments.php?y=08&amp;m=06&amp;entry=entry080604-225626</comments>
		</item>
	</channel>
</rss>
