<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8842186066806427639</atom:id><lastBuildDate>Sat, 17 Mar 2012 06:10:59 +0000</lastBuildDate><category>gnupg</category><category>linux</category><category>templates</category><category>discussion</category><category>key</category><category>public key</category><category>amazon ec2</category><category>perl</category><category>rfc</category><category>Free and Open Source Alliance Singapore</category><category>open source</category><category>links</category><category>advocacy</category><category>perception</category><category>meditation</category><category>pgp</category><category>Singapore Perl Mongers</category><category>www-mechanize</category><category>standard</category><category>Singapore</category><category>religion</category><category>file upload</category><category>Perl marketing</category><category>iron man blogging challenge</category><category>bundle</category><category>content</category><category>Software Freedom Day Singapore 2009</category><category>Perl Mongers</category><category>perlmonks</category><category>Test Anything Protocol</category><title>Codesworth</title><description>Anything to do with programming, coding and all that stuff, written by &lt;a href="http://www.ggvaidya.com/"&gt;Gaurav Vaidya&lt;/a&gt;.</description><link>http://code.ggvaidya.com/</link><managingEditor>noreply@blogger.com (Gaurav)</managingEditor><generator>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-2878072612325683689</guid><pubDate>Sun, 04 Jul 2010 07:02:00 +0000</pubDate><atom:updated>2010-07-04T15:08:53.394+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Free and Open Source Alliance Singapore</category><category domain='http://www.blogger.com/atom/ns#'>Software Freedom Day Singapore 2009</category><category domain='http://www.blogger.com/atom/ns#'>Singapore</category><title>Software Freedom Day Singapore 2010 - Call for participants</title><description>&lt;p&gt;
The &lt;a href="http://www.fosa.sg/"&gt;Free and Open Source Alliance&lt;/a&gt; (FOSA.sg) would like to call for participants for &lt;a href="http://www.softwarefreedomday.sg/"&gt;Software Freedom Day Singapore 2010&lt;/a&gt;. This one-day event, a celebration of the best of the Singaporean open source community, will be held at the National Library Plaza, Bugis, on September 18 this year.
&lt;/p&gt;

&lt;p&gt;
We are looking for individuals, groups, organisations, or companies with an interest in the free and open source movement who would like to set up booths during this exhibition. Your booth can be on any open source related subject, from open content to business ideas, from open hardware to computer gaming. Your booth may also be a part of one of the four pavilions we are organising this year: "entertainment", "mobile computing and telephony", "productivity", and "social networking". If you are interested in showcasing your achievements and promoting open source to a large audience, please &lt;a href="http://softwarefreedomday.sg/ParticipantInterestForm"&gt;sign up now&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;We are also looking for volunteers to help us in every stage of the planning and execution of this event. If you would like to help us design posters, manage websites, organise events, handle logistics, or would like to provide any other help whatsoever, please &lt;a href="http://softwarefreedomday.sg/ParticipantInterestForm"&gt;sign up as a volunteer&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;As always, you can find out more about the event on our website at &lt;a href="http://www.softwarefreedomday.sg/"&gt;http://www.softwarefreedomday.sg/&lt;/a&gt; or e-mail suggestions, ideas or comments to &lt;a href="mailto:planning@softwarefreedomday.sg"&gt;planning@softwarefreedomday.sg&lt;/a&gt;. We hope to hear from you soon.
&lt;/p&gt;

&lt;p&gt;See you in September!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-2878072612325683689?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2010/07/software-freedom-day-singapore-2010.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-6797403950029200309</guid><pubDate>Sat, 19 Dec 2009 04:23:00 +0000</pubDate><atom:updated>2009-12-19T18:06:42.513+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>rfc</category><category domain='http://www.blogger.com/atom/ns#'>standard</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><category domain='http://www.blogger.com/atom/ns#'>Test Anything Protocol</category><title>An early draft standard for the Test Anything Protocol</title><description>&lt;p&gt;
The &lt;a href="http://en.wikipedia.org/wiki/Test_Anything_Protocol"&gt;Test Anything Protocol&lt;/a&gt; (TAP) is Perl's standard test result communication language, used by tools like &lt;a href="http://perldoc.perl.org/prove.html"&gt;&lt;tt&gt;prove&lt;/tt&gt; (1)&lt;/a&gt;, libraries like &lt;a href="http://search.cpan.org/perldoc?Test::More"&gt;&lt;tt&gt;Test::More&lt;/tt&gt;&lt;/a&gt; and applications like &lt;a href="http://search.cpan.org/dist/Smolder/"&gt;Smolder&lt;/a&gt;. If you you've ever installed a distribution from the CPAN, it almost certainly ran tests which emitting TAP. If any of your own Perl distributions provide the &lt;tt&gt;make test&lt;/tt&gt; or &lt;tt&gt;./Build test&lt;/tt&gt; capabilities, you're probably using it yourself.
&lt;/p&gt;

