Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #11874
| Newsgroups | comp.programming |
|---|---|
| Date | 2021-01-21 09:29 -0800 |
| References | <33e7892e-fe91-4440-9843-515c88da309an@googlegroups.com> <i6tknsFvfeU1@mid.individual.net> <ruc76j$f3l$1@dont-email.me> <6009add6$0$35081$a92e2ab9@news.vipernews.com> <rucc07$mhv$1@dont-email.me> |
| Message-ID | <3f62690f-ff35-4b99-84ab-e2bb06fc154bn@googlegroups.com> (permalink) |
| Subject | Re: Getting random numbers. |
| From | H E <rob99999999999999999@gmail.com> |
David Brown kirjutas neljapäev, 21. jaanuar 2021 kl 19:00:59 UTC+2:
> On 21/01/2021 17:37, chovy wrote:
> >
> > go easy on the kid. lol
> >
> > i once had to learn how to do a table layout and if it weren't for #html
> > on efnet I never would have gotten 30 years of webdev under my belt.
> >
> I /have/ gone easy on him. Have a look at the posts I've made to him,
> and the posts he has made.
>
> (One thing good can be said about his posting - it has shown that there
> are a few more lurkers in this group than I thought. If there are some
> people who actually want to learn something, posting here could still be
> worth the effort - as long as they don't let Amine and Kristjan scare
> them away.)
Hello guys.
Nice to hear critics on me.
I think it had some good points in it.
I have seen, that the code, that I posted was incomplete.
I am sorry for reporting you that.
I copied it directly from "nano" in my manjaro linux. It cuts the ends away.
The last line in "for cycle" is cutted.
The full code:
<html>
<body>
<div id="aa1" style="width: 100%; word-wrap: break-word;">
</div>
<script>
var a1=0;
var a2=54.32
var a3=3.43;
var a4=5.53;
var a5=34.75;
var a0001=-1;
for(var i=0; i<2132; i++) {
a0001=(-1)*a0001;
var i01=i^1.914643966346+i^1.260774037134;
a1=a5^1.206040306030407046073;
a2=1.30461*a1^1.92423523;
a3=3.470347*a2^1.3620346375;
a4=2.306463*a3^1.5437347;
a5=a0001*a4*i01^1.2643634704673;
document.getElementById("aa1").append((a1^(2.04326974)-1.34634769432*a2^(3.5324986798213)+
1.43986739*a3^(4.23460181704968)-1.3489679834*a4^(5.120398567219386)+1.4869374986*a5^(6.280407732347245733547)));
}
var aa001=document.getElementById("aa1").innerHTML;
aa001=aa001.replace(/\./g,'');
aa001=aa001.replace(/\+/g,'');
aa001=aa001.replace(/e/g,'');
aa001=aa001.replace(/\-/g,'');
document.getElementById("aa1").innerHTML=aa001;
</script>
</body>
</html>
Kr.
372 6861327
ya12983 mail co m
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 07:11 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 15:25 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 16:38 +0100
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 16:37 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 08:37 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 18:00 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 09:29 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:02 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 10:21 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:39 +0000
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 06:32 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 08:51 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 09:15 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 11:13 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 09:27 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-23 12:28 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 12:10 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 20:55 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:08 -0800
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 13:53 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 22:53 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:57 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:13 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:20 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 20:39 -0800
csiph-web