<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>tommy's scratchpad - open source, technology, web</title><link href="https://kralidis.ca/blog/" rel="alternate"/><link href="https://kralidis.ca/blog/feeds/open-source-technology-web.atom.xml" rel="self"/><id>https://kralidis.ca/blog/</id><updated>2009-01-04T13:57:00+00:00</updated><entry><title>Python templating</title><link href="https://kralidis.ca/blog/blog/2009/01/04/python-templating/" rel="alternate"/><published>2009-01-04T13:57:00+00:00</published><updated>2009-01-04T13:57:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2009-01-04:/blog/blog/2009/01/04/python-templating/</id><summary type="html">&lt;p&gt;Awhile back, I started using &lt;a href="http://genshi.edgewall.org/" title="Genshi"&gt;Genshi&lt;/a&gt; as a templating solution for some Python application development.  Easy to use, we were able to come up with a &lt;a href="http://www.opengeospatial.org/standards/sensorml" title="SensorML"&gt;SensorML&lt;/a&gt; generator for description and discovery of monitoring stations.&lt;/p&gt;
&lt;p&gt;Lately, I've been &lt;a href="/blog/2008/12/29/shiny-new-mapserver-website/" title="helping out"&gt;helping out&lt;/a&gt; a bit on the new MapServer website, driven by &lt;a href="http://sphinx.pocoo.org/" title="Sphinx"&gt;Sphinx …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;Awhile back, I started using &lt;a href="http://genshi.edgewall.org/" title="Genshi"&gt;Genshi&lt;/a&gt; as a templating solution for some Python application development.  Easy to use, we were able to come up with a &lt;a href="http://www.opengeospatial.org/standards/sensorml" title="SensorML"&gt;SensorML&lt;/a&gt; generator for description and discovery of monitoring stations.&lt;/p&gt;
&lt;p&gt;Lately, I've been &lt;a href="/blog/2008/12/29/shiny-new-mapserver-website/" title="helping out"&gt;helping out&lt;/a&gt; a bit on the new MapServer website, driven by &lt;a href="http://sphinx.pocoo.org/" title="Sphinx"&gt;Sphinx&lt;/a&gt;.  Digging deeper, I noticed Sphinx using &lt;a href="http://jinja.pocoo.org/2/" title="Jinja2"&gt;Jinja2&lt;/a&gt; for templating, so I tried this out a bit.  Not bad either!&lt;/p&gt;
&lt;p&gt;Templating is key to many applications, and I wonder how these differ.  Perhaps the geo/python gurus out there have some further insight.&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>Revolution OS</title><link href="https://kralidis.ca/blog/blog/2008/12/07/revolution-os/" rel="alternate"/><published>2008-12-07T18:00:00+00:00</published><updated>2008-12-07T18:00:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2008-12-07:/blog/blog/2008/12/07/revolution-os/</id><content type="html">&lt;p&gt;Check out this &lt;a href="http://video.google.com/videoplay?docid=7707585592627775409" title="video"&gt;video&lt;/a&gt; if you're interested in learning more about the evolution of open source.  Pretty neat!&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>Firefox 3 drops this Tuesday</title><link href="https://kralidis.ca/blog/blog/2008/06/12/firefox-3-drops-this-tuesday/" rel="alternate"/><published>2008-06-12T07:44:00+00:00</published><updated>2008-06-12T07:44:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2008-06-12:/blog/blog/2008/06/12/firefox-3-drops-this-tuesday/</id><content type="html">&lt;p&gt;Good &lt;a href="http://weblogs.mozillazine.org/asa/archives/2008/06/firefox_3_to_be_1.html" title="news"&gt;news&lt;/a&gt;.  With all the new features and performance improvements, I'm guessing I'm not the only one looking forward to this release.&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>My Foxmarks</title><link href="https://kralidis.ca/blog/blog/2008/02/13/my-foxmarks/" rel="alternate"/><published>2008-02-13T23:51:00+00:00</published><updated>2008-02-13T23:51:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2008-02-13:/blog/blog/2008/02/13/my-foxmarks/</id><summary type="html">&lt;p&gt;Between a dual boot and a MacBook, I have started to have bookmark synchronization issues.&lt;/p&gt;
&lt;p&gt;I came across &lt;a href="http://www.foxmarks.com/" title="Foxmarks"&gt;Foxmarks&lt;/a&gt;, a neat bookmark synchronizer for Firefox. Essentially, your bookmarks are placed on a central server so you can fetch them from wherever. The only change that I made was removing some …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Between a dual boot and a MacBook, I have started to have bookmark synchronization issues.&lt;/p&gt;
&lt;p&gt;I came across &lt;a href="http://www.foxmarks.com/" title="Foxmarks"&gt;Foxmarks&lt;/a&gt;, a neat bookmark synchronizer for Firefox. Essentially, your bookmarks are placed on a central server so you can fetch them from wherever. The only change that I made was removing some internal / sensitive bookmarks which I wouldn't necessarily want to be "out there", so I stored those locally.&lt;/p&gt;
&lt;p&gt;Pretty easy!&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>Getting into Python</title><link href="https://kralidis.ca/blog/blog/2007/06/18/getting-into-python/" rel="alternate"/><published>2007-06-18T16:43:00+00:00</published><updated>2007-06-18T16:43:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2007-06-18:/blog/blog/2007/06/18/getting-into-python/</id><summary type="html">&lt;p&gt;Well, I've finally decided to give Python an honest try. A born and bred Perl hack, then dipping into PHP, I've seen much Python applause in the geospatial software community through many of &lt;a href="http://zcologia.com/news/" title="Sean's"&gt;Sean's&lt;/a&gt; &lt;a href="http://zcologia.com/news/478/shapely-geometries-for-python/" title="posts"&gt;posts&lt;/a&gt;. Though I know Sean thinks mapscript is a disaster, it was via mapscript that I …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Well, I've finally decided to give Python an honest try. A born and bred Perl hack, then dipping into PHP, I've seen much Python applause in the geospatial software community through many of &lt;a href="http://zcologia.com/news/" title="Sean's"&gt;Sean's&lt;/a&gt; &lt;a href="http://zcologia.com/news/478/shapely-geometries-for-python/" title="posts"&gt;posts&lt;/a&gt;. Though I know Sean thinks mapscript is a disaster, it was via mapscript that I started to look more into Python.&lt;/p&gt;
&lt;p&gt;So here's what I typically start off with when doing development:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;HTTP / URLs / Forms: for Perl, I use CGI; for PHP, I use the native, built in functions&lt;/li&gt;
&lt;li&gt;XML Processing: for Perl, I use XML::Simple; for PHP, I use SimpleXMLElement&lt;/li&gt;
&lt;li&gt;Database: for Perl, I use DBI; for PHP, I use the compiled in mysql support, for example&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So far I've found urllib2 and ElementTree to be useful. Other than that, I'm finding the command line pretty awesome for one offs and testing.&lt;/p&gt;
&lt;p&gt;If anyone's got any other suggestions, that would be great!!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt; (20 June 2007): Manual trackback and &lt;a href="http://zcologia.com/news/488/diving-into-python/" title="great post / response"&gt;great post / response&lt;/a&gt; from Sean&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>Tuning LAMP systems</title><link href="https://kralidis.ca/blog/blog/2007/05/30/tuning-lamp-systems/" rel="alternate"/><published>2007-05-30T20:19:00+00:00</published><updated>2007-05-30T20:19:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2007-05-30:/blog/blog/2007/05/30/tuning-lamp-systems/</id><summary type="html">&lt;p&gt;Check out these articles from IBM on tuning &lt;a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)" title="LAMP"&gt;LAMP&lt;/a&gt; applications. Being a longtime &lt;a href="http://www.onlamp.com/" title="LAMP"&gt;LAMP&lt;/a&gt; guy (the "P" being long time Perl hack, but slowly moving towards PHP), I found this useful for tweaks and optimizing my applications.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/" title="Part 1"&gt;Part 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html" title="Part 2"&gt;Part 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking forward to Part 3, which covers MySQL.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update …&lt;/strong&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;Check out these articles from IBM on tuning &lt;a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)" title="LAMP"&gt;LAMP&lt;/a&gt; applications. Being a longtime &lt;a href="http://www.onlamp.com/" title="LAMP"&gt;LAMP&lt;/a&gt; guy (the "P" being long time Perl hack, but slowly moving towards PHP), I found this useful for tweaks and optimizing my applications.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/" title="Part 1"&gt;Part 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html" title="Part 2"&gt;Part 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking forward to Part 3, which covers MySQL.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update (10 June 2007)&lt;/strong&gt;: here's &lt;a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-3.html" title="Part 3"&gt;Part 3&lt;/a&gt;.&lt;/p&gt;</content><category term="open source, technology, web"/></entry><entry><title>Get Firefox 2.0!</title><link href="https://kralidis.ca/blog/blog/2006/10/24/get-firefox-20/" rel="alternate"/><published>2006-10-24T23:53:00+00:00</published><updated>2006-10-24T23:53:00+00:00</updated><author><name>tomkralidis</name></author><id>tag:kralidis.ca,2006-10-24:/blog/blog/2006/10/24/get-firefox-20/</id><summary type="html">&lt;p&gt;So Firefox 2.0 is &lt;a href="http://www.mozilla.com/en-US/products/download.html?product=firefox-2.0&amp;amp;os=win&amp;amp;lang=en-US" title="here"&gt;here&lt;/a&gt;, and &lt;a href="http://weblog.infoworld.com/techwatch/archives/008508.html" title="silently put out a day before launch"&gt;silently put out a day before launch&lt;/a&gt;, which caused &lt;a href="http://weblogs.mozillazine.org/preed/2006/10/the_antirelease.html" title="some"&gt;some&lt;/a&gt; &lt;a href="http://www.beltzner.ca/mike/archives/2006/10/23/its_not_like_were_ashamed.html" title="kerfuffle"&gt;kerfuffle&lt;/a&gt; as a result.&lt;/p&gt;
&lt;p&gt;For me, I like the &lt;a href="http://wiki.mozilla.org/Microsummaries" title="microsummary"&gt;microsummary&lt;/a&gt; stuff, the close tab button embedded on each tab, the RSS reader support, and JavaScript 1.7 support.&lt;/p&gt;
&lt;p&gt;All in all, the browser …&lt;/p&gt;</summary><content type="html">&lt;p&gt;So Firefox 2.0 is &lt;a href="http://www.mozilla.com/en-US/products/download.html?product=firefox-2.0&amp;amp;os=win&amp;amp;lang=en-US" title="here"&gt;here&lt;/a&gt;, and &lt;a href="http://weblog.infoworld.com/techwatch/archives/008508.html" title="silently put out a day before launch"&gt;silently put out a day before launch&lt;/a&gt;, which caused &lt;a href="http://weblogs.mozillazine.org/preed/2006/10/the_antirelease.html" title="some"&gt;some&lt;/a&gt; &lt;a href="http://www.beltzner.ca/mike/archives/2006/10/23/its_not_like_were_ashamed.html" title="kerfuffle"&gt;kerfuffle&lt;/a&gt; as a result.&lt;/p&gt;
&lt;p&gt;For me, I like the &lt;a href="http://wiki.mozilla.org/Microsummaries" title="microsummary"&gt;microsummary&lt;/a&gt; stuff, the close tab button embedded on each tab, the RSS reader support, and JavaScript 1.7 support.&lt;/p&gt;
&lt;p&gt;All in all, the browser is alot more "alive" -- so will you be going to your local &lt;a href="http://www.firefoxparty.com/" title="Firefox Party"&gt;Firefox Party&lt;/a&gt;?&lt;/p&gt;</content><category term="open source, technology, web"/></entry></feed>