Click here to Skip to main content
15,892,298 members

Comments by ThePotty1 (Top 10 by date)

ThePotty1 25-Jan-24 1:09am View    
Hey neighbour :D
I agree that there are probably several poor architectural choices, which we will address, but right now I'd like a quick fix to reduce the size of the traffic required to run this monster which I had no part of building. My code performs like nothing they've ever seen, but they aren't even looking at it because the php is too bloated to run.
ThePotty1 5-Sep-22 17:16pm View    
Bahaha I resemble that remark :p

Yeah It occurred to me that I'm just calling a function, which is something we do a lot, in the happy and certain knowlege that the function will run through it's logic, and then return. I got distracted by the weird wrappers, but until the function returns, the calling code just waits.

EDIT 100 threads? Wow, no, well thread count is set in xml, but currently I'm running on 3.
ThePotty1 18-May-21 3:29am View    
Yeah I assumed that would kinda balance out, everyone steals as much as they can get and nobody's entirely happy, but they all get equal shares. Perhaps not a safe bet, it doesn't seem to be working irl :p
ThePotty1 12-Jul-19 6:02am View    
Actually, this may be a teachable moment, why do I not need to check if python is installed? I simplified that check to just run raise SystemExit(0), and rely on the value from GetExitCodeProcess being zero. I tested it on a computer that doesn't have python, and my program acted as if it was. Obviously my new check is garbage, but the old one not only tested python itself, it also checked logfile access. Which it turns out I don't need anymore, hence the simplified test.
ThePotty1 11-Jul-19 10:01am View    
Chuckle. Oh go on, I reckon I can take it.