<?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>cat brain.log &#124; less &#187; java</title>
	<atom:link href="http://log.largevoid.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://log.largevoid.com</link>
	<description>Getting it down on `paper`</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:41:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Learning Python</title>
		<link>http://log.largevoid.com/2010/04/learning-python/</link>
		<comments>http://log.largevoid.com/2010/04/learning-python/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 01:24:23 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Synopses]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=340</guid>
		<description><![CDATA[I dove into Python yesterday. Today: I&#8217;m reading the tutorials. I like it. What did you expect? Everyone seems to like it, right? Have you met a person who learned Python that hates the language? So, I&#8217;m still n00b status, but here&#8217;s the deal: It&#8217;s got all the things I love about Javascript, the good [...]]]></description>
			<content:encoded><![CDATA[<p>I dove into Python yesterday.  Today: I&#8217;m reading the tutorials.  I like it.  What did you expect?  Everyone seems to like it, right?  Have you met a person who learned Python that hates the language?</p>
<p>So, I&#8217;m still n00b status, but here&#8217;s the deal: It&#8217;s got all the things I <em>love</em> about Javascript, the good parts of Java (no bloat), and the fundamental simplicity of C.  PHP is conspicuously absent here, but &#8230; now that I mention it, there&#8217;s something there too.</p>
<p>Let&#8217;s over go over those, since you may be flaming me already.  Hey!  I&#8217;m still a n00b.</p>
<p><strong>Javascript</strong>  I really like the function mapping aspects.  Ok, so this is more of a jQuery-type thing.  But it&#8217;s possible, and jQuery makes it obvious &#8212; in-your-face &#8212; how useful this feature is.  I could care less about lambda functions right now, but I think they&#8217;re related.  I like the way <code>zip()</code> works on arrays.</p>
<p><strong>Java</strong> Ah, the language of verbosity.  I&#8217;d rather dictate War and Peace, than write Java.  What&#8217;s so good about Java? It&#8217;s got a great package system, and the try/catch/finally construct.  Python&#8217;s equivalent: try/except/finally.  Thumbs up!  Java has a good class hierarchy that Python seems to duplicate (minus the Java overhead).</p>
<p><strong>C</strong> There&#8217;s nothing more powerful than C.  Assembly&#8217;s got nuthin&#8217; on C.  C is the ultimate speed-speed trade-off.  The speed of code development vs the speed of execution.  Everything else is derivative bloat that hinders performance.  So, how does Python act like C?  Well, the <acronym title="Benevolent dictator for life">BDFL</acronym> gives Python a coherent structure.  The Java package sprawl problem is not present.  Code bases are tight.  Syntax is rigid.  Writing Python is like clock-work &#8212; it must be precise.</p>
<p><strong>PHP</strong>  Don&#8217;t flame.  Here it is.  Python is extra-great because it&#8217;s interpreted.  PHP is interpreted.  That is all.</p>
<p><strong>Confusion says:</strong>  The n00b walks a fine line of asking and testing.  Nobody ever said learning a language was easy.  It should be fun (or interesting if you don&#8217;t like learning) though!  So here&#8217;s the deal: I&#8217;m not <a href="http://xkcd.com/353/">flying</a> yet.  I&#8217;m <a href="http://docs.python.org/py3k/tutorial/">tutorializing</a>.  Short programs are useful learning tools, but jumping in the deep end really makes you sink or swim  &#8212; strangely, I&#8217;m trying to be trite right now.  I don&#8217;t <em>get</em> lambda.   I don&#8217;t know <em>why</em> there are so many different types of lists.  I know I&#8217;ve had a need for sets, lists, hashes, tuples, queues, and the like, but is it really necessary that there be a specific data type for each?  Whatever, I&#8217;m a n00b.  I know performance is probably the real motivator, but c&#8217;mon!  It&#8217;s interpretive.   I was surprised to learn that compiled Python (.pyc) does not execute any faster than inline Python (.py) (Can&#8217;t find the reference).  The .pyc files make the module load faster, not execute faster.</p>
<p>Anyway, right now, Python makes a great calculator.  Anyone living in Hawai&#8217;i will tell you the numerous &#8220;spam and eggs&#8221; references make&#8217;s &#8216;em hungry too!</p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2010/04/learning-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing JDK on RHEL5</title>
		<link>http://log.largevoid.com/2009/10/installing-jdk-on-rhel5/</link>
		<comments>http://log.largevoid.com/2009/10/installing-jdk-on-rhel5/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 07:21:09 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[RHEL5]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=28</guid>
		<description><![CDATA[I needed to install the JDK as a prerequisite for GeoServer. Steps Download latest JDK (jdk-6u16-linux-i586-rpm.bin) from Sun. Note: navigating Sun&#8217;s website and using their download accelerator is a PAIN. chmod a+x jdk-6u16-linux-i586-rpm.bin sudo ./jdk-6u16-linux-i586-rpm.bin ls -l /usr/java Create file /etc/profile.d/java-jdk.sh sudo vi /etc/profile.d/java-jdk.sh cat /etc/profile.d/java-jdk.sh #!/bin/bash export JAVA_HOME=/usr/java/latest export JRE_HOME=/usr/java/latest/jre export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH]]></description>
			<content:encoded><![CDATA[<p>I needed to install the JDK as a prerequisite for GeoServer.</p>
<h3>Steps</h3>
<ol>
<li>Download latest JDK (jdk-6u16-linux-i586-rpm.bin) from Sun.<br />
     Note: navigating Sun&#8217;s website and using their download accelerator is a PAIN.</li>
<li>chmod a+x jdk-6u16-linux-i586-rpm.bin</li>
<li>sudo ./jdk-6u16-linux-i586-rpm.bin</li>
<li>ls -l /usr/java</li>
<li>Create file /etc/profile.d/java-jdk.sh
<ol>
<li>sudo vi /etc/profile.d/java-jdk.sh</li>
<li>cat /etc/profile.d/java-jdk.sh<code><br />
	#!/bin/bash<br />
	export JAVA_HOME=/usr/java/latest<br />
	export JRE_HOME=/usr/java/latest/jre<br />
	export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH<br />
</code></li>
</ol>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2009/10/installing-jdk-on-rhel5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  log.largevoid.com/tag/java/feed/ ) in 0.28279 seconds, on Feb 5th, 2012 at 5:07 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 6:07 pm UTC -->