&lt;p&gt;
A proposal to &lt;a href="http://testanything.org/wiki/index.php/TAP_at_IETF:_Notes"&gt;formalize the Protocol&lt;/a&gt; as an IETF RFC have been circulating since 2008, and - after some work in fits and bursts - there's a &lt;a href="http://testanything.org/wiki/index.php/TAP_at_IETF:_Draft_Standard"&gt;pretty decent draft&lt;/a&gt; up on the TestAnything.org wiki. I'm really excited about this; not only will a formal everything-defined-perfectly specification make it easier for TAP producers and consumers to be written in other programming languages, but a solid standard will form a firm foundation upon which more advanced TAP syntax (such as the &lt;a href="http://testanything.org/wiki/index.php/TAP_Proposals"&gt;many ideas here&lt;/a&gt;) could be built.
&lt;/p&gt;

&lt;p&gt;The draft writing has been happening in fits and bursts, but I think we're getting close to completion now. Please have a look at the RFC draft (either as &lt;a href="http://github.com/gaurav/test-anything-protocol/blob/master/output/draft-vaidya-test-anything-protocol-00.txt"&gt;plain text&lt;/a&gt; or &lt;a href="http://testanything.org/wiki/index.php/TAP_at_IETF:_Draft_Standard"&gt;on the wiki&lt;/a&gt;) and tell us where we should focus our efforts. You can get in touch either directly on the Wiki (&lt;a href="http://en.wikipedia.org/wiki/WP:BB"&gt;be bold!&lt;/a&gt;) or &lt;a href="https://www.ietf.org/mailman/listinfo/tap"&gt;on the IETF TAP mailing list&lt;/a&gt;, or just leave a comment here.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-6797403950029200309?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/12/early-draft-standard-for-test-anything.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-6663997519846425765</guid><pubDate>Thu, 10 Dec 2009 04:18:00 +0000</pubDate><atom:updated>2009-12-10T12:30:00.452+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>file upload</category><category domain='http://www.blogger.com/atom/ns#'>www-mechanize</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><title>WWW::Mechanize for uploading files</title><description>&lt;p&gt;The &lt;tt&gt;&lt;a href="http://search.cpan.org/perldoc?WWW::Mechanize::Cookbook"&gt;WWW::Mechanize::Cookbook&lt;/a&gt;&lt;/tt&gt; doesn't have an example program for file uploads. So - if you need to quickly upload a file to a server with Perl - here's how you do it:&lt;/p&gt;

&lt;script src="http://gist.github.com/253111.js?file=file-upload.pl"&gt;&lt;/script&gt;

&lt;p&gt;Please let me know if you have any feedback on this example.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-6663997519846425765?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/12/wwwmechanize-for-uploading-files.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>8</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-3159581704129529924</guid><pubDate>Wed, 16 Sep 2009 17:51:00 +0000</pubDate><atom:updated>2009-09-17T02:30:42.820+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>open source</category><category domain='http://www.blogger.com/atom/ns#'>Free and Open Source Alliance Singapore</category><category domain='http://www.blogger.com/atom/ns#'>Software Freedom Day Singapore 2009</category><category domain='http://www.blogger.com/atom/ns#'>Singapore</category><title>Software Freedom Day Singapore 2009 in this weekend!</title><description>&lt;p&gt;I'm absolutely overflowing with excitement: &lt;a href="http://softwarefreedomday.sg/"&gt;Software Freedom Day Singapore 2009&lt;/a&gt; is just around the corner! Come down to any - or all! - of the three events we've organized for your pleasure. The &lt;a href="http://www.zarastar.org/Zara/Zarastarorg/sfd/agenda.htm"&gt;informational day targeting SMEs and system integrators&lt;/a&gt; is on Friday; Saturday will see &lt;a href="http://sfds.foss-alliance.sg/PublicExhibits"&gt;public events at the National Library Building at Bugis&lt;/a&gt;, organized by some of the coolest open source groups in Singapore, and &lt;a href="http://sfds.foss-alliance.sg/SFDS09TechSessions"&gt;the technical sessions&lt;/a&gt;, covering a wealth of interesting events and providing the perfect place to geek out of a Saturday afternoon. And thanks to our fantastic sponsors, each and every event is completely free! (You do have to &lt;a href="http://www.zarastar.org/Zara/Zarastarorg/sfd/register.htm"&gt;register for the Friday event&lt;/a&gt;, though.)
&lt;/p&gt;

