[flagged]
[flagged]
Show HN: Wolverine: Give your Python scripts regenerative healing abilities
11–20 of 24 posts
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#12It didnt pick up the bug in the else of the calculate function, presumably it is only running along the path that the script is running based on the inputs.
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#13That seems… dangerous, to say the least
You're not suggesting that you won't put this immediately into Production are you?
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#14It's all fun and games until you get a subprocess.run(["rm", "/", "-rf"]) snuck in there that you fail to notice.
haha yes it did feel a bit wild just letting this run on my machine!
I wouldn't recommend running it on a script that's supposed to delete files
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#15It didnt pick up the bug in the else of the calculate function, presumably it is only running along the path that the script is running based on the inputs.
it will sometimes fix other bugs, but yeah the focus is on ones that caused the crash or are obvious
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#16Also check out Cataclysm:
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#17Crashes are the easiest bugs to self-fix.
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#18Crashes are the easiest bugs to self-fix.
agreed! but it'd be nice to not have to jump back to the editor to fix a minor crash and then go rerun
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#19It's all fun and games until you get a subprocess.run(["rm", "/", "-rf"]) snuck in there that you fail to notice.
1. Definitely don't run it as root.
2. Obv run in sandbox/container.
Re: Show HN: Wolverine: Give your Python scripts regenerative healing abilities
#20ON ERROR GOTO NEXT, 2023 edition