• 0 Posts
  • 43 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle


  • Any insight on why you prefer the nginx ingress vs the ALB ingress controller on AWS? you can group/combine ingresses as well and it will automatically load the correct certificate from ACM if it exists. Which means you won’t have to mess around with certbot. Your TLS ends in the loadbalancer in that case though.

    EKS managed addons now support custom configuration( might not have when you started out ) though maybe not all the custom features you’re looking for are there. It’s not as flexible as the helm chart obviously, but usually supports the most basic things you’d want to use.

    Interesting read otherwise!

    Personally I’ve had issues selling people on gitops/kustomize as they all find helm charts a lot easier.


  • Can’t say the android phones I’ve used have slowed down over the years ( mainly one plus ). I always stayed away from Samsung and the sort because they add too much bloat.

    Not to mention that an update changed the power button to “activate bixby” and the constant harassing OD the Samsung app.

    I bought the latest Samsung tablet and its underwhelming compared to the precious Samsung tablet I had. At this point I wish I had bought an iPad instead :/



  • They dont need to know any commands.

    Everything in Linux is point and click. There’s an app store where you’ll find everything you’ll need. You will not need to open the terminal at all. All drivers will get installed through the OS.

    Only things which do not work are the keyboard software and stuff to map macros to your keys and/or mouse buttons ans tweak the colours. Like the Razor software.

    Distros like Ubuntu, popos, Linux mint are incredibly beginner friendly. There are, without a doubt, others.

    They didn’t need to know any cmd/powershell commands using windows and they definitely don’t need to know how to use a Linux terminal to browse/mail/install software on Linux.


  • There’s also the option of setting up a cloudflare tunnel and only exposing immich over that tunnel. The HTTPS certificate is handled by cloudflare and you’d need to use the cloudflare DNS name servers as your domains name servers.

    Note that the means cloudflare will proxy to you and essentially become a man-in-the-middle. You – HTTPS --> cloudflare --http–> homelab-immich. The connection between you and cloudflare could be encrypted as well, but cloudflare remains the man-in-the-middle and can see all data that passes by.




  • Lets get one thing straight.

    This is rarely ever the developer and more a business stakeholder forcing you to push the Friday deploy button.

    I’ve had somebody in the business escalating to my team lead, head of development and CIO because i flat out refused to deploy something on Friday at 16h.

    So no. This is not the developer making a hard choice. There should be somebody coercing or forcing him to push the deploy button.









  • Correct. The way I’m used to it ( and how I thought the world worked ) is that the IDE gives tab a fixed length or characters. If you set it to 4 it would be the equivalent of 4 spaces or 4 letters or whatever.

    If my tab is set to 4 it would take up the width of 4 characters. If I need two indentations I would press tab twice.

    If bob then checks out my code and calls me a maniac and sociopath for using indentation and swears by “2”, the code would just look more condensed. The alignment would still work out because that’s done through spaces.

    var user_name = "Bob"
    var user_age[tab]= "Bob"
    

    This would align the = for Bob, because it needs two characters to align and that’s what his tab width is. It wouldn’t align for me because my tab width is 4. So I would.pur two spaces instead of the . That way it is aligned for everybody regardless of their tab width settings.

    The way you explain it sounds like how tabs works in MS Word ( or other word processors ).

    I don’t think I could work like that. I’ve only ever used IDEs to code ( regardless of how primitive they were back when I started). Interesting take though :D


  • What I mean with tab = x spaces is only visually and not actually ( there will ( obviously) still be a tab character in my preference. Not sure if that was clear.

    Because alignment are fixed characters compared to indentation. For indentation the only question is how many characters the next indentation needs to be.

    For alignment it is not fixed. As an example of PHP code:

    function test(&obj) {
    $obj->doSomething()
    ....->doSomethingElse()
    }
    
    

    The dots would be spaces because in IDEs people generally use a font where every character is equally wide.

    If I would tab again instead of spaces it could work out if my tab length display is ( for one or more ) adds up to the width of the variable $obj. If somebody else has a tab width of 2 rather than somebody who has 3. It would only align for one of the two people.

    Does make sense? I typed it out after a gym session on my phone.

    Additionally. The whole problem is resolved by using spaces for both alignment and indentation. But in the cursor would still jump one space at a time rather than the whole tab ( although there are keyboard shortcuts for jumping words which would jump all of em.

    I don’t know. Call me old fashioned. I like what I like :/


  • fluckx@lemmy.worldtoProgrammer Humor@programming.devwait what
    link
    fedilink
    arrow-up
    58
    arrow-down
    3
    ·
    edit-2
    7 months ago

    Honestly I always preferred tabs for indentation and spaces for aligning. It doesn’t break anyone’s experience. And if somebody wants two spaces for a two-space-tab-width for indentation and other people prefer four. That will work just fine.

    I hate seeing 2 space indents. Unreadable AF ( to me ). At least this way I can easily work in the same codebase without somebody being annoyed ( except for the crying about the tabs )