&lt;p&gt;If you're on Facebook, you can let your friends know by &lt;a href="http://www.facebook.com/event.php?eid=142637392188&amp;index=1"&gt;sharing our Facebook event&lt;/a&gt;! Hope to see you there!
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-3159581704129529924?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/09/software-freedom-day-singapore-2009-in.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-6469141179204577221</guid><pubDate>Sat, 15 Aug 2009 05:16:00 +0000</pubDate><atom:updated>2009-08-15T13:20:40.881+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Software Freedom Day Singapore 2009</category><category domain='http://www.blogger.com/atom/ns#'>Singapore</category><title>Software Freedom Day Singapore 2009 - you're invited!</title><description>&lt;p&gt;The &lt;a href="http://www.fosa.sg/"&gt;Free and Open Source Alliance, Singapore&lt;/a&gt; would like to invite you to take part in &lt;a href="http://www.softwarefreedomday.sg/"&gt;Software Freedom Day Singapore 2009&lt;/a&gt;. We have a number of events lined up for you next month on September 18 and 19 at the Singapore Management University, Bras Basah and the National Library Building, Bugis, and we hope you'll be able to join in.&lt;/p&gt;

&lt;p&gt;
We'll have events all day on both days. On Friday (September 18), we'll be organizing a series of talks at the NLB, providing an overview of setting up and using free and open source software in business, government and education, aimed primarily at a non-technical audience. Saturday (September 19) will see two simultaneous events: at SMU, we'll have tutorial sessions on the use of open source tools and techniques, aimed specifically at a technical audience. At the same time, we'll have booths set up at the National Library Building's plaza to introduce members of the public to the benefits of open source, the wide range of powerful, reliable tools available for free, and to the participants, both companies and groups, involved in the open source community in Singapore. &lt;a href="http://sfds.foss-alliance.sg/SFDS09_ScheduleOfEvents"&gt;Event overviews are available&lt;/a&gt;; detailed schedules will online as soon as they're ready.
&lt;/p&gt;

&lt;p&gt;
Please get in touch with us if you'd like to take part. We're especially eager to get open source groups to come down to the NLB plaza on Saturday to present themselves to passerbys, geeks and non-geeks alike, and to advertise your particular area of interest within the open source galaxy to all our visitors. While we'll definitely try to cover as many bases and organize as interesting an event as possible, I'm sure your expertise, knowledge and enthusiasm will make all the difference in turning curious onlookers into interested participants - and maybe the open source users and contributors of tomorrow.
&lt;/p&gt;

&lt;p&gt;
We need all the help we can get, particularly in volunteers, ideas and marketing. If you'd like to help out, cheer us on, promote us to your friends or family, or support us in any other way, you can find out more at the &lt;a href="http://www.fosa.sg/"&gt;FOSA website&lt;/a&gt; and the &lt;a href="http://www.softwarefreedomday.sg/"&gt;SFDS website&lt;/a&gt;, or &lt;a href="http://foss-alliance.sg/mailman/listinfo/fosa-discuss_foss-alliance.sg"&gt;on our mailing list&lt;/a&gt;. This would also be a great time for you to meet FOSA.sg and give us your ideas and suggestions on how we can best work towards the common interests of open source groups and communities in Singapore.
&lt;/p&gt;

&lt;p&gt;
See you in September!
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-6469141179204577221?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/08/software-freedom-day-singapore-2009.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-9057386900319708072</guid><pubDate>Mon, 10 Aug 2009 11:39:00 +0000</pubDate><atom:updated>2009-08-11T00:17:15.100+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>perception</category><category domain='http://www.blogger.com/atom/ns#'>Perl marketing</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><title>Perl as a subprime language</title><description>&lt;p&gt;&lt;tt&gt;scrottie&lt;/tt&gt; wrote &lt;a href="http://use.perl.org/~scrottie/journal/39426"&gt;in a recent use.perl post&lt;/a&gt; that:
&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;[..] the only reason companies hire Perl programmers to write non-trivial programmers beyond the scope of system administration automation is because Perl programmers are inexpensive and submissive. They do what they're told, don't talk back, don't require acknowledgement, don't make a stink about things like testing and security that management doesn't care about nearly as much as deadlines, they don't aggressively negotiate on their salary, they agree to absurd timetables and requirements, and they routine suspend their better judgment to attempt whatever management has proposed.&lt;/p&gt;

&lt;p&gt;[..]&lt;/p&gt;

