@rimu@mastodon.nzoss.nz
@rimu@mastodon.nzoss.nz avatar

rimu

@rimu@mastodon.nzoss.nz

web dev. php, #python, #flask
greenie
lefty

Developer of PieFed - a federated forum, similar to Lemmy but written in Python - https://piefed.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

norightturnnz, to random
@norightturnnz@mastodon.social avatar

On NRT: Climate Change: The question we need to be asking - http://norightturn.blogspot.com/2024/05/climate-change-question-we-need-to-be.html

rimu,
@rimu@mastodon.nzoss.nz avatar

@norightturnnz They dont plan to do it.

julian, to random
@julian@community.nodebb.org avatar

My post from a couple weeks back indicated that NodeBB started following part of FEP-7888: Demystifying the context property.

Our implementation is an endorsement of @trwnh's proposal that the context property be given additional formalization.

During the last ForumWG call, they intentionally (or perhaps unintentionally) summarized their desire that implementors should "just use collections", and that that would be a good starting point for future iteration.

With the current state of context being "there is no coordinated usage of context", this topic aims to provide a snapshot of implementors' use of that property (or lack thereof), and to stimulate further discussion on potential use cases.

Note that this is not the first time the question has been raised. trwnh's discussion topic contained one such summary of current implementations.

As per that topic:

  • Mastodon — does not use context, but provides an ostatus:conversation property
  • Pleroma/Akkoma — uses context, but the url provided is unresolvable, likely used similarly to Mastodon
  • Streams (@mikedev) — uses context, resolves to an OrderedCollection containing all activities encontered (Creates, Updates, etc.)

My hope is that a provided context resolving to a Collection (or subtype thereof) would allow for proactive topic backfill, instead of relying on reply chain traversal, which while workable, has some rather specific downsides.

As mentioned per the above linked announcement that NodeBB was following FEP-7888:

  • We attach context to all Note objects (NodeBB posts), and it resolves to an OrderedCollection that contains the uris to the other objects in the context (the NodeBB topic).
rimu,
@rimu@mastodon.nzoss.nz avatar

@julian @mariusor @mikedev @trwnh At first I thought you were talking about the "@context", used for JSON-LD...

foxylad, to random
@foxylad@mastodon.nz avatar
rimu,
@rimu@mastodon.nzoss.nz avatar

@foxylad Cool!!

markwyner, (edited ) to music
@markwyner@mas.to avatar

This is Maggie Bocanegra. She’s an electric drummer from Mexico. Her playing is fire and her setup is super cool.

This song in particular is unreal. I love it so much. I’ve searched and can’t find out what it is. I’ve even tried Shazam.

Does anyone know what this song is?

Source:
https://www.instagram.com/maggie_bocanegra_tarolas

#Music #Drums #Drummer #Mexico #Latin #Mexican #Percussion #Tarolas

rimu,
@rimu@mastodon.nzoss.nz avatar

@markwyner Not one, not two, but THREE COWBELLS!

She does not need more cowbell.

silverpill, to article_interop
@silverpill@mitra.social avatar

Article Interop WG: How to represent titles?

Should title be inserted into Article.content as an <h1> tag, or should it go to Article.name?

@article_interop

rimu, (edited )
@rimu@mastodon.nzoss.nz avatar

@django @silverpill @article_interop Lemmy uses 'name' on a Page (not Article).

If you get the URL of any Lemmy post and do a GET with the Accept header set to "application/activity+json" you'll see everything.

mhoye, to random
@mhoye@mastodon.social avatar

Is there any wiki software out there that integrates well with activitypub? Plenty have RSS...

rimu,
@rimu@mastodon.nzoss.nz avatar
julian, to random
@julian@community.nodebb.org avatar

An update from last night brings some additional logic to the title generation of topics from the fediverse.

Previously if a title was provided in the name property, that was used as the topic title.

While that hasn't changed (and is the strongest signal for a topic title), not all fediverse content contains titles. Specifically, Mastodon posts do not require or even have a space to put a title in.

For those cases, we fall back to generating one based on the content. We literally grabbed the first 128 characters or so, and added an ellipsis to the end.

While that worked okay as a stopgap, it meant that a lot of topics ended up with really long titles — not ideal.

The new logic tries to grab the first line of text (either the first <p> or line), and from there, the first sentence, using some naive regular expressions.

While still not a proper alternative to... you know... specifying a title, it's better than nothing I suppose!

I wonder if other fediverse softwares implement title generation logic like this...

rimu,
@rimu@mastodon.nzoss.nz avatar

