unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Diversification [ branched from Re: conflicts in the gnu project now affect guile]
@ 2019-10-20  6:10 Todor Kondić
  2019-10-20  6:14 ` John Cowan
                   ` (2 more replies)
  0 siblings, 3 replies; 81+ messages in thread
From: Todor Kondić @ 2019-10-20  6:10 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: guile-user@gnu.org

On Friday, 18 October 2019 17:09, pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:

> On Fri, Oct 18, 2019 at 11:29:35AM +0000, Todor Kondić wrote:
>
> > You know, there is a big IT department within our institution and telling them I will base some serious work on technologies such as GNU Guile and Guix did raise a few eyebrows (those not raised are probably the cause of their proprietors not being informed enough).
> > […]
> > Couple of notes:
> >
> > 1.  Are there any ladies on these lists? I am dying to hear from them
> > 2.  Related to (1) ... a brief look at the maintainers who signed the Joined Statement gives an impression that it leans heavily to the politically Western hemisphere; just a comment, maybe food for thought
> > 3.  The RMS scandal was brought to my attention by a female coder colleague who previously knew nothing of RMS's, or FSF's or GNU's work in the "Open Source Community"; another nibble for thought
>
> There have been few contributions from women,
> e.g. https://lists.gnu.org/archive/html/guile-devel/2017-03/msg00042.html
> (I do not know what its status is), but I believe bringing GNU Guile
> to professional use could help diversify. Thank you for that!
>
> Regards,
> Florian

Hi Florian,

Thanks for the kind words.

The problem of diversification goes way beyond the eccentric, or repugnant (choose at your leasure) views of certain prominent members of our "community".
I've set up my workflows around Guix, git(lab) and a customised Emacs installation (instead of R Studio). My small team of science students (majority female, various cultural backgrounds), never previously exposed to a GNU system to such an extent, managed to get a handle on it quite impressively.

But, I doubt any of them would find it natural to take a step further and participate in GNU itself (ugh, now I sound like a preacher of a new age religion). To my knowledge, interaction within GNU communities is still mostly mailing lists and IRC. This _not_ my students' natural digital habitat. I am probably not saying anything new, though ...





^ permalink raw reply	[flat|nested] 81+ messages in thread
* Web development
@ 2020-09-04 15:43 Zelphir Kaltstahl
  2020-09-04 16:44 ` Ricardo Wurmus
  0 siblings, 1 reply; 81+ messages in thread
From: Zelphir Kaltstahl @ 2020-09-04 15:43 UTC (permalink / raw)
  To: Guile User

Hello Guile Users!

Today I wanted to try developing a website in Guile again. I took a look
at GNU Artanis, but unfortunately it seems to be not compatible with
Guile 3 or at least not yet released for Guile 3. At least version 0.4.1
on Guix seems to still depend on Guile-2.2.x. So I thought "Hmmm I had
that example project once, but the issue was with serving static files
not being a good idea using Guile's web server." So that leads me to the
next point: What HTTP server to use?

- I could use NGINX, but then again I don't really like NGINX
configurations, even though I am familiar with it.

- I could try and get familiar with HAProxy. This seems to have the
advantage of being GPLv2.

But how to create a development setup? I'd like to not install Docker on
this particular system (so far it is very clean, only using free
software), but still keep my system clean. Perhaps I could use Guix
somehow (Guix containers?). Both, NGINX and HAProxy, seem available on Guix.

I seem to remember, that sending static files via Guile's web server
would be slow or insecure and that other HTTP servers make use of
sendfile or something, to be fast. Also they take care of MIME types
etc. I would be OK with being a bit slower, if I don't have to make a
huge effort to handle MIME types and whatever other stuff correctly. But
if there was something already implemented in Guile somewhere, which I
could copy for my project, perhaps that would work too.

I would like to have a local development environment, where I can start
a server (and the Guile service behind it) with a command and shut it
down again, but keeping my system rather clean.

So I have a few questions:

(1) How do you do your Guile web development? What's the setup?

(2) What do you use to serve static files (securely)? If you use Guile's
web server, how exactly do you do it? Do you have the code somewhere?

(3) Perhaps there is a minimalistic option instead of NGINX or HAProxy
out there, which is also free software? Is there perhaps even anything
in Guile, which I could use, that is suitable for serving static files?

Best regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl




^ permalink raw reply	[flat|nested] 81+ messages in thread
* Re: Web development
@ 2020-09-07  9:35 tantalum
  2020-09-07 19:53 ` Zelphir Kaltstahl
  0 siblings, 1 reply; 81+ messages in thread
From: tantalum @ 2020-09-07  9:35 UTC (permalink / raw)
  To: guile-user

