Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
msdsk31821y@lungdart yeah, that's literally the thing, how can people develop anything that isn't FE web? Whenever I need to work with stuff that needs to compile for longer than an hour I age a year for every twenty seconds of compilation time.
-
I recall connecting an oscilloscope to a microcontroller to debug transient timing issues.
You'd have to put logic in for flipping a pin high and low during function calls, and pray that the code changes (and probe loading) didn't have an effect on the thing you were measuring.
If you need a change, you'd have to not only recompile, but pull an EEPROM from the socket and put it in the programmer to reflash it, then replace it in circuit and start over.
Or even worse, patching issues on physical circuits with a 3 week turn around from the pcb house in thailand... -
Try debugging a machine learning training script that runs for 8h and then crashes. That right there is a long time. I learned the value of checkpointing the hard way :D
-
@MammaNeedHummus I would love for you to share how I build a test for a recursive multithreaded importer handling 250k 3d meshes that only mostly follow a spec that may load properly on their own, but fail spectacularly when loaded after another mesh.
TDD only really works when you control every aspect of a well defined process you control. -
@cuddlyogre I'd bet mola that there will be whole sections (units) of your code that you can write tests for.
Is the codebase very tightly coupled?
Am happy to try an help with this if you're interested -
@MammaNeedHummus You are correct, there are lots of opportunities for testing. Not one of which would have caught the bug I was getting.
150 seconds is a long time to wait to see if you've finally fixed a stubborn bug.
rant