News for hackers. Stuff that matters.
Re:Minimal Cross-Platform Graphics by enriquto on Tuesday January 24, 2023 @05:44AM (#34501996)
This is extremely useful, and the page is beautifully written. Some people write absurd electron behemoths, and then there's this jewel of elegance.

Could this be compiled as an αpε? Such a thing would make many heads explode.

Re:Minimal Cross-Platform Graphics by abainbridge on Tuesday January 24, 2023 @08:40AM (#34503391)
I think the Xlib dependency would prevent compilation as an αpε. I put some effort into doing X11 from scratch (without Xlib or Xcb) to make this possible. Or at least, my aim was to be able to build with musl libc and generate a single executable that would run on many different Linuxes.

https://github.com/abainbridge/deadfrog-lib/blob/master/src/.... It is janky though.

Re:Minimal Cross-Platform Graphics by 082349872349872 on Tuesday January 24, 2023 @09:59AM (#34504359)
One advantage of speaking X directly for small projects is that one can allocate fixed ids.
Re:Minimal Cross-Platform Graphics by csdvrx on Tuesday January 24, 2023 @04:34PM (#34510766)
Super interesting!

> It is janky though

So what? It can be improved :)

Would you like to try to make an APE out of it? It would then be not just different Linuxes, but also MacOS and Windows, a bit like https://x410.dev/ or the free software vcxserv https://sourceforge.net/projects/vcxsrv/

Re:Minimal Cross-Platform Graphics by enriquto on Tuesday January 24, 2023 @06:32PM (#34512177)
> We have discord. You should join us!

Who is "you", here?

Re:Minimal Cross-Platform Graphics by csdvrx on Tuesday January 24, 2023 @08:32PM (#34513176)
People who try to hack stuff with APE - here abainbridge but hopefully, you too: the more the merrier :)
Re:Minimal Cross-Platform Graphics by rootbear on Tuesday January 24, 2023 @09:41AM (#34504114)
Alpha Rho Epsilon? Alpha Pee Epsilon? Google isn't helping me here...
Re:Minimal Cross-Platform Graphics by jstrieb on Tuesday January 24, 2023 @09:43AM (#34504151)
I think they're referring to this:

https://justine.lol/ape.html

One of many HN discussions about the topic here:

https://news.ycombinator.com/item?id=26273960

Re:Minimal Cross-Platform Graphics by rootbear on Tuesday January 24, 2023 @10:38AM (#34504898)
Thank you! When I encounter an unknown term on HN, I try to find out for myself what it is before bugging everyone, but it doesn't always work.
Re:Minimal Cross-Platform Graphics by jstrieb on Tuesday January 24, 2023 @11:20AM (#34505654)
Yup! Besides being hard to search, others have commented that the name might be bad for accessibility:

https://news.ycombinator.com/item?id=24257503