this is what i use for web development:
* for static files, i use nginx and convert markdown to html using 
guile-commonmark, with an extension that allows calls to scheme code 
inside markdown (https://github.com/sph-mn/sph-web-publish) to generate 
some content like file listings
* for dynamically generated pages, i use nginx and scgi (like fastcgi 
but simpler, http://python.ca/scgi/protocol.txt, 
https://github.com/sph-mn/sph-lib/blob/master/modules/sph/scgi.scm) to 
call a guile procedure on request. the guile side uses this framework 
https://github.com/sph-mn/sph-web-app
* for serving generated files, i use the x-accel-redirect (x-sendfile) 
response header to instruct nginx to serve the file
* for example, the linked pages here http://sph.mn/other/utilities.html 
are generated on the fly with guile 3. guile is fast. some of the 
converters use external tools and have a long initial output delay for a 
yet unknown reason



^ permalink raw reply	[flat|nested] 81+ messages in thread

end of thread, other threads:[~2020-09-07 19:53 UTC | newest]

Thread overview: 81+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20  6:10 Diversification [ branched from Re: conflicts in the gnu project now affect guile] Todor Kondić
2019-10-20  6:14 ` John Cowan
2019-10-21  6:35   ` Arne Babenhauserheide
2019-10-21 13:45     ` Amirouche Boubekki
2019-10-23  6:16   ` Amirouche Boubekki
2019-10-23  6:27     ` Nala Ginrut
2019-10-23  6:48     ` pelzflorian (Florian Pelz)
2019-10-23 10:37       ` Chris Vine
2019-10-23 11:25         ` pelzflorian (Florian Pelz)
2019-10-23 12:33           ` pelzflorian (Florian Pelz)
2019-10-23 13:47             ` tomas
2019-10-23 14:10               ` pelzflorian (Florian Pelz)
2019-10-23 19:09                 ` Mikael Djurfeldt
2019-10-23 19:26                   ` pelzflorian (Florian Pelz)
2019-10-23 19:19             ` Zelphir Kaltstahl
2019-10-24  1:01               ` Nala Ginrut
2019-10-24  9:19                 ` pelzflorian (Florian Pelz)
2019-10-24  9:35                 ` mailmam, web bridge, forum, p2p (was: Diversification) Amirouche Boubekki
2019-10-24 12:30                   ` pelzflorian (Florian Pelz)
2019-10-24 14:15                     ` Nala Ginrut
2019-10-24 16:39                       ` Zelphir Kaltstahl
2019-10-24 23:42                         ` Nala Ginrut
2019-10-25  1:39                     ` mailmam, web bridge, forum, p2p Mike Gerwitz
2019-10-26  7:48                       ` tomas
2019-10-26 10:35                         ` Nala Ginrut
2019-10-26 11:34                           ` tomas
2019-10-27  4:50                         ` Mike Gerwitz
2019-10-27  5:32                           ` Mike Gerwitz
2019-10-27  8:50                             ` tomas
2019-10-27  8:36                           ` tomas
2019-10-27 14:26                           ` Keith Wright
2019-10-27 19:28                             ` Zelphir Kaltstahl
2019-10-25  6:08                     ` mailmam, web bridge, forum, p2p (was: Diversification) pelzflorian (Florian Pelz)
2019-10-25  6:23                       ` Nala Ginrut
2019-10-26  4:31                       ` mailmam, web bridge, forum, p2p Mike Gerwitz
2019-10-26  9:35                         ` pelzflorian (Florian Pelz)
2019-10-26 11:31                           ` tomas
2019-10-24 13:32                   ` mailmam, web bridge, forum, p2p (was: Diversification) tomas
2019-10-24 15:03                     ` Nala Ginrut
2019-10-24 15:12                       ` tomas
2019-10-24 16:35                         ` Zelphir Kaltstahl
2019-10-26  8:04                           ` tomas
2019-10-26  9:42                             ` pelzflorian (Florian Pelz)
2019-10-26 11:31                               ` tomas
2019-10-25 11:30                       ` Mikael Djurfeldt
2019-10-25 12:53                         ` Nala Ginrut
2020-09-05  6:15               ` Diversification [ branched from Re: conflicts in the gnu project now affect guile] Joshua Branson via General Guile related discussions
2020-09-05 11:50                 ` Web development Zelphir Kaltstahl
2020-09-05 13:09                   ` Ricardo Wurmus
2019-10-28 11:04             ` mailman web interface (was: Diversification) pelzflorian (Florian Pelz)
2020-07-08 12:32               ` pelzflorian (Florian Pelz)
2020-09-05  6:21                 ` mailman web interface Joshua Branson via General Guile related discussions
2020-09-05  7:53                   ` pelzflorian (Florian Pelz)
2020-09-05 13:32                     ` Joshua Branson
2019-10-23 13:43         ` Diversification [ branched from Re: conflicts in the gnu project now affect guile] tomas
2019-10-23 17:39           ` Chris Vine
2019-10-23 19:58             ` Mailman web interface [was: Re: Diversification] pelzflorian (Florian Pelz)
2019-10-23 20:02           ` Diversification [ branched from Re: conflicts in the gnu project now affect guile] pelzflorian (Florian Pelz)
2019-10-26  8:14             ` tomas
2019-10-26  9:03               ` pelzflorian (Florian Pelz)
2019-10-26 11:26                 ` tomas
2019-10-26 13:02                   ` Zelphir Kaltstahl
2019-10-26 15:23                     ` tomas
2019-10-26 16:47                     ` pelzflorian (Florian Pelz)
2019-10-26 17:09                       ` pelzflorian (Florian Pelz)
     [not found]                         ` <874kzslwq0.fsf@elephly.net>
2019-10-28 15:41                           ` pelzflorian (Florian Pelz)
2019-10-23 13:45       ` tomas
2019-10-20  8:07 ` pelzflorian (Florian Pelz)
2019-10-20  8:08   ` pelzflorian (Florian Pelz)
2019-10-22 18:47 ` Mark H Weaver
2019-10-22 19:23   ` Zelphir Kaltstahl
2019-10-22 20:51     ` Arne Babenhauserheide
2019-10-22 23:24     ` Chris Vine
2019-10-23  0:57       ` Zelphir Kaltstahl
2019-10-23  6:44         ` pelzflorian (Florian Pelz)
  -- strict thread matches above, loose matches on Subject: below --
2020-09-04 15:43 Web development Zelphir Kaltstahl
2020-09-04 16:44 ` Ricardo Wurmus
2020-09-04 20:09   ` Zelphir Kaltstahl
2020-09-04 20:25     ` Ricardo Wurmus
2020-09-07  9:35 tantalum
2020-09-07 19:53 ` Zelphir Kaltstahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).