top | item 24877659

YouTube-dl source code encoded in two images

325 points| arafsheikh | 5 years ago |twitter.com | reply

106 comments

order
[+] PurpleFoxy|5 years ago|reply
Distributing the code is not an issue. It’s keeping development moving when YouTube changes their apis.
[+] harryf|5 years ago|reply
This is also an interesting case for github. youtube-dl is popular enough that this just might annoy enough people to find an alternative way to collaborate on it. Meanwhile github becomes “that platform that might kill you project”
[+] Ahmed90|5 years ago|reply
Genuine question, how viable is it, if we (code monkeys) created some sort of a blacklist of the entities that are not allowed to use our open source projects? -- something like "We don't support Internet Explorer" but a bit more aggressive? like "These entities don't understand the Internet, we don't support them, they cant use our software"?

Maintaining that list would be a ton of work and edge cases tho :/

[+] protomyth|5 years ago|reply
Any organization you create to manage such a list will be captured by non-programmers with an agenda that is political and stops serving the original purpose. They will play favorites.
[+] rmrfstar|5 years ago|reply
Do you really want to live in a world where software is politicized to the point that FOSS devs are maintaining shit-lists of undesirables barred from using basic tools?

It won't end well, and the adverse effects will disproportionately impact people without power, not the large companies you have in mind.

[+] e12e|5 years ago|reply
Maybe we need apache with DMCA clause (like patent clause)-if you ever invoke DMCA your license is forfeit?

I'm not sure how viable it is - the GPL is hack on top of copyright - but the DMCA is an extension on top of copyright too (however ill advised).

[+] npongratz|5 years ago|reply
I cannot speak to its viability, but the BipCot NoGov License is a pioneer along these lines. It has been around at least 5 years: https://bipcot.org

'The BipCot NoGov License allows any use of software, media, products or services EXCEPT by governments. The BipCot NoGov License threatens no “government guns” for violators. It is not copyright-based, it is entirely shame-based.'

Text of version 1.2 of the license:

https://bipcot.org/wp-content/uploads/2018/08/BipCotNoGovSof...

[+] dgrin91|5 years ago|reply
Keep in mind there is no singular we. There will be code monkeys you agree with. There will be code monkeys you dont agree with. There will be code monkeys you sorta agree with. They would all start to make their own lists. You'll be on some of this lists.

All we've really ended up doing is fragmenting the internet more.

[+] slooonz|5 years ago|reply
Then it’s no longer open-source projects.
[+] bob1029|5 years ago|reply
Sounds like what you are looking for is closed source software where you get to dictate precisely who your licensees are and under what specific terms they must use your software.

This is a model I have started to seriously consider due to increasingly prolific IP theft concerns. There is software that is so capable that it could be considered a weapons platform from some perspectives. I really worry about this stuff in context of China/Russia/India/et.al. and our willingness to relinquish our various competitive advantages.

[+] snomad|5 years ago|reply
Some negative points highlighted below but I think this is right tract still. Maybe an updated GPL with prohibition against DMCA?
[+] 533474|5 years ago|reply
Look at the FSF, EFF...old MIT wizards went through the same...we should avoid centralised hosting for projects like these or be bullied into closing them by lobby groups
[+] sgt|5 years ago|reply
Great, now Imagemagick will receive a DMCA takedown notice! Can someone encode Imagemagick as audio using sox?
[+] Santosh83|5 years ago|reply
Most countries are being pressured into converging on a global set of copyright laws (among others), so unless we demand and can realise changes in the law, this is going to be a perpetual battle of attrition, and the other side's job in done when it becomes inconvenient enough for widespread use. They don't need to wipe something out completely.
[+] superasn|5 years ago|reply
This recent takedown will only make more people know about YouTube-Dl and hopefully create more forks. When will these big companies learn!?
[+] rnhmjoj|5 years ago|reply
The takedown may spark new life to the project development, which severely slowed down in the last months because there are too few maintainers.
[+] danso|5 years ago|reply
Plenty of people used and knew about youtube-dl already. It's made the front page of HN multiple times [0]. I've used it as a key example of why/how non-programmers should learn to use the command-line. People who weren't already aware or didn't care to learn aren't going to be significantly moved now.

[0] https://hn.algolia.com/?q=youtube-dl

[+] themihai|5 years ago|reply
We should start a political movement to stop this tyranny. Like the climate change movement it will take time but at least we will make some progress.
[+] protomyth|5 years ago|reply
The NRA is your model organization. No one cares if the EFF has an opinion but the NRA carries weight in elections. We need an NRA for encryption and we need one for open source. They should not be the same organization because you need a single, one line focus.
[+] 533474|5 years ago|reply
There are movements such as the FSF and EFF. Why not join and get ur voice heard?...or perhaps start a new movement, not separate to those that already exist, but complementary and cooperative
[+] yardshop|5 years ago|reply
Just for fun, I wrote a little Python script to convert the image files back into the original archive.

Use Pillow to read the pixels from each file, and write the RGB values to a new file. Then use the gzip library to uncompress that and create a TAR file. Then I just viewed the TAR file in The V File Viewer.

I stopped there because that was enough to show that it worked. I have ImageMagick installed somewhere, but this was more fun.

[+] JdeBP|5 years ago|reply
... but none of the version control history, issues list, pull requests, branches, and whatnot.
[+] konart|5 years ago|reply
So... is there any 'official' mirror by now? I mean the one that the original author and maintainers are using, not just all possible mirrors created by the community, there are dozens of them of course.
[+] nautical|5 years ago|reply
Side Question : Is there a distributed alternative to github ?
[+] ape4|5 years ago|reply
How does it work anyhow? It must do more than `wget` the mp4
[+] boomboomsubban|5 years ago|reply
It also uses ffmpeg to combine various pieces, and I'm not sure what wget like program they use by default. It doesn't do much though.
[+] DiabloD3|5 years ago|reply
That is essentially what it does: it uses Youtube's own API to formulate the correct URL, using all publicly known data that Google themselves publish so Youtube can function.
[+] dkdk8283|5 years ago|reply
Seems like this tweet was also taken down.
[+] slezyr|5 years ago|reply
Nah, just "modern web". Tweeter always loads once in 10 times for me.