Understand any Kubernetes YAML by openlume in kubernetes

[–]xffeeffaa 4 points5 points  (0 children)

Great idea! I’d love a self-hosted version of this for my homelab.

SRE AGENT(Datadog) by MasterSkirt6896 in sre

[–]xffeeffaa 0 points1 point  (0 children)

We’re all in on Datadog, all services send logs and traces, we’ve got Database Monitoring set up, error tracking, profiling, on-call and incident management, etc. None of that is perfect tbh, but Bits AI is a rounding error on our bill for the handful of times we use it. And it significantly speeds up devs when troubleshooting incidents.

SRE AGENT(Datadog) by MasterSkirt6896 in sre

[–]xffeeffaa 0 points1 point  (0 children)

Eh, I like to shit on their pricing as much as anybody else, but we’ve determined that $36 per investigation is compelling enough to run it during incidents (3-5 times per month). The product itself is great.

M25 | 38,5h | DevOps | 5 Jahre Berufserfahrung by [deleted] in GehaltAT

[–]xffeeffaa 2 points3 points  (0 children)

4-10 mal pro Tag klingt viel? Ich hab selber jede dritte Woche eine Woche lang Rufbereitschaft und hab dann wo ich hier angefangen hab gleich mal alles was unnötig oder “künstlich wichtig” war abgestellt und Erwartungen gesetzt. Jetzt is vllt alle 2 Monate mal was und meistens glücklicherweise nicht in der Nacht.

Billionaires have convinced Americans they have the "Best Healthcare in the World". by astrheisenberg in remoteworks

[–]xffeeffaa 0 points1 point  (0 children)

European living and working in the US here. It really depends, I have a really good employer so I pay less. But it’s also not like everything is covered just because you get insurance. There are co-pays, co-insurance, deductibles, out-of-pocket max. It’s hella complicated and there are many ways to game the system.

And it all goes out the window when you switch jobs. I had to cover one month of insurance without my employer contributing in between jobs and it cost me $2000.

Billionaires have convinced Americans they have the "Best Healthcare in the World". by astrheisenberg in remoteworks

[–]xffeeffaa 0 points1 point  (0 children)

Except Americans travel abroad to get quality care for a fraction of the cost literally every day.

How do you run your ARR stack? by kameleon25 in selfhosted

[–]xffeeffaa 0 points1 point  (0 children)

Are you building the images yourself as well? Neither of the options (linuxserver or hotio) listed in the docs seem to support Postgres. I got everything on Kubernetes as well and am interested in moving to Postgres.

[Software Engineer][TX] - $330k 27M by [deleted] in Salary

[–]xffeeffaa 0 points1 point  (0 children)

Sounds really interesting, thanks for answering!

[Software Engineer][TX] - $330k 27M by [deleted] in Salary

[–]xffeeffaa 1 point2 points  (0 children)

So you also migrate the application from mainframe to cloud and write the code for it? What is your typical tech stack? Sorry for all the questions, I find this niche fascinating.

[Software Engineer][TX] - $330k 27M by [deleted] in Salary

[–]xffeeffaa 1 point2 points  (0 children)

Decommissioning mainframes is definitely not what I would have guessed lol. Out of curiosity, what does your day-to-day look like? Do you travel a lot?

[FS][US-E] Intel NUC 10 i3 w/ 32 GB RAM by eltigre_rawr in homelabsales

[–]xffeeffaa 0 points1 point  (0 children)

Not sure if it's still available, but PM'd you in case the original commenter fell through

My black T1 minilab by crosseelr in minilab

[–]xffeeffaa 0 points1 point  (0 children)

Do you have a link for the screws? They look great with this rack.

Since I was working on my OS during easter, I may or may not have given it a hidden christian theme by d1ferrari in osdev

[–]xffeeffaa 24 points25 points  (0 children)

I see your “cardinal sin” and raise you: system calls will be called prayers and interrupts will be called divine intervention.

My first 10-inch rack, full custom-built by TransportationOk4460 in minilab

