Stream: show and tell

Topic: Sharing a small win


view this post on Zulip Niclas Ahden (Nov 28 2024 at 17:01):

I just used Roc as a natural replacement for bash and it was great! I wrote a script to migrate videos from one system to another which involved downloading a video, calling ffmpeg to transcode it, scp:ing it off to a streaming server, running some postgres queries to publish the video, and SHA-BLAM: migrated!

Writing this in Roc instead of bash was faster, easier, and my trust in its correctness saved me a ton of time testing before doing the actual production run.

I am doing top-tier multi-threading (running four instances of the script, heh :peace_sign:) and it's been running smoothly for 30+ hours now, and has processed 1000+ videos so far.

Roc is awesome!

view this post on Zulip Richard Feldman (Nov 28 2024 at 17:22):

that's awesome to hear! I love hearing stories about people having a good time using Roc to make their lives easier :hug:


Last updated: Jul 06 2025 at 12:14 UTC