Hacker Newsnew | past | comments | ask | show | jobs | submit | LtdJorge's commentslogin

AMD doesn't have it. I just confirmed by grepping through dmesg and journalctl -b, the only time it appears is due to UPS driver notifications (unrelated).

I’ve recently compared WebP and AVIF with the reference encoders (and rav1e for lossy AVIF), and for similar quality, WebP is almost instant while AVIF takes more than 20 seconds (1MP image).

JXL is not yet widely supported, so I cannot really use it (videogame maps), but I hope its performance is similar to WebP with better quality, for the future.


You have to adjust the CPU used parameter, not just quality, for AVIF. Though it can indeed be slow it should not be that slow, especially for a 1mp image. The defaults usually use a higher CPU setting for some reason. I have modest infrastructure that generates 2MP AVIF in a hundred ms or so.

I tested both WebP and AVIF with maximum CPU usage/effort. I have not tried the faster settings because I wanted the highest quality for small size, but for similar quality WebP blew AVIF out of the water.

I also have both compiled with -O3 and -march=znver2 in GCC (same for rav1e's RUSTFLAGS) through my Gentoo profile.


Maximum CPU between those two libs is not really comparable though. But quality is subjective and it sounds like webp worked best for you! Just saying though, there is little benefit in using the max CPU settings for avif. That's like comparing max CPU settings on zip vs xz!

rav1e has not had an actual update in performance or quality in years since funding got dropped. Use an encoder like aom, or svt-av1.

Other comments here are good, but one thing that's worth pointing out:

Encoding time isn't as important as decoding time since encoding is generally a once-off operation.

Yeah, we all want faster encodes, but the decodes are the most important part (especially in the web domain).


Do you mean Blackjack?

The Date API is horrible

Yea, that's understood to be the opinion, blandly repeating it adds little to the discussion.

It's simple. In it's simplicity it left many features on the floor. I just can't connect with the idea that someone would need to constantly be on MDN in order to work with it. It's not so horrible that it defies logic.


It’s not simple, though. Simple would be something like an object wrapping YYYY-MM-DD, like a COBOL programmer in the 1950s would’ve used. Instead, people have made thousands of variations of bugs around the complexity even basic usage forces you to internalize like the month number being zero-based while the year is 1900-based but the day of the month is 1-based following standard usage.

It's not simple, it has hidden pitfalls and footguns. Using it is the fastest way to blood on the floor (to quote a senior developer I worked with).

Yep, I’ve been using this one which is lighter (20kB): https://github.com/fullcalendar/temporal-polyfill/

Yes, but those are done in software

There's generally at least one watchdog device available in most PCs delivered in last decade, but it's not always utilized. Essentially at one point an intel southbridge integrated a basic watchdog on all models, and it started to just... be included.

So these days you can find a variation on the TCO timer watchdog in most PCs, even if the exact implementation varies so we now have a bunch of drivers for the different variants.


Linux doesn't see one on my Ryzen 5600X desktop at least. My Intel Skylake Thinkpad does seem to have two though (iTCO as well as INT3F0D, not sure what that is, but if I interpret the files under /sys correctly it belongs to the LPC/eSPI controller PCIe device, while the TCO watchdog is found under the SMBus PCIe device).

In both cases they do have software watchdogs (NMI based) which relies on a hardware timer triggering an NMI in the kernel. But that relies on the NMI handler still working, which is not as good as a real HW watchdog.


Apparently it depends to a little bit on how the motherboard is designed, theoretically SP5100 watchdog which is part of the CPU logic in recent ryzens, apparently, is supposed to be enabled if the motherboard is designed with IPMI in mind.

For whatever reason, it's enabled on my laptop despite it obviously not having IPMI support :)



Don’t EPYC CPUs avoid using a chipset altogether? I think in that case, it would be NB+SB.

Yes.

The "northbridge" in modern Zen systems is the IO die, and in Zen 1/+, its the tiny fractional IO die that was colocated on each chip (which means a Zen 1/+ Epyc had the equivalent of 4 tiny northbridges).

However, they just embed the equivalent design of the chipsets into the IO Die SoC on Epycs.

Fun fact: For desktop, since Zen 1 (and AM4-compatible non-Zen CPUs) they included a micro-southbridge into the IO die. It gave you 2 SATA ports and 4 USB ports, usually the only "good" ones on the board. On Epyc, they just put the full sized one here instead of pairing it with an external one.

This also means, for example, if you have 4 USB3 10gbit ports, and its not handled by a third party add-on chip? Those are wired directly into the CPU, and aren't competing for the x4 that feeds the southbridge.

Also fun fact: The X, B, and A chips are all sibling designs, under the name of Promontory, made jointly with ASMedia. They're essentially all identical, only updated for PCI-E and USB versions as time went on, as well as adding more ports and shrinking die size.

The exception is the X570, its an AMD-produced variant of the Promontory that also contains the Zen 2/3 IO Die, as they're actually the same chip in this case. The chips that failed to become IO Dies had all their Promontory features enabled instead, and became chipset chips. The Zen 2/3 Epycs shipped their IO die, at least partly, as two X570s welded together, with even more DDR PHY thrown in, as some sort of cost saving.

I don't think that panned out, because the X/B/A 600 and 800 variants (Zen 4 and 5) went back to being straight Promontory again.

Wikipedia has some good charts for this: https://en.wikipedia.org/wiki/List_of_AMD_chipsets


It's of course very difficult to justify, but in your example, Zelenskyy has the approval of the Ukrainians for now, while Maduro only had the approval of the military and a low percent of civilians.

The approval of the people is irrelevant if Putin cites Zelenskyy’s democratic illegitimacy as a reason to remove him (which, arguably, they have) or Trump as a reason to withhold support.

That "literally" is doing a very heavy lifting

I used literally, because current US goverment fits the definition, supports European fascist parties both with money and with words.

If you look at what Miller, Vance, Hegsberg and the rest of them say and do, you find a huge amount of fascist rhetorics.


To me, the current UK administration, silencing "bad things" and telling you which opinions are right and which are wrong is closer to fascism than the US administration.

Agree. It drives me nuts that people can't see this happening. It's as plain as day.

No, it's not.

Umm, yeah, just go look at Vance's statements about European politics. Literally.

Here are some actual statements from Vance:

>Now, I was struck that a former European commissioner went on television recently and sounded delighted that the Romanian government had just annulled an entire election. He warned that if things don't go to plan, the very same thing could happen in Germany too.

>Now, these cavalier statements are shocking to American ears. For years, we've been told that everything we fund and support is in the name of our shared democratic values.

>Everything from our Ukraine policy to digital censorship is billed as a defense of democracy, but when we see European courts canceling elections and senior officials threatening to cancel others, we ought to ask whether we're holding ourselves to an appropriately high standard. And I say "ourselves" because I fundamentally believe that we are on the same team. We must do more than talk about democratic values. We must live them.

>Now, within living memory of many of you in this room, the Cold War positioned defenders of democracy against much more tyrannical forces on this continent. And consider the side in that fight that censored dissidents, that closed churches, that canceled elections. Were they the good guys? Certainly not, and thank God they lost the Cold War.

>They lost because they neither valued nor respected all of the extraordinary blessings of liberty, the freedom to surprise, to make mistakes, to invent, to build.

https://www.presidency.ucsb.edu/documents/remarks-the-vice-p...

You are more than welcome to disagree with him, but it's hardly literal fascism advocacy.


Veeeery selective choices, arent there? The cancelled Romanian elections he talks about were cancelled and rerun for a good reasons. This was literally defending democracy against meddling.

The churches were not closed by some hostile state forces. People stopped being christians out of their own choices.

> We must do more than talk about democratic values.

This is dishonest to the maximum. Vance does not believe in democracy. Not in the USA and not in the Europe. He is trying to dismantle it and replace it with authoritarian fascism. He does not care about laws either, he cares about making his own thugs unreachable by law.


The Romania stuff is a complete farse. The campaign for Georgescu wasn't funded by Russia. It was funded by a member of the same ruling coalition whose judges cancelled the vote. [1] They launched a PR campaign that horribly backfired as they were skirting bounds of campaign law, so they couldn't actively name a candidate. The influencers followed their script, but didn't exactly have the same candidate in mind. It's like an equal but opposite of Bud Light hiring Dylan Mulvaney for PR.

Imagine in Hungary if a sort of pro-establishment (NATO/EU/Ukraine/etc) type won, and then they cancelled the election, banned this candidate, and reran it after making some mostly unprovable (and ultimately false) claims of foreign meddling. Can you imagine how you would feel about this? Can you imagine how the unelected EU bureaucrats would act, or what they would be calling it? For people on the other side of the political aisle, you just had an act carried out that would more than justify all the rather hyperbolic rhetoric you're using about the US. And when it's reality, and not just rhetoric, this ends up shaping the views of people for decades.

[1] - https://www.politico.eu/article/investigation-ties-romanian-...


There's nothing Vance said in the speech which was literal defense of fascism, as alleged. It's a case of two competing narratives of what "democracy" means.

When Intel released their P/E architecture, Windows took a long time to adapt the scheduler to them. Linux destroyed it in every benchmark for months.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: