<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for The Joys of Computing</title>
	<atom:link href="http://thejoysofcomputing.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://thejoysofcomputing.wordpress.com</link>
	<description>Used to be something else but now basically contains some useful PHP scripts. That&#039;s all!</description>
	<lastBuildDate>Tue, 18 Oct 2011 23:30:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Using a wireless USB modem in Linux. by Amit Shankar</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/07/09/using-a-wireless-usb-modem-in-linux/#comment-102</link>
		<dc:creator><![CDATA[Amit Shankar]]></dc:creator>
		<pubDate>Tue, 18 Oct 2011 23:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=7#comment-102</guid>
		<description><![CDATA[[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud=115200
Dail Command = ATDT
init1 = ATZ
init2 = AT+CRM = 1

Username = 
Password = 6122996243
Phone = #777
Stupid Mode = 1
ISDN=0
With few chance]]></description>
		<content:encoded><![CDATA[<p>[Dialer Defaults]<br />
Modem = /dev/ttyUSB0<br />
Baud=115200<br />
Dail Command = ATDT<br />
init1 = ATZ<br />
init2 = AT+CRM = 1</p>
<p>Username =<br />
Password = 6122996243<br />
Phone = #777<br />
Stupid Mode = 1<br />
ISDN=0<br />
With few chance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate Verification Key by Sending Mail : The Code Pilgrim&#39;s Progress</title>
		<link>http://thejoysofcomputing.wordpress.com/2010/02/07/generate-verification-key/#comment-89</link>
		<dc:creator><![CDATA[Sending Mail : The Code Pilgrim&#39;s Progress]]></dc:creator>
		<pubDate>Sat, 27 Mar 2010 06:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=129#comment-89</guid>
		<description><![CDATA[[...] Sending mail using PHP is very simple. Here I&#8217;ll show how we can send the activation mail to a registered using along with the verification key we generated in last post. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Sending mail using PHP is very simple. Here I&#8217;ll show how we can send the activation mail to a registered using along with the verification key we generated in last post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using a wireless USB modem in Linux. by crz</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/07/09/using-a-wireless-usb-modem-in-linux/#comment-88</link>
		<dc:creator><![CDATA[crz]]></dc:creator>
		<pubDate>Fri, 26 Mar 2010 13:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=7#comment-88</guid>
		<description><![CDATA[Yes, I do have the same problem and I haven&#039;t found a resolution other than what you said. However, now I have shifted to VMware installed Kubuntu, so my connection from Win7 automatically gets accessed from Linux.]]></description>
		<content:encoded><![CDATA[<p>Yes, I do have the same problem and I haven&#8217;t found a resolution other than what you said. However, now I have shifted to VMware installed Kubuntu, so my connection from Win7 automatically gets accessed from Linux.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using a wireless USB modem in Linux. by Bijon</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/07/09/using-a-wireless-usb-modem-in-linux/#comment-86</link>
		<dc:creator><![CDATA[Bijon]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 02:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=7#comment-86</guid>
		<description><![CDATA[Nice and informative.

I have been using the BSNL EVDO modem on Fedora 10. I found that when the ZTE modem is connected the detection of product/vendor id and loading of usbserial automatic.

I have been using this modem and the wvdial utility.

However I have noticed a problem of redialling. When you disconnect using Control+C and then try to reconnect using wvdial again you find that the modem is not getting initialized and you get some garbage characters on your terminal but no reconnect. 

I have to physically disconnect the modem and reconnect it back for the redialling to work. Could you see if your set-up using wvdial gives the same problem?]]></description>
		<content:encoded><![CDATA[<p>Nice and informative.</p>
<p>I have been using the BSNL EVDO modem on Fedora 10. I found that when the ZTE modem is connected the detection of product/vendor id and loading of usbserial automatic.</p>
<p>I have been using this modem and the wvdial utility.</p>
<p>However I have noticed a problem of redialling. When you disconnect using Control+C and then try to reconnect using wvdial again you find that the modem is not getting initialized and you get some garbage characters on your terminal but no reconnect. </p>
<p>I have to physically disconnect the modem and reconnect it back for the redialling to work. Could you see if your set-up using wvdial gives the same problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate Verification Key by CBT</title>
		<link>http://thejoysofcomputing.wordpress.com/2010/02/07/generate-verification-key/#comment-77</link>
		<dc:creator><![CDATA[CBT]]></dc:creator>
		<pubDate>Mon, 15 Feb 2010 01:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=129#comment-77</guid>
		<description><![CDATA[What programming language is this, PHP?  I was about to write a couple of ways to make it more Perlish, before I realized it wasn&#039;t Perl!

BTW, your check to avoid duplicated chars actually reduces the randomness of these verification keys.]]></description>
		<content:encoded><![CDATA[<p>What programming language is this, PHP?  I was about to write a couple of ways to make it more Perlish, before I realized it wasn&#8217;t Perl!</p>
<p>BTW, your check to avoid duplicated chars actually reduces the randomness of these verification keys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate Verification Key by Sending Mail &#171; The Joys of Computing</title>
		<link>http://thejoysofcomputing.wordpress.com/2010/02/07/generate-verification-key/#comment-76</link>
		<dc:creator><![CDATA[Sending Mail &#171; The Joys of Computing]]></dc:creator>
		<pubDate>Sun, 07 Feb 2010 17:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=129#comment-76</guid>
		<description><![CDATA[[...] Comments (RSS)       &#171; Generate Verification&#160;Key [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Comments (RSS)       &laquo; Generate Verification&nbsp;Key [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What the Llama taught me? Part &#8211; 1 by crz</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/09/05/what-the-llama-taught-me-part-1/#comment-73</link>
		<dc:creator><![CDATA[crz]]></dc:creator>
		<pubDate>Thu, 12 Nov 2009 14:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=103#comment-73</guid>
		<description><![CDATA[@shawncorey In that case some one should point this out to one of the authors. The book is in it&#039;s 5th edition and I can&#039;t believe this went unnoticed till now.]]></description>
		<content:encoded><![CDATA[<p>@shawncorey In that case some one should point this out to one of the authors. The book is in it&#8217;s 5th edition and I can&#8217;t believe this went unnoticed till now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What the Llama taught me? Part &#8211; 1 by shawnhcorey</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/09/05/what-the-llama-taught-me-part-1/#comment-71</link>
		<dc:creator><![CDATA[shawnhcorey]]></dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=103#comment-71</guid>
		<description><![CDATA[No, they&#039;re not the same.  This is the point I&#039;m trying to make.  In this case, the book is wrong; intervening values do not exist.

This is a problem that is more pronounced with hashes.  It is possible for a hash key to exist but have an undefined value.  The general rule is:  use define() to test for array elements and use exist() to test for hash elements.]]></description>
		<content:encoded><![CDATA[<p>No, they&#8217;re not the same.  This is the point I&#8217;m trying to make.  In this case, the book is wrong; intervening values do not exist.</p>
<p>This is a problem that is more pronounced with hashes.  It is possible for a hash key to exist but have an undefined value.  The general rule is:  use define() to test for array elements and use exist() to test for hash elements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What the Llama taught me? Part &#8211; 1 by crz</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/09/05/what-the-llama-taught-me-part-1/#comment-70</link>
		<dc:creator><![CDATA[crz]]></dc:creator>
		<pubDate>Tue, 10 Nov 2009 05:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=103#comment-70</guid>
		<description><![CDATA[Ok, it&#039;s showing &quot;Use of uninitialized value within @fred in print at....&quot;. The Llama said &quot;If Perl needs to create the intervening elements, it creates them as undef values.&quot;. So here should I understand that Perl didn&#039;t find it useful to create the intervening elements, or isn&#039;t this same as undef?]]></description>
		<content:encoded><![CDATA[<p>Ok, it&#8217;s showing &#8220;Use of uninitialized value within @fred in print at&#8230;.&#8221;. The Llama said &#8220;If Perl needs to create the intervening elements, it creates them as undef values.&#8221;. So here should I understand that Perl didn&#8217;t find it useful to create the intervening elements, or isn&#8217;t this same as undef?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What the Llama taught me? Part &#8211; 1 by Shawn</title>
		<link>http://thejoysofcomputing.wordpress.com/2009/09/05/what-the-llama-taught-me-part-1/#comment-68</link>
		<dc:creator><![CDATA[Shawn]]></dc:creator>
		<pubDate>Mon, 09 Nov 2009 21:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://thejoysofcomputing.wordpress.com/?p=103#comment-68</guid>
		<description><![CDATA[7) If you do:

  my @fred = ();
  $fred[999] = &#039;somevalue&#039;;

then $fred[0..998] do not exist.

#!/usr/bin/perl

use strict;
use warnings;

my @fred = ();
$fred[9] = &#039;somevalue&#039;;

for my $i ( 0 .. $#fred ){
  if( exists $fred[$i] ){
    if( defined $fred[$i] ){
      print &quot;\$fred[$i] exists, is defined, and has value $fred[$i]\n&quot;;
    }else{
      print &quot;\$fred[$i] is not defined\n&quot;;
    }
  }else{
    print &quot;\$fred[$i] does not exists\n&quot;;
  }
}


13) Always have a return statement for your sub&#039;s.  That way you always know what is returned.

sub foo {
  return;
}

If foo() is called in a scalar context, undef is returned.  If it is called in a list context, the empty list, (), is returned.

sub bad_return {
  return undef;
}

In a list context, this will return a list of one element: ( undef )  This is not the empty list.


14) All the special Perl variables can be found here: http://perldoc.perl.org/perlvar.html


Plus:

Always `use strict;`  It will cause a fatal compile error for most things you do not want to do.]]></description>
		<content:encoded><![CDATA[<p>7) If you do:</p>
<p>  my @fred = ();<br />
  $fred[999] = &#8216;somevalue&#8217;;</p>
<p>then $fred[0..998] do not exist.</p>
<p>#!/usr/bin/perl</p>
<p>use strict;<br />
use warnings;</p>
<p>my @fred = ();<br />
$fred[9] = &#8216;somevalue&#8217;;</p>
<p>for my $i ( 0 .. $#fred ){<br />
  if( exists $fred[$i] ){<br />
    if( defined $fred[$i] ){<br />
      print &#8220;\$fred[$i] exists, is defined, and has value $fred[$i]\n&#8221;;<br />
    }else{<br />
      print &#8220;\$fred[$i] is not defined\n&#8221;;<br />
    }<br />
  }else{<br />
    print &#8220;\$fred[$i] does not exists\n&#8221;;<br />
  }<br />
}</p>
<p>13) Always have a return statement for your sub&#8217;s.  That way you always know what is returned.</p>
<p>sub foo {<br />
  return;<br />
}</p>
<p>If foo() is called in a scalar context, undef is returned.  If it is called in a list context, the empty list, (), is returned.</p>
<p>sub bad_return {<br />
  return undef;<br />
}</p>
<p>In a list context, this will return a list of one element: ( undef )  This is not the empty list.</p>
<p>14) All the special Perl variables can be found here: <a href="http://perldoc.perl.org/perlvar.html" rel="nofollow">http://perldoc.perl.org/perlvar.html</a></p>
<p>Plus:</p>
<p>Always `use strict;`  It will cause a fatal compile error for most things you do not want to do.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
