User talk:Yapperbot/FRS/Bugs
Appearance
Bug with GA nomination template fixed 8/29/24
[edit] Moved from User talk:Novem Linguae § Need help
permalink --David Tornheim (talk) 00:36, 30 August 2024 (UTC)
@Sohom Datta Thanks again for your help fixing the bug. A couple of questions:
- (1) I'd like to know more about how used you Python to simulate the problem. I'm a little more familiar with Python than Go, so it might be helpful. Would you mind posting the code you used to do that here, or somewhere else appropriate? And possibly explain how you used that code to solve it. Did you need control of a bot to do the simulation?
- (2) Is there an easy way to get a list of all the subroutines, data structures, and other constructions and definitions for a "program" or group of files in Go? Naypta said the code was "self-documenting", whatever that means. I do know how to search the code on Github, but it's tedious to do it for every routine, and any good compiler should be able to generate such a list easily. Do they have something like C's Lint_(software) to look for possible problems in the code? I'd like to make a database (or table) that lists all the variables, routines, where to find them, and a short comment on what they do, and possibly a list of inputs, output and data format requirement/specs, as I started to do back in 2020 here: User:Yapperbot/FRS/Documentation. I'm used to designing computer hardware, where that kind of documentation was often required!--it's very helpful to new people who pick up the code or call it.
- (3) Is there a good debugger for Go that you like? I like debuggers where you can single step through code, look at values of internal variables and set breakpoints. I saw them on- line and might have tried one. I would particularly like to use one that works with GitHub, and even better one that also works with SSH on the command line of a PC connected to Toolforge. Sorry if I asked you about that already and you already responded.