~mariusor

https://metalhead.club/@mariusor

Mostly a programmer.

~mariusor/go-activitypub-discuss

Last active a day ago

~mariusor/go-activitypub-dev

Last active 4 days ago

~mariusor/mpris-tools

Last active 3 months ago
View more

Recent activity

FEP-6606: ActivityPub client to server collections addressing improvements a day ago

From Marius Orcsik to ~mariusor/go-activitypub-discuss

Announcing the submission of one of my oldest fediverse enhancement
proposals to the Codeberg FEP official repository[1].

As mentioned the services making use of the GoActivityPub library
already support this FEP. Here are some examples:

 * User discovery based on preferredUsername in the /actors collection:

https://federated.id/actors?maxItems=100&name=marius

 * User discovery based on preferredUsername as /inbox Create object:

https://federated.id/inbox?maxItems=100&type=Create&object.name=marius

Re: Run build only on push to certain branch 2 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-09-26 10:48, Genevieve Clifford wrote:
> Is there a way of specifying in the YAML build specification that
> builds should only run on pushes to certain branches?

I think the assumption is that you can exit early from a task, or 
execute complete-build to stop all tasks, if your branch doesn't match 
the one that you want.

Cheers,
/Marius

Re: storage-sqlite: Provide access to underlying db connection 2 months ago

From Marius Orcsik to ~mariusor/go-activitypub-discuss

On 24-09-14 21:50:12, Dan Jones wrote:
> Hi,
> 
> I'm just getting started with go-ap, building a new type of single-user
> instance, which uses sqlite as the db.

Hello Dan I'm glad to hear that. :)

> I'm wondering if you could add a method to the repository to get the
> underlying database connection.
> 
> This would make it easier to integrate with an application that needs to
> store more data in the database.

Re: Unable to receive emails from my own lists 6 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-04-29 14:11, Conrad Hoffmann wrote:
> As such, my guess would be there must be something on your (or rather, 
> their)
> side, maybe something that trips the spam filter or such?
> 

Hey Conrad, I contacted purelymail support and the reason they have 
given me
for the failures to deliver are DKIM validation issues of the messages.

This is a direct quote from their reply:

> I think this might be SourceHut's fault. If their export thread (mbox) 
> button

Re: Unable to receive emails from my own lists 7 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-05-02 08:06, Conrad Hoffmann wrote:
> Hope that helps,
> Conrad

Thank you, I'll take this to the Purelymail support.

Cheers,
/Marius

Re: Unable to receive emails from my own lists 7 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 24-04-29 16:11:22, Conrad Hoffmann wrote:
> As such, my guess would be there must be something on your (or rather,
> their) side, maybe something that trips the spam filter or such?

Hi Conrad, thank you for looking into this.

I think the mpris-tools list works now, I had a couple of emails from
github that have reached me.

However another one(~mariusor/go-activitypub-dev) does not. I just
submitted a commit on one of the projects attached to it, github sent an
email to the list, it can be seen in the web interface[1] but nothing
reached my inbox.

Re: Unable to receive emails from my own lists 7 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 24-04-28 08:58:53, Ren Kararou wrote:
> Hi Marius.
> 
> sourcehut lists won't send mails to the author of the post.  I'm going
> to go out on a limb and assume that the last mail you got from the list
> was 7 months ago, because that was the last time that someone other than
> yourself mailed in a post.
Hi Ren, that might be a good clue, but the emails coming from Github
do not come from any addresses that are associated with my account on
SourceHut:

> From: Marius Orcsik <noreply@github.com>
> To: ~mariusor/mpris-tools@lists.sr.ht

Unable to receive emails from my own lists 7 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

Hello,

I am nost sure if this mailing list is the right place to complain, but
for about a month I haven't been receiving any emails that were sent to
the mailing lists **I created**.

Most of the traffic there is based on commits from github, but nothing
reaches my inbox.

I receive emails from other mailing lists that I'm subscribed to, so I'm
not certain if the issue is on my side (I use purelymail with my own
domain) or on SourceHut's side.

An example of such aa list is https://lists.sr.ht/~mariusor/mpris-tools

Re: Mismatch between gpg email address and origin address 7 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 24-04-15 23:24:55, Christian Thackston wrote:
> Hello,
> 
> I couldn't help but notice the fact that when using a gpg key for encryption
> for emails there seems to be a mismatch between the addresses in the key and
> the origin address.

That's not a missmatch, the same key has multiple email identities
attached to it:

(1)	sr.ht packages <admin@sr.ht>
	 2048 bit RSA key 0x74B4BCCEA60D0437, created: 2017-04-19
(2)	sr.ht dispatch (Address for automated emails from dispatch.sr.ht) <dis
	sr.ht meta (Address for automated emails from meta.sr.ht) <meta@sr.ht>

Re: Extra quotes around activitypub.Content 11 months ago

From Marius Orcsik to ~mariusor/go-activitypub-discuss

On 23-12-14 14:07:23, Anders Pitman wrote:
> Is there a way to avoid those quotes? I can't just trim them at print time because I'm passing the entire object into a mustache template for rendering (don't worry I will be sure to sanitize any user input).

Hey Anders, thank you for your interest in GoActivitypub, it's great to
see some other people trying to build fediverse things with Go.

And to answer your question, yes there is a way. :)

The type that Value is based on is a []byte and it has some
functionality[1] (meant for debugging output mostly) that triggers the
behaviour you're experiencing.

To prevent this issue, I think calling .String() on the value should be
enough[2]. So your example would become from: