<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>SpikeSource Employee Blogs</title>
      <link>http://developer.spikesource.com/blogs/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2008</copyright>
      <lastBuildDate></lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
           <item>
         <title>Vinay Srini - TestGen4Web update 1.0.0</title>
         <description><![CDATA[I am excited to announce testgen4web 1.0.0
This is a great release with lots of new features.

Download here: <a href="http://developer.spikesource.com/frs/?group_id=14&release_id=107">http://developer.spikesource.com/frs/?group_id=14&release_id=107</a>

Note: I have tested this on only firefox 3 - Please let me know if you need a firefox 2 version, and it can be tested there too!

Here are the list of features:

New features added:
<ol>
    <li><strong>brand new shiny editor</strong>: All new editor with easy to use interface. Much more simplified from the previous versions of the editor. See screenshot!.<br/>
<img alt="tg4w-screenshot2.png" src="http://developer.spikesource.com/blogs/vsrini/tg4w-screenshot2.png" width="518" height="279" />

    New features include:
    <ul>
        <li>Nicer editing featues</li>
        <li>Shows status of the current step when running the recording by adding a <font color='red'>&gt;&gt;</font> at the begining of the step in the editor</li>
        <li>"Run Status" tab on the right pane of the editor shows the status of the player/recorder, status of the datasets and variables<br/>
<img alt="runstatus.png" src="http://developer.spikesource.com/blogs/vsrini/runstatus.png" width="467" height="228" />
</li>
        <li>"Debug" tab provides easy way to run javascript on the page, build a xpath and try it out before running the actual command<br/>
<img alt="debug.png" src="http://developer.spikesource.com/blogs/vsrini/debug.png" width="459" height="366" />
</li>
    </ul>
    </li>
    <li><strong>execute-js action</strong>: execute random javascript during execution of the script. This would help developers work around some quirks of firefox and testgen4web. eg: http://developer.spikesource.com/forums/viewtopic.php?t=865</li>
    <li><strong>assert-text with xpath</strong>: this action until now was pretty much ignored. Now the user has an option to select where to assert the text. There are 2 ways
    <ul>
        <li>* as xpath will search the entire page</li>
        <li>specify an actual xpath will search in that area</li>
    </ul></li>
    <li><strong>detachable bar</strong>: you don't have to be thethered to the main window anymore. detach the testgen4web toolbar and keep it on the side for editing long recordings easily. <img alt="detach.gif" src="http://developer.spikesource.com/blogs/vsrini/detach.gif" width="16" height="16" />
</li>
    <li><strong>Simple xpath support</strong>: Now you can record with simple xpath. This xpath generating script will be complete xpath (NOTE: that your recording might break if simple things on your webpagee changes. I would still recommend that you use the 'smart xpath' option.
<img alt="simple-xpath.png" src="http://developer.spikesource.com/blogs/vsrini/simple-xpath.png" width="425" height="420" /></li>
</ol>]]></description>
         <link>http://developer.spikesource.com/blogs/vsrini/2008/06/testgen4web_update_10_1.html</link>
         <guid>http://developer.spikesource.com/blogs/vsrini/2008/06/testgen4web_update_10_1.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">TestGen4Web</category>
        
        
         <pubDate>Fri, 27 Jun 2008 11:41:49 -0800</pubDate>
      </item>
            <item>
         <title>traya - Shell Scripting - List all the variables that starts with a particular pattern</title>
         <description><![CDATA[Ofcourse `env | grep "pattern"` would work if the variables are exported. But you will have
to run 2 commands in pipe and export the variable. Simpler and smarter way to do it? ! and * 
for the rescue.

$>var1="asterix"
$>var2="obelix"
$>varIII="getafix"
$>varIV="julius"
$>varFiVe="caeser"
$>echo ${!var*}
var1 var2 varIII varIV varFiVe

Now time for some more magic. You can display the value of all these variables
<a href="http://thejaswihr.blogspot.com/2008/06/shell-scripting-dereferencing-variable.html">using this prop</a>
   $>for eachVar in ${!var*}; do
         echo ${!eachVar}
     done]]></description>
         <link>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_list_all_the_v.html</link>
         <guid>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_list_all_the_v.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Shell Scripting</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Bash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Shell Scripting</category>
        
         <pubDate>Wed, 25 Jun 2008 13:20:07 +0530</pubDate>
      </item>
            <item>
         <title>traya - Shell Scripting - Trick2 (2 special shell variables)</title>
         <description><![CDATA[Bash has many inbuilt variables most of which are well known. But there are few, which
many are not aware of. These turn out to be very handy when you are scripting.

<strong>$_</strong> : $_ will hold the value of the last parameter of the previous command. To explain with examples

     $>mkdir -p /opt/whats/life/without/lime
     $>echo $_
     /opt/whats/life/without/lime

Although its use is strongly discouraged in scripting due to code readability and maintenance, it turns out to be very when if you are a terminal addict.

     $>mkdir -p /opt/whats/life/without/lime
     $>cd $_
     $>pwd
     /opt/whats/life/without/lime
 
     $>vim -m /etc/yum.repos.d/fedora-core.repo
     $>sudo cp $_ /opt/backup (Copies /etc/yum.repos.d/fedora-core.repo to /opt/backup)

<strong>"$@"</strong> : "$@" is very similar to $*. $* stores the list of arguments passed to the shell script.
        But "$@" treats every quoted string as a separate argument unlike $*.

     display_args.sh
     ================
     #!/bin/bash
     echo "Number of arguments: $#"
     echo "3rd Argument:" $3 

     accept_args.sh
     ===============
     #!/bin/bash
     sh display_args.sh "$@"

    $>sh accept_args.sh 1 2 "Un Dos Thres" delta
    Number of arguments: 4
    3rd Argument: Un Dos Thres

    Replacing "$@" with $* will treat '1 2 "Un Dos Thres" delta' as 1 single argument

Hopefully it will turn out to be useful for someone out there.
For more Shell scripting gyaan refer to <a href="http://thejaswihr.blogspot.com/">my personal blog</a>. Oh by the way I am <a href="http://thejaswihr.blogspot.com/">Thejaswi Raya</a>  ;-)]]></description>
         <link>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_trick2_2_speci.html</link>
         <guid>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_trick2_2_speci.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Shell Scripting</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Bash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Shell Scripting</category>
        
         <pubDate>Wed, 18 Jun 2008 18:39:06 +0530</pubDate>
      </item>
            <item>
         <title>traya - Shell Scripting - Trick1(Generating all combinations of 2 sets of characters)</title>
         <description>Thought I will start sharing a few bash scripting tips and tricks I learnt and use in my day to day life. Here is my first one...

