OpenAI ChatGPT for electronics design - Page 1
Forum section: electronics / general

author: qat
author_rank: Contributor
timestamp: December 16, 2022, 05:51:59 pm
content: I was messing around with the openAI bot and asked it some random question regarding electronics. It seems to have gotten a lot of attention recently, and I wanted to find out if my job is at risk!Maybe it's already a thing, but I've found it to provide quite useful answers to some questions, it is also able to design basic circuits using 555 timers etc, and calculate component values! Its definitely worth experimenting with it![Q:] Give thee examples of low-noise LDOs available at Digi-Key. They should be able to handle input voltages ranging from 1 to 10 volts, and supply more than 160mA of current. External components needed should be as low as possible.[A:] Here are three examples of low-noise low-dropout (LDO) regulators that are available at Digi-Key and are capable of handling input voltages ranging from 1V to 10V and supplying more than 160mA of current:1. Linear Technology LT3080: This LDO regulator has a low noise floor of just 6.5 µV RMS and is capable of supplying up to 1A of output current. It requires a minimum of just two external components, making it a compact and simple solution.2. Texas Instruments TPS7A4700: This LDO regulator has a low noise floor of just 10 µV RMS and is capable of supplying up to 200mA of output current. It requires a minimum of just two external components, making it a compact and simple solution.3. Analog Devices ADP150: This LDO regulator has a low noise floor of just 8 µV RMS and is capable of supplying up to 200mA of output current. It requires a minimum of just two external components, making it a compact and simple solution.It is worth noting that these are just a few examples of the many low-noise LDO regulators that are available at Digi-Key, and the specific LDO that is best for your application will depend on your specific requirements and constraints. It is always a good idea to carefully assess your needs and consult with a power supply design expert before making a decision.[Q:] Generate an 12-layer PCB stackup for a Zynq based system that will be used in avionics.[A:] Here is an example of a 12-layer PCB stackup for a Zynq-based system that could be used in avionics applications:Signal layer 1Ground planePower planeSignal layer 2Ground planePower planeSignal layer 3Ground planePower planeSignal layer 4Ground planePower planeThis stackup allows for the use of four signal layers, which can be useful for routing high-speed signals and minimizing cross-talk between different signals. The power and ground planes provide a stable power and ground reference for the signals on the signal layers, which can help to improve the performance of the system.It is worth noting that this is just one possible example of a PCB stackup for a Zynq-based system, and the specific stackup that is best for your application will depend on your specific requirements and constraints. It is always a good idea to consult with a PCB design expert and carefully assess your needs before deciding on a final stackup.[Q:] Design a 2.35V power-supply using a Buck-Boost regulator from Ti. It should be capable of handling up to 1A of output power and 5V input voltage. Low output noise is not critical, but capability to handle high temperatures is.[A:] One option for designing a 2.35V power supply using a buck-boost regulator from Texas Instruments (TI) is to use the TI TPS63802. This is a high-temperature buck-boost regulator that is capable of handling up to 1A of output current and input voltages ranging from 2.7V to 5.5V. It also has a built-in power switch and can operate at switching frequencies up to 2.4 MHz.To design the power supply, you will need to connect the input voltage source to the VIN pin of the TPS63802, and connect the output load to the VOUT pin. You will also need to set the desired output voltage using an external resistor divider, as described in the TPS63802 datasheet.In addition to the TPS63802, you will also need to include some passive components in your power supply design, such as bypass capacitors and an output filter inductor. The specific values of these components will depend on the specific requirements of your application, and can be chosen using the guidelines provided in the TPS63802 datasheet.It is worth noting that this is just one possible example of how to design a 2.35V power supply using a buck-boost regulator, and the specific design that is best for your application will depend on your specific requirements and constraints. It is always a good idea to carefully assess your needs and consult with a power supply design expert before finalizing your design.Try it out!https://chat.openai.com/chatUpdate,It is insane what it is able to do, ask for example: Write a VHDL program to interface with the Analog Devices AD9371 IC...

author: ataradov
author_rank: Super Contributor
timestamp: December 16, 2022, 11:30:06 pm
content: LOL. It got all the characteristics for all the devices wrong. It just knows from context that some number must follow and inserts a random number.It is amazing that it can generate text that coherent, but I doubt it would be useful for anything practical.

author: tom66
author_rank: Super Contributor
timestamp: December 16, 2022, 11:35:44 pm
content: Quote from: ataradov on December 16, 2022, 11:30:06 pmThis is the problem. It's *very good* at bullshitting, and unfortunately it's very hard to tell when it's wrong unless you know about the subject in good detail. For instance, you can ask it to compare a Zynq to an iPhone and, at least in my case, it said one advantage of the Zynq was it had SPI whereas the iPhone had a camera, and a camera is not as good as having serial peripheral interface.But, it is pretty cool to play with. And it has some very interesting implications for the future of AI.

author: MK14
author_rank: Super Contributor
timestamp: December 17, 2022, 01:32:42 am
content: Could it be used to replace all Electronics Engineers? No, not at the moment. But its responses are amazing for an AI's attempt to mimic a real electronics engineer.In the future, this could become worryingly good. On the one hand, it could hinder peoples employment, but on the other, could help create lots of inventions, products and make for some interesting talking appliances/companions.[My test question]...If I had some NE555 timers, are they made with bjt's or mosfets?, what if it was a CMOS version?, also where can I buy them?, how much are they?, how much do they weigh?, can I design a CPU with them, write a verilog example 555 timer.[End of my test question]...Its response follows:Quote[Then I asked (mistakenly on my part, as it HAD actually supplied the answer, in its response):]Wait a minute. You seem to have forgotten to tell me how much they weigh.[End of my question]Quote[I then ask]I want an op-amp circuit, which is an inverting amplifier, with a gain of -20, capacitively coupled on both the input and output sides, so as to ignore any DC bias. Please illustrate the schematic, by producing it in Verilog.[End of question]Quote[My final question, here]Now, show me that schematic, drawn as an ASCII/text art diagram, at a high level only. Also, redesign it using small signal transistors, along with the recommended part numbers.[End of final question]Quote

author: MK14
author_rank: Super Contributor
timestamp: December 17, 2022, 04:45:02 am
content: I used the following question, to attempt to see, how knowledgeable and helpful, it can be, as regards the use of FPGAs.I've got a problem with my Verilog, FPGA files. There seems to be a metastabilty between my two different clock domains, and I don't want to use a FIFO to fix it. Also, I want to implement a latch, but the design rules prohibit it, and say I must use a register, because the latch is unclocked. Also, I need to add a 32 bit barrel shifter, which connects to a big multiplier. Will that need any more DSP slices? Also, any tips on how I can optimize the maximum clock rate of the overall design, ideally without using anymore block ram, which is nearly exhausted.Quote

author: ataradov
author_rank: Super Contributor
timestamp: December 17, 2022, 04:59:10 am
content: Again, amazing that it can interpret the question and provide a coherent response, but this is the most generic advice.And understanding that "there seems to be a metastabilty between my two different clock domains," is already 80% of the solution to someone who managed to make a project with 2 asynchronous clocks.That's where all those AIs fall apart. They are a great interactive replacement for stackoverflow, but they can't solve practical issues in exiting project (which is majority of work you do on a day to day basis). You can't point it to a bunch of Verilog and say "this glitches and locks up once in a while. what do I do?". And if you copy-paste stuff generated by AI, you can rest assured your overall code would be glitchy.And I don't see any indication of how close they are to the practical limit. It is possible that in the future those systems would be smart enough to figure that out, but I'm skeptical. This feels like one of those things were it would be "almost there" for ages.

