Java http://blog.samat.org/taxonomy/term/47/0 en jQuery: the new defacto Javascript web framework http://blog.samat.org/2008/10/02/jquery-the-new-defacto-javascript-web-framework <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>News from a couple days ago: both <a href="http://jquery.com/blog/2008/09/28/jquery-microsoft-nokia/">Microsoft and Nokia are now including the jQuery Javascript framework as part of their development kits</a>. That is: jQuery will be part of <a href="http://www.asp.net/ajax/">Microsoft&#8217;s <span class="caps">ASP</span>.<span class="caps">NET</span> <span class="caps">AJAX</span> framework</a> and be available for use in applications written for <span class="caps">ASP</span>.<span class="caps">NET</span>; and jQuery will also be distributed on millions of Nokia&nbsp;phones.</p> <p>Defacto standards, I believe, are a good way to inform the development of real standards. Standards developed the other way around, at least in the tech industry, have had a habit of taking a very long time to reach end consumers&#8230; for example, how many decades has it taken for your average web user to gain access to a fully <span class="caps">CSS2</span>-compliant web browser? How many more decades will it take for <span class="caps">OASIS</span>&#8217;s OpenDocument format to supplant Microsoft Word and its *.doc&nbsp;files?</p> <p>Hopefully, this is the beginning of a path that will lead to jQuery&#8217;s inclusion into the Javascript language, as well as initiatives that will improve jQuery&#8217;s&nbsp;performance.</p> <p>I like the fact that Microsoft and Nokia are not trying to reinvent the wheel, and roll their own Javascript frameworks. Sun did this with <a href="http://java.sun.com/javaee/javaserverfaces/">Java Server Faces</a>. A frequent lament with <span class="caps">JSF</span> is that it&#8217;s nearly impossible to customize any of the widgets. There is too much complex, custom Javascript, and the adoption of the frameworks used makes figuring out how to work with them&nbsp;difficult.</p> <p>Also, as <a href="http://tirania.org/blog/archive/2008/Oct-01.html">others have noted</a>, this is the first time Microsoft itself is distributing an open-source project with one of their products. A sign of things to&nbsp;come?</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-inline clearfix"><div class="field-label">Topic:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/tag/Programming" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Programming</a></div><div class="field-item odd"><a href="/tag/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item even"><a href="/tag/Microsoft" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Microsoft</a></div><div class="field-item odd"><a href="/tag/Java" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Java</a></div><div class="field-item even"><a href="/tag/jQuery" typeof="skos:Concept" property="rdfs:label skos:prefLabel">jQuery</a></div><div class="field-item odd"><a href="/tag/Javascript" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Javascript</a></div></div></div> Thu, 02 Oct 2008 16:38:47 +0000 Samat Jain 142 at http://blog.samat.org Installing Java 2 on Debian, The Debian Way http://blog.samat.org/2005/09/21/installing_java_2_on_debian_the_debian_way <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I can never remember how to install <a href="http://java.sun.com/">Java</a> on <a href="http://www.debian.org/">Debian</a>, so here&#8217;s my version on how to do it the Debian Way&nbsp;(<span class="caps">TM</span>).</p> <p>Download the Sun Java 2 Runtime environment or Development Kit from <a href="http://java.sun.com/">Sun&#8217;s Java site</a>. The file you download should have a &#8220;.bin&#8221; extension. Then&nbsp;install:</p> <p><code> apt-get install java-package fakeroot </code></p> <p><tt>java-package</tt> is a set of Debian scripts for creating your own Debian-ized Java package. <tt>fakeroot</tt> lets you run certain programs as root, such as the Debian package creation process. After these are installed,&nbsp;run:</p> <p><code> fakeroot make-jpkg jdk-<em>.bin sudo dpkg -i sun-j2sdk</em>.deb </code></p> <p>The first creates a Debian package from the Sun binary installer, while the second installs the created Debian&nbsp;package.</p> <p>This will fulfill all Java dependencies in Debian, something you would not get if you installed Java via some other method. It&#8217;s also the &#8220;official&#8221; Java, as opposed to using something like Blackdown, and makes you less reliant on having to rely on other people for packaging. For example, I used this to create my own <span class="caps">AMD64</span> 64-bit Java&nbsp;package.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-inline clearfix"><div class="field-label">Topic:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/tag/Linux" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Linux</a></div><div class="field-item odd"><a href="/tag/Debian" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Debian</a></div><div class="field-item even"><a href="/tag/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Java" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Java</a></div></div></div> Thu, 22 Sep 2005 01:04:00 +0000 Samat Jain 60 at http://blog.samat.org