Did you know #w3m support gopher:// links?
Et voilĂ , je me suis dĂ©cidĂ© Ă publier mes marques pages aprĂšs un peu de tri. Il y en aura dâautres Ă lâavenir, petit Ă petit, car il y a certainement encore des trucs Ă dĂ©couvrir (sous gopher par exemple) et dâautres que jâai oubliĂ© : https://si3t.ch/pub/public_bookmarks.txt
Check out the Nex Protocol. Itâs designed to be even simpler than Gemini and Gopher. What do you think? Could be great to host a twtxt feed on.
Question to all you Gophers out there: How do you deal with custom errors that include more information and different kinds of matching them?
I started with a simple var ErrPermissionNotAllowed = errors.New("permission not allowed"). In my function I then wrap that using fmt.Errorf("%w: %v", ErrPermissionNotAllowed, failedPermissions). I can match this error using errors.Is(err, ErrPermissionNotAllowed). So far so good.
Now for display purposes Iâd also like to access the individual permissions that could not be assigned. Parsing the error message is obviously not an option. So I thought, I create a custom error type, e.g. type PermissionNotAllowedError []Permission and give it some func (e PermissionNotAllowedError) Error() string { return fmt.Sprintf("permission not allowed: %v", e) }. My function would then return this error instead: PermissionNotAllowedError{failedPermissions}
At some layers I donât care about the exact permissions that failed, but at others I do, at least when accessing them. A custom func (e PermissionNotAllowedError) Is(target err) bool could match both the general ErrPermissionNotAllowed as well as the PermissionNotAllowedError. Same with As(âŠ). For testing purposes the PermissionNotAllowedError would then also try to match the included permissions, so assertions in tests would work nicely. But having two different errors for different matching seems not very elegant at all.
Did you ever encounter this scenario before? How did you address this? Is my thinking flawed?
@logout@i-logout.cz well done on 1337 days of gopher server uptime
@prologic@twtxt.net Itâs called âcgodâ and it isnât written in C or Go? I want my money backâŠ
I also like Gopher more than Gemini. The problem Gemini is trying to solve is better solved by just writing static HTML 4.01 pages.
@fastidious@arrakis.netbros.com the things Gemini has going for it are mutual TLS and lack of JavaScript. Which makes for a secure albeit boring experience (much like gopher). The fake markdown is a bit of a drag.
A render mode for Gemini probably wouldnt be too hard. There are markdown to Gemini libs out there.
With Web3 the whole trust a 3rd party browser ext + high fees + env impact for compute and storage are serious no gos for me.. I have heard one too many horror stories about clicking the wrong link and some script draining your metamask wallet.
Z7 is a new CC0-licensed 6x7 monospaced typeface for uxn environments. Itâs designed to be an alternative to the specter8-frag font used in various uxn tools https://sectordisk.pw/?sectors&s=1958 gopher://sectordisk.pw:70/0/cgi-bin/sector.cgi?1958
@prologic@twtxt.net that seems to match my numbers. are you picking up the few gophers out there?
kinda makes me wonder about the ~300k you have cached. yâall got the library of alexandria over there.
@prologic@twtxt.net yeah it reads a seed file. Iâm using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i donât have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.
btw my main feed is on gopher now too gopher://tilde.team/0/~dgy/twtxt.txt
@lyxal@twtxt.net @prologic@twtxt.net yah. the service can have a flag for allowing non-TLS for development. but by default ignores.
are there some users that use alternative protos for twtxt? like ftp/gopher/dnsfs đ€
Can I interest you in the latest edition of Tales From The Dork Web when itâs about Gopher, Gemini and The Smol Internet? https://thedorkweb.substack.com/p/gopher-gemini-and-the-smol-internet
Thinkin I might quit twtxt and gemini, tidy up a bit,just use tilde club web, or gopher.
gopher://gopher.club
lynx gopher://tildecow.com:70/
New post on my Gopher site. Back to updating it once a month.
@kas@enotty.dk I like your gopher serverâs formatting, nice and clean and how did you implement the TLS certificate?
@kas@enotty.dk [re: gopher client] If you happen to be on Windows, then Gopher Browser for Windows by Matt Owen is pretty nice, otherwise I use Lynx indeed for gopher.
Enjoying the constraints of the Gopher protocol as a minimalistic zen-mode kind of online publishing revival.
@mdom@domgoergen.com The news site at gopher://taz.de:70/ is really cool. How did you make it?
My gopher site is about 38K big - still plenty of space left on the 1.24MB floppy disk
Updated my daily journal at gopher://gopher.johanbove.info:70/notes
Mirrored on gopher://gopher.johanbove.info/0/twtxt.txt
@davebucklin@davebucklin.com Welcome to the IndieWeb! Thanks also for introducing me to #twtxt. Gophering this for sure.
@reednj@twtxt.reednj.com @mdom@domgoergen.com @durcheinandr@durcheinandr.de gopher doesnât have zombo.com
Over the course of my life up to this point, Iâve not spent as much time using and thinking about gopher as I have today.