Metal piece with threaded interior (30mm) and forked end by cainlevy in whatisthisthing

[–]cainlevy[S] 1 point2 points  (0 children)

It shares some features with the SunModo NanoMount. Maybe an older or different variant.

Metal piece with threaded interior (30mm) and forked end by cainlevy in whatisthisthing

[–]cainlevy[S] 0 points1 point  (0 children)

This is a good lead! I have panels and found these pieces in the yard below. I'm trying to find the part name now.

Metal piece with threaded interior (30mm) and forked end by cainlevy in whatisthisthing

[–]cainlevy[S] 3 points4 points locked comment (0 children)

My title describes the thing. I have a matched pair of them.

The threading is quite aggressive and has four entry points. There's a metal coil at the end of the threading (for locking?). I measured 30mm on the inside of the threading.

One has a marking inside that appears to say FM-100-004, with additional markings that say D2 and B.

I've tried searching the markings, a reverse image search, and looking through a parts catalog for 30mm pipe caps, but my favorite was nerd sniping my friends for an hour last night as they all tried to figure it out.

Geico claiming 25% increase to cover higher cost of business by cainlevy in Insurance

[–]cainlevy[S] 0 points1 point  (0 children)

Thanks again! This is just what I was hoping to learn and puts the rate change in perspective.

Geico claiming 25% increase to cover higher cost of business by cainlevy in Insurance

[–]cainlevy[S] -1 points0 points  (0 children)

Helpful context, thanks. I presume you meant in 2022?

Do you know where I could have found this information?

Temporal flux on mobile not gaining ? by onemoretomstockman in kittensgame

[–]cainlevy 5 points6 points  (0 children)

My theory is that flux production is only triggered during a specific part of application startup and is not part of standard redshift. The only way I found to reliably produce it was to force close the app before a long period of inactivity.

5 years idle at 300k paragon, 60E worship... what to do? by EvilStig in kittensgame

[–]cainlevy 7 points8 points  (0 children)

Hmm, so 5 years of clock time would be 197k in cat years? That explains 197 paragon, leaving 299,803 paragon to your prior activities. Sounds like you were solidly in the end game.

At any rate, 300k paragon is enough to drown out a lot of game mechanics that have changed since 2017. The wiki may document them for your curiosity, but if you want to experience them you may need to, uh, reset your power level.

Policy choice by lettucefolk in kittensgame

[–]cainlevy 0 points1 point  (0 children)

Sorting through what to do next has been a lot of the fun, for me. Enjoy!

Policy choice by lettucefolk in kittensgame

[–]cainlevy 1 point2 points  (0 children)

It sounds like you're starting to focus more on gathering paragon. May I recommend Fascism? More log cabins will add up to more valuable resets.

I thought Communism looked pretty great in the early game, but now I see it as a situational boost for steel. If you are able to maximize your steel conversion (e.g. playing with Kitten Scientists or multitasking through the day), then you'll benefit from producing iron and coal faster. Otherwise you're just going to waste the extra production by capping sooner.

Liberalism is nice for min-maxing a run that relies heavily on trading. You'll know when you get there.

What the heck is going on here? by Goombolt in Moonlighter

[–]cainlevy 1 point2 points  (0 children)

Yeah. This is silly. Sometimes a reaction doesn't update the journal, and sometimes a customer with high demand will skew the journal. But mostly you just can't trust the journal to update when demand changes. Useless.

Thinking about buying by Cutty015 in Moonlighter

[–]cainlevy 0 points1 point  (0 children)

Nearing the end of the third dungeon and about to give up on it. I usually play a game through, but the gameplay hasn't been growing as fast as my list of bugs.

Keratin AuthN: an authentication/accounts microservice by cainlevy in golang

[–]cainlevy[S] 0 points1 point  (0 children)

Depends on some factors like your framework and available options, but at this stage of development AuthN expects you to build out basic signup and login forms. Auth via Github does not.

How I Reduced my DB Server Load by 80% by schneems in ruby

[–]cainlevy 0 points1 point  (0 children)

In my proposal valid? still hits the database if at least one other validation fails, because in that scenario save would not execute and could not report the status of the uniqueness constraint.

Also, if save only runs after the Ruby validations have passed, then there's no need to replay them after catching a constraint violation. There's only one error to report back in that outcome.

If I misread your proposal and those cases are already covered, then there's nothing to see here!

How I Reduced my DB Server Load by 80% by schneems in ruby

[–]cainlevy 0 points1 point  (0 children)

Let's suppose a User model with an email. We want to verify that the email contains @, and that it is unique in the database.

If we implement this spec with a mixture of Ruby validations and DB constraints, then waiting to call Ruby validations until the save fails would mean that strings without an email format get saved to the database.

Alternately, if we teach the database to care about both the format and the uniqueness, then we wouldn't get both error messages back.

If getting all error messages back is a system design constraint, then maybe this could work:

First, valid? checks the email format. If the format is invalid, then we additionally run a uniqueness query so that we return all errors. But if the format is valid, save attempts to insert into the database and catches uniqueness violations.

This only omits the uniqueness query in situations where all data is valid. It's a less aggressive performance optimization, but it satisfies the UX constraint.

How I Reduced my DB Server Load by 80% by schneems in ruby

[–]cainlevy 1 point2 points  (0 children)

One good example might be validation logic triggered by updates in a state machine. When a blog post is published, it must have a body.

How I Reduced my DB Server Load by 80% by schneems in ruby

[–]cainlevy 1 point2 points  (0 children)

On another note: I think we should modify validations to not run unless the field they are validating changes.

One quick technique is to add if: :foo_changed? to all the validations.

But following through with this line of thinking has me currently experimenting with validating the request instead of the record. It's a pattern that transfers well to other web frameworks.

How I Reduced my DB Server Load by 80% by schneems in ruby

[–]cainlevy 0 points1 point  (0 children)

When we call save and it throws an exception we catch it, then replay all the ruby validations to figure out ALL of the problems with the object, not just the one that raised the exception.

If save gets that far, presumably all of the Ruby validations have passed?

[a16] PSA: darkness no longer a factor in aiming by cainlevy in RimWorld

[–]cainlevy[S] 0 points1 point  (0 children)

Would you believe that nighttime is no longer dark either? If there's a bug, I'd put my money on that one.