Better HN
topnewbestaskshowjobs
Log inSign up

arghwhat

9,034 karma · joined Jan 12, 2017 (9y ago) · 2,677 submissions

no.
Submissions

comment 5d ago · link · parent

If the way the particular raisin was dried ended up impacting future raisins with the sole remaining justification being "but that's how it's always been done".

This is one level below "hysterical raisin", whereby the justification is also that its always been done that way, except that it was in fact not always done that way, and is rather the result of some collective brain damage leading to spontaneous formation of a randomized de facto standard...

comment 1w ago · link · parent

nit: all motors follow their fields, and no motor is implicitly tied to mains grid frequency.

That we often bypass local field control and tie large industrial synchronous and asynchronous (induction) motors directly to grid is narrow and quirky special case that is common for historic raisins but really quite awful, with staged delta-star or dahlander winding relay tricks to go from insane start currents down to just absurd.

Brushed motors are just synchronous motors with a primitive mechanical field control attached, allowing them to reduce the field rate in response to load.

comment 1w ago · link · parent

efuses use electromigration whereby a higher than normal voltage causes metal to migrate away from the junction, not a wire getting burnt through like a regular sacrificial fuse.

If you wanted to patch a die the only real means is through a FIB (Focused Ion Beam) workstation, and even then you need the die structure to allow it (you have to mill your way into the chip and can't have any functional layers in between you and the patch you want to makey), and even when doable it would be an insanely expensive, time-consuming and likely fragile project.

comment 2w ago · link · parent

To be clear, a patent is an exclusive right to the specific functional invention, and if that invention happens to cover the one and only way to talk to the device, then it'll be hard to make a driver. In many cases you'll be able to make one for yourself due to some funny-business around patent exhaustion.

However, there is no universe where they can hold a valid patent that would encumber a driver for a regular USB display device. What they then might try to do is invoke DMCA, due to the device having DRM responsibilities (HDCP).

If they get trusted HDCP treatment from media players on some platforms, they might fight tooth and nail to not be broken open in public as that might end up with them losing trust from content providers...

Or maybe they're just assholes with no real rhyme or reason, who knows.

comment 2w ago · link · parent

It is not only relevant, it is the sole justification for the existence of compression in the first place.

120 seconds is an arbitrary number to throw out there, AVIF compression time is purely dependent on how aggressive you want the file compressed. The ability to go completely nuts with computation is great for when you create the assets once for example.

Native browser support for HEIC is poor, yes. No idea why tbh, the underlying libraries generally support it. Heck, AVIF and HEIF/HEIC support is almost universally bundled together.

Take CrabbyAVIF and libheif: both provide both AVIF and HEIF/HEIC support. Android uses CrabbyAVIF as the platform AVIF/HEIF reader for reference, and considering that Google Photos natively supports HEIF/HEIC (even in browser). They're also using CrabbyAVIF in Chromium, but for some reason they disabled the HEIF/HEIC feature.

If you're making browser apps, you will ultimately care about storage and bandwidth, so AVIF or JPEG-XL are your main options. Outside browser apps you can pick entirely as you please, and if end-user encoder performance matters, HEIC ends up likely winning as hardware AV1 encoders are still less common.

comment 2w ago · link · parent

Windows 11 is not an image viewer. Your applications that view images bundle the decoders they need.

For various reasons, AVIF and HEIF/HEIC support is generally bundled together in the same decoders. Both of CrabbyAVIF and libheif, for example, read both AVIF and HEIF/HEIC, so while HEIC might sometimes be supported without AVIF, it's harder to have support for AVIF with HEIF/HEIC.

Browsers are a bit weird, not sure why they haven't enabled support.

(It would be an entirely new thing for you to use hardware decoders for stills, so no reason to worry about it as something restrictive.)

comment 2w ago · link · parent

Note that the ability to repack a JPEG as-is in a JPEG-XL container gives you a 20% filesize reduction due to the more efficient container, but none of the encoding advancements of JPEG-XL.

Recompressing is not great, but many people might be happy with a file that is less than half the size even if they lost a bit of fidelity. Not everyone has original source material to work with after all.

comment 2w ago · link · parent

The assumption is that a file is read more than it is written. If you spend less time and power compressing the file, you will spend more time and power delivering the file, and often not save anything on the decompression side.

If you want to optimize the user-facing side, you might want to pick HEIC instead to optimize for commonly available HEVC/h.265 hardware encoding capabilities, or to be selective instead and pick AVIF when AV1 capabilities are present.

AVIF is notoriously CPU-intensive to compress without acceleration, but assuming you pay for storage and/or delivery, the results are impressive. JPEG-XL and HEIC also do very well. JPEG really shouldn't be used unless you're trying to target devices that can only read JPEG.

comment 2w ago · link · parent

Which is in turn why for convenience, security is a bad thing, making people who do not think about threat models in their sleep opt out.

Problem is striking the right balance, and auto-forwarding your agent to foreign machines is not the right balance. At least not without being able to filter and approve individual signing requests.

comment 3w ago · link · parent

ecosystem != UI

Buttons sized to be hit by your physical thumb and buttons sized to be hit by a tiny high-precision cursor are very different things.

I am sitting on a macbook pro with the vertical tab pane open in chrome, with 12 tabs. The outer joint of my thumb covers the entire list, in both width and height. A touch-friendly version of that would be humongous in comparison.

comment 4w ago · link · parent

Looks just as notchy as they've always been.

comment 4w ago · link · parent

Heh, no, it's soldered.

If you throw enough money at a sufficiently skilled technician it can be done, but no M.2 slots in sight here.

comment 1mo ago · link · parent

Doesn't change that it isn't accurate.

In Scandinavia, lack of air condition in homes vs. presence in cars has nothing to do with carbon programs.

What options become standard in cars, and what options are cheap to implement in cars (adding a bit more piping during assembly), follow an entirely different market dynamic than the retrofitting homes (most houses are either pre-WW2 or from a boom in the 50's to 70's) with air conditioning to handle what used to be very short bursts of heat.

Not only did weather not demand it, old brick houses have significant thermal mass and during sudden heat waves you'll often find the inside to already be noticably cooler.

It's being considered now both because weather got weird and our construction went so far in energy efficiency that while new construction barely require any energy to heat in the depths of winter, they become literal ovens in peak of summer.

comment 1mo ago · link · parent

You are mixing unrelated requirements together here.

> The CRA requires manufacturers to notify actively exploited vulnerabilities and severe incidents having an impact on the security of their product with digital elements. They need to submit an early warning within 24 hours of becoming aware, and a full notification within 72 hours.

These deadlines are entirely unrelated to the availability of security fixes and delays in deliverying them.

comment 1mo ago · link · parent

I do not believe that any corporate lawyer would think that. It does not read like that in neither plain english nor legalese.

Maybe the misunderstanding stems from the related common misuse of "as soon as possible" as "immediately"?

A corporate lawyer would, however, always suggest to minimize/reduce/delay any legal obligations so as to minimize risk of liability, regardless of whether said obligation is easy to comply with or not.

comment 1mo ago · link · parent

nit: "without undue delay" does not mean "immediately" under any legal interpretation, only that the timeline should not be longer than necessary. This leaves a lot of wiggle-room in favor of the manufacturer, and mainly rules out that they go "eh, we'll look at all these in half a year maybe".

As long as they start the process and it is not absurd from an industry standards perspective, they should be good. They can have slow processes, including being a good bit slower than their peers, without running afoul of "without undue delay".

comment 1mo ago · link · parent

Eh. WebKit, Blink, Gecko being the big ones, supporting Windows, Linux (and alikes — maybe one would consider Android separate in this context) and Darwin (in this context iOS/macOS is the same). Mostly 1:1.

The thing is that it's still just a library, it just happened to be pre-installed. CGImage is just a helper in the Core Graphics library, not some magical "native"/"core" functionality in the OS that would be different than any other library with the same features.

An equivalent library for Linux (glycin for example), or per-format libraries like jxl-rs, are not "included in the OS", and tend to be the very same libraries one would use for Windows. If that does the trick on most platforms, then why have the maintenance burden of doing something different on macOS if all it does is save a few bytes on disk?

From Google's perspective, they would likely not want Chrome for macOS to gain support for jxl as the sole platform anyway, even if they are using CGImage and could decode it that way...

comment 2mo ago · link · parent

That is not what relative privation fallacy is. The topic at hand is repeated exposure to low radiation does, I gave examples or negligible to high dosages. Disagreement does not make something a fallacy.

Twofold response:

1. It was not directly part of my claim, but yes releasing "toxins" as a binary concept has to be okay because the world, nature and ourselves naturally releases toxins. Irresponsible, excessive or unnecessary release is what matters.

2. In the airline case, it is not the airline releasing anything. It is cosmic rays and solar flares, which you went closer to. The airline should give a heads up in case this information evaded you, but it's the sun you'd need to sue. You'll have to get in line behind all the skin cancer lawsuits it's dealing with though.

A beach body guard has a massively increased risk of skin cancer compared to an office worker. You can, at most, ask for a shade for your watch tower or complimentary sunscreen.

Even for coal and oil powerplants for example, the right thing to focus on is getting rid of it, not extracting ongoing damages. Wind, nuclear, sun.

For flying, in either come up with a viable way and of radiation shielding passenger planes so it can be pushed for policy, or don't fly. Also don't go to very high altitude locations also carry increased risk.

As for contamination zones, that's specifically something the one to blame will have to keep paying to manage and clean up. Their fault, their bill. But even with all that it still ends up being what takes the fewest lives, due to just how much work for society that one plant did vs. any alternative.

comment 2mo ago · link · parent

I see the good intent but I cannot agree on several points.

First point is that even though radiation can cause cancer, radiation is part of life. If my basement has higher levels of radon, who should compensate me? What about the radiation exposure from requested x-rays, or food?

Second is responsibility. If I decide to fly a lot, my increased radiation exposure is not the fault if the airline. It's not their fault that the atmosphere is less protective up there, and everyone flying is equally exposed. Now if they could prevent the radiation they preferably should, but until then their responsibility is disclosure of this information to allow informed decisions. Can't blame the ocean for being wet.

Third is that by that logic, it very much has bearing whether "wind turbines kill people", as it implies that every fractional possible cause of harm must all be measured and pay in proportion to their possibility of damage.

There would be no way to even start. However, I do agree that when accidents or negligence/malice is involved, it makes sense that the actor spends energy cleaning up. For example, the biological harm to people in Fukushima was practically non-existent, but the short-term the economic and social harm was there and was entirely avoidable. Damages should be paid.

(Of course, windmills don't kill people, point is that wind, nuclear and solar is so harmless that the only thing we're looking at is differences in construction-related workplace accidents, which are a bit higher with windmills and lower with solar.)

comment 3mo ago · link · parent

Whether the disasters are worse depends on your metric. The deaths from Fukushima was, to my knowledge, only a few elderly individuals who had stress-induced heart failures. And that's a worst-case scenario with corruption, old designs, complete negligence and dual natural disasters hitting the plant in parallel.

It seems absolutely silly, but even wind power kills more people per TWh produced than nuclear due to workplace accidents in installation/maintenance.

Also not sure why lung cancer from oil/coal air pollution would be less visible than hypothetical radiation-induced cancers.

EDIT: Source: https://ourworldindata.org/grapher/death-rates-from-energy-p..., accidents include indirect deaths. Solar is the only energy source that beats nuclear in safety.

comment 3mo ago · link · parent

Yes, but terminal escape sequences are a very, very small surface. It's just a few opcodes like "wipe screen", "switch to buffer B", "move to X,Y". All process output regardless of whether it is a terminal escape sequence or regular text just navigate and update the screen "cells", and in, say, alacritty this will be in boring, non-unsafe Rust.

For comparison, the surface exposed by your browser rendering this text controlled entirely by an adversary (me) is considerably greater as it also interacts with the style system, content reflow, javascript engine (even for non-javascript websites), etc.

comment 3mo ago · link · parent

People understand that such "reverse hacking" can happen when their browser connects to any site (including all the indirect connections from dependent resources), right? Or when resolving any domain name? Or when even just pinging an IP?

The risk is far, far lower than browsing the internet. Unlike the massive surface of a browser and all the libraries and processes it is comprised of, the OpenSSH client is a tiny, with a singular purpose, contained in a small and very well-vetted codebase.

From the perspective of connecting to a foreign network service, the OpenSSH client is about the safest thing you can possibly use. Note the use of relative words here - not claiming it is 100% bug-free.

(The main caveat is that you can manually configure the client to do unsafe things, like writing a configuration by hand that enables X forwarding or agent forwarding by default for any host - but you can also actively disable sandboxing in your web browser or run everything as root, and we will never be able to stop you from actively making things insecure.)

comment 3mo ago · link · parent

Large objects (≥ 32 KiB) does not use these categorized arenas, they instead allocate an integer number of 8KiB pages from a heap.

comment 4mo ago · link · parent

Also note that drivers are made far harder than screws, so it will take many screws turned rivets before a driver becomes said artisinal hole punch.

comment 4mo ago · link · parent

Excuse me? That derogatory tongue-in-cheek way of referring to that company is not "mealy mouthed nerdery", as everyone and their mother understands who I am referring to. The lawsuit mitigation communication I suspect you're confusing it for requires it to be genuinely unclear who you mean.

However, batteries cannot cost $1 unless you want $1 worth of battery. Modern batteries are genuinely complex devices with extremely tight assembly tolerances, and something like a phone battery should be expected to be more like 10-40 USD.

Cheapo cells exist, but they genuinely have issues like poor assembly tolerances introducing risks of it deciding to spontaneously transform into a pocket-sized smoke machine.

comment 4mo ago · link · parent

They describe it as a feature in their later 1942 patent (US2474994A), in the description of which they mention it to protect against powertools with poor torque control, claiming that a better screw would only be possible if power tools and their torque control were perfect and that it is therefore a required feature.

The original designs did not reference this though, so it seems more like them adopting an observed behavior as a feature - so the statement that it was originally designed to be that way is indeed off, but the company did adopt the behavior in official paperwork.

comment 4mo ago · link · parent

Am European, yeah but pozidriv was never used for tiny screws. We have also pretty much migrated all screw sizes to torx nowadays, so I only ever really see pozidriv on older appliances and hardware, while Philips mostly happen on imports.

comment 4mo ago · link · parent

You got the wrong standard. JIS B 1012 type H is Philips equivalent, but what people refer to as the JIS screw is JIS B 1012 type S. JIS B 1012 Type S ("JIS") and ISO 8764 (Philips) are entirely different screw and scredriver profiles. See https://www.peterverdone.com/jis-cross-head-screws-and-drive....

The Philips screwdriver has lobes with a large multi-stage taper that ejects the screwdriver from the screw upon torque. The JIS screwdriver lobes are in contrast almost perfect 90 degree angle with a tiny filet in the center - not dissimilar to the Frearson screw.

A Philips screwdriver will be unable to insert all the way into a JIS screw due to this taper, exactly similar to how the extra lobes on a Pozidriv screwdriver collides a Philips screw. Attempting to apply torque with this partial engagement puts you at very high risk of stripping the screw.

A JIS screwdriver however does work perfectly fine in Philips screws, often even better than the Philips screwdriver as you did away with one half of the "screwdriver ejection feature".

There's a reason that iFixit goes out of their way to make both JIS and Philips bits, and warn you in their guides. They aren't really in the business of trying to cram more bits down your throat for fun.

comment 4mo ago · link · parent

As mentioned elsewhere, it's also important to remember that the batteries were fully serviceable - available for purchase, nicely compartmentized and with easy connectors. The products were definitely not designed to die with their batteries. They just weren't compliant with the new rules - this is quite different than a certain fruit company that have historically made battery replacements difficult for even service technicians to complete without consequences like constant user prompts.

I imagine the various products had their specific own conflicts with the rules, like requiring too much disassembly (the Pro controller in particular has to be disassembled from the front first), or the Switch 2 holding the battery with double-sided tape. Not to mention that you might not realize that the screw are JIS spec, stripping them with the Philips screwdriver you found in your drawer. Also triwing.

12345
90