Search found 185 matches

by stevepoole
Fri Mar 15, 2019 6:16 am
Forum: Software & Programming
Topic: Random Number Generation
Replies: 4
Views: 268

Re: Random Number Generation

Hi, The book 'ALGORYTHMS' by Robert Sedgewick (1983) illustrates many fundamental core routines, written in an older Pascal. It discusses random number generation among others, and shows an incomplete method being investigated by maths boffins at that time. After some experimentation, I was able to ...
by stevepoole
Thu Mar 14, 2019 10:50 am
Forum: Software & Programming
Topic: Random Number Generation
Replies: 4
Views: 268

Re: Random Number Generation

Hi, Yes Dave, the 'Ernie' Premium Bonds prize random number generator used two interfering Zenner Diodes to operate. I don't know if this is still the case. The DIY routines use a Randomiser before generating a series. This works because on an emulator, PCs are constantly multitasking many programs....
by stevepoole
Wed Mar 13, 2019 9:05 am
Forum: Software & Programming
Topic: Random Number Generation
Replies: 4
Views: 268

Random Number Generation

Hi, Just over a year ago, I needed large random numbers, so I tried to write my own code to do generate them. Finally, after much statistical testing, I obtained results as good as the Sinclair ROM RND() functions. The listing produces screen output to compare the two sets of functions. Of course yo...
by stevepoole
Tue Feb 12, 2019 6:50 am
Forum: Software & Programming
Topic: C++
Replies: 22
Views: 1096

Re: C++

Hi, Do we really need classes ? I use C++, but get by without them ! C++ is better than C, but mainly as it cures some C problems, such as poor input and output operators. And as it is not an interpreted language, bug-finding can be pretty horrendous. Why use C++ at all ? The simple answer is that i...
by stevepoole
Sat Dec 01, 2018 10:25 pm
Forum: The Off-Topic Section
Topic: QL Jokes
Replies: 25
Views: 2033

Re: QL Jokes

NormanDunbar wrote:

How many QL developers does it take to screw in a light bulb?

>> Fifty chinese QL Tinkerers : "Many hands make light work"
by stevepoole
Sun Sep 23, 2018 10:23 pm
Forum: Help for New Users
Topic: QL Tinkering
Replies: 92
Views: 14238

Re: QL Tinkering

Hi qbits, Integer FOR loops are faster than FP ones if you Turbo them. (The Turbo manual is full of good tips on fast coding tricks). I find timings using an emulator are not consistant, as they are on QL hardware, because of PC overheads. Timings on QLs are slower than on emulators, but can be scal...
by stevepoole
Thu Sep 20, 2018 10:33 pm
Forum: Help for New Users
Topic: QL Tinkering
Replies: 92
Views: 14238

Re: QL Tinkering

Hi there, Many years ago I wrote a small piece of SuperBasic code placed at the beginning of a program to test timings of all the different SB statements. I sent the results off to Quanta, the most surprising of which was that (LET) assignements were very slow operations compared even to say divisio...
by stevepoole
Mon Sep 10, 2018 10:07 am
Forum: Software & Programming
Topic: GitHub
Replies: 1
Views: 341

GitHub

Hi everyone, The Shrink TSP program needs to be made available to people on PCs other than Apple. We have been asked to place it on GitHub, but this site is now owned by Microsoft. Are there any other realistic alternatives ? (GitHub is for the C++ source code, but we want to make the binary accessi...
by stevepoole
Mon Sep 10, 2018 6:47 am
Forum: General QL Chat
Topic: QL & PC Joysticks
Replies: 16
Views: 1764

Re: QL & PC Joysticks

Hi Folks, I bought an 8$ USB-adapter cable for my QL Joystick, but my W 8.1 laptop turned it off after a second. So I tried it on my XP PC and it stayed turned on, but with no button responses, (and no internet connection available). Back on the laptop, I downloaded JOYtoKEY software, and plugged in...
by stevepoole
Fri Sep 07, 2018 2:16 pm
Forum: The Welcome Area
Topic: Hello From France
Replies: 10
Views: 1030

Re: Hello From France

Hi Dominique, I am not quite sure from your reply if you know of the 'QPC2' Emulator for running SMSQ on PCs ? I have been using it for many years now. It is downloadable free and is exceptionally stable and fast. There is also QEMulator which I do not have, but which many use. With 'C68' you can tr...

Go to advanced search