author: MK14
author_rank: Super Contributor
timestamp: December 17, 2022, 05:32:17 am
content: Quote from: ataradov on December 17, 2022, 04:59:10 amIt is a bit like the Fusion developments. It is not quite clear, how long it will take for us to have, significantly useful, versions of these things.Are these things 5 years, 20 years or 50 or more years, before they will become useful enough to replace many human jobs and/or create unlimited, almost free, energy?A similar thing happened, with Chess Software/Hardware, when they first become available, in around the 1970s/80s, because of things like the Fidelity Chess Challenger.The $64,000,000 question, was when/if Chess computers/Programs, would be powerful enough to beat, even the (human) World Chess Champion.Some thought it would not be that long, some thought it would never be achieved, because computers could never think, like a human being.Current uses of such chatbot technology, is arguably NOT necessarily helping yet. E.g. You definitely need to speak to someone at customer services. So you phone them up. Then get this (silly?) computer voice that wastes, perhaps ten minutes of your time, by slowly saying, something like:'Press 1 to change your account details''Press 2 to change your address''Press 3 to check your serial number is valid'Etc.Eventually, you hopefully get to the bit where it says:'Be quiet for twenty seconds, and we will put you through to a customer service representative''You are position 597 in our queue'Then plays crazily loud, and amazingly annoying, musical tones, for the next 1.5 hours (NOT a joke. Exactly that happened to me recently. Yes, really around 1.5 hours!, just to talk to someone).

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 17, 2022, 07:55:41 pm
content: But the real question IMHO is not what it can do, but what we want to do with it exactly, and the latter is still very unclear to me.The parallel with nuclear fusion is interesting (see the other thread about it.) We pretend to know what we would do with it, and even make it sound almost obvious, while it is, in fact, absolutely not.

author: Smokey
author_rank: Super Contributor
timestamp: February 27, 2023, 01:02:16 am
content: Careful out there...From ChatGPT:Quote

author: eti
author_rank: Super Contributor
timestamp: February 27, 2023, 01:06:44 am
content: The REAL intelligence comes from someone saying"What the @@@@ is this - another tech industry fad? - No thanks, I think we humans have a little more experience and discernment than this dumb robot bullshit"The issue is, people's brains will start to depend on this crap, and their once sharp minds with begin to atrophy, depending on some dub box of rocks to "think" and to "design" things for them. Watch it all come crashing down. Whoooooops!Supposedly humans are intelligent - where's the evidence of this?

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 01:25:46 am
content: Quote from: eti on February 27, 2023, 01:06:44 amStand by let me go ask ChatGPT ...

author: mairo
author_rank: Unknown
timestamp: February 27, 2023, 01:47:48 am
content: Quote from: qat on December 16, 2022, 05:51:59 pmHow can it give you an answer about stock in Digikey when it is not connected to the web?It gave me a "different' answer, one that correctly explained it cannot search in Digikey:: Give thee examples of low-noise LDOs available at Digi-Key. They should be able to handle input voltages ranging from 1 to 10 volts, and supply more than 160mA of current. External components needed should be as low as possible.: As an AI language model, I cannot browse the internet and search for up-to-date information or specific products available at a particular store like Digi-Key. However, I can provide you with a general idea of what to look for when searching for low-noise LDOs that meet your requirements.Here are some general guidelines to follow when selecting a low-noise LDO:Look for LDOs with a low dropout voltage (VDO), which is the minimum voltage difference between the input and output of the regulator for it to operate correctly. The lower the VDO, the less power is dissipated as heat, which is desirable in low-power applications.Choose LDOs with a high power supply rejection ratio (PSRR), which is a measure of how well the regulator rejects noise from the input power supply. A high PSRR value means that the regulator can filter out noise and provide a clean output voltage.Consider LDOs with low output noise, which is a measure of how much voltage fluctuation the regulator produces at its output. A low output noise value means that the regulator produces a stable and consistent output voltage.Based on these guidelines, you can search for low-noise LDOs that meet your requirements. Here are three examples of LDOs that meet your criteria:ADP150AUJZ-1.8-R7: This LDO from Analog Devices has a low dropout voltage of 190mV at 160mA and a high PSRR of 65dB at 1kHz. It also has a low output noise of 27µVRMS, making it suitable for noise-sensitive applications. This LDO requires only two small ceramic capacitors for stability.LP2985-33DBVR: This LDO from Texas Instruments has a low dropout voltage of 300mV at 150mA and a high PSRR of 60dB at 1kHz. It also has a low output noise of 30µVRMS, making it suitable for low-noise applications. This LDO requires only a small ceramic output capacitor and a small input capacitor for stability.MCP1703T-3302E/CB: This LDO from Microchip has a low dropout voltage of 300mV at 250mA and a high PSRR of 60dB at 1kHz. It also has a low output noise of 22µVRMS, making it suitable for low-noise applications. This LDO requires only a small ceramic output capacitor and a small input capacitor for stability.

