Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18519 > unrolled thread

A little bit magic . . . . .

Started byH e <he12457@hotmail.com>
First post2021-01-15 12:20 -0800
Last post2021-01-16 19:39 +0100
Articles 4 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  A little bit magic . . . . . H e <he12457@hotmail.com> - 2021-01-15 12:20 -0800
    Re: A little bit magic . . . . . Jerry Stuckle <jstucklex@attglobal.net> - 2021-01-15 22:34 -0500
      Re: A little bit magic . . . . . H e <he12457@hotmail.com> - 2021-01-15 22:12 -0800
        Re: A little bit magic . . . . . Arno Welzel <usenet@arnowelzel.de> - 2021-01-16 19:39 +0100

#18519 — A little bit magic . . . . .

FromH e <he12457@hotmail.com>
Date2021-01-15 12:20 -0800
SubjectA little bit magic . . . . .
Message-ID<beea3610-fd2b-4853-9cf2-096709ce2b43n@googlegroups.com>
<?php

$a00="RHORJEGOEOGHFWEROGJOTJYKERHPWMCMPERIYIRYPJGBGJWFMWPKMLFDSNLNLNLZAXQWODHOTRJHOJTHOJ";

$a="";
$b="";

for($i=0; $i<55555; $i++) {
   $ii=$a00[rand(0,strlen($a00))];
   $a.=$ii;
}
for($i=0; $i<55555; $i++) {
   $ii=$a00[rand(0,strlen($a00))];
   $b.=$ii;
}


$a1=array();

for($i=0; $i<strlen($a); $i++) {
    $a1[]=$i;
}

$a2=array();

for($i=0; $i<strlen($a); $i++) {
    $a2[]=$i;
}
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);
shuffle($a1);
shuffle($a2);


$a01=array();
for($i=0; $i<strlen($a); $i++) {
    $a01[]=substr($a,$a1[$i],1);
}

$a02=array();
for($i=0; $i<strlen($a); $i++) {
    $a02[]=substr($b,$a2[$i],1);
}


for($i=0; $i<strlen($a); $i++) {
    if($a01[$i]==$a02[$i]) echo $a01[$i]." ";
}


?>




Kristjan Robam

E-mail: iiiiiiiiiiiia bestmail us
Tel: 372 6861327

[toc] | [next] | [standalone]


#18522

FromJerry Stuckle <jstucklex@attglobal.net>
Date2021-01-15 22:34 -0500
Message-ID<rttmt2$32r$1@jstuckle.eternal-september.org>
In reply to#18519
On 1/15/2021 3:20 PM, H e wrote:

Snip BS

"Magic" would be if you would stop posting this crap.  If you think 
you're showing the world how great your programming is, you are sadly 
mistaken.

I would never hire someone who writes code like you do.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#18523

FromH e <he12457@hotmail.com>
Date2021-01-15 22:12 -0800
Message-ID<162c352b-759a-49bd-a882-a42309cfd648n@googlegroups.com>
In reply to#18522
Jerry Stuckle kirjutas laupäev, 16. jaanuar 2021 kl 05:35:04 UTC+2:
> On 1/15/2021 3:20 PM, H e wrote: 
> 
> Snip BS 
> 
> "Magic" would be if you would stop posting this crap. If you think 
> you're showing the world how great your programming is, you are sadly 
> mistaken. 
> 
> I would never hire someone who writes code like you do. 
> 
> -- 
> ================== 
> Remove the "x" from my email address 
> Jerry Stuckle 
> jstu...@attglobal.net 
> ==================


Yes, I noticed, that my first code, that I posted here was not very impressive.



Kristjan Robam
E-mail: iiiiiiiiiiiia bestmail us
Tel: 372 6861327

[toc] | [prev] | [next] | [standalone]


#18528

FromArno Welzel <usenet@arnowelzel.de>
Date2021-01-16 19:39 +0100
Message-ID<i6gq7lFg1noU2@mid.individual.net>
In reply to#18523
H e:

> Jerry Stuckle kirjutas laupäev, 16. jaanuar 2021 kl 05:35:04 UTC+2:
>> On 1/15/2021 3:20 PM, H e wrote: 
>>
>> Snip BS 
>>
>> "Magic" would be if you would stop posting this crap. If you think 
>> you're showing the world how great your programming is, you are sadly 
>> mistaken. 
>>
>> I would never hire someone who writes code like you do. 
>>
>> -- 
>> ================== 
>> Remove the "x" from my email address 
>> Jerry Stuckle 
>> jstu...@attglobal.net 
>> ==================
> 
> 
> Yes, I noticed, that my first code, that I posted here was not very impressive.

The second is also not impressive. It just produces a bunch of
characters without meaning:

H W O P W T R R R H O D G G G F J W Y R E W K J R J I R H O H E W E J R
O W E O H H E L R E O O O R I W L O O H J M J O H P E O R T R R O Y O D
O E W J R L J R O H R E Y J O G O O R W W M O J P W H J L J P R O J O W
M J O L L J M C O J L P J G J W R O W R E H N J H W M O O J G O O O M O
P T Y H H J P P O F E J J G O M O L E O R H E R S F O R M J R O D J O O
R J J O I E P Y O J R E E O J H J J L O F R R N W F O P W R W K Y G J J
P Y O P J Y J O M G O O P O W H G J J F Y O H W O K P G P R R J D W A J
T O R T P G J F O P O K O R E W Y K J L O D O O J T P G T M J F L P N O
J O J O Y G Y R O J J O H M Y O M N O E P N R L T O J O D R E E J O O J
O G I H O R C F O J O W O Y ...

So what's the point of this? Is this a kind of experiment of just trolling?


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web