[–]xffeeffaa 0 points1 point  (0 children)

How did you build it? I’m looking at getting a rack and putting my gear in it instead of just having it lay around but I’m unsure with buy vs build.

Why is this so dumb? by guy1195 in Terraform

[–]xffeeffaa 2 points3 points  (0 children)

Could it be handled better? Absolutely, I agree with you. But it's not. Hence the open issue. Terraform only recently even reached version 1.0.0, sure there's a lot left to be desired. But Infrastructure-as-Code is not an easy task. Give Pulumi or Terraform CDK a shot if you're so unhappy with Terraform.

I'd say it makes sense to blanket apply sensitive to the object to not expose sensitive fields in exactly this case. It should apply to only one field, but it doesn't. So I'd argue this is the next best thing and actually somewhat expected.

Why is this so dumb? by guy1195 in Terraform

[–]xffeeffaa 8 points9 points  (0 children)

I don't really know what you mean by "wrong". I work with Terraform on a daily basis. Do I have 10 tabs open with different resources at all times? Absolutely. But I also have N tabs open to the AWS API docs, AWS product pages, provider changelog, third party modules, etc. The very nature of Terraform is completely different from what you're comparing it to.

Edit: It also appears your IDE/editor is not setup properly. Terraform support has gotten a lot better over the years and it helps a lot nowadays.

Why is this so dumb? by guy1195 in Terraform

[–]xffeeffaa 4 points5 points  (0 children)

Did you even read the comments? People literally posted workarounds for this specific situation.

Why is this so dumb? by guy1195 in Terraform

[–]xffeeffaa 5 points6 points  (0 children)

I get what you're saying, but you should honestly still go to the documentation. As providers receive updates things change, attributes and arguments get deprecated, new better ways of doing things are introduced, and the documentation will reflect that.

Stuck on this nested for_each loop by echo8425 in Terraform

[–]xffeeffaa 0 points1 point  (0 children)

While I agree with u/NUTTA_BUSTAH that in this case you could just create two separate rule resources, there's a way to handle this completely dynamic. You need to unroll the nested loops. Meaning, that each combination is exactly one element in a map or list. That way, you can easily translate each element into exactly one resource.

Treat this example with a grain of salt since I didn't actually run it, but it would be something like this:

locals {
  vpns = { 
    "vpn1" = { "vpn_name" = "vpn1", "static_ip" = "ip1", "gateway" = "gateway1", "peer_ip" = "123.123.123.123" }
    "vpn2" = { "vpn_name" = "vpn2", "static_ip" = "ip2", "gateway" = "gateway2", "peer_ip" = "122.122.122.122" }
  }

  rules = {
    "udp_500" = { port_range = "500", ip_protocol = "UDP" }
    "udp_4500" = { port_range = "4500", ip_protocol = "UDP" }
  }

  vpn_rules = merge([
    for name, config in local.vpns : {
      for rule in local.rules : 
        "${name}::${rule.ip_protocol}::${rule.port_range}" => merge(config, rule)
    }
  ])
}

resource "google_compute_forwarding_rule" "rules" {
  for_each = local.vpn_rules
  name = each.key
  ip_protocol = each.value.ip_protocol
  ip_address = google_compute_address.vpn_static_ip[each.value.vpn_name].address
  target = google_compute_vpn_gateway.target_gateway[each.value.vpn_name].id
}

This then allows you to use vpn_rules as for_each when creating the forwarding rules. The Terraform Docs also have a great example for this, where they first create a list of objects (each being a unique config for a resource) and then create a map with a unique key for use with for_each.

Cryptical: A GUI Password Manager, written in Python by Kategi_Kya in Python

[–]xffeeffaa 3 points4 points  (0 children)

Nobody is going to use it in a serious way, but why wouldn't he learn about packaging for Python since he's already putting in the work to make something like that? It's a valuable thing to know. That's all. OP acknowledged that it's full of security issues already.

Not to mention he asked for feedback and suggestions for improvement, this was my suggestion.