freenode/#lisp - IRC Chatlog
Search
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.
15:11:53
sabrac
current implementation testing grumble. clisp cannot find a test package but sbcl, ccl, ecl, allegro, abcl and cmucl can. different asdf? Something else I should look for?
17:30:33
didi
Could I rewrite https://paste.debian.net/hidden/d537705f so a compiler could compile (take l) and (take l k) to different functions?
17:35:25
beach
But, yes, you can write a compiler macro that checks how many arguments the form has, and substitute different function-calling forms in each case.
17:42:48
Josh_2
Is there an built in function to compare simple-array character and simple-base-string?
17:46:26
Bike
er, wait, if you mean a simple-array actually with upgraded array element type character, you can just use EQUAL
22:01:42
kpoeck
asdf was included in clisp 9 years ago, now I just need to remember when the last release was done
22:09:42
kpoeck
They were so close to a new release in 2018 - there was even a release candidate - but than it was not finished
22:10:22
_death
it's interesting that for example on archlinux the current package is for a 2018-02-18 version.. the package source indicates that they use the hg repository, which has been made obsolete, so if updated, it could use a more recent version
22:34:11
jmercouris
basically, I'm looking for the cl-cffi-gtk equivalent of gtk_widget_set_size_request
22:35:34
jmercouris
(defgeneric (setf gtk-widget-size-request) (size widget) line 7093 of gtk.widget.lisp