&lt;p&gt;[..] Writing a thousand times more Perl than Java in the past few years, I'm still more marketable as a Java programmer to a degree that far exceeds the relative demands for Perl or Java programmers. Only fundamental attitudes can account for this.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Reading this along with Iftekhar's suggestion that &lt;a href="http://iftekhar.blogspot.com/2009/08/perl-as-glue-and-ebbing-of-mindshare.html"&gt;Perl is perceived as (cheap) glue in the programming market&lt;/a&gt; and what renodino wrote way back in 2006 about &lt;a href="http://www.perlmonks.com/?node_id=557496"&gt;low wages for Perl jobs&lt;/a&gt; got me thinking about Perl's perception in the marketplace, and I think I might've had it wrong all along.
&lt;/p&gt;

&lt;p&gt;Those of us extolling Perl's virtues on geek websites like Slashdot or Reddit constantly face get the age-old refrains - read-only programming, not sophisticated enough (compared to functional programming languages, for instance), far too sophisticated (compared to Java, for instance), primitive OO facilities, a list a mile long. On pro-Perl websites and blogs, this turns to nervous fretting about our core strengths: TIMTOWTDI, but how many WTDI should there be; we have to change our syntax, we must keep our syntax consistent; we need proper OO systems, we need to stick with the überpowerful &lt;tt&gt;bless&lt;/tt&gt; system. Many of these suggestions are important, and all the discussions definitely are, but I wonder if they might be hiding the larger issue, rather like the whole "I hate enforced leading whitespace" tends to overshadow other benefits and downsides of Python.
&lt;/p&gt;

&lt;p&gt;So I've always assumed that it's a feature fight we're losing - we can't give new users a simple OO system, or "class" keywords, or any of the other features people want to see included in Perl core. But let's pull back a second - we've got a language with Ruby's regular expressions, proper closures, Python's terseness and conciseness, a powerful and flexible module system, and a wealth of brilliant features hidden away for when they're needed - AUTOLOAD, heredocs, quote-like operators, sigils (!), and separate operators for strings and numbers (seriously, how brilliant is that? That might be my favourite Perl feature ever.). Forget about CPAN and the Perl testing culture and the community, and we still have something which is plenty useful, incredibly exciting, reasonably cutting edge and ridiculously lovely. Why, then, are we looked down upon?
&lt;/p&gt;

&lt;p&gt;I have some ideas, but they're far more ridiculous than anything I've proposed here, so I'll stop here for now. Please give me any feedback, suggestions or corrections!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-9057386900319708072?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/08/perl-as-subprime-language.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-3466083505402531457</guid><pubDate>Sun, 09 Aug 2009 18:26:00 +0000</pubDate><atom:updated>2009-08-15T13:09:55.343+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Singapore Perl Mongers</category><category domain='http://www.blogger.com/atom/ns#'>Perl Mongers</category><category domain='http://www.blogger.com/atom/ns#'>Singapore</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><title>Singapore Perl Mongers Meetup #1 "Adagio"</title><description>&lt;p&gt;The first (ever?) &lt;a href="http://singapore.pm.org/"&gt;Singapore Perl Mongers&lt;/a&gt; meetup took place last week at &lt;a href="http://www.themindcafe.com.sg/TheMindCafe_Outlet_ps.php"&gt;the Mind Cafe, Prinsep Street&lt;/a&gt;, Singapore, and later at the cafe/restaurant right next door. Ten Perlers showed up, and despite a few initial problems - no fixed plan, the cafe was too cold and noisy, and the "organizer" (me) was late - we got going quite well, with &lt;a href="http://patrick.haller.ws/"&gt;Patrick Haller&lt;/a&gt; giving us off-the-cuff talks on &lt;a href="http://www.haller.ws/logs/view.cgi/PerlStandardizedRuntime"&gt;standardizing a Perl runtime&lt;/a&gt; and &lt;a href="http://haller.ws/logs/view.cgi/BashAssignRight/"&gt;getting Bash to assign to the right&lt;/a&gt;. We then moved next door, and the conversations on the table headed towards &lt;a href="http://reprap.org/"&gt;Repraps&lt;/a&gt;, using &lt;a href="http://hackaday.com/2009/06/15/theremin-controlled-mario/"&gt;theremin as user interface devices&lt;/a&gt;, the &lt;a href="http://en.wikipedia.org/wiki/Second_Amendment_to_the_United_States_Constitution#Meaning_of_.22well_regulated_militia.22"&gt;meaning of "well regulated militia" in the US Constitution&lt;/a&gt;, and why Canberra is &lt;a href="http://www.independent.co.uk/news/world/australasia/canberra-reborn-as-capital-of-sex-719272.html"&gt;the mail-order porn capital of Australia&lt;/a&gt;. Everybody seemed to have fun, and the conversations and Mongers hung around long after the meeting was supposed to have ended; hopefully, this kicked off Singapore.pm with a bang!
&lt;/p&gt;

