Announcement http://blog.samat.org/taxonomy/term/19/0 en Upload multiple photos to Meetup without Flash http://blog.samat.org/2011/09/22/Upload-multiple-photos-to-Meetup-without-Flash <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>Do you use <a href="http://www.meetup.com">Meetup</a> and upload multiple photos regularly, but hate doing&nbsp;it?</p> <p>Meetup has an multiple-photo feature that uses Adobe Flash, but as you can expect of Flash it&#8217;s not particularly reliable or stable. There no reason to put up with Flash&#8217;s nonsense—<span class="caps">HTML5</span> includes a multiple-file upload control, well-supported by the latest Web browsers. Unfortunately, despite my <a href="http://meetup.uservoice.com/forums/37079-ideas-and-suggestions-for-meetup/suggestions/2073055-multiple-file-upload-via-html5?ref=title">posting a wishlist item</a> (please vote!), Meetup has done nothing to support&nbsp;it.</p> <p>So I did it myself: if you use Chrome or Greasemonkey/Scriptish for Firefox, install this user script: <a href="http://userscripts.org/scripts/show/111278">Meetup: <span class="caps">HTML5</span> multiple-file upload for photos</a>.</p> <p>Once&nbsp;installed:</p> <ol> <li>Go to the &#8220;Old Upload Form&#8221; for your Meetup group or album. This can be tricky to get to, but the <span class="caps">URL</span> looks like:&nbsp;http://www.meetup.com/<span class="caps">GROUPNAME</span>/photos/upload/</li> <li>Make sure you&#8217;ve selected the right&nbsp;album.</li> <li>You should only see one file upload widget (the &#8220;Old Upload Form&#8221;, before this script, had&nbsp;10).</li> <li>Click it, and you&#8217;ll notice you can select multiple photos you want to upload. Go ahead and do&nbsp;so.</li> <li>After you&#8217;re done selecting and dismiss the widget, the page will now tell you which photos you&#8217;ll be&nbsp;uploading.</li> <li>Click upload to start uploading&nbsp;photos.</li> </ol> <p>Enjoy uploading your photos without Flash&#8217;s crashing, errors, or&nbsp;mayhem!</p> <p>A note: if you use Firefox, you won&#8217;t be able to know how much you&#8217;ve uploaded (unlike Chrome, Firefox has no built-in upload progress meter). Try the <a href="https://addons.mozilla.org/en-US/firefox/addon/uploadprogress/">Upload Progress add-on</a> to keep tabs on your&nbsp;uploads.</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/Userscript" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Userscript</a></div></div></div> Thu, 22 Sep 2011 08:09:11 +0000 Samat Jain 183 at http://blog.samat.org Making Firefox's Web Console readable http://blog.samat.org/2011/08/25/Making-Firefoxs-Web-Console-readable <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>Are you blind (like me), but you still want to use Firefox&#8217;s new <a href="https://developer.mozilla.org/en/Using_the_Web_Console">Web Console</a>? Yeah, maybe you&#8217;ve noticed that the Web Console has abnormally small fonts with no obvious way to adjust&nbsp;them.</p> <p>I&#8217;ve created a new user style that makes Firefox use your configured monospace font (I use <a href="http://en.wikipedia.org/wiki/Inconsolata">Inconsolata</a>), and also lets you configure font&nbsp;size.</p> <p><a href="http://userstyles.org/styles/52871/web-console-alter-font-settings" class="call-to-action">Get it at&nbsp;Userstyles</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/Firefox" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Firefox</a></div></div></div> Thu, 25 Aug 2011 09:38:10 +0000 Samat Jain 182 at http://blog.samat.org BrowserID session API support for Drupal http://blog.samat.org/2011/08/15/BrowserID-session-API-support-for-Drupal <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>Late last week, Mozilla&#8217;s Identity team made available a <a href="http://identity.mozilla.com/post/8841090082/sign-into-websites-directly-from-your-browser-toolbar">Firefox extension for BrowserID</a>, a new browser-oriented single-sign on mechanism. Click a button in your address bar and automagically login into a&nbsp;website.</p> <p>Along with it they made available a <a href="http://www.shanetomlinson.com/2011/mozilla-session-api-tutorial/">browser session <span class="caps">API</span></a>—that is, the browser can now keep track and show whether you&#8217;re logged in, logged out, etc, also displayed in your address&nbsp;bar.</p> <p>Drupal had a <a href="http://drupal.org/project/browserid">BrowserID module</a> less than 24 hours after BrowserID&#8217;s initial announcement (thanks <a href="http://www.isaacsukin.com/">Isaac Sukin</a>!). Likewise, in the weekend after the session <span class="caps">API</span> announcement I helped out and <a href="http://drupal.org/node/1249746">wrote a patch</a> adding support for the new&nbsp;<span class="caps">API</span>.</p> <p>If you&#8217;re familiar with Drupal development, install the Drupal module, <s>apply the patch,</s> <a href="https://addons.mozilla.org/en-US/firefox/addon/browser-sign-in/">install the Firefox add-on</a>, and get browser-integrated, one-click login to your Drupal-powered&nbsp;website.</p> <p>The patched module is running live on this site right now, so please play with it (<a href="http://myfavoritebeer.org/">myfavoritebeer.org</a> does get&nbsp;boring).</p> <p>At the moment, Drupal&#8217;s BrowserID module <strong>does not create an account on my blog</strong>, so you must do that first, separately. <a href="/user/register">Create an account here</a>, or if you&#8217;ve an OpenID, <a href="/user/login">logon with your OpenID directly</a> to also create an account (funny how complicated this has gotten already). Make sure to set and use the same e-mail address as the one you use for your BrowserID. After creating an account, logout, and then log back in using your BrowserID. If you&#8217;ve problems/find a bug, please leave comments on the Drupal bug or this blog&nbsp;post—thanks!</p> <p>[<span class="caps">UPDATE</span>: 16 Aug 2010]: Drupal&#8217;s BrowserID module now includes my patch; you don&#8217;t need to download and apply the patch&nbsp;separately.</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/Firefox" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Firefox</a></div><div class="field-item odd"><a href="/tag/Drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Drupal</a></div><div class="field-item even"><a href="/tag/BrowserID" typeof="skos:Concept" property="rdfs:label skos:prefLabel">BrowserID</a></div></div></div> Mon, 15 Aug 2011 12:55:47 +0000 Samat Jain 180 at http://blog.samat.org gpxsplitter: Split GPX files with their waypoints http://blog.samat.org/2011/02/16/gpxsplitter-Split-GPX-files-with-their-waypoints <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><a href="http://wiki.samat.org/GpxSplitter">gpxsplitter</a> splits multi-track <span class="caps">GPX</span> files, containing waypoints, into individual one-track <a href="http://www.topografix.com/gpx.asp"><span class="caps">GPX</span> files</a> with their respective&nbsp;waypoints.</p> <p><span class="caps">GPX</span> files containing multiple tracks and waypoints jumbled together are produced on export by many <span class="caps">GPS</span> units, particularly <span class="caps">MTK</span> chipset-based devices such as the Qstarz Q1000 and Transystem i-Blue 474. Separating tracks and their associated waypoints was a headache until gpxsplitter came along. It&#8217;s meant to be run first-thing after downloading data from your unit via gpsbabel or mtkbabel. It&#8217;s a quick little script written in Python 2.x, with dependencies on mxDateTime and&nbsp;lxml.</p> <p>You can get it from the <a href="http://gitorious.org/samatjain/gpxsplitter">gpxsplitter repository on gitorious</a>, and the <a href="http://wiki.samat.org/GpxSplitter">GpxSplitter wiki page</a> is the one-stop place that will collect information about&nbsp;it.</p> <p>I thought about turning this into a web service, where users can upload their <span class="caps">GPX</span> files and have them split, but I&#8217;d like to know the demand for such a service before writing it. Ideally, gpxsplitter should be part of gpsbabel or something… but yeah, I&#8217;ll save the <span class="caps">XML</span> parsing in C for a very, very rainy&nbsp;day.</p> <p>There are probably any number of bugs. If you find one, please <a href="http://samat.org/contact.html">let me know</a>—and send a testcase&nbsp;too!</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/Python" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Python</a></div><div class="field-item odd"><a href="/tag/OpenStreetMap" typeof="skos:Concept" property="rdfs:label skos:prefLabel">OpenStreetMap</a></div></div></div> Wed, 16 Feb 2011 06:54:52 +0000 Samat Jain 169 at http://blog.samat.org Bing Imagery Misaligned at Lower Zooms http://blog.samat.org/2010/11/30/Bing-Imagery-Misaligned-at-Lower-Zooms <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>Microsoft&#8217;s Bing aerial imagery (that&#8217;s <a href="http://opengeodata.org/microsoft-imagery-details">recently been donated to <span class="caps">OSM</span> for use in tracing</a>) is offset by a few meters in some&nbsp;places.</p> <p>For example, earlier this week I <a href="http://www.openstreetmap.org/?lat=31.90326&amp;lon=-106.4485&amp;zoom=17&amp;layers=M">traced buildings</a> with imagery from <a href="http://en.wikipedia.org/wiki/National_Agriculture_Imagery_Program"><span class="caps">USDA</span>&#8217;s <span class="caps">NAIP</span> program</a>. Besides a history of being well-rectified, a <span class="caps">GPS</span> track in the parking lot confirms that I was spot on. However, on Bing with a low zoom, they&#8217;re&nbsp;misaligned:</p> <p><figure><img src="/sites/blog.samat.org/files/Bing-Misaligned.jpg"/></figure></p> <p>Zoom in a bit, and they magically align&nbsp;again:</p> <p><figure><img src="/sites/blog.samat.org/files/Bing-Aligned.jpg"/></figure></p> <p>Apparently, different, well-rectified imagery is used at higher zooms. If I&#8217;ve found one problem, it then follows that it exists elsewhere. Be careful when&nbsp;tracing!</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/OpenStreetMap" typeof="skos:Concept" property="rdfs:label skos:prefLabel">OpenStreetMap</a></div></div></div> Tue, 30 Nov 2010 22:59:03 +0000 Samat Jain 166 at http://blog.samat.org OpenStreetMap "Geolocate me" user script http://blog.samat.org/2010/07/20/OpenStreetMap-Geolocate-me-user-script <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><figure class="right"><img src="/sites/blog.samat.org/files/OpenStreetMap-Geolocate.png"/></figure></p> <p><a href="http://userscripts.org/scripts/show/79016">OpenStreetMap Geolocate</a> is a user script that adds a &#8220;Geolocate me&#8221; link next to the OpenStreetMap.org search box. If your browser supports it and you&#8217;ve granted permission, clicking on this link will center your map window to your location, as reported by your browser via the <span class="caps">HTML</span> 5 geolocation&nbsp;<span class="caps">API</span>.</p> <p>Say you&#8217;ve taken your laptop to a new cafe or conference—as soon as you open up OpenStreetMap, you can hit the &#8220;Geolocate me&#8221; link and quickly see what&#8217;s around you, without fiddling with search or endlessly dragging the slippy map. Or, better yet, quickly add what&#8217;s&nbsp;missing.</p> <p>This definitely needs to be built into the OpenStreetMap&nbsp;website.</p> <p>On most browsers, the <a href="http://www.w3.org/TR/geolocation-API/">geolocation <span class="caps">API</span></a> uses Google Location Services or Skyhook, which determine your location based on nearby wireless 802.11 access points. However, some browsers, like Firefox 3.6 on Linux, can talk to gpsd and your <span class="caps">GPS</span> unit, so geolocation can get quite&nbsp;accurate.</p> <p>I&#8217;ve tested it on Firefox 3.6, Chrome 5, and Opera 10.60 (which, interestingly enough, is the first non-beta of Opera that supports geolocation). I&#8217;ve been told it also works on Safari&nbsp;5.</p> <p>I should make a note in the interest of accuracy: geolocation isn&#8217;t actually part of &#8220;<span class="caps">HTML</span> 5&#8221;—it&#8217;s a product of the <a href="http://www.w3.org/2008/geolocation/"><span class="caps">W3C</span> Geolocation Working Group</a>. However, the need to be accurate didn&#8217;t keep the <span class="caps">XML</span> out of <span class="caps">AJAX</span>, and by and far geolocation is one of the technologies people think about when they hear&nbsp;<span class="caps">HTML5</span>.</p> <p>This entry is cross-posted on <a href="http://www.openstreetmap.org/user/SamatJain/diary/11287">my OpenStreetMap user diary</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/Web-2.0" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Web 2.0</a></div><div class="field-item odd"><a href="/tag/OpenStreetMap" typeof="skos:Concept" property="rdfs:label skos:prefLabel">OpenStreetMap</a></div><div class="field-item even"><a href="/tag/NEWT" typeof="skos:Concept" property="rdfs:label skos:prefLabel">NEWT</a></div><div class="field-item odd"><a href="/tag/Userscript" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Userscript</a></div></div></div> Tue, 20 Jul 2010 22:27:36 +0000 Samat Jain 163 at http://blog.samat.org Transitioning to a 4096-bit RSA OpenPGP key http://blog.samat.org/2009/07/22/transitioning-to-a-4096-bit-rsa-openpgp-key <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 created a new GnuPG key two months ago (see key <span class="caps">ID</span> <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x4A456FBA">0x4A456FBA</a>). Now is a good a time as any to publicly announce it. Information for the&nbsp;key:</p> <p><pre> pub 4096R/4A456FBA 2009-05-08 [expires: 2015-01-01] Key fingerprint = E95D 7465 5B35 C5F6 B3B6 68CC 20C6 F0A6 4A45 6FBA uid Samat K Jain <a href="&#x6d;&#x61;&#x69;&#x6c;&#116;&#111;&#58;&#88;&#88;&#88;&#64;&#x73;&#x61;&#x6d;&#x61;&#x74;&#46;&#111;&#114;&#103;">&#88;&#88;&#88;&#64;&#x73;&#x61;&#x6d;&#x61;&#x74;&#46;&#111;&#114;&#103;</a> uid Samat K Jain <a href="&#x6d;&#97;&#x69;&#108;t&#x6f;&#58;&#x58;&#88;&#88;&#x40;&#99;&#x73;&#46;&#110;&#x6d;&#115;&#x75;&#x2e;&#101;&#x64;&#117;">&#x58;&#88;&#88;&#x40;&#99;&#x73;&#46;&#110;&#x6d;&#115;&#x75;&#x2e;&#101;&#x64;&#117;</a> uid Samat K Jain <a href="&#x6d;&#97;&#x69;&#108;&#116;&#x6f;&#58;X&#x58;&#88;&#x40;&#x72;&#104;&#x6f;&#109;b&#x69;&#99;&#x2e;&#x6e;&#101;&#x74;">X&#x58;&#88;&#x40;&#x72;&#104;&#x6f;&#109;b&#x69;&#99;&#x2e;&#x6e;&#101;&#x74;</a> uid Samat K Jain <a href="&#109;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#88;&#x58;&#x58;&#64;&#100;&#98;&#x6d;&#x69;.&#99;&#111;&#x6c;&#x75;&#x6d;&#98;&#105;&#x61;&#x2e;&#x65;&#100;&#117;">&#88;&#x58;&#x58;&#64;&#100;&#98;&#x6d;&#x69;.&#99;&#111;&#x6c;&#x75;&#x6d;&#98;&#105;&#x61;&#x2e;&#x65;&#100;&#117;</a> sub 4096R/<span class="caps">8D18D72F</span> 2009-05-15 [expires: 2015-01-01] </pre></p> <p>All this information (as well as the downloadable public key itself) is available on my <a href="http://wiki.samat.org/CryptoKeys">CryptoKeys wiki page</a>.</p> <p>The new key uses 4096-bit <span class="caps">RSA</span> keys for both digital signatures and encryption. The change is prompted by questions regarding <span class="caps">SHA</span>-1&#8217;s viability, <a href="http://www.debian-administration.org/users/dkg/weblog/48">detailed by Daniel Gillmore</a>. The concern is not new, as <a href="http://www.schneier.com/blog/archives/2005/02/sha1_broken.html">Bruce Schneier reported <span class="caps">SHA</span>-1 weaknesses back in 2005</a>. The concerns have simply become worse, and they&#8217;re likely to become worse. So much so that the <span class="caps">US</span> government&#8217;s <span class="caps">NIST</span> has <a href="http://csrc.nist.gov/groups/ST/hash/statement.html">recommended the phasing out of <span class="caps">SHA</span>-1</a> by the end of 2010. GnuPG&#8217;s maintainers don&#8217;t trust <span class="caps">SHA</span>-1 either, as <a href="http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025079.html">upstream GnuPG now defaults to <span class="caps">RSA</span></a> as&nbsp;well.</p> <p>In this space was a paragraph (or four) describing a little bit more in detail the interaction between encryption algorithms (e.g. <span class="caps">RSA</span>, <span class="caps">DSA</span>), encryption keys, and hash algorithms (e.g. <span class="caps">SHA</span>-1/<span class="caps">SHA</span>-160, <span class="caps">SHA</span>-512), etc. But as an end-user, I don&#8217;t care, and I don&#8217;t think other end users need to care either. With encryption, I follow the mantra: use the defaults; more than likely you don&#8217;t have a clue what you&#8217;re doing if you stray. If you use OpenPGP and use an older <span class="caps">DSA</span>-based key (2048-bit <span class="caps">RSA</span> is safe), keep in mind there may be issues soon regarding it&#8217;s security, and you should switch to <span class="caps">DSA</span>-2 or <span class="caps">RSA</span> (the new default)&nbsp;instead.</p> <p>Since <span class="caps">SHA</span>-1 hasn&#8217;t actually been broken yet, I&#8217;ve decided to set an expiration date on my old key (0x1A1993D3), rather than outright revoke&nbsp;it.</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/Crypto" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Crypto</a></div></div></div> Thu, 23 Jul 2009 00:36:34 +0000 Samat Jain 160 at http://blog.samat.org Starbucks Gold Card http://blog.samat.org/2008/10/14/starbucks-gold-card <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><figure class="right"><a href="http://www.flickr.com/photos/tamasrepus/2943019511" title="Starbucks Gold Card"><img class=" flickr-photo-img" height="180" width="240" typeof="foaf:Image" src="http://farm4.staticflickr.com/3024/2943019511_452ae72b12_m.jpg" alt="Starbucks Gold Card" title="Starbucks Gold Card" /></a><figcaption>Starbucks &#8220;Black&#8221; Gold Card</figcaption></figure></p> <p>This summer I fell in love with Starbuck&#8217;s Vivanno, their high-protein, high-fiber smoothie beverage. My signature drink: a banana-chocolate Vivanno, one espresso shot, with non-fat milk. Because I was going there so often, and because the new Starbucks and <span class="caps">AT</span>&amp;T partnership gave 2 hours free WiFi a day, I started buying things through a free Starbucks Card (essentially a prepaid, reloadable gift&nbsp;card).</p> <p>Apparently, I went to Starbucks more than I thought. A few weeks ago, Starbucks invited me to be part of their <a href="http://www.starbucks.com/Gold/">Starbucks Gold program</a>. The program provides a special card, which is quite pretty: the back is standard glossy card fare, but the front is a black matte with gold embossed&nbsp;logo.</p> <p>Starbucks started this program earlier this summer, and they&#8217;ve been tweaking the benefits. The benefits my card comes with (as says the flyer that came with&nbsp;it):</p> <ul> <li>10% off most&nbsp;purchases</li> <li>Coffeehouse rewards, including special discounts on family and friend&nbsp;days</li> <li>Surprise indulgences, like treats on my&nbsp;birthday</li> <li>Members-only website and insider&nbsp;promotions</li> </ul> <p>Unfortunately, this comes at a price. <del>It has a membership fee of $25/yr</del>&#8211;only the hardcore Starbucks coffee drinkers (which isn&#8217;t me) need apply. Also, supposedly, the card does not provide any of the Starbucks Card Rewards, <del>such as the free WiFi</del>, or free milk and syrup options. So far, I&#8217;m going to pass on the program, and continue using my old Starbucks Card. But I will keep the pretty-looking&nbsp;card.</p> <p><strong>Correction:</strong> My beta invite entitles me to the Starbucks Gold membership for free. Funny this not indicated anywhere. Also, even though the fine print says Starbucks Card Rewards do not apply, the Starbucks Gold program portal implies that WiFi is an included reward, and it does appear to&nbsp;work&#8230;</p> <p><strong>Update:</strong> Now that the Starbucks Gold membership has officially launched for the general public, you can get a description of the benefits in-store. With the Starbucks Gold card, you do not get all the Starbucks Card Rewards&#8211;that is, no free syrups, milk or whipped cream, refills on drip coffee, or free tall drink with purchase of whole bean coffee. However, as I mentioned, you do get&nbsp;WiFi.</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/Corporations" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Corporations</a></div><div class="field-item odd"><a href="/tag/Food" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Food</a></div></div></div> Wed, 15 Oct 2008 05:15:04 +0000 Samat Jain 147 at http://blog.samat.org samat.org upgraded to Drupal 6.5 http://blog.samat.org/2008/10/08/samatorg-upgraded-drupal-65 <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>After over 2 years, I&#8217;ve finally upgraded this website from Drupal 4.7 to 6.5. It&#8217;s something I&#8217;ve been meaning to do for a long while. Hopefully, with the new Drupal version management scheme I&#8217;ve developed for <a href="http://rhombic.net/">Rhombic Networks</a> (article coming soon), along with the advancements in update management within Drupal itself, it will be much easier to keep current with&nbsp;updates.</p> <p>Like <a href="/weblog/20060511-upgrading-samat-org-to-drupal-4-7.html">I discussed my last upgrade to Drupal 4.7</a>, there are several new features I&#8217;m excited&nbsp;about:</p> <ul> <li><a href="http://openid.net/">OpenID</a> support. Instead of having to leave comments anonymously, or waste time creating an account, use your OpenID. If you have your own domain, check out <a href="http://simonwillison.net/2006/Dec/19/openid/">Simon Willison&#8217;s article how to turn your blog into an OpenID</a>. I&#8217;ve noticed with an OpenID, I find myself commenting and participating on sites much more often. Hopefully I can expect the same of others with my&nbsp;website.</li> <li><a href="http://drupal.org/project/mollom">Drupal&#8217;s Mollom module</a>. The old site was getting hit with hundreds of spam comments a day. I gave up trying to filter them all, which meant it took a long time for users&#8217; comments to show up on the site. Hopefully, with Mollom, that will change, and I will be able to screen comments again instead of screening spam. I like <a href="http://mollum.com">Mollom</a> more than I do <a href="http://akismet.com">Akismet</a>.</li> <li><a href="http://drupal.org/project/atom">Drupal&#8217;s Atom module</a>. <acronym title="Really Simple Syndication"><span class="caps">RSS</span></acronym> sucks. You can now aggregate this blog via an Atom feed. Like most home pages on the Internet, most surfers find content on this site via search engines, or via their feed&nbsp;reader.</li> </ul> <p>Hopefully, I can get my development mojo going and finish porting my <a href="http://samat.org/drupal-themes/sands">Drupal Sands and Sands_CSS themes</a> to Drupal 5.x and 6.x. I&#8217;m sorry I took so&nbsp;long!</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/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Thu, 09 Oct 2008 04:17:06 +0000 Samat Jain 144 at http://blog.samat.org Upgrading samat.org to Drupal 4.7 http://blog.samat.org/2006/05/11/upgrading-samat-org-to-drupal-4-7 <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;m in the process of upgrading this site to Drupal 4.7. Expect a lot to be broken, especially links. Please let me know if you find any&nbsp;problems!</p> <p>Some&nbsp;changes:</p> <h3>Conversion of Topics taxonomy from a hierarchal taxonomy to a flat, free-tagging&nbsp;taxonomy.</h3> <p>I previously had the &#8220;Topics&#8221; taxonomy as a hierarchal tree, for example, CentOS would be under Linux. It looked like a good idea before I started to use it, but Drupal and hierarchies don&#8217;t work as well as I&#8217;d like&#8230; I converted it to a flat list, and then turned it into a Drupal 4.7 free-tagging taxonomy. Hopefully this will lead to better tagging of my&nbsp;posts.</p> <h3>Modiying page URLs to end in&nbsp;*.html.</h3> <p>I don&#8217;t need to do this, but I want to. It looks nicer, it makes pages easier to save, and it facilitates moving to another <acronym title="content management system"><span class="caps">CMS</span></acronym> if the need ever arises. For many URLs I&#8217;ve used permanent redirects to prevent old links from&nbsp;breaking.</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/Drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Drupal</a></div><div class="field-item odd"><a href="/tag/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Thu, 11 May 2006 08:21:26 +0000 Samat Jain 96 at http://blog.samat.org New versions of Sands available, in two different distributions http://blog.samat.org/2006/04/06/new-versions-of-sands-available-in-two-different-distributions <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 taken my Drupal theme Sands and split it up into two different distributions/versions: one that uses tables for layout (will continue to be called Sands) and one that uses <span class="caps">CSS</span> (to be&nbsp;Sands_CSS).</p> <p>Basically, they are the exact same thing, except a different columns.css and page.tpl.php&nbsp;file.</p> <p>Drupal&#8217;s 4.6 use of the <base href="..."> tag triggers <i>strange</i> bugs in Microsoft&#8217;s Internet Explorer when using some <span class="caps">CSS</span>-column layouts, like the one Sands uses. Splitting into two different themes was the only course of action: though, now that Drupal 4.7 does not use this tag and the bugs no longer occur, it may be a little late in doing this&#8230; Oh&nbsp;well.</p> <p>You can read more about Sands on the <a href="/drupal-themes/sands">page on this site</a>, or through Drupal&#8217;s project pages for <a href="http://drupal.org/node/38271">Sands</a> and <a href="http://drupal.org/node/57629">Sands_CSS</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/Drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Drupal</a></div></div></div> Thu, 06 Apr 2006 22:57:21 +0000 Samat Jain 85 at http://blog.samat.org Drupal themes section moved http://blog.samat.org/2006/04/01/drupal-themes-section-moved <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 moved my <a href="/code/projects/drupal/sands_theme">Sands theme</a> to a new location, at <a href="/drupal-themes/sands">samat.org/drupal-themes/sands</a>. The <span class="caps">URL</span> is nicer and shorter, and sets me up for the other Drupal themes I would like to&nbsp;create.</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/Drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Drupal</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, 01 Apr 2006 09:11:32 +0000 Samat Jain 82 at http://blog.samat.org Comments on comments http://blog.samat.org/2006/03/08/comments-on-comments <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 added a &#8220;recent comments&#8221; sidebar block to the front page so I (and visitors) can keep track of comments people have made. I appreciate the comments&#8211;it makes as if people actually <i>read</i> this&nbsp;site!</p> <p>If you&#8217;re not a registered user (<a href="/user/register">it&#8217;s easy to become one!</a>) your comments will have to be moderated (by me) before they show up on the&nbsp;page.</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/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Thu, 09 Mar 2006 01:10:29 +0000 Samat Jain 78 at http://blog.samat.org Changing domains AGAIN--welcome to samat.org http://blog.samat.org/2006/02/27/changing-domains-again--welcome-to-samat-org <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>Just when you thought I had settled on a domain name, I decide not to!&nbsp;Hah!</p> <p>I&#8217;m going to be moving this site from <a href="http://tamasrepus.rhombic.net/">tamasrepus.rhombic.net</a> to <a href="http://samat.org/">samat.org</a>. Some reasons&nbsp;why:</p> <ol> <li>It&#8217;s actually <i>available</i></li> <li>It&#8217;s&nbsp;short</li> <li>It&#8217;s more me and is more personal (Samat <span class="caps">IS</span> my&nbsp;name)</li> <li>Less connection with my company, <a href="http://rhombic.net/">Rhombic&nbsp;Networks</a></li> </ol> <p>Some&nbsp;negatives:</p> <ol> <li>This is the&#8230; 4th or 5th time I&#8217;ve changed domains? I&#8217;m going to write up a history page one&nbsp;day&#8230;</li> <li>It&#8217;s eerily similar to my friend <a href="http://www.sudarshan.org/">Sudarshan&#8217;s domain</a>.</li> </ol> <p>While I am going to keep the same Drupal setup, expect some stuff to break. URLs hopefully will remain the same (as they have with tamasrepus.rhombic.net and tamasrepus.hotnudiegirls.com). I think I am going to try to figure out something fancy, such as a script that will issue <span class="caps">HTTP</span> status 301 (permanent redirect), which Google respects, so the old URLs don&#8217;t stay in search engines&nbsp;forever.</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/Site" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Site</a></div></div></div> Tue, 28 Feb 2006 01:46:34 +0000 Samat Jain 74 at http://blog.samat.org The M Roadster hits 30,000 miles today http://blog.samat.org/2006/02/19/the-m-roadster-hits-30-000-miles-today <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>Just to document: my car has hit 30,000 miles today, February 29, 2006, around 12:10 <span class="caps">PM</span>, on interstate 10. I forgot to note when it turned 20,000, but <a href="http://old.tamasrepus.hotnudiegirls.com/weblog/posts/2.html">my car passed 10,000 miles</a> on September 23,&nbsp;2002.</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/Cars" typeof="skos:Concept" property="rdfs:label skos:prefLabel">Cars</a></div></div></div> Mon, 20 Feb 2006 04:06:50 +0000 Samat Jain 72 at http://blog.samat.org