<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>HERGHELEGIU</title>
	<link>http://herr.ro</link>
	<description>Blog Herr.ro</description>
	<lastBuildDate>Tue, 20 Sep 2011 08:01:38 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.2.1" -->

	<item>
		<title>Golden Rules</title>
		<description><![CDATA[Here are the golden rules for programming: KEEP IT SIMPLE Make it work Make it fast DONT change it if it works]]></description>
		<link>http://herr.ro/blog/2011/09/golden-rules/</link>
			</item>
	<item>
		<title>Merge sort</title>
		<description><![CDATA[Another sort method is merge sort

MERGE-SORT(A,p,r)
        
T(n) is THETA(n lg n)
Insertion sort run faster for low n because of the constant factors.
We can use insertion sort when subproblems is sufficient small.]]></description>
		<link>http://herr.ro/blog/2011/09/merge-sort/</link>
			</item>
	<item>
		<title>Heap sort</title>
		<description><![CDATA[Another sort method is the HEAP SORT which uses the heap property.
We can use to sort or for priority queues.

So, if we have the following:]]></description>
		<link>http://herr.ro/blog/2011/09/heap-sort/</link>
			</item>
	<item>
		<title>Quick sort</title>
		<description><![CDATA[QUICK-SORT(A,p,q) - uses the divide et impera alghoritm

it separates the elements from <strong>p</strong> to <strong>q</strong> into 2 partitions from <strong>p</strong> to <strong>r</strong> and from <strong>r+1</strong> to <strong>q</strong> 
where all the elements from the first partition are smaller than the elements from the second one.

The worst running time is O(n^2) but on average is very efficient THETA(n log n)
For balanced partitioning  9 good and 1 bad -&#62; O(n log n)]]></description>
		<link>http://herr.ro/blog/2011/09/quick-sort/</link>
			</item>
	<item>
		<title>Linear sort</title>
		<description><![CDATA[The most simple sort a[i] = 1 if i exists and 0 otherwise]]></description>
		<link>http://herr.ro/blog/2011/09/linear-sort/</link>
			</item>
	<item>
		<title>Disable Intellisense for Visual Studio</title>
		<description><![CDATA[There is a undocumented way to disable C++ Intellisense:
Rename or delete the following file:

&#60;VS root path&#62;\VC\vcpackages\feacp.dll

After doing this the vba macros will not work.

And reconsider using <a href="http://www.wholetomato.com/" target="_blank">Visual Assist</a>]]></description>
		<link>http://herr.ro/blog/2011/09/disable-intellisense-for-visual-studio/</link>
			</item>
	<item>
		<title>SQLite wrapper</title>
		<description><![CDATA[If you need a database to support your anti spam filter consider <a href="http://www.sqlite.org" target="_blank">SQLite</a> for an embedded database.

Use the following class to execute a query:

<code>
<strong>class SQLiteQuery</strong>
</code>]]></description>
		<link>http://herr.ro/blog/2011/09/sqlite-wrapper/</link>
			</item>
	<item>
		<title>Regular expressions</title>
		<description><![CDATA[<img src="http://herr.ro/images/main/lupa.jpg" alt="regular expressions" />
Recently I wanted to test and validate an email address so the best way to do is to use the regular expressions.
The simple way is the use the one from Windows. (in the vbscript.dll)

<code>
// import the second table from vbscript
#<strong>import </strong>&#60;vbscript.dll&#62; tlbid(2) no_namespace named_guids raw_interfaces_only
</code>]]></description>
		<link>http://herr.ro/blog/2011/09/regular-expressions/</link>
			</item>
	<item>
		<title>Spamfilter links</title>
		<description><![CDATA[Here are the most important links for BullGuard Spamfilter: The description page at http://www.bullguard.com/why/bullguard-spamfilter.aspx and the help page at http://media.bullguard.com/is9_help/EN/SF/module_spamfilter_overview.html]]></description>
		<link>http://herr.ro/blog/2011/09/spamfilter-links/</link>
			</item>
	<item>
		<title>Autologin in Win7</title>
		<description><![CDATA[Follow this stepst to do the autologin in Windows 7 (but is not recommended) Press the Windows key + R on your keyboard to launch the &#8220;Run&#8221; dialog box. Type in &#8220;control userpasswords2&#8221; and press Enter. The User Accounts window will display. Uncheck the option &#8220;Users must enter a user name and password to use [...]]]></description>
		<link>http://herr.ro/blog/2011/09/autologin-in-win7/</link>
			</item>
</channel>
</rss>