&lt;p&gt;(A very few) Photographs are &lt;a href="http://www.flickr.com/photos/ggvaidya/sets/72157621990590438/"&gt;up on Flickr&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks to everybody who showed up and made this meetup such a success. I'd like especially to thank the staff at the Mind Cafe, Prinsep Street who valiantly found space to fit everybody who showed up (twice the number I was expecting!). If you're in Singapore or nearby and have any interest in Perl, drop by at our meetups! Notifications go out on &lt;a href="http://singapore.pm.org/mailing-list/"&gt;our mailing list&lt;/a&gt;; all other details are available from &lt;a href="http://singapore.pm.org/"&gt;the Singapore.pm website&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-3466083505402531457?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/08/singapore-perl-mongers-meetup-1-adagio.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-3090190220512362457</guid><pubDate>Mon, 27 Jul 2009 16:08:00 +0000</pubDate><atom:updated>2009-07-28T00:10:25.242+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>public key</category><category domain='http://www.blogger.com/atom/ns#'>gnupg</category><category domain='http://www.blogger.com/atom/ns#'>key</category><category domain='http://www.blogger.com/atom/ns#'>pgp</category><title>This is all new to me</title><description>&lt;p&gt;But if anybody needs it, here's a public key that can be used to validate me.&lt;/p&gt;

&lt;pre&gt;-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.10 (Darwin)

mQGiBEnfbEQRBAC5Cj6Zkmx9D+eFK4HlWRw0O46Jqy78cVU9xkVpms3YOWBcNF8e
B0dWa0yQ/oOaQlOGY7qCDWyMUjgJHuNTqwCNA3n6AkptI9uiPLZfD/smtL+Jga51
c29BKrKlSuN2QrIGACZAWvgMXEZxye16efCOnd5DiSV/jm2lPsf/dGm0ewCg+QT9
qMLKUwCAXNeOF1hG+/tufFEEAJLVrdpH53tCfGSWK4Jll/9iojV1rTEzy9PXjvAT
BsOykJ6VOiSokjkRsgHay2h7+TSFIXl9rfftZ2qwEDXhsVml2xHnIpMfe39ghdx1
qg7z2NWlhCMBJMV5zsG32brXGbCjbIQL4RV21uBKP5uKToidpeWJOnmah5CNHZz5
11ZaBAChZyqlZPpM4ekQeqm2SAKdKqqlBKYpZAdHHli2k0PzMPSVqqT24J97NKky
bAul+zMGIFFF/OK46TDyXZNYoRkPOpyf0M/uDH7OFJKdh6TOoR7IiE6tvfz1wpGk
EYiK6OGtBiQjb0GW3yKHDA2l5MItl66/XXUn2f9Ot+1r1QjjvbQjR2F1cmF2IFZh
aWR5YSA8Z2F1cmF2QGdndmFpZHlhLmNvbT6IZgQTEQIAJgUCSd9sRAIbAwUJAeEz
gAYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEDVWb7aJ491YHjEAoKrO6aSQpL7U
W+rSBbEAYrvHArgQAJ9yQ9O2TyM+Ab+NNikwTsQWurzy/bkCDQRJ32xEEAgAjukQ
MXLKoUB+S0TqPFW/KIQmseL0HlHZvnz/Zp3wO/t5LbuJ5x6Ne1iMJneBBJiV7g/F
Pq4Sw86pjqiFb2y323DMeFY3/CMC3MScVPX0xE6sUhPoSBCwBwD5zTmj5ZLrbm8+
XaB6nB4LoxTGKoecT0DqlALWQZiJTMyyWEb4VjvCCY9LKOF0CNYTybeWSRXQ0u57
fFcRyP2OdwWZ8tz1Zefr0au4CwEni4VwNIEF9YIYlu+HF33XobCNcE+2EFtrplu4
ibqkfnO8X1CBkFgEMEI7PJM7lr2zok/d80kGu8xaYf7nmZYFFVkD7a/+RcWtGNxK
WHDY7GqDj/4p86VvywADBQf+N20dvdA8JGOlhRYob2kx8nsrr55+XyExrg3Wf7P+
QnmBxSrnF+h0qeLJryga7vsyuOW7KiT29Pv8A8oI4ljNm9ke3gSSnv6oNuyJdHYw
u8tznLIvk/3/y8Vod9EU7aE++fuQj9IHnxYyLmcWk2q6ofCa4pWivtvUgRvBCEDT
vqR5XqK43ymYf1OwFI00fuh2kf+yQK55TC7Bmt3GozAs8WGc5DHCaJrHWiE1YzKZ
jAz7TqoWR9ESATghpa3JoWF1msLL9DU7t49AMv9e20mYCJ02sCydDspLphNbXT7n
PKtZzPcasQ674PGq9A/uIVKJW1OcQI+mS4YVDZXKU/QhQohPBBgRAgAPBQJJ32xE
AhsMBQkB4TOAAAoJEDVWb7aJ491YssAAoO+7U7ruKv0vFVl1QYDB7I2RQH7sAJ9W
MhK/Dto0ou6f4YylXhltJP7y1Q==
=6f4t
-----END PGP PUBLIC KEY BLOCK-----&lt;/pre&gt;

