• 1 Post
  • 44 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle


  • OP: “typescript is easy and rust is ugly”

    Typescript :

    export type PayloadActionCreator<
      P = void,
      T extends string = string,
      PA extends PrepareAction<P> | void = void
    > = IfPrepareActionMethodProvided<
      PA,
      _ActionCreatorWithPreparedPayload<PA, T>,
      // else
      IsAny<
        P,
        ActionCreatorWithPayload<any, T>,
        IsUnknownOrNonInferrable<
          P,
          ActionCreatorWithNonInferrablePayload<T>,
          // else
          IfVoid<
            P,
            ActionCreatorWithoutPayload<T>,
            // else
            IfMaybeUndefined<
              P,
              ActionCreatorWithOptionalPayload<P, T>,
              // else
              ActionCreatorWithPayload<P, T>
            >
          >
        >
      >
    >
    











  • Got in touch with ProtonVPN support and asked about this. Here’s their reply:

    Our engineers have conducted a thorough analysis of this threat, reconstructed it experimentally, and tested it on Proton VPN.

    We concluded that:

    1. The attack can only be carried out if the local network itself is compromised
    2. Our Windows and Android apps are protected against it
    3. For iOS and macOS apps, you are completely protected from this as long as you’re using a Kill Switch and a WireGuard-based protocol (our apps use them by default, and if a user wants to use something other than WireGuard derivates, they’d have to manually set it up). Note that Stealth, WireGuard TCP and Smart protocol on iOS/macOS are all WireGuard-based.
    4. For our Linux app, we’re working on a fix that would provide full protection against it.



  • That’s cool! I’ve used enough raspberry pi’s over the years to know that SD cards, even if industrial grade are likely to fail at some point so I try to avoid booting from them. eMMC would be much better but sometimes a pain to flash depending on the tooling available. Having a SATA port would allow to use HDDs which provide a lot of capacity for cheap. I guess the processor needs to be an Amlogic for the best media experience?