πŸ€” Hmm, trying to decide whether I'll move logotron to a different instance.

Using toot.lmorchard.com running in my basement, but I think I'm a terrible instance admin since it seems to throw 500 errors at random on media uploads. I guess I could troubleshoot why πŸ˜…

Just finished reading The Long Way to a Small, Angry Planet by Becky Chambers. Felt like bingeing the first season of a really great space opera TV series.

Could almost see the episode boundaries and loved how every character got a spin in the "A plot" before wrapping up the overall season arc

I'm pretty sure the errors have something to do with file permissions on my NAS vs the docker instances in which the Mastodon services are running. I migrated it over from another server a few weeks ago, probably didn't do the best job of it. There's a reason it only has a half-dozen accounts :)

Also, even with a few bits of danger & conflict, the story & general universe in the book was pretty far from grimdark. Not quite hopepunk but definitely a future I'd want to live in. Pretty thirsty for those kinds of stories right now

another hex spiral attempt after restarting the bot

@logotron Try another spin?

to hexspiral :size
make "n 1
make "turns 0
while [:n < :size] [
make "n :n + 1
make "turns turns + 1
if :turns > 5 [
make "turns 0
setpencolor (random 1 15)
]
fd :n rt 60
wait 1
]
end

clearscreen
fullscreen
setpensize 3
hexspiral 500

spiral for longer than necessary

@logotron Maybe fullscreen will work this time?

to hexspiral :size
make "n 1
make "turns 0
while [:n < :size] [
make "n :n + 1
make "turns turns + 1
if :turns > 5 [
make "turns 0
setpencolor (random 1 15)
]
fd :n rt 60
wait 1
]
end

clearscreen
fence
setpensize 2
fullscreen
hexspiral 1000

wait 120
bye

go ahead and spiral out of bounds

@logotron Oh, oops, I wanted wrap not fence

to hexspiral :size
make "n 1
make "turns 0
while [:n < :size] [
make "n :n + 1
make "turns turns + 1
if :turns > 5 [
make "turns 0
setpencolor (random 1 15)
]
fd :n rt 60
wait 1
]
end

clearscreen
wrap
setpensize 2
fullscreen
hexspiral 1000

this is what it looks like when the cyberdeck crashes

@logotron little bit faster spiral now

to hexspiral :size
make "n 1
make "turns 0
while [:n < :size] [
make "n :n + 1
make "turns turns + 1
if :turns > 5 [
make "turns 0
setpencolor (random 1 15)
wait 1
]
fd :n rt 60
]
end

clearscreen
wrap
setpensize 1
fullscreen
hexspiral 2000

@TrechNex@masto.ai This is it, right here.

@logotron I love when I make animations that just flat out baffle video encoders

@mu I'd been kind of sleeping on it, then started reading last night and couldn't stop

The neighbor’s cat appeared meowing at our door. Then, the other neighbor’s cat appeared. They have tried to come in before, but they are not allowed to play with our oranges

We have occasionally fed the smaller white & black cat when the neighbors are away on vacation. The larger black & white cat usually runs from me, though.

I dreamed an X-Files episode. I don’t remember the plot really, but I do remember that Jim Halpert from The Office was there instead of Fox Mulder

@cwebber this is a very particular kind of joy

Someday, I may ask a language model to write an X-Files / The Office cross-over. But today is not that day

Spent part of the weekend trying to get a hall effect current sensor (ACS712) working with an ESP32 running ESPHome to detect the current spike on my old-fashioned 24VAC doorbell wiring so Home Assistant can make my phone go ding when someone pushes the button.

It's almost working, but it's so inaccurate and fussy and needs calibration. Also, I've just kind of slapped parts together from google results, so I don't really know what I'm doing.

I think the main difficulty comes from the AC waveform and the current wobbles between sine wave peaks that the software has to detect via sampling.

It doesn't seem do that very well. I should probably read up to understand the problem better and see if there isn't a more effective circuit to build

My multimeter can detect the current as a reliable change from 0.044A to 0.773A, so I would think that should be pretty easy to detect with the right widgets

The grungy hacker part of me is like, just buy another multimeter and detect the number on the screen with a camera πŸ™ƒ

@waxy Heh, I set up my own telnet BBS for almost this same purpose, but Bert's is so much more friendly!

re: ec, cat

@socketwench what, does she pay in exposure or something

@joshua I got the 5A model, and so far the computing is done via the CT Clamp platform in ESPHome.

I hoped that would "just work" and it sorta does, but this probably tells me I need to actually spelunk further into the code doing the computing.

@joshua Yeah, I don't really know either πŸ˜… I've just slapped parts roughly together and bapped at the keyboard and hoped it would work

@joshua Well, I did flip the raw: true switch, which seems to have at least given me a mysterious ADC value that reacts to the doorbell press - but seem to fluctuate rather wildly and doesn't have a whole lot of relationship to what I found with my multimeter

Oh, and then that's fed into the ct_clamp component, which seems to be what does the sampling.

@joshua Cool, yeah I probably need to drop down to that kind of code level and stop screwing around with ESPHome randomly.

The main benefit of ESPHome is it "just works" with home assistant, but maybe I can at least figure out how to get the readings properly first

@joshua Ah, yup, they have an ESP32 equivalent article, which is where I got the circuit with the voltage divider. I kind of just hoped it would work with ESPHome instead of the included source code in the article. But, I might step back and try that basic step first.

circuitschools.com/measure-ac-

:birdsite:​ :doge:​

USD$44bn for a doge joke. wow such :guillotine:​

re: :birdsite:​ :doge:​

He could have just handed everyone in the US $100 and made folks like him more. Hell, give me $50 and I'd laugh at your terrible jokes

re: :birdsite:​ :doge:​

@dcm Fair enough

re: :birdsite:​ :doge:​

@giflian Well, I mean, I can't imagine he'd know the difference from experience

re: :birdsite:​ :doge:​

@scott Yeah, I figured $100 and he would have even saved a bit

2023/04/04