&lt;p&gt;I have no idea how you'll convince me to use it, though. In person?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-3090190220512362457?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/07/this-is-all-new-to-me.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-6511594231981654567</guid><pubDate>Tue, 02 Jun 2009 12:00:00 +0000</pubDate><atom:updated>2009-06-02T20:17:07.758+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>perl</category><category domain='http://www.blogger.com/atom/ns#'>links</category><category domain='http://www.blogger.com/atom/ns#'>advocacy</category><title>Where's the prizes? Here's the prizes!</title><description>&lt;p&gt;Okay, very random (and very quick), but here goes: &lt;em&gt;Damien Learns Perl&lt;/em&gt;, one of the best Perl Iron Man blogs around, asked &lt;a href="http://damienlearnsperl.blogspot.com/2009/06/perl-iron-man.html"&gt;where the prizes are&lt;/a&gt;. Seemingly on cue, garu came out with my very own Iron Man blog prize: &lt;a href="http://onionstand.blogspot.com/2009/06/fast-concise-and-reliable-code-try-perl.html"&gt;a fantastically small, incredibly well-written advocacy guide to Perl&lt;/a&gt;. This is the sort of thing we should all be printing out and handing out at conferences, or going cubicle to cubicle with - a short, succinct, to-the-point summary of all of modern Perl's strengths. Brilliant!
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-6511594231981654567?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/06/wheres-prizes-heres-prizes.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-4830304215923716554</guid><pubDate>Mon, 04 May 2009 04:27:00 +0000</pubDate><atom:updated>2009-06-19T17:00:20.943+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>amazon ec2</category><category domain='http://www.blogger.com/atom/ns#'>bundle</category><title>Bundling an Amazon EC2 Linux instance into an AMI</title><description>&lt;p&gt;This is really more of a checklist than a guide, so please don't use this unless you know what you are doing! You can find Amazon's own version of this checklist in &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?bundling-an-ami-linux.html"&gt;their documentation&lt;/a&gt;.
&lt;/p&gt;

&lt;ol&gt;

&lt;li&gt;You should create this image in &lt;tt&gt;/mnt&lt;/tt&gt;, since this is where all your instance scratch space is mounted. So change the directory to &lt;tt&gt;/mnt&lt;/tt&gt; and make a new directory at &lt;tt&gt;/mnt/bundle&lt;/tt&gt;.
&lt;/li&gt;

&lt;li&gt;You will need to know your Amazon user id. It's your AWS account ID without dashes - your &lt;a href="https://aws-portal.amazon.com/gp/aws/developer/account/index.html"&gt;Account page&lt;/a&gt; should have &lt;q&gt;Account Number XXXX-XXXX-XXXX&lt;/q&gt;. Your user id is that number without the dashes.
&lt;/li&gt;

&lt;li&gt;You will need your EC2 private key and certificate to create the bundle. If you've lost yours, you can retrieve it (or generate new ones) at &lt;a href="https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&amp;action=access-key"&gt;&lt;em&gt;Access Identifiers&lt;/em&gt;&lt;/a&gt; in &lt;a href="http://aws.amazon.com/account"&gt;your account page&lt;/a&gt;.&lt;/li&gt;

&lt;li&gt;Upload the EC2 private key (&lt;tt&gt;pk-AAA...ZZZ.pem&lt;/tt&gt;) and certificate file (&lt;tt&gt;cert-AAA...ZZZ.pem&lt;/tt&gt;) onto your server's &lt;tt&gt;/mnt/bundle&lt;/tt&gt; folder. You'll use an SSH client to upload these files.

&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt; Do &lt;strong&gt;not&lt;/strong&gt; upload these files anywhere &lt;strong&gt;except&lt;/strong&gt; into the &lt;tt&gt;/mnt/bundle&lt;/tt&gt; area - your private key will otherwise be bundled into your new AMI, allowing anybody who starts it control over all your Amazon EC2 services.
&lt;/p&gt;

&lt;/li&gt;

&lt;li&gt;You will now need to use the &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?CLTRG-ami-bundle-vol.html"&gt;&lt;tt&gt;ami-bundle-vol&lt;/tt&gt;&lt;/a&gt; tool to bundle your instance. You might need to &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?bundling-an-ami-linux.html"&gt;install this tool separately&lt;/a&gt;, but if you used one of the default Amazon AMIs, it might already be pre-installed.&lt;/li&gt;

