<?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"
	>

<channel>
	<title>eldapo</title>
	<atom:link href="http://eldapo.lembobrothers.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eldapo.lembobrothers.com</link>
	<description>a directory manager's blog</description>
	<pubDate>Tue, 02 Sep 2008 15:44:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>[TLD]/firefox/chrome</title>
		<link>http://eldapo.lembobrothers.com/2008/09/02/tldfirefoxchrome/</link>
		<comments>http://eldapo.lembobrothers.com/2008/09/02/tldfirefoxchrome/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 13:36:49 +0000</pubDate>
		<dc:creator>Phil Lembo</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Open Source Software]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Web Tech]]></category>

		<guid isPermaLink="false">http://eldapo.lembobrothers.com/?p=422</guid>
		<description><![CDATA[Is it just me, or doesn&#8217;t Google&#8217;s name for its new web browser remind you of something you may have seen in, say, the directory path for the current highly popular browser from Mozilla Corp?
Chrome.
I mean, there it is for anyone who has ever installed Firefox from archive to see. It&#8217;s right in the root [...]]]></description>
			<content:encoded><![CDATA[<p>Is it just me, or doesn&#8217;t <a href="http://www.google.com">Google&#8217;s</a> name for its new web browser remind you of something you may have seen in, say, the directory path for the current highly popular browser from <a href="http://www.mozilla.com">Mozilla Corp</a>?</p>
<p><a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html">Chrome</a>.</p>
<p>I mean, there it is for anyone who has ever installed <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> from archive to see. It&#8217;s right in the root directory of the package, for heaven&#8217;s sake!</p>
<p><code>[your top level directory here]/firefox/chrome</code>.</p>
<p>In case you haven&#8217;t ever looked in there, its  the one with all the .jar files, and icons, that <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> uses in rendering its &#8220;look and feel&#8221;. In fact, chrome isn&#8217;t just a directory, it&#8217;s what developers call the browser&#8217;s UI window. There&#8217;s even a bunch of articles detailing <a href="http://kb.mozillazine.org/Dev_:_Firefox_Chrome_URLs">chrome URLs</a> and <a href="http://cow.neondragon.net/index.php/415-Fun-With-Firefox-Chrome-Urls">what you can do with them</a>.</p>
<p>Funny how none of the tech-clueless non tech press has mentioned this.</p>
<p>Or, for that matter, the supposedly tech-saavy (but in actuality similarly tech-clueless) tech press.</p>
<p>So you read it here first.</p>
<p>Too bad I don&#8217;t get paid to sit around all day and think about this kind of stuff.</p>
<p>Back to the salt mines.</p>
<p>P.S. Oh yeah. As far as I&#8217;m concerned its about time we had a new combatant in the browser war. If poor (OK, system debilitating) performance and crashing windows actually improved with each new version from the other two I might feel differently &#8212; but the pain I experienced in the last transition from Firefox 2 to 3 was no illusion, and neither is the churn to a standstill behavior of IE 7. I&#8217;m ready to try something different. Real ready. Of course someone needs to go tell the guy who develops the Flash plugin for Linux that he now has more to worry about than porting to 64-bit Firefox&#8230;</p>
<p>P.P.S. Google&#8217;s comic-book style explanation of its new browser technology is something you&#8217;ll want to take the time to read through. <a href="http://www.google.com/googlebooks/chrome/">Here</a> is a direct link.</p>
]]></content:encoded>
			<wfw:commentRss>http://eldapo.lembobrothers.com/2008/09/02/tldfirefoxchrome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ripping audio from a YouTube video</title>
		<link>http://eldapo.lembobrothers.com/2008/08/30/ripping-audio-from-a-youtube-video/</link>
		<comments>http://eldapo.lembobrothers.com/2008/08/30/ripping-audio-from-a-youtube-video/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 13:26:09 +0000</pubDate>
		<dc:creator>Phil Lembo</dc:creator>
		
		<category><![CDATA[Multimedia]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Web Tech]]></category>

		<guid isPermaLink="false">http://eldapo.lembobrothers.com/?p=421</guid>
		<description><![CDATA[My youngest love&#8217;s You Tube. A recent favorite is Al Yankovic&#8217;s &#8220;E-Bay&#8221;. So far, I think at least 1,000 of the 16,842,198 views of it are his &#8212; and I may actually be underestimating.
Anyway, I decided to see how hard it would be to extract an .mp3 audio file from the .flv (Flash Video) source.
First, [...]]]></description>
			<content:encoded><![CDATA[<p>My youngest love&#8217;s <a href="http://www.youtube.com">You Tube</a>. A recent favorite is <a href="http://www.weirdal.com/home.htm">Al Yankovic&#8217;s</a> <a href="http://www.youtube.com/watch?v=HYokLWfqbaU">&#8220;E-Bay&#8221;</a>. So far, I think at least 1,000 of the 16,842,198 views of it are his &#8212; and I may actually be underestimating.</p>
<p>Anyway, I decided to see how hard it would be to extract an .mp3 audio file from the .flv (Flash Video) source.</p>
<p>First, I downloaded the .flv using the free <a href="http://www.applian.com/fast-video-download/">Fast Video Download</a> add-on for <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a>.</p>
<p>Next, I fired up ffmpeg in a terminal window, using the following syntax:</p>
<p><code>ffmpeg -title "Weird Al Ebay" -i '"Ebay" by Weird Al Yankovic.flv' -acodec mp3 -ac 2 -ab 128 -vn -y weirdal_ebay.mp3</code></p>
<p>(this should be entered all on one line)</p>
<p>That&#8217;s all there is to it! Just point an mp3 player, like <a href="http://www.xmms.org/about.php">xmms</a>, at the output file and enjoy.</p>
<p>Oh, and here&#8217;s the original &#8216;tube embed for my little guy:</p>
<p><center><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/HYokLWfqbaU&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/HYokLWfqbaU&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
<p>Anyone who still isn&#8217;t using Linux as their primary desktop should really think again.</p>
<p>Now I just have to figure out how to run my kids latest favorite game on &#8216;nix. Wait! That would be <a href="http://www.runescape.com">Runescape</a>, which <i>does</i> run on Linux &#8212; in any browser that can load the <a href="http://java.sun.com">Java</a> plugin. Thanks <a href="http://blogs.sun.com/jag/http://blogs.sun.com/jag/">Dr. Gosling</a>, again.</p>
]]></content:encoded>
			<wfw:commentRss>http://eldapo.lembobrothers.com/2008/08/30/ripping-audio-from-a-youtube-video/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All good things  must come to an end</title>
		<link>http://eldapo.lembobrothers.com/2008/08/28/all-good-things-must-come-to-an-end/</link>
		<comments>http://eldapo.lembobrothers.com/2008/08/28/all-good-things-must-come-to-an-end/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:41:26 +0000</pubDate>
		<dc:creator>Phil Lembo</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eldapo.lembobrothers.com/?p=419</guid>
		<description><![CDATA[I saw this post when doing some work related research, and couldn&#8217;t resist the temptation to link it here. Oh &#8212; and post the following image:

A lot of folks moved to PHP5 some time ago. My ISP made the big push (yes, it was after the stated 12/31/2007 EOL), without any problems that I could [...]]]></description>
			<content:encoded><![CDATA[<p>I saw <a href="http://johanlouwers.blogspot.com/2008/08/official-support-for-php-4-ends.html#links">this</a> post when doing some work related research, and couldn&#8217;t resist the temptation to link it here. Oh &#8212; and post the following image:</p>
<p><center><a href='http://johanlouwers.blogspot.com/2008/08/official-support-for-php-4-ends.html#links"'><img src="http://eldapo.lembobrothers.com/wp-content/uploads/2008/08/rip_php4-300x200.jpg" alt="" title="Rest in Peace, PHP4" width="300" height="200" class="alignnone size-medium wp-image-420" /></a></center></p>
<p>A lot of folks moved to PHP5 some time ago. My ISP made the big push (yes, it was after the stated 12/31/2007 EOL), without any problems that I could see. Of course careful planning helps. At the same time they upgraded to PHP5, they also rolled out upgrades for any PHP applications they supply to their customers.</p>
<p>Not that this is any comfort to the multitudes of web developers who still have a ton of legacy code to maintain. As usual it&#8217;s going to be a bear for them to get buy in for major rewrites &#8212; meaning that they&#8217;re basically doomed to continue forward &#8220;without a net&#8221;. No pun intended.</p>
]]></content:encoded>
			<wfw:commentRss>http://eldapo.lembobrothers.com/2008/08/28/all-good-things-must-come-to-an-end/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Core Java</title>
		<link>http://eldapo.lembobrothers.com/2008/08/26/core-java/</link>
		<comments>http://eldapo.lembobrothers.com/2008/08/26/core-java/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 02:20:07 +0000</pubDate>
		<dc:creator>Phil Lembo</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://eldapo.lembobrothers.com/?p=416</guid>
		<description><![CDATA[Well, the time has finally come to knuckle down and learn Java.
My weapon of choice has been chosen. The two volume Core Java series by Cay Horstmann and Gary Cornell.

Just started with the first of these, Core Java. Volume 1, Fundamentals (8th ed., 2008), which covers object oriented programming and other basic concepts of the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, the time has finally come to knuckle down and learn <a href="http://java.sun.com">Java</a>.</p>
<p>My weapon of choice has been chosen. The two volume <a href="http://horstmann.com/corejava.html">Core Java</a> series by Cay Horstmann and Gary Cornell.</p>
<p><a href='http://www.amazon.com/Core-Java-I-Fundamentals-8th-Sun/dp/0132354764/ref=pd_bbs_sr_1?ie=UTF8&#038;s=books&#038;qid=1219715588&#038;sr=1-1'><img src="http://eldapo.lembobrothers.com/wp-content/uploads/2008/08/corejava1.jpg" alt="" title="Core Java Volume 1" width="240" height="240" class="alignnone size-full wp-image-417" /></a><a href='http://www.amazon.com/Core-Java-Vol-Advanced-Features/dp/0132354799/ref=pd_bbs_sr_2?ie=UTF8&#038;s=books&#038;qid=1219715588&#038;sr=1-2'><img src="http://eldapo.lembobrothers.com/wp-content/uploads/2008/08/corejava2.jpg" alt="" title="Core Java, Volume 2" width="240" height="240" class="alignnone size-full wp-image-418" /></a></p>
<p>Just started with the first of these, <cite><a href="http://www.amazon.com/Core-Java-I-Fundamentals-8th-Sun/dp/0132354764/ref=pd_bbs_sr_1?ie=UTF8&#038;s=books&#038;qid=1219715588&#038;sr=1-1">Core Java. Volume 1, Fundamentals (8th ed., 2008)</a></cite>, which covers object oriented programming and other basic concepts of the language. The second, <cite><a href="http://www.amazon.com/Core-Java-Vol-Advanced-Features/dp/0132354799/ref=pd_bbs_sr_2?ie=UTF8&#038;s=books&#038;qid=1219715588&#038;sr=1-2">Core Java. Volume 2, Advanced Features (8th ed., 2008)</a></cite> covers more complex topics, like network and database access.</p>
<p>Of course one of the first things I had to do on the machine where I&#8217;m running the labs (the O/S being 64-bit <a href="http://www.centos.org">CentOS</a> 5.2 Linux) was rip out the <a href="http://www.redhat.com">Red Hat</a> (er&#8230; the upstream &#8220;prominent North American Enterprise Linux vendor&#8221;) supplied <a href="http://openjdk.java.net/">openjdk</a> and <a href="http://www.eclipse.org">eclipse</a> packages, because the compiler wasn&#8217;t producing the expected results (I think the issue is with the version info returned by openjdk). This was going to be necessary eventually anyway. since openjdk does not yet support signed applets and other advanced features I&#8217;ll want to experiment with. Although installing it isn&#8217;t a big deal, I already had a copy of the latest stable Sun 64-bit <a href="http://java.sun.com/javase/downloads/?intcmp=1281">JDK 1.6</a> installed (1.6.0_07) symlinked to /opt/java/jdk,  I had to reset my JAVA_HOME to that path and reconfigure alternatives to use $JAVA_HOME/bin/java and $JAVA_HOME/bin/javac.</p>
<p>One &#8220;program&#8221; note :-). Apparently there&#8217;s <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100">a bug</a> in the VM of the &#8220;stable&#8221; releases of Sun&#8217;s <a href="http://java.sun.com/javase/downloads/?intcmp=1281">Java 1.6</a> (current is 1.6.0_07) that causes <a href="http://www.eclipse.org">Eclipse</a>, the IDE that Core Java uses in its examples, to crash when it&#8217;s first run by a user on Linux. The solution is to start it for the first time with the environment set to use the latest Java 1.5 (another way that I stumbled on through sheer luck was launching with the env set to Java 1.6 while the openjdk 1.6 libraries are still installed &#8212; apparently the bug has been fixed in the open source openjdk!). This is supposed to be fixed in the latest development version, 1.6 Update 10 RC (Build 27), which is <i>not</i> recommended for production use at this time (RC being for &#8220;Release Candidate&#8221;, a sure sign there may still be other issues to iron out).</p>
]]></content:encoded>
			<wfw:commentRss>http://eldapo.lembobrothers.com/2008/08/26/core-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Compiling openssl from source</title>
		<link>http://eldapo.lembobrothers.com/2008/08/25/compiling-openssl-from-source/</link>
		<comments>http://eldapo.lembobrothers.com/2008/08/25/compiling-openssl-from-source/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:22:56 +0000</pubDate>
		<dc:creator>Phil Lembo</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Open Source Software]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Web Tech]]></category>

		<guid isPermaLink="false">http://eldapo.lembobrothers.com/?p=414</guid>
		<description><![CDATA[
Compiling basic infrastructure pieces like openssl isn&#8217;t something I do much anymore. It&#8217;s already part of RHEL, the primary distribution I work with, and the same is true for most modern open source O/S&#8217;s. Unfortunately, due to the typical NIH (Not Invented Here) syndrome that still afflicts most closed-source vendors, this is not true for [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.openssl.org'><img src="http://eldapo.lembobrothers.com/wp-content/uploads/2008/08/opensslslogan.gif" alt="" title="Why Not OpenSSL?" width="186" height="188" class="alignright size-full wp-image-415" /></a><br />
Compiling basic infrastructure pieces like <a href="http://www.openssl.org">openssl</a> isn&#8217;t something I do much anymore. It&#8217;s already part of <a href="http://www.redhat.com/rhel/">RHEL</a>, the primary distribution I work with, and the same is true for most modern open source O/S&#8217;s. Unfortunately, due to the typical NIH (Not Invented Here) syndrome that still afflicts most closed-source vendors, this is not true for older versions of Solaris and other proprietary O/S&#8217;s. Last week someone asked for help updating an Apache server on Solaris 8, and so, after a couple of false starts due to latent senility, we got it done.</p>
<p><b>Important Prereq:</b> Make sure you have at least <code>gcc</code> 3.4.6 (RHEL 5 uses 4.1.2) and <code>make</code> 3.81 installed before proceeding. If the gcc libs don&#8217;t show up by doing a <code>ldconfig -p</code>, you&#8217;ll need to add them to your LD_LIBRARY_PATH with something like <code>export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</code>. You&#8217;ll also need to make sure your PATH includes the location for <code>make</code> (for example <code>export PATH=/usr/local/bin:$PATH</code>, if make is in /usr/local/bin).  There may be other build tools needed depending on what is already installed with your system (the reason why I always include all dev tools in my base RHEL installs).</p>
<p>1. First, you need to download the source.</p>
<p>The latest is <font color="red">openssl-0.9.8h.tar.gz</font>, available from <a href="http://www.openssl.org/source/">here</a>.</p>
<p>2. Unpack the source and cd into it.</p>
<p>3. The most common way to begin building it is simply to run <code>./config</code>, but this has the effect of eventually making it install to /usr/local/ssl and won&#8217;t create any of the share libraries many programs, like Apache, want. If I&#8217;m installing this as a stand-alone, especially where another version may already exist, I usually name the install directory for the version and ask that it create the shared libraries. This gives me the following:</p>
<p><code>
<pre>./config \
--prefix=/usr/local/openssl-0.9.8h \
--openssldir=/usr/local/openssl-0.9.8h \
shared
</pre>
<p></code></p>
<p>The &#8220;openssldir&#8221; parameter tells the configurator to put all binaries and libraries into the custom directory, instead of scattering them around /usr/bin and /usr/lib, as it would otherwise do.</p>
<p>4. Now run <code>./make</code> and <code./make test</code>. Some of the tests in the latter will probably fail because the URLs they're directed at are obsolute.</p>
<p>5. Finally, as root, do a <code>./make install</code>.</p>
<p>Check the install directory (here /usr/local/openssl-0.9.8h) to make sure all the expected files (and symlinks) are there. For example, the lib directory should look like this (except for the build datestamps):</p>
<p><code>
<pre>-rw-r--r-- 1 root root 2800260 Aug 22 13:45 libcrypto.a
lrwxrwxrwx 1 root root      14 Aug 22 13:45 libcrypto.so -> libcrypto.so.0
lrwxrwxrwx 1 root root      18 Aug 22 13:45 libcrypto.so.0 -> libcrypto.so.0.9.8
-r-xr-xr-x 1 root root 1529889 Aug 22 13:45 libcrypto.so.0.9.8
-rw-r--r-- 1 root root  413358 Aug 22 13:45 libssl.a
lrwxrwxrwx 1 root root      11 Aug 22 13:45 libssl.so -> libssl.so.0
lrwxrwxrwx 1 root root      15 Aug 22 13:45 libssl.so.0 -> libssl.so.0.9.8
-r-xr-xr-x 1 root root  252586 Aug 22 13:45 libssl.so.0.9.8
drwxr-xr-x 2 root root    4096 Aug 22 13:45 pkgconfig
</pre>
<p></code></p>
<p>6. If you&#8217;re on an older O/S that doesn&#8217;t map libraries automatically or use <code>ldconfig</code> to let you configure up those mappings manually by editing <code>ld.so.conf</code>, then you&#8217;ll need to set the <code>LD_LIBRARY_PATH</code> variable to include the path to your new libraries (in our example, <code>/usr/local/openssl-0.9.8h</code>), for any app that will use them. For Apache I usually just put a line at the top of apachectl to do this, like:</p>
<p><code>LD_LIBRARY_PATH=/usr/local/openssl-0.9.8h/lib:$LD_LIBRARY_PATH</code></p>
<p>7. Once you&#8217;ve done all this, verify everything is working by running <code>openssl version</code> from the command line (make sure you do this from the install bin directory or have it mapped in your <code>PATH</code>!). That should return a:</p>
<p><code>OpenSSL 0.9.8h 28 May 2008</code></p>
<p>Now you&#8217;re ready to compile apache, openldapl or the dozens of other open source applications that can use openssl.</p>
]]></content:encoded>
			<wfw:commentRss>http://eldapo.lembobrothers.com/2008/08/25/compiling-openssl-from-source/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
