<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns="http://purl.org/rss/1.0/"
 xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
>

<channel rdf:about="http://sial.org/pbot/">
<title>pasteling paste feed</title>
<link>http://sial.org/pbot/</link>
<description>Index of pastes on pasteling</description>
<dc:rights>The author disclaims all copyrights and releases this data into the public domain</dc:rights>
<dc:publisher>jmates@sial.org</dc:publisher>
<dc:creator>pasteling</dc:creator>
<dc:description>Index of pastes on pasteling</dc:description>
<syn:updatePeriod>hourly</syn:updatePeriod>
<syn:updateFrequency>1</syn:updateFrequency>
<syn:updateBase>2002-02-02T12:02+00:00</syn:updateBase>
<items>
 <rdf:Seq>
  <rdf:li rdf:resource="http://sial.org/pbot/33442" />
  <rdf:li rdf:resource="http://sial.org/pbot/33441" />
  <rdf:li rdf:resource="http://sial.org/pbot/33440" />
  <rdf:li rdf:resource="http://sial.org/pbot/33439" />
  <rdf:li rdf:resource="http://sial.org/pbot/33438" />
  <rdf:li rdf:resource="http://sial.org/pbot/33437" />
  <rdf:li rdf:resource="http://sial.org/pbot/33436" />
  <rdf:li rdf:resource="http://sial.org/pbot/33435" />
  <rdf:li rdf:resource="http://sial.org/pbot/33434" />
  <rdf:li rdf:resource="http://sial.org/pbot/33433" />
  <rdf:li rdf:resource="http://sial.org/pbot/33432" />
  <rdf:li rdf:resource="http://sial.org/pbot/33431" />
  <rdf:li rdf:resource="http://sial.org/pbot/33430" />
  <rdf:li rdf:resource="http://sial.org/pbot/33429" />
  <rdf:li rdf:resource="http://sial.org/pbot/33428" />
 </rdf:Seq>
</items>
</channel>

<item rdf:about="http://sial.org/pbot/33442">
<title>33442 "djmitche" at 70.88.148.217 error from my perl tests (using Test::More and Test::Harness)</title>
<link>http://sial.org/pbot/33442</link>
<description>&lt;pre>Amanda_Device...........dubious
       Test returned status 0 (wstat 11, 0xb)
Scalar found where operator expected at (eval 153) line 1, near &quot;&#39;int&#39;  $__val&quot;
       (Missing operator before   $__val?)
DIED. FAILED tests 147-300
       Failed 154/300 tests, 48.67% okay&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33441">
<title>33441 "tank" at 91.8.206.27 referer.log</title>
<link>http://sial.org/pbot/33441</link>
<description>&lt;pre>Zeit: 01.12.2008 02:17:18IP: 91.8.206.27 Referer:  Aufgerufene Seite: /unread
Zeit: 01.12.2008 02:17:22IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/unread Aufgerufene Seite: /forum
Zeit: 01.12.2008 02:18:05IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/forum Aufgerufene Seite: /forum/13
Zeit: 01.12.2008 02:18:18IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/forum/13 Aufgerufene Seite: /thread/461
Zeit: 01.12.2008 02:18:53IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/thread/461 Aufgerufene Seite: /stat
Zeit: 01.12.2008 02:19:29IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/stat Aufgerufene Seite: /cp;cat=summary
Zeit: 01.12.2008 02:19:32IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/cp;cat=summary Aufgerufene Seite: /cp;cat=logviewer
Zeit: 01.12.2008 02:19:43IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/cp;cat=logviewer Aufgerufene Seite: /users
Zeit: 01.12.2008 02:19:49IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/users Aufgerufene Seite: /forum.php?req=users&amp;sort=posts&amp;showgroup=0&amp;username=magen
Zeit: 01.12.2008 02:19:52IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/forum.php?req=users&amp;sort=posts&amp;showgroup=0&amp;username=magen Aufgerufene Seite: /user/
105
Zeit: 01.12.2008 02:19:55IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/user/105 Aufgerufene Seite: /user/105;cat=summary
Zeit: 01.12.2008 02:19:58IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/user/105;cat=summary Aufgerufene Seite: /user/105;cat=account
Zeit: 01.12.2008 02:20:06IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/user/105;cat=account Aufgerufene Seite: /user/105;cat=appearance
Zeit: 01.12.2008 02:20:16IP: 91.8.206.27 Referer: http://ogame.meinungsverstaerker.de/user/105;cat=appearance Aufgerufene Seite: /forum
&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33440">
<title>33440 Someone at 68.237.103.31 use strict; use warnings; use</title>
<link>http://sial.org/pbot/33440</link>
<description>&lt;pre>
use strict;
use warnings;
use Glib;
use Gtk2;
use Xchat qw(:all);

