Re: Dumbf*cks!
Did we learn from the last one's mistakes...?
3279 publicly visible posts • joined 23 May 2011
0. The routine to do the actual conversion has to be WASM.
1a. Do the conversion, on the fly, in a service worker. So the page requests `./image.jxl?convert=jpg` and the service worker hooks this and converts it into jpeg. This is the best solution, modulo service workers not being well fitted for this kind of filtering.
1b. Fetch the binary data on the UI thread, convert it into a format recognised by the browser, then put it in a `Blob` and use `URL.createObjectURL()`. You can still use ordinary `img` - you just have to update the `src` based on some agreed strategy. (We put canvas rendered stuff into images in a similar way.) If you want it in CSS, it's possible to enumerate the style sheets and find the URLs and replace them.
In my opinion, the performance hit is probably not worth it. And the more images you have (i.e. the closer you are to a setup where bandwidth/storage gains are significant) the bigger the performance hits become. But it can be layered in to existing setups.
It's nowhere near as bad as they used to be*. And becoming harder and harder to find gaps. Speculation is the EU's decision has driven the sudden burst of conformance.
The bigger annoyance is that old phones are stranded on old versions of Safari. But, I guess, you'll soon be able to recommend people with outdated iOS switch to Chrome. (Yay, who doesn't want Browser recommendations?)
* Of the cases you list: they now actually support WebGL 2. `EventTarget` `passive` is all that seems to be missing and is a performance hack - if they think their platform doesn't need it, fair enough. I'm genuinely uncertain about whether `requestIdle` is a worthwhile API; better to use a separate thread?
A chance to revisit one of the all time great cartoons: 'Fortunately, I was wearing my armour.'
In fairness, I've done that plenty of times myself - albeit on a smaller scale. "Ahhh, so that's why it's done like that."
In my defence, the reasons weren't always explained to me. (Or I hadn't understood the situation properly.) And figuring out the reasons for this "common knowledge" has proved valuable; as has discovering the times "common knowledge" was completely wrong.
"Any large website has to cope with "thousands of terminals", all different, all configured by someone else..."
Realistically, they're running Chrome (or a derivative which for all intents and purposes behaves like Chrome) or Safari or Firefox. Apple can't keep Safari users on the same version, but the other two keep their users current. So you're looking at a handful of configurations - not thousands. The browser does all the work sorting out the user's configuration.
Here's the current executive chair of HS2 talking to the Transport Select Committee this week:
There are four reasons why the cost is more than what has been budgeted for. The first is that the cost estimate in the first place and the budget that was set in the first place were too low, in my opinion....Secondly, there have been some changes to scope. Thirdly, there definitely has been some poor delivery on our point. And fourthly there’s inflation,.......It is worth remembering that between 2010, when the then Prime Minister, Gordon Brown, initially launched HS2, and 2019, when the current budget was set, the scope of HS2 was changed significantly by a whole series of Ministers. Much more of it was put through tunnels, which cost a lot more than putting it through cuttings, for example. There have been a whole series of scope changes. Yes, it is true we have not delivered in the way we said we would do.
...The Government and the company decided to let cost-plus contracts, where 99% of the financial risk is with the Government and only 1% is with the contractor, which is extraordinary. That was well before my time, but my understanding is that it was done in order to get these contracts away because they were so huge. This is the civil engineering contracts, not the station contracts.
If you're interested in researching the anatomy of a government cock up, it's well worth reading (or hearing) all of it.
I think we call that fan fiction. Okay, it take more than a few days to appear. But, given sufficient time, the position stands.
We already have a culture that values authenticity. NFTs took this to an absurd level. But what makes the Mona Lisa valuable is not the image itself, but that it was painted by Da Vinci. (Witness the recent shenanigans over Salvator Mundi. It's value is tied to it being authentic rather than being one of the many copies of the lost original.)
So do you want to read the completion of Games Of Thrones by an AI, or wait for George R.R. Martin - even if (as a time traveller) I tell you the AI one is better than what will finally emerge?
If trees can do CCS as a side-effect of living, you'd think humanity could match or improve on it when we put our collective heads together. Plants, for example, need water and are vulnerable to pests. If we can do solar-powered CCS without water, then we do it in the desert.
"On the other hand, if I say publicly "My boss is an asshole and should resign"... well, expect consequences."
And, on the other, other hand, congress can still make laws saying "You can't be fired for calling your boss an asshole, when he patently is one." IANAL, but that appears to be what has happened and us the right they are trying to exercise. The courts will determine if that is the case.
It takes me a lot of concentration to visualise. I can often only manage a facet of an image. If I stop actively concentrating it disappears. And its very noisy. Occasionally, often on the edge of sleep, I can remember something with the clarity of a photo; as if I was looking at it with my eyes. And it just stays there effortlessly. Stressful situations also create a snapshot image that I can recall eidetically, too, unfortunately.
But for counting sheep, for example: all I can manage is a nondescript lump arcing though the background noise. Anything more than that, requires too much concentration. (I can't, apparently, visualise a whole sheep, even with maximum concentration.) And I couldn't visualise friends and family well enough to draw them. Or even answer simple questions like - were they wearing glasses. Although I have no trouble recognising people.
Contrast this with bloody earworms: where it feels I can recall a piece of music as if I was listening to it live, and with enough fidelity to transcribe non-melodic parts.
Then I guess the question is how badly will it be gamed? Once people are gaming it to the max will it still be better than the present system?
Or will it need to be constantly managed and adjusted to eliminate "innovative" loopholes. And if so, who will do that and with what powers?
"In truth, the general principle of raising prices by the current CPI does make sense to me;..."
First, it should be RPI, not CPI.
Second, if everybody, everywhere does that with their prices, then "inflation" is locked in. (Or, more likely, spirals upwards.) This is supposed to be a market; they are supposed to compete. If it's a conveyor belt inflation rise with prices much of a much, we might as well have a national, not-for-profit provider.
As I follow this, they were told about the flaw in 2018. They could have issued the performance-hitting microcode fix then.
What seems to have happened is they kept schtum until the flaw was exposed again this year. So they're on the hook for five years worth of data leaks which might have been going on and which they could have stopped. And for not being upfront to buyers about the problem.
I agree about the usefulness of specialist ads back in the day. But that was before Google. These days, if you want to buy something, you don't flick through the ads in a magazine, you hit the big G and your favourite ecommerce sites. Maybe your signed up for sites and they email you special offers.
Wire a USB charger into the mains, then plug in a mobile phone pointing at the existing meter. It can be periodically woken up to take photos of the meter which can be OCR'd into the database. If anything breaks, the phone can be unplugged and replaced. Even a user could do it.
If the user needs a remote reading, they can log into their supplier's account.
That wasn't what I was suggesting. I was just thinking of problems like this. Surely there's got to be a few in there? (Now imagine a fire like that where they were mostly electric...)
But maybe, paradoxically, the fire was big enough that everything has been properly toasted and all the energy has been liberated.