AI vs HI

Anything QL Software or Programming Related.
stevepoole
Aurora
Posts: 888
Joined: Mon Nov 24, 2014 2:03 pm

Re: AI vs HI

Post by stevepoole »

Hi Folks,
Here is a postscript from COPILOT :

<<You can find a wealth of information and discussions about QL Superbasic on the Sinclair QL Forum. Here are a few threads that might be particularly useful:
QBASIC and SuperBASIC - This thread discusses getting QBASIC up and running on modern PCs and converting QBASIC programs to QL SuperBASIC programs.
Structured SuperBASIC - This thread covers updates and bug fixes for the Structured SuperBASIC application.
Tha basic of SuperBasic - A beginner's guide to SuperBasic commands, including color changing, sounds, plots, and raws.
These threads should help you get started with QL Superbasic and connect with other enthusiasts. Happy coding! 😊
Is there something specific you're looking to learn or achieve with QL Superbasic? >>


Derek_Stewart
Font of All Knowledge
Posts: 4679
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: AI vs HI

Post by Derek_Stewart »

Hi Steve,

I think the AI system will think my spelling requires alot of work, and would understand me.

This being the difference between AI and HI, thd Human will be able to deduce the meaning of the badly typed text, where the AI would have to guess and may get it wrong.

* update

I asked ChatGPT "what is the current time" which responded, "che k the time on the local device"

what it really meant was I am too important to answer a simple question like this.

I asked it how to write a QPTR program on a Sinclair QL, responded with something about C pointers.

Where as a web search with returns hits on QPTR information relating to thd QL.

It looks like AI only knows what is stored in the database, and has no way to find the data that is unknown, a nbit of a waste of time.

I usually disable AI on browsers, mobile phones, as it slows the system down, giving unrelated information.

AI just looks like a exercise in database programming.


Regards,

Derek
stevepoole
Aurora
Posts: 888
Joined: Mon Nov 24, 2014 2:03 pm

Re: AI vs HI

Post by stevepoole »

Hi Folks,
For all its Data Mining, AI is still only capable of providing inadapted replies.
Here is an example of a COPILOT mandelbrot, AFTER HI tweaking to adapt it to QDOS, where so much of the supplied code was originally irrelevant....
Tested OK and fast on QPC2, but 'snailware' on QDOS! Steve.
Mandelqdos.zip
(461 Bytes) Downloaded 48 times


User avatar
pjw
QL Wafer Drive
Posts: 1608
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: AI vs HI

Post by pjw »

Very pretty, Steve. BTW the SCALE command is out of place. BLOCK uses pixel coordinates.


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
pjw
QL Wafer Drive
Posts: 1608
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: AI vs HI

Post by pjw »

Derek_Stewart wrote: Sat Dec 14, 2024 7:15 am <>
What happens when AI does not know, does it as an average human would go and research and find out what the answer to the question.

Or does the AI system, say "No do know", or supply rubbish answers...
It hallucinates! I believe the technical term is "bullshitting" See https://en.wikipedia.org/wiki/Hallucina ... elligence)


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
pjw
QL Wafer Drive
Posts: 1608
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: AI vs HI

Post by pjw »

pjw wrote: Sun Dec 15, 2024 11:44 am Very pretty, Steve. BTW the SCALE command is out of place. BLOCK uses pixel coordinates.
BTW if you wanted to use the graphics coordinates, its possible, its just a wee bit slower (10-20%). I struggled a bit to achieve this as it must be 30+ years since last I used SCALE and the like. Perhaps you can do better:

Code: Select all

100 REMark MandelQdos_bas
102 ch% = FOPEN("con")
104 scrx% = SCR_XLIM(#ch%): scry% = SCR_YLIM(#ch%): REMark Note fits screen of various sizes
106 x2% = scrx% DIV 2: y2% = scry% DIV 2
108 WINDOW#ch%; scrx%, scry%, 0, 0: CLS#ch%
110 SCALE#ch%, scry%, 0, 0, 100: REMark Not sure about this..
112 t = DATE
114 FOR d% = 0 TO scry% - 1
116  y0 = (d% - y2%) / y2%
118  FOR a% = 0 TO scrx% - 1
120   x0 = (a% - x2%) / y2%
122   x = 0: y = 0
124    FOR i% = 1 TO 32
126     xx2 = x * x: yx2 = y * y
128     y = (2 * x * y) + y0
130     x = xx2 - yx2 + x0
132     IF ((xx2 + yx2) > 4): EXIT i%
134    END FOR i%
136     INK#ch%, i% MOD 8: POINT#ch%; a%, d%
138  END FOR a%
140  IF KEYROW(1) = 8: EXIT d%
142 END FOR d%
144 AT#ch%; 2, scrx% DIV 6 - 10: PRINT#ch%; DATE - t
146 BEEP 2000, 2
148 PAUSE#ch%
Ive optimised it slightly for speed by using word integers. Not much gain there, a couple of points, perhaps. Rounding causes a slight difference in colours.

I think itll be a while before we can request an AI to make such specific changes. Anyway, what would be the fun in that? Would it be worth boiling the ocean for?


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Post Reply