<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>borisSCHEIMAN // &#187; Programming</title>
	<atom:link href="http://www.bscheiman.org/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bscheiman.org</link>
	<description>Lifestyle, hobbies, work, rage...</description>
	<lastBuildDate>Sat, 26 Jun 2010 00:53:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Comentarios para Trafico v2.0.0</title>
		<link>http://www.bscheiman.org/2010/04/06/comentarios-para-trafico-v2-0-0/</link>
		<comments>http://www.bscheiman.org/2010/04/06/comentarios-para-trafico-v2-0-0/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 22:24:43 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Trafico]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=178</guid>
		<description><![CDATA[Si tienes algun comentario, queja, sugerencia o lo que sea, por favor dejalo en este post para categorizarlos mejor. Gracias! Nota: la versión 2.0.1 no sirve con iOS4, pero el update ya lo tiene Apple. Solo es cuestión de que lo acepten.]]></description>
			<content:encoded><![CDATA[<p>Si tienes algun comentario, queja, sugerencia o lo que sea, por favor dejalo en este post para categorizarlos mejor. Gracias!</p>
<p>Nota: la versión 2.0.1 no sirve con iOS4, pero el update ya lo tiene Apple. Solo es cuestión de que lo acepten. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2010/04/06/comentarios-para-trafico-v2-0-0/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Trafico en el iPhone</title>
		<link>http://www.bscheiman.org/2010/03/21/trafico-en-el-iphone/</link>
		<comments>http://www.bscheiman.org/2010/03/21/trafico-en-el-iphone/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:44:34 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Español]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Trafico]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=168</guid>
		<description><![CDATA[Hace varios meses publique como ver el trafico en el iPhone, usando el navegador Safari. Esto llego a ser muy molesto ya que despues de hacer varios cambios, los usuarios tenian camaras inservibles&#8230; en fin, fue un desmadre. Ahora regreso con una aplicacion nativa para el iPhone cuyo nombre es muy creativo y original: &#8220;Trafico.&#8221;]]></description>
			<content:encoded><![CDATA[<p>Hace varios meses publique como ver el trafico en el iPhone, usando el navegador Safari. Esto llego a ser muy molesto ya que despues de hacer varios cambios, los usuarios tenian camaras inservibles&#8230; en fin, fue un desmadre.</p>
<p>Ahora regreso con una aplicacion nativa para el iPhone cuyo nombre es muy creativo y original: &#8220;Trafico.&#8221; Esta aplicacion te permite ver el trafico en varias zonas del D.F. y en otras ciudades de la republica. El link del AppStore es el siguiente: <a href="http://www.tinyurl.com/traficomex">http://www.tinyurl.com/traficomex</a>. Si quieres ver screenshots, entra al AppStore. <img src='http://www.bscheiman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2010/03/21/trafico-en-el-iphone/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Compiling Mono SVN on Slicehost/Rackspace Cloud</title>
		<link>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/</link>
		<comments>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 05:33:23 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[boris]]></category>
		<category><![CDATA[bscheiman]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[scheiman]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=161</guid>
		<description><![CDATA[The following should do the trick. This is an update from my old Mono script. Disclaimer: If your system explodes, your cat dies, or anything else happens because of this script, I am not to blame. If everything works though, I&#8217;m always here. Hugs. #!/bin/bash TOPDIR=$(pwd) BUILDDIR=$TOPDIR/build DLDDIR=$TOPDIR/downloads export PATH=/usr/local/bin:$PATH echo &#34;installing prerequisites&#34; sudo apt-get]]></description>
			<content:encoded><![CDATA[<p>The following should do the trick. This is an update from my old <a href="http://www.bscheiman.org/2009/03/18/compiling-mono-22-on-slicehost/">Mono</a> script. Disclaimer: If your system explodes, your cat dies, or anything else happens because of this script, I am not to blame. If everything works though, I&#8217;m always here. Hugs.</p>
<p><span id="more-161"></span></p>
<pre class="brush: plain;">

#!/bin/bash

TOPDIR=$(pwd)
BUILDDIR=$TOPDIR/build
DLDDIR=$TOPDIR/downloads

export PATH=/usr/local/bin:$PATH

echo &quot;installing prerequisites&quot;
sudo apt-get install -y build-essential bison gawk
sudo apt-get install -y libglib2.0-dev
sudo apt-get install -y libpng12-dev libx11-dev libfontconfig1-dev
sudo apt-get install -y libfreetype6-dev libjpeg62-dev libtiff4-dev
sudo apt-get install -y libungif4-dev libexif-dev libcairo2-dev
sudo apt-get install -y libpango1.0-dev libgtk2.0-dev libglade2-dev
sudo apt-get install -y libgnome2-dev libgnomecanvas2-dev libgnomeui-dev
sudo apt-get install -y libgnomeprint2.4-dev libgnomeprintui2.4-dev
sudo apt-get install -y libpanel-applet2-dev libgtksourceview-dev
sudo apt-get install -y libgtkhtml3.14-dev
sudo apt-get install -y intltool
sudo apt-get install -y desktop-file-utils apache2-threaded-dev subversion libtool

echo &quot;uninstalling platform mono packages&quot;
sudo apt-get remove 'mono-*' libgdiplus

mkdir -p $BUILDDIR
cd $BUILDDIR

rm -rf libgdiplus
rm -rf mono
rm -rf mono-tools
rm -rf mono-debugger
rm -rf xsp
rm -rf mod_mono

echo
echo &quot;downloading mono packages&quot;
echo

cd $BUILDDIR

svn co svn://anonsvn.mono-project.com/source/trunk/libgdiplus
svn co svn://anonsvn.mono-project.com/source/trunk/mono
svn co svn://anonsvn.mono-project.com/source/trunk/mcs
svn co svn://anonsvn.mono-project.com/source/trunk/mono-tools
svn co svn://anonsvn.mono-project.com/source/trunk/mono-debugger
svn co svn://anonsvn.mono-project.com/source/trunk/xsp
svn co svn://anonsvn.mono-project.com/source/trunk/mod_mono

cd $BUILDDIR

echo
echo &quot;building and installing mono packages&quot;
echo
cd $BUILDDIR

cd libgdiplus
./autogen.sh --prefix=/usr/local
make
sudo make install
cd $BUILDDIR

cd mono
cd mono
cd mini
perl -i -pe 'last if eof' mini-amd64.h
perl -i -pe 'last if eof' mini-amd64.h
echo &quot;#define MONO_ARCH_NOMAP32BIT&quot; &gt;&gt; mini-amd64.h
echo &quot;#endif&quot; &gt;&gt; mini-amd64.h
cd ..
cd ..
./autogen.sh --prefix=/usr/local --with-large-heap=yes --with-xen_opt=yes
sudo make uninstall
make get-monolite-latest
make EXTERNAL_MCS=false
sudo make install
cd $BUILDDIR

cd mono-tools
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd mono-debugger
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd xsp
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

cd mod_mono
./autogen.sh --prefix=/usr/local
sudo make uninstall
make
sudo make install
cd $BUILDDIR

echo
echo &quot;done&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2010/01/31/compiling-mono-svn-on-slicehost/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flex Builder 3: Autogenerating setter/getter</title>
		<link>http://www.bscheiman.org/2009/05/26/flex-builder-3-autogenerating-settergetter/</link>
		<comments>http://www.bscheiman.org/2009/05/26/flex-builder-3-autogenerating-settergetter/#comments</comments>
		<pubDate>Tue, 26 May 2009 17:06:13 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=109</guid>
		<description><![CDATA[Use the following script with Eclipse Monkey; activate with ALT+9 after selecting variables: /* * Menu: Actionscript &#62; Generate Properties * Key: M3+9 * DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript */ function main() { var editor = editors.activeEditor var source = editor.source if (editor.selectionRange) { var range = editor.selectionRange var offset = range.startingOffset var text = source.substring(offset, range.endingOffset) var]]></description>
			<content:encoded><![CDATA[<p>Use the following script with <a title="Eclipse Monkey" href="http://www.eclipse.org/proposals/dash/html/maintopic.html">Eclipse Monkey</a>; activate with ALT+9 after selecting variables:</p>
<p><span id="more-109"></span></p>
<pre class="brush: jscript;">
/*
 * Menu: Actionscript &gt; Generate Properties
 * Key: M3+9
 * DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript
 */

function main() {
    var editor = editors.activeEditor
    var source = editor.source

    if (editor.selectionRange) {
        var range = editor.selectionRange
        var offset = range.startingOffset

        var text = source.substring(offset, range.endingOffset)
        var result = text.match(/([\w_]+\s*:\s*[\w_]+)/g);

        o = &quot;&quot;

        for (var i = 0, n = result.length; i &lt; n; ++i)
        o += getvar(result[i])

        o += &quot;\n&quot;;

        for (var i = 0, n = result.length; i &lt; n; ++i)
        o += props(result[i])

        o += &quot;\n&quot;

        //  debug(o)
        editor.applyEdit(offset, range.endingOffset - offset, o)
    }
}

String.prototype.trim = function() {
    return this.replace(/^\s+|\s+$/, '');
};

function props(v) {
    var parts = v.split(&quot;:&quot;);

    if (2 != parts.length) return &quot;&quot;;

    parts[0] = parts[0].trim();
    parts[1] = parts[1].trim();

    var s = &quot;\n\t\tpublic function get &quot; + parts[0].replace(&quot;_&quot;, &quot;&quot;) + &quot;() : &quot; + parts[1] + &quot; {&quot;;
    if (parts[0].indexOf(&quot;_&quot;) &lt; 0) s += &quot;\n\t\t\treturn _&quot; + parts[0] + &quot;;&quot;;
    else s += &quot;\n\t\t\treturn &quot; + parts[0] + &quot;;&quot;;
    s += &quot;\n\t\t}\n\n&quot;;

    s += &quot;\t\t[Bindable]\n&quot;;
    s += &quot;\t\tpublic function set &quot; + parts[0].replace(&quot;_&quot;, &quot;&quot;) + &quot;(value : &quot; + parts[1] + &quot;) : void {&quot;;

    if (parts[0].indexOf(&quot;_&quot;) &lt; 0) s += &quot;\n\t\t\t_&quot; + parts[0] + &quot; = value;&quot;;
    else s += &quot;\n\t\t\t&quot; + parts[0] + &quot; = value;&quot;;

    s += &quot;\n\t\t}\n&quot;;

    return s;
}

function getvar(s) {
    if (1 &gt; s.length) return &quot;&quot;;

    if (s.indexOf(&quot;_&quot;) &lt; 0) return &quot;\n\t\tprotected var _&quot; + s + &quot;;&quot;;

    return &quot;\n\t\tprotected var &quot; + s + &quot;;&quot;;
}

function debug(s) {
    Packages.org.eclipse.jface.dialogs.MessageDialog.openInformation(window.getShell(), &quot;Monkey Debugging&quot;, s);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2009/05/26/flex-builder-3-autogenerating-settergetter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling Mono 2.6 on Slicehost</title>
		<link>http://www.bscheiman.org/2009/03/18/compiling-mono-22-on-slicehost/</link>
		<comments>http://www.bscheiman.org/2009/03/18/compiling-mono-22-on-slicehost/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 17:34:53 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=92</guid>
		<description><![CDATA[It&#8217;s a pain in the ass. It takes ages. And did I mention it&#8217;s a pain in the ass? After reading the forums and stumbling upon xyzzyxyzzy&#8217;s awesome script, I decided to make it easier on all us Mono/.NET lovers. I did it manually, but this should work &#8211; alas, you&#8217;ve been warned. Insert typical]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a pain in the ass. It takes ages. And did I mention it&#8217;s a pain in the ass? After reading the <a href="http://forum.slicehost.com/comments.php?DiscussionID=2909&amp;page=1#Item_7">forums</a> and stumbling upon xyzzyxyzzy&#8217;s awesome <a href="http://xyzzyxyzzy.net/2009/02/17/updated-mono-build-script-mono-22/">script</a>, I decided to make it easier on all us Mono/.NET lovers.</p>
<p>I did it manually, but this should work &#8211; alas, you&#8217;ve been warned. Insert typical &#8220;Works on my machine&#8221; disclaimer here; if your cat dies from using this script, it&#8217;s not my fault. You need kernel version 2.6.24-23-xen (standard on Slicehost I think)</p>
<p><strong>UPDATE</strong>: I&#8217;ll post the SVN version in a few. Seems there was a POSIX issue that wasn&#8217;t fixed on the tarball, forcing me to go the SVN way. New post in a few minutes, once I test it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2009/03/18/compiling-mono-22-on-slicehost/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Optimization</title>
		<link>http://www.bscheiman.org/2009/01/06/optimization/</link>
		<comments>http://www.bscheiman.org/2009/01/06/optimization/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 21:18:04 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=32</guid>
		<description><![CDATA[I needed to optimize a function for my neural network. How hard could it be? It&#8217;s only one function, and it&#8217;s &#60;5 lines at that&#8230; After spawning a huge thread, I&#8217;m left to wonder: why didn&#8217;t I continue learning ML after my functional languages class? Blargh! Benchmarks after the break&#8230; C#: Max deviation is 0.001663983]]></description>
			<content:encoded><![CDATA[<p>I needed to optimize a function for my neural network. How <a href="http://stackoverflow.com/questions/412019/code-optimizations">hard could it be</a>? It&#8217;s only one function, and it&#8217;s &lt;5 lines at that&#8230;</p>
<p>After spawning a huge thread, I&#8217;m left to wonder: why didn&#8217;t I continue learning ML after my functional languages class? Blargh!</p>
<p>Benchmarks after the break&#8230;<span id="more-32"></span></p>
<p>C#:</p>
<pre class="prettyprint"><code><span class="typ">Max</span><span class="pln"> deviation </span><span class="kwd">is</span><span class="pln"> </span><span class="lit">0.001663983</span><span class="pln">
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> Sigmoid1</span><span class="pun">()</span><span class="pln"> took </span><span class="lit">1646.613</span><span class="pln"> ms
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> Sigmoid2</span><span class="pun">()</span><span class="pln"> took </span><span class="lit">237.352</span><span class="pln"> ms

C:

</span></code><code><span class="typ">Max</span><span class="pln"> deviation </span><span class="kwd">is</span><span class="pln"> </span><span class="lit">0.001664</span><span class="pln">
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> sigmoid1</span><span class="pun">:</span><span class="pln"> </span><span class="lit">628</span><span class="pln"> ms
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> sigmoid2</span><span class="pun">:</span><span class="pln"> </span><span class="lit">157</span><span class="pln"> ms</span></code><code><span class="str">

F#:

</span></code><code><span class="typ">Max</span><span class="pln"> deviation </span><span class="kwd">is</span><span class="pln"> </span><span class="lit">0.001664</span><span class="pln">
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> sigmoid1</span><span class="pun">:</span><span class="pln"> </span><span class="lit">588.843700</span><span class="pln"> ms
</span><span class="lit">10</span><span class="pun">^</span><span class="lit">7</span><span class="pln"> iterations </span><span class="kwd">using</span><span class="pln"> sigmoid2</span><span class="pun">:</span><span class="pln"> </span><span class="lit">156.626700</span><span class="pln"> ms

</span></code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2009/01/06/optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Be kind to your eyes</title>
		<link>http://www.bscheiman.org/2009/01/05/be-kind-to-your-eyes/</link>
		<comments>http://www.bscheiman.org/2009/01/05/be-kind-to-your-eyes/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 06:29:10 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=30</guid>
		<description><![CDATA[Visual Studio + Consolas font = Happy Boris]]></description>
			<content:encoded><![CDATA[<p>Visual Studio + <a href="http://www.microsoft.com/Downloads/details.aspx?familyid=22E69AE4-7E40-4807-8A86-B3D36FAB68D3&amp;displaylang=en">Consolas font</a> = Happy Boris</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2009/01/05/be-kind-to-your-eyes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP Registry Hacks</title>
		<link>http://www.bscheiman.org/2008/09/25/windows-xp-registry-hacks/</link>
		<comments>http://www.bscheiman.org/2008/09/25/windows-xp-registry-hacks/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:45:32 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[sp3]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=19</guid>
		<description><![CDATA[I finally graduate in about 2 months. However, much to my dismay, I have to finish my social volunteer work. No, I didn&#8217;t do anything weird &#8211; it&#8217;s just a graduation requisite. I&#8217;ve been working at my university&#8217;s computer division, so I&#8217;ve had to format anywhere between 4 and 15 laptops every day. Yes. Every.]]></description>
			<content:encoded><![CDATA[<p>I finally graduate in about 2 months. However, much to my dismay, I have to finish my social volunteer work. No, I didn&#8217;t do anything weird &#8211; it&#8217;s just a graduation requisite. I&#8217;ve been working at my university&#8217;s computer division, so I&#8217;ve had to format anywhere between 4 and 15 laptops every day. Yes. Every. Single. Day.</p>
<p>Unfortunately, most of the laptops are Dell C610s &#8211; in other words, 1GHz, 256MB RAM and they&#8217;re running Windows XP. You can probably tell that it&#8217;s very fun to optimize each system. (I&#8217;m proud of myself, they run pretty nicely for the low specs they&#8217;re sporting&#8230;)</p>
<p>With this in mind, I decided to code a .NET 3.5 application (free, of course) that does the job for me and also manages to be fully extensible through the use of a text-based hack database.</p>
<p>If you&#8217;re interested in downloading it, give it a go <a href="http://www.vector6.com.mx/apps/RegistryHacker.zip">here</a>. Read more if you&#8217;re interested in some of the example hacks, as well as the database specification.</p>
<p><span id="more-19"></span></p>
<p>The app itself has many, many hacks, but here are some of them just to get your attention:</p>
<ul>
<li>StartUpDelay (Speeds up startup)</li>
<li>MenuShowDelay (Faster start menu)</li>
<li>WaitToKillAppTimeout, HungAppTimeout (Speeds up shutdown)</li>
<li>SuperFetch</li>
<li>UDMA66 Mode</li>
<li>Large system cache</li>
<li>&#8230;and many more</li>
</ul>
<p>The format, per se, is the following:</p>
<p>Name<br />
Description<br />
Root value (Depends on type of hack: <a href="#registry">Registry</a>, <a href="#command">Command</a> or <a href="#profile">Profile</a>)<br />
Argument<br />
Value<br />
; (End of entry)</p>
<p>Here&#8217;s an example of 3 different entries in the regs.dat file, with comments in square brackets:</p>
<p><a name="registry">Registry entry:</a></p>
<p>Registry: Modify StartUpDelay [Name]<br />
It just removes the unnecessary wait time after a system startup before Indexing Service. (40000ms) [Description]<br />
HKEY_LOCAL_MACHINESystemCurrentControlSetControlContentIndex [In the case of a registry entry, the full tree]<br />
StartupDelay [Registry key]<br />
40000 [Registry value. If it's numerical, it's a DWORD - else, it'll get written as a String]<br />
;</p>
<p><a name="command">Command entry:</a></p>
<p>Services: Disable alerter service [Name]<br />
&#8216;Nuff said. [Description]<br />
Command [Root value, leave as "Command" for command]<br />
sc.exe [Actual command]<br />
config &#8220;alerter&#8221; start= disabled [Parameters]<br />
;</p>
<p><a name="profile">Profile entry: (aka, .ini files)</a></p>
<p>Profile: Set LocalLoadHigh [Name]<br />
Speeds up Windows XP boot times. Load all info needed for your programs into upper memory by default, and it will free up the maximum amount of conventional memory possible. (the first 640K) [Description]<br />
Profilesystem.ini386Enh [In the case of a Profile, it has to be like this: Profile&lt;.ini file [in Windows dir]&gt;&lt;section&gt;]<br />
LocalLoadHigh [Argument]<br />
1 [Value]<br />
;</p>
<p>If you add anything to the regs.dat file, please post it as a comment so everyone can benefit. Thanks, and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2008/09/25/windows-xp-registry-hacks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iBrainer</title>
		<link>http://www.bscheiman.org/2008/09/01/ibrainer/</link>
		<comments>http://www.bscheiman.org/2008/09/01/ibrainer/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 02:52:04 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/?p=18</guid>
		<description><![CDATA[Shameless plug: iBrainer is now ready for public use. Feel free to give it a try, either on download.com or iBrainer.net In a nutshell: fix your MP3 collection in a snap. No more Unknown Artist or fixing tags yourself. I might be biased, but I use it all the time &#8212; and I&#8217;m loving it!]]></description>
			<content:encoded><![CDATA[<p>Shameless plug:</p>
<p>iBrainer is now ready for public use. Feel free to give it a try, either on download.com or <a title="iBrainer: manage your mp3 collection" href="http://www.ibrainer.net">iBrainer.net</a></p>
<p>In a nutshell: fix your MP3 collection in a snap. No more Unknown Artist or fixing tags yourself.</p>
<p>I might be biased, but I use it all the time &#8212; and I&#8217;m loving it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2008/09/01/ibrainer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unicode to DOS Filenames</title>
		<link>http://www.bscheiman.org/2008/01/26/unicode-to-dos-filenames/</link>
		<comments>http://www.bscheiman.org/2008/01/26/unicode-to-dos-filenames/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 21:21:17 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.bscheiman.org/2008/01/26/unicode-to-dos-filenames/</guid>
		<description><![CDATA[DOS is a pain. .NET doesn&#8217;t get along too well with DOS either, since everything .NET is Unicode &#8211; just like everything, actually. How to change from Unicode (aka, Kanji characters) to DOS Filenames: [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] static extern uint GetShortPathName([MarshalAs(UnmanagedType.LPTStr)] string lpszLongPath, [MarshalAs(UnmanagedType.LPTStr)] StringBuilder lpszShortPath, uint cchBuffer); public static string]]></description>
			<content:encoded><![CDATA[<p>DOS is a pain. .NET doesn&#8217;t get along too well with DOS either, since everything .NET is Unicode &#8211; just like everything, actually.</p>
<p>How to change from Unicode (aka, Kanji characters) to DOS Filenames:</p>
<p><code>[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]<br />
static extern uint GetShortPathName([MarshalAs(UnmanagedType.LPTStr)] string lpszLongPath, [MarshalAs(UnmanagedType.LPTStr)] StringBuilder lpszShortPath, uint cchBuffer);</code></p>
<p><code>public static string ToDOSPathName(String longName) {<br />
StringBuilder shortNameBuffer = new StringBuilder(256);<br />
uint bufferSize = (uint)shortNameBuffer.Capacity;</code></p>
<p><code>uint result = GetShortPathName(longName, shortNameBuffer, bufferSize);</code><br />
<code><br />
return shortNameBuffer.ToString();<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bscheiman.org/2008/01/26/unicode-to-dos-filenames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
