pivot_root

@pivot_root@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Apple security updates could be banned by British government (9to5mac.com)

Everyone in the tech industry facepalms almost every time legislators try to pontificate on technology, but the British government appears to be trying to set a new record. After putting iMessage and FaceTime at risk, the government is now suggesting that it might ban some Apple security updates.

pivot_root,

Next step: require all security patches to be submitted to the UK government for review before disclosing it to any other government or to the public.

pivot_root,

Blasphemy! Unions are just algebraic data types without any guardrails. If the programmer misuses them, that’s their own fault for b$:, 9^\⊂ƒ~>[→ZzF™×#
Segmentation fault (core dumped)

pivot_root,

How reckless, encouraging inheritance like that. My personal demon college tutor instructed me on the ways of Malbolge. In the end, life is just a list of self-modifying instructions.

pivot_root,

The midjourney image is impressive, but not good enough to stand up to scrutiny. It gives off uncanny valley vibes. I’m not an artist, but I suspect it’s because the skin looks a bit too plastic/smooth.

pivot_root,
  1. [ELON FANATIC] I agree, my liege. Do you need help convincing others?
pivot_root, (edited )

Narrator: You imagine throwing a burlap sack over his head. His underlings would be extremely displeased with you, but he wouldn’t put up much of a fight himself.

Narrator: You can think of someone who would be extremely pleased with your offering, however.

Elon: You’re looking at me funny. Is there something you need?

  1. [THE DARK URGE] Give in to your desires.
  2. [PERSUASION] I have an investment opportunity that I think you would be interested in.
  3. Can I see your wares?
  4. No, nothing. I was just lost in thought.
pivot_root,

If you’ve ever seen an idiot actually rip surface-mounted components off a PCB, you’ll know. They tend to take pads and traces with them, and it’s not pretty.

Now, the OOP anon could have ripped those off and scraped off the remnants, but it’s unlikely they would do that for the sake of the photo if they were genuinely stupid enough to pull out the connector.

pivot_root,

And it’s a lot easier to collect telemetry and serve ads when your operating system is actually being used.

pivot_root,

The conservatives in office. Why would you designate your own as terrorists when you can designate non-conservative protesters as terrorists instead?

pivot_root,

I know the cool thing is to hate on Apple for being Apple, but they have actually done a solid job with their transitions between instruction set architectures.

Ultimately, software developers and end users are forced to use the newer architecture, yes. But credit where credit is due, Apple chose to take the path of providing both hardware and software level facilities to make the transitions as seamless as possible over years-long timespans. They could have simply refused to support older architectures to force a migration down our throats, and indoctrinated fanboys would have opened their wallets anyway.

What they actually did was create compatibility layers, a multi-architecture executable file format, and binary translation frameworks built into the operating system. I fucking despise them for creating a walled-garden ecosystem and cult around their products, but I genuinely have to respect them for Rosetta and Rosetta 2. Developing a binary translation layer is a whole different beast than high-level emulation, and it’s significantly more difficult to pull off correctly. The fact that they managed to do it twice, and do it damn-near seamlessly is impressive. Rosetta 2 even supports translating just-in-time compiled code, which is a huge pain point for that kind of thing.

pivot_root, (edited )

Microsoft absolutely could have made something comparable to Rosetta 2 for userspace if they were competent.

Rosetta 2 isn’t an emulator, but a binary recompiler. It takes amd64 instructions, decodes them, and generates equivalent aarch64 instructions. The aarch64 instructions are then executed directly by the processor, performing the same tasks that the original binary would do on an Intel processor.

It’s extremely difficult to do properly, but it’s nothing inherently special to MacOS or Apple’s ARM chips. ARMv8 has an attribute to enable strongly-ordered memory accesses, and it also supports native 4 KiB page sizes. Beyond those two solved concerns, there isn’t any actual hardware barrier preventing binary translation. Individual amd64 instructions can be translated into one or more equivalent aarach64 instructions, and complex instructions or those using large registers like those in AVX-512 can be shimmed and implemented in software. An offset table can be used to deal with indirect jumps, and direct jumps can just be rewritten in the generated code. And as Apple has proven, it’s even possible to support JIT-compiled code by intercepting jumps into executable pages and recompiling them before executing.

It’s expensive in terms of time and engineering skills, but Microsoft had more than enough control over their own proprietary kernel to build something similar into Windows back when they first released it for ARM.

pivot_root,

As far as people hypothetically being pedantic about it being an emulator, it does meet the dictionary definition of “hardware or software that permits programs written for one computer to be run on another computer.” Personally, I don’t see as one, though. It’s more like WINE with a binary translator slapped onto it.

Dynamic recompilation is a part of modern emulators, but it’s only a tiny piece. Software like Dolphin or Yuzu don’t just provide a way to run non-native instruction sets, but provide a full environment mimicking the guest hardware. Things like low-level emulation of hardware components, high-level emulation (shims) of guest operating system APIs, and a virtual memory space for the programs to operate in.

The only significant thing Rosetta does is recompile the instructions of the guest program. All the APIs and abstractions the amd64-compiled program uses are available natively. If I recall correctly there are shims for bridging between the calling convention of the host and the recompiled-amd64 functions, but they don’t do much more work than that.

Another one of my reasons for not considering it to be an emulator is because it primarily goes for ahead-of-time cached recompilation. It definitely does JIT translation as you mentioned, but as a way to support amd64 JIT-generated code. In contrast, Dolphin and other emulators* rely on cached JIT recompiling or interpreting for everything related to executing the guest instructions.

  • Notable exceptions are Cxbx (Xbox -> Windows) and vita2hos (PS Vita -> Switch), which are emulators for platforms with compatible instructions sets. They work like WINE instead of JIT-recompiling or interpreting code, which is pretty cool.
pivot_root,

Not denying it happened, but I couldn’t find any images of such. Although it won’t do much to change the minds of some people, linking or embedding the actual image would make your statement much stronger :)