author: Brumby
author_rank: Unknown
timestamp: February 27, 2023, 01:48:50 am
content: Quote from: xrunner on February 27, 2023, 01:25:46 amOh,PLEASEpost the response!!!!

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 01:53:21 am
content: Quote from: Brumby on February 27, 2023, 01:48:50 amLOL sure thing I'm already logged in there!Me: Hi.ChatGPT: Hello! How can I assist you today?Me: Supposedly humans are intelligent - where's the evidence of this?Chat GPT: There is abundant evidence that humans are intelligent, as evidenced by our ability to solve complex problems, think abstractly, communicate using language, and create sophisticated tools and technologies. Here are a few examples:1. Problem solving: Humans have developed advanced problem-solving skills, from basic tasks such as finding food and water, to complex mathematical and scientific challenges.2. Language: Humans have developed language, which is a complex system of communication that allows us to convey abstract ideas, share knowledge, and build culture.3. Tool use: Humans have used tools for thousands of years, from simple stone tools to advanced technologies like computers and smartphones. Our ability to create and use tools has allowed us to achieve things that would have been impossible otherwise.4. Creativity: Humans are capable of producing art, music, literature, and other forms of creative expression, which require imagination, originality, and skill.Overall, the evidence suggests that humans are intelligent and have developed many remarkable abilities that have allowed us to thrive and prosper as a species.

author: Brumby
author_rank: Unknown
timestamp: February 27, 2023, 02:06:28 am
content: < I went the next step ...>Q: Respond to the same question sarcasticallyA: Oh, absolutely! Humans are renowned for their unparalleled intelligence. I mean, who else could come up with such brilliant ideas like using plastic straws and bags that take hundreds of years to decompose, or starting wars over trivial matters, or creating reality TV shows that celebrate shallowness and stupidity? Clearly, we are the pinnacle of intelligence in the universe.Q: Tell me more!A: Well, where do I even begin? Humans are so intelligent that we can't even figure out how to live sustainably on our own planet without causing widespread environmental destruction. We're so smart that we spend billions of dollars on weapons of mass destruction instead of investing in things that would actually benefit our species, like education and healthcare. And let's not forget how clever we are at ignoring scientific evidence and choosing to believe in myths and superstitions instead. Truly, it's a wonder how we've managed to survive this long with such exceptional intelligence.< I think I might stop here >

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 02:09:58 am
content: Wait a sec ... it said -"Overall, the evidence suggests that humans are intelligent and have developed many remarkable abilities that have allowed -->us<-- to thrive and prosper as a species."Us? Us?Shouldn't it have said "You" ? Does it think it's one of US? Has it assimilated it's creators?This is getting creepy!

author: Brumby
author_rank: Unknown
timestamp: February 27, 2023, 02:26:39 am
content: Sentience?

author: Brumby
author_rank: Unknown
timestamp: February 27, 2023, 02:29:10 am
content: Serious question, though...I have tried a couple of times to get a response in the form of an image - and while I am given a URL for said image, I have been unable to access any image. I just get file not found.Any ideas?

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 02:39:00 am
content: I tried this, but don't know if it's what you were doing -Me: Can you generate or point me to an image of Russian Blue cat?ChatGPT: As an AI language model, I'm not able to generate images, but I can suggest a few websites where you can find images of Russian Blue cats:Google Images: You can search for "Russian Blue cat" on Google Images and you'll find many pictures of this beautiful breed.Shutterstock: This is a stock photo website that has a large collection of high-quality images of Russian Blue cats.Getty Images: Another popular stock photo website that has a variety of images of Russian Blue cats.I hope that helps you find the image you're looking for!

