News for hackers. Stuff that matters.
Re:YouTubeDrive: Store files as YouTube videos by wanderingmind on Tuesday May 24, 2022 @07:23PM (#31498714)
The code looks not too big (a single file). But it requries a paid symbolic language (Mathematica) to be used. Anyone with better Mathematica knowledge explain if it can be ported to another symbolic (Sage, Maxima) or non-symbolic languages (R, Julia, Python)
Re:YouTubeDrive: Store files as YouTube videos by dzhang314 on Tuesday May 24, 2022 @08:41PM (#31499305)
Yep! I'm the creator of YouTubeDrive, and there's absolutely nothing in the code that depends on the symbolic manipulation capabilities of Wolfram Mathematica -- you could easily port it to Python, C++, whatever. However, there are two non-technical reasons YouTubeDrive is written in Mathematica:

(1) I was a freshman in college at the time, and Mathematica is one of the first languages I learned. (My physics classes allowed us to use Mathematica to spare us from doing integrals by hand.)

(2) I intentionally chose a language that's a bit obtuse to use. I was afraid that I might attract unwanted attention from Google if YouTubeDrive were too easy for anybody to download and run.

Re:YouTubeDrive: Store files as YouTube videos by wanderingmind on Tuesday May 24, 2022 @10:59PM (#31500115)
Cool thanks. This is an ingenious idea in the true hackers spirit. Well done.
Re:YouTubeDrive: Store files as YouTube videos by hifikuno on Tuesday May 24, 2022 @08:16PM (#31499121)
I remember seeing years ago a python library called BitGlitter which did the same thing. It would convert any file to a image or video. You could then upload the file yourself. https://pypi.org/project/BitGlitter/
Re:YouTubeDrive: Store files as YouTube videos by wanderingmind on Wednesday May 25, 2022 @03:37AM (#31501616)
Looks like the github page is deleted. Its better not to use it anymore.