skysight-inc/HackerNews huggingface dataset:
(author here) Yeah I've been asked that before, and there are some things you can fix with a transpiler, but somethings you can't.

That's why the tagline to Oil is now "our upgrade path from bash to a better language AND RUNTIME".

The shell runtime needs to be fixed too, e.g. the error handling mentioned in the blog post and that I follow up on here: https://news.ycombinator.com/item?id=24872986

You might be able to compile that to some really long bash, but I don't think it works in general, because editing deployed scripts to fix stuff is useful (yes in production, but also on your own machine. Think of all the shell that people put on it, like virtualenv, nix-shell, rustup, etc.)

You don't want to end up with the JavaScript problem: you have a dynamic language, but ALSO A BUILD PROCESS, which is basically the worst of both worlds.
Yes I liked this format a lot, reminds me of the psuedo sets concept trending on the front page. It kept me going through the 4 pages to see the back and forth
Why is this thread flagged? I was looking for discussion on the topic in the first page.
Seems like putting that in the readme was pretty stupid. Intent matters in legal things, making the example infringing undermines the argument that the tool is good and some people are just bad.

> This feels like DeCSS all over again.

I think napster would be the better comparision (and especially napster compared to vcrs)
What about this is perjury? The readme actually did encourage downloading copyrighted material...
Piece is reactionary right-wing garbage; there is, indeed, a moral concern with regard to the price of higher-education in the United States. This horrid opinion has nothing to add to that conversation.
How is this perjury? No one's under oath.
It’s about primary purpose.
You can't even search for it?

https://github.com/search?q=youtube-dl
I am interested. I put around 30 focused minutes to distinguish E5 and have been able to endure that memory both to recognize it in the piano and to sing it since.
How to Win Interviews and Influence Offers
Interesting suggestion! I'm working on expanding smgmusicdisplay.com. SMG's a tool used by Twitch streamers to display what music they're currently playing.

I'm designing a song played history page for streamers where their viewers can browse through their most played songs, their history, favorites etc... But I really like this idea of adding community moderation into the mix as well!

Streamers are known for having tightly knit communities. So far I've been excited about building this idea, but I ran into a roadblock where smaller artists would still not get much more exposure... But in this case, if an individual streamer likes a particular artist, that can actually result in a lot of exposure, even for small artists!

Thanks for this suggestion!
Yeah the title could be updated to more accurately reflect the content but I still enjoyed the discussion and (for me at least) a new online debate format
Fukushima reactor water could damage human DNA if released, says Greenpeace
Email marketing hacks that drive sales
It’s same where I’m from, but I wonder if an attitude that is good for the employee would be viewed as a bad attitude from the perspective of the employer.

I suspect this is true at many workplaces.
IANAL, but as far as I know GitHub has to comply with DMCA requests. Otherwise, they would lose their safe harbor protection and become liable for all distributions of copyrighted content through their service.

However, GitHub is also required to reinstate `youtube-dl` if the creator files a DMCA counter-notice.
Yes, would be messed up given the state of play upon gun laws.
Social Media Influences Elections
Just got the patch notification! To be honest - I’m more excited by the better visualization of what the car sees than the self driving mode itself. Driving the model 3 is so pleasant that I do not find myself wanting or needing self-drive - but I am hopeful for the parking-lot-less world it might herald!
What I think is hilarious is how many takedown notices they've received!

https://github.com/github/dmca
I feel like if they'd been more patient, they might have addressed the similarity to the "analog hole."
Why are you resistant to arbitrary structure, but not to arbitrary suggestions?

Why do sets turn you off, but not the activity itself?

> That positive bump might be because the entire set of people who leave your little experiment or disengage as a result.

Why do you assume that those people arent counted?
You keep repeating the same tired arguments, then can't explain why Bitcoin went from 0 to $240 billion market cap in 10 years. There is clearly a lot of value here, even if you refuse to acknowledge it.
This is really cool!