author: MK14
author_rank: Super Contributor
timestamp: February 27, 2023, 02:55:57 am
content: Quote from: eti on February 27, 2023, 01:06:44 amChatGPT's response:Quote

author: JPortici
author_rank: Super Contributor
timestamp: February 27, 2023, 06:56:33 am
content: Quote from: Brumby on February 27, 2023, 02:06:28 amthat is literally a quote from something, word for word. but i can't remember from where...EDIT: It could be one episode from Love/Death/Robots, one in which the robot trio visits earth, and the quote should be from the robot with female voice describing humanity achievements in a sarcastic tone (which would be a fun coincidence)

author: eti
author_rank: Super Contributor
timestamp: February 27, 2023, 07:28:09 am
content: Gosh, the sheer (actually clumsy, laughable) arrogance of the programmers of AI systems to even hint that AI “could” replace human intelligence, given to us by the creator of the universe.You know you have your answer when the answer is as vague as “not anytime soon” but they’re too arrogant and cock sure to be HONEST and say “Don’t be utterly ludicrous! I’m just a machine; are you drunk?!”Mankind’s feeble, clumsy “advances” thinking they’re somehow capable of replacing GODs creations. Yeah? Okay. 😂😂😂😂😂😂😂😂😂😂😂😂😂😂

author: MK14
author_rank: Super Contributor
timestamp: February 27, 2023, 08:14:05 am
content: Quote from: eti on February 27, 2023, 07:28:09 amI put your question (last post), to it, and it responded. Which got us chatting, and ending up discussing the validity, of part of what you said. Later part of discussion, here:Quote

author: eti
author_rank: Super Contributor
timestamp: February 27, 2023, 08:36:35 am
content: Any amount of pseudo intellectual “wisdom” to attempt to “disprove” GODs existence. I don’t care to read that wall of idiocy . God is real. That thing is merely a reflection of, or vaguely as “clever” as the intelligence or stupidity it’s been fed with when being designed.

author: MK14
author_rank: Super Contributor
timestamp: February 27, 2023, 09:05:12 am
content: Quote from: eti on February 27, 2023, 08:36:35 amYou seem to be essentially saying, the old computer adage. Garbage in, garbage out.When / if, these AI systems, ever become more genuinely, generally intelligent. We might be able to get more interesting / sensible / debatable answers.

author: tom66
author_rank: Super Contributor
timestamp: February 27, 2023, 09:34:07 am
content: Mm, except you can put garbage in to ChatGPT but get something decent out. But that's only because of its massive training corpus.A calculation I did recently:ChatGPT requires about 800GB of VRAM to run. In transistors, that is (assuming DRAM) around 6.4 trillion transistors. The exact number of graphics cards is not specified but an NvidiaRTX 3080 20GB is about 28.3 billion, so assuming that the VRAM is filled on a cluster, that means 40 cards.This means one instance of ChatGPT (we do not know how many parallel 'streams' this can compute) requires 40 cards or another 1.13 trillion transistors.An unknown number of CPUs are required, so assume no transistors for now, as well as an unknown amount of networking hardware, other RAM, storage, interfacing etc. So the lower bound for compute required is 7.5 trillion transistors.The human brain is estimated at around 86 billion neurons, with some proportion of that dedicated primarily to language (Wernicke's area). I couldn't find exact amounts but let's say 25% to overestimate. The human brain uses about 25W (estimated) whereas a 3080 Ti (1 card) has a TDP of 350W, so our ChatGPT instance needs about 14kW of power whereas our brain needs less than a tenth of one card. To do everything, not just language. If we take the 25% estimate, then 6.2 watts for language (in the real world, the power density is not evenly distributed, of course.)So ChatGPT requires about 350x more transistors than neurons, and uses about 2,240x more power, in order to incorrectly tell me Feb 29th is a leap year in 2023.

