<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>TheNitai</title>
	
	<link>http://thenitai.com</link>
	<description>I am the creator of Razuna, a developer, a public speaker, a hobbyist photographer and love to help startups.</description>
	<lastBuildDate>Sun, 12 May 2013 15:58:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/thenitai" /><feedburner:info uri="thenitai" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>thenitai</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Railo 4.1: Template compilation and javaagent path</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/v83n5fUI8IA/</link>
		<comments>http://thenitai.com/2013/05/12/railo-4-1-template-compilation-and-javaagent-path/#comments</comments>
		<pubDate>Sun, 12 May 2013 15:58:32 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[CFML]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1395</guid>
		<description><![CDATA[<p>The latest Railo 4.1 bring &#8220;Smarter Template Compilation&#8221; (read the blog post!). In order to get it running you need to set the -javagent variable for your JVM or else you will see this message in the Administrator: There is no Java Agent defined in this environment. The Java Agent is needed to improve memory [...]</p><p>The post <a href="http://thenitai.com/2013/05/12/railo-4-1-template-compilation-and-javaagent-path/">Railo 4.1: Template compilation and javaagent path</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>The latest <a href="http://blog.getrailo.com/post.cfm/railo-4-1-smarter-template-compilation" target="_blank">Railo 4.1 bring &#8220;Smarter Template Compilation&#8221;</a> (read the blog post!). In order to get it running you need to set the -javagent variable for your JVM or else you will see this message in the Administrator:</p>
<blockquote><p>There is no Java Agent defined in this environment. The Java Agent is needed to improve memory (PermGen Space) consumption for templates. To enable the Java Agent follow this instructions: Add the &#8220;-javaagent&#8221; JVM argument and set it to point to the railo-inst.jar in this environment that would be: -javaagent:/railo-inst.jar.</p></blockquote>
<p>The issue with my installation was that in my instance the &#8220;/&#8221; defaults to the main path and not the Tomcat one. Furthermore, I have Railo installed in a multi-deployment setup so I actually only have one Railo for all web applications. So, the obvious answer was to use the absolute path which in my case is &#8220;/Library/apache-tomcat-7.0.32/railo/WEB-INF/lib/railo-inst.jar&#8221;.</p>
<p>But even with the absolute path, Railo was unable to find the jar. In the end it all boiled down to pass the absolute, absolute (if that makes sense) path to the argument. In my case (on MacOS X) this is &#8220;/Volumes/Macintosh\ HD/Library/apache-tomcat-7.0.32/railo/WEB-INF/lib/railo-inst.jar&#8221;.</p>
<p>Hope this helps someone out there <img src='http://thenitai.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The post <a href="http://thenitai.com/2013/05/12/railo-4-1-template-compilation-and-javaagent-path/">Railo 4.1: Template compilation and javaagent path</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/v83n5fUI8IA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/05/12/railo-4-1-template-compilation-and-javaagent-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/05/12/railo-4-1-template-compilation-and-javaagent-path/</feedburner:origLink></item>
		<item>
		<title>Tomcat truncating cookies with = values</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/SZnoz65vQ2U/</link>
		<comments>http://thenitai.com/2013/05/02/tomcat-truncating-cookies-with-values/#comments</comments>
		<pubDate>Thu, 02 May 2013 13:58:24 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1391</guid>
		<description><![CDATA[<p>Starting with Tomcat 6.0.18 and in Tomcat 7.x any cookie containing a &#8220;=&#8221; will be truncated. Where you would expect your cookie to hold all values, e.g. &#8220;value1=myname&#38;value2=password&#8221; you will only be able to retrieve the &#8220;value1=&#8221;. This is because Tomcat now adheres to the cookie spec more tightly than previous versions. If you are in [...]</p><p>The post <a href="http://thenitai.com/2013/05/02/tomcat-truncating-cookies-with-values/">Tomcat truncating cookies with = values</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Starting with Tomcat 6.0.18 and in Tomcat 7.x any cookie containing a &#8220;=&#8221; will be truncated. Where you would expect your cookie to hold all values, e.g. &#8220;value1=myname&amp;value2=password&#8221; you will only be able to retrieve the &#8220;value1=&#8221;.</p>
<p>This is because Tomcat now adheres to the cookie spec more tightly than previous versions. If you are in control of the cookie you might be able to change it and work around this. If not, then you can can change the settings within the catalina.properties file by appending the following two settings:</p>
<pre class="brush: plain; title: ; notranslate">org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true
org.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true</pre>
<p>The post <a href="http://thenitai.com/2013/05/02/tomcat-truncating-cookies-with-values/">Tomcat truncating cookies with = values</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/SZnoz65vQ2U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/05/02/tomcat-truncating-cookies-with-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/05/02/tomcat-truncating-cookies-with-values/</feedburner:origLink></item>
		<item>
		<title>Python wxPython install on MacOS X 10.8.x</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/cxQSbljnn9M/</link>
		<comments>http://thenitai.com/2013/03/06/python-wxpython-install-on-macos-x-10-8-x/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 18:23:37 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[desktop development]]></category>
		<category><![CDATA[gui library]]></category>
		<category><![CDATA[macos x]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[wxpython]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1376</guid>
		<description><![CDATA[<p>wxPython is a GUI library kit for developing desktop application with Python. Since it is cross-platform you can actually run your code on MacOS X, Windows and Linux. Now, while installing wxPython on my development environment (MacBook Air 13&#8243;, MacOS X 10.8.x) and the standard installer from the wxPython website I&#8217;ve hit an error already by [...]</p><p>The post <a href="http://thenitai.com/2013/03/06/python-wxpython-install-on-macos-x-10-8-x/">Python wxPython install on MacOS X 10.8.x</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.wxpython.org/what.php" target="_blank">wxPython is a GUI library kit</a> for developing desktop application with Python. Since it is cross-platform you can actually run your code on MacOS X, Windows and Linux.</p>
<p>Now, while installing wxPython on my development environment (MacBook Air 13&#8243;, MacOS X 10.8.x) and the standard installer from the <a href="http://www.wxpython.org" target="_blank">wxPython website</a> I&#8217;ve hit an error already by simply importing the wx library. The error was:</p>
<pre class="brush: plain; title: ; notranslate">import wx
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py&quot;, line 45, in &lt;module&gt;
    from wx._core import *</pre>
<p>Now, whatever I tried, did not work, until I remembered that I install all my apps with &#8220;brew&#8221;. Ok, so off I went to find the correct installer arguments for wxPython. To my surprise it wasn&#8217;t really public and so here is the correct installer argument for getting wxPython up and running with Brew:</p>
<pre class="brush: plain; title: ; notranslate">brew install --python wxmac --devel</pre>
<p>This will install and link everything perfectly and now wxPython can be imported successfully. Please note; I also use the Python version from Brew, so your experience might be different if you want to use the one coming with MacOS X.</p>
<p>The post <a href="http://thenitai.com/2013/03/06/python-wxpython-install-on-macos-x-10-8-x/">Python wxPython install on MacOS X 10.8.x</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/cxQSbljnn9M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/03/06/python-wxpython-install-on-macos-x-10-8-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/03/06/python-wxpython-install-on-macos-x-10-8-x/</feedburner:origLink></item>
		<item>
		<title>Seriously, this is the best commercial ever</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/dnfN3wLlzy4/</link>
		<comments>http://thenitai.com/2013/03/03/seriously-this-is-the-best-commercial-ever/#comments</comments>
		<pubDate>Sun, 03 Mar 2013 16:07:09 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Internet Zeitgeist]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[activism]]></category>
		<category><![CDATA[follow the frog]]></category>
		<category><![CDATA[nonprodit]]></category>
		<category><![CDATA[rainforest]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1371</guid>
		<description><![CDATA[<p>I know, best title for a blog post, but seriously you have to watch the below commercial. It is funny, engaging and touches quite enough inside of you to want to do something. Brilliant, simply brilliant. Rainforest Alliance - Follow the Frog</p><p>The post <a href="http://thenitai.com/2013/03/03/seriously-this-is-the-best-commercial-ever/">Seriously, this is the best commercial ever</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I know, best title for a blog post, but seriously you have to watch the below commercial. It is funny, engaging and touches quite enough inside of you to want to do something. Brilliant, simply brilliant.</p>
<div><iframe width="560" height="315" src="http://www.youtube.com/embed/3iIkOi3srLo?rel=0" frameborder="0" allowfullscreen=""></iframe></div>
<p><a title="Follow the frog" href="http://www.rainforest-alliance.org/" target="_blank">Rainforest Alliance</a> - Follow the Frog</p>
<p>The post <a href="http://thenitai.com/2013/03/03/seriously-this-is-the-best-commercial-ever/">Seriously, this is the best commercial ever</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/dnfN3wLlzy4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/03/03/seriously-this-is-the-best-commercial-ever/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/03/03/seriously-this-is-the-best-commercial-ever/</feedburner:origLink></item>
		<item>
		<title>That’s what I call innovative…</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/3SPi83U4jaI/</link>
		<comments>http://thenitai.com/2013/02/19/thats-what-i-call-to-be-innovative/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 17:09:14 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Internet Zeitgeist]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[tablets]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1361</guid>
		<description><![CDATA[<p>Yeah we all have been spoiled by Microsoft and (during the Steve Jobs area) by Apple with innovation, but clearly the stage for the next &#8220;big thing&#8221; belongs to Ubuntu. Seriously, not because it is open source, but because they have shown that they are willing to go out of their way (Unity anyone?) to [...]</p><p>The post <a href="http://thenitai.com/2013/02/19/thats-what-i-call-to-be-innovative/">That&#8217;s what I call innovative&#8230;</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Yeah we all have been spoiled by Microsoft and (during the Steve Jobs area) by Apple with innovation, but clearly <strong>the stage for the next &#8220;big thing&#8221; belongs to Ubuntu</strong>.</p>
<p>Seriously, not because it is open source, but because they have shown that they are willing to go out of their way (Unity anyone?) to take the desktop and user interface further than any other company (in that sense I have to applaud Microsoft for Windows 8 also).</p>
<p>Today, they announced <a title="Ubuntu for tablets" href="http://www.ubuntu.com/devices/tablet" target="_blank">Ubuntu for tablets</a>. What is more unique about the Ubuntu approach is that there is for one a company that is really thinking about having one device that the user carries around and becomes their only device. To be honest, I haven&#8217;t been so excited about a new product as for the Ubuntu mobile phone and tablet line.</p>
<p>Below their vision. I love it&#8230;</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/h384z7Ph0gU" frameborder="0" allowfullscreen=""></iframe></p>
<p>The post <a href="http://thenitai.com/2013/02/19/thats-what-i-call-to-be-innovative/">That&#8217;s what I call innovative&#8230;</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/3SPi83U4jaI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/02/19/thats-what-i-call-to-be-innovative/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/02/19/thats-what-i-call-to-be-innovative/</feedburner:origLink></item>
		<item>
		<title>Python and Django: ImportError: No module named django.core</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/vmJNnd_Pi5g/</link>
		<comments>http://thenitai.com/2013/02/10/python-and-django-importerror-no-module-named-django-core/#comments</comments>
		<pubDate>Sun, 10 Feb 2013 10:53:38 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[macos x]]></category>
		<category><![CDATA[mountain lion]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[web developers]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1353</guid>
		<description><![CDATA[<p>Python is without a doubt a great language. Django is a great framework. It is just obvious to use them and get your site up and running. So, today, while setting up a new site with &#8220;django-admin.py startproject mysite&#8221; I&#8217;ve run into the &#8220;ImportError: No module named django.core&#8221; error. While hunting for a solution on [...]</p><p>The post <a href="http://thenitai.com/2013/02/10/python-and-django-importerror-no-module-named-django-core/">Python and Django: ImportError: No module named django.core</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.python.org/" target="_blank">Python</a> is without a doubt a great language. <a href="https://www.djangoproject.com/" target="_blank">Django</a> is a great framework. It is just obvious to use them and get your site up and running. So, today, while setting up a new site with &#8220;django-admin.py startproject mysite&#8221; I&#8217;ve run into the &#8220;ImportError: No module named django.core&#8221; error.</p>
<p>While hunting for a solution on the net, none of them seamed to work, though I knew the problem is most likely just a path issue. See, I&#8217;ve installed python with <a href="http://mxcl.github.com/homebrew/" target="_blank">brew</a> in order to receive the 2.7.3 update (MacOS X Mountain Lion ships with 2.7.2 and it doesn&#8217;t look like Apple is upgrading it). The issue here is that <a href="http://mxcl.github.com/homebrew/" target="_blank">brew</a> installs everything in the &#8220;/usr/local/bin&#8221; directly.</p>
<p>Now, you might say, to simply add the &#8220;/usr/local/bin/&#8221; directory to the Path environment, but the point here is that the &#8220;django-admin.py&#8221; has the path to set to &#8220;#!/usr/bin/python&#8221;. In other words, edit the file &#8220;django-admin.py&#8221; (most likely at /usr/local/bin/) and give it the correct path to python (&#8220;&#8221;#!/usr/bin/python&#8221;).</p>
<p>Voila. Now the utility works as expected. On with coding&#8230;</p>
<p>The post <a href="http://thenitai.com/2013/02/10/python-and-django-importerror-no-module-named-django-core/">Python and Django: ImportError: No module named django.core</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/vmJNnd_Pi5g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/02/10/python-and-django-importerror-no-module-named-django-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/02/10/python-and-django-importerror-no-module-named-django-core/</feedburner:origLink></item>
		<item>
		<title>AES 256-bit keys and Coldfusion</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/lTd8eKm9xIo/</link>
		<comments>http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 23:08:54 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[CFML]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[10.8.2]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[macos x]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1348</guid>
		<description><![CDATA[<p>This week seams to be the Java week. Just yesterday I&#8217;ve posted about my experience on installing Java 7 on MacOS X 10.8.2 and today comes another Java one. This time, it is about the 256-bit AES keys and Coldfusion (well my choice is the open source CFML engine called OpenBD). Since I&#8217;m working currently [...]</p><p>The post <a href="http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/">AES 256-bit keys and Coldfusion</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>This week seams to be the Java week. Just yesterday I&#8217;ve posted about my experience on <a title="MacOS X Mountain Lion and Java 7 installation" href="http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/">installing Java 7 on MacOS X 10.8.2</a> and today comes another Java one. This time, it is about the 256-bit AES keys and Coldfusion (well my choice is the <a href="http://openbd.org" target="_blank">open source CFML engine called OpenBD</a>).</p>
<p>Since I&#8217;m working currently on a project that needs to exchange sensitive data with a third party we obviously would like to protect the data with the strongest key, so a AES 256-bit key has been chosen. While the key was valid, my code always threw a &#8220;Illegal key size&#8221; error message.</p>
<p>As it turns out, this was due that Java did not have the &#8220;Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7&#8243; bundles installed. Apparently they are needed for any stronger keys then 128-bit keys. You can get the <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">Unlimited Strength bundles from the Oracle site</a>. Installing them is as &#8220;simple&#8221; as dumping them to the &#8220;$JAVA_HOME/lib/security&#8221; directory.</p>
<p><strong>Troubleshooting</strong></p>
<p>While the above seams to be obvious on Linux and Windows I&#8217;ve had a hard time to get the correct installation on MacOS X. Somehow this is hidden far down in the paths and not at all obvious. But the correct location to store the security JAR&#8217;s is at &#8220;/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/jre/lib/security/&#8221;.</p>
<p>Hope this helps anyone out there <img src='http://thenitai.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The post <a href="http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/">AES 256-bit keys and Coldfusion</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/lTd8eKm9xIo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/</feedburner:origLink></item>
		<item>
		<title>MacOS X Mountain Lion and Java 7 installation</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/ULanty0XWTE/</link>
		<comments>http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/#comments</comments>
		<pubDate>Wed, 23 Jan 2013 04:25:48 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java 6]]></category>
		<category><![CDATA[java 7]]></category>
		<category><![CDATA[macos x]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1340</guid>
		<description><![CDATA[<p>Today I set out to get Java 7 JDK running on MacOS X Mountain Lion (10.8.2). As Apple actually only installs Java 6 (1.6.x) one needs to get Java 7 from the Oracle website at the Java SE download site. Once downloaded simply run the installer and it (should) install Java 7 properly on your [...]</p><p>The post <a href="http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/">MacOS X Mountain Lion and Java 7 installation</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Today I set out to get Java 7 JDK running on MacOS X Mountain Lion (10.8.2). As Apple actually only installs Java 6 (1.6.x) one needs to get Java 7 from the Oracle website at the <a title="Java 7 JDK download" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">Java SE download site</a>.</p>
<p>Once downloaded simply run the installer and it (should) install Java 7 properly on your system. After that, you can use the following command to make Java 7 the active version to use:</p>
<pre class="brush: plain; title: ; notranslate">/usr/libexec/java_home -v 1.7.0_11 --exec javac -version</pre>
<p>Now, if you use &#8220;java -version&#8221; it should actually give the output that it used Java 7.</p>
<p><strong>Troubleshooting</strong></p>
<p>Now the above should all be according to the book, but as things are when it comes to Java they are never &#8220;click and go&#8221;. One of the problems, I&#8217;ve had was that no application on the terminal actually picked up the Java 7 JDK. Digging around a bit showed me that the installation created sym links in the &#8220;/System/Library/Frameworks/JavaVM.framework/Versions/&#8221; directory.</p>
<p>As it turns out the &#8220;CurrentJDK&#8221; linked to the &#8220;old&#8221; Java 6 (1.6) installation. So, in order to point it to Java 7 I&#8217;ve had to do the following:</p>
<pre class="brush: plain; title: ; notranslate">rm CurrentJDK
ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/ CurrentJDK</pre>
<p>This immediately fixed the issue and all terminal applications worked again.</p>
<p><strong>Note:</strong> I&#8217;ve had manually set the &#8220;JAVA_HOME&#8221; and &#8220;JRE_HOME&#8221; variables in the &#8220;.profile&#8221; file. With the above setting I&#8217;ve had to <strong>remove</strong> those variables in order to make it work!</p>
<p><strong>Troubleshooting 2</strong></p>
<p>I initially removed the Apple installed Java 6 (1.6) installation manually, I removed the directory /System/Library/Frameworks/JavaVM.framework and other Java references (yes, I know it is/was a bad idea). Just installing Java 7 did not help nor does a system reboot. Also, Apple updates did not recognise that Java was gone. Also, installing Java 6 from Apple directly (download img) did not help. In short, nothing worked anymore.</p>
<p>The <strong>only</strong> solution was to get <strong>Pacifist </strong>(look for it on the web). Within Pacifist load the PKG (from the Java 6 image) and install the complete package and overwrite all existing installation. This will replace all the files I accidentally removed (the important system files) and got it all up and running again.</p>
<p>The post <a href="http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/">MacOS X Mountain Lion and Java 7 installation</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/ULanty0XWTE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://thenitai.com/2013/01/23/macos-x-mountain-lion-and-java-7-installation/</feedburner:origLink></item>
		<item>
		<title>Movie about open source software has to become a reality</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/z0I0ir8RHrQ/</link>
		<comments>http://thenitai.com/2012/12/28/movie-about-open-source-software-has-to-become-a-reality/#comments</comments>
		<pubDate>Fri, 28 Dec 2012 20:57:03 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Internet Zeitgeist]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[donations]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[software wars]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1334</guid>
		<description><![CDATA[<p>Open source software turns this world and is found in every little gadget, in your phone (Android), when you swipe your credit card at the counter, in the plane (on my flight the other week the had to reboot and one could see the terminal screen for some time) in your TV set and for [...]</p><p>The post <a href="http://thenitai.com/2012/12/28/movie-about-open-source-software-has-to-become-a-reality/">Movie about open source software has to become a reality</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Open source software turns this world and is found in every little gadget, in your phone (Android), when you swipe your credit card at the counter, in the plane (on my flight the other week the had to reboot and one could see the terminal screen for some time) in your TV set and for some driving their website with open source software on a open source operating system.</p>
<p>In short, open source is everywhere and is not something for freaks only anymore. Sure, Linux (as the open source operating system) has a long way to go to be used on a broad scale for the end user on the desktop, but at the rate that Ubuntu Desktop is driving forward I&#8217;m certain this goal will be reached in the coming years.</p>
<p>So, I find it a wonderful idea that there should be a movie about open source software. If you think the same, you can now pledge your support for the movie with a small donation (well, you also get something in return). I&#8217;ve just done so and think that we all should support this in order to spread the word about open source software! <a href="http://www.indiegogo.com/project/share/290135" target="_blank">Head over now to the website of Software Wars now!</a></p>
<p><iframe width="224px" height="439px" src="http://www.indiegogo.com/project/290135/widget/2001796" frameborder="0" scrolling="no"></iframe></p>
<p>The post <a href="http://thenitai.com/2012/12/28/movie-about-open-source-software-has-to-become-a-reality/">Movie about open source software has to become a reality</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/z0I0ir8RHrQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2012/12/28/movie-about-open-source-software-has-to-become-a-reality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2012/12/28/movie-about-open-source-software-has-to-become-a-reality/</feedburner:origLink></item>
		<item>
		<title>Each database its own unique generator</title>
		<link>http://feedproxy.google.com/~r/thenitai/~3/ayasZf64aIE/</link>
		<comments>http://thenitai.com/2012/11/23/each-database-its-own-unique-generator/#comments</comments>
		<pubDate>Fri, 23 Nov 2012 05:14:04 +0000</pubDate>
		<dc:creator>Nitai</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[h2]]></category>
		<category><![CDATA[ms sql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[unique]]></category>
		<category><![CDATA[uuid]]></category>

		<guid isPermaLink="false">http://thenitai.com/?p=1324</guid>
		<description><![CDATA[<p>Don&#8217;t you love that every major database on the planet thinks that we (as in developers) don&#8217;t need to have a common syntax and that we should spend hours looking for the needed functionality? Well, it just so happens that I was in need for generating a unique ID today with the database function &#8211; [...]</p><p>The post <a href="http://thenitai.com/2012/11/23/each-database-its-own-unique-generator/">Each database its own unique generator</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Don&#8217;t you love that every major database on the planet thinks that we (as in developers) don&#8217;t need to have a common syntax and that we should spend hours looking for the needed functionality?</p>
<p>Well, it just so happens that I was in need for generating a unique ID today with the database function &#8211; also know as UUID. A UUID is a string that is unique and looks something like &#8220;0302B2FE-8046-45D1-AB584481D0F2A99E&#8221;.</p>
<p>So, without further due here are the different functions for:</p>
<p><strong>MySQL</strong></p>
<pre class="brush: plain; title: ; notranslate">SELECT uuid() FROM ...</pre>
<p><strong>MS SQL</strong></p>
<pre class="brush: plain; title: ; notranslate">SELECT newid() FROM ...</pre>
<p><strong>DB2</strong></p>
<pre class="brush: plain; title: ; notranslate">SELECT generate_unique() FROM ...</pre>
<p><strong>Oracle</strong></p>
<pre class="brush: plain; title: ; notranslate">SELECT sys_guid() FROM ...</pre>
<p><strong>H2</strong></p>
<pre class="brush: plain; title: ; notranslate">SELECT random_uuid() FROM ...</pre>
<p>Yep, that&#8217;s right. Each function is named completely different, so it was not so easy to find them as quickly as I thought. In any case, hope this helps.</p>
<p>The post <a href="http://thenitai.com/2012/11/23/each-database-its-own-unique-generator/">Each database its own unique generator</a> appeared first on <a href="http://thenitai.com">TheNitai</a>.</p><img src="http://feeds.feedburner.com/~r/thenitai/~4/ayasZf64aIE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thenitai.com/2012/11/23/each-database-its-own-unique-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thenitai.com/2012/11/23/each-database-its-own-unique-generator/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching using memcached
Object Caching 1331/1492 objects using memcached
Content Delivery Network via Amazon Web Services: CloudFront: cdn5.thenitai.com

 Served from: thenitai.com @ 2013-05-19 07:11:49 by W3 Total Cache -->
