freenode/#lisp - IRC Chatlog
Search
4:35:18
Oladon
So I've made some progress, thanks to you guys' earlier assistance: https://plaster.tymoon.eu/view/1672#1672 -- it's now correctly sending the events, but it's still closing the socket when the function finishes. And I can't seem to figure out why :(
4:47:08
Oladon
loke`: Any chance you're around? Seems that you managed to do something with Hunchentoot's detach-socket way back in 2014...
5:18:06
alandipert
has anyone built a a single-page web application with JSCL, or is anyone otherwise aware of one?
6:02:05
no-defun-allowed
ACTION notes that matrix-irc bridge appears to drop all but one "Good morning everyone!" now. :<
7:32:37
no-defun-allowed
Given you can pass conditions around like any other value and signal them, no.
7:40:27
lieven
hmmm restarts are also objects like any other, albeit with dynamic extent. there's some scope for very obfuscated code there.
9:16:36
pjb
Josh_2: the exact condition signaled by most CL functions is not specified. Since it's not specified how they're implemented, it's not even know if/what condition could be signaled in addition to those specified. It's almost never documented by library functions. So reading the source will not be that useful.
9:17:11
pjb
Josh_2: furthermore, some implementations are written in C or other languages, so it's not even easy to consider analysing the CL sources.
9:18:49
pjb
Josh_2: for example, any function that will ultimately allocate memory, could signal a out-of-memory condition. Any function that uses arithmetic operators could signal a divide-by-zero or other arithmetic-error condition.
9:45:23
pjb
Josh_2: You could write an implementation that would compute the full type of functions including the set of condition it may signal.
10:08:42
lieven
in an implementation where conditions are regular objects and that has MOP, you can define new conditions at run time
11:16:56
pjb
(ql:quickload "xmls") (xmls:toxml (xmls:NODELIST->NODE '(book () (title () "foo") (author () "bart")))) #| --> "<book><title>foo</title><author>bart</author></book>" |#
12:22:04
z147
I'm learning about CL web frameworks / app. env. Planning to serve via nginx / fastcgi. Currently experimenting with Clack. Going through the list at Cliki https://cliki.net/web%20framework. Would appreciate tips about CL web frameworks under production use / development.
12:25:13
Josh_2
then there is Smackjack for AJAX, parenscript to generate JS (If you want), postmodern for db access
12:25:32
Josh_2
currently I'm not using ningle, I have a website that is built directly on hunchentoot, but I have an idea for a website that I will most likely use ningle to build
12:27:36
z147
I'm going through the basics with clack at the moment. Areas of application will be general website/ CMS. Also need to learn more as far as input sanitation and security. So I was thinking the first step would be to seek feedback on what frameworks if any are being used in production
14:07:34
jmercouris
Error: Module asdf was not provided by any function on *MODULE-PROVIDER-FUNCTIONS*.
14:09:07
Bike
putting asdf in an asdf-loadable location won't help if asdf has not already been loaded, surely
14:09:30
Xach
require is a way to load stuff but the exact mechanism varies from cl to cl. so don't use require.
14:10:48
Xach
Oh, it has documentation for how to load a new asdf over an old one and those instructions say to use "require"?
14:11:23
Bike
https://common-lisp.net/project/asdf/asdf.html#Loading-ASDF i think this is what jmercouris is referring to
14:12:38
jmercouris
I have now at the top of my ccl-init the following: (load (compile-file "/Users/jmercouris/Source/Lisp/asdf/build/asdf.lisp"))
14:15:11
Nilby
Except it might break with the 'compile-file' if you try too many lisp different lisp versions or different architectures.
14:56:21
Xach
argh. dbd-oracle has an implicit dependency on cl-syntax, and one of its other dependencies must have dropped it, because despite no changes in two years dbd-oracle stopped building today.
14:58:16
jmercouris
simultaneously, the double edged sword that makes your project easily, but also brings it to its knees when the abstraction isn't quite good enough
14:58:29
Xach
The project being unmodified for two years makes me wonder if it will be changed promptly, but we'll see
15:01:02
Xach
this kind of problem most often happens with implicit reliance on things that slime loads, like sb-posix and stuff.
15:01:29
Xach
those at least are easy to find right away, before a project is accepted. an accepted, unchanging project that breaks later is more awkward.