pivot_root,

Looks like they were posted here after my comment. Pro-CCP people are probably still going to find a way to justify it for the greater good or something like that, but at least now they can’t deny there are photos.

pivot_root,

:::spoiler In case anyone else is having trouble seeing it, here’s roughly where the letters are.

The location of the letters.:::

Two brands suspend advertising on X after their ads appeared next to pro-Nazi content (www.cnn.com)

At least two brands have said they will suspend advertising on X, the platform formerly known as Twitter, after their ads and those of other companies were run on an account promoting fascism. The issue came less than a week after X CEO Linda Yaccarino publicly affirmed the company’s commitment to brand safety for advertisers.

pivot_root,

It doesn’t look as good as you would think. The spacing between the lines in the “X” logo aren’t evenly distributed, which means the added lines aren’t spaced properly either.

Take my word on it, the end result looks more like a dancing cactus than a specific symbol used during World War II.

pivot_root,

Incredible. Even PITA migrated during the great Reddit exodus.

pivot_root,

Oh, I know the solution to making sure that kids can’t access the internet between the hours of 10 PM and 7 AM!

If a VPN can change your IP address to an address in any other timezone, the company just needs to account for all timezones. And to be extra, extra sure that it’s impossible to break the law, they just need to be super duper liberal about how it works:

Is it 4 PM in Hawaii? Well, that’s 10 PM on the east coast, and we know a VPN could route traffic through a Hawaiian IP address. Better play it safe and start restricting access at 08:00 UTC. Oh, but then there’s timezones from all over the globe. Pack it up, boys, because it’s always going to between 10 and 7 somewhere on the planet.

Open source devs: please, please add screenshots...

I beg you, if you are a developer of an open source app or program - add screenshots of your app to the README file. When looking for the perfect app, I had to install dozens of them just to see what the user interface looked like and whether it suits me. This will allow users to decide if the app they choose will suit them…...

pivot_root,
Getting Started
  1. Clone the repo
  2. Install dependencies
  3. Compile the project: TODO
  4. Copy the executable to /bin
  5. Add your app.json config to ~/.config/app*
  • IMPORTANT. APP WILL NOT RUN WITHOUT THIS

higher wages for the servers... by the customers. Fnbs (lemmy.world)

Went to a restaurant in LA today and when I got the check I noticed that it was a bit higher than it should be. Then I noticed this 18% service charge. So… We, as customers, need to help pay for their servers instead of the owners paying their servers a living wage. And on top of that they have suggested tip. I called bs on...

pivot_root,

The service they’re giving you is information. Specifically, information on where to never eat again.

I hate tipping culture, but this is just on another level of bullshit. I’ll begrudgingly subsidize a server’s wage, but there ain’t no way I’m about to help line the pockets of the greedy fucks who refuse to pay a living wage.

pivot_root,

It doesn’t matter if it goes short or far. This shit is DRM, and if any part of it makes it into browsers, it’s the end of the web as we know it.

pivot_root,

Only? We need more.

pivot_root,

Isn’t this the point of escrow? I trust that more than I trust anything remotely related to crypto.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines