Show more
kboyd boosted

Do not burn the things down that you disagree with.

Instead life UP the things that you DO agree with. Let others use their voice to lift them up as well so that these things are seen by everyone.

Use your voice for good, not bad.

kboyd boosted

Heh, glitch is fun. I made this little tool pretty quickly.

(Testing out a new Beehive RSS feed ...)

kboyd boosted

Anyone on using League\Container? I find it odd that `->add(MyInterface::class, MyService::class)` doesn't pull the concretion from the container; to get the behaviour I want, I need to use something like `$container->add(MyInterface::class, function () use ($container) { return $container->get(MyService::class); })`.

Anyone else find that odd?

Sometimes "Quality Assurance" means shovelling around inside a puddle to try and unclog a drain.

Someone on IRC helped me yesterday. Apparently when JSON-encoding arrays in PHP, if you need an empty array to be encoded as an empty associative array/hash/dictionary, you can use `(object)[]`.

Ah, I remembered one of the places where XML hurt me.

RSS and Atom feeds.

You've practically gotta fuzz the outputs to make sure things don't get absolutely buggered by unexpected characters. Maybe there's an efficient and reliable way to do it, but I got really sick and tired of random breakages.

Oh, wait, technically the Hives are the integrations and the Bees are the individual configurations you set up. And then Chains are what knits the Bees into workflows. Or something. :)

Show thread

So far it has some good aspects, like a large number of "Bees" (aka Integrations). But I'm not a fan of the configuration file storing passwords in plaintext. And it would be nice if the "chains" (connecting bees together) could be editable via the web. Of course, it's open source, so I could dabble in a bit of Go to contribute improvements.

Show thread

Learning how to configure "Beehive", a self-hosted Zapier/IFTTT style tool. Sorry for the tootflood, I was setting up an RSS-to-Mastodon chain as the first test.

Show more
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.