Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 5 Posts
  • 1.54K Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle




  • I’m not going to hunt down people who are infringing on projects like this:

    It’s more that people won’t use the code at all if there’s no license attached. For someone that’s looking for a snippet of code to reuse, it’s much easier to instead find a permissively licensed piece of code that performs a similar function, instead of contacting the author of the unlicensed code and trying to figure out what to do.

    Also, that’s sort of presumptuous to believe you know what I want better than myself

    Sorry - I meant to address it to readers of your comment rather than you. I edited the comment to make it clearer.









  • dan@upvote.autoProgrammer Humor@lemmy.mlOverflow
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    17 days ago

    In E2E tests you should ideally be finding elements using labels or ARIA roles. The point of an E2E test is to use the app in the same way a user would, and users don’t look for elements by class name or ID, and definitely not by data-testid.

    The more your test deviates from how real users use the system, the more likely it is that the test will break even though the actual user experience is fine, or vice versa.

    This is encouraged by Testing Library and related libraries like React Testing Library. Those are for unit and integration tests though, not E2E tests. I’m not as familiar with the popular E2E testing frameworks these days (we use an internally developed one at work).



  • The Windows store is also a sandboxed, heavily restricted pile of trash you can’t even get at for most of its apps.

    They changed that around the tine Windows 11 was released. Regular Win32 apps can be listed in there.

    NTFS permissions are just needlessly complicated and convoluted and create more problems than they solve for desktop use.

    What’s an example of a problem they create?

    If Windows would just use simple permissions like Linux does

    I don’t think using an antiquated permission system from the 1970s is the solution to anything. Being able to set permissions for only a single user and single group is very limiting, especially when there’s background processes that run as other users. There’s a reason later revisions of POSIX added ACLs.

    The excuses for using obsolete Windows continues by its paid shills and brainwashed users.

    lol I’m not a paid shill nor a brainwashed user; I just see pros and cons for all operating systems. Linux-based OSes do some things better, and Windows-based OSes do other things better. Even MacOS has its pros.


  • executable as a filesystem attribute

    This already exists. It’s labeled as “Traverse folder / execute file” in the UI.

    NTFS permissions are also more powerful than the default Linux permission system. Instead of just being able to define permissions for a single user and single group, you can define them for an arbitrary number of users and groups.

    I say “default Linux permission system” because you can actually use ACLs on Linux (getfacl and setfacl commands), they’re just not used by default. They used to be common in businesses and schools, but these days everyone seems to store their files “in the cloud” and the permissions are managed there instead.

    curated app repos

    This is what the Windows store is supposed to be. There’s also WinGet, but I’m not sure if it’s curated.