![]() |
Forum Index : Microcontroller and PC projects : most code will not be written by human beings
![]() ![]() |
|||||
Author | Message | ||||
LeoNicolas![]() Guru ![]() Joined: 07/10/2020 Location: CanadaPosts: 498 |
Hello everyone I can give my opinion based on what I see happening in the industry. AI cannot do magic, but it is a fantastic tool that helps speed up software development. Have you tried using Copilot in your IDE? It helps a lot, giving me code snippets in real-time, creating unit tests, or finding a bug in the middle of my code. This video from Andreas Kling shows precisely that. He is prototyping a Javascript JIT engine and Copilot helps to fill the gaps: https://www.youtube.com/watch?v=8mxubNQC5O8 It is not perfect, but it helps a lot, however, it requires supervision by a software engineer. In the business world, AI is used as agents to execute specific tasks, reasoning over natural language input, deciding which actions to execute, and answering the user with natural language. This is real and in production, and it is being used every day to create new features without writing code. The nature of coding is changing. Salesforce Agentforce: https://www.salesforce.com/agentforce/ In the end, someone with technical knowledge is required to create, validate, adjust, constrain, test, and deploy the feature. The difference is that, in some cases, no coding knowledge is required. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3964 |
Quite a bit of it is currently Artificial Idiocy and another chunk is Artificial Information (such as referencing non-existent articles). John |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3252 |
Thank you, Leo, for the report from industry. I wonder whether anything visible from the outside truly reflects the state of the frontier, which reportedly is rapidly advancing. It's far from coding, but I instructed Copilot thus: "Using the top 20 countries from the list here -- https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP) -- (PPP GDP by country), list them by rank according to percentage of electrical generation by other than fossil fuels, with, for each country, the percentage provided by hydro, solar, wind, and nuclear. Present as a chart, one line per country." I took the answer, copied it into OpenOffice Calc, added a total line (which I probably could have asked for) and sorted it by total (which I also probably could have asked for). This is the result: ![]() I'm reasonably impressed--and this is just what is freely available (I asked perplexity.ai to do the same thing and it said it couldn't). Could I vouch 100% for all the numbers? No, but the big numbers that I know about--nuclear for France and Canada, hydro for Canada, solar for Australia, and wind for Germany and the U.K.--seem right in the ballpark. ~ Edited 2025-03-08 04:21 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4200 |
Hi folks, I've spent the last couple of days dancing with Claude 3.5 Sonnet on a neither particularly difficult nor particularly trivial XML processing problem (in Go, a language with which I have no prior experience) and it got about 80% of the way there and then whilst we were trying to fix a problem with a corner case it came up with a series of increasing baroque solutions, each of which it told me would fix the problem, and each of which it had to apologize for when I demonstrated it was wrong. I've now thrown it all away because whilst it was possible that route would eventually lead to a solution I didn't think its approach would ever lead to "good code". Will AI ever have that human factor of knowing when to step back and re-evaluate, perhaps, or at least it may be able to fake it. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
aFox Regular Member ![]() Joined: 28/02/2023 Location: GermanyPosts: 99 |
Asking Microsoft Copilot Why is for AI the programming language BASIC zu popular? BASIC (Beginner's All-purpose Symbolic Instruction Code) has a historical charm that makes it popular for AI applications. Here are a few reasons: Simplicity: BASIC was designed to be simple and easy to understand, making it a great choice for beginners and educational purposes. Its straightforward syntax helps new programmers get started with coding concepts without getting bogged down by complex language rules. Accessibility: Since its inception in the 1960s, BASIC has been implemented on various platforms, from early home computers to modern systems. Its widespread availability has made it accessible to a broad audience. Historical Significance: BASIC played a significant role in the early days of personal computing, and many AI enthusiasts have a nostalgic connection to the language. Its legacy continues to influence modern programming and educational tools. Educational Tools: Many educational programs and AI tutorials still use BASIC to teach fundamental programming concepts. This makes it easier for beginners to learn AI principles without needing to master a more complex language. While newer languages like Python and R have become the go-to choices for AI development due to their advanced libraries and tools, BASIC remains a beloved language for its simplicity and historical significance. How about you—have you ever dabbled in BASIC or any other programming languages? Still Questions? |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3252 |
I talked with a friend yesterday who is a mediation lawyer--but also an MIT bio-science grad, so science-aware and science-friendly. He's a little younger than I am, so about 75. Still practicing. He said he just got a case which came with 10,000 pages of documents. The group he associates with has access to a state-of-the art legal AI agent, so he fed the documents into it and asked for a summary and legal assessment. He said after an hour it produced the document. He spent an hour reviewing it and said the results look very good. All assessments were footnoted, and if you hovered over the footnote, the law or case law or analysis would come up. Some of it referred to cases he was unfamiliar with. He said it probably would have taken him and a legal research assistant several weeks to produce the document. He said he needs to spend several more hours with it to confirm the accuracy, but it will have given him a huge boost in his ability to deal with the case. More to the point for us as coders, from substack "Speaking things into existence": The hottest new programming language is English PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
PeteCotton![]() Guru ![]() Joined: 13/08/2020 Location: CanadaPosts: 490 |
Very interesting. This is exactly the sort of thing that I tell people that AI will be used for in the future. Most people think of AI as general intelligence/knowledge. But that's not as useful as most people would think. Highly focused AI, that has been built specifically for a single purpose (like indexing all of a company's design documents, or designing an airplane wing) is going to make a huge difference. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3964 |
If true... AT LAST! If true... because AI has done that but the references were made up :( John |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3252 |
Right. But an AI agent directed at legal reasoning would have to be extensively fact-checked. And that is possible because in the law, everything is documented: documents--from the Magna Carta through the U.S. Constitution through Blackstone and law and case law--are the foundation of everything. (Musk said recently that effectively all written human knowledge has now been hoovered up by AI.) My friend's call to me was triggered by my emailing him to ask whether there was any public-facing job at the DMV (Department of Motor Vehicles)--aside from the road test people--which could not at present be better done by AI agents which had been trained in the relevant laws, regulations, and procedures. He thought not. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3964 |
Ought to be, yes. But so should the one about scientific papers - but it wasn't. Looked fine, all the right notations for references, just non-existent papers (as their supposed author pointed out!). In effect the AI needed to be fact-checked but was not. If this one is, let's have a generalised one and set it loose on "social" media. Get it to remove the fake stuff, lies, death threats, illegal stuff such as rape videos, and so on. John |
||||
aFox Regular Member ![]() Joined: 28/02/2023 Location: GermanyPosts: 99 |
![]() ![]() ![]() |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 971 |
I just watched this video with interest.... I asked AI to design an electronic circuit and write software for it. Here is what happened ... https://youtu.be/tqi6PU8U-W0?si=zJw490ACFXjnDKLZ OA47 |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4721 |
Hi OA47, you youtube video is not public. We get an 404 error. Volhout PicomiteVGA PETSCII ROBOTS |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 971 |
Sorry shedders, I used the share option and pasted into the post. Not sure what is going on. If I use the title "I asked AI to design an electronic circuit and write software for it. Here is what happened ..." it takes me to the video. OA47 |
||||
![]() ![]() |
![]() |