rs5th

joined 2 years ago
[–] rs5th@lemmy.scottlabs.io 5 points 2 years ago* (last edited 2 years ago) (1 children)

So the bit that malfunctioned wasn’t SpaceX hardware, and I don’t think Elon has anything to do with the Launcher Space company.

I think the Falcon 9 (the SpaceX hardware actually involved in this launch) is a notable exception to other Elon involvements as it’s arguably the most reliable space launch system.

[–] rs5th@lemmy.scottlabs.io 7 points 2 years ago (1 children)

I’ve got a 1972 VW Super Beetle that I’ll never get rid of. It’s not really a desirable version or year of the Beetle, but my dad, grandpa, and I restored it when I was 9. My grandpa died in 2020 and he worked on cars his whole life. It’s cool to have a physical thing that he made possible using a lifetime of skills. Plus, my kid is getting old enough to work on it with me, and I think it’s awesome to have 4 generations of my family wrenching on it.

[–] rs5th@lemmy.scottlabs.io 2 points 2 years ago

Lemmy 0.18 has resolved most of these for me. As the big instances update, hopefully this gets more stable for you!

[–] rs5th@lemmy.scottlabs.io 6 points 2 years ago (1 children)

The US military spends 2 trillion a year. I'd much rather see those resources go into rescue operations than the opposite. Poor people in a boat should absolutely get access to the same resources, and the crime here is not that billionaires did, but that the migrants didn't.

[–] rs5th@lemmy.scottlabs.io 7 points 2 years ago (1 children)

Conservatives don't seem to have trouble with boob jobs, etc. I think this is an instance of using religion as an excuse when it's convenient.

[–] rs5th@lemmy.scottlabs.io 3 points 2 years ago

Just checked my own Lemmy postgres database, it's a 12 round Bcrypt 2b hash.

[–] rs5th@lemmy.scottlabs.io 4 points 2 years ago

On one hand, this is super cool, but on the other, it gives orcas and robots the chance to team up, and I'm not here for that.

[–] rs5th@lemmy.scottlabs.io 1 points 2 years ago

At least the CEO is on board the sub.

[–] rs5th@lemmy.scottlabs.io 5 points 2 years ago (1 children)

You’re in OK?! I just moved from OK to CO last summer. Hope your family and lab gear are doing okay after the storms.

[–] rs5th@lemmy.scottlabs.io 5 points 2 years ago (3 children)

The real gold was the friends we made along the way.

[–] rs5th@lemmy.scottlabs.io 9 points 2 years ago (5 children)

If anyone else has made it this far and are thinking “ah balls, I’m using ingress-nginx”, here’s the ingress annotation for you!

nginx.ingress.kubernetes.io/configuration-snippet: |
            if ($http_accept = "application/activity+json") {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }
            if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }
            if ($request_method = POST) {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }

[–] rs5th@lemmy.scottlabs.io 11 points 2 years ago (7 children)

Here’s a cronjob to clean up the useless activity table every day:


apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: postgresql-cleanup
  namespace: lemmy
spec:
  schedule: "0 0 * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: postgres-cleanup
            image: postgres:alpine
            command: ["psql", "--host=postgresql", "--dbname=postgres", "--username=postgres", "--command=DELETE FROM activity WHERE published < NOW() - INTERVAL '1 day';"]
            env:
            - name: PGPASSWORD
              valueFrom:
                secretKeyRef:
                  name: postgresql
                  key: postgres-password
          backoffLimit: 0
          ttlSecondsAfterFinished: 3600

view more: ‹ prev next ›