I'm a postdoctoral researcher working on complex systems and networks, formerly in neuroscience and now on sustainable cities and agriculture.

My projects include mostly graph-related libraries in Python and C++.

You can follow me on the Fediverse:


Last active 1 year, 4 months ago


Last active 1 year, 8 months ago


Last active 3 years ago
View more

Recent activity

Issue with builds a month ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

Hi there, I don't know whether it's an aftermath of the outage, but I 
got an issue from the tests pushing on one of my repos:

     remote: Build started:
     remote: https://builds.sr.ht/~tfardet/job/1131978 [.build.yml]
     remote: Error sending webhook: Post 
"https://sr.ht/webhooks/git-repo/13453": context deadline exceeded 
(Client.Timeout exceeded while awaiting headers)
     To git.sr.ht:~tfardet/OrgMatt
        f7eb778..afeda4b  main -> main

And the build shows "success" but does not seem to be able to fetch the 
logs (Error fetching logs for task "None"): 

Re: Idea: Add link to sr.ht/project on git.sr.ht/project 3 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> It would be easier (especially for new visitors) if there was such a
> link (generated automatically), p.e. as an additional tab next to
> summary, tree, log, and refs. (Or is there a link that I overlooked?)

Agreed, I think this point (and more generally improving srht 
navigation) was already mentioned several times and is in a todo 
somewhere (maybe for the beta?).


Re: Default protection for pages regarding "AI" companies? 6 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> I went ahead and added this to robots.txt, but I'm not making any
> special priority to roll out the change so it'll show up over the next
> few weeks.
> Not going to block any IP ranges, odds are it would result in collateral
> damage.

I understand, thanks!

Default protection for pages regarding "AI" companies? 6 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

I saw on the Fediverse that, following the news of OpenAI providing an 
opt-out tool for robots.txt (not amused), some people have listed a 
bunch of IP ranges associated to their crawlers.


I was wondering whether it would be reasonable for sourcehut to block 
these IP ranges (and potentially those of Google, MS, etc, if they can 
be found).


Re: meta.sr.ht/keys should not expose comment to public 8 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> I do not consider this a flaw, you can remove the comment yourself if
> you so desire and your email address is not considered private on
> SourceHut.

There's one issue I see with the current situation, though: it is not 
obvious that the keys are visible (comments included) as this is written 
on a very small line below the add-key form.

If comments are to be kept (I'm not sure what benefit it brings, 
honestly), then it might be good to add some more visible disclaimer 
that the whole entry will be shown to the public.

Re: Deleting ssh keys 8 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> That was my thinking too. Going there there's a button to add ssh keys, but
> not to delete them. There's a button to add gpg keys, and another one to
> delete them.
> I can't be the only one in that case?

I have a "Delete" button on the right of each SSH key line, same as for 
PGP keys.


Re: [PATCH lists.sr.ht 1/1] Migration to update reject mimetypes 1 year, 3 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-dev

Hi Drew, one test is failing but I don't think this is related to the
changes I made.
Is there anything I should do?


Re: Sourcehut lists as a blogging mailing-list? 1 year, 4 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> HTML emails are now supported but it is opt in for the list admin

There seem to have been a misundeerstanding: html email are not (and
will not be) supported.
I merely added the possibility to "support" mixed html/plaintext emails
in the sense that the html part would be discarded to keep only the
plaintext instead of replying with an error to the sender.
But that still means that only pure text emails are sent in sourcehut
mailing lists.

Also note that, though the code has been added, the database migration
still needs to be done to make this possible in existing mailing lists.
Once migration is done (hopefully I'll send the patch during the
week-end), allowing mixed html/plaintext email will become possible

Re: Support for html/txt emails in todo and lists 1 year, 4 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> Just grep for the whitelist in lists.sr.ht

Found it, thanks!

Re: Support for html/txt emails in todo and lists 1 year, 4 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> Regarding the comments in that ticket, I am willing to consider a patch
> which loosens up the content type filter such that list admins can
> opt-in to allowing HTML email -- IF it has a plaintext part as well and
> NOT by default.

Yes, that's exactly the type of patch I meant.
Could you point me out to the part of the code I should be looking at,
to see whether I have a chance of making this happen?