Thank you for the reply. Python keeps being suggested, what would you suggest if I end up changing rails here?
Thank you for the reply. Python keeps being suggested, what would you suggest if I end up changing rails here?
I was going to suggest Python too but you'll need to be careful to just use functionality that is part of the standard library because once you start pulling in 3rd party packages deployment is much harder and portability seems to be a requirement here. That should be doable with your case.
The free edition of PyCharm is great for debugging.
Keeping python in mind then. For now I think I've gotta keep trying with a shell script because it can fit the whole decoder in 2 QR codes (1 for each step, extracting+reassembling) with zbarimg+ffmpeg as the only dependencies
Maybe I should use python for the main version but keep a shell script mini decoder option available
thanks for using Leebra!
go to feed...
While it is technically possible to write shell scripts that do as much as what you're attempting to, it's not a good idea.
Shell scripts generally don't have the development environment necessary for debugging. You can't pause execution based on a breakpoint and inspect variables, or step through the code line by line to watch the execution flow as it happens. Well,
bashdbexists, but it's quite hard to use.Without proper debugging tooling you're limited to printing stuff out on the screen and trying to figure out what that means. That's ok for short scripts (< 50 lines?) but yours is 700+ lines.
save