💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-11-19.txt captured on 2024-05-26 at 16:04:22.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

[2022-11-19T00:12:55Z] <phoebos> yeah, i just meant to show that ipv6 was working fine to connect to their server
[2022-11-19T02:47:30Z] <midfavila> phoebos was it you who I discussed Athena with a while back?
[2022-11-19T03:34:44Z] <testuser[m]> Hi
[2022-11-19T03:36:09Z] <testuser[m]> midfavila: glasnost has riscv
[2022-11-19T04:37:29Z] <wael_> Hi
[2022-11-19T11:16:55Z] <phoebos> midfavila: yes, I think I sent you a couple of my awful athena programs
[2022-11-19T11:17:48Z] <phoebos> on that topic, I was doing some particle simulations in plain Xlib yesterday
[2022-11-19T13:05:25Z] <testuser[m]> Send
[2022-11-19T13:17:06Z] <midfavila> phoebos, i'm working on refurbing a library you'll be interested in, then
[2022-11-19T13:17:33Z] <midfavila> it's called "libsx" - the Simple X Library. it's around 30 years old, but it's still maintained and (relatively) small 
[2022-11-19T13:18:08Z] <midfavila> about 8k lines of ANSI C. it sits atop Athena and provides some abstractions for working with common widget types so that using Xaw is slightly less homicidal-tendency-inducing
[2022-11-19T13:18:39Z] <midfavila> it includes seven or so demos, and on average it seems to cut the amount of boilerplate necessary to use xaw to about half - maybe less
[2022-11-19T13:20:21Z] <midfavila> it also includes some small additions to the athena widget set like a color selector 
[2022-11-19T14:37:53Z] <wael_> xso ture
[2022-11-19T14:37:54Z] <wael_> so ture
[2022-11-19T14:37:56Z] <wael_> so true
[2022-11-19T15:02:12Z] <midfavila> actually i just ran cloc on the source directory - the demos make up about 3.2k lines of C. library itself is 4834+358 lines of header
[2022-11-19T15:02:17Z] <midfavila> (for libsx)
[2022-11-19T16:09:38Z] <wael_> so shocking
[2022-11-19T16:42:12Z] <Torr> wael_: What?
[2022-11-19T16:42:32Z] <wael_> wat
[2022-11-19T17:03:20Z] <phoebos> midfavila: sounds excellent. link?
[2022-11-19T17:05:36Z] <midfavila> one secceroni my dude
[2022-11-19T17:05:53Z] <midfavila> https://web.physics.wustl.edu/marty/libsx/libsx.html
[2022-11-19T17:05:54Z] <midfavila> dox
[2022-11-19T17:06:01Z] <midfavila> https://tracker.debian.org/pkg/libsx
[2022-11-19T17:06:06Z] <midfavila> doobiedoo sources
[2022-11-19T17:06:43Z] <midfavila> you'll need to remove some function prototypes (compiler should error out with __P in them -- they're prototypes for posix funcs from pre-posix days) and you'll need to add #include <X11/IntrinsicP.h> to xstuff.h under src
[2022-11-19T17:06:58Z] <midfavila> after that it's smooth sailing
[2022-11-19T17:07:49Z] <midfavila> i'm thinking about rewriting some of the widgets from "A Survey of Widget Sets" to use libsx, tbqh - some of the behavior libsx provides is really nice. for example, autoconfiguration of scrollwheel callbacks on lists 
[2022-11-19T17:11:03Z] <midfavila> http://www.efalk.org/Widgets/
[2022-11-19T17:11:16Z] <midfavila> ^tabs, a file selector, and other goodies
[2022-11-19T17:12:14Z] <midfavila> i'm a big fan of the frame widget - it looks *really*, *really* good
[2022-11-19T17:12:57Z] <midfavila> http://0x0.st/olAT.png
[2022-11-19T17:13:10Z] <midfavila> ^framedemo with traditional xaw, not 3d or anything
[2022-11-19T17:13:30Z] <phoebos> niiice
[2022-11-19T17:14:18Z] <midfavila> honestly it makes me feel pretty confident about Xaw's ability as a toolkit
[2022-11-19T17:14:30Z] <midfavila> for non-trivial applications, I mean
[2022-11-19T17:20:27Z] <phoebos> hm, needs libxaw3dxft
[2022-11-19T17:20:38Z] <midfavila> nah, it doesn't
[2022-11-19T17:20:49Z] <midfavila> you can just sed -i 's/Xaw3dXft/Xaw/g' *
[2022-11-19T17:21:01Z] <midfavila> here, one sec
[2022-11-19T17:21:05Z] <midfavila> i'll send you a patched tarball
[2022-11-19T17:22:08Z] <midfavila> http://0x0.st/olAQ.tar.gz
[2022-11-19T17:22:34Z] <midfavila> this should compile with a simple 'make' under src
[2022-11-19T17:23:50Z] <midfavila> i haven't rewritten the makefiles themselves so they might be a little crusty, but they do work
[2022-11-19T17:25:28Z] <midfavila> gosh I think this is the first time I've been excited about programming in a long time
[2022-11-19T17:25:51Z] <midfavila> athena + libsx + a handful of supplements from that page would be fuckn *awesome*
[2022-11-19T22:07:22Z] <midfavila> phoebos, do you have any clue what goes on with the *customization: -color flag wrt: Xaw programs?
[2022-11-19T22:07:40Z] <midfavila> only a handful accept it, but those that do (XCalc, XMessage, XEdit etc) end up looking really nice
[2022-11-19T23:38:40Z] <midfavila> nvm, after taking five seconds to poke around it just loads an alternate (really nice) set of resources