Live data from Hacker News

Offpunk 3.0

ploum.net

11–20 of 39 posts

Re: Offpunk 3.0

#11
post #2

> Something wonderful happened on the road leading to 3.0: Offpunk became a true cooperative effort. Offpunk 3.0 is probably the first release that contains code I didn’t review line-by-line. I felt true dread reading a sentence like this. I had to reread to make sure the author means there are other trusted contributors now. As it is often the case these days, some projects are quite proud of announcing that no huma…

OP here: Didn’t even come to my mind while writing this. This would be totally against the philosophy of the projects.

Don’t worry: I wanted to celebrate humans cooperating over good old emails to write code in their editor without any help ;-)

Re: Offpunk 3.0

#12
post #11
post #2

> Something wonderful happened on the road leading to 3.0: Offpunk became a true cooperative effort. Offpunk 3.0 is probably the first release that contains code I didn’t review line-by-line. I felt true dread reading a sentence like this. I had to reread to make sure the author means there are other trusted contributors now. As it is often the case these days, some projects are quite proud of announcing that no huma…

OP here: Didn’t even come to my mind while writing this. This would be totally against the philosophy of the projects. Don’t worry: I wanted to celebrate humans cooperating over good old emails to write code in their editor without any help ;-)

Thank you for confirming, and congrats for shipping!

Re: Offpunk 3.0

#13
I didn't really get what "a command-line Web, Gemini, and Gopher browser that allows you to work offline" meant, like how is it offline? So I think this is the bit of info I was missing:

Every content you visit is cached and can be visited later while offline. If you try to visit a content not available in your cache, it will be marked to be downloaded later. Offpunk allows you to synchronise you computer once every hour, day or week and work offline without being interrupted.