register( &quot;Window Mover&quot;, &quot;1.0&quot;, &quot;Add a command to move the window around&quot; );
hook_command( &quot;move&quot;, sub {
	my (undef, $x, $y) = @{$_[0]};

	if( defined $x and defined $y ) {
		my $window = Glib::Object-&gt;new_from_pointer( get_info( &quot;win_ptr&quot; ) );
		$window-&gt;move( $x, $y );
	}

	return EAT_XCHAT;
});
&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33439">
<title>33439 "mac-" at 83.29.41.180 &#39;enter&#39; character removal from string</title>
<link>http://sial.org/pbot/33439</link>
<description>&lt;pre>%passwords = qw(
mac     pass01
eva     pass02
user    pass );

print(&quot;Welcome in system, provide Your personal login: &quot;);
$main_login = &lt;STDIN&gt;;
chomp($main_login);
print(&quot;Provide Your password: &quot;);
$user_pass = &lt;STDIN&gt;;
chomp($user_pass);


$user_login = clear_login($main_login); 


if(sys_user($user_login))
 {
  if($passwords{$user_login} eq $user_pass)
   {
    print(&quot;\nAccess granted!\n&quot;);
   }
  else
   {
    print(&quot;\Login incorrect!\n&quot;);
   }
 }
else
 {
  if($user_pass eq &quot;duck&quot;)
   {
    print(&quot;\nAnonymous limited access granted!\n&quot;);
   }
  else
   {
    print(&quot;\nLogin Incorrect!\n&quot;);
   }
 }

sub clear_login
 {
my($login) = @_;
$login =~ s/\W.*//;
$login =~ tr/A-Z/a-z/;
return $login;
 }

sub sys_user 
 {
my($login) = @_;
 if($passwords{$login} ne &quot;&quot;)
  {
   return 1;
  }
   else
  {
   return 0;
  }
 } 
&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33438">
<title>33438 "HyperDevil" at 84.49.225.154 #!/usr/bin/perl use strict; us</title>
<link>http://sial.org/pbot/33438</link>
<description>&lt;pre>#!/usr/bin/perl
use strict;

use IO::Socket::INET;
use Device::SerialPort;

my $serialport = &quot;/dev/ttyS1&quot;;

#open serial port
my $port = Device::SerialPort-&gt;new ($serialport);
$port-&gt;databits(8);
$port-&gt;baudrate(38400);
$port-&gt;parity(&quot;none&quot;);
$port-&gt;stopbits(1);

#sub primer for tcp sending
sub sendtcp {
my $gmsk=shift;
my $sock = new IO::Socket::INET (
        PeerAddr =&gt; &#39;10.0.1.194&#39;,
        PeerPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        ) or die &quot;Can&#39;t create socket ($!)\n&quot;;

print &quot;$gmsk \n&quot;;
print $sock $gmsk;
#close($sock);
}

#check data on serial port and pass to sendtcp
while (1) {
        my $gmsk = $port-&gt;lookfor();
        if ($gmsk) {
        sendtcp $gmsk;
        }
        else { sleep(1); }
}&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33437">
<title>33437 "HyperDevil" at 84.49.225.154 server not looping</title>
<link>http://sial.org/pbot/33437</link>
<description>&lt;pre>#!/usr/bin/perl
#use strict;
use IO::Socket;

my $socket = new IO::Socket::INET (
        LocalHost =&gt; &#39;10.0.1.194&#39;,
        LocalPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        Listen =&gt; 1,
        Reuse =&gt; 1) or die &quot;can&#39;t create socket ($!) \n&quot;;

print &quot;Server listening on port 7070\n&quot;;

$client= $socket-&gt;accept();
while($line = &lt;$client&gt;) {
print $line;
}
&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33436">
<title>33436 "HyoerDevil" at 84.49.225.154 socket server</title>
<link>http://sial.org/pbot/33436</link>
<description>&lt;pre>#!/usr/bin/perl
use strict;
use IO::Socket::INET;

my $socket = new IO::Socket::INET (
        LocalHost =&gt; &#39;10.0.1.194&#39;,
        LocalPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        Listen =&gt; 1,
        Reuse =&gt; 1) or die &quot;can&#39;t create socket ($!) \n&quot;;

print &quot;Server listening on port 7070\n&quot;;