&lt;li&gt;From the &lt;tt&gt;/mnt/bundle&lt;/tt&gt; directory, run: 

&lt;blockquote&gt;&lt;pre&gt;
# ec2-bundle-vol -k pk-AAA...ZZZ.pem -c cert-AAA...ZZZ.pem -u &lt;em&gt;&amp;lt;your user id&amp;gt;&lt;/em&gt; -d /mnt/bundle/ -p a-descriptive-name-for-your-bundle 
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;It'll take a while to finish. Once it's done, you should have a &lt;tt&gt;/mnt/bundle/a-descriptive-name-for-your-bundle.manifest.xml&lt;/tt&gt;. This is your bundle manifest.
&lt;/p&gt;

&lt;li&gt;You'll probably want to upload this bundle to Amazon S3 now. To do this, you'll need your Amazon S3 access keys (available at &lt;a href="https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&amp;action=access-key"&gt;your access identifiers page&lt;/a&gt;) and the &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?CLTRG-ami-upload-bundle.html"&gt;&lt;tt&gt;ami-upload-bundle&lt;/tt&gt;&lt;/a&gt; executable.

&lt;p&gt;To start, from &lt;tt&gt;/mnt/bundle&lt;/tt&gt; run:&lt;/p&gt;

&lt;blockquote&gt;&lt;pre&gt;
# ec2-upload-bundle -b the-s3-bucket-to-use -m a-descriptive-name-for-your-bundle.manifest.xml -a &lt;em&gt;&amp;lt; your Amazon S3 access key &amp;gt;&lt;/em&gt; -s &lt;em&gt;&amp;lt; your Amazon S3 secret key &amp;gt;&lt;/em&gt;
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;All the &lt;tt&gt;part&lt;/tt&gt; files will then be uploaded to the Amazon S3 bucket specified.&lt;/p&gt;

&lt;/li&gt;

&lt;li&gt;Finally, you will need to register your instance with Amazon. The easiest way to do this is through the &lt;a href="https://console.aws.amazon.com/ec2/home"&gt;Amazon EC2 console&lt;/a&gt; - go to the &lt;q&gt;AMIs&lt;/q&gt; page, click on &lt;q&gt;Register New AMI&lt;/q&gt;, and enter the AMI manifest path as &lt;tt&gt;the-s3-bucket-to-use/a-descriptive-name-for-your-bundle.manifest-xml&lt;/tt&gt;. And you're done!

&lt;p&gt;You can also do this through the command line tools by using &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?CLTRG-register.html"&gt;&lt;tt&gt;ec2-register&lt;/tt&gt;&lt;/a&gt;.
&lt;/p&gt;
&lt;/li&gt;

&lt;li&gt;Once you're sure your new AMI has been properly set up and is ready for use (and you can't really until you spin up a new EC2 image based on it, can you?), you can delete the &lt;tt&gt;/mnt/bundle&lt;/tt&gt; directory.
&lt;/li&gt;

&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-4830304215923716554?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/05/bundling-amazon-ec2-linux-instance-into.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-500208396922143229</guid><pubDate>Sun, 26 Apr 2009 18:30:00 +0000</pubDate><atom:updated>2009-04-30T02:53:13.427+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>iron man blogging challenge</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><category domain='http://www.blogger.com/atom/ns#'>content</category><title>Iron men and women of Perl</title><description>&lt;p&gt;&lt;q&gt;Plotting and blogging Perl's resurgence.&lt;/q&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="http://www.enlightenedperl.org/ironman.html"&gt;Iron Man Blogging Challenge&lt;/a&gt; for Perl is on, and I'm going to submit this blog to it tonight.
&lt;/p&gt;

