freenode/#lisp - IRC Chatlog
Search
13:33:53
pve
Hi! I would like to give instances of my generic function class a default "function". Is the correct place to do this in "initialize-instance :after ((gf my-gf-class) ... " using set-funcallable-instance-function?
13:46:28
jackdaniel
so when you add /first/ method and /second/ method, and remove /first/ method.. :-)
13:46:32
phoe
sounds like you either need a general case for 0 methods or that you need to handle both cases, namely, in some sort of initialization code and then in your remove-method
13:47:26
pve
phoe: exactly, I only asked because I'm having some problems getting it to work using initialize-instance :after
13:49:48
pve
Bike: hmm actually if I replace the default function with something simple like (print 'hello) it does work.. so the problem is most likely elsewhere
13:52:40
pve
the point of this is to improve my "does-not-understand" functionality which uses no-applicable-method, but it only seems to work when the gf has at least one method
13:58:40
obnoxious_glenda
ugh, someone in #programming called lisp a broken toy left in the trash, leaving its stench off for ages
14:00:30
jackdaniel
well, that description comes nice with "lisp is not dead, it just smells funny" :)
14:10:22
Demosthenex
ok, so i'm using clsql with sqlite, and trying to use the s expression based sql queries. i'm translating over some sql with subqueries, ie: select * from table1, (select * from tables2...) as subtable ... and can't see how clsql supports subqueries?
15:31:47
phoe
hhdave: I assume yes; you might also post on /r/Lisp and /r/Common_Lisp and optionally ask Xach for publishing on Planet Lisp for more visibility
15:31:54
jackdaniel
generally speaking I'm sure that there are a few, but more details would make this question less vague
15:32:52
phoe
or you can link us here in #lisp towards the details of the job offer and I'll do my best to distribute it across other channels
15:33:07
hhdave
I work for a small Insurance MGA (https://github.com/Virtual-Insurance-Products) in Devon, England and we're in need of another CL programmer (at least 1). The previous guy we had left to do Rust programming.
15:35:20
hhdave
We have a web based CL application which is accessed by many brokers across the country (mostly - we had/have some clients in Ireland and some in Poland too) selling niche insurance products.
15:35:39
jackdaniel
if you won't find someone full time, let me know -- I'm available at smaller capacity as a consultant
15:36:23
hhdave
@jackdaniel: that's great, thanks. Even if we do find someone it could be useful to have you as a standby in case there's suddenly loads of work. I am, in fact, really busy.
15:37:23
hhdave
CLIM knowledge would certainly be relevant, though my 'CLIM' implementation stuff is probably a bit mad compared to proper McCLIM or such
15:40:25
hhdave
I'm using that clim-web stuff for most of the front end bits that I do nowadays. I've still hardly had time to play with real CLIM.
15:40:59
jackdaniel
https://pbs.twimg.com/media/EUsIcSkWAAI4GgA?format=png&name=large <- the first "window" (topmost)
15:41:36
jackdaniel
(this is a matrix I've used for checking various features the verify if they work)
15:41:49
hhdave
Does it, in any way, make sense to have a McCLIM renderer that could generate actual HTML? I know that wouldn't cover everything and a lot of graphical stuff would need the canvas, but would there be any way to make it work do you think? I know you were playing with TUI renderers or something weren't you?
15:43:03
jackdaniel
it would also make sense to write something more interactive, but that would be much more work and would involve javascript
15:44:06
jackdaniel
also scymtym wrote a broadway backend, that works over gtk protocol that is capable of running in the browser (afair), and that one is truly interactive
15:46:38
jackdaniel
so after cleaning up some McCLIM internals it will be much easier to write a backend
15:49:47
jackdaniel
there is not much written, but here is the part about the port: http://turtleware.eu/static/paste/c404b66e-backend.org
15:50:01
hhdave
It's really great that there seems to be so much more interest in McCLIM these days. A few years ago, about the time I discovered it and started looking into it, it seemed all but abandoned.
15:50:39
phoe
hhdave: please ping me with the details - I'll do the cross-posting later today, but I need to disappear now
15:53:17
hhdave
What I would really like to do is to somehow replace (most of?) my 'strange' impementation of sort of CLIM with McCLIM and just make a backend (and whatever else is needed) to make it good for writing normal(ish) looking web applications Really Easily. I have almost no idea as to the feasibility of that though. I started off just adopting some of the ideas into my codebase, but then ended up gradually (and then less gradually) evolving it to be more
15:55:06
jackdaniel
I have more modest wishes - I'd like to have the coordinate swizzling removed soon-ish :)
17:59:32
dbotton
Does anyone know what the built in packages "gray" and "walker" are in ecl? The manual is blank for them?
18:05:48
Alfr
dbotton, Gray Streams is a rejected proposal for the standard, a number of implementations have it tough. http://www.nhplace.com/kent/CL/Issues/stream-definition-by-user.html
18:06:52
White_Flame
usually the walker goes through a source code form, distinguishing what's code vs data, what's a lexical variable name, etc
18:17:40
phoe
http://portability.cl/ lists ABCL, ACL, CCL, Clasp, CLISP, ECL, LW, Mezzano, MOCL, and SBCL under t-g-s