Just a stranger trying things.

  • 4 Posts
  • 82 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle

  • My number one gripe with organic maps is how fragile the search is. If you don’t write it exactly right, you get no or irrelevant results. Also, it seems to have no clue of what is popular and what people expect when they search for something. I’m not talking about personalized results but for example the following: searching for “Eiffel”, leads me to minor roads, restaurants and all kinds of results unrelated to the Eiffel tower. This is what is troubling me the most.


  • Exactly, this is about compression. Just imagine a full HD image, 1920x1080, with 8 bits of colors for each of the 3 RGB channels. That would lead to 1920x1080x8x3 = 49 766 400 bits, or roughly 50Mb (or roughly 6MB). This is uncompressed. Now imagine a video, at 24 frames per second (typical for movies), that’s almost 1200 Mb/second. For a 1h30 movie, that would be an immense amount of storage, just compute it :)

    To solve this, movies are compressed (encoded). There are two types, lossless (where the information is exact and no quality loss is resulted) and lossy (where quality is degraded). It is common to use lossy compression because it is what leads to the most storage savings. For a given compression algorithms, the less bandwidth you allow the algorithm, the more it has to sacrifice video quality to meet your requirements. And this is what bitrate is referring to.

    Of note: different compression algorithms are more or less effective at storing data within the same file size. AV1 for instance, will allow for significantly higher video quality than h264, at the same file size (or bitrate).




  • The Hobbyist@lemmy.ziptoPrivacy@lemmy.mlPixel 8A and Grapheneos
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Congratulations on your first steps in GrapheneOS!

    In order to best help you and give relevant suggestions, we need more information of who you are trying to be private from.

    If your threat model is particularly sophisticated, it may be recommended that you do not use a sim card, or at least never when your phone is at home. Instead, exclusively rely on WiFi. It may also involve desoldering your microphone and camera and only make calls using an earpiece.

    These are not recommendations, but simply examples of how far one can go with respect to their threat model. If you would rather want to avoid “regular” spying by google, Facebook and the likes, you may be better off selecting a private DNS (for example Mullvad’s extended DNS which comes with social media filtering https://mullvad.net/en/help/dns-over-https-and-dns-over-tls ). You would need to make sure you do not install Google services (nor microg) and especially no google apps.

    Much more can be said, but we would need specific information about your case to provide better guidance.

    EDIT: I do not want to give the impression that GrapheneOS does not make a good job in improving your situation already. They do! But to do more you would need to justify it with your threat model, that’s what I’m getting at.






  • The Hobbyist@lemmy.ziptoLinux Gaming@lemmy.worldBest Graphic card for Linux Gaming
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Both AMD and Nvidia GPUs work well. There is mainly a philosophy difference where AMD GPUs work particularly well with open source drivers whereas Nvidia still mostly depends on its proprietary drivers (though they work fine on Linux too).

    Phoronix is a reputable website when it comes to benchmarking on Linux. Here is a previous benchmark with Nvidia GPUs, as an example:

    https://www.phoronix.com/review/nvidia-rtx4080-rtx4090-linux/2

    Of note: when people complain about nvidia on Linux, you need to determine whether they complain about open source or proprietary drivers.

    I have been running Nvidia GPUs on Linux for years and have had no issue with the proprietary drivers, both for an old and recent GPU. Of course YMMV.

    Edit: my personal recommendation though would be to stick with AMD which offers more memory and bandwidth compared to similarly priced Nvidia GPUs (Nvidia uses 8GB for many of its GPUs which is quire disappointing these days). And with open source drivers it may be easier to get issues fixed and find support.








  • There is a way to place the secret file (corresponding to the password) on a dedicated USB stick and have a script attempt to Mount it at boot to unlock the partition. If the USB stick is not found, it will revert to the password prompt. Perhaps this is the best of both?

    Make sure not to leave the USB stick plugged in, but rather only take it and and plug it in to boot then safely store it once booted, otherwise you are probably defeating the purpose of having an encrypted partition to begin with.

    I’ll add a link to read more about it shortly.

    Edit: here is one example to set it up (including to auto-decrypt ZFS) https://www.youtube.com/watch?v=7xOLxCwdi-I