@julian PieFed uses the first 150 chars (adjusted for word boundaries) of the first <p>.

I like your method of stopping at the first '.', that would yield better results more often.

rimu,
@rimu@mastodon.nzoss.nz avatar

@julian Ooo good point about adding the ? back on.

If you're interested in a non-regex solution, here's what I have - https://codeberg.org/rimu/pyfedi/src/branch/main/app/utils.py#L247

grimalkina, to random
@grimalkina@mastodon.social avatar

I want to see absolutely no sensible and practical advice here. What programming language should I start vaguely and in a chill way teaching myself if I just want to experience something fun or elegant or interesting in and of itself, assuming I have no goal for using it to do anything really (outside of learning)

rimu,
@rimu@mastodon.nzoss.nz avatar

@grimalkina A lot of games embed Lua. I'm sure there are some fun environments mess around in with that.

rimu, to Pixelfed
@rimu@mastodon.nzoss.nz avatar

and are the only platforms with a print stylesheet.

Gotta do the basics right.

julian, to random
@julian@community.nodebb.org avatar

To refresh your memory, you can read the minutes of last week's meeting.

Please see @angus's note below regarding agenda preparation for the May WG meeting

Follow up

  1. The Social Web Community Group approved our application to turn this into a Task Force.
  2. Async work will happen across any federated platform followed by either (or both) of these categories

Next Meeting
We're going to have our next meeting in the first week of May.

Time
Please vote in our meeting poll. Whatever time we decide for this one, we'll aim to keep as our regular monthly slot.

Agenda
Please see this google doc. Everyone has comment permission. Julian will incorporate comments into the agenda.

Looking forward to seeing you at the next meeting!

My apologies for the delay. Angus and I have been working these past few weeks to hammer out some federation issues between our respective forum categories (the ones mentioned above re: async work.)

rimu,
@rimu@mastodon.nzoss.nz avatar

@julian Sure, yeah.

It's not really a question or an answer, just a space for sharing experiences and knowledge.

Groups in Mastodon and how/whether they work is pretty important to me as PieFed uses the Group actor type also.

julian, to random
@julian@community.nodebb.org avatar

Prior our last task force meeting, @rimu brought up the need for a common nomenclature for ease of communication between ActivityPub implementors. Rimu also took the initiative to conduct an informal survey to see what terminology was used across fediverse-capable software (and some non-federating software).

Going beyond "toots" vs "posts", it was noted (not surprisingly) that each software has their own name for things.

  • The most common object type passed around via the ActivityPub protocol (as:Note) could be called a comment, a post, or a reply
  • A grouping of as:Notes could be a post (!!), a topic, a thread, a conversation, or a discussion
  • A higher order grouping of those could be a community, a category, a forum, a (sub)tag, a group, or a magazine

The main takeaways were that while there was occasional convergence, it wasn't entirely surprising that there were more names for things than things to name. Secondly, it was fairly clear that putting forth a recommendation to align on nomenclature would be fairly futile.

What were we expecting... naming things is, after all, one of the hard problems in computing.

All joking aside, up with a common terminology — a lingua franca (thanks @AaronNGray!) — definitely has some advantages.

What terms do you think communicate these levels of organization most succinctly? Let us know!

rimu,
@rimu@mastodon.nzoss.nz avatar

@jupiter_rowland @mikedev @mario

"If you really aim to create a common language for the whole Fediverse and make it pretty much mandatory"

No no, that's not the intent :)

It's great if we use different words as long as we all understand the meaning behind them. Ideally when a NodeBB dev says "Post" they mean X and when I see them say "Post" i know they mean X (which I as a PieFed dev refer to as "Comment" or whatever).

Attached is the current state of the spreadsheet, FYI.

rimu,
@rimu@mastodon.nzoss.nz avatar

@jupiter_rowland @mikedev @mario You can see the spreadsheet just documents the words we use it makes no attempt to prescribe a particular word.

rimu, to retrocomputing
@rimu@mastodon.nzoss.nz avatar

Absolutely loving the "Hercules 1982" theme for .

Hercules was the brand of graphics card for the IBM PC that was widely used in the 1980s.

It could do two colours - black and whatever colour the monitor was. For my first year I had a green monitor and then an amber one for the next two years.

You can try it by choosing the theme at https://piefed.social/user/settings

A screenshot of PieFed. All the text is monospaced with an green colour on a near-black background.

adele, to random
@adele@phpc.social avatar

Do you remember, several decades ago, when icons, buttons, logos, smileys.. were all stored in a unique gif or png image on your website ?
This image was cut by background-image css rules to extract elements from it with position, height, width and shifting. So, there were only one request to the server to grab all the design elements.
That was funny and tricky to do.
I wonder if some sites still works that way 🤔

rimu,
@rimu@mastodon.nzoss.nz avatar

@adele old.reddit.com does :)

rimu, to CSS
@rimu@mastodon.nzoss.nz avatar

For the #TransDayOfVisibility, I've made a theme based on the trans pride flag and set it as the default theme on #PieFed.

https://piefed.social/post/76469

#css

TodePond, to random
@TodePond@mas.to avatar

ARE THERE ANY FILE TRANSFER PROTOCOL web hostings anymore?

i want to drop HTML files on a BOX and let people DOWNLOAD the html files

please send recommendations

rimu,
@rimu@mastodon.nzoss.nz avatar

@TodePond

I've been using Greengeeks for 15 years, they've been great!

https://www.greengeeks.com/track/rimuatkinson

phil_stevens, to random
@phil_stevens@mastodon.nz avatar

Vale, Rod Oram. You will be missed by many, and our gratitude for what you did is beyond measure.

https://newsroom.co.nz/2024/03/20/prominent-columnist-and-environmentalist-rod-oram-dies/

rimu,
@rimu@mastodon.nzoss.nz avatar

@phil_stevens Too often he was the only one saying anything sensible. Gutted.

rimu, to lemmy
@rimu@mastodon.nzoss.nz avatar

Not sure if you noticed but half the is memes. They're not my thing but I enjoyed putting together the best meme consumption experience I could.

Check it out in this video https://www.youtube.com/watch?v=IXVhb4sVZV4 or go to https://piefed.social/topic/chilling/memes?layout=masonry_wide&sort=hot to use it yourself. Click/tap on any image for a full screen lightbox-style image gallery that you can move through by swiping or using the arrow keys.

Can you think of any improvements?

rimu,
@rimu@mastodon.nzoss.nz avatar

@slumberingcat Yes, great graphic there. N Masonry is what PieFed has because it's very quick and easy to code - but it is the worst for the user.

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

“Just have a glass hammer ready”
These don’t work with laminated security glass found in many cars now.

“Just read the manual”
Let’s see if you do when you’re sitting in the dark in ice-cold water and you’re about to drown.

“Just don’t put the car in reverse”
Tesla S chooses gear by itself.

You know what hat we should “just” do?
Just regulate the fucking tech bro car industry to not ship death traps.

rimu,
@rimu@mastodon.nzoss.nz avatar

@thomasfuchs The unbreakable glass was a major selling point...

https://www.drive.com.au/news/tesla-patents-unbreakable-armour-glass/

rimu, to fediverse
@rimu@mastodon.nzoss.nz avatar
rimu, to PostgreSQL
@rimu@mastodon.nzoss.nz avatar

Added full-text search to today.

After reading a massive tome about earlier this week I realised it was complete overkill and just used the full-text capabilities of instead.

Currently PieFed has 46,000 posts and results are fast. It'll be interesting to see how well it copes when there are more posts. Anyone want to make a guess when it'll bog down?

https://piefed.social/post/48889

rimu,
@rimu@mastodon.nzoss.nz avatar

@kopper Sonic looks amazing, thanks!

rimu,
@rimu@mastodon.nzoss.nz avatar

@sanityinc I think there's GIN involved - the module I'm using mentions them in the code... Line 239 https://github.com/falcony-io/sqlalchemy-searchable/blob/master/sqlalchemy_searchable/

Edent, to fediverse
@Edent@mastodon.social avatar

🆕 blog! “ActivityPub Server in a Single PHP File”

Any computer program can be designed to run from a single file if you architect it wrong enough! I wanted to create the simplest possible Fediverse server which can be used as an educational tool to show how ActivityPub / Mastodon works. The design goals were: Upload a single PHP file to the server. No […]

👀 Read more: https://shkspr.mobi/blog/2024/02/activitypub-server-in-a-single-file/

#ActivityPub #mastodon #php

rimu,
@rimu@mastodon.nzoss.nz avatar

@Edent I enjoyed the little jokes in the comments :)

Looks like you've got the hang of it. It's all just learning the quirks of different implementations, now!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • cubers
  • thenastyranch
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • Durango
  • ngwrru68w68
  • khanakhh
  • kavyap
  • everett
  • DreamBathrooms
  • anitta
  • magazineikmin
  • cisconetworking
  • GTA5RPClips
  • osvaldo12
  • tacticalgear
  • ethstaker
  • modclub
  • tester
  • Leos
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines