~lioploum

Belgium

https://ploum.net

Write books in French, a blog on https://ploum.net and a gemlog on gemini://ploum.net

~lioploum/offpunk-users

Last active a day ago

~lioploum/offpunk-devel

Last active 2 days ago

~lioploum/fr

Last active 4 days ago

~lioploum/offpunk-packagers

Last active 15 days ago

~lioploum/forevercomputer

Last active a month ago

~lioploum/en

Last active a month ago

~lioploum/ploum.net-devel

Last active 8 months ago
View more

Recent activity

Re: subscribe-like for edited pages ? a day ago

From Ploum to ~lioploum/offpunk-users

Le 24 déc 04 11:01, Matthieu Rakotojaona a écrit :
>On Tue Dec 3, 2024 at 7:51 PM CET, Ploum wrote:
>>
>> There’s no parsing of the content of pages in Offpunk. But there’s a way
>> to do what you want (and I’m doing it every day).
>>
>> Create a list "decemberadventure":  list create decemberadventure
>>
>> Add the capsules/pages you want to follow in it.
>>
>> Now, every day after the sync, you can do:
>>
>> "tour decemberadventure"  (use the autocompletion)
>>

Contributing your Offpunk’s workflow 2 days ago

From Ploum to ~lioploum/offpunk-devel

Hi everyone,

On the offpunk.net, I’ve written about my workflow (how I use Offpunk):
https://offpunk.net/workflow_ploum.html

I would gladly welcome other workflows. So if you have time and are 
willing to contribute, don’t hesitate to send me a patch (files are in 
the /tutorial folder)

I’m curious to discover how others are usirng Offunk

-- 
Ploum - Lionel Dricot

Re: subscribe-like for edited pages ? 2 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 déc 03 07:40, Matthieu Rakotojaona a écrit :
>Hey there,
>
>Right now is #DecemberAdventure, a sort of counter-event to the
>performance-inducing, competition-oriented #AdventOfCode. Here are some details:
>
>https://eli.li/december-adventure-2
>
>Basically, you just write a few lines of code for pleasure, for exploring
>something new, for fun. Something you'd do the rest of the year, but dedicate
>some time now. No pressure, no objective, no goal, just curiosity.
>
>I'd like to see the updates made by participants on their page. However they
>all add new content to the existing page rather than creating a new page for

Re: online lists 4 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 déc 02 10:52, Dylan D'Silva a écrit :
>>
>> This has the drawback that a link into a frozen list will be downloaded
>> if there’s no cache. But I never considered that it would be possible to
>> have list of pages without any cache.
>>
>> Also, this happens only once, so it should not be a big deal.
>>
>> Could you explain more of your usecase ? How do you have a list of pages
>> without cache ? Why is it a big deal if a cache is downloaded the first
>> time ?
>Sure, I probably didn't explain it very well.
>
>I have bookmarks, these are like any other browser bookmarks. They are

Changing frozen lists behaviour 4 days ago

From Ploum to ~lioploum/offpunk-devel

Hi everyone,

On -users, we had a discussion with Dylan D’Silva about frozen lists.

Problem is: currently, there’s no way to have lists that are trully 
ignored.

Frozen lists may look like the answers but items in frozen lists are 
still cached if no cache is present. More: children of items in frozen 
lists are downloaded.

The rationale was to ensure that you have all the content to work 
offline with items in your frozen list, even if those items are now long 
gone.

Re: online lists 4 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 déc 02 10:52, Dylan D'Silva a écrit :
>On Mon Dec 2, 2024 at 10:26 AM AEDT, Ploum wrote:
>> Le 24 déc 02 09:46, Dylan D'Silva a écrit :
>> Also, this happens only once, so it should not be a big deal.
>>
>> Could you explain more of your usecase ? How do you have a list of pages
>> without cache ? Why is it a big deal if a cache is downloaded the first
>> time ?
>Sure, I probably didn't explain it very well.
>
>I have bookmarks, these are like any other browser bookmarks. They are
>sites of interest or, useful sites that i browse every now and again,
>but don't save addresses to brain memory. Take one example, DiscoGem
>(Gemini). It has a Capsule of the day. The front page has a long list of

Re: online lists 4 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 déc 02 09:46, Dylan D'Silva a écrit :
>Hello all,
>
>I'm starting to use offpunk in offline mode, and I have my subscribed,
>news lists, rss, frozen lists etc. All is working nice.
>
>However, I have a number of bookmarked sites that are just big lists of
>gopher and gemini pages, or search engines, or links to forums like
>hacker news etc. I don't want to a cache to made, i'm happy to only view
>these via online mode. Is there a way to tell offpunk not to create
>a cache of a list? I know frozen tells it not to update a list but it
>still creates a cache on first run.

Hi Dylan,

Re: Idea for touring 6 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 nov 29 09:45, Matthieu Rakotojaona a écrit :
>On Fri Nov 29, 2024 at 9:08 AM CET, Ploum wrote:
>
>> [I] think it would be better server on an exeternal ressource.
>
>Yeah, since the tour list is just a file with links, you can create a random.sh
>script that will fetch the random links and write the tour file

That’s a very good idea! 

And I will go further: thanks to the newly implemented "alias", you can 
integrate it your offpunk:

alias random !~/myscripts/random.sh

Re: grep: unknown option -- color=auto 6 days ago

From Ploum to ~lioploum/offpunk-devel

Le 24 nov 28 10:06, Dylan D'Silva a écrit :
>Hey Ploum,
>
>How about using subprocess?
>
>import subprocess
>
>results = subprocess.run(["grep", "--color=auto"], check=True)
>
>if results == 0

Should be fixed in the Trunk.

(it was a bit harder than that because, to avoid failing, grep need both

Re: Idea for touring 7 days ago

From Ploum to ~lioploum/offpunk-users

Le 24 nov 29 03:20, Dylan D'Silva a écrit :
>Hello all,
>
>I was looking at easy ways to browse random gemini or gopher links.
>There are a number of sites like fumble around, discogem and the like.
>Then I found this post:
>
>http://gem.librehacker.com/gemlog/starlog/20240322-0.gmi
>The user is pulling in capsules from kennedy, randomising the list and browsing the top 10 or
>50 etc.
>Could something like this be done better with offpunk and tours?
>
>My thought was have a function called random. You enter like random 10,
>random 50 etc and it pulls data from kennedy or lupa for gemini and  other sites for gopher. Puts