πΎ Archived View for gemi.dev βΊ gemini-mailing-list βΊ 000377.gmi captured on 2023-11-04 at 12:45:17. Gemini links have been rewritten to link to archived content
β‘οΈ Next capture (2023-12-28)
-=-=-=-=-=-=-
Hello all, This is my first post to the mailing list, so greetings everyone! I've been following Gemini for a couple of months now and really like the thinking behind it. The community has done lots of impressive work on an elegant, small foundation. I would like to introduce you to a new desktop GUI client I've been writing. It is called "Lagrange", and me being a visual/gamedev kind of guy one of the main goals is to make it an aesthetically pleasing app. At the moment, I have binaries available for Windows and macOS, and a source tarball for compiling on Linux. Short description and build instructions: gemini://skyjake.fi/lagrange/ Source code and releases: https://git.skyjake.fi/skyjake/lagrange In the spirit of Gemini, the guiding principle has been to trim things down to the bare bones. To keep the app as portable and small as possible, it's written in C and doesn't depend on existing UI frameworks. Instead, SDL2 is used for low-level graphics/input and the rest is built on top of that. TLS is provided by OpenSSL. Feature highlights:
Hi Jaakko Very nice work - well done! I just took it for a spin on Win10. You might want to create an installer at some point, my anti virus seemed to look on it suspiciously and I had to retrieve it from quarantine. A v minor comment - when using a http proxy, it seems to need the IP address (e.g. on local machine needs "127.0.0.1:port" using "localhost:port" didn't work for me). Best wishes - Luke On 13-Sep-2020 21:25, skyjake wrote: > Hello all, > > This is my first post to the mailing list, so greetings everyone! I've been following Gemini for a couple of months now and really like the thinking behind it. The community has done lots of impressive work on an elegant, small foundation. > > I would like to introduce you to a new desktop GUI client I've been writing. It is called "Lagrange", and me being a visual/gamedev kind of guy one of the main goals is to make it an aesthetically pleasing app. At the moment, I have binaries available for Windows and macOS, and a source tarball for compiling on Linux. > > Short description and build instructions: > > gemini://skyjake.fi/lagrange/ > > Source code and releases: > > https://git.skyjake.fi/skyjake/lagrange > > In the spirit of Gemini, the guiding principle has been to trim things down to the bare bones. To keep the app as portable and small as possible, it's written in C and doesn't depend on existing UI frameworks. Instead, SDL2 is used for low-level graphics/input and the rest is built on top of that. TLS is provided by OpenSSL. > > Feature highlights: > > * Beautiful typography using Unicode fonts > * Autogenerated page style and Unicode icon for each Gemini domain > * Smart suggestions when typing the URL ? search bookmarks, history, identities > * Sidebar for page outline, managing bookmarks and identities, and viewing history > * Multiple tabs > * Identity management ? create and use TLS client certificates > > This is version 0.1 so it is not yet feature complete, but the commonly needed stuff should be working. Give it a spin if interested, and let me know if you have any comments or improvement ideas. > > --jaakko
Hi jaakko, It is a beautiful client - congratulations! I especially like how you use a different colour scheme for each domain, and make it clear in the links where you?re going. The only issue I had was it hangs when I try to navigate to gus.guru (I?m on a Mac, if that helps). Peter > On Sep 13, 2020, at 5:55 PM, skyjake <skyjake at dengine.net> wrote: > > Hello all, > > This is my first post to the mailing list, so greetings everyone! I've been following Gemini for a couple of months now and really like the thinking behind it. The community has done lots of impressive work on an elegant, small foundation. > > I would like to introduce you to a new desktop GUI client I've been writing. It is called "Lagrange", and me being a visual/gamedev kind of guy one of the main goals is to make it an aesthetically pleasing app. At the moment, I have binaries available for Windows and macOS, and a source tarball for compiling on Linux. > > Short description and build instructions: > > gemini://skyjake.fi/lagrange/ > > Source code and releases: > > https://git.skyjake.fi/skyjake/lagrange > > In the spirit of Gemini, the guiding principle has been to trim things down to the bare bones. To keep the app as portable and small as possible, it's written in C and doesn't depend on existing UI frameworks. Instead, SDL2 is used for low-level graphics/input and the rest is built on top of that. TLS is provided by OpenSSL. > > Feature highlights: > > * Beautiful typography using Unicode fonts > * Autogenerated page style and Unicode icon for each Gemini domain > * Smart suggestions when typing the URL ? search bookmarks, history, identities > * Sidebar for page outline, managing bookmarks and identities, and viewing history > * Multiple tabs > * Identity management ? create and use TLS client certificates > > This is version 0.1 so it is not yet feature complete, but the commonly needed stuff should be working. Give it a spin if interested, and let me know if you have any comments or improvement ideas. > > --jaakko
Jaakko, This is absolutely gorgeous. I had no trouble building it on Ubuntu Focal Fossa after installing prerequisites (add Cmake to that list.) I've enclosed a screenshot. I could not reproduce Peter's error when going to gus.guru. -- Emma On Sun, Sep 13, 2020, at 15:58, Peter Deal wrote: > Hi jaakko, > > It is a beautiful client - congratulations! I especially like how you > use a different colour scheme for each domain, and make it clear in the > links where you?re going. The only issue I had was it hangs when I try > to navigate to gus.guru (I?m on a Mac, if that helps). > > Peter > > > On Sep 13, 2020, at 5:55 PM, skyjake <skyjake at dengine.net> wrote: > > > > Hello all, > > > > This is my first post to the mailing list, so greetings everyone! I've been following Gemini for a couple of months now and really like the thinking behind it. The community has done lots of impressive work on an elegant, small foundation. > > > > I would like to introduce you to a new desktop GUI client I've been writing. It is called "Lagrange", and me being a visual/gamedev kind of guy one of the main goals is to make it an aesthetically pleasing app. At the moment, I have binaries available for Windows and macOS, and a source tarball for compiling on Linux. > > > > Short description and build instructions: > > > > gemini://skyjake.fi/lagrange/ > > > > Source code and releases: > > > > https://git.skyjake.fi/skyjake/lagrange > > > > In the spirit of Gemini, the guiding principle has been to trim things down to the bare bones. To keep the app as portable and small as possible, it's written in C and doesn't depend on existing UI frameworks. Instead, SDL2 is used for low-level graphics/input and the rest is built on top of that. TLS is provided by OpenSSL. > > > > Feature highlights: > > > > * Beautiful typography using Unicode fonts > > * Autogenerated page style and Unicode icon for each Gemini domain > > * Smart suggestions when typing the URL ? search bookmarks, history, identities > > * Sidebar for page outline, managing bookmarks and identities, and viewing history > > * Multiple tabs > > * Identity management ? create and use TLS client certificates > > > > This is version 0.1 so it is not yet feature complete, but the commonly needed stuff should be working. Give it a spin if interested, and let me know if you have any comments or improvement ideas. > > > > --jaakko > >
Jaakko, This is absolutely gorgeous. I had no trouble building it on Ubuntu Focal Fossa after installing prerequisites (add Cmake to that list.) I could not reproduce Peter's error when going to gus.guru. Here's a link to a screenshot https://magicalgirl.party/@emma/104860248161220415 -- Emma On Sun, Sep 13, 2020, at 15:58, Peter Deal wrote: > Hi jaakko, > > It is a beautiful client - congratulations! I especially like how you > use a different colour scheme for each domain, and make it clear in the > links where you?re going. The only issue I had was it hangs when I try > to navigate to gus.guru (I?m on a Mac, if that helps). > > Peter > > > On Sep 13, 2020, at 5:55 PM, skyjake <skyjake at dengine.net> wrote: > > > > Hello all, > > > > This is my first post to the mailing list, so greetings everyone! I've been following Gemini for a couple of months now and really like the thinking behind it. The community has done lots of impressive work on an elegant, small foundation. > > > > I would like to introduce you to a new desktop GUI client I've been writing. It is called "Lagrange", and me being a visual/gamedev kind of guy one of the main goals is to make it an aesthetically pleasing app. At the moment, I have binaries available for Windows and macOS, and a source tarball for compiling on Linux. > > > > Short description and build instructions: > > > > gemini://skyjake.fi/lagrange/ > > > > Source code and releases: > > > > https://git.skyjake.fi/skyjake/lagrange > > > > In the spirit of Gemini, the guiding principle has been to trim things down to the bare bones. To keep the app as portable and small as possible, it's written in C and doesn't depend on existing UI frameworks. Instead, SDL2 is used for low-level graphics/input and the rest is built on top of that. TLS is provided by OpenSSL. > > > > Feature highlights: > > > > * Beautiful typography using Unicode fonts > > * Autogenerated page style and Unicode icon for each Gemini domain > > * Smart suggestions when typing the URL ? search bookmarks, history, identities > > * Sidebar for page outline, managing bookmarks and identities, and viewing history > > * Multiple tabs > > * Identity management ? create and use TLS client certificates > > > > This is version 0.1 so it is not yet feature complete, but the commonly needed stuff should be working. Give it a spin if interested, and let me know if you have any comments or improvement ideas. > > > > --jaakko > >
It might be worth mentioning that a similar issue came up with a different client, which turned out related to not handling relative URLs in redirects, as I recall. Kevin On Sun, 13 Sep 2020 at 23:58, Peter Deal <dealpete at fastmail.com> wrote: > Hi jaakko, > > It is a beautiful client - congratulations! I especially like how you use > a different colour scheme for each domain, and make it clear in the links > where you?re going. The only issue I had was it hangs when I try to > navigate to gus.guru (I?m on a Mac, if that helps). > > Peter > > > On Sep 13, 2020, at 5:55 PM, skyjake <skyjake at dengine.net> wrote: > > > > Hello all, > > > > This is my first post to the mailing list, so greetings everyone! I've > been following Gemini for a couple of months now and really like the > thinking behind it. The community has done lots of impressive work on an > elegant, small foundation. > > > > I would like to introduce you to a new desktop GUI client I've been > writing. It is called "Lagrange", and me being a visual/gamedev kind of guy > one of the main goals is to make it an aesthetically pleasing app. At the > moment, I have binaries available for Windows and macOS, and a source > tarball for compiling on Linux. > > > > Short description and build instructions: > > > > gemini://skyjake.fi/lagrange/ > > > > Source code and releases: > > > > https://git.skyjake.fi/skyjake/lagrange > > > > In the spirit of Gemini, the guiding principle has been to trim things > down to the bare bones. To keep the app as portable and small as possible, > it's written in C and doesn't depend on existing UI frameworks. Instead, > SDL2 is used for low-level graphics/input and the rest is built on top of > that. TLS is provided by OpenSSL. > > > > Feature highlights: > > > > * Beautiful typography using Unicode fonts > > * Autogenerated page style and Unicode icon for each Gemini domain > > * Smart suggestions when typing the URL ? search bookmarks, history, > identities > > * Sidebar for page outline, managing bookmarks and identities, and > viewing history > > * Multiple tabs > > * Identity management ? create and use TLS client certificates > > > > This is version 0.1 so it is not yet feature complete, but the commonly > needed stuff should be working. Give it a spin if interested, and let me > know if you have any comments or improvement ideas. > > > > --jaakko > >
This is really nicely done, looks and feels fantastic. A couple of points: For some reason, the opengl renderer was really messing up my display (needed to switch to console and back to recover, even after quitting lagrange). Recompiled with the software renderer, and it works beautifully. I was running a Debian guest on a Windows 7 VirtualBox host. The auto-enlarging of the first paragraph, while it looks nice, is jarring with the reading of my docs. The block-quotes text doesn't really stand out as a block quote to my eyes. Please disregard my previous comment on GUS and redirects, it also works fine for me. Regardless, lovely work. Thanks! Kevin On Sun, 13 Sep 2020 at 21:25, skyjake <skyjake at dengine.net> wrote: > Hello all, > > This is my first post to the mailing list, so greetings everyone! I've > been following Gemini for a couple of months now and really like the > thinking behind it. The community has done lots of impressive work on an > elegant, small foundation. > > I would like to introduce you to a new desktop GUI client I've been > writing. It is called "Lagrange", and me being a visual/gamedev kind of guy > one of the main goals is to make it an aesthetically pleasing app. At the > moment, I have binaries available for Windows and macOS, and a source > tarball for compiling on Linux. > > Short description and build instructions: > > gemini://skyjake.fi/lagrange/ > > Source code and releases: > > https://git.skyjake.fi/skyjake/lagrange > > In the spirit of Gemini, the guiding principle has been to trim things > down to the bare bones. To keep the app as portable and small as possible, > it's written in C and doesn't depend on existing UI frameworks. Instead, > SDL2 is used for low-level graphics/input and the rest is built on top of > that. TLS is provided by OpenSSL. > > Feature highlights: > > * Beautiful typography using Unicode fonts > * Autogenerated page style and Unicode icon for each Gemini domain > * Smart suggestions when typing the URL ? search bookmarks, history, > identities > * Sidebar for page outline, managing bookmarks and identities, and viewing > history > * Multiple tabs > * Identity management ? create and use TLS client certificates > > This is version 0.1 so it is not yet feature complete, but the commonly > needed stuff should be working. Give it a spin if interested, and let me > know if you have any comments or improvement ideas. > > --jaakko
Hello, The screenshots I've seen look great! I'm was excited to try this client, but instead I got a segfault staring back at me. Can you help me debug this? I'm on Arch Linux, and I'm pretty sure I have all the right libs installed. Here's the output: ? ./lagrange [the_Foundation] version: 1.0.0 cstd:201112 [the_Foundation] locale: en_US.UTF-8 Lagrange: A Beautiful Gemini Client [1] 319881 segmentation fault (core dumped) ./lagrange And here are the strace lines right before the segfault: rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone(child_stack=0x7fea702e4ef0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSE M|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[319841], tls=0x7fea702e5640, child_tidptr=0x7fea702e5910) = 319841 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 access("/home/makeworld/.config/lagrange", R_OK) = 0 getcwd("/home/makeworld/Software/lagrange-0.1.0/build", 4096) = 46 stat("/home/makeworld/.config/lagrange/trusted.txt", 0x7ffd22276360) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/.config/lagrange/trusted.txt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/makeworld/.config/lagrange/idents.binary", 0x7ffd22276360) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/.config/lagrange/idents.binary", O_RDONLY) = -1 ENOENT (No such file or directory) access("/home/makeworld/.config/lagrange/idents", R_OK) = 0 stat("/home/makeworld/.config/lagrange/idents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 openat(AT_FDCWD, "/home/makeworld/.config/lagrange/idents", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 17 fstat(17, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getdents64(17, 0x56014d354160 /* 2 entries */, 32768) = 48 getdents64(17, 0x56014d354160 /* 0 entries */, 32768) = 0 access("/home/makeworld/.config", R_OK) = 0 mkdir("/home/makeworld/.config/lagrange", 0755) = -1 EEXIST (File exists) stat("/home/makeworld/.config/lagrange/prefs.cfg", 0x7ffd22276600) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/.config/lagrange/prefs.cfg", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/makeworld/.config/lagrange/visited.txt", 0x7ffd22276500) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/.config/lagrange/visited.txt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/makeworld/.config/lagrange/bookmarks.txt", 0x7ffd22276540) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/.config/lagrange/bookmarks.txt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.bina ry", 0x7ffd222765e0) = -1 ENOENT (No such file or directory) stat("/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.bina ry", 0x7ffd222765b0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.binary", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", {st_mode=S_IFREG|0644, st_size=9086132, ...}) = 0 stat("/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", {st_mode=S_IFREG|0644, st_size=9086132, ...}) = 0 openat(AT_FDCWD, "/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", O_RDONLY) = 18 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x56014b9fe980} --- +++ killed by SIGSEGV (core dumped) +++ [1] 319831 segmentation fault (core dumped) strace ./lagrange I downloaded the specific .tar.gz from your releases that includes theFoundation. Any idea what the issue is? makeworld
skyjake <skyjake at dengine.net> writes: > Source code and releases: > > https://git.skyjake.fi/skyjake/lagrange Unfortunately i haven't been able to build it on Void Linux, due to a problem when trying to build the_Foundation: ``` [ 80%] Building C object CMakeFiles/the_Foundation.dir/src/tlsrequest.c.o /home/alexis/Downloads/src/the_Foundation/src/tlsrequest.c: In function 'validUntil_TlsCertificate': /home/alexis/Downloads/src/the_Foundation/src/tlsrequest.c:268:9: error: implicit declaration of function 'ASN1_TIME_to_tm'; did you mean 'ASN1_TIME_set_tm'? [-Werror=implicit-function-declaration] 268 | ASN1_TIME_to_tm(X509_get0_notAfter(d->cert), &time); | ^~~~~~~~~~~~~~~ | ASN1_TIME_set_tm cc1: all warnings being treated as errors ``` Alexis.
Hi all, many thanks for the kind words! :) Collected replies follow: > On 14. Sep 2020, at 0:05, Luke Emmet <luke at marmaladefoo.com> wrote: > > Very nice work - well done! I just took it for a spin on Win10. You might want to create an installer at some point, my anti virus seemed to look on it suspiciously and I had to retrieve it from quarantine. > > A v minor comment - when using a http proxy, it seems to need the IP address (e.g. on local machine needs "127.0.0.1:port" using "localhost:port" didn't work for me). Yes, a Windows installer will be used in a future build, most likely using CMake's CPack module as that it relatively painless and I've done it before in another project. I'll check the proxy address lookup, I believe it should work with domain names as well. > On 14. Sep 2020, at 1:58, Peter Deal <dealpete at fastmail.com> wrote: > > It is a beautiful client - congratulations! I especially like how you use a different colour scheme for each domain, and make it clear in the links where you?re going. The only issue I had was it hangs when I try to navigate to gus.guru (I?m on a Mac, if that helps). I'm mostly developing this on a Mac myself. There is certainly some kind of weirdness with gus.guru, while it works most of the time for me sometimes I have to reload the page manually. Not exactly sure what's going on, will have to investigate. Seems pretty random. > On 14. Sep 2020, at 2:50, Kevin Sangeelee <kevin at susa.net> wrote: > > For some reason, the opengl renderer was really messing up my display (needed to switch to console and back to recover, even after quitting lagrange). Recompiled with the software renderer, and it works beautifully. I was running a Debian guest on a Windows 7 VirtualBox host. > > The auto-enlarging of the first paragraph, while it looks nice, is jarring with the reading of my docs. > > The block-quotes text doesn't really stand out as a block quote to my eyes. Yeah, I suppose OpenGL issues can be rather common, especially under VMs. I will add an option to force software rendering in a future build. (See below how to do it manually.) I have been considering adding a user preference for the enlarged first paragraph, along with other page style customization settings. Could you point me to / share an example page where it looks jarring? Perhaps I can still tweak things a little to detect when not to apply the effect. Also curious about the block quote appearance, what would you consider a more distinctive appearance? > On 14. Sep 2020, at 3:46, colecmac at protonmail.com wrote: > > I'm on Arch Linux, and I'm pretty sure I have all the right libs installed. > <strace output> > > I downloaded the specific .tar.gz from your releases that includes theFoundation. > Any idea what the issue is? Hmm, at least it found the resources file, so that's good. My first guess is always that there is some problem with OpenGL. I'll add the software rendering option, but maybe in the meantime you could try going to src/ui/window.c:480 and uncomment "#define ENABLE_SWRENDER". Hopefully that helps, but if not, we could try a debug build and run it under gdb to get a stack trace? > On 14. Sep 2020, at 6:46, Alexis <flexibeast at gmail.com> wrote: > > Unfortunately i haven't been able to build it on Void Linux, due to a problem when trying to build the_Foundation: > > ``` > error: implicit declaration of function 'ASN1_TIME_to_tm'; did you mean 'ASN1_TIME_set_tm'? [-Werror=implicit-function-declaration] > ``` It appears `ASN1_TIME_to_tm` was added to OpenSSL 1.1.1, so I'll document that as a required dependency. If anyone wants to provide a workaround for older OpenSSL releases, I'll gladly accept a patch. :) --jaakko
skyjake <skyjake at dengine.net> writes: > It appears `ASN1_TIME_to_tm` was added to OpenSSL 1.1.1, so > I'll document that as a required dependency. If anyone wants to > provide a workaround for older OpenSSL releases, I'll gladly > accept a patch. :) Ah. This might not be an "older OpenSSL release" issue, but a LibreSSL issue: Void, OpenBSD, Dragonfly BSD and Hyperbola all use the LibreSSL fork of OpenSSL as their default TLS provider. i have no idea whether this function is deliberately omitted, or whether its absence is more due to a lack of resources. Alexis.
On Mon, 14 Sep 2020 at 09:18, skyjake <skyjake at dengine.net> wrote: > I have been considering adding a user preference for the enlarged first > paragraph, along with other page style customization settings. Could you > point me to / share an example page where it looks jarring? Perhaps I can > still tweak things a little to detect when not to apply the effect. > Two pages that come to mind are a) my homepage that has an inane disclaimer as the first paragraph, (definitely not worthy of prominence!) and b) a page that seemed to have a line-break at the end of the paragraph, so it showed in mixed fonts. There were others. I think the broader issue is that styling judgements on arbitrary text without semantic hints are only going to succeed in some cases. > Also curious about the block quote appearance, what would you consider a > more distinctive appearance? > Looking again, is the font colour different for block-quotes? I'm a bit colour blind, and it's hard for me to tell. Traditional vertical bars or italics tend to stand out for me, subtle colour differences (that most people see clearly) tend not to. Kevin
On 14. Sep 2020, at 18:04, Kevin Sangeelee <kevin at susa.net> wrote: > I think the broader issue is that styling judgements on arbitrary text without semantic hints are only going to succeed in some cases. Yeah there is surely no way to make this perfect in all cases without the author actually having a way to mark up a lead paragraph. In gemtext there is no such markup, and I don't think there should be. My goal is to make it work in most cases, so it 1) encourages/rewards the practice of having a brief and informative lead that stands out, while 2) being subtle enough not to be weird in other cases. Very long paragraphs, for example, can be detected and the effect could be disabled there. The plan is to make this customizable in future builds. > Looking again, is the font colour different for block-quotes? I'm a bit colour blind, and it's hard for me to tell. Traditional vertical bars or italics tend to stand out for me, subtle colour differences (that most people see clearly) tend not to. The quotes use a different color and a thinner italic font. They also have their own indentation level. But yes, the vertical bar is pretty commonly used for quotes, having that as an option would be nice. Thanks for the feedback. :) --jaakko
> > On 14. Sep 2020, at 3:46, colecmac at protonmail.com wrote: > > I'm on Arch Linux, and I'm pretty sure I have all the right libs installed. > > <strace output> > > I downloaded the specific .tar.gz from your releases that includes theFoundation. > > Any idea what the issue is? > > Hmm, at least it found the resources file, so that's good. My first guess is always that there is some problem with OpenGL. I'll add the software rendering option, but maybe in the meantime you could try going to src/ui/window.c:480 and uncomment "#define ENABLE_SWRENDER". > > Hopefully that helps, but if not, we could try a debug build and run it under gdb to get a stack trace? This still crashed unfortunately. I was able to build a debug build with -DCMAKE_BUILD_TYPE=Debug and launch gdb, but I don't know how to use gdb and so I couldn't proceed. Can you explain more? makeworld
On 15. Sep 2020, at 3:52, colecmac at protonmail.com wrote: >> you could try going to src/ui/window.c:480 and uncomment "#define ENABLE_SWRENDER". >> >> Hopefully that helps, but if not, we could try a debug build and run it under gdb to get a stack trace? > > This still crashed unfortunately. I was able to build a debug build with > -DCMAKE_BUILD_TYPE=Debug and launch gdb, but I don't know how to use > gdb and so I couldn't proceed. Can you explain more? Once you have the Debug build, start gdb like this: gdb lagrange And then when it crashes, type in the gdb prompt: bt To print a backtrace. That'll show where the crash occurred. However, I've already fixed one issue that could cause a crash at startup. It's currently in the "dev" branch, so you could alternatively do a git clone in an empty directory and try building that: git clone --recursive https://git.skyjake.fi/skyjake/lagrange --jaakko
> However, I've already fixed one issue that could cause a crash at startup. It's currently in the "dev" branch, so you could alternatively do a git clone in an empty directory and try building that: > > git clone --recursive https://git.skyjake.fi/skyjake/lagrange This worked! Thanks for adding the libraries as submodules, it's very helpful. The client is beautiful, excellent work. Being able to see the domain when hovering over links is a nice touch, and I was impressed by the full-text search of pages I've already visited when I start typing in the address bar. The green padlock info is also nice. Also, it seems you've added client certs just since you sent your first email? It would be nice if I could import them though. makeworld
On 15. Sep 2020, at 15:52, colecmac at protonmail.com wrote: > Also, it seems you've added client certs just since you sent your first email? It would be nice if I could import them though. Importing existing certificates is already possible, although there is no UI for it yet and there are some requirements for the files. I added this to the Help page: ``` ### Importing existing certificates At launch, Lagrange looks through its "idents" directory to see if any new certificates have been copied there. (See "Runtime files" below for the location.) The file format must be PEM. Both a certificate (.crt) and its private key (.key) must be found in "idents" and they must have matching file names. For example:
Hello all, Here's a brief update on what's been happening with Lagrange since the initial v0.1 release. I've just released v0.4 today with preliminary audio playback support. You can now listen to Ogg Vorbis and WAV files using an inline audio player. It works the same way as the image viewer. => https://skyjake.fi/@jk/105010413773282229 Screenshot of audio player UI I call this preliminary because it still lacks basic features like volume control and seeking. The plan is to add more audio codecs as well, although that will require adding new (optional) dependencies to the build. The other notable change in v0.4 is support for Windows HiDPI displays, including respecting the Windows UI scaling factor. In the earlier builds v0.2 and v0.3, the new features were:
On 10/10/20 4:26 PM, skyjake wrote: > audio playback support This is really nice! I tested it on my own site and it starts playback while the file is downloading, so it's really streaming. :) I ran into a quirk where if I tried to open another ogg file one one was already playing, I get two players playing simultaneously. When I try to hit x to close the first one it doesn't close the player it just restarts it as if I had clicked on the link again. Ben -- gemini://kwiecien.us/
On 10. Oct 2020, at 18:07, Ben <benulo at systemli.org> wrote: > I ran into a quirk where if I tried to open another ogg file one one was already playing, I get two players playing simultaneously. When I try to hit x to close the first one it doesn't close the player it just restarts it as if I had clicked on the link again. Ah, it appears that it doesn't let you close a player that's still streaming more content. I'll fix it... Thanks for testing! --jaakko
I just wanted to say that I tried this client for the first time today on a Mac, and it is indeed classically beautiful: ????? ???? (nothing in excess) as Apollo said at Delphi. I found everything I needed or wanted and nothing I didn't, or more accurately nothing that I couldn't see someone else who is aligned with the spirit of Gemini wanting, like dark mode. Nevertheless, as a visually impaired person (not so much so that I need a screen reader, however), I would ask for two things: 1) A mode in which the background is white (which you already have) and all colors except in icons are mapped to black. Even though your colors are subtle, black print on white paper, as God and Gutenburg intended, is the most readable. In particular, grayscale text blends into the background, and using less saturated colors in subheadings combined with smaller font sizes, makes them hard, harder, hardest to interpret. (Colors in icons are fine: I don't have to read them, just look at them.) 2) A nice serif font. Characters with serifs are much easier to recognize because the letters look more different. The worst case for sans-serif fonts is l (lower case L) and I (uppercase I). Here they are together: IlIIl. That looks in a sans-serif font like five tally marks, but in fact it is I-L-I-I-L with lower case L, as a serif font will show. There is nothing inherently old-fashioned about serif fonts: Georgia (which is web-safe) is a good candidate for lightweight minimalism, and so are any of those shown at < https://www.dtelepathy.com/blog/design/21-stunning-serif-fonts-websites>. Whatever floats your boat, but with serifs! Without these things I have to magnify the text even more than I normally do (150%) and get less and less content per screen. This is a matter of pure practicality: I'm not asking for the ability to render pages in Comic Sans <http://www.identifont.com/find?font=comic+sans&q=Go> or in STOP < http://www.identifont.com/show?374>, a font which combines the virtues of ugliness with those of illegibility. A very minor third point: 3) It would be nice if, after opening a new tab, the cursor was in the address bar. This is convenient: Cmd-T immediately followed by typing the URL, without having to mouse about. On Sat, Oct 10, 2020 at 8:56 AM skyjake <skyjake at dengine.net> wrote: > Hello all, > > Here's a brief update on what's been happening with Lagrange since the > initial v0.1 release. > > I've just released v0.4 today with preliminary audio playback support. You > can now listen to Ogg Vorbis and WAV files using an inline audio player. It > works the same way as the image viewer. > > => https://skyjake.fi/@jk/105010413773282229 Screenshot of audio player > UI > > I call this preliminary because it still lacks basic features like volume > control and seeking. The plan is to add more audio codecs as well, although > that will require adding new (optional) dependencies to the build. > > The other notable change in v0.4 is support for Windows HiDPI displays, > including respecting the Windows UI scaling factor. > > In the earlier builds v0.2 and v0.3, the new features were: > > * saving files to the downloads folder > * quotes have an icon for clearer visual distinction > * macOS touch bar support > * improved context menus and text selection > * mailto links > * style customization: font, line width, color saturation > * page outline that appears when hovering over the scroll bar (off by > default) > * site icon and heading in the left margin (wide windows) > > => https://skyjake.fi/@jk/104938360727578010 Screenshot of site icon and > hover outline > > Binaries are available for Windows (7 or later, 64-bit only) and macOS > 10.13+: > > => https://git.skyjake.fi/skyjake/lagrange/releases Prebuilt binaries, > source repo > => gemini://skyjake.fi/lagrange/ Project page > > --jaakko > >
On Sat, Oct 10, 2020, at 5:56 AM, skyjake wrote: > Hello all, > > Here's a brief update on what's been happening with Lagrange since the > initial v0.1 release. > > I've just released v0.4 today with preliminary audio playback support. > You can now listen to Ogg Vorbis and WAV files using an inline audio > player. It works the same way as the image viewer. First and by far the most important, I'd like to echo John Cowan's effusive praise. Lagrange is nothing short of insanely great. I noticed a couple odd things, though: First, in the category of "I don't know if it's wrong, but it _is_ different and I'm not sure I like it": I went to <gemini://gemini.circumlunar.space/users/> and multiple spaces in link text are being collapsed into one space. In the source, the link lines look like: => / .. => 0xgem/ 0xgem/ Jul 7 2020 => acdw/ acdw/ Jul 25 2020 => adiabatic/ adiabatic/ Oct 6 2020 => alchemist/ alchemist/ Jun 21 2020 => b/ b/ Oct 6 2020 => bentsai/ bentsai/ Jul 7 2020 => chance/ chance/ Sep 6 2020 In amfora, a command-line TUI client, the dates are right-aligned if you've got a wide-enough terminal, but in Lagrange, multiple spaces are collapsed into one and each line is kind of hard to read because of the raggedyness of it all. For the second, I noticed that the ASCII art at "midnight.pub" didn't look right compared to amfora. I wanted to check the source text at <gemini://tilde.team/~m15o/> to see what was going on, but when I hit ?S, I got: ``` ERROR SAVING PAGE Read-only file system [Continue] ``` I wasn't expecting this error message at all, considering it's (1) only my ~/Downloads and (2) <gemini://gemini.circumlunar.space/users/> downloads just fine to it from Lagrange and (3) amfora saves "~m15o.gmi" just fine there when I hit C-s in it. ?and hm. The ASCII art there isn't backticked. I should go pester the author to wrap it all in ```Midnight ? ``` . ? Nathan
On 10. Oct 2020, at 21:59, John Cowan <cowan at ccil.org> wrote: > I just wanted to say that I tried this client for the first time today on a Mac, and it is indeed classically beautiful: ????? ???? (nothing in excess) as Apollo said at Delphi. Thank you! > 1) A mode in which the background is white (which you already have) and all colors except in icons are mapped to black. I agree this would be a useful setting. My plan is to add more user-selectable color themes in Preferences, so a high-contrast one can be one of them. > 2) A nice serif font. Consider it done. Ultimately I would like to allow picking a custom font, but before that a small set of nice fonts should suffice. > 3) It would be nice if, after opening a new tab, the cursor was in the address bar. I have now implemented this in the dev branch. --jaakko
On 11. Oct 2020, at 5:04, mailinglists at ngalt.com wrote: > First and by far the most important, I'd like to echo John Cowan's effusive praise. Lagrange is nothing short of insanely great. Thanks, glad to hear you like it. :) > First, in the category of "I don't know if it's wrong, but it _is_ different and I'm not sure I like it": I went to <gemini://gemini.circumlunar.space/users/> and multiple spaces in link text are being collapsed into one space. Hmm, interesting. The Gemini spec doesn't seem to weigh in on whitespace normalization in link text (only in regular text lines), although it does say "clients can present links to users in whatever fashion the client author wishes". The way the right-aligning is done here assumes a fixed-width font. While it isn't appropriate to show all links using a fixed-width font, perhaps this use case of whitespace padding could be detected by the client and it could switch to fixed-width for those links only? Seems a little fiddly, though, since it also assumes a specific line width. Maybe a better way would be to take the whitespace padding as a signal to align the remaining text separately, although that could get complicated. > when I hit ?S, I got: > > ``` > ERROR SAVING PAGE > Read-only file system > [Continue] > ``` This is a bug in Lagrange's save path. It gets confused by the tilde in "~m15o" and ignores the Downloads directory set in Preferences. Will fix. Thanks for reporting! --jaakko
On 11. Oct 2020, at 5:04, mailinglists at ngalt.com wrote: > First and by far the most important, I'd like to echo John Cowan's effusive praise. Lagrange is nothing short of insanely great. Thanks, glad to hear you like it. :) > First, in the category of "I don't know if it's wrong, but it _is_ different and I'm not sure I like it": I went to <gemini://gemini.circumlunar.space/users/> and multiple spaces in link text are being collapsed into one space. Hmm, interesting. The Gemini spec doesn't seem to weigh in on whitespace normalization in link text (only in regular text lines), although it does say "clients can present links to users in whatever fashion the client author wishes". The way the right-aligning is done here assumes a fixed-width font. While it isn't appropriate to show all links using a fixed-width font, perhaps this use case of whitespace padding could be detected by the client and it could switch to fixed-width for those links only? Seems a little fiddly, though, since it also assumes a specific line width. Maybe a better way would be to take the whitespace padding as a signal to align the remaining text separately, although that could get complicated. > when I hit ?S, I got: > > ``` > ERROR SAVING PAGE > Read-only file system > [Continue] > ``` This is a bug in Lagrange's save path. It gets confused by the tilde in "~m15o" and ignores the Downloads directory set in Preferences. Will fix. Thanks for reporting! --jaakko
On Sun, Oct 11, 2020 at 2:56 AM skyjake <skyjake at dengine.net> wrote: > > 1) A mode in which the background is white (which you already have) and > all colors except in icons are mapped to black. > > I agree this would be a useful setting. My plan is to add more > user-selectable color themes in Preferences, so a high-contrast one can be > one of them. > I notice that in Settings / Colors there is a selector for Saturation with options Full, Reduced, Minimal, Monochrome. But this doesn't seem to do anything. John Cowan http://vrici.lojban.org/~cowan cowan at ccil.org Rather than making ill-conceived suggestions for improvement based on uninformed guesses about established conventions in a field of study with which familiarity is limited, it is sometimes better to stick to merely observing the usage and listening to the explanations offered, inserting only questions as needed to fill in gaps in understanding. --Peter Constable
> On Oct 11, 2020, at 12:29 AM, skyjake <skyjake at dengine.net> wrote: > > On 11. Oct 2020, at 5:04, mailinglists at ngalt.com wrote: > >> First and by far the most important, I'd like to echo John Cowan's effusive praise. Lagrange is nothing short of insanely great. > > Thanks, glad to hear you like it. :) > >> First, in the category of "I don't know if it's wrong, but it _is_ different and I'm not sure I like it": I went to <gemini://gemini.circumlunar.space/users/> and multiple spaces in link text are being collapsed into one space. > > Hmm, interesting. The Gemini spec doesn't seem to weigh in on whitespace normalization in link text (only in regular text lines), although it does say "clients can present links to users in whatever fashion the client author wishes". > > The way the right-aligning is done here assumes a fixed-width font. While it isn't appropriate to show all links using a fixed-width font, perhaps this use case of whitespace padding could be detected by the client and it could switch to fixed-width for those links only? Seems a little fiddly, though, since it also assumes a specific line width. Eh. I wouldn?t wish that on a client author. That user listing already looks kind of bad in amfora(1) already with my fairly-narrow text-width settings. I don?t think there?s a good solution here for properly-aligned text (all the preexisting proposals have been shot down or deferred or something), so my hunch is that the best option is to do nothing special. Situations like these are why I prefaced this whole thing with ?I don?t know if it?s wrong, but??. ? Nathan
On 12. Oct 2020, at 3:38, Nathan Galt <mailinglists at ngalt.com> wrote: > Eh. I wouldn?t wish that on a client author. That user listing already looks kind of bad in amfora(1) already with my fairly-narrow text-width settings. I don?t think there?s a good solution here for properly-aligned text (all the preexisting proposals have been shot down or deferred or something), so my hunch is that the best option is to do nothing special. > > Situations like these are why I prefaced this whole thing with ?I don?t know if it?s wrong, but??. I recognize that in gemtext one cannot use spaces like this for alignment, while also permitting variable-width fonts and whitespace normalization. Nevertheless, I was curious about the idea of normalizing multiple spaces differently. A simple rule of 8+ spaces becoming a tab character produced nice results: => http://media.skyjake.fi/normalized_to_tabs.png It was also quite simple to implement (of course, Lagrange uses a custom text renderer so stuff like this is possible without extra effort): => https://git.skyjake.fi/skyjake/lagrange/commit/4a3cda29bbf2494061fb10906 98cf1230e43a280 I'm not advocating for this to be standard practice in clients, but I'll keep it at least for the time being in Lagrange and see if it produces adverse effects elsewhere. --jaakko
On Mon, Oct 12, 2020 at 2:14 AM skyjake <skyjake at dengine.net> wrote: > I recognize that in gemtext one cannot use spaces like this for alignment, > while also permitting variable-width fonts and whitespace normalization. > Nevertheless, I was curious about the idea of normalizing multiple spaces > differently. Another possibility would be to render a link name that contains more than 2 consecutive spaces in a monowidth font, the same one used for ``` mode. That would be very clean, I think. A simple rule of 8+ spaces becoming a tab character produced nice results: > That's worth keeping too. John Cowan http://vrici.lojban.org/~cowan cowan at ccil.org Heh, heh: ... or three pairs of wheels? I wonder what would have happened if Ravna had just read a little further. In some weird way, Twirlip knows the Secret of the Riders. --Vernor Vinge, note 601
Let me add my voice to the chorus of praise - this is hands-down the best Gemini client I've seen yet. It makes me actively seek out more Gemini content just so I can enjoy it. My one request/wishlist item is for further configurable keybindings. In my particular case, I like to use vim-like motions (j/k for scrolling, / for search, etc) everywhere possible. I've modified the source code directly to add those, and it works great for me, but it will probably get annoying maintaining those patches as new versions come up. (And I don't think you'll want my patches upstream, since not everyone wants the exact keybindings I happen to have chosen for myself...) Thank you so much, again, for this amazing contribution to the community! -- Adrian
On 21. Oct 2020, at 4:21, Adrian Petrescu <adrian at apetre.sc> wrote: > Let me add my voice to the chorus of praise - this is hands-down the > best Gemini client I've seen yet. It makes me actively seek out more > Gemini content just so I can enjoy it. Glad to hear it, thank you. :) > My one request/wishlist item is for further configurable keybindings. In > my particular case, I like to use vim-like motions (j/k for scrolling, / > for search, etc) everywhere possible. Ok, request noted. I can see how configuring the keybindings would be useful. I'm currently putting together v0.6 where I'm focusing on adding new color themes and some bug fixes, but after that configurable bindings could be a nice next thing to work on. --jaakko https://gmi.skyjake.fi/lagrange/
John Cowan <cowan at ccil.org> writes: > Even though your colors are subtle, black print on white paper, as God > and Gutenberg intended, is the most readable. Yes. Matthew 6:28-31, Proverbs 8:11, Tao Te Ching 27.?
It was thus said that the Great Sandra Snan once stated: > John Cowan <cowan at ccil.org> writes: > > Even though your colors are subtle, black print on white paper, as God > > and Gutenberg intended, is the most readable. > > Yes. Matthew 6:28-31, Proverbs 8:11, Tao Te Ching 27.? => gemini://gemini.conman.org/bible/Matthew.6:28-31 Matthew 6:28-31 => gemini://gemini.conman.org/bible/Proverbs.8:11 Proverbs 8:11 -spc(Sadly, I do not know of a Gemini link to the Tao Te Ching)
> -spc(Sadly, I do not know of a Gemini link to the Tao Te Ching) Sean, after reading your comment, I was tempted to throw up the James Legge version on my capsule, but on a whim I reached out to Roger Ames, who allowed me to house his translation on Gemini! => gemini://namu.blue/~mieum/library/ddj/ I wrote about it a little on Allok Dallok: => gemini://rawtext.club/~mieum/dallok/2020-10.gmi The chapter Sandra referenced (27) appears as so in this translation: > Able travelers leave no ruts or tracks along the way; > Able speakers make no gaffes that might occasion reproach; > Able reckoners have no use for tallies or counting sticks; > Able sealers make no use of bolts or latches yet what they close off cannot be opened. > Able cinchers make no use of ropes or cords yet their knots cannot be undone. > > It is for this reason that the sages in being really good at turning others to account > Have no need to reject anyone, > And in dealing with property, > Have no need to reject anything. > This is what is called following their natural acuity (ming). > > Thus able persons are teachers of the able > While the inept provide them with raw materials. > > While perhaps wise enough, > Those who fail to honor their teachers and to be sparing with their raw materials > Have gotten themselves utterly lost. > This is what is called being subtle and getting to the essentials.
Hi! I'm a huge fan of Lagrange, it's so far my favorite desktop Gemini browser, it's just so visually perfect and has the right amount of features! It's been working perfectly fine on macOS, I'm following the latest updates. However, in Manjaro ARM (Pinebook Pro), sites like gemini://circumlunar.space/ and gemini://gus.guru/ for some reason don't seem to load at all. Maybe it has something to do with TLS, I'm not sure how to debug, but I'd like to help. Here are the commands I used to build version 0.5.0: cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr cmake --build . --target install Anyway, thanks for creating Lagrange, it's all I was expecting to find in a Gemini browser, it gives such Aesthetics to the Gemini experience! And the best part: it's free of Web components! Written in C with beautiful SDL graphics, something rare in 2020. I hope to see more improvements, without adding bloat and keeping the minimalist and modern look and feel!
On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: > However, in Manjaro ARM (Pinebook Pro), sites like > gemini://circumlunar.space/ and gemini://gus.guru/ for some reason > don't seem to load at all. Maybe it has something to do with TLS, I'm > not sure how to debug, but I'd like to help. (Suppose you mean gemini://gemini.circumlunar.space/ ?) Hmm, if it isn't getting any response that could indicate a network connectivity issue. Unfortunately this is not my greatest area of expertise, but one possible reason might be some IPv4/IPv6 glitch? I've done very little testing with IPv6 so far. I suppose other clients work for you on the Pinebook? That would mean it's definitely a bug in Lagrange. What is the network configuration like on your Pinebook? I'll play around with IPv6 on my end to see if anything seems obviously out of place. For what it's worth, on Raspberry Pi 3 w/Raspbian things seem to work OK. > Anyway, thanks for creating Lagrange, it's all I was expecting to find > in a Gemini browser, it gives such Aesthetics to the Gemini > experience! And the best part: it's free of Web components! Written in > C with beautiful SDL graphics, something rare in 2020. I hope to see > more improvements, without adding bloat and keeping the minimalist and > modern look and feel! Thank you, and that's the plan! There's a number of smaller refinements on my todo list but in terms of big features it's getting close to v1.0, i.e., the first "feature complete" release. --jaakko https://gmi.skyjake.fi/lagrange/
On October 24, 2020 7:56:32 AM EDT, skyjake <skyjake at dengine.net> wrote: >On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: > >> However, in Manjaro ARM (Pinebook Pro), sites like >> ... gemini://gus.guru/ for some reason >> don't seem to load at all. Maybe it has something to do with TLS, I'm >> not sure how to debug, but I'd like to help. > > >Hmm, if it isn't getting any response that could indicate a network >connectivity issue. Unfortunately this is not my greatest area of >expertise, but one possible reason might be some IPv4/IPv6 glitch? I've >done very little testing with IPv6 so far. > >I suppose other clients work for you on the Pinebook? That would mean >it's definitely a bug in Lagrange. I have the same issue loading gemini://gus.guru in Lagrange. It may have something to do with trusted certificates: Clients which don't work: castor 0.8.2-0.8.15 (connection refused (os error 111)), lagrange 0.5 (no error message given), jemini/jemini-sh (no error message given) Clients which work: gmnlm (offers to trust certificate), gemini-demo-1
On Sat, Oct 24, 2020 at 02:56:32PM +0300, skyjake wrote: > On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: > > > However, in Manjaro ARM (Pinebook Pro), sites like > > gemini://circumlunar.space/ and gemini://gus.guru/ for some reason > > don't seem to load at all. Maybe it has something to do with TLS, I'm > > not sure how to debug, but I'd like to help. > > (Suppose you mean gemini://gemini.circumlunar.space/ ?) > > Hmm, if it isn't getting any response that could indicate a network connectivity issue. Unfortunately this is not my greatest area of expertise, but one possible reason might be some IPv4/IPv6 glitch? I've done very little testing with IPv6 so far. > > I suppose other clients work for you on the Pinebook? That would mean it's definitely a bug in Lagrange. Yes, I can access those sites on other clients, such as Castor and amfora. It's probably a bug in Lagrange. > What is the network configuration like on your Pinebook? > > I'll play around with IPv6 on my end to see if anything seems obviously out of place. For what it's worth, on Raspberry Pi 3 w/Raspbian things seem to work OK. I'm always connected to my WireGuard instance, but I haven't had any problems so far. As I said, I'm able to access those sites from other clients.
El 24/10/20 a las 21:01, avalos at rawtext.club escribi?: > On Sat, Oct 24, 2020 at 02:56:32PM +0300, skyjake wrote: >> On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: >> >>> However, in Manjaro ARM (Pinebook Pro), sites like >>> gemini://circumlunar.space/ and gemini://gus.guru/ for some reason >>> don't seem to load at all. Maybe it has something to do with TLS, I'm >>> not sure how to debug, but I'd like to help. >> >> (Suppose you mean gemini://gemini.circumlunar.space/ ?) >> >> Hmm, if it isn't getting any response that could indicate a network connectivity issue. Unfortunately this is not my greatest area of expertise, but one possible reason might be some IPv4/IPv6 glitch? I've done very little testing with IPv6 so far. >> >> I suppose other clients work for you on the Pinebook? That would mean it's definitely a bug in Lagrange. > > Yes, I can access those sites on other clients, such as Castor and > amfora. It's probably a bug in Lagrange. It is working for me (gemini://gus.guru/) in both Lagrange 0.5.0 and 0.6.0. Running Gentoo amd64 with the following library versions: - openssl-1.1.1g - libpcre-8.44 - libunistring-0.9.10 - cmake-3.17.4 - libsdl2-2.0.12 - zlib-1.2.11 - mpg123-1.25.13 Btw, just started exploring Gemini and I found Lagrange to be a quite nice client, thanks skyjake!
On 24. Oct 2020, at 15:43, Zach DeCook <zachdecook at librem.one> wrote: > I have the same issue loading gemini://gus.guru in Lagrange. > It may have something to do with trusted certificates: > > Clients which don't work: castor 0.8.2-0.8.15 (connection refused (os error 111)), lagrange 0.5 (no error message given), jemini/jemini-sh (no error message given) > > Clients which work: gmnlm (offers to trust certificate), gemini-demo-1 This is very interesting. I'll dive into the gmnlm sources and see how it's using OpenSSL differently than Lagrange. It's entirely possible that I haven't gotten all the parameters right. --jaakko
On 24. Oct 2020, at 22:01, avalos at rawtext.club wrote: > On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: > >> However, in Manjaro ARM (Pinebook Pro), sites like >> gemini://circumlunar.space/ and gemini://gus.guru/ for some reason >> don't seem to load at all. Maybe it has something to do with TLS, I'm >> not sure how to debug, but I'd like to help. > > Yes, I can access those sites on other clients, such as Castor and > amfora. It's probably a bug in Lagrange. Which version of OpenSSL is being used on the Pinebook? So far I haven't had any luck reproducing this issue nor do I have a clearer picture of why it might be failing, but here's something we can try. On the Pinebook, run this openssl command and let's compare the output: openssl s_client -connect gus.guru:1965 -debug -tlsextdebug Output from OpenSSL 1.1.1h on a Mac: => https://media.skyjake.fi/openssl_debug.txt --jaakko
On Sun, Oct 25, 2020 at 01:15:07PM +0200, skyjake wrote: > On 24. Oct 2020, at 22:01, avalos at rawtext.club wrote: > > > On 24. Oct 2020, at 5:47, avalos at rawtext.club wrote: > > > >> However, in Manjaro ARM (Pinebook Pro), sites like > >> gemini://circumlunar.space/ and gemini://gus.guru/ for some reason > >> don't seem to load at all. Maybe it has something to do with TLS, I'm > >> not sure how to debug, but I'd like to help. > > > > Yes, I can access those sites on other clients, such as Castor and > > amfora. It's probably a bug in Lagrange. > > Which version of OpenSSL is being used on the Pinebook? I'm using OpenSSL 1.1.1h as well. > So far I haven't had any luck reproducing this issue nor do I have a clearer picture of why it might be failing, but here's something we can try. On the Pinebook, run this openssl command and let's compare the output: > > openssl s_client -connect gus.guru:1965 -debug -tlsextdebug > > Output from OpenSSL 1.1.1h on a Mac: > > => https://media.skyjake.fi/openssl_debug.txt Here's my output: https://cryptpad.avalos.me/code/#/2/code/view/52l0LbI+Fo8xPNa1k8bggAOr2MTQO SIr-St+J+ceBhY/ The OpenSSL command took a lot of time to finish and print the output.
On 25. Oct 2020, at 20:35, avalos at rawtext.club wrote: >> So far I haven't had any luck reproducing this issue nor do I have a clearer picture of why it might be failing, but here's something we can try. On the Pinebook, run this openssl command and let's compare the output: >> >> openssl s_client -connect gus.guru:1965 -debug -tlsextdebug >> >> Output from OpenSSL 1.1.1h on a Mac: >> >> => https://media.skyjake.fi/openssl_debug.txt > > Here's my output: > https://cryptpad.avalos.me/code/#/2/code/view/52l0LbI+Fo8xPNa1k8bggAOr2MT QOSIr-St+J+ceBhY/ So far so good. At least we've verified that the behavior is indeed identical and we are using the same version of OpenSSL. I've made some small tweaks to my TLS code. If you have a chance, could you try it with this commit: https://git.skyjake.fi/skyjake/lagrange/commit/f83ef8bfbaa5558aca5759c92c481642ac312000 > The OpenSSL command took a lot of time to finish and print the output. Perhaps Lagrange thinks the connection has timed out? If you run it with the "--echo" option, is there a "document.request.timeout" logged when trying to open gus.guru? --jaakko
> I've made some small tweaks to my TLS code. If you have a chance, could you try it with this commit: https://git.skyjake.fi/skyjake/lagrange/commit/f83ef8bfbaa5558aca5759c92c481642ac312000 > > > The OpenSSL command took a lot of time to finish and print the output. > > Perhaps Lagrange thinks the connection has timed out? If you run it with the "--echo" option, is there a "document.request.timeout" logged when trying to open gus.guru? I tried with that commit, and with --echo option. Both gus.guru and gemini.circumlunar.space get stuck in that command: [command] document.request.started doc:0xaaaadb096170 url:gemini://gus.guru [command] document.request.started doc:0xaaaadb16b930 url:gemini://gemini.circumlunar.space/ The program is still running, but it doesn't echo anything else related to the requests. The request only starts but never updates or finishes. For example, this is what my gemsite shows: [command] open url:gemini://avalos.me [command] document.request.started doc:0xaaaadb1aa0d0 url:gemini://avalos.me [command] document.request.updated doc:0xaaaadb1aa0d0 request:0xaaaadb1577d0 ptr:0xaaaadb1aa0d0 [command] document.request.finished doc:0xaaaadb1aa0d0 request:0xaaaadb1577d0 ptr:0xaaaadb1aa0d0 [command] open redirect:1 url:gemini://avalos.me/ [command] document.request.started doc:0xaaaadb1aa0d0 url:gemini://avalos.me/ [command] document.request.updated doc:0xaaaadb1aa0d0 request:0xaaaadb1577d0 ptr:0xaaaadb1aa0d0 [command] document.request.finished doc:0xaaaadb1aa0d0 request:0xaaaadb1577d0 ptr:0xaaaadb1aa0d0 [command] document.changed url:gemini://avalos.me/
---