I've been beating my head against this for a while and I've run out of time and patience, so dear Lazyweb, please lend a hand...

Something changed recently in Youtube such that many of the higher resolution video formats are no longer listed in url_encoded_fmt_stream_map but must be extracted from the dashmpd file instead. But the MP4 URLs I am finding are giving me 403 or 404 errors. So I'd like you to help me figure out where it's going wrong.

  1. Get HTML from https://www.youtube.com/watch?v=RlaoFHe6JL0
  2. Find the "dashmpd" URL, which will look like https://manifest.googlevideo.com/api/manifest/dash/...
  3. Note that it contains /signature/ rather than /s/ which means indicates that it is the real signature, not an enciphered version of it.
  4. Find the <Representation id="137"> in there.
  5. Its BaseURL should be a downloadable audio-only 1080p MP4, but instead it is 403 or sometimes 404.

What am I missing?

Posted Tue Aug 14 22:00:40 2018 Tags:

Mireia Donat Melús:

This conglomerate report of fleshy appearance encourages us to delve into the intriguing orifice that, treasuring the appearance of a great anus, presides over its front. An internal camera waits for the intrusive hand that fractures this barrier.

Previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously.

Posted Tue Aug 14 21:34:31 2018 Tags:

Communications satellites could be used to do various kinds of harm, if crackers break their security.

Posted Tue Aug 14 00:00:00 2018 Tags:

Shortly before elections, Mauritania has jailed an anti-slavery campaigner.

Posted Tue Aug 14 00:00:00 2018 Tags:

Collecting your medical data (and other data about your life) and combining that into a "wellness score" would give companies an excuse to screw you.

Posted Tue Aug 14 00:00:00 2018 Tags:

The Democrats Must Do More Than Simply Oppose Donald Trump.

Posted Tue Aug 14 00:00:00 2018 Tags:

The Creeping Privatization of [US] Public Libraries.

The article calls the Koch brothers "libertarians", but their support for some kinds of human rights is a beard for their real cause: a laissez-faire, laissez-dévorer economy. They hate public libraries because they are public, and any public activity that helps people is what they call "socialism".

Please don't support their pretense: join me in calling them "antisocialists".

Posted Tue Aug 14 00:00:00 2018 Tags:

Puerto Rico has acknowledged that Hurricane Maria killed 1427 people there — not all immediately.

Posted Tue Aug 14 00:00:00 2018 Tags:

The governor of Louisiana is formally a Democrat, but he is so right-wing that he works with ALEC.

Posted Tue Aug 14 00:00:00 2018 Tags:

Judge Orders US to Bring Back Family Deported While Asylum Case Was Open.

I hope higher courts sustain this attempt to rein in the lawless bullying carried out by US thugs. One can't count on the right-wing justices to defend the legal rights of people (as opposed to businesses).

Posted Tue Aug 14 00:00:00 2018 Tags:

Some exiled members of the Venezuelan opposition endorse the recent assassination attempt. Others reject the accusation that they were involved.

Posted Tue Aug 14 00:00:00 2018 Tags:

An opposition leader from Zimbabwe fled to Zambia for asylum. Zambia handed him back to Zimbabwe, defying an order from the Supreme Court.

The tyrant of Zimbabwe, after apparently stealing the election, is now sending soldiers to destroy the homes of opposition supporters.

Posted Tue Aug 14 00:00:00 2018 Tags:



XScreenSaver 5.40 is out now, including iOS and Android.

VFeedback simulates the effect (likely unknown to da yoot of today) of pointing a video camera at an analog television. If you position things just right you can get seething flame spirals. The screen savers does an... adequate... job of this, by randomly zooming and rotating the camera, but it works a lot better when run interactively. Try to get a hard light/dark division kind of near the center of the screen and hold it there.

Running it in a window on Linux, left button pans, other buttons or modifiers rotate. There are also a bunch of keystrokes for twisting the tv knobs. On mobile, you can only pan, because the X11 code can't see multi-touch.

FilmLeader displays a looping countdown based on the SMPTE Universal Film leader, and it never reaches the end, which I am told is super frustrating.

GlitchPEG is perhaps the first screen saver that's excellent at detecting buffer overflow exploits. It loads an image, corrupts it, and then displays the corrupted version, several times a second. It glitches the image by altering random bytes in the compressed image file before de-compressing it. So if this saver crashes, congratulations, you have an exploitable image library!

It looks cool on JPEGs, but doesn't work well on PNG files, since PNG contains checksums that detect simple corruption.

GlitchPEG only works on X11 and MacOS, not iOS and Android, because right now there's no easy access to the un-decoded image data on the mobile platforms. I could add an API for that, but I haven't bothered.

I've already written about the new version of DymaxionMap, but now you can actually run it. It blends day and night maps into a single image that shows what the day/night terminator would look like moving across Flatland. It sort of feels like two spirals turning on opposite directions.

GLPlanet also looks a lot better now, since it also blends the day and night images with a dusk terminator instead of a hard edge.

Also, many more modes have been enabled on Android.

Previously, previously, previously, previously, previously, previously.

Posted Sun Aug 12 23:59:37 2018 Tags:
@BrendanEich:

