Pinned post

I’ve been using Mastodon for quite a while now—since , give or take—but have never posted a proper .

So, I’m a thirtysomething mechanical engineer and lousy guitarist. I work in the semiconductor industry, spend most of my spare time developing for the web, and own quite a few affordable (!) electric guitars, a handful of Raspberry Pis, and a couple hacked together MAME—I know—cabinets. Also, happily married, father of two, wannabe investor.

Pinned post

What I’m saying is, interests include , the , , , , and personal finance.

Show thread
Jan Boddez boosted

If something is mostly confusing, you may not need it. Also, lots of “tech bloggers” are so obsessed with trying every latest web technology that they’re constantly breaking their own URLs and feeds.

Show thread

In other words, `span:nth-child(3)` does _not_ simply select the 3rd `span`!

Show thread

In reply to geoffgraham.me/nth-child-count.

I think this is _exactly_ what happens. A `span:nth-child(3)` selector will match only the `span` that is also its parent’s 3rd child. Your `br` isn’t counted as a span, it’s counted as a child element.

> But today I learned that :nth-child() counts all elements[.]

(jan.boddez.net/notes/50d2e92e5)

I know that doesn’t actually help a whole lot, but think about it for a second.

Show thread

Bookmarked indieweb.org/make_what_you_nee.

If you’ve wondered about an “IndieWeb” site but don’t know where to start: _Make what you need._

(jan.boddez.net/notes/6b9448f9a)

Y’all: I’ve now had my Apple M1 computer for, like, three weeks. Time for a review.

Moi: Have had this budget *checks label* Acer Aspire for, uhm, 7+ years. Still works.

Jan Boddez boosted

I sincerely hate how firefox pushes pocket so much. I'd think it would be pretty off putting for most people who are interested in using Firefox.

Bookmarked github.com/WordPress/gutenberg.

Would love to see this fixed, or rather, have the ability to easily extend WordPress’s inline link modal to accept class names. We don’t need “IndieWeb blocks,” after all. HTML classes suffice; the “Post Type Discovery” algo will take it from there.

(jan.boddez.net/notes/d86d135ed)

Bookmarked aaronfrancis.com/2021/efficien.

Bookmarking this, on MySQL querying by physical distance. (My original goal for the geekcompass.com domain was to host a sort of “Tripadvisor for nerds.”)

(jan.boddez.net/notes/9dcc40a8f)

Jan Boddez boosted
gotosocial looks cool, and might be a better fit for me on my tiny VPS. Does anybody know if it's somehow possible for me to change my activitypub backend and keep my followers etc, assuming I'd use the same subdomain? I'd hate to have to start over following ppl

https://github.com/superseriousbusiness/gotosocial
Jan Boddez boosted

I mean, I already use a filter/action hooks package rather than Laravel’s built-in events/model observers. Might as well go all the way.

Show thread

Some these add new columns to existing (entries, feeds) tables, which obviously results in a lot of NULLs. Might not be an issue per se, but I was looking into separate tables + somehow adding the necessary LEFT JOINs in (like, by making all queries filterable or something). Could simply use a Custom Fields/Meta package, too (there’s several for Laravel).

Show thread

Folks have been wanting a way to easily extend these links forever—three years, at least; there’s several GitHub issues—so not gonna get my hopes up. I did, however, just implement a different approach, where I add, e.g., a `u-bookmark-of` class to a _paragraph_ block, and a `the_content` filter then _removes_ that class and adds it to that paragraph’s first _link_ instead. Hacky, but probably more robust than “Edit as HTML.”

Show thread

Turns out Jetpack’s Markdown block doesn’t take raw HTML.

Found some more code examples and am now able to either add a new formatting button that will trigger a completely inaccessible “href” popover but otherwise sorta works, or replace the core link button with something that, uh, will add an `a` tag with a class. But I’m a React noob. Plus, _all_ we need is for core links to accept a class.

Show thread

(Thing is, you can “Edit as HTML,” but switching back to the [visual] link editor will remove your manually added attributes.)

Show thread

I’d much prefer this over a custom block (or some kind of meta box approach), as I want to be able to add such links anywhere in a post’s content.

Show thread
Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!