• 0 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • The packager always should “explicitly require” what are the dependencies in a Nix package… it’s not like it’s a choice, if there are missing dependencies then that’d be a bug.

    If the package is not declaring its dependencies properly then it might not run properly in NixOS, since there are no “system libraries” in that OS other than the ones that were installed from Nix packages.

    And one of its advantages over AppImages is that instead of bundling everything together causing redundancies and inefficient use of resources, you actually have shared libraries with Nix (not the system ones, but Nix dependencies). If you have multiple AppImages that bundle the same libraries you can end up having the exact same version of the library installed multiple times (or loaded in memory, when running). Appimages do not scale, you would be wasting a lot of resources if you were to make heavy use of them, whereas with Nix you can run an entire OS built with Nix packages.




  • Flatpak still depends on runtimes though, I have a few different runtimes I had to install just because of one or two flatpaks that required them (like for example I have both the gnome and kde flatpak runtimes, despite not running either of those desktop environments)… and they can depend on specific versions of runtimes too! I remember one time flatpak recommended me to uninstall one flatpak program I had because it depended on a deprecated runtime that was no longer supported.

    Also, some flatpaks can depend on another flatpak, like how for Godot they are preparing a “parent” flatpak (I don’t remember the terminology) that godot games can depend on in order to reduce redundancies when having multiple godot games installed.

    Because of those things, you are still likely to require a flatpak remote configured and an internet connection when you install a flatpak. It’s not really a fully self contained thing.

    Appimages are more self contained… but even those might make assumptions on what libraries the system might have, which makes them not as universal as they might seem. That or the file needs to be really big, unnecessarily so. Usually, a combination or compromise between both problems, at the discretion of the dev doing the packaging.

    The advantage with Nix is that it’s more efficient with the users space (because it makes sure you don’t get the exact same version of a library installed twice), while making it impossible to have a dependency conflict regardless of how old or new is what you wanna install (which is something the package manager from your typical distro can’t do).


  • Ferk@kbin.socialtoProgramming@programming.devApple Wants To Kill PWAs
    link
    fedilink
    arrow-up
    2
    arrow-down
    6
    ·
    edit-2
    7 months ago

    It’s also not that uncommon of an acronym in web tech, all the first results when searching “PWA” are consistent and it’s a very common way to refer to that technology. The term PWA has made the news in tech channels a few times before (like when Firefox discontinued support for PWA on desktop).

    Even if they said “Progressive Web Apps” it would not have been immediatelly clear what that means for anyone who is not familiar with what PWA is. It’s also not the only acronym they use in the article without explaining it (eg. “API”, or “iOS” which is also an acronym on itself), it just so happens that it’s likely not a well known one in this particular lemmy community where the article was posted. The author advertises himself as a writer dedicated to web technologies (PWA and Web Component in particular), so it would be silly if he has to explain what those are on every of his posts.




  • it’s even ISO standardized

    Not only are there other ones that are also ISO standards when it comes to software layouts, but funny enough, when it comes to physical layouts, US keyboards normally follow an ANSI standard (not an ISO one), whereas many non-US keyboards typically follow a physical key layout known as “ISO Keyboard”, so one could argue those are more of an “ISO” standard.

    https://upload.wikimedia.org/wikipedia/commons/b/b2/Physical_keyboard_layouts_comparison_ANSI_ISO_KS_ABNT_JIS.png

    right ctrl + left shift + 9 will do?

    No keyboard layout uses ctrl like that… in fact, I don’t think you ever really need to press more than one modifier in any standard non-US keyboard. Unless you have a very advanced custom layout with fancy extra glyphs… but definitelly not for the typical programming symbols.

    ISO keyboards actually have one more key and one more modifier (“AltGr”, which is different from “Alt”) than the ANSI keyboards.

    In fact, depending on the symbol it might be easier in some cases. No need to press “shift” or anything for a # or a + in a German QWERTZ keyboard, unlike in the US one. Though of course for some other ones (like = or \) you might need to press 1 modifier… but never more than 1, so it isn’t any harder than doing a ) or a _ in the US layout.





  • They already took so much care to handle the suspend feature (they even support save syncing mid-game!). Solving the point you mentioned is the one thing that, in my view, would make it perfect.

    The thing is that it’s technically possible to handle this use case… they could have programmed it so it goes into hibernation after X hours of being asleep (which could have been done by setting a wake up timer before the sleep state, the Linux kernel already allows it).

    I wish some of the unofficial extensions implemented something like this, but I bet it’s not so simple to hook into the pre-sleeping / post-sleeping codepath without messing up too much with the system… plus the risk of potentially causing the device to enter some inescapable loop.


  • games like Against the Storm, Anno, Civilization, Dwarf Fortress, Factorio, Homeworld, Northgard, OpenTTD, Stellaris, etc

    Note that none of those games are “Steam Deck Verified”. They are at most “Playable”, and often the controls is not the only issue Valve warns about (many also have small text that’s hard to read). So playing them, while technically possible, is not really that great of an experience.

    The issue is that not everyone wants to fiddle with controller settings, and sadly there’s very few games that do take advantage of the trackpad and actually have proper first-class support for the Deck, with seamless idiot-proof integration.

    And I say that despite being a Steam Controller owner (and I’d love a SC 2). The experience with “Verified” titles is much more seamless than having to check your controller mappings to understand what you need to press (or having convoluted layers / combinations for the more keyboard heavy ones… like say, ToME).

    It’s a bit sad that the trackpad is not getting much love from game devs. I’d have hoped that at least some games started allowing simultaneous input for gamepad and mouse, just so that they can earn a “Verified” badge. But that’s still a problem, though some engines handle it better than others.



  • If you can only have one joystick it makes more sense to use it for joystick movement… it’s pretty much the one thing joysticks are really good at. The touchpad works much worse as an analog movement control than as a way to control the camera angle.

    In fact, the touchpad is superior to the joystick at controlling the camera when games are designed for it and allow simultaneous mouse and gamepad input. The issue is that most games don’t, which means you either have to remap everything to keyboard and mouse (which is less user friendly and requires mental training) or you have to use some emulated joystick configuration that makes the touchpad feel janky, since joysticks have such a bad sensitivity when compared to a mouse/touchpad.

    However, even with that issue that many games cause, it still feels more janky to use the touchpad for movement.



  • Note that “real world truth” is something you can never accurately map with just your senses.

    No model of the “real world” is accurate, and not everyone maps the “real world truth” they personally experience through their senses in the same way… or even necessarily in a way that’s really truly “correct”, since the senses are often deceiving.

    A person who is blind experiences the “real world truth” by mapping it to a different set of models than someone who has additional visual information to mix into that model.

    However, that doesn’t mean that the blind person can “never understand” the “real world truth” …it just means that the extent at which they experience that truth is different, since they need to rely in other senses to form their model.

    Of course, the more different the senses and experiences between two intelligent beings, the harder it will be for them to communicate with each other in a way they can truly empathize. At the end of the day, when we say we “understand” someone, what we mean is that we have found enough evidence to hold the belief that some aspects of our models are similar enough. It doesn’t really mean that what we modeled is truly accurate, nor that if we didn’t understand them then our model (or theirs) is somehow invalid. Sometimes people are both technically referring to the same “real world truth”, they simply don’t understand each other and focus on different aspects/perceptions of it.

    Someone (or something) not understanding an idea you hold doesn’t mean that they (or you) aren’t intelligent. It just means you both perceive/model reality in different ways.



  • This.
    Also, honestly I don’t think the screen is a problem with the current deck. No matter how good the screen is, higher resolution image is gonna both burn more battery and have a performance hit, I’d rather see an upgrade in terms of battery (and a proper system to attach it so it’s not just glued, maybe also some smarter chipset/bios that allows customizing the power margin to automatically disconnect the battery when docked, so it’s not periodically charging it to keep it full and degrading it in the long run).

    Looks are also subjective, I don’t really think changing a bit the colors is worth it (and it would likely be distorted anyway when using the night filter the software offers anyway), specially considering the price, effort, and the risk of messing things up in the installation. I guess for some people it might be an upgrade, but it’s definitely not for me.