<?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>Meseret Gebre &#187; development</title>
	<atom:link href="http://meseretgebre.com/archives/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://meseretgebre.com</link>
	<description></description>
	<lastBuildDate>Fri, 04 Jun 2010 07:15:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mysqld_safe not starting mysql5?</title>
		<link>http://meseretgebre.com/archives/mysqld_safe-not-starting-mysql5/</link>
		<comments>http://meseretgebre.com/archives/mysqld_safe-not-starting-mysql5/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:15:05 +0000</pubDate>
		<dc:creator>mez</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://meseretgebre.com/?p=195</guid>
		<description><![CDATA[MacPorts, mysql5, mysqld_safe]]></description>
			<content:encoded><![CDATA[<p>So I use macports to install mysql5 and when I was ready to start mysql using mysqld_safe, which is located:</p>
<pre class="brush: bash">
/opt/local/bin/
</pre>
<p>I ended getting a big error report which said something along the lines of:</p>
<pre class="brush: bash">
mkdir: /opt/local/var/run: No such file or directory
chown: /opt/local/var/run/mysql5: No such file or directory
chmod: /opt/local/var/run/mysql5: No such file or directory
</pre>
<p><strong>Solution</strong><br />
I solved this by doing the following:</p>
<ol>
<li>Make sure you have ran the following command after the install completes:
<pre class="brush: bash">
sudo /opt/local/lib/mysql5/bin/mysql_install_db  --user=mysql
</pre>
</li>
<li>Finally you have to do the following:
<pre class="brush: bash">
sudo mkdir /opt/local/var/run
sudo chmod g+w /opt/local/var/run/
sudo mkdir /opt/local/var/run/mysql5
sudo chown mysql /opt/local/var/run/mysql5/
</pre>
</li>
</ol>
<p>Now you should be able to start mysql with no problems! A little bonus is create alias for starting and stopping mysql. My MBP is running Snow Leopard so I edit:</p>
<pre class="brush: bash"> ~/.profile </pre>
<p>and add the following at the end of the file:</p>
<pre class="brush: bash">
alias mysqlstart=&#039;sudo /opt/local/bin/mysqld_safe5 &amp;&#039;
alias mysqlstop=&#039;/opt/local/bin/mysqladmin5 -u root -p shutdown&#039;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://meseretgebre.com/archives/mysqld_safe-not-starting-mysql5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C Sharp .NET 3.0 and Beyond</title>
		<link>http://meseretgebre.com/archives/c-sharp-net-3-0-and-beyond/</link>
		<comments>http://meseretgebre.com/archives/c-sharp-net-3-0-and-beyond/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 00:28:40 +0000</pubDate>
		<dc:creator>mez</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[NET 3.0]]></category>
		<category><![CDATA[NET 4.0]]></category>

		<guid isPermaLink="false">http://meseretgebre.com/?p=180</guid>
		<description><![CDATA[I have started learning everything .NET lately. Among the vast amount of information I have taken a liking to C# and the features it offers with .NET! I jumped into the .NET game at version 3.5 this means I have a lot to learn in a short span of time. I decided to concentrate on [...]]]></description>
			<content:encoded><![CDATA[<p>I have started learning everything .NET lately. Among the vast amount of information I have taken a liking to C# and the features it offers with .NET! I jumped into the .NET game at version 3.5 this means I have a lot to learn in a short span of time. I decided to concentrate on features starting from .NET 3.0 and up. I know this is super late and probably everyone knows about these features of the language, but I am going to talk about them anyways <img src='http://meseretgebre.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />   The next article will be on the following features, that make my life as a developer so much easier.</p>
<ul>
<li>Automatic Properties</li>
<li>Implicitly typed local variables</li>
<li>Anonymous types</li>
<li>Object and collection initializers</li>
<li>Query expressions (LINQ)</li>
</ul>
<p>I am doing this mostly as a primer/base for my next article some time in the future. This future article will be about the cool features in the up and coming C# .NET 4.0!</p>
]]></content:encoded>
			<wfw:commentRss>http://meseretgebre.com/archives/c-sharp-net-3-0-and-beyond/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Python is Kick Ace</title>
		<link>http://meseretgebre.com/archives/python-is-kick-ace/</link>
		<comments>http://meseretgebre.com/archives/python-is-kick-ace/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:20:53 +0000</pubDate>
		<dc:creator>mez</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[HIVE]]></category>
		<category><![CDATA[Panda3D]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://meseretgebre.com/?p=141</guid>
		<description><![CDATA[Python is a scripting language that can be used in many different way. Python is super easy to learn and can take you far in the professional world. Big names like Google use this language heavily for a lot of their day to day operations. A good example is their App Engine.

I picked up Python [...]]]></description>
			<content:encoded><![CDATA[<p>Python is a scripting language that can be used in many different way. Python is super easy to learn and can take you far in the professional world. Big names like Google use this language heavily for a lot of their day to day operations. A good example is their <a href="http://code.google.com/appengine/" target="_blank">App Engine</a>.</p>
<p><img class="alignleft" title="App engine logo" src="http://code.google.com/appengine/images/appengine_lowres.jpg" alt="" width="142" height="109" /></p>
<p>I picked up Python over night just by going to the Python Home page and following their tutorials. The documentation is excellent, so if you can read, I assume you can, then you should be good to go. The tutorial I follow is located at <a href="http://docs.python.org/tutorial/index.html" target="_blank">http://docs.python.org/tutorial/index.html</a>.</p>
<p>Python can be used for many things a popular usage for this scripting language is developing with Game engines, or 3D modeling software packages like <a href="http://www.blender.org/" target="_blank">Blender</a>.  Once you have gone through the tutorials, I recommend you get this pocket reference book below. It proves to be very useful, because there are so many libraries, and a quick look up can make life a lot easier.</p>
<p><img class="alignnone size-full wp-image-144" title="python_ref_3ed_comp.indd" src="http://meseretgebre.com/wp-content/uploads/2009/04/python-pocket-reference.jpg" alt="python_ref_3ed_comp.indd" width="306" height="504" /></p>
<p>I started learning Python when I was an undergrad to develop some code for a summer research position I had. My job was to develop an API to integrate a huge virtual environment with a 3D game engine called <a href="http://panda3d.org/" target="_blank">Panda3D</a>. The API was called <a href="http://www.units.muohio.edu/psychology/cogsci/hive/" target="_blank">HIVE (Huge Immersive Virtual Environment)</a>. If you have any questions about Python or done anything cool with the language just leave a comment and let me know <img src='http://meseretgebre.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://meseretgebre.com/archives/python-is-kick-ace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
