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

help-circle


  • Well that’s an interesting take! What aspects are you opposed to?

    IANAL but I did read through the patents agreement that you linked. It basically says do whatever you want with Go as long as it different infringe on Google patents. Which is pretty much backed by US law anyways and I assume other countries as well. The sketchy part is that your license is revoked as soon as they file a lawsuit rather than win it. Honestly, I’d be surprised if Google ever used this in a legal dispute because there would be a huge community backlash.

    That also only applies to Go developers. You would only be a user for a tool written on Go. How does your using a tool written in Go translate to support for Google and its bad practices? Do you not use any software written in Go?

    Sorry if this is sounding argumentative! I’m generally a big fan of Go and definitely opposed to Google and using its products. This is a topic that I haven’t considered before so my questions represent my sincere curiosity.



  • Lodra@programming.devtoSelfhosted@lemmy.worldBest way to dockerize a static website?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    4 months ago

    The simplest way is certainly to use a hosted service like GitHub Pages. These make it so easy to create static websites.

    If you’re not flexible on that detail, then I next recommend Go actually. You could write a tiny web server and embed the static files into the app at build time. In the end, you’d have a single binary that acts as a web server and has your content. Super easy to dockerize.

    Things like authentication will complicate the app over time. If you need extra features like this, then I recommend using common tools like nginx as suggested by others.









  • This really depends on the services you’re interested in. If you want something like aws, then no 🙂

    There are plenty of other service providers that do things more ethically. Bitwarden is good, random example in my opinion. The software is e2ee and their service just syncs data between your devices. It’s not really possible for the bitwarden, the company, to read or mishandle your data in a way that matters. Note that this doesn’t apply to the credit card info for paid accounts. Still, this is what I consider “the good guy”.

    So what services are you looking for?


  • It does take s little practice but not too much. The awkward positions are easy enough after a few weeks.

    I chose binary for two reasons. First, it is occasionally useful to count that high on one hand. Second, the education when he’s older. I hope this will give him a note intuitive understanding of different bases. And binary is specifically useful for understanding comported and software development. I dont intend to push him toward a career in software but I think there’s a fair chance he chooses that anyways.

    Plus we’ve made it into something fun 🙂



  • Lodra@programming.devtoSelfhosted@lemmy.worldAny love for Kubernetes here?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    11 months ago

    While you’re probably right overall, there are many good reasons to use k8s. The api provides all sorts of benefits. Kubectl, k9s, and other operational UIs . Good deployment models and tools like argo. Loads of helm charts that are (theoretically) ready to use.

    No, those things aren’t free. There’s a lot of overhead to running k8s.




  • Well I’m also not entirely sure what you’re looking for. But here’s my guess 😅

    None of this stuff should run under the account of a human user. Without docker/compose, I would suggest that you create one account for each service, deploy them to different directories with different permissions. With docker compose, just deploy them all together and run it all under a single service account. Probably name it “docker”. When an admin needs to access, you sudo su - docker and then do stuff.


  • Ya… That doesn’t seem realistic to me. Very few people will “direct their anger” toward someone with power over them. There’s always risk in a addressing issues with your employer because they can make your life worse. They can fire you, reduce your income or working hours, become inflexible with scheduling and demands, remove benefits, etc. No, it doesn’t always go this way and there are plenty of fine employers. But even if you have a reasonable employer and are free to raise concerns, there’s still risk and confrontation.

    And what about alternate employers? Restaurant staff can go find a better employer, right? Except, job searches are very difficult and it’s near impossible to identify a good employer from a bad one while interviewing. Very real chance that you make a change and end up with more problems.

    Don’t get me wrong. These hidden fees are 100% bs. It’s just not the employee’s responsibility to fix things. They usually have zero power in these situations. “Be good to the customer or I won’t get a tip. Be good to the employer or I won’t be scheduled to work.”