my $client;
while ($client = $socket-&gt;accept()) {
$client-&gt;autoflush(1);
while (&lt;$client&gt;) {
print $_;
}
close($client);
}&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33435">
<title>33435 "HyoerDevil" at 84.49.225.154 socket server</title>
<link>http://sial.org/pbot/33435</link>
<description>&lt;pre>#!/usr/bin/perl
use strict;
use IO::Socket::INET;

my $socket = new IO::Socket::INET (
        LocalHost =&gt; &#39;10.0.1.194&#39;,
        LocalPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        Listen =&gt; 1,
        Reuse =&gt; 1) or die &quot;can&#39;t create socket ($!) \n&quot;;

print &quot;Server listening on port 7070\n&quot;;

my $client;
while ($client = $socket-&gt;accept()) {
$client-&gt;autoflush(1);
while (&lt;$client&gt;) {
print $_;
}
close($client);
}&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33434">
<title>33434 Someone at 86.26.61.38 Trying to print the elements of @array1 but it always prints mechanize link objects</title>
<link>http://sial.org/pbot/33434</link>
<description>&lt;pre>#! perl/bin/perl
use strict;
use warnings;
use WWW::Mechanize;

my $mech = WWW::Mechanize-&gt;new();

my @array1;

my $url = &quot;http://localhost/index.html&quot;;

$mech-&gt;get($url);


push(@array1,grep{$_-&gt;url() !~ /sample/i} $mech-&gt;links()); 

foreach my $array1(@array1){
print $array1.&quot;\n&quot;;
}

###########
each time I print out the elements of @array1 I get mechanize link objects even trying:

push(@array1,[grep{$_-&gt;url() =~ /sample/i} $mech-&gt;links()]);
&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33433">
<title>33433 Someone at 84.49.225.154 client script</title>
<link>http://sial.org/pbot/33433</link>
<description>&lt;pre>use IO::Socket;
my $sock = new IO::Socket::INET (
        LocalHost =&gt; &#39;10.0.1.194&#39;,
        LocalPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        Listen =&gt; 1,
        Reuse =&gt; 1, );

my $new_sock = $sock-&gt;accept();
while(&lt;$new_sock&gt;) {
        $answer = $_;
        print &quot;$answer \n&quot;;
        }
close($sock);&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33432">
<title>33432 Someone at 84.49.225.154 server script</title>
<link>http://sial.org/pbot/33432</link>
<description>&lt;pre>use IO::Socket;
use Device::SerialPort;

my $tcpserver= &quot;10.0.1.194&quot;;
my $tcpport= &quot;7070&quot;;
my $serialport = &quot;/dev/ttyS0&quot;;

#open the tcp socket
my $sock = new IO::Socket::INET (
        PeerAddr =&gt; &#39;10.0.1.194&#39;,
        PeerPort =&gt; &#39;7070&#39;,
        Proto =&gt; &#39;tcp&#39;,
        );

#start serial port
my $port = Device::SerialPort-&gt;new ($serialport);
$port-&gt;databits(8);
$port-&gt;baudrate(38400);
$port-&gt;parity(&quot;none&quot;);
$port-&gt;stopbits(1);

