Bitcoin Forum

Bitcoin => Electrum => Topic started by: PX-Z on January 20, 2023, 10:54:20 PM



Title: Electrum improved Payserver plugin by ChatGPT
Post by: PX-Z on January 20, 2023, 10:54:20 PM
I found this tweet earlier today. I don't know how true this post is and if there should to be worry about talking about chatGPT in programming space.
I just want to ask coz this sounds like sarcasm to me lol.

About the improved payserver, well, that's all good to me though.

https://talkimg.com/images/2023/11/14/zM8Wm.jpeg
https://twitter.com/ElectrumWallet/status/1616542181115990016


Title: Re: Electrum improved Payserver plugin by ChatGPT
Post by: nc50lc on January 21, 2023, 03:14:41 AM
I don't know if ChatGPT is involved but it's true that there are a couple of improvements to the Payserver plugin recently this week.
Here's the commit history: github.com/spesmilo/electrum/commits/master/electrum/plugins/payserver (http://github.com/spesmilo/electrum/commits/master/electrum/plugins/payserver)

Developers don't reply here in Bitcointalk so we'll never know unless you ask them in one of those commits in GitHub.


Title: Re: Electrum improved Payserver plugin by ChatGPT
Post by: NotATether on January 26, 2023, 07:41:24 AM
Maybe it's talking about: https://github.com/spesmilo/electrum-http/compare/a9cdb5436f79c0577045274194c0473944cdd2a8...fc112140271033131ab09927aa02d523d330d568#diff-810dedfcc5ceb07419bc381c3edde9f3a91a6fe64cf68b1e2667daad0da7e163

The qrcode.js file specifically.

Although ChatGPT cannot write extremely long code, it looks like some functions inside it were pasted into this commit, seeing as they are one of the few pieces that actually have function documentation.


Title: Re: Electrum improved Payserver plugin by ChatGPT
Post by: Pmalek on January 28, 2023, 08:42:20 PM
I don't know what to think about this. First I thought it was a joke, but there is a screenshot there showing what they asked ChatGPT to do. Still, I am sure they wouldn't just blindly rely and use random code created by an AI. I have seen people correct ChatGPT for correctly adding two numbers together and it apologized and said it made a mistake. Maybe if you told it that the code it produced is completely wrong, it would believe you and make something else.

Someone who claims to be a JavaScript developer has already rated the code as being of low quality.
https://twitter.com/zeBookie/status/1616735293134065664 


Title: Re: Electrum improved Payserver plugin by ChatGPT
Post by: BlackHatCoiner on January 29, 2023, 04:14:37 PM
Maybe just me, but isn't ironic for a developer to have their work done by the AI? It can help finish his job as it's really amazing at responding to questions, but relying on it to do the job is prone to failure. This is like paying someone to write articles, and he passes some parts through the GPT, because he admits it knows more than him.

How can there isn't one JS developer in Electrum?


Title: Re: Electrum improved Payserver plugin by ChatGPT
Post by: bnbstorm on January 31, 2023, 09:23:22 PM
Maybe just me, but isn't ironic for a developer to have their work done by the AI? It can help finish his job as it's really amazing at responding to questions, but relying on it to do the job is prone to failure. This is like paying someone to write articles, and he passes some parts through the GPT, because he admits it knows more than him.

How can there isn't one JS developer in Electrum?

I think the code is very small and easily readable as can be seen in this commit (https://github.com/spesmilo/electrum-http/compare/a9cdb5436f79c0577045274194c0473944cdd2a8...fc112140271033131ab09927aa02d523d330d568#diff-810dedfcc5ceb07419bc381c3edde9f3a91a6fe64cf68b1e2667daad0da7e163). Also I guess they tagged ChatGPT to gain attention from people as chatgpt is trending on Twitter in multiple countries and is very famous now. I am sure code must have been reviewed before deploying. I think it is not correct to use harsh words for devs. They are doing extreme hard work for Electrum development.