AI lad, that be reet
Pages: 1 2
nemo (145) 2546 posts |
So I just coaxed Google Bard into compiling some BBC Basic into ARM assembly despite it knowing nothing about the former and not enough about the latter. The most interesting part of the exchange was its claim that it had learned from its mistakes and would remember. But it may be lying about that. However, having tried to return using [Yes, it’ll happily read code in one language and rewrite it in another. Spot that in the final build, I dare you.] |
Rob Andrews (112) 164 posts |
But is it smart enough to translate arm 32 into arm64? Or better still assembly into C |
Rob Andrews (112) 164 posts |
Ups slip of the finger |
nemo (145) 2546 posts |
These things are pattern recognition engines. Spotting assembly idioms and translating to a conceptual representation would be well within its capability if trained to do so. |
Simon Willcocks (1499) 513 posts |
It’s about time. I was advised not to bother taking a computer course at school because they’ll be programming themselves in no time. That would have been in 1984. |
Paolo Fabio Zaino (28) 1882 posts |
For small routines, yes, it hsould be able to translate arm 32 to arm 64 (in most cases correctly, but NOT all).
If you’re refering to use it to translate RO source to C, then no. This is because, while it would be capable of translating some of RO into C, then you still need to add an “ASM” firendly API if you wish the C side to stay compatible with everything available for RO, plus, given the first mentioned limitation (work for small routines or programs), then the translation of the entire kernel would be “de-contestualized” which means you’ll need to take the C source it has generated and “re-contextualize” it. Finally, the way pattern matching works for AI means it will most likely use user-space code for the C (and also the assembly translation btw) which means you’ll probably get code with printf, mallocs etc. which isn’t suitable for kernel programming, so you’ll need to clean up manually or write extremely complicated prompts to make the AI select more suitable datasets. You could use it however to help 32bitting RISC OS Apps and user space activities like that, if you train it specifically for RO (as mentioned by Nemo). Hope this helps |
Simon Willcocks (1499) 513 posts |
By the way, on the subject of programmers becoming obsolete, don’t you have to have a working program for the bot to translate? |
Paolo Fabio Zaino (28) 1882 posts |
Yes, and even when you have a working program the “bot” as you call it, can still make mistakes and still has limitations if you use one of the services like ChatGPT or Bard etc. Generative AI that actually work needs to be (still) heavly trained, so it’s hard to have a “general generative” AI that can translate code in such a way to make it useful in all situations. But it will come, the issue of the large datasets is beign addressed and there are dedicated (non general purpose) genertive AI that have showen great results. Bard and ChatGPT are more to capture the attention of the large public. Besides, GPT-4 is already way better than GPT-3.5 on which ChatGPT was originally based, so it will improve a lot when it will be released under GPT-4, and the next release (GPT-5) seems to be even more impressive. So yes, at some point it will work, how soon it will depend by the usual factors: software progresses, training improvements, hardwave progresses to be able to generate and infere more complex models. |
nemo (145) 2546 posts |
Simon suggested
LOL Paulo presumed
Not ‘out of the box’, but with suitable prompting it does (Bard does, anyway). Don’t forget you add to its understanding (allegedly ‘permanently’, but certainly contextually) with everything you tell it. So one can instruct it to use a different API for a particular conceptual function. I find the limitation of these machines to be the number of ‘ideas’ they can keep in their working set simultaneously – given too many constraints, some of them get forgotten and revert to the learned form. But this is simply a scaling artefact, not an inherent brick wall.
And by far the greatest weakness of all these automatons is that they have no concept of ‘certainty’ – they just can’t tell the difference between what they know and what they’ve just imagined. This is a significant failing and will need to be addressed in the next generation… which will be here in a few weeks at the current rate of progress. |
Steve Pampling (1551) 8170 posts |
and when they are certain we are a nuisance? |
nemo (145) 2546 posts |
<whispers>It’s still saying “our”.</> |
Steve Pampling (1551) 8170 posts |
Perfect, plagiarising tinker-toy machines with an inflated ego. Also, gotta ask: "What do you mean We you animated kettle? " |
nemo (145) 2546 posts |
I for one welcome our word-association overlords. The overriding impression is not of ego but of fawning, corporate, puff-piece, smoke-blowing. Everyone you ask about is “notable” and “influential”. Every work is “important” and “famed”. Very little chance of one of ’em coining the late great Clive James’s description of Marilyn Monroe: “She was good at playing abstract confusion in the same way that a midget is good at being short”. |
Chris Mahoney (1684) 2165 posts |
I’ve noticed that Windows calls itself “we”, which has always struck me as rather strange. When I get a message like “We’re installing updates” it conjures up an image of Microsoft putting its tendrils into the computer via the Internet and replacing files without my consent… which is probably fairly accurate! |
Rick Murray (539) 13840 posts |
May be the “Kindergarten We” more then the “Royal We”… |
Clive Semmens (2335) 3276 posts |
Both equally wet and smelly. |
Grahame Parish (436) 481 posts |
We’re already being pushed devices that need internet connection and won’t fully work without being online. Will AI in every device be the next compulsory ‘feature’? |
nemo (145) 2546 posts |
|
Rick Murray (539) 13840 posts |
I’m dreading the day my resuscitated washing machine spins its last load. There’s a beautiful simplicity in a mechanical state machine. I don’t want a device that weighs the load, flags warnings if my underwear isn’t colour matched, and then uses “AI” to go online to search for the optimal programme for my climatic conditions. My current machine uses ~125 litres (25 litre, wash plus four rinses). I’m not worried, it’s from a well not metered. However I can’t imagine what sort of chemical cocktail you end up wearing with a machine that claims it only needs 45 litres for an entire wash. Ugh. |
Steve Pampling (1551) 8170 posts |
No water meter… Ours has a digital display (and a rotary switch to set things)1 1 So, a simple keypad ain’t good enough then? You know, 0-9 and few extra, and then you can program 9, 99, 999 different combos. No? sigh… 2 Or a pair of molegrips – ha! didn’t think of that one did ya mr. designer? |
David J. Ruck (33) 1635 posts |
Rick, you need a 1950s twin tub. |
Steve Pampling (1551) 8170 posts |
Mums old Parnall carried on until the motor went. |
Chris Mahoney (1684) 2165 posts |
Mine died a few months ago and the replacement, while not Internet-connected, still tries to be “clever” and fails at it. I started a load earlier and it weighed it and told me that it’d take 46 minutes. A little over an hour later, it’s saying it still has 9 minutes remaining. Did someone let the Microsoft “file copy progress” people near it? :) |
Rick Murray (539) 13840 posts |
I wonder if that’s a water pressure issue? My machine has timings in the back (it’s pretty easy to work out, each click on the knob is three minutes), but since my water is pumped up from a well the pressure is pretty low by the time it reaches the house. Takes around eight minutes to fill the twenty five litres the machine wants, and even that varies depending on whether the pump is about to kick in or has just done so.
Your washing will be done in 45 minutes… 70 minutes… 30 minutes… 2 hours… ;) The one that really really bugs me with Android (notably YouTube) is that the estimations are all off by one. If an upload says about two hours remaining (slow uplink speed), they mean three because after saying an hour remaining (for a while) it’ll then switch to saying something like 75 minutes remaining. |
Chris Mahoney (1684) 2165 posts |
I’ve never seen such an inaccurate estimate before, and I didn’t notice anything strange about the water, so I’m just going to go with “black box computer decides to do something odd”. I’ve noticed that on YouTube a 364-day-old video will be reported as “uploaded 11 months ago”, only to switch to “1 year ago” the following day (or maybe it takes until day 366?). |
Pages: 1 2