• 0 Posts
  • 42 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle
  • (the preview fetch is not e2ee afaik)

    Technically, it is, but end to end encryption only covers the data between the ends, and not what one of the ends chooses to do with it. If one end of the conversation chooses to log the conversation in an insecure way, the conversation itself might technically be encrypted, but the contents of the conversation can be learned by another. Or if one end simply chooses to forward a message to a new party not part of the original conversation.

    The link previews are happening outside of the conversation, and that action can be seen by people like the owner of the website, your ISP, and maybe WhatsApp itself (if configured in that way, not sure if it does).

    So end to end isn’t a panacea. You have to understand how it fits into the broader context of security and threat models.



  • Each physical lens has a single focal length. “Wide” lenses have a wide field of view, and “telephoto” lenses can make very far away things look big in the screen. Have you ever tried to take a photo of the moon with your regular cell phone camera at default zoom? The moon itself is tiny, because the angular diameter of the moon from the surface of the earth is only about half of a degree (out of a 360 degree circle). So you need a very high focal length lens to be able to get the moon to fill up a photograph. Often, in sports, the sidelines have photographers with huge lenses trying to capture intricate detail (beads of sweat, texture of a ball) from 50-100 meters away.

    You can stack multiple lenses in front of each other and vary the difference between them to “zoom” to different focal lengths. That versatility is great, and zoom lenses are very common on cameras. But because this feature requires the stacking of multiple lenses, the lens assembly as a whole will end up sticking out pretty far. Bad form factor for a phone.

    So cell phones use a bunch of single-lens cameras to make the lens protrude less from the body of the phone, and use software to choose between the cameras: wide, medium, telephoto, or maybe even a super telephoto.

    And once they had that in place, there were a few tricks that could be used where the software would evaluate 2 or more cameras simultaneously to try to capture more information with less blur to fill in more image detail than one camera could have, with that sensor hardware. So there are a bunch of computational photography tricks that make cell phone cameras look better with small, limited hardware.






  • But I think it’s asymmetrical to favor the attacker, because the king can only move one square at a time and space needs to be cleared behind it, while the attacking queens just need a clear line of sight.

    Attacking the f pawn, the king side bishop, only requires 3 moves: move a pawn out of the way, move a queen into the field, take the pawn. On defense, you can’t move the king backwards until the fourth move, and you’d be blocking yourself in so that moving the king backwards again will take at least another 3 moves. If you’re moving backwards 2 rows in 7 moves, the attacking opponent can already check you a few times so that you might be forced to move forward or waste moves not productively moving backwards.

    I need a playable board of this to really explore these ideas though.




  • The vast majority of what YouTube does on a technical level is ingesting a ton of uploaded user video, encoding it in dozens of combinations of resolution, framerate, quality, and codec, then seamlessly choosing which version to serve to requesting clients to balance bandwidth, perceived quality, power efficiency in the data center, power efficiency on client devices, and hardware support for the client. There’s a lot of stuff going on behind the scenes, and there’s a reason why the user experience is much more seamless on YouTube on a shitty data connection than, say, Plex on a good data connection.

    No, it doesn’t need to be realtime, but people with metered or throttled bandwidth might benefit from downloading just in time video at optimized settings.





  • YouTube serves probably dozens of formats/bitrates, and has spent years tweaking how it ingests, transcodes, and serves videos. Adding in-stream ads might have been a bigger engineering task in that environment. Depending on the percentage of users/viewers avoiding ads, it might not have been worth the return.





  • GamingChairModel@lemmy.worldtoProgrammer Humor@programming.devEvil
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    6 months ago

    Ok so most monitors sold today support DDC/CI controls for at least brightness, and some support controlling color profiles over the DDC/CI interface.

    If you get some kind of external ambient light sensor and plug it into a USB port, you might be able to configure a script that controls the brightness of the monitor based on ambient light, without buying a new monitor.