• 0 Posts
  • 242 Comments
Joined 2 years ago
cake
Cake day: August 12th, 2024

help-circle
  • Cameras.

    as a human you (most likely) have 3 types of photo receptors. Green, blue and red. That’s why digital pictures mostly use RGB to save color data. They save how much red light, how much green light and his much blue light each pixel should have. For this reason the sensors of digital cameras use the same pixels , just for capturing light instead. So the camera only captures Red,blue and green light from the visible spectrum and discards all else because we as humans can’t see that other light. But for scientific cameras, what the scientists look for might not be visible RGB light. So often the cameras capture ultraviolet light or other wavelengths instead. To display the image they have to shift the colors, because a) you can’t see ultraviolet light and b) your screen can’t display ultra violet light either. So they just transform to the RGB color space. What is blue in the image now is not blue in real live but actually ultraviolet. What is red is not red in real live but actually a different wavelength you can’t see.

    This is true for basically all space images with long range telescopes like Hubble or James Webb. And for most satellites.


    1. They knew who she is. they just clarified to avoid confusion.
    2. We associate things by contexts. If you were talking about history or civil rights, your mate would most likely have confidently known who Rosa Parks is.
    3. https://xkcd.com/1053/
    4. When confronted or put under pressure we tend to question everything. You think the name is funny. He doesn’t. So obviousltly his understanding must be wrong. Its not “civil rights” + “porn”, there must be something else he is missing. It can’t be the obvious thing he is thinking about because that isn’t funny …


  • What volume does one pound of water have? How long are the sides of a cube of that volume? How much energy do you need to raise a one pound object up by one yard?

    In the respective metric units the answer to these conversions is either 1 or a factor of 10

    How many of those conversions are a factor of 8 or 12?

    Metric is a lot more then just meters and centimeters and all of those conversions make sense


  • If 1 meter = 1 yard, inches would still not exist in this metric system. Every individual imperial unit is fine. Inches are fine. Yards are fine. Gallons are fine. But the ratio between inches and yards is not. The ratio of cubic yards to gallons is insane.

    Even if one metric unit would exactly equal an imperial unit, the systems would still be incompatible. Metric is not superior because of how “big” each individual unit is, but because it is a coherent system. The only conversions between units are by factors of 10 (except for units of time but I think that’s the only measurement the whole world agrees on). You never need to learn a conversion rate with an arbitrary factor like in the imperial system.



  • I realy dont think that’s a thing. End-user login security is a tiny footnote on page 729 of the 2000+ page security document of a large company’s cyber security department. Switching that to passkeys will not change anything about how the company handles security. AI will. But not passkeys.

    And as we have seen many times, companies have been bad with security already and many password databases have been breached. Having a tool that limits the impact of bad security is a good thing.



  • If every place/area only serves one purpose then the game should be linear. Some of my favourite games are the old Gothic and Gothic 2 RPGs. They are open world, but tiny compared to modern RPGs. They dont have “areas” with a set difficulty that you can complete and then move on, instead the map is like a skeleton of fairly save roads and settlements and the further you go away from the roads the harder it gets. So you see the whole map in the first chapter but have explored very little of it. You always return to the same areas and they feel like home. And every chapter of the story adds new enemies, quests and events to all areas of the game. All of it is hand picked. No “radient quests” to trick you into going to an completed dungeon again, no random encounters on the roads to make travel through the world feel less empty…

    IMO, they have the best open worlds I have ever seen. The studios follow up open world games (Gothic 3, elex 1&2) fell flat because they tried to be huge as well and felt empty as a result.

    Working with constraints does actually produce gems. Fallout, farcry, GTA, skyrim just throw billions of dollars at a project to make it huge. But everything there is is just a set piece to be looked at once and be discarded …


  • The problem is not “open world” but “the ubisoft game”. New region, find watchtower, reveal map, do 1 quest, attack enemy camp, liberate area, new area, find watchtower, …

    Most open worlds are also just way to big. GTA San Andreas felt huge but is tiny compared to V. And it was better for it. Modern open worlds never have a hub. A place that you actually build a relationship with and see change over the course of the game. Its always: area completed, next!




  • Cool, here is a VM without domain join and no access to internal resources. Feel free to use your admin permissions on there.

    Seriously though: developers need admin access during prototyping unless you are a giant enterprise that already has CI\CD, dependency management, staging environment etc all set up and properly configured. For everything else, devs should have their contained sandboxes with admin permissions


  • Just as a security note: being in the docker group allows root access. If your user is not already a sudoer anyway, they can get root through docker.

    So if you run malicious code (like running a bad install script from the wrong github repo or installing the wrong dependency) as that user the attacker can escalate to root without knowing the user password.

    (The trick is to create a container and mount /. Then you can edit whatever files you want inside of the container, like editing /etc/passwd and setting a known password for the root user)




  • Everything that was luks encrypted is unrecoverable once you overwrite the luks header. Trying to guess the master key takes longer than the lifetime of the universe.

    Just make sure that is gone and you are good. If you deleted all partitions and installed another (unencrypted) OS on the drive there is a very good chance the luks headers are gone for good.


  • groet@feddit.orgtopics@lemmy.world•Lima Peru
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    3 months ago

    Lima is … difficult. Its a gigantic city growing well beyond its own capabilities and infrastructure. 99% of houses are unpainted brick without a proper roof and cables just hanging out. There is so much poverty, stray dogs and smell of piss even in the touristy areas. During more than half the year you will not see the sun because it is always covered in haze and smog (dust from the desert + cold moist air from the ocean). The outskirts growing into the desert are the most depressing sight of human existence I have ever seen.

    The bike lanes are nice but limited to Miraflores (the tourist main quarter). Baranco is very nice and artsy, as are some of the rich areas. There are very nice restaurants, theatres, museums etc if that is your thing though. And if you spend some time in more rural Peru, returning to a modern city with shoping malls can be nice too.

    All in all I would not recommend going to Lima as your destination when going to Peru. Stay for 2-3 days then get the fuck out of there to the actually beautiful cities like Arequipa.


  • Brothers: a tale of two sons

    You play two characters at the same time. The left half of the controler for one brother, the right for the other. Many (not so) special abilities can only be done by one brother and the corresponding button is on that side of the controller. Its a short game that can only truly be experienced once so beware the spoiler!

    Tap for spoiler

    At some point the older brother dies. You now only use half the controller until the surviving brother overcomes his fear of swimming, which was an ability of the (now) dead brother. Just standing in front of the water and realising that I have to use the dead-brother-controlls to control the alive brother was mind blowing. Its also really emotional to a point that would not be possible without that twist. Using a button that was assigned to the dead brother just elevates the feeling of growth of the alive younger brother