Eskating cyclist, gamer and enjoyer of anime. Probably an artist. Also I code sometimes, pretty much just to mod titanfall 2 tho.

Introverted, yet I enjoy discussion to a fault.

  • 15 Posts
  • 604 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle


  • Except cigarettes are a state-run monopoly over there.

    The main reason things are going so slowly is that they can’t bring themselves to stop making so much money.

    The same institution that’s supposed to promote the facts about the health-risks of smoking is the one making stupid amounts of money making and selling it.

    If they ever stop, it’ll be because they transition to other nicotine products, or shift to exporting the product to developing countries (which they already are).



  • It’s just a rating. All cells are rated for some given amount of amps, but you can actually exceed that rating in bursts.

    So I’m jokingly pointing out that you can theoretically pull as many watts as you want.

    You can turn a MWh of energy into a GW of power, as long as you compress it into a short enough duration.

    The battery (or any part of the circuit) just won’t survive the event :D





  • When a website has you type a name as a signature it’s a legal representation of that signature. There’s nothing cryptographic at all about it. Wjere would you even store the key? I’ve made ways to use Webauthn keys to do this, but no signatory uses these methods.

    I claimed no such thing. That is not a digital signature.

    I’m fairly certain we are not discussing the same thing.

    I can digitally sign documents the way I have described, NOT IN A WEB BROWSER, using entirely local or even open source software, using my government issued ID card.

    The solution provided for electronic signatures by the Digital and Population Data Services Agency is a signature certificate. The certificate is located in the card chip.

    As described by the relevant finnish agency, this is enabled by a “signature certificate” stored on peoples ID cards. The functionality uses a separate PIN from that which you use to verify your identity in the context of a website you are visiting.

    I am not aware of any other way for me to sign a document in such a way. All the other signatures, which do also work, are something else. And potentially insecure in all the ways OP thinks. (Someone else can type the same name).




  • I’ve only managed it accidentally.

    But usually the pattern is contacting/getting contacted due to some matter that needs discussing. The source for that can be needing some pointers on using someone elses code, or providing feedback on how someone moderates, etc.

    For me it’s usually come from participating more extensively. Engaging in community building such as my modding titanfall and hosting northstar servers. Starting a bunch of lemmy communities.

    Then, once something gives you a reason to go a couple back and forths into an exchange, and there is mutual interest, it just keeps going. After that you can pick up with the same skillset you’d use with someone you’ve met in person.

    The difference is that you’ll need to keep it going by deliberately reviving the conversation now and then. That won’t happen by running into the person face to face or some similar context the way it might work with a coworker or someone in your social circle.




  • No.

    Assuming you’re accessing your files via network mounts, those file are being created by the relevant SMB/NFS/SSH daemon. ALL FILES are created by some process or other. If you click “new file” in Dolphin, that process is Dolphin.

    Which means there is a umask you can configure.

    My network SMB mount that leads to my jellyfin libraries is configured (on the server) to access the filesystem under my user and the shared media group. Hence files it “creates” are always done so with correct permissions. User, group and umask are configurable for each share.

    This way, I can copy files from a share containing “my” files, into the media share, and have the owner, group and umask automatically “translate” into what they should be in either direction. Theres not really a way to do that directly on the system. It’s something you can only really set up when moving files around between the shares and hence their respective environments.

    If I did the move in the terminal directly on the host system, shit would instantly break.

    Files and directories can only have one owner for user and group, each. If files you create belonged to every group you are in, that’d be a permission nightmare, so by default, the group permission is “unused” (it just gets set to the same as your user).

    You could add the application that needs to access files created by you to your user group, but that’s a lot more permissive than it needs to be (it gets to access all your files with group access granted).

    If you’re managing files via network shares, the solution is in their settings.

    If you’re managing files on the system directly, that’s trickier. New files can be made to inherit the group of the parent directory (edit: other commentor), which solves your problem only some of the time, as it won’t affect files you move into the folder. In those cases you still have to fix the group after moving. That, or copy instead of move.

    Bottom line: You’re not really supposed to manage this stuff directly. When you go in and create files directly on the host system, you are bypassing the systems that would normally set permissions inside a share or directory that is being accessed by multiple applications, users, and services.

    Making the default of files created in such a way non-permissive, is by design. That you have to manually correct the group permissions on a file you just moved in from another permission environment, is as it should be.


  • No, you are not expected to cronjob the chmod command.

    You want “umask”. That’s the term, you can google it for more info.

    Basically, it’s the setting that controls what the default permissions are for the files created by a process.

    Jellyfins umask is configurable using the systemd unit file. Arr stack umasks are somewhere in their settings… Etc.

    It is process specific, and something you configure for each application. Owner is whatever user runs the process, and same goes for group.

    Group does not need to be same as user. You can run jellyfin with a “jellyfin” user and “media” group, so that some other app managing the media files can deal with jellyfins files by running under a different user but the same “media” group.

    As long as you set their umasks to allow group access they will then always be able to pass files and directeries between them.

    I’ve no experience with ACLs. I’ve used SMB, and SSHFS to a lesser extent, and always with very simple setups.

    My user accessing my own users files via SMB, and ssh only via the admin user and as such with root level access.

    But generally, unix-style permissions should allow you to be able to set things up in whatever way you might need. Getting there can be complex, but there is always a way to configure what permissions directories and files will have when created, and hence what users/groups can access them.

    Also, sometimes the answer is to edit the groups. Such as adding a user being used to access a share to the relevant groups, instead of messing with owners or groups of existing files and directories.

    Or, creating a whole new group (like “pictures” for your camera roll thing) which you add all the relevant users to (yourself, and whatever apps will be accessing the relevant directories). Plus then configure umasks so that files actually default to allowing group level access.


  • You’re saying people will steal because they can? Do you?

    Are we talking about the poor, or the billionares finding every possible loophole on taxes and regulation?

    Small/Societal theft is not exactly hard to get away with. It’s a lot easier than most professions, but then a lot of engineers and scientists don’t get into the business for the money. People do difficult things for the hell of it, as long as they arent punished for it, and sometimes even if they are. Nature takes the path of least resistance? Fucking really?

    The reason surveillance is increasing, is because the NEED to steal, is increasing. And hence spending more to prevent it is making more sense.

    Food isn’t optional. If you decrease wages, theft goes up. No matter how hard you police it.

    Your area doesn’t need to lock things up because the amount of theft is too small to be worth spending on to prevent. That is as it should be.

    If the police in your area is wasting their time on catching grocery thieves, you’re already spending your taxes wrong.



  • The water comes out at a single point at high pressure below the sphere.

    It then travels out and exits all around the sphere.

    The water can be pumped below the sphere very slowly, but at high pressure, and that way still lift the sphere.

    The water doesn’t get squeezed and accelerate towards the outside edge, because as it flows outward, the circle gets bigger. The area expands.

    Hence it slows down, drops in pressure, and comes out at a trickle.

    It’s not like pinching the end of a hose. It’s like adding a kink in the hose before the end. There is huge pressure before the kink (the water that lifts the sphere), and after the kink the pressure is super low (the water exiting from below the sphere). It makes the water slow down and come out at a trickle. Even though the pressure before the kink is huge.