empthought
Joined 14 years ago
Karma
1,398
Submissions
922
Member since
Mar 18
Joined 14 years ago
If all you do is write requests and then have the LLMs spit out the code, then you’re not a programmer, you’re a software architect.
Middle managers have to supervise people, otherwise they are not managers.
Stop with the slop.
Against DNSSEC: https://sockpuppet.org/blog/2015/01/15/against-dnssec/
for wmv in Path(sys.argv[1]).rglob("\*.wmv"):
print(wmv, end=" ")
r = subprocess.run(
["ffmpeg", "-i", wmv, wmv.with_suffix(".mpg")],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
)
lines = [l for l in r.stdout.decode().splitlines() if "kb/s:" in l]
print("\n".join(lines) if lines else f"ERROR {r.returncode}")
?If you go outside stdlib you can use the sh library instead of subprocess.run.
I know this because I just explicitly enabled it, and now I have the new Spotlight search. I didn't have it before I enabled it.