while (1) {
        my $gmsk = $port-&gt;lookfor();
        if ($gmsk) {
        print $sock $gmsk;
        close($socket);
        }
        else { sleep(1); }
}&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33431">
<title>33431 "Mev" at 76.247.107.132 Does not loop!?!</title>
<link>http://sial.org/pbot/33431</link>
<description>&lt;pre>
my $user_choice;
do {
	print &quot;Add show to watch (empty for none)?: &quot;;
	chomp (my $user_choice=&lt;STDIN&gt;);
	if ($user_choice =~ m/^(\d+)\Z/ and $sorted_tv[$user_choice-1]) {
		open WANTED, &quot;&gt;&gt;$watch_file&quot;;
		print WANTED $sorted_tv[$user_choice-1],&quot;\n&quot;;
		close WANTED;
	}
} while ( $user_choice);&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33430">
<title>33430 "robbe" at 134.184.49.49 samenvattingsje</title>
<link>http://sial.org/pbot/33430</link>
<description>&lt;pre>20:42 &lt; robbe-&gt; main{ loop1(); loop2(); }
20:42 &lt; robbe-&gt; interrupt in either loop1 or loop2 handles interrupt, loop finishes what it was doing, but then no matter what loop1(); gets executed
20:43 &lt;@PoppaVic&gt; well, from the view of the processor - there is another, outer loop ;-)
20:44 &lt; robbe-&gt; yes, but interrupt inside loop1(); works, but instead of continuing the code and executing loop2(); it restarts the main(); - and that&#39;s not what the correct behavior is :)
20:44 &lt;@PoppaVic&gt; is it munging the return-stack?
20:45 &lt;@PoppaVic&gt; because, it _sounds_ like it&#39;s screwed up the base-ptr to the stackframe
20:46 &lt; LordOllie&gt; or the offset register
20:46 &lt;@PoppaVic&gt; yah
20:46 &lt; robbe-&gt; this time it&#39;s not my fault I think
20:47  * robbe- is going to delve in the cpu manual and the generated asm code
20:47 &lt; robbe-&gt; I&#39;ll need to do that at some point anyway :p
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20:47 &lt;@PoppaVic&gt; ok
20:47 &lt; Dianora&gt; ooo oooo
20:48 &lt;@PoppaVic&gt; ??? ????
20:48 &lt; Dianora&gt; robbe: you blowing up the stack?
20:48 &lt;@PoppaVic&gt; how goes it LordOllie ?
20:48 &lt; Dianora&gt; robbe: or stackless machine like the ppc ?
20:48 &lt;@PoppaVic&gt; Dianora:  no idea the machine, but the effects would be similar
20:49 &lt; robbe-&gt; Dianora: ARM7TDMI-S processor if that answers your questions :)
20:49 &lt; Dianora&gt; yeah
20:49 &lt; Dianora&gt; some of the ARM&#39;s have hardware assisted stack
20:49 &lt; Dianora&gt; I suspect you don&#39;t have one of those
20:49 &lt; Dianora&gt; and you are clobbering a reg
20:49 &lt; robbe-&gt; I&#39;m not, gcc is :p
20:50 &lt;@PoppaVic&gt; It&#39;s fun.. 20 folks here, and over 520 in ##C - and we do the acutal conversations and code ;-)
20:50 &lt; Dianora&gt; gcc does not save all regs
20:50 &lt;@PoppaVic&gt; yah, I&#39;m sure it&#39;s a reg-issue.
20:50 &lt; Dianora&gt; it&#39;s pathetic
20:50 &lt; Dianora&gt; means you can&#39;t do proper tasking
20:50 &lt; robbe-&gt; so .. I&#39;m probably right that it&#39;s gcc&#39;s fault ?
20:50 &lt; robbe-&gt; \o/
20:50 &lt; Dianora&gt; yeah I&#39;d look at the save/restore proplogues
20:50 &lt; robbe-&gt;  456      64c: e92dd80f  stmdb sp!, {r0, r1, r2, r3, fp, ip, lr, pc}
20:50 &lt; Dianora&gt; aye
20:50 &lt; Dianora&gt; store multiple
20:51 &lt; Dianora&gt; where is r4 ?
20:51 &lt;@PoppaVic&gt; I think gcc added some freaky attrib/property to the compiler to &quot;suggest&quot; context save/restore
20:51 &lt; robbe-&gt; I suspected that there wasn&#39;t enough stored
20:51 &lt; Dianora&gt; ditto
20:51 &lt; Dianora&gt; naw
20:51 &lt; robbe-&gt; Dianora: dunno - I&#39;m about to read more in the manual :)&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33429">
<title>33429 "kRApdDgBMJBg" at 158.64.14.22 fnZhKLpLDQ</title>
<link>http://sial.org/pbot/33429</link>
<description>&lt;pre>j2x8pr  &lt;a href=&quot;http://ocjvkuunpkri.com/&quot;&gt;ocjvkuunpkri&lt;/a&gt;, [url=http://osvztnvgkrwg.com/]osvztnvgkrwg[/url], [link=http://injahmoidpmk.com/]injahmoidpmk[/link], http://rifsfybnsakl.com/&lt;/pre></description>
</item>

<item rdf:about="http://sial.org/pbot/33428">
<title>33428 Someone at 60.242.154.3 &quot; handy perl things au FileTyp</title>
<link>http://sial.org/pbot/33428</link>
<description>&lt;pre>&quot;  handy perl things
au FileType perl
    \ set iskeyword+=: |
    \ map &lt;C-C&gt; :w&lt;cr&gt;:!perl -Mlib=.,$( dirname %)/{lib,.},$(dirname $(dirname %))/{lib,.} -Tc -MVi::QuickFix % ;&lt;cr&gt; :cf&lt;cr&gt;

&quot; want something to do prove too!


&quot; some php stuff
au BufNewFile,BufRead *php
    \ &quot; auto-complete PHP tags (Ctrl-X Ctrl-K)
    \ set dictionary=~/php.dictionary
    \ map &lt;C-C&gt; :!file=%; php -ln $file &lt;cr&gt;

&lt;/pre></description>
</item>

</rdf:RDF>