8 years later, https://github.com/tc39/proposal-bigint#state-of-the-proposal

"BigInt has been shipped in Chrome and is underway in Node, Firefox, and Safari."

BigInt: Arbitrary precision integers in JavaScript:

BigInt is a new primitive that provides a way to represent whole numbers larger than 253, which is the largest number Javascript can reliably represent with the Number primitive.

But the tragic historical fact that until now, all Javascript numbers were floats means that it's impossible to implement this backward-compatibly without significant syntactic warts:

Many (all?) other dynamically typed programming languages which have multiple numeric types implement a numeric tower. This forms an ordering between types -- on the built-in numeric types, when an operator is used with operands from two types, the greater type is chosen as the domain, and the "less general" operand is cast to the "more general" type. Unfortunately, as the previous example shows, there is no "more general" type between arbitrary integers and double-precision floats. The typical resolution, then, is to take floats as the "more general" type.

Silently losing precision sometimes may be a problem, but in most dynamically typed programming languages which provide integers and floats, integers are written like 1 and floats are written like 1.0. It's possible to scan code for operations which may introduce floating point precision by looking for a decimal point. JavaScript exacerbates the scope of losing precision by making the unfortunate decision that a simple literal like 1 is a float. So, if mixed-precision were allowed, an innocent calculation such as 2n ** 53n + 1 would produce the float 2 ** 53 -- defeating the core functionality of this feature.

To avoid this problem, this proposal bans implicit coercions between Numbers and BigInts, including operations which are mixed type. 1n + 1 throws a TypeError. So does passing 1n as an argument into any JavaScript standard library function or Web API which expects a Number. Instead, to convert between types, an explicit call to Number() or BigInt() needs to be made to decide which domain to operate in. 0 === 0n returns false.

That's all well and good, but obviously the burning questions that I want the answers to are, "What is MOST-POSITIVE-BIGNUM, and how long does it take the Javascript console to print it?"

I wasn't able to figure out which of the several BigInt Javascript packages out there most closely resemble this spec, nor was I able to figure out which of them is the one being used by Chrome. But I assume that they are all representing the bits of the BigInt inside an array (whose cells are either uint32 or IEEE-754 floats) which means that the gating factor is the range of the integer representing the length of an array (which by ECMA is 2^32-1). So the answer is probably within spitting distance of either 232(232) or 253(232).

As a first attempt, typing 10n ** 1223146n - 1n into Chrome's JS console made it go catatonic for a minute or so, but then it spat out a string of 1,223,147 nines. (Fortunately it truncated it rather than printing them all.) So that's bigger than the Explorer version!

> (2n ** 32n - 1n) ** (2n ** 32n - 1n)
× Uncaught RangeError: Maximum BigInt size exceeded
> (2n ** 32n - 1n) ** (2n ** 31n - 1n)
× Uncaught RangeError: Maximum BigInt size exceeded
> (2n ** 32n - 1n) ** (2n ** 30n - 1n)
... and maybe we have a winner, or at least a lower bound on the max?

That last one has made Chome sit there chewing four 63 CPU-hours so far, so it's either still doing the exponentiation, or it's trying to grind it to decimal. If it ever comes back with a result, I'll update this post...

Previously, previously, previously, previously, previously, previously.

Posted Sun Aug 12 06:09:10 2018 Tags:
xor: "I can't believe it's been 30 years since Zero Cool hacked all those banks across state lines"

Posted Sat Aug 11 10:46:29 2018 Tags:

Tanya: "We're gonna take a 20 minutes break so you can call your baby sitters."

B: "Baby sitters? Their kids are all in college!"

Me: "Yeah, maybe that joke was on the previous record."

Posted Sat Aug 11 06:29:29 2018 Tags:
probablybadrpgideas:
If Cthulhu can be summoned by humans who are so far beneath it, why can't humans be summoned by ants?

The answer is they should be.

20thcenturyvole:

Well if a bunch of ants formed a circle in my house I'd certainly notice, try to figure out where they'd all come from, and possibly wreak destruction there.

weasowl:

That's why knowing and correctly pronouncing the true name is so important to the ritual. Imagine how impossible it would be to not go take a look if the circle of ants started chanting your name.

And they're like, you can't leave because we drew a line made of tiny crystals - now you have to do us a favor.

And you're like, let's just see where this goes "yup, you got me... what's the favor?"

and usually the favor is like, "kill this one ant for us" or "give me a pile of sugar" and you're like... okay? and you do, because why not, it isn't hard for you and boy is this going to be a fucking story to tell, these fucking ants chanting your name and wanting a spoonful of sugar or whatever.

And SOMEtimes you get asked for things you can't really do, one of them, she's like, "I love this ant but she won't pay any attention to me, make me important to her" and you're like... um? how? So you just kill every ant in the colony except the two of them, ta-da! problem solved! and the first ant is like horrified whisper "what have I done"

Previously, previously, previously, previously, previously, previously, previously, previously.

Posted Sat Aug 11 00:57:04 2018 Tags:
Posted Fri Aug 10 07:10:18 2018 Tags:

Planet Debian upstream is hosted by Branchable.