Software http://blog.samat.org/taxonomy/term/16/0 en Creating your own personal aspell dictionary http://blog.samat.org/2008/11/02/creating-your-own-personal-aspell-dictionary <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>Something that has bothered me forever is that applications that use <a href="http://aspell.net/"><span class="caps">GNU</span> aspell</a> for spell checking kept marking my name as a misspelling (I&#8217;m looking at you, KMail). Most front-end applications don&#8217;t provide a way for you to add your own custom&nbsp;words.</p> <p>Apparently, <a href="http://aspell.net/man-html/Format-of-the-Personal-and-Replacement-Dictionaries.html#Format-of-the-Personal-and-Replacement-Dictionaries">creating your own personal dictionary is ridiculous easy with aspell</a>.</p> <p>If your language is English, create a file in your home directory called&nbsp;&#8221;.aspell.en.pws&#8221;:</p> <p><pre> personal_ws-1.1 en 0 Samat quasirhombicosidodecahedron </pre></p> <p>The first line is a required header. Every subsequent line is a word you want to add to your dictionary. I can&#8217;t believe I&#8217;ve let this sit for so long. Because it&#8217;s a nice text file, syncing this file between machines to take your dictionary with you is trivially&nbsp;easy.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div></div></div> Sun, 02 Nov 2008 23:23:44 +0000 Samat Jain 150 at http://blog.samat.org Amarok 2 uses MySQL embedded as a metadata store http://blog.samat.org/2008/10/13/amarok-2-uses-mysql-embedded-metadata-store <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>There&#8217;s been a bit of turmoil in the Amarok and <span class="caps">KDE</span> communities the past week with Amarok&#8217;s decision to only support MySQL Embedded in Amarok 2. Jeff Mitchell has written about the <a href="http://amarok.kde.org/blog/archives/812-MySQL-in-Amarok-2-The-Reality.html#extended">Amarok design decisions made</a>.</p> <p>I&#8217;m a little bothered by this, as it forgeos all the &#8220;semantic desktop&#8221; work that has gone into <span class="caps">KDE</span> 4, namely what&#8217;s provided by the <a href="http://strigi.sourceforge.net/">Strigi</a> and <a href="http://nepomuk.semanticdesktop.org/">Nepomuk</a> libraries. One thing the whole semantic desktop concept entails is that other applications will be able use data another application stored, but without care to what that other application was or how it was stored. For example, I should be able to share the list of all tracks in my music library, how many times I&#8217;ve played tracks, what tracks I think are my favorite, etc across music players. This kind of abstraction is, obviously, good for users, but bad for developers of proprietary software. They don&#8217;t want you to easily switch between applications that they do not control. Amarok switching to it&#8217;s own database store is a stab at this kind of desktop interoperability. I&#8217;ve my own thoughts to add, though, that support what the developers are&nbsp;doing&#8230;</p> <p><a href="http://amarok.kde.org/">Amarok</a> is an awesome application. Dare I say, it&#8217;s a <em>killer</em> application on Linux&#8212;on several occasions this past year I&#8217;ve recommended people install Linux just so that they could play with Amarok and see how much better it is compared to what they were using (yes, I&#8217;m looking at you,&nbsp;iTunes).</p> <p>Before Amarok, I used <a href="http://musicpd.org/">Music Player Daemon (mpd)</a>. I stopped using it after a while: the playlist management wasn&#8217;t very good; it would eat those playlists that I spent a lot of effort to make; the GUIs available at the time were lacking; and it was very slow when working with tens of thousands of songs. Some of this may have changed but I&#8217;ve not been motivated to look&nbsp;back.</p> <p>Enter Amarok: I switched because the playlist management was so much better. I setup a MySQL server on my workstation to store metadata, as SQLite was much too slow. Amarok backed with MySQL is very fast&#8212;I dare others to find a library-based music manager that is faster with the number of songs I&#8217;ve thrown at&nbsp;it.</p> <p>Balancing desktop interoperability with performance is a delicate balancing act. Interoperability is the hot thing these days&#8212;look at how Apple&#8217;s line of integrated software and hardware continue to sip market share from the Microsoft-powered desktop. But when it comes down to it, performance and other more perceived benefits are going to win out over desktop interoperability. The Amarok developers&#8217; decision to go with MySQL embedded is a good one that will hopefully keep people moving to Amarok over proprietary&nbsp;alternatives.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item even"><a href="/tag/KDE" typeof="skos:Concept" property="rdfs:label skos:prefLabel">KDE</a></div></div></div> Mon, 13 Oct 2008 06:16:25 +0000 Samat Jain 146 at http://blog.samat.org 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 Has the war on spam been lost? http://blog.samat.org/2007/03/06/has-the-war-on-spam-been-lost <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>O&#8217;Reilly Radar has an article written by Dale Dougherty, a roundtable set of opinions on <a href="http://radar.oreilly.com/archives/2007/03/another_war_wer.html">whether the war on spam can be won</a>. <a href="http://rc3.org/2007/03/the_war_on_spam.php">Rafe Colburn</a> also has his own&nbsp;response.</p> <p>Rafe&#8217;s solution is to use <a href="http://www.gmail.com/">GMail</a>. In the Dougherty&#8217;s article, Paul Vixie mentions that the internet is going to become a &#8220;walled garden;&#8221; relying on proprietary technology provided from a single company is the same thing in my eyes. There&#8217;s no way I&#8217;m going to advocate a proprietary solution for something as important as my&nbsp;e-mail.</p> <p>Eric Allman mentions <acronym title="DomainKeys Identified Mail"><span class="caps">DKIM</span></acronym>, which I think is an excellent weapon in the war on spam. I&#8217;m not using it however, as it doesn&#8217;t fit in with the way I use e-mail, and <acronym title="Mail User Agent"><span class="caps">MUA</span></acronym> (e-mail client) and <acronym title="Mail Transfer Agent"><span class="caps">MTA</span></acronym> (e-mail <span class="caps">SMTP</span> server, essentially) is extremely&nbsp;sparse.</p> <p>My unfortunately ineffective and impractical solution to this problem is use of <a href="http://pgp.net/"><span class="caps">PGP</span></a>. Besides identity verification via digital signatures, it is also a generic platform for encrypted digital communication, and provides a distributed, robust trust model. Unfortunately, its learning curve is high, and that is why it&#8217;s basically been a failure for the past 10&nbsp;yrs.</p> <p>Though, lack of user education is why the spam problem keeps getting worse too. It&#8217;s users who click links in spam e-mail; it&#8217;s users who allow spammers to take over their machines through their negligence in applying security updates; it&#8217;s users (sometimes) who allow their identities to be&nbsp;stolen.</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/Politics" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Politics</a></div><div class="field-item odd"><a href="/tag/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div></div></div> Tue, 06 Mar 2007 23:34:23 +0000 Samat Jain 139 at http://blog.samat.org New MediaWiki skin based off of MySkin: NullBook http://blog.samat.org/2006/08/01/new-mediawiki-skin-based-off-of-myskin-nullbook <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&#8217;ve created a new theme for MediaWiki-based sites (by proxy, <a href="http://wikipedia.org/">Wikipedia</a> as well) called <a href="http://meta.wikimedia.org/wiki/Gallery_of_user_styles#NullBook">NullBook</a>.</p> <p>I do not like Monobook; I feel as if it wastes too much space on the screen, difficult to read, and doesn&#8217;t follow established web usability guidelines. Some of NullBook&#8217;s&nbsp;features:</p> <ul> <li>Fixed-position &#8220;tab bar&#8221;, set to use <span class="caps">GUI</span> colors, that stays with you as you scroll down a page. The tab bar contains the contents of the &#8220;Views&#8221; menu, as well as the go/search&nbsp;box.</li> <li>No font size definitions; uses your browser&#8217;s default. Skin (mostly) scales well with font size&nbsp;changes.</li> <li>Underlined links, and more recognizable link colors. Blue for unvisited links, purple for visited links, and green for broken (or uncreated) links. Moving over a link highlights it to&nbsp;red.</li> <li>Removed sidebar to stop wasting vertical screen real-estate, and relocated it to the bottom of the page. Also hid the other languages list since I tend to only look at English Wikipedia&nbsp;articles.</li> </ul> <p>You can find more information about NullBook (including screenshots) by looking at the <a href="http://meta.wikimedia.org/wiki/Gallery_of_user_styles#NullBook">NullBook section of WikiMedia&#8217;s Gallery of user styles</a>.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Wiki" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Wiki</a></div><div class="field-item even"><a href="/tag/Theme" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Theme</a></div></div></div> Tue, 01 Aug 2006 20:29:08 +0000 Samat Jain 119 at http://blog.samat.org Misery with online reading of PDFs and the need for portrait monitors http://blog.samat.org/2006/04/19/misery-with-online-reading-of-pdfs-and-the-need-for-portrait-monitors <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>In the process of writing a term paper for a class, I&#8217;ve been paging through many research&nbsp;papers.</p> <p>Unfortunately, many of these research papers are only available for reading via <acronym title="portable document format"><span class="caps">PDF</span></acronym>. Even for those papers that have full text on a normal webpage, complex login and authentication systems (i.e. I can only access said page through my university library) force me to save PDFs to facilitate later&nbsp;reading.</p> <p>PDFs are really miserable for reading on the computer. My&nbsp;gripes:</p> <dl> <dt>Fixed font&nbsp;styles</dt> <dd>Many PDFs use serif fonts, which are generally difficult to read on screen (though fine on print media). Some irate designers even create PDFs that use &#8220;Times New Roman,&#8221; which despite it being default on many web browsers is ugly and difficult to read. In a web browser, you can change it; in a <span class="caps">PDF</span>, you are forced to suffer with&nbsp;it.</dd> <dt>Fixed font&nbsp;sizes</dt> <dd>Font sizes are fixed in PDFs, you cannot change them. Often when reading on screen, fonts are just too large, or are too small. This is compounded&nbsp;with&#8230;</dd> <dt>No&nbsp;wrapping</dt> <dd>Text is statically laid out, so you are completely reliant and sizing your window and adjusting your zoom to be able to read a block a text, or stuck with moving your scrollback back and&nbsp;forth.</dd> <dt>Columns</dt> <dd>Computers have scrollbars. Columns make absolutely <i>no</i> sense when you can scroll. The worst case comes up when you combine columns <span class="caps">AND</span> scrolling: you have to scroll down to finish reading a column, and then scroll back up to begin reading the top of the next&nbsp;column.</dd> </dl> <p>Usability expert Jakob Nielson thinks so too: in 2003 he had a column <a href="http://www.useit.com/alertbox/20030714.html"><span class="caps">PDF</span>: Unfit for Human Consumption</a>.</p> <p>It seems that some of these problems stem from a mismatch in orientation. Computer monitors are generally landscape; PDFs and printed media are&nbsp;portrait.</p> <p>And computer monitors just keep getting wider. While widescreen is nothing short of awesome for movies and television, its not that useful for computing. The classic use case is the accountant with a wide spreadsheet: but how many people have wide spreadsheets? Because most people use computers to create content in a portrait orientation, and that most content we read expands <i>downward</i> rather than to the side, it seems as if it would make sense if monitors were a portrait orientation rather than&nbsp;landscape.</p> <p>Fortunately, this is easy to try out now. Most <span class="caps">LCD</span> monitors swivel into portrait orientation with a flick of the wrist. Microsoft Windows and Linux (through the XRandR extensions) have provided orientation switching support for a few years as&nbsp;well.</p> <p>But it&#8217;s not yet usable by the mainstream. For example, on Linux with nVidia&#8217;s binary drivers, running in portrait means losing out on accelerated 3D as well as multimonitor support, things many people (including myself) are not ready to&nbsp;lose.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Computer-Hardware" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Computer Hardware</a></div><div class="field-item even"><a href="/tag/Usability" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Usability</a></div></div></div> Wed, 19 Apr 2006 06:53:21 +0000 Samat Jain 86 at http://blog.samat.org Giving up on my bookmarks system and joining del.icio.us http://blog.samat.org/2006/03/03/giving-up-on-my-bookmarks-system-and-joining-del-icio-us <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 wrote my <a href="http://old.tamasrepus.hotnudiegirls.com/">bookmark system</a> a few years ago because I had no good way for sharing bookmarks online, or amoung web browsers on different machines on different platforms. I&#8217;ve not ported it from the old site to this new one, and I&#8217;m not sure I care&#8230; While my bookmark system did what I wanted it to do, it was not flexible. I look at the <span class="caps">PHP</span> code I wrote and remark: I hate&nbsp;this.</p> <p>So, <a href="http://del.icio.us/tamasrepus">I now use del.icio.us</a>. Am I now a Web 2.0 (I hate that term) loser&nbsp;now?</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Sat, 04 Mar 2006 05:54:15 +0000 Samat Jain 77 at http://blog.samat.org Bought my 15th domain--randomized.info http://blog.samat.org/2006/02/28/bought-my-15th-domain--randomized-info <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 have bought my 16th domain name today, <a href="http://randomized.info/">randomized.info</a>, for a project that I am going to do some day&nbsp;soon.</p> <p>The way I see it, domain names are like Internet real estate. And indeed, some people market them like this (though I wouldn&#8217;t). The domain name system and the top-level domains everyone knows and loves (.com, etc) are not going away anytime soon, nor is there any kind of suitable replacement to solve its inherent&nbsp;problems.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Wed, 01 Mar 2006 00:54:05 +0000 Samat Jain 75 at http://blog.samat.org Trying to emulate mod_gunzip with Apache 2 Filters http://blog.samat.org/2005/10/06/trying_to_emulate_mod_gunzip_with_apache_2_filters <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>The situation: I have gzipped content stored on an <a href="http://httpd.apache.org/">Apache 2 web server</a>. Specifically, <span class="caps">HTML</span> files&#8211;they are stored in this manner to save disk space. For clients that can handle on-the-fly decompression of such files, I want the files to be sent verbatim; for clients that cannot, I want the content decompressed and sent to these&nbsp;clients.</p> <p><a href="http://oldach.net/">mod_gunzip</a> by Helge Oldach is an Apache 1 module made for dealing with stored gzip files. It can negotiate with a client what kind of encoding it can accept, and send the appropriate compressed or non-compressed version. Unfortunetely, at this time, this module is only available for Apache&nbsp;1.</p> <p>Helge Oldach notes that it should be possible to create the equivalent mod_gunzip functionality using only Apache 2 filters. To an extent, yes. I&#8217;ve done&nbsp;so:</p> <p><code> ExtFilterDefine gunzip mode=output&nbsp;cmd="/bin/gunzip"</p> <p><Files *.gz> SetOutputFilter gunzip </Files> </code></p> <p>This won&#8217;t do the sophisticated (well, at least more sophisticated than the Apache 2 runtime configuration directives will allow) negotiation that mod_gunzip can do, watching for certain clients and combinations of&nbsp;headers.</p> <p>So, I&#8217;m stuck. I&#8217;ve a project I had been working on for school that involves <span class="caps">HTML</span> reports, collectively, that can be as large as 1.3 <span class="caps">GB</span>. Compressing each file with gzip decreases the collective size down to 300 <span class="caps">MB</span>, while still allowing the files to be viewed in most modern web browsers (apparently, at the time of this writing, this does <span class="caps">NOT</span> include Apple&#8217;s Safari (which happens to be used by several of my professors), though Konqueror/<span class="caps">KHTML</span> works&nbsp;fine).</p> <p>Note to self: port mod_gunzip to Apache 2. </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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item even"><a href="/tag/Apache" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Apache</a></div></div></div> Thu, 06 Oct 2005 16:31:00 +0000 Samat Jain 61 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 The next Microsoft Office... even uglier http://blog.samat.org/2005/09/14/the_next_microsoft_office_even_uglier <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>When I first saw Microsoft Office 2003, I thought it was fairly ugly. It looked like some kind of ugly <span class="caps">KDE</span>&nbsp;theme.</p> <p>And now, apparently <a href="http://pdc.xbetas.com/?page=o12preview1">Office 12 looks even uglier</a>.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Microsoft" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Microsoft</a></div></div></div> Wed, 14 Sep 2005 21:20:00 +0000 Samat Jain 56 at http://blog.samat.org Working on a new Drupal theme... http://blog.samat.org/2005/08/25/working_on_a_new_drupal_theme <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 am getting tired of the Drupal theme selection currently available. The move to PHPTemplate (as well as the the <a href="http://themes.drupal.org">Drupal Themegarden</a> outage) has left few good&nbsp;templates.</p> <p>Bluemarine&#8230; I don&#8217;t know. I hate the way it&#8217;s low&nbsp;contrast.</p> <p>I&#8217;ve disabled my site&#8217;s usual theme and am developing the new one, based off of Bluemarine for PHPTemplate from&nbsp;<span class="caps">CVS</span>.</p> <p>Things I am focusing&nbsp;on:</p> <ul> <li>Making certain elements look nicer and more modern, for example: comments, node information,&nbsp;etc</li> <li>Correctly used relative font sizes (my <span class="caps">MAJOR</span> peeve with many themes: I know how to configure my web browser, I want 1em fonts for content&nbsp;text)</li> <li>Revamp colors such that text is high-contrast with muted background&nbsp;colors</li> <li>Separate in <span class="caps">CSS</span> page layout from things meant to be customized, like colors, link styles,&nbsp;etc</li> <li>Underlined links with discernable link&nbsp;colors</li> </ul> <p>If you&#8217;ve any comments on how things should look, please let me know. </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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Drupal</a></div></div></div> Thu, 25 Aug 2005 06:21:00 +0000 Samat Jain 52 at http://blog.samat.org Microsoft Internet Explorer, Adobe Acrobat's web-plugin, and Apache's mod_deflate http://blog.samat.org/2005/08/15/microsoft_internet_explorer_adobe_acrobats_web-plugin_and_apaches_mod_deflate <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>For the past year this has been a problem with the server this website has been hosted on; it was the strangest thing ever that I could not understand. If you tried to view a <span class="caps">PDF</span> file you placed on the web server with Microsoft Internet Explorer with Adobe&#8217;s Acrobat web plugin on Windows (a very common configuration), you would get an error about the <span class="caps">PDF</span> being corrupt and that it could not be&nbsp;opened.</p> <p>It worked everywhere else: Mozilla Firefox and the Adobe Acrobat web plugin on Windows, with zero problems with any combination of browser and <span class="caps">PDF</span> viewer on Linux and <span class="caps">OS</span>&nbsp;X.</p> <p>Apache 2.0&#8217;s documentation on mod_deflate suggests to compress everything except image&nbsp;files:</p> <p><code> SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI &#46;(?:gif|jpe?g|png)$ no-gzip dont-vary </code></p> <p>The problem with this: there are <em>many</em> filetypes left out that don&#8217;t compress well, and can cause problems&#8211;like PDFs combined with Internet Explorer and Adobe&#8217;s Acrobat&nbsp;plugin.</p> <p>The solution, add the&nbsp;rule:</p> <p><code> SetEnvIfNoCase Request_URI &#46;(?:pdf)$ no-gzip dont-vary </code></p> <p>This prevents <span class="caps">PDF</span> files from being compressed with mod_deflate. It&#8217;s also useful to add such files as MP3s, zips, and&nbsp;rars.</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/Software" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Software</a></div><div class="field-item odd"><a href="/tag/Microsoft" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Microsoft</a></div></div></div> Tue, 16 Aug 2005 04:45:00 +0000 Samat Jain 51 at http://blog.samat.org