Improve parse_url usage
In some edge cases, I’ve gotten a TypeError in parseUriToComponents()
, when called by the function resolveUrl()
(not the class method of the same name). This happens because parse_url can return false and it’s not checking for that before calling array_key_exists:
array_key_exists(): Argument #2 ($array) must be of type array, bool given
A real-world example is @pmoralesgarcia has domain-relative links like href="/blog/tag:2024/"
which parse_url has trouble with, probably because of the colon. I haven’t researched the best solution, but something like the class method might be enough. It might be worth seeing what sabre-io/uri does. I’ve been using that in some other code and liking it so far.
Yay! Congratulations on taking this brave step! 🏳️🌈
Dang, that looks delicious! 😋
I watched a great video by Lauren Kim titled “I deleted all my social media and made a website” (runtime 26:55).
She broke it into a few chapters. In “Why a website,” I liked the focus on a website as a long-term project. She also emphasized creating things for ourselves/the sake of creativity, not so much for the social validation.
Then there was the website tour itself. It was great to see how excited she was and how much thought she’d put into the whole process. I’m glad to see younger generations making these connections and working on personal websites.
The indieweb kids are alright.
😩 Disappointed but not surprised that the CDC dropped their 5-day isolation guidance for COVID infections. Their decision to reduce it from 10 days to 5 a couple years ago wasn’t based in science and neither is this. Onward marches the destruction of public health for the sake of a temporary buck.
This is my Leap Day post. There are many like it, but— hah, no I can’t finish that.
I did wonder if I had ever posted on Leap Day. Apparently only a few, back in 2016:
- An indieweb-relevant quote from Amanda Palmer
- Finished a re-watch of Battlestar Galactica. Funnily enough, I was recently thinking I should watch that again.
- And an evergreen post about rebooting Square One Television
There’s this ai.txt format. I don’t love another something.txt file, but it is nice that their API respects it, allowing people to opt-out content that may have been trained on previously.
Just saw a bumper sticker: “please let me merge before I cry” 😂
🎵 “Wonderwall” but make it Underoath youtube.com/watch?v=REzZs0t7uDY
I started reading Community care & relationship building combats burnout in political movements. Oof, it’s hitting hard, in a good way.
Strong relationships are the molecules that make up strong communities and strong communities are free. That should be our guiding light. Interdependence. To lay the soil for collective liberation, we need to build liberating relationships today where we enact and practice the values of the world we are building. The more we depend on each other for survival, the less we depend on the state and the more ungovernable we become. This is the fight. In the process of building life-sustaining relationships, we will dismantle systems, not the other way around.
Thanks for the heads up. I think m.b. is dropping my timezone. I filed an issue: https://github.com/microdotblog/issues/issues/254
👋 I’m at gregorlove.com and this reply is also coming from there!
I was quite pleased to learn that a local theater has masks-required matinees! I’m planning to go see Clyde’s at the Moxie Theatre:
COVID-19 Safety Policy
First Sunday Masked Matinee: During the First Sunday Matinee performance of each show masks will be required at all times when indoors. We encourage anyone who is immunocompromised or at high health risk to attend this special performance. See CDPH mask recommendations here.
Masks Encouraged At All Other Performances: For all other performances mask are encouraged but not required. A mask can be provided upon request.
More of this, please! Support the arts and our health.
Sunset at Mission Beach. San Diego is alright.
I published my Health and Safety Guidelines page: https://gregorlove.com/health-safety/
Howdy, neighbor!
Hi Jean! It's nice to be back. I missed the conversation in this good corner of the web.