Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 17, 2023 at 10:55 pm
@ HappySkeptic You know something about JavaScript, right? So, could you help me with this? I've tried using Chrome Developer Tools, and I still don't understand what's really going on in my program.
Posts: 8231
Threads: 40
Joined: March 18, 2014
Reputation:
54
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 18, 2023 at 9:22 am
(August 17, 2023 at 10:55 pm)FlatAssembler Wrote: @HappySkeptic You know something about JavaScript, right? So, could you help me with this? I've tried using Chrome Developer Tools, and I still don't understand what's really going on in my program. (my bold)
And, as long as you keep asking others to do your homework, you never will.
Thief and assassin for hire. Member in good standing of the Rogues Guild.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 19, 2023 at 12:29 am
(August 18, 2023 at 9:22 am)Ravenshire Wrote: (August 17, 2023 at 10:55 pm)FlatAssembler Wrote: @HappySkeptic You know something about JavaScript, right? So, could you help me with this? I've tried using Chrome Developer Tools, and I still don't understand what's really going on in my program. (my bold)
And, as long as you keep asking others to do your homework, you never will.
Some problems in programs can be diagnozed using basics of debugging. But some require advanced debugging. Such as this one I ran into when making my AEC-to-WebAssembly compiler. Or, apparently, this one. And we are taught literally nothing about debugging at the university.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 5:09 pm
I just merged the first pull request I got on my PicoBlaze Simulator: https://github.com/FlatAssembler/PicoBla...JS/pull/10
Apparently, there was a bug in the way I implemented the `sra` bit-shifting directive. Still, GitHub forks and stars won't help me pass my cybernetics test next week.
Posts: 16444
Threads: 127
Joined: July 10, 2013
Reputation:
65
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 5:16 pm
(August 21, 2023 at 5:09 pm)FlatAssembler Wrote: I just merged the first pull request I got on my PicoBlaze Simulator: https://github.com/FlatAssembler/PicoBla...JS/pull/10
Apparently, there was a bug in the way I implemented the `sra` bit-shifting directive. Still, GitHub forks and stars won't help me pass my cybernetics test next week. You caused the bug. Color me surprised.
Yeah, I know, what does that mean?
Posts: 8231
Threads: 40
Joined: March 18, 2014
Reputation:
54
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 5:48 pm
(August 19, 2023 at 12:29 am)FlatAssembler Wrote: (August 18, 2023 at 9:22 am)Ravenshire Wrote: (my bold)
And, as long as you keep asking others to do your homework, you never will.
Some problems in programs can be diagnozed using basics of debugging. But some require advanced debugging. Such as this one I ran into when making my AEC-to-WebAssembly compiler. Or, apparently, this one. And we are taught literally nothing about debugging at the university. (my bold)
You seem to use this excuse a lot to explain away your unwillingness to learn the things that will actually make you successful. When I went to school, they didn't teach AutoLISP, the programming language used to automate AutoCAD. So, I fucking learned it on my own. I learned how to diagnose errors and debug code, and sometimes, yes, I even asked for help. What I never did was ask, or expect, others to do my work for me. And, I sure as fuck never pestered any message boards (would have been BBS at the time, but still...) incessantly with my petty demands and excuses.
If you want to succeed at life, I sincerely recommend growing the fuck up and taking ownership of your own life and challenges instead of whining, complaining, blaming others and pointing fingers at everyone but yourself.
Thief and assassin for hire. Member in good standing of the Rogues Guild.
Posts: 35277
Threads: 204
Joined: August 13, 2012
Reputation:
146
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 5:59 pm
It's probably a ladybug...
Playing Cluedo with my mum while I was at Uni:
"You did WHAT? With WHO? WHERE???"
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 10:39 pm
(August 21, 2023 at 5:16 pm)arewethereyet Wrote: (August 21, 2023 at 5:09 pm)FlatAssembler Wrote: I just merged the first pull request I got on my PicoBlaze Simulator: https://github.com/FlatAssembler/PicoBla...JS/pull/10
Apparently, there was a bug in the way I implemented the `sra` bit-shifting directive. Still, GitHub forks and stars won't help me pass my cybernetics test next week. You caused the bug. Color me surprised.
Yeah, I know, what does that mean?
Well, yes, I made a small mistake when coding the simulator three years ago, and somebody at a university in Argentina was using my program, noticed the error and was able to get through my code and fix it.
Posts: 16444
Threads: 127
Joined: July 10, 2013
Reputation:
65
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 21, 2023 at 10:59 pm
(August 21, 2023 at 10:39 pm)FlatAssembler Wrote: (August 21, 2023 at 5:16 pm)arewethereyet Wrote: You caused the bug. Color me surprised.
Yeah, I know, what does that mean?
Well, yes, I made a small mistake when coding the simulator three years ago, and somebody at a university in Argentina was using my program, noticed the error and was able to get through my code and fix it.
Well, now you know where to go to get some of the help you need.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: A weird bug in the preprocessor of PicoBlaze Simulator in JavaScript
August 22, 2023 at 10:28 am
(August 21, 2023 at 5:48 pm)Ravenshire Wrote: (August 19, 2023 at 12:29 am)FlatAssembler Wrote: Some problems in programs can be diagnozed using basics of debugging. But some require advanced debugging. Such as this one I ran into when making my AEC-to-WebAssembly compiler. Or, apparently, this one. And we are taught literally nothing about debugging at the university. (my bold)
You seem to use this excuse a lot to explain away your unwillingness to learn the things that will actually make you successful. When I went to school, they didn't teach AutoLISP, the programming language used to automate AutoCAD. So, I fucking learned it on my own. I learned how to diagnose errors and debug code, and sometimes, yes, I even asked for help. What I never did was ask, or expect, others to do my work for me. And, I sure as fuck never pestered any message boards (would have been BBS at the time, but still...) incessantly with my petty demands and excuses.
If you want to succeed at life, I sincerely recommend growing the fuck up and taking ownership of your own life and challenges instead of whining, complaining, blaming others and pointing fingers at everyone but yourself.
I don't think that what is happening to me in life is my responsibility. I don't think that my mother ending up in jail is my responsibility. Or that me getting a psychotic disorder preventing me from finishing the university on time is my responsibility. Maybe those things wouldn't happen to me had I made some decisions differently. But maybe they would anyway. It's hard to tell even in retrospect.
|