• 2 Posts
  • 66 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle





  • QR codes come with (differing levels of) error correction. You could decode it and take the amount of corrected errors as a score.

    I don’t know what unit/chunk of data the error correction works on but you could alternatively dive a bit into information theory and calculate how close any of the chunks are to an uncorrectable error and use that as a score.

    Since the first uncorrectable error will cause the scan to fail this would match your problem definition fairly well.

    One benefit of this approach would be that it’s a single scan and done vs searching n permutations of the same code.
    Or maybe you’d want to scan it a couple of times to rule out any additional errors introduced by the camera or environment.



  • Starfighter@discuss.tchncs.deOPtoSelfhosted@lemmy.worldAuthentik Helm woes
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Got it working thanks to your troubleshooting tips now. Also found a very neat way to handle secrets from another comment.

    I tend to run a DB instance per service as that makes backup restoration much easier for me. An idle postgres sits at around 50MB which is a cost I’m willing to pay.

    Thank you again for your help :)




  • Did you also have to set all these env vars by hand?
    I am wondering if it might have something to do with rendering Helm Charts under ArgoCD.

    I’ll give it another try with your recommendations.

    And should I get it working finally, I will obviously switch back to using Secrets.
    I only removed them to reduce possible points of failure.

    As for blueprints, that’s a task for future me xD











  • Just out of curiosity I don’t see how 4 sticks die together at the exact same time unless the PSU is/has fucked up hard.

    I’d argue that the likelihood of 4 sticks failing together is much lower than the MOBO or CPU or PSU failing in a way that makes RAM inaccessible.

    Typically you’d see one stick failing at which point you could take it out and run with the other 3 (or 2 depending on configuration).

    Anyway if you ever intend to return its probably best to keep the rest of the components because who knows which of those will be up next for a shortage/crisis.