$&gt; echo {a,b}:{1,4}
a:1 a:4 b:1 b:4

$&gt; echo {asterix,obelix}\ {911,143}
asterix 911 asterix 143 obelix 911 obelix 143

$&gt; echo {a..z}:{1,2,3}
a:1 a:2 a:3 b:1 b:2 b:3 c:1 c:2 c:3 d:1 d:2 d:3 e:1 e:2 e:3 f:1 f:2 f:3 g:1 g:2 g:3 h:1 h:2 h:3 i:1 i:2 i:3 j:1 j:2 j:3 k:1 k:2 k:3 l:1 l:2 l:3 m:1 m:2 m:3 n:1 n:2 n:3 o:1 o:2 o:3 p:1 p:2 p:3 q:1 q:2 q:3 r:1 r:2 r:3 s:1 s:2 s:3 t:1 t:2 t:3 u:1 u:2 u:3 v:1 v:2 v:3 w:1 w:2 w:3 x:1 x:2 x:3 y:1 y:2 y:3 z:1 z:2 z:3

~m.a.v.e.r.i.c.k</description>
         <link>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_trick1generati.html</link>
         <guid>http://developer.spikesource.com/blogs/traya/2008/06/shell_scripting_trick1generati.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Shell Scripting</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Bash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Shell Scripting</category>
        
         <pubDate>Mon, 09 Jun 2008 10:46:07 +0530</pubDate>
      </item>
            <item>
         <title>Vinay Srini - TestGen4Web Tutorial Series - Using simple conditions</title>
         <description><![CDATA[<div style="text-align:center;border:1px solid green;">
<strong>"Using Simple Conditions with TestGen4Web"</strong><br/>
<a href="http://developer.spikesource.com/docman/view.php/14/853/tg4w-condition.htm">
<img alt="video.jpg" src="http://developer.spikesource.com/blogs/vsrini/video.jpg" width="36" height="28" />
</a>
</div>

Prompted by a <a href="http://developer.spikesource.com/forums/viewtopic.php?t=814">post</a> on the forums, here comes the 2nd video tutorial demonstrating creating a "simple condition" with testen4web.

There was one other video tutorial before this. Find all the links here:
<a href="http://developer.spikesource.com/wiki/index.php/Projects:TestGen4WebDocs#Tutorials">http://developer.spikesource.com/wiki/index.php/Projects:TestGen4WebDocs#Tutorials</a>]]></description>
         <link>http://developer.spikesource.com/blogs/vsrini/2007/12/testgen4web_tutorial_series_us.html</link>
         <guid>http://developer.spikesource.com/blogs/vsrini/2007/12/testgen4web_tutorial_series_us.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">TestGen4Web</category>
        
        
         <pubDate>Thu, 20 Dec 2007 09:16:49 -0800</pubDate>
      </item>
            <item>
         <title>Vinay Srini - New Video Tutorial Series - Using csv files to load data with TestGen4Web</title>
         <description><![CDATA[First a little introduction for those who don't know what TestGen4Web is:

<blockquote>TestGen4Web is a 2 part tool. 

1. A firefox extension where you can capture your navigation on the webpage and play it back.
2. A Unit Test generator to run tests on the command line without using firefox.
</blockquote>
More details at <a href="http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web">http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web</a>

There was a <a href="http://developer.spikesource.com/forums/viewtopic.php?t=802">comment</a> on our forum about lack of documentation about features - I decided to take action - thanks for rholder.

I have introduced a video tutorial series - which I will hopefully keep up and add more videos in the future.

<a href="http://developer.spikesource.com/wiki/index.php/Projects:TestGen4WebDocs#Tutorials">http://developer.spikesource.com/wiki/index.php/Projects:TestGen4WebDocs#Tutorials</a>

And finally ... the first tutorial ... drum roll ... introducing ....

<strong>"Using CSV Files with TestGen4Web"</strong>
<a href="http://developer.spikesource.com/docman/view.php/14/850/tg4w-dataset.htm">http://developer.spikesource.com/docman/view.php/14/850/tg4w-dataset.htm</a>]]></description>
         <link>http://developer.spikesource.com/blogs/vsrini/2007/12/new_video_tutorial_series_usin.html</link>
         <guid>http://developer.spikesource.com/blogs/vsrini/2007/12/new_video_tutorial_series_usin.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">TestGen4Web</category>
        
        
         <pubDate>Thu, 20 Dec 2007 09:16:49 -0800</pubDate>
      </item>
            <item>
         <title>Nimish Pachapurkar - SpikeWAMP works on Windows Server 2008 RC0</title>
         <description><![CDATA[I tried <a href="http://developer.spikesource.com/wiki/index.php/SpikeWAMP">SpikeWAMP</a> today on a virtual image (VMWare) of <a href="http://www.microsoft.com/windowsserver2008/default.mspx">Windows Server 2008</a> RC0 and it worked fine. 

Windows Server 2008 RC1 (which is the latest one out there) seems to have some problem with Cygwin. The stack installation got stuck for a long time - I traced it to a python process during the configuration phase of the stack. The process just sat there eating up all my CPU. Eventually, I had to kill it manually using Task Manager.
]]></description>
         <link>http://developer.spikesource.com/blogs/nimish/2007/12/spikewamp_works_on_windows_ser.html</link>
         <guid>http://developer.spikesource.com/blogs/nimish/2007/12/spikewamp_works_on_windows_ser.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">spikewamp</category>
        
        
         <pubDate>Wed, 19 Dec 2007 11:51:24 -0800</pubDate>
      </item>
            <item>
         <title>Nimish Pachapurkar - SpikeWAMP: Issues with Vista? Here&apos;s a solution</title>
         <description><![CDATA[If you are using Vista and having problems with the <a href="http://developer.spikesource.com/wiki/index.php/SpikeWAMP">SpikeWAMP stack</a> we released recently, you should be able to fix the problem manually.]]></description>
         <link>http://developer.spikesource.com/blogs/nimish/2007/12/spikewamp_issues_with_vista.html</link>
         <guid>http://developer.spikesource.com/blogs/nimish/2007/12/spikewamp_issues_with_vista.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">spikewamp</category>
        
        
         <pubDate>Tue, 18 Dec 2007 17:28:43 -0800</pubDate>
      </item>
            <item>
         <title>Nimish Pachapurkar - Released a free WAMP stack</title>
         <description><![CDATA[We released a new <a href="http://developer.spikesource.com/wiki/index.php/SpikeWAMP">free WAMP stack</a> today on our developer site. SpikeWAMP, as we call it, is a free stack containing Apache HTTPD, MySQL, and PHP among other components. It works on several flavors of Windows including XP, Vista and Server 2003. 

So doesn't this sound like just another WAMP stack? What's different? The answer is add-ons and updates.

The stack gives you ability to choose and install from a set of popular, open source PHP applications as add-ons. The applications are automatically configured and installed to work with the stack. This will allow people to pick and choose several applications to play with, without having to install several stacks.]]></description>
         <link>http://developer.spikesource.com/blogs/nimish/2007/12/release_a_new_free_wamp_stack.html</link>
         <guid>http://developer.spikesource.com/blogs/nimish/2007/12/release_a_new_free_wamp_stack.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">open source</category>
        
        
         <pubDate>Wed, 12 Dec 2007 14:49:16 -0800</pubDate>
      </item>
            <item>
         <title>Nagarajan - Read this before you pitch in!</title>
         <description><![CDATA[1. The problems are stated below as distinct entries in random order. 
2. More than one problem can be attempted. Each problem carries a reward.
3. Only the submissions that are done within the deadline (i.e. End of FOSS) will be considered for evaluation.
4. A submission is "correct", if it passes all the test cases.
5. A correct submission with additional "features" will be preferred to another correct submission ("features" are problem-dependent and should support/enhance the solution to the problem in hand).
6. Documentation is necessary.
7. Reuse of existing code is entertained as long as it is acknowledged, and does not strip out the licence of the reused code.




* Use the "Comments" system on each problem entry to post related queries.

* Email your solutions to <strong>nnatarajan</strong> and <strong>vrajagopalan</strong> (@<strong>spikesource.com</strong>)
]]></description>
         <link>http://developer.spikesource.com/blogs/fossprojects/2007/12/read_before_you_pitch_in.html</link>
         <guid>http://developer.spikesource.com/blogs/fossprojects/2007/12/read_before_you_pitch_in.html</guid>
        
        
         <pubDate>Mon, 03 Dec 2007 15:57:54 +0530</pubDate>
      </item>
            <item>
         <title>Nagarajan - VFS for Firefox</title>
         <description>Implement a Virtual File System (VFS) for offline storage in firefox. The VFS should be capable of efficiently managing the contents (web pages, etc) fetched from the web server or simply mirror the web server&apos;s file system. And this VFS should be as simple as a single file (like DAT file) and SHOULD NOT be accessible to any application/code other than the plugin you develop for the firefox.</description>
         <link>http://developer.spikesource.com/blogs/fossprojects/2007/12/vfs_for_firefox.html</link>
         <guid>http://developer.spikesource.com/blogs/fossprojects/2007/12/vfs_for_firefox.html</guid>
        
        
         <pubDate>Mon, 03 Dec 2007 15:19:15 +0530</pubDate>
      </item>
            <item>
         <title>Nagarajan - Cross platform Log Manager</title>
         <description>Develop a cross platform Log manager that can
        a. Collect and parse logs
        b. Filter on time and/or priority
        c. Alert high priority events (like send a mail)
        d. Rotate logs
</description>
         <link>http://developer.spikesource.com/blogs/fossprojects/2007/12/cross_platform_log_manager.html</link>
         <guid>http://developer.spikesource.com/blogs/fossprojects/2007/12/cross_platform_log_manager.html</guid>
        
        
         <pubDate>Mon, 03 Dec 2007 15:01:11 +0530</pubDate>
      </item>
            <item>
         <title>Nagarajan - WYSIWYG Editor for MediaWiki</title>
         <description><![CDATA[<a href="http://tinymce.moxiecode.com/">TinyMCE</a> is an editor for generating HTML files. Extend this editor for generating <a href="http://www.mediawiki.org">Mediawiki</a> syntax.

[Beware of hacks on the net!]]]></description>
         <link>http://developer.spikesource.com/blogs/fossprojects/2007/12/test.html</link>
         <guid>http://developer.spikesource.com/blogs/fossprojects/2007/12/test.html</guid>
        
        
         <pubDate>Mon, 03 Dec 2007 01:04:08 +0530</pubDate>
      </item>
            <item>
         <title>Vinay Srini - [citation] Linus Torvalds on Open Source: &apos;A Much Better Way to Do Things&apos;</title>
         <description><![CDATA["<em>Linux really wouldn't have gone anywhere interesting at all if it hadn't been released as an open source product. I also think that the change to the GPLv2 from my original 'no money' license was important, because the commercial interests were actually very important from the beginning. The commercial distributions were what drove a lot of the nice installers and pushed people to improve usability,</em>" said Linux creator Linus

Complete story here:
<a href="http://www.technewsworld.com/story/60052.html">http://www.technewsworld.com/story/60052.html</a>


While this blog talks about the creator of Linux, I have heard many different ways people pronounce <strong>'linux'</strong>. Here is how Linus Torvalds - the creator pronounces it himself.

<a href="http://www.paul.sladen.org/pronunciation/">http://www.paul.sladen.org/pronunciation/</a>]]></description>
         <link>http://developer.spikesource.com/blogs/vsrini/2007/11/citation_linus_torvalds_on_ope.html</link>
         <guid>http://developer.spikesource.com/blogs/vsrini/2007/11/citation_linus_torvalds_on_ope.html</guid>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">linux</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">open-source</category>
        
         <pubDate>Mon, 05 Nov 2007 09:40:54 -0800</pubDate>
      </item>
            <item>
         <title>Nimish Pachapurkar - Announcing JSBlend 0.8.2 </title>
         <description><![CDATA[A new version of <a href="http://developer.spikesource.com/wiki/index.php/Projects:JSBlend">JSBlend</a> is now released. The most important enhancement in this release is the support for editing both the files. I hope that this brings the tool even closer to a general-purpose diff editor. I have also added a floating menu on the top that gives quick access to the often-needed  operations - like saving the files, reloading the diffs, etc. 

The screenshot on <a href="http://developer.spikesource.com/wiki/index.php/Projects:JSBlend">JSBlend home page</a> has been updated.

Check out the new release at <a href="http://developer.spikesource.com/frs/?group_id=27&release_id=89">JSBlend Download Page</a>.
]]></description>
         <link>http://developer.spikesource.com/blogs/nimish/2007/10/anouncing_jsblend_082.html</link>
         <guid>http://developer.spikesource.com/blogs/nimish/2007/10/anouncing_jsblend_082.html</guid>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">jsblend</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">open-source</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">release</category>
        
         <pubDate>Mon, 22 Oct 2007 14:43:09 -0800</pubDate>
      </item>
      
   </channel>
</rss>
