<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>dmiessler.com | grep understanding - Latest Comments in Totally Insane Web-based IDE</title><link>http://danielrm26.disqus.com/</link><description>dmiessler.com/about/</description><atom:link href="https://danielrm26.disqus.com/totally_insane_web_based_ide/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 01 Mar 2007 15:07:22 -0000</lastBuildDate><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353492</link><description>&lt;p&gt;this is cool..&lt;/p&gt;&lt;p&gt;check out &lt;a href="http://www.createworkspace.com" rel="nofollow noopener" target="_blank" title="www.createworkspace.com"&gt;www.createworkspace.com&lt;/a&gt; they are building something similar..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zenzic</dc:creator><pubDate>Thu, 01 Mar 2007 15:07:22 -0000</pubDate></item><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353491</link><description>&lt;p&gt;I just felt like being a code nazi.&lt;/p&gt;&lt;p&gt;I wrote it out and corrected it myself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Wed, 28 Feb 2007 22:05:24 -0000</pubDate></item><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353490</link><description>&lt;p&gt;Tim, you are completely correct on the second part (there is supposed to be a addition sign in there).  There is some other code that is cut as well, but this is actually a working Perl script when completely intact.  All it does is find the first &amp;gt;i&amp;gt;n numbers of the Fibonacci sequence where the user inputs n, but when I can manage to get the code together, it does work.  =)  The @ is just the list and the [blah] is an element of that list.  I was just playing around by writing it that way.    It is mostly all out of whack b/c I am giving this to my interviewees(sp?) to hand trace as one of my tests / interview questions for the positions that I am hiring for.   I want to make sure that they can hand trace code, so I have bad names for the vars and some strange notation (as well as no comments) to try to throw them off and at least challenge them slightly.  If you want the complete code, though, I would be happy to mail the correct .pl file to you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brad</dc:creator><pubDate>Wed, 28 Feb 2007 20:09:05 -0000</pubDate></item><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353489</link><description>&lt;p&gt;I noticed an error or two in your perl, but it could just be me.&lt;/p&gt;&lt;p&gt;You've got an extra curly bracket ('}') at the end of the function definition for foo().&lt;/p&gt;&lt;p&gt;Also, the line below doesn't seem right.  first, I think you need to use dollar signs instead of at symbols.  Second, I think there's supposed to be an operation of some sort between "$y[($count-1)]" and "$y[($count-2)]".&lt;/p&gt;&lt;p&gt;if($count&amp;gt;’2′){@y[$count] = @y[($count-1)] @y[($count-2)];}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Wed, 28 Feb 2007 15:02:48 -0000</pubDate></item><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353488</link><description>&lt;p&gt;sorry, forgot to escape my &amp;amp;lt &amp;amp; &amp;amp;gt haracters.&lt;/p&gt;&lt;p&gt;#!usr/bin/perl&lt;/p&gt;&lt;p&gt;use strict;&lt;/p&gt;&lt;p&gt;my $x;&lt;br&gt;my $count;&lt;br&gt;my @y;&lt;br&gt;my $y;&lt;/p&gt;&lt;p&gt;sub foo{&lt;br&gt;        $count  ;&lt;br&gt;        if($count&amp;amp;lt=$x){&lt;/p&gt;&lt;p&gt;                if($count=='1'){@y[$count]='0';}&lt;br&gt;                if($count=='2'){@y[$count]='1';}&lt;br&gt;                if($count&amp;amp;gt'2'){@y[$count] = @y[($count-1)] @y[($count-2)];}&lt;br&gt;                if($count&amp;amp;lt$x){foo();}&lt;/p&gt;&lt;p&gt;                elsif($count==$x){&lt;br&gt;                        foreach $y(@y){print $y." ";}&lt;/p&gt;&lt;p&gt;                        print "\n\n";&lt;br&gt;                        @y=();&lt;br&gt;                        main();&lt;br&gt;                }&lt;br&gt;        }&lt;br&gt;}&lt;/p&gt;&lt;p&gt;sub main{&lt;br&gt;        $count=0;&lt;br&gt;        print "Please enter a number [1..18] to continue\n:";&lt;br&gt;        $x = &amp;amp;lt&amp;gt;&lt;br&gt;        if($x=~m/[0-9] / &amp;amp;&amp;amp; $x&amp;amp;lt=20 &amp;amp;&amp;amp; $x&amp;amp;gt0){foo();}&lt;br&gt;        elsif($x&amp;amp;gt20||$x&amp;amp;lt0){main();}&lt;br&gt;        else{exit 0;}&lt;br&gt;}&lt;/p&gt;&lt;p&gt;main();&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brad</dc:creator><pubDate>Wed, 28 Feb 2007 08:52:30 -0000</pubDate></item><item><title>Re: Totally Insane Web-based IDE</title><link>http://dmiessler.com/blog/totally-insane-web-based-ide#comment-4353487</link><description>&lt;p&gt;That is pretty cool, but I had a few problems with it when I was trying to test it.  It seemed to work fine with simple "Hello World" type programs, but as the programs that I tested got more complex, it began to fail.  In case you want it, here is my "Result":&lt;/p&gt;&lt;p&gt;&lt;i&gt;(08:38:11) : Can't locate object method "new" via package "Benchmark" (perhaps you forgot to load "Benchmark"?) at /var/www/basic/lib/&lt;a href="http://WPLib.pm" rel="nofollow noopener" target="_blank" title="WPLib.pm"&gt;WPLib.pm&lt;/a&gt; line 304.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;I get that when trying to run the following:&lt;br&gt;&lt;i&gt;&lt;br&gt;#!usr/bin/perl&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;use strict;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;my $x;&lt;br&gt;my $count;&lt;br&gt;my @y;&lt;br&gt;my $y;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;sub foo{&lt;br&gt;        $count  ;&lt;br&gt;        if($count'2'){@y[$count] = @y[($count-1)] @y[($count-2)];}&lt;br&gt;                if($count;&lt;br&gt;        if($x=~m/[0-9] / &amp;amp;&amp;amp; $x0){foo();}&lt;br&gt;        elsif($x&amp;gt;20||$x&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;I have tried to remove the strict module and all of my "my" statements, but nothing seems to work.  Still, this seems to be a new project and I am sure that as time passes, more and more support will be available and more and more language functionality will be supported.  I am pretty excited to see what this project will develop into.  Thanks for the heads up!&lt;/i&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brad</dc:creator><pubDate>Wed, 28 Feb 2007 08:47:30 -0000</pubDate></item></channel></rss>