IRC channel logs

2022-06-09.log

back to list of logs

<stis>long double is useful to maintain precition of doubles, but for extra precition we use 128 bit quad values
<sneek>tohoyn: Greetings!
***chris is now known as Guest2743
***Guest2743 is now known as chrislck
<chrislck>sneek: botsnack
<sneek>:)
<apteryx>do we have a readily usable equivalent to 'python -m http.server $(port)' in Guile ?
<apteryx>looks like Guile gives me the bricks to implement one, rather than an actual basic implementation to play with
<lilyp>what does http.server do in python if not configured?
<lilyp>in general, I think the distinction between libraries and scripts is a harder one in Guile than it is in python
<lilyp>for a rare counterexample, see tsukundere, which I made to be both similar to how some python scripts work
<apteryx>lilyp: it just serves the local directory
<apteryx>so if you have a directory full of HTML corresponding to a web site, you can view it in a browser at localhost:$port
<lilyp>hmm that should be fairly easy to code up, but yeah, you'd have to code it up
<lilyp>also think about path traversal and all that fun stuff
<apteryx>it'd be nice to provide a basic implementation like this to serve this common use case in Guile proper
<stis>tjena guilers!
<apteryx>lilyp: seems I can just point my browser to the index.html file to get what I wanted