[-] Jimbabwe@lemmy.world 2 points 12 hours ago

Well then, to answer OP’s question about intent, I don’t have much of a clue, but here’s some Idea Ore that maybe someone can refine into a plausible explanation:

  • clientId basically has to be sequential or none of this makes sense
  • conceptually, I believe this statement is equivalent to clientId%180 == 0
  • i can’t fathom CAST(ABS(SIN())) being more efficient than modular division, so maybe the dev was trying to be clever, hated the hardcoded 180, or some other unknown going on
  • a sine wave goes -∿- so this is where it hits the x-axis
  • given that, there has to be some periodic or cyclical purpose, relating to the why/how of the clientId creation. For example, when the results of this are graphed with a created_at timestamp, it might give useful insights to growth (or something)
[-] Jimbabwe@lemmy.world 6 points 14 hours ago

Well abs(sin(x)) is always going to return a value between 0 and 1, and I dunno how casting to bit works.. if it rounds this might be used to consistently grab half the users. If CAST(anything except 0) as BIT —> 1, then this could be used to grab a very small subset of users? If their clientIds happen to be clientId%180 == 0

[-] Jimbabwe@lemmy.world 12 points 2 days ago

Hell yeah now Linux and I both will panic in style

[-] Jimbabwe@lemmy.world 2 points 6 days ago

Something that has worked well for me: creating a Charles Schwab account and setting it up to automatically transfer x dollars from my regular checking to their account. Once that was setup, I configured it to automatically buy 0.9x dollars worth of their Schwab index funds every month. It has performed well through thick and thin since I set this all up a few years ago.

The remaining 0.1x I leave in there as a buffer/short term savings. I don’t have a convenient way to access that money (debit card, checking, etc.), so it’s a good rainy day fund that I can transfer to my regular bank account if I need it.

[-] Jimbabwe@lemmy.world 86 points 6 days ago

Then they taxed the churches and I said “Right on. They should have been doing that all along.”

Then they used the tax revenues to fuck the Palestinians more and I said “god fucking dammit!”

[-] Jimbabwe@lemmy.world 128 points 1 week ago

Similar structure, yes, but this is the important part:

Swiss foundations and their board of trustees are legally obligated to act in accordance with the purpose for which they were established

So, just like the Louvre museum in Paris and the Luxor casino in Las Vegas have similar structures, pointing this out doesn’t really contribute much to the discussion.

For all I know, OpenAI’s purpose is to create Skynet and kill all humans. But Proton’s is:

Our legally binding purpose is to further the advancement of privacy, freedom, and democracy around the world.

[-] Jimbabwe@lemmy.world 90 points 2 weeks ago* (last edited 2 weeks ago)

Things we’re never gonna do:

  • give you up
  • let you down
  • run around and desert you
  • make you cry
  • say goodbye
  • tell a lie and hurt you
32

Hello, and thank you in advance.

I'm making a privacy friendly "ring" cam/doorbell following this guide: https://tristam.ie/2023/758/ which has been great, but requires running a micro-usb cable down to the doorbell for power. I'm hoping to improve on this by using the existing doorbell power instead.

The problem is that I'm a DIY electronics noob and I can't create a mental model for how it should all work. The picture I attached is my existing doorbell wiring scheme, which is as simple as it comes. I totally get how this works. Pressing the doorbell completes the circuit and makes the bingbongs. But this will have to change so the new door cam gets power full time. Ideally without the chime bingbonging full time.

In addition to the ESP-32CAM, button, ring lights, etc., I also bought these: https://www.amazon.com/dp/B079FJSYGY which I thought might be needed to complete the circuit?

I measured the voltage after the transformer and it was around 18 volts, but maybe this is AC and I want DC?

Generally I don't know where in "the loop" to put things. Also, all the existing components are very far apart from each other, so I would love a solution that doesn't involve running any new wires through the walls.

Any help is appreciated. Thank you!!

xoJimbabwe

[-] Jimbabwe@lemmy.world 226 points 2 months ago

Born too late to explore the world. Born too soon to explore the stars. Born just in time for Algae 2.0 to drop.

[-] Jimbabwe@lemmy.world 287 points 4 months ago

Nothing’s wrong with dildos, but it has to be pretty embarrassing to show the world that you read books

[-] Jimbabwe@lemmy.world 84 points 7 months ago

“No way to prevent this” says only planet where this regularly happens

[-] Jimbabwe@lemmy.world 178 points 7 months ago

Holy balls, it costs almost as much as Netflix ($204/year) and all it does is spy on you?! I’m not an evil man but these idiots ask for this service. I wish I’d thought of it.

view more: next ›

Jimbabwe

joined 9 months ago