In a serious emergency where food supplies are limited, you probably only want to trade calories for highly valuable survival resaons.
From the youtube-dl source code, in a file helpfully called youtube.py:

def _decrypt_signature(self, s, video_id, player_url, age_gate=False):
"""Turn the encrypted s field into a working signature"""

if player_url is None:
raise ExtractorError('Cannot decrypt signature without player_url')

It definitely does do decryption, as stated in the DMCA claim:

> is a technology primarily designed or produced for the purpose of, and marketed for, circumventing a technological measure that effectively controls access to copyrighted sound recordings on YouTube

.. and some claims referencing a 'youtube to mp3' site ruled illegal by a German court.

Not defending this, 'effective technological measures' are a horribly broadly-scoped hole, but there is decryption at play here.
As a good internet citizen I have only one question: Where can I find a mirror to fork to preserve this piece of software?
Thanks for the throwback
> is that really meaningfully different from using Firefox or Chrome?

In the USA legally it is because the vast majority of the judges that have ruled on these things think anything that isn't a browser is a hacking tool. Using wget is enough to get you thrown in federal prison for accessing public web resources.
The next step following this line of thinking would be trying to ban all torrent clients, because they CAN be used to download copyrighted material

Didn't the RIAA put up a considerable effort against torrenting in the early 2000's? I remember quite vividly them going after just about anyone who made music available, even if you owned your own songs and were simply uploading them to a web UI to listen to in the browser (Remember Muxtape?)
While the takedown request is outrageous, I'd probably respond the same in MS's shoes. Frankly defending it is not worth the corporate lawyering required from MS's perspective.

That said, I think if Youtube-dl self-hosted on Gitlab or something and received a similar takedown, they could probably mount a successful defense.
GitLab also has to comply with DMCA complaints. A quick search brought up their procedure: https://about.gitlab.com/handbook/engineering/security/opera...

They'll still take down a repo and block the user if it is hosted. And self hosting something isn't free, plus quite possibly puts more legal exposure on the team.

This isn't a problem with technologies or the platform. There fundamentally needs to be a narrowing of DMCA, a presumption of innocence rather than guilt, and penalties for issuing unjustified takedowns.
It is like your abusive partner brings up all the things they think you did wrong when they don't have any logical argument.
Well, that's all the encouragement I need to finally read this. Thanks dang.
> Do you also only think that crimes happen only if it gets reported? Meaning if 50 burglaries happen to 100 people but only 2 people reported it, does that mean the burglary rate is 2% or 50%? This is why I don't bother with these worthless metrics as I'll explain in the next paragraph regarding trump.

Based on this middle school level of understanding of polling and crime statistics, I'll skip the rest of the comment, but thanks.
Definitely not for simplicity of server/client code. Using a Json serialization library basically means implementing a POJO at this point.
thanks for your response.

The project is still actively under development and accessiblity is something not yet fully implemented but the goal is to get there eventually very quickly. I have not advertised as fully accessible.

Can you clarify a bit more on the keyboard navigation working poorly. may be logging a issue on the repo would help me to solve it quickly.

as for problems in safari, i use a windows laptop and i haven't got the opportunity to test on safari thoroughly. But this will be looked into on high priority.
There's some random chance as well - not everyone can win the lottery.

I think that there are some minimum thresholds you have to beat in terms of intellect, drive, charm, talent, etc., but I'm not completely convinced you need a significant "degree of exceptionalism" in any of these things - being in the right place at the right time can often be enough.
https://gitee.com/mirrors/youtube-downloader

Or download from https://web.archive.org/web/20201018144703/https://github.co...
I like the penultimate paragraph:

> The SAT is often criticized, but the Advanced Placement system is psychologically more insidious: distorting learning incentives in high school, and training keener students to think of college in terms of “completing requirements.” Students who are good at something shouldn’t be treated as exempt from learning, but encouraged to venture farther.
there's good stuff here https://www.nature.com/collections/cfcdjceech if you have access to Nature.
If the README stated that you can download free to use video such as: https://www.youtube.com/c/VideoLibraryNocopyrightFootage/vid...

You're out of troubles?
> The +/- in a given poll is measurement error derived from the sample size. They don’t account for systemic error.

Sure, but even the worst poll-based prediction outfit isn't just aggregating poll results and using the uncertainty based on sample size to determine the probabilities of different outcomes.

Pretty much all of them are using some model derived from the past relationships of polls to election results, which will, to a greater or lesser extent, capture systemic polling error that is not unique to the current cycle in the model.
> Let's issue a takedown for the GNU Project while we're at it because I could use wget to do the same thing. In fact, I could write my own program to illegally download content, so we better just get rid of computers altogether.

https://www.gnu.org/philosophy/right-to-read.en.html (1997)
> First, you know you're on extremely weak rhetorical ice

a) You do not know what I know

b) I would say that I am not on "rhetorical ice" at all - rather, I am combating rhetoric with precise, non-rhetorical ideas

> and also kind of outside the norms of our community

This is my very complaint. It may be true that I am "outside of the norms (Overton Window) of the community", but have I violated the HN guidelines? Is strict epistemology (disciplined adherence to that which is actually true) a formal violation of explicit community rules, or an undocumented, culturally imposed one?

> when you start quoting the dictionary as a rebuttal.

Adherence to formal, broadly accepted definitions of words (upon which someone else's argument is based) is improper behavior?

> The person you're debating told you what they meant; what they meant is no longer a part of the debate.

How does one know what portions of reality are acceptable to discuss, and which ones shall not be discussed? I see nothing in the guidelines. And I would strongly disagree to objections based on "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith." It is a fine guideline, but when it starts being used as a wildcard to suppress true ideas, the discussion of which may not to be some people's liking, I think that crosses an important line.

> Second, it is very much out of the norms of HN to do email-style alternating quote/response the way you are. It's also very difficult to read on this site.

Certain forms of communication (precise, non-narrative) lend themselves to different writing styles.

Do you have any objections that are based on the actual content of the ideas I have written? Or might your objection be not to the ideas themselves, but that I am stating them out loud?

Does it matter to anyone what is actually True any longer, or have we mass adopted a culture of "the ends justifies the means" to managing and discussing the affairs of the world? Should bad ideas be fought with better ideas, or with censorship (formal, or informal) and pretending they do not exist?

Based on how I see events unfolding in the world, now seems like an opportune time to be discussing just what exactly we humans are actually up to on this planet (as opposed to what we like to tell ourselves we are up to), from a more philosophical/abstract perspective - this facilitates the ability to rise above the repetitive loop of object-level "he said, she said" conversations, and ascend to a level of more thoughtful, less combative/partisan communication and sense making - at least in theory. Are we formally opposed to that level of conversation, is that "outside the norms of our community" - or not? This is not my decision to make, I am only asking the question.
I doubt it. I have G and C harmonicas, they are very different. When playing harmonica ears help to find holes.

I've been practicing for two weeks, currently on G3, C4, G4, C5, mostly confident (100 correct answers) though sometimes it tricks me.
Love the format -- not sure about the image at the top though. It sort of gets in the way, I think. What do you think?
I'm glad the couple at least enjoyed it. I got to try the Mouton last year; not the 89, but even with a more recent vintage, the difference was instantly obvious.

That tasting was blinder than most: during the Marathon du Medoc, where we sampled two dozen wines over the course of 26 miles, right at their chateaux. Many were fantastic, but even so, the Mouton stood out. And I didn't realize until later which one it was: it was 20 miles in on a very hot day, and I was rather bleary-eyed by that point. I tasted it and my notes are quite clear how much I loved it, and only later synched my notes up with the wines along the course.
Has anyone tried sending automated DMCA for the entirety of Github? Once half of github is under bogus DMCA, maybe that'll make them think for a minute.

I'm halfway serious.
I like that quote but lately feeling like advanced tech doesn't necessarily mean angelic
What about your brain when you remembered the copyrighted song that you listened to on YouTube and then you just listen to it in your head instead of playing a video? It's just ridiculous. These greedy organisations should be made illegal.
> Guns are not banned in any country.

Wikipedia indicates that a few countries (e.g. Laos) ban all private citizens from owning guns. See: https://en.m.wikipedia.org/wiki/Overview_of_gun_laws_by_nati...
While its good to get a backup of the source code, youtube-dl is one of those projects that quickly becomes useless as Google mixes stuff around within YouTube, which they like to do. Without an active developer base, the project will quickly become less and less effective, which is one of the big concerns IMO about this lawsuit.
See

https://en.wikipedia.org/wiki/Gravity_gradiometry
Well, following their logic behind DMCA compliant, I guess fiddling long enough with developer's console on Chrome or Firefox would allow you to download potentially copyrighted material from youtube the same way youtube-dl does.

sed s/youtube-dl/firefox/g and voilà, DMCA for Firefox ready to submit...

Let's go further! Let's DMCA the Linux kernel because it runs Firefox/youtube-dl/curl/wget!
There's a huge difference between an XML document type designed by committee and something utilitarian used by an app developer. For example:

<items>
<item id="1" attr1="value 1" attr2="value 2" attr3="value 3" />
<item id="2" attr1="value 1" attr2="value 2" attr3="value 3" />
<item id="3" attr1="value 1" attr2="value 2" attr3="value 3" />
<item id="4" attr1="value 1" attr2="value 2" attr3="value 3" />
<item id="5" attr1="value 1" attr2="value 2" attr3="value 3" />
</item>

It's not something that an IBM committee would have come up with but it fits the needs of an application. If XML has an "intrinsic fault" it's related to DTDs and namespaces which allow for the creation of horrible, complex monstrosities. XML can be every bit as stripped down and to-the-point as JSON, trading the curley braces for angle brackets. JSON's best point is that it doesn't support any of this needless complexity but it's still easy enough, with enough nested objects and arrays, to make something that's effectively not readable by a human.
Cook was also running Apple ops for a decade before being CEO. It's not like he appeared out of nowhere. One can argue Apple's design chops and freedom to innovate were because of Cook, who cleaned up all the business and ops shenanigans that were driving Apple bankrupt under Scully, Spindler and Amelio, and create a stable foundation for Jobs to work his magic.
"foo" == TRUE
"foo" == 0
TRUE != 0

NULL == 0
NULL < -1
0 > -1

You have to test the simplest expressions because you can't trust the language to do what you wrote.
Bring More Power to 5G with Cloud-Native Telco PaaS – XGVela
Ball lightening is so strange it might just come from another dimension
I've never forgotten the scene in the OSC short story "Fat Farm", in which the protagonist's mind has been copied to his clone, which clone has left the facility to "continue" to enjoy his fine life, and the protagonist realizes he hasn't thought about what comes next. The answer is grim.

A consciousness might awake in the machine, but it won't be my consciousness.
From Appendix E:

> It is also noteworthy that this aspect of the condition system is fully independent from Lisp’s homoiconicity; rather, it is a consequence of the way other programming languages are designed. For instance, when one divides by zero in a Java program, then there is nothing carved in stone which would prevent the language from winding the stack further and executing some code that will analyze the dynamic environment in which the error happened, calling all error handlers found in the dynamic environment, and then—if no handler transferred control outside the error site—either entering an interactive debugger of some sort or giving up and crashing. However, Java goes a different way: it immediately destroys the stack by throwing an exception. That is a design choice which was made by the Java creators; Lisp’s homoiconicity has nothing to do with this fact, as can be demonstrated by the multiple independent implementations of condition systems in non-homoiconic languages that we have mentioned earlier.
I can still install it via pip:

pip3 install --user --upgrade youtube-dl

So I guess they haven't issued a take down to PyPy yet.
so should we take down web browsers as well? because they CAN be used to download copyrighted music and videos.
Should it stand up to legal scrutiny though?

What does it matter if I play the beatles on youtube by watching in a web browser or watching an .mp4 file that I just downloaded? It's functionally the same.
What if I remember the song I listened to on YouTube and I can remember any copyrighted material? Are they going to serve me with DMCA to disable part of my brain? These organisations are ridiculous.
https://www.w3.org/TR/xmlschema-2/#built-in-primitive-dataty...

For comparison, time formats in JSON are all over the place.
making it fully responsive currently in the works. thanks
All computers with the option to install applications or unlocked/unlockable bootloaders can be used to make copies of copyrighted materials. And it certainly happens a lot.

But then, when secure boot came, Microsoft was forced to grant every owner of an Intel compatible computer the right to unlock it for antitrust reasons (luckily).

So were is the borderline between a legal tool and an illegal tool? Well, lawyers will find out...

In the meantime youtube-dl needs to be distributed some other channel. Which of course might raise the risk of back-doored or otherwise poisoned version floating around.
Signal has a fascinating blog post from 2017 about how to use Intel's Software Guard Extensions (SGX) to actually let clients confirm that the software they're communicating with is the exact version they expect it to be.

https://signal.org/blog/private-contact-discovery/

SGX is definitely not bulletproof (https://medium.com/@maniacbolts/signal-increases-their-relia...), but it exists to do exactly this job, and Signal is using it.
This is a good piece with examples of attacks by the ideologically militant multitude against what is unfortunately these days the free thinking minority.

If these attacks succeed, education is on its way to moral bankruptcy.
Ok, so who's building a distributed, cryptographic, uncensorable version of GitHub?
It sounds like the RIAA is comfortable filing DMCA takedowns when the logic is questionable.

If so, then I'm curious about the legality of a counter-attack: Look at any websites, photos, music, videos, and text presented online by everyone represented by the RIAA. If anyone in a competent jurisdiction sees any similarity to prior art that they've created, even if it's their 2nd grade writing assignment, hit them with a DMCA takedown notice.

After all, we just need a good-faith belief that it might fly in some court somewhere, right?
You as a random person would be committing what's essentially (or actually?) perjury and I'd expect you'd either be ignored or prosecuted. Big companies seem to get freebies on this, doubt you would.
No wait lets go one more layer down. Lets attack the net and socket c/c++ libraries as they can also be used to download a little bit of pron.
I agree, I just wouldn't call it tech debt. It doesn't become more expensive to fix over time, except for the bump when you forget how the original code works. There's no metaphorical "interest" that you draw down on.
youtube-dl is in every linux repo, so the source code is widely mirrored and is not going anywhere.
Two ergonomic issues in POSIX/bash not mentioned that I’d like to see a new shell improve on:

- splitting pipes to separate flows (e.g one flow for stderr, one for stdout). Think of it as a graph.

- native parallelization; I have to look in man every other time I use parallel.
Most of the stuff was in development during Jobs' time, including Airpods, the latest one. With Jony Ive gone, I doubt Apple has the prowess to continue that finesse. It would be akin to von Holzhausen leaving Tesla, imo.
You have to release the software, with hardcoded inputs, limitations and bugs. That is fine. Having a clean code helps you then quickly polishing it and evolving it based on the customer needs. I prefer that to an over designed system, that is 80% clean and 20% crap, because that is hard to change as time goes by, and that 80% will stay the same, but will become 50% and then 10% of the total codebase.
You could make a case that the primary purpose of the internet is to download porn.
It could download instructions and coordinating communication for drug manufacturing, money laundering, and terrorism! Add them to pædo porn and you have the Four Horsemen of the Infopocalypse! https://en.wikipedia.org/wiki/Four_Horsemen_of_the_Infocalyp...