&lt;p&gt;The challenge itself is a really good idea - you see &lt;q&gt;Perl is going to die!&lt;/q&gt; posts every few months, and inevitably good ideas are raised, vigourously discussed, and then vanish in a &lt;q&gt;pop&lt;/q&gt; of deficit effort until they are raised again. The brilliant thing about the Blogging Challenge is that the work which needs to be done is perfectly distributed. I may go months without a post (unlikely; I've got atleast one draft sitting in my Blogger right now), but somebody else won't; not only will they spur me to write again, but you (and who are you? A Perl connoisseur? A newbie in search of answers?) will &lt;a href="http://ironman.enlightenedperl.org/"&gt;always have something interesting to read&lt;/a&gt;, much of which is fascinating reading. Little drops can flood a field.
&lt;/p&gt;

&lt;p&gt;I also like that the &lt;a href="http://www.enlightenedperl.org/"&gt;Enlightened Perl Organization&lt;/a&gt; is being very realistic about its goals. It obviously doesn't think it's going to &lt;a href="http://www.google.com/trends?q=perl%2C+python%2C+ruby"&gt;reverse the (Google) trend&lt;/a&gt;, but just wants everybody to write more. And by everybody, they mean everybody: all languages, all skill levels, all interests welcome. The &lt;a href="http://ironman.enlightenedperl.org/"&gt;Iron Man planet&lt;/a&gt; is already a fascinating cross-section of Perl community interests - testing, tools, HOWTOs, success stories, Perl 5, Perl 6 and Parrot. And on they come, one after another after another: inspiration, ideas, solutions, questions, answers and modules. Just two weeks into the competition, the raindrops have already turned into a downpour.
&lt;/p&gt;

&lt;p&gt;Will the volume of posts be maintained? I hope so; many of the "contestants" are regular bloggers in their own right, and Iron Man is just a convenient way to collate all their posts. But the long tail of short tales will be the most interesting - the complaints and victories of those learning the language for the first time, the first tentative posts about &lt;a href="http://www.iinteractive.com/moose/"&gt;Moose&lt;/a&gt; or &lt;a href="http://www.catalystframework.org/"&gt;Catalyst&lt;/a&gt; or other new forces in the Perl world, even &lt;a href="http://perlmonks.org/index.pl?node_id=759940"&gt;anecdotes about long ago Perls and even older problems&lt;/a&gt;. These posts will also be an opportunity for the community - usually said to be locked in its own echo chamber - to look at itself in a mirror and dispassionately examine its strengths and weaknesses.
&lt;/p&gt;

&lt;p&gt;I hope particularly that this leads to more people writing material which might eventually make it into CPAN documentation (particularly the cookbooks), into HOWTO articles or best-practice summaries, and leads to a monsoon shower of content for Perl's &lt;a href="http://win32.perl.org/wiki/index.php"&gt;many&lt;/a&gt; &lt;a href="https://trac.parrot.org/parrot/"&gt;fantastic&lt;/a&gt; &lt;a href="http://www.perlfoundation.org/perl5/index.cgi"&gt;wikis&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;Let it rain.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-500208396922143229?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2009/04/iron-men-and-women-of-perl-incomplete.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-595133156429089048</guid><pubDate>Wed, 05 Nov 2008 10:21:00 +0000</pubDate><atom:updated>2008-11-05T18:27:46.567+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>templates</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><title>Zen and a system of templates</title><description>&lt;p&gt;Found this on Dave Cross' &lt;a href="http://mag-sol.com/train/teachin/teachin1.html"&gt;Perl Teach-In lesson&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data + Template = Output: &lt;a href="http://template-toolkit.org/"&gt;Template Toolkit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Template + Output = Data: &lt;a href="http://search.cpan.org/search?query=Template::Extract"&gt;Template::Extract&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Data + Output = Template: &lt;a href="http://search.cpan.org/search?query=Template%3A%3AGenerate"&gt;Template::Generate&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-595133156429089048?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2008/11/zen-and-system-of-templates.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-5310328249770655293</guid><pubDate>Fri, 24 Oct 2008 12:02:00 +0000</pubDate><atom:updated>2008-10-24T20:05:25.222+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>perl</category><category domain='http://www.blogger.com/atom/ns#'>meditation</category><title>What music is Perl?</title><description>&lt;p&gt;Larry Wall writes about &lt;a href="http://www.linuxjournal.com/article/2070"&gt;Perl and its relation to art&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-5310328249770655293?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2008/10/what-music-is-perl.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8842186066806427639.post-56194598909080035</guid><pubDate>Thu, 23 Oct 2008 17:45:00 +0000</pubDate><atom:updated>2008-10-24T01:47:41.386+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>discussion</category><category domain='http://www.blogger.com/atom/ns#'>religion</category><category domain='http://www.blogger.com/atom/ns#'>perlmonks</category><category domain='http://www.blogger.com/atom/ns#'>perl</category><title>Why I code in Perl, pt 1</title><description>&lt;p&gt;Because how many languages can have &lt;a href="http://perlmonks.org/?node_id=614804"&gt;discussions like this&lt;/a&gt;? Note the reference to &lt;em&gt;1 Corinthians 12:14-26&lt;/em&gt; halfway down the thread.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8842186066806427639-56194598909080035?l=code.ggvaidya.com' alt='' /&gt;&lt;/div&gt;</description><link>http://code.ggvaidya.com/2008/10/why-i-code-in-perl-pt-1.html</link><author>noreply@blogger.com (Gaurav)</author><thr:total>0</thr:total></item></channel></rss>
