~sotirisp

Athens, GR

https://sotiris.papatheodorou.xyz

PhD student at the Smart Robotics Lab in Imperial College London.

~sotirisp/today

Last active 3 months ago

~sotirisp/go-netcache-discuss

Last active 1 year, 5 months ago

~sotirisp/go-netcache-devel

Last active 1 year, 5 months ago

~sotirisp/go-netcache-announce

Last active 1 year, 5 months ago

~sotirisp/public-inbox

Last active 2 years ago

~sotirisp/kindleto-discuss

Last active 2 years ago

~sotirisp/kindleto-devel

Last active 2 years ago

~sotirisp/kindleto-announce

Last active 2 years ago
View more

Recent activity

[PATCH sourcehut.org] Update Gemini protocol website URL a day ago

From Sotiris Papatheodorou to ~sircmpwn/sr.ht-dev

---
 content/foss-contributions.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/foss-contributions.md b/content/foss-contributions.md
index 21646ff..f2268cc 100644
--- a/content/foss-contributions.md
+++ b/content/foss-contributions.md
@@ -139,7 +139,7 @@ major contributions from SourceHut staff:
* [9front](http://9front.org/): Fork of the Plan 9 operating system
* [Alpine Linux](https://alpinelinux.org/): A security-oriented, lightweight Linux distribution
* [Cage](https://github.com/cage-kiosk/cage): Kiosk-mode Wayland compositor
* [Gemini](https://gemini.circumlunar.space/): The small internet protocol
* [Gemini](https://geminiprotocol.net/): The small internet protocol
[message trimmed]

Re: [PATCH] Added TODAY_TEMPLATE 3 months ago

From Sotiris Papatheodorou to ~sotirisp/today

Hi Tobias,

On 2024-07-08, Tobias Schmidl wrote:
> Are there somewhere some more examples like this?

I have placed the template script into contrib/today-scripts/. It's 
currently the only one but if you create any relevant scripts feel free 
to send a patch.

All the best,
Sotiris

Re: [PATCH] Added TODAY_TEMPLATE 4 months ago

From Sotiris Papatheodorou to ~sotirisp/today

Thank you for the patch Tobias! However, I'd rather not add a feature 
that can be achieved using existing functionality. The same thing could 
be accomplished using the $TODAY_CMD environment variable and a wrapper 
script. Here's an example:

	#!/bin/sh
	# today-template-wrapper
	# Usage: today-template-wrapper $TODAY_FILE
	template_file=~/.config/today.template
	# Use the template if the journal doesn't exist or is empty.
	if [ ! -f "$1" ] || [ ! -s "$1" ]
	then
		cp "$template_file" "$1"
	fi

Re: Discussion about removing dependency on python-pillow 4 months ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

On 2024-06-30, Klaus Alexander Seistrup wrote:
>Depending on which answers we get on the list, I'd say:
>
>1. Progessive: Add warnings now that support for PIL will be removed in 
>offpunk 2.4, then
>2. Go radical: Remove support for PIL and remove support for old chafas 
>and timgs from offpunk 2.4.

Agreed, with a preference towards option 1, adding a deprecation 
warning. Maybe support for PIL should be removed in version 2.5, since 
some distributions may only package released versions. In that case, 
their users might not ever see the deprecation warning if it's 
introduced only between 2.3 and 2.4.

Re: Moving cached certificates from .local/share to .cache 4 months ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

Hi,

I would argue that both client and server certificates are important to 
back up. The server certificates are used for Gemini's TOFU scheme if I 
understand correctly. In that case they are necessary for avoiding 
person-in-the-middle attacks and so I don't think they should be cleared 
together with the cache. SSH works similarly, by placing the known hosts 
file inside its configuration directory.

Sotiris

Re: Triming the cache 5 months ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

On 2024-06-09, Ploum wrote:
>Offering a way to trim the cache based on "last-seen but not in any
>list" seems the best and more intuitive way to go forward.
>
>But it doesn’t help much your own usecase and, TBH, I’m not sure how it
>could be helped. I need to think a bit about the problem.

I imagine the cache trimming would be something initiated manually by 
the user, in which case I could just ignore it and use a different 
trimming strategy.

There's quite a few parameters the cache trimming can be based on:

* File age.

Re: Triming the cache 5 months ago

From Sotiris Papatheodorou to ~lioploum/offpunk-devel

I'm currently synchronizing my offpunk cache between computers using the 
following setup:

* The ~/Sync/Netcache directory is synchronized between computers using 
   Syncthing.
* ~/.cache/offpunk/gemini is a symbolic link to ~/Sync/Netcache/gemini. 
   Same for the gopher and finger caches. The gemini/gopher/finger caches 
   are small enough that I don't mind synchronizing everything. I remove 
   some large binary files occasionally.
* The ~/.cache/offpunk/https directory contains symbolic links only for 
   the domains I want to synchronize. For example 
   ~/.cache/offpunk/https/www.rfc-editor.org is a symbolic link to 
   ~/Sync/Netcache/https/www.rfc-editor.org. Similarly for the http 
   cache. This way I only synchronize what I need from the larger

Re: [PATCH today v2] Add TODAY_OPEN variable for decryption 6 months ago

From Sotiris Papatheodorou to ~sotirisp/today

Thanks! Expanded the documentation a bit and pushed.

Can you post the TODAY_CMD you're using for encrypted files please? I 
want to add a section about encrypted journal files in the manpage.

Sotiris

On 2024-05-08, Ángel Castañeda wrote:
>---
>v1 -> v2: s/TODAY_CAT/TODAY_OPEN/
>
> doc/today.1.scd | 6 +++++-
> today           | 2 +-
> 2 files changed, 6 insertions(+), 2 deletions(-)

Re: [PATCH today] Add TODAY_CAT variable for decryption 6 months ago

From Sotiris Papatheodorou to ~sotirisp/today

Thanks for the patch Ángel!

May I suggest renaming the environment variable to TODAY_OPEN to make 
the name similar to the LESSOPEN variable used for the less 
preprocessor. Looks good otherwise.

Sotiris

On 2024-05-08, Ángel Castañeda wrote:
>---
>all the other variables let you have an encrypted diary, but I had to
>manually change the `cat` to `gpg -dq` to have `today log` work.
> doc/today.1.scd | 6 +++++-
> today           | 2 +-

[pages.sr.ht] Gemini URLs to directories missing trailing slash 8 months ago

From Sotiris Papatheodorou to ~sircmpwn/sr.ht-discuss

It seems that when a Gemini URL without a trailing slash but 
corresponding to a directory is requested it's not redirected to the 
same URL with a trailing slash. For example 
gemini://sotiris.papatheodorou.xyz/gemlog isn't redirected to 
gemini://sotiris.papatheodorou.xyz/gemlog/ as expected.

This behavior breaks relative links in the response since they're rooted 
on gemini://sotiris.papatheodorou.xyz/ instead of on 
gemini://sotiris.papatheodorou.xyz/gemlog/.

I've got a patch that might fix this issue (pasted below) but no easy 
way to test it. I have managed to package the patched version (by 
modifying a manifest from some build on lists.sr.ht) but I'm not sure 
how to test that the issue is fixed.
[message trimmed]