this post was submitted on 12 Jun 2025
42 points (92.0% liked)
Late Stage Capitalism
5920 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
With the GPT + deepseek combo it fixes that problem (in my layman's eyes); deepseek has a problem of overengineering especially if you don't scope it correctly but if it works on an initial script, it will mostly stay within it. It's also able to simplify GPT code.
For the life of me I have never been able to learn javascript, so when I need to code something for ProleWiki I just throw the problem at them. You can look into https://en.prolewiki.org/wiki/MediaWiki:Common.js our script file for what they came up with - the color scheme picker, the typeface picker, and the testimonials code. Color picker is a bit overengineered because we have a theme that should only be available for one month out of the year and it was simpler to hardcode it in.
I still have to think about the problem, if I don't scope it well enough they will come up with whatever they feel like. For the color schemes when I had the first custom theme working I told them to refactor the code so that we could add new themes in an array, and they came up with everything. So now I can add unlimited themes by just adding a line in the array.
Potential simplifications that they don't think about (and hence why it's good to know how the generated code works) is that there's no need for className and LabelId in the array, it could generate that from the value. But eh, it works.
edit - using it as a "copilot" is also a good use, though I find that sometimes it just utterly fails. It's still an RNG machine at heart. But if you get it to work, it can really help unlock your other skills and not get stuck on one part of the process.