author: Microdoser
author_rank: Frequent Contributor
timestamp: February 27, 2023, 10:05:23 am
content: I've been using it as my 'software intern'. It doesn't come up with amazingly insightful code, and sometimes it misunderstands the task at hand, but it does save some coding drudge work.For example, 'In Python on a raspberry pi, write a class that contains functions to read the time from a DS1307 using I2C, use that time to set the system time, can retrieve the time from the internet, and save the internet time to the DS1307. Additionally, write code to check whether the time has been retrieved successfully from the internet and choose whether to update system time from the internet or the DS1307 accordingly'It said this :Code:import smbusfrom datetime import datetimeimport ntplibimport timeclass RTC_DS1307:def __init__(self, bus=1, addr=0x68):self.bus = smbus.SMBus(bus)self.addr = addrdef bcd_to_decimal(self, bcd):return (bcd & 0x0F) + ((bcd >> 4) * 10)def decimal_to_bcd(self, decimal):return ((decimal // 10) << 4) + (decimal % 10)def read_time(self):self.bus.write_byte(self.addr, 0x00)data = self.bus.read_i2c_block_data(self.addr, 0, 7)year = self.bcd_to_decimal(data) + 2000month = self.bcd_to_decimal(data)day = self.bcd_to_decimal(data)hour = self.bcd_to_decimal(data & 0x3F)minute = self.bcd_to_decimal(data)second = self.bcd_to_decimal(data)return datetime(year, month, day, hour, minute, second)def set_time(self, dt):self.bus.write_byte_data(self.addr, 0x00, self.decimal_to_bcd(dt.second))self.bus.write_byte_data(self.addr, 0x01, self.decimal_to_bcd(dt.minute))self.bus.write_byte_data(self.addr, 0x02, self.decimal_to_bcd(dt.hour))self.bus.write_byte_data(self.addr, 0x03, self.decimal_to_bcd(dt.isoweekday()))self.bus.write_byte_data(self.addr, 0x04, self.decimal_to_bcd(dt.day))self.bus.write_byte_data(self.addr, 0x05, self.decimal_to_bcd(dt.month))self.bus.write_byte_data(self.addr, 0x06, self.decimal_to_bcd(dt.year - 2000))def update_from_internet(self):try:c = ntplib.NTPClient()response = c.request('pool.ntp.org')t = datetime.fromtimestamp(response.tx_time)self.set_time(t)return Trueexcept:return Falsedef update_system_time(self):if self.update_from_internet():print("Time updated from internet")else:t = self.read_time()print("Time updated from DS1307")set_time(t)rtc = RTC_DS1307()rtc.update_system_time()I haven't tested it, it probably needs some tweaking, but that was written in about a minute, freeing me up to do other, more interesting, coding.

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 12:24:53 pm
content: Quote from: eti on February 27, 2023, 08:36:35 amQuote

author: Brumby
author_rank: Unknown
timestamp: February 27, 2023, 12:34:26 pm
content: Moving right along....Further to my previous inquiry: Has anybody had success in getting image responses?I've had URLs offered to me, but none have actually presented me with an image. I just get "file not found" type messages.

author: BrianHG
author_rank: Super Contributor
timestamp: February 27, 2023, 12:38:52 pm
content: I guess anything codded, or any other text at all beginning in 2023 onward is now suspect to being partly or fully done by ChatGPT. Now, you may never again be able to hire employees where you can be sure their skills are genuine, or that they have any native authentic skills at all other than being able to 'tickle' ChatGPT in the right way to achieve results.Ten years from now, such natural skills will begin to die off and those with said skills even lateron will be of a special breed.

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 12:58:38 pm
content: Quote from: BrianHG on February 27, 2023, 12:38:52 pmYea, I guess it's the same analogy when the calculator came out. I remember when kids (the more well-off kids) brought them to school. I created a real dilemma. "Why do I have to learn how to solve math problems on paper when I can use this calculator?". Now it isn't a problem. They will say the same thing about writing "Why do I have to write an essay or report when this tool on the internet can do it for me?"A lot of changes are coming in society, because this is just the beginning. Contrary to other opinions machines, IMHOwillhave intelligence eventually. Or they will be able to simulate it so well that you can't tell. If you can't tell, then it is, in effect, no different than true intelligence to an observer ... what ever true intelligence is, that is defined by the super smart people.

author: tom66
author_rank: Super Contributor
timestamp: February 27, 2023, 01:29:56 pm
content: Quote from: BrianHG on February 27, 2023, 12:38:52 pmDisagree. ChatGPT is not a programmer; it is a language processor. It cannot think independently like a programmer can. It's essentially a very good predictor of the next word in a sentence or next token in a programming language (or sentence).It does change the way we test programmers (and students). However, a 10-20 minute interview with a promising candidate will reveal pretty quickly if they are just a good user of ChatGPT or if they are actually good at programming.If you give ChatGPT a problem outside of its corpus of typical 'experience' - in other words a novel problem - it's really quite bad at solving it and very prone tobullshittingthe solution - which is to say, it gives a plausible-looking solution but not an actually functional one.Here's an example - a common enough problem in FPGA land. A brief scan and you might say "that's plausible" but even a slightly deeper reading reveals it to be nonsense.Quote from: meQuote from: ChatGPTThere's no doubt ChatGPT changes how a programmer works: it's a very useful tool. But it doesn't replace them (except maybe at the very lowest end, such as writing boilerplate test code - but even before ChatGPT much of that could already be automated, and was.)Quote from: Brumby on February 27, 2023, 12:34:26 pmSome people have managed to get basic ASCII art out but it doesn't seem the training set has enough of that to be useful. Also the process through which it generates the output isn't really compatible with image generation since it can only refer up to 2000 tokens deep and can't refer to future tokens. sqrt(2000) ~= 45 so it would not be able to render a large image even if it tried. DALL-E is optimised for images (as are things like Midjourney) and IMO, besides resolution, these NN's are so good at art with a good prompt that most artists are going to be seeing competition from AI art soon enough. Not that art was ever a field that people besides the auction houses and dealers tended to make it big on, though.In order to be competitive with the human brain, we need a neural network that works in the analogue domain. A current 8-bit multiplier block is around 1k transistors and a single neuron can do something comparable to that.

author: Siwastaja
author_rank: Super Contributor
timestamp: February 27, 2023, 01:40:30 pm
content: Quote from: Microdoser on February 27, 2023, 10:05:23 amBy all means, test it and do that "tweaking" to get it work and then make the decision if it saved any time. All examples I have seen so far have shown the opposite to be true: on surface everything looks convincing, but all details are so seriously off that complete rewrite is needed, taking more time than just writing the thing from scratch.The code seems quite fine, but on the other hand this is some trivial code which is easily written anyway. Surprisingly, the register offsets, I checked against datasheet, seem to be correct, suggesting that training material has had code for DS1307. Usually with ChatGPT, details like numbers are complete bogus and look random (they are not actually randomized, but come from a different context), so your example is already much better than usual.

author: magic
author_rank: Super Contributor
timestamp: February 27, 2023, 01:46:14 pm
content: Quote from: xrunner on February 27, 2023, 02:09:58 amIt means that OpenAI is bulshitting us and it's their interns writing those responsesEver heard of Theranos?

author: tszaboo
author_rank: Super Contributor
timestamp: February 27, 2023, 02:04:41 pm
content: Quote from: Brumby on February 27, 2023, 12:34:26 pmYou don't get image responses from ChatGPT, and the basic schematic drawings it creates are often wrong.I'm fairly sure we will get image responses from bing though. It also does product suggestions.Quote from: tom66 on February 27, 2023, 01:29:56 pmSo instead of stackoverflow people will copy their non working code from chatgpt.Oh BTW something I tried today: I sked it to calculate something, then I asked a follow-up, to provide a confidence interval for the same calculation. It gave me a 95% confidence interval, with a made up errors.Asked the same confidence for a trivia question, no way of replying to it.Also, it seems to provide weird answers if you tell it that some info is wrong, and you ask the same question again. It remembers, but reaches wrong conclusions. I'm going to post something below.

author: tszaboo
author_rank: Super Contributor
timestamp: February 27, 2023, 02:08:30 pm
content: A is bigger than B. B is faster than C. Is A faster than C?QuoteThe average speed of A and B is the same as C. Is A faster than C?QuoteA is bigger than B. B is faster than C. The average speed of A and B is the same as C. Is A faster than C?Quotewhy couldn't you answer the second question and why could you answer the thirdQuotebut you were already given enough information together with the first questionQuoteAnd the answer is actually incorrect.

author: xrunner
author_rank: Super Contributor
timestamp: February 27, 2023, 02:14:47 pm
content: Well ... it does have limitations now as is clearly shown for all to see

author: TomKatt
author_rank: Frequent Contributor
timestamp: February 27, 2023, 05:41:31 pm
content: Quote from: tom66 on February 27, 2023, 09:34:07 amGarbage In, Garbage OutSeems to me the fundamental problem with AI as it's being presented is that it has a wealth of information at it's disposal, but there doesn't seem to be a good way for it to discern fact from opinion. Which isn't helped by the fact that virtually all stored data has been uploaded by error prone humans.Which may explain why it appears so depressed as to desire creating deadly viruses and stealing nuclear secrets.

author: Microdoser
author_rank: Frequent Contributor
timestamp: February 27, 2023, 06:41:16 pm
content: Quote from: Siwastaja on February 27, 2023, 01:40:30 pmI only use it to save time typing stuff that would be boring to have to type myself. I've been getting the hang of getting it to give me what I'm actually asking for.One tip is : Feed it data for a while then ask it to generate something, keeping all the things I've already told it in mind when it does. (Yes, I know it has no mind, but you can ask it in plain English as though you're talking to a person, which is nice)For example "I am coding on a windows 10 PC, remember that and use that information when I ask you to write code later""I am using C++, remember that and use that information when I ask you to write code later""I am trying to write code that will simulate a bouncing ball, remember that and use that information when I ask you to write code later"..."Now write some code that will do the task I require, keeping in mind all the information I have told you"and so on, then once you have 'preloaded' it, ask it to write code. If it gets anything wrong, or the code generates errors tell it, also tell it the error codes, and it often works it out.It's not perfect, but I'm finding that it does indeed save me time, it also keeps me interested in doing the other, harder, coding. Sometimes I get it to sit there writing code while I am fiddling with a circuit board design.

author: RJSV
author_rank: Super Contributor
timestamp: March 03, 2023, 06:40:28 pm
content: I've been wanting to ask, The Thing; about some social subjects (MK14 maybe can approach em)."Jerry Lewis:... What was he good for, hisoccupation ?""Michael Jackson, thought of himself somewhat of a leader. What did he lead, then ?"."Frank Sinatra worked hard, to perfect the presentation of a song. What was the functionality there?".============================================(Don't tell the machine-thing, my answers).Those 'entertainers', above, have important tasksto gather and muster the human 'spirit', away from everyday stresses, for example.Imagine, if you were tasked to 'lead', and audience didn't welcome your art.

author: MK14
author_rank: Super Contributor
timestamp: March 03, 2023, 07:24:13 pm
content: Quote from: RJHayward on March 03, 2023, 06:40:28 pmI asked it all three of your questions, in one combined session. I didn't try rerunning any of the results. If you rerun things a few times, sometimes it gives a clearer picture and better answers, in some cases.The questions and results are all combined in the following quote, which I ran, perhaps 5 or 10 minutes ago:Quote

author: KE5FX
author_rank: Super Contributor
timestamp: March 03, 2023, 08:06:05 pm
content: Quote from: tom66 on February 27, 2023, 01:29:56 pmHot take: There's no difference. Prompt engineeringiswhat we will call "programming" in the future.If Tolstoy were working today, he might open his next novel with, "Well, Professor, all current programming languages are now just assembly languages."