(from: https://offpunk.net/whatisoffpunk.html)

So its kindof designed to be offline with occasional sync. Interesting.

Re: Offpunk 3.0

#14
post #4

I wonder when contemporary developers will (re)invent Emacs/Gnus: the unified inbox for email, feeds, and news, because what really matters are text messages + eventual multimedia content, personal and private scoring to manage them, and a consistent local UI that allows for personal archiving and resharing. I've looked at the Fediverse, objectively with little hope and many design issues, I'm watching Nostr with int…

OP here and Vim/UNIX fan.

I get the idea behind "reinventing Emacs".

But there are main differences:

- offpunk is an offline content browser/reader. Main component is fetching/caching/displaying ressources

- offpunk is developed as a set of components that can be used separately (openk, ansicat, netcache)

- offpunk delegates as much as possible to other UNIX tools (less for browsing/reading, chafa for images, grep to find in a page, $EDITOR for editing needs )

- offpunk is pure CLI tool. You type commands, results is displayed in your terminal or in less. There’s no "keyboard shortcuts" or "environment". It is a prompt on which you type commands

- There’s no "configuration" in offpunk. The only (but powerful) way on configuring is having offpunk launch commands at starts (commands listed in offpunkrc). So no "configuration language" or syntax or plugins or whatever.

- last but not least: basic use of Offpunk is simple. You are not required to learn much and you use only what you want. Lot of Offpunks users don’t use the Web/HTTP part and use it as a straight Gemini browser (for the record, Offpunk is a fork of AV-98, the very first Gemini browser)

Re: Offpunk 3.0

#15
post #4

I wonder when contemporary developers will (re)invent Emacs/Gnus: the unified inbox for email, feeds, and news, because what really matters are text messages + eventual multimedia content, personal and private scoring to manage them, and a consistent local UI that allows for personal archiving and resharing. I've looked at the Fediverse, objectively with little hope and many design issues, I'm watching Nostr with int…

As a long time Emacs user, I never even tried Gnus, or used it as a calendar (except for some time tracking in org-mode). How would calendar invites work there? How well does it support shared calendars to determine busy/free information of others?

Re: Offpunk 3.0

#16
post #9
post #6

Earlier quoted context omitted.

Gnus it's dog slow, be with email or with usenet. I say this as an ex-Emacs user where I even plugged slrn's cache in order to speed up things, but over 100k messages that was unusable in my netbook, even under 64 bit machines and native compilation. Slrn did it better. On RSS, I use sfeed which is more Unix like and I just plumb lynx/links or whatever I like as a reader. And fast, much fast than GNUs, Elfeed or the…

offpunk’s slowness has two main sources (while offline): - loading modules at startup (will be solved in 3.1 with lazy loading, patch is pending) - parsing HTML with lot of pictures (because we wait for chafa for each picture) I’m not sure how multiprocessing could really help that much but I would be interested. While online, sure, the blocking http calls are something that will be parallelized in the future

syncing URL lists should be done in parallel. Something like xargs+flock but under Python.

Re: Offpunk 3.0

#17

This looks interesting! I wanted to find more info about the Gemini protocol, and it's annoying how un-searchable it is now due to Google Gemini.

It's as if someone took a look at Gopher and tried to do it in 21st century.

It's not bad, but the (intentional) lack of user-input takes the whole experiment back. The only user input is a small search query. It's intentionally set up against building any kind of BBS/Forum. So you need a different way to write and upload, which - in my opinion - kills the whole project. YMMV.

Lagrange - the most used browser - used to have something called "Titan" as user upload but that was never specified and nobody used it and I think it's removed from Lagrange now.

edit: ah it still supports it (Titan). It just seems there is no server in the world that uses it.

Re: Offpunk 3.0

#18
post #16
post #9

Earlier quoted context omitted.

offpunk’s slowness has two main sources (while offline): - loading modules at startup (will be solved in 3.1 with lazy loading, patch is pending) - parsing HTML with lot of pictures (because we wait for chafa for each picture) I’m not sure how multiprocessing could really help that much but I would be interested. While online, sure, the blocking http calls are something that will be parallelized in the future

syncing URL lists should be done in parallel. Something like xargs+flock but under Python.

Contributions are welcome. I even believe that this whole code should be migrated from python-requests to curl.

Re: Offpunk 3.0

#19
post #6
post #4

I wonder when contemporary developers will (re)invent Emacs/Gnus: the unified inbox for email, feeds, and news, because what really matters are text messages + eventual multimedia content, personal and private scoring to manage them, and a consistent local UI that allows for personal archiving and resharing. I've looked at the Fediverse, objectively with little hope and many design issues, I'm watching Nostr with int…

Gnus it's dog slow, be with email or with usenet. I say this as an ex-Emacs user where I even plugged slrn's cache in order to speed up things, but over 100k messages that was unusable in my netbook, even under 64 bit machines and native compilation. Slrn did it better. On RSS, I use sfeed which is more Unix like and I just plumb lynx/links or whatever I like as a reader. And fast, much fast than GNUs, Elfeed or the…

I don't think Gnus is that bad once you spend some time setting it up. For groups with a ton of content where I mostly want to search, I found it was better to just download the whole group and index into notmuch. I could query 20 years of the Smalltalk USENET group or the Supercollider mailing list instantly.

Re: Offpunk 3.0

#20

This looks interesting! I wanted to find more info about the Gemini protocol, and it's annoying how un-searchable it is now due to Google Gemini.

It's as if someone took a look at Gopher and tried to do it in 21st century. It's not bad, but the (intentional) lack of user-input takes the whole experiment back. The only user input is a small search query. It's intentionally set up against building any kind of BBS/Forum. So you need a different way to write and upload, which - in my opinion - kills the whole project. YMMV. Lagrange - the most used browser - used…

If I have a criticism of the protocol it is that gemtext errs too far on the side of simplicity, particularly in not allowing inline links or formatting. I would have preferred if it was closer to markdown.

The limited input support doesn't bother me. I don't see the need for social media through Gemini when there are loads of other protocols we can use for that. And even the limited form of input that is supported lets you do a lot if you get creative with it (in fact there are a few social media-like Gemini pages out there).

Post reply on HN