• 22 Posts
  • 1.05K Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Ephera@lemmy.mltoProgrammer Humor@lemmy.mlCareer Advice
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Last year, money was running out in our project and the guy who had trained me decided he’d take the L and move to another project, so we could continue in the project. And yeah, suddenly I was in the role of the lead developer.

    Like, don’t get me wrong, I would’ve been the one to be moved to another project, if I wasn’t up for the task. It’s not like I was a complete dumbass.
    But it did still feel more like “I guess, we doin’ lead development now” rather than something I had intentionally worked towards.



  • I can’t really sell this as a solution, as it requires quite a lot more involvement than a simple configuration file should, but I use Nix Home Manager with Plasma Manager for this.

    This is part of the tooling you’d use on NixOS, but you can use it on other distros, too, and it generally works fine (although I’m not sure, if the current version of Plasma Manager still supports Plasma 5, in case you’re still on a distro with that).

    Basically, it allows you to define e.g. keyboard shortcuts like this:

        shortcuts = {
          ksmserver = {
            "Lock Session" = [
              "Screensaver"
              "Meta+Ctrl+Alt+L"
            ];
          };
    
          kwin = {
            "Expose" = "Meta+,";
            "Switch Window Down" = "Meta+J";
            "Switch Window Left" = "Meta+H";
            "Switch Window Right" = "Meta+L";
            "Switch Window Up" = "Meta+K";
          };
        };
    

    It then fucks up the formatting, so that it looks like KDE expects, and throws it into ~/.config/kglobalshortcutsrc.
    (KDE does actually have a text-based config, it’s just borderline unusable.)

    Well, and you can do this with lots of other Plasma options, too. Here’s their official example: https://github.com/nix-community/plasma-manager/blob/trunk/examples/home.nix




  • I happen to be a software developer, so I hope you’re in for an info dump:

    Webpages are generally designed as documents. You type a URL into your browser, it downloads a webpage document and displays it. This simple concept also allows for hyperlinks and browsing history, which just put another URL into your browser, so that it downloads and displays a different document.

    But it does not work for everything. For example, this meme was brought to you by the web version of Microsoft Teams™, where if you were to switch between pages by downloading entirely separate documents, then you’d get kicked out of calls every time you do so.

    This is why the entirety of MS Teams is using a singular document. It’s a so-called Single-Page Application, SPA (*insert scary music here*).
    When you click on a navigation element, it doesn’t put a new URL into your browser for it to download. Instead, some JavaScript monstrosity starts churning, downloads whatever information it needs and then modifies the displayed document, so that it looks as if you had navigated away.

    To make it extra confusing, it also does typically change the displayed URL, it just doesn’t instruct the browser to download+display the respective document. It does this, because it tries to emulate a normal, document-based webpage, with browser history and where you can link to subpages.

    Well, and this is then why opening in a new tab is often broken. Because there is no link there. It has to emulate the behaviour of a link via JavaScript just as well. If the developers do a bad job at that and never try out shortcuts like middle-click or Ctrl+click, then they may never get implemented.


    Having said all that, there’s also a chance that the devs decided to intentionally hinder opening in a new tab.
    Because MS Teams and other SPAs are JavaScript monstrosities, downloading+displaying the document anew like when opening in a new tab takes an obscene amount of time.
    And having two tabs of it open means that you get two notification sounds for each notification, and users might accidentally join multiple calls.

    But yeah, that I can’t have a call in fullscreen on one monitor and respond to chat messages on another monitor, without jumping through hoops like in the post, that’s just bad either way.


  • Well, in this case I’m merely talking about the webpage not giving access to the right-click menu, as well as to shortcuts like middle-mouse-click and Ctrl+click, which would normally allow you to open parts of it in a new tab.

    If a webpage were to actually check for cookies, to try to detect whether you’ve got two tabs of it open, then yeah, Container Tabs would be a solution for that, since it isolates the cookies.








  • Ephera@lemmy.mltoProgrammer Humor@lemmy.mlDiligence
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 days ago

    Yeah, I feel this one. We currently have significantly less dev velocity than the velocity at which requirements come in. So, unless something actually is the highest priority *right now*, there’s a pretty low chance of it ever being worked on.

    And then, yeah, I can be “professional” and say that we’ll work on it when we find time for it. That’s technically not a lie.
    But we both know that it’s not going to happen, so it’s actually better for the customer to take that reality at face value and find another solution.



  • In a less extreme sense, I find there’s also an inverse relationship between skill and marketing effort, because:

    • Marketing activities take time away from honing your skills. Even if you “just” (in very fucking big air quotes) build something useful that you release as open-source, you’ll still spend time answering user questions, reviewing PRs, writing documentation, ensuring backward compatibility etc…
      These are also useful skills, but they still prevent you from exercising your coding skills.

    • The most popular platforms for marketing yourself are also the most rapey platforms. People with high technical skill will be aware of this. The most privileged of them may not need to care.
      But those that worked their asses off, because they had to start from an unprivileged position, those need to care. Because they will be disadvantaged and harassed, when people see that they’re from a minority or women.
      You miss out on those with the highest work drive. You miss out on skills that people build when they need to protect their privacy. And you miss out on a culturally rich workforce and get a fragile monoculture instead.


  • I’m neither Scottish nor ultra-deeply embedded into the trans community, so I doubt I would’ve heard of politician statements or the like. But yeah, I do think I would’ve heard of it, if the ruling got repealed, and I did not hear of that, unfortunately.

    I guess, the main aftermath is that it got reported pretty much globally, because it is clever and there are boobs involved, so even clickbait newspapers can print that. Well, and hopefully it got people talking and reevaluating their preconceptions.