308 karma · joined January 15, 2023
GitHub 2a.pages.dev
Thats true, but they could just use MLLs instead. Much cheaper.
formatting doesn't add value. no one formatting is going to please everyone, so it follows that any formatting is going to piss someone off. So I think the point from the Go team is to remove that distraction and let people focus on whats actually important, the code itself.
def slow_add(a: int, b: int) -> int:
def slow_add_float(a: float, b: float) -> float:
OK its not as elegant or pretty, but its really clear what is going on. the problems described in the article crop up because people are trying to have the interpreter intuit what the programmer is wanting, when what the programmer is wanting might be ill defined or simply invalid.https://github.com/mozilla-mobile/fenix/issues/20736
then they close the issue and move to bugzilla:
But that doesn't get you the sweet sweet ad money I guess. Quick Stack Overflow, make another blog post no one gives a shit about, and continue banning 90k rep users over rollback wars.
I am not sure what the worry is with backward compat. The only difference with the resultant HTML, is extraneous "p" elements would be removed from "li" elements. Anyone who has been relying on that behavior, has been relying on non-idiomatic HTML and should be inconvenienced.
Thats cool that you feel that way, but I absolutely do not. I dont like the idea of huge companies making millions, while the authors of the software "powering" their business get nothing.
yeah it can. you just mount it as tmpfs.
/system/etc/security/cacerts
which unlocks most current Android apps. so maybe learn your own tactics, before commenting further.this isn't valid English. can you clarify what you were trying to say?
each person can weigh the pros and cons and make their own decision, but I dont think its as black and white that TVHTML5_SIMPLY_EMBEDDED_PLAYER is the best option, and the article doesn't even discuss OAuth, so I dont think its presenting a balanced take on the different approaches.
> Mount Washington set a record for coldest wind chill ever recorded at minus 108 degrees.
> The air temperatures at the region’s highest peak went as low as minus 47 degrees, according to the National Weather Service.
throttling is not avoided. the YouTube web client generates a JavaScript signature that disables the throttling, same as what the code in the article does.
POST /youtubei/v1/player HTTP/1.1
Host: www.youtube.com
Authorization: Bearer ya29.a0AVvZVsqRwNWFI3R0MSxnugyNlxbqIOXcwXkeA6NMOcpv_...
{
"contentCheckOk": true,
"context": {
"client": {
"clientName": "ANDROID",
"clientVersion": "18.04.35"
}
},
"racyCheckOk": true,
"videoId": "Cr381pDsSsA"
}
and `TVHTML5_SIMPLY_EMBEDDED_PLAYER` comes with strong drawbacks. Some videos under that client require a JavaScript signature for BOTH downloading and unthrottling. Each person is welcome to their own opinion, but I just dont think its worth the complexity of parsing some arbitrary JavaScript with Python when you can just log in (programmatically as above). Personally I use the ANDROID client, which avoids all JavaScript signatures. Also not mentioned in the article is that you can actually take the throttled URLs as is, and download pieces concurrently for a pretty good result. So each piece is still downloading slowly, but if you use on the order of 99 connections, you get decent speed. You would think you get IP blocked or something for this, but I downloaded quite a bit using this method as a test and the YouTube server allowed it. The combined resultant speed was only something like 2 MB/s, so big picture it doesn't seem like an abuse. My YouTube OAuth code is here for any interested: