<beach>
Your methods should specialize to at least one of your own classes.
<hayley>
I agree.
<gin>
that is a method provided by hunchentoot
<beach>
Then you should tell the author that there are two methods with the same specializers, or that the same method is loaded twice.
<hayley>
As you don't specialise the method at all, you are replacing the method provided by Hunchentoot. If you were to have your own subclass of ACCEPTOR, and specialise your method to that subclass, the warning would not be emitted, as you aren't replacing another method.
<hayley>
I can't find the string "Error" in my copy of the Hunchentoot code.
<gin>
sorry, I think I misspoke. the one in the code example shared above is my method and it does redefine the author's method
<beach>
Then the message is normal. You should not do that.
<gin>
thanks. i will subclass acceptor and specialize my own method.
<beach>
Pleasure.
vn36 has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest1852
vn36 has quit [Ping timeout: 252 seconds]
<jackdaniel>
hum, for some reason I'm ghosted on reddit lispmemes, and I've posted there such a nice picture
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
<phoe>
jackdaniel: automod has been acting up for a long time and I have no idea how to fix it tbh
<phoe>
let me just try and disable it
<phoe>
jackdaniel: done, have you made any more posts there that got removed? the subreddit's mod queue is empty
mfiano has quit [Quit: WeeChat 3.6]
mfiano has joined #commonlisp
azimut has joined #commonlisp
<kaskal>
hi, is there any project that lets you interact with MPI code ? in the sense that `cl-mpi` only lets you AFAIK create an executable with mpi-calls and so on, but I'd like to have a shell where I can do `(send-to-ranks '(print (mpi-comm-rank))` is there something like this already standing ?
<kaskal>
There is this paper of the 90s where they did something similar in GCL , I think it was called X/MPI but for the love of me I can't find it anymore
<phoe>
jackdaniel: I see it on lispmemes normally, so all should be good now
<jackdaniel>
great, thanks
<jackdaniel>
now my fame begins
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
VincentVega has joined #commonlisp
<phoe>
jackdaniel: asking unironically, what sort of lisp code is being produced by copilot right now? is it of bearable enough quality to be used by programmers?
perrierjouet has quit [Quit: WeeChat 3.7]
<jackdaniel>
a second hand testimony is that it works, but it is not very impressive
perrierjouet has joined #commonlisp
<hayley>
A friend quipped that a statistical model should do less well if you don't have much redundancy to start with.
pranavats has left #commonlisp [Error from remote client]
Alfr has joined #commonlisp
doomduck has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
doomduck has joined #commonlisp
Everything has joined #commonlisp
random-nick has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
amb007 has joined #commonlisp
MajorBiscuit has joined #commonlisp
pranavats has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
MajorBiscuit has quit [Read error: Connection reset by peer]
MajorBiscuit has joined #commonlisp
MajorBiscuit has quit [Client Quit]
VincentV` has joined #commonlisp
VincentVega has quit [Ping timeout: 264 seconds]
MajorBiscuit has joined #commonlisp
VincentV` has quit [Ping timeout: 268 seconds]
utis has quit [Ping timeout: 268 seconds]
utis has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
jmdaemon has quit [Ping timeout: 252 seconds]
fitzsim has joined #commonlisp
tyson2 has joined #commonlisp
notzmv has joined #commonlisp
vn36 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
<phoe>
oh no, my youth came to bite me
euandreh has quit [Quit: WeeChat 3.6]
<phoe>
I started scratching my head why alexandria does not export if-let*
vn36 has joined #commonlisp
<phoe>
only for me to realize that over three years ago I wrote a post where I argued against its existence
* phoe
sighs, goes to argue with himself
<hayley>
IF-LET* is a Pitman-Norvig style violation?
<phoe>
what exactly do you mean?
<AadVersteden[m]>
I really like the naming of if-let and when-let etc. It gives a good hint at what will happen.
<hayley>
The argument to IF is a Boolean, so by P-N style the value bound by the LET* part can only be treated as "true".
<phoe>
yes, same as WHEN-LET and WHEN-LET*
<hayley>
Or vice versa; treating the value as something more than "true" violates the style guideline for the first argument for IF.
<phoe>
and IF-LET
<hayley>
Oh! So IF-LET is exported but not IF-LET*?
<phoe>
no, IF-LET* does not exist
<hayley>
Right then.
MajorBiscuit has quit [Ping timeout: 260 seconds]
<Posterdati>
hi
<Posterdati>
please help, I need to run an hunchentoot instances for a website, which provider has the possibility to run common lisp in europe/italy? Thanks for help!
<_death>
I don't think I've seen an if-let with more than one binding in the wild before.. so now I wrote a snippet to look for such use in third-party libraries on my machine and found a few in alexandria tests, cl-data-structures, do-urlencode, esrap, fiveam and fiveam-asdf, mcclim
aartaka has joined #commonlisp
MajorBiscuit has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
cage has joined #commonlisp
m5zs7k has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
vn36 has quit [Ping timeout: 246 seconds]
Josh_2 has joined #commonlisp
vn36 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
m5zs7k has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
chipxxx has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 264 seconds]
waleee has joined #commonlisp
<dbotton>
I am planning on starting a new project (partially to exercise my current ui one). My original plan was to do a tool for running small to mid size teams (still planned) of developers. However I've decided I want to attempt some sort of tool or tools first to deal with coder's/programmer's/writer's block
<dbotton>
Anyone have a tried and true set of tips for people blocked?
<_death>
do something else
<pjb>
1- always leave something to debug for tomorrow, so you can start again easily.
jeosol has quit [Ping timeout: 244 seconds]
<pjb>
2- start with mindless easy tasks.
<pjb>
(just to get you started)
motherhucker has joined #commonlisp
<dbotton>
(I always keep a list like that, I am scared to death to no have a "get me" started item)
<dbotton>
_death such as?
<dbotton>
meaning something programming wise or something life wise
<_death>
dbotton: anything that comes easy.. walk around the block :)
<dbotton>
have anything if one has a dead line and can not do anything else?
<dbotton>
coffee probably on my list too
<yitzi>
I agree with _death. I usually take a walk. or sit outside and just relax.
<dbotton>
any idea how much time works?
<yitzi>
I find that even 5 minutes of not forcing myself to think about the problem results in a burst of ideas when I start again.
<_death>
just get some perspective and accept that humans can't always abide deadlines..
<dbotton>
we had a foosball table at one of the companies I worked at
<dbotton>
it did wonders for clearing the air - and pro trash talk
<dbotton>
I learned a lot of interesting french expressions
epony has quit [Quit: QUIT]
<_death>
in my last job I solved some hard design problems by just doing something else and letting my subconscious work on them.. we'd have their deadlines "after the weekend" so it worked well (on the weekend I wouldn't think about work at all)
<_death>
and on sunday (first working day here) I'd know what to do
sabra has joined #commonlisp
<dbotton>
_death I attribute almost any success I have ever had to never allow my self to even think of any code on my day off
<dbotton>
(that reads horrible)
<dbotton>
(need to use commas more)
<dbotton>
pjb mindless task on same project or any project?
<sabra>
Anyone aware of work being done on green-threads? The current library has a couple of issues that have been unaddressed for a couple of years.
vn36 has quit [Ping timeout: 268 seconds]
eddof13 has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
<splittist>
dbotton: start to write the documentation/tutorial/summary of what you are trying to achieve. Not only does this get you to look at things from another angle, it is usually so painful the thing you were avoiding suddenly seems tractable (:
<dbotton>
splittist I feel the pain
random-jellyfish has quit [Quit: Client closed]
thuna` has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
<Shinmera>
I like writing docs :(
amb007 has joined #commonlisp
<contrapunctus>
Same
vn36__ has joined #commonlisp
<edgar-rft>
if you get older you'll learn to love writing docs because otherwise you'll always forget everything :-)
amb007 has quit [Ping timeout: 246 seconds]
pdietz has joined #commonlisp
amb007 has joined #commonlisp
eddof13 has joined #commonlisp
<susam>
I like writing docs too. I feel a sense of incompleteness until the docs are written. Also, often writing the docs helps me notice if something is clunky from a user/reader perspective which in turn helps me to go back and improve the project.
<Shinmera>
Indeed.
<pdietz>
Get something running, even if it's a small piece. This can and should involve writing tests.
amb007 has quit [Ping timeout: 264 seconds]
<dbotton>
edgar-rft - that is so true :(
ttree has joined #commonlisp
<dbotton>
pdietz - having something running in certainly a big part of the secret weapon of Common Lisp's REPL
<dbotton>
has anyone played with methods of automating creating tests from playing with things in the REPL?
motherhucker has quit [Read error: Connection reset by peer]
<Shinmera>
I believe Prove was written with that as the base idea? I don't think it works well in practise, though.
motherhucker has joined #commonlisp
<Josh_2>
Play with it in the repl until it works
<Josh_2>
then just assume there are no bugs :sunglasses:
<Josh_2>
OR assume there are bugs and accept it :joy:
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<splittist>
Can I do it? How should I do it? How should it be invoked? How can I explain it? What should it really do? For me the tests come at or near the end. (You will note how I leap over: Should it be done?...)
MajorBiscuit has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
<pdietz>
I like a test suite where individual tests are named and subsets of the tests can be extracted and used in place of the whole test suite. In the use case I consider, I want to know which tests call a particular function during their execution.
justache is now known as justHaunted
Cymew has quit [Ping timeout: 246 seconds]
tyson2` has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
tyson2 has quit [Ping timeout: 246 seconds]
eddof13 has joined #commonlisp
vn36__ has quit [Ping timeout: 264 seconds]
motherhucker has quit [Ping timeout: 248 seconds]
tyson2` has quit [Remote host closed the connection]
pdietz has quit [Quit: Client closed]
pdietz has joined #commonlisp
vn36 has joined #commonlisp
<kakuhen>
2am is pretty nice for unit tests. It's what I use for my projects since it's a single file with no dependencies. With that said, it's inconvenient the moment you want to make integration tests. (e.g. I don't want to run API tests on my web app until I'm sure all DB tests passed, especially if some API calls make use of the database)
<pdietz>
A lot of them represent each test as a function that can be called. One can, at least, get a list of such functions and invoke them, although perhaps not as a "test suite".
gateway2000 has quit [Quit: Leaving]
<jackdaniel>
oh, I've created 2am, I thoight that I'm a sole user :)
<jackdaniel>
it is based on 1am
<yitzi>
jackdaniel: I like it, btw.
<jackdaniel>
nothing beats a weekend hack! ;) I'm glad that others find it useful. it was tailored to ecl regression test needs
<kakuhen>
TIL. I saw it on someone's GitLab profile and that is the version I use. It's what I've been using for all of my recent projects
gateway2000 has joined #commonlisp
gateway2000 has quit [Remote host closed the connection]
morganw has quit [Remote host closed the connection]
<pjb>
dbotton: better on the same project, but if not possible, another project (but that would be called procrastination).
<pjb>
dbotton: writing specs or documentation can be this kind of mindless task ;-)
<pjb>
dbotton: what could help too, is to talk with users. That may motivate and activate your problem solving brains.
MajorBiscuit has joined #commonlisp
tyson2 has joined #commonlisp
gateway2000 has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 260 seconds]
pdietz has quit [Quit: Client closed]
pdietz has joined #commonlisp
<dbotton>
users for sure help tremendously for me pjb
xlarsx has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #commonlisp
xlarsx has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
igemnace has quit [Remote host closed the connection]
gateway2000 has quit [Remote host closed the connection]
haxala1r has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
morganw has joined #commonlisp
amb007 has joined #commonlisp
xlarsx has joined #commonlisp
aartaka has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
amb007 has joined #commonlisp
<thuna`>
How do I use check-it's def-generator? The documentation doesn't explain what the inputs and the outputs are supposed to be
amb007 has quit [Ping timeout: 264 seconds]
aartaka has quit [Ping timeout: 246 seconds]
gateway2000 has joined #commonlisp
Oddity has joined #commonlisp
cosimone has quit [Ping timeout: 246 seconds]
Brucio-61 has quit [Read error: Connection reset by peer]
Brucio-61 has joined #commonlisp
cosimone has joined #commonlisp
gateway2000 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
aartaka has joined #commonlisp
xlarsx has quit [Quit: Leaving...]
attila_lendvai has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
haxala1r has quit [Quit: Quit]
srji has quit [Ping timeout: 264 seconds]
azimut has quit [Ping timeout: 258 seconds]
srji has joined #commonlisp
gateway2000 has joined #commonlisp
azimut has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
gateway2000 has quit [Remote host closed the connection]
_cymew_ has quit [Ping timeout: 246 seconds]
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
pdietz has quit [Quit: Client closed]
vn36 has quit [Ping timeout: 268 seconds]
causal has joined #commonlisp
MajorBiscuit has joined #commonlisp
Everything has quit [Quit: leaving]
vn36 has joined #commonlisp
pdietz has joined #commonlisp
sabra has quit [Quit: Konversation terminated!]
<Josh_2>
If Parenscript compiles to JS, then surely I can write a lisp language using PS which runs on the web
<Josh_2>
Or actually it would be a lisp language, in cl which compiles to JS per request
<aeth>
wasm's available now
<Josh_2>
A CL -> WASM
<Josh_2>
instead of CL -> JS using PS
<Josh_2>
But CL is quite complicated, I dont think I have it in me write a Cl -> WASM compiler. I think I'd rather make a toy lang which is used for making interactive webpages
<Josh_2>
I think in reality this would just end up as a bunch of macros over PS
<Bike>
parenscript works because it doesn't really do the full CL, so you don't have to embed the whole standard library in your webpage. you'd probably need that for wasm just as well.
<phoe>
the main issue in CL on WASM is dealing with the runtime, which CL kind of needs
<phoe>
if you want all of CL in WASM then you need all of CL in WASM
<dbotton>
I know jackdaniel has ECL running in wasm, is there more work planned in that direction?
<pve>
dbotton: regarding tests from the repl: I once made a thing where I would test a function in the repl and paste the input and output verbatim into the docstring of the function in question. Then I had a run-tests function that would run the "tests" it found in the docstrings in my package. The idea was to at least have a couple of examples in the docstring that also functioned as tests, in case I didn't
<pve>
write a proper docstring.
<pve>
I thinks I copied that from some other language, maybe python
aartaka has quit [Ping timeout: 268 seconds]
<dbotton>
pve makes sense
MajorBiscuit has quit [Ping timeout: 252 seconds]
<pve>
yeah i think it searched the docstrings for repl prompts (to make them easily recognizeable for me too), something like:
<pve>
MYPACKAGE> (+ 3 4)
<pve>
7
<pve>
so I could literally copy and paste an entire region from the repl into the docstring :)
Guest1852 has quit [Quit: WeeChat 3.6]
<pjb>
Josh_2: eventually, you should be able to write just a IR -> WASM layer for SICL.
thuna` has quit [Ping timeout: 252 seconds]
<Josh_2>
Well I just tried took a glance at the WASM docs and can confirm there is almost no chance that'll happen pjb :joy:
<White_Flame>
it easier than other asm targets
pdietz has quit [Quit: Client closed]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
<Josh_2>
I can't understand the docs so there goes that :sunglasses:
<Josh_2>
I'll stick to what I'm already doing
rgherdt has quit [Remote host closed the connection]
<Josh_2>
I wouldn't mind making a video game but I wanna do it in lisp, however thats basically a non starter if you dont already know what you are doing
<Josh_2>
Thats the impression I've gotten anyway
<pjb>
Josh_2: do you say that for speed reasons? Soon processors will be fast enough to do it, so you can start programming it now!
gateway2000 has joined #commonlisp
<Josh_2>
No
<Josh_2>
CL does a very good job at games, just look at Kandria
waleee has quit [Ping timeout: 246 seconds]
azimut has quit [Ping timeout: 258 seconds]
amb007 has joined #commonlisp
cosimone` has joined #commonlisp
azimut has joined #commonlisp
cosimone has quit [Ping timeout: 252 seconds]
amb007 has quit [Ping timeout: 272 seconds]
<_death>
start by drawing something on the screen.. try to move it around using mouse position or keys.. congratulations, you've got the basics of a game
<White_Flame>
or make a text adventure, card game, etc
vn36 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
<dbotton>
I've made 3 simple ones already in CLOG on a browser and if not doing over a high latency network can do a very capable browser games with it.
random-nick has quit [Ping timeout: 252 seconds]
<_death>
multiplayer would probably be easy with clog
pve has quit [Quit: leaving]
Lycurgus has joined #commonlisp
szkl has joined #commonlisp
waleee has joined #commonlisp
shka has quit [Ping timeout: 264 seconds]
motherhucker has joined #commonlisp
epony has joined #commonlisp
tyson2 has joined #commonlisp
Lycurgus has quit [Quit: Exeunt juan@acm.org]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
motherhucker has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
jmdaemon has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dbotton>
is very easy, the chat demo (demo 2) shows how you can just use a simple protected hash for all the needed communication.
pillton has joined #commonlisp
<dbotton>
Going to call the new tool the - CLOG Plunger - Coder's block removal tool
<dbotton>
so far has a digital assistant (you get to pick how personal, think Microsoft Clippy or dry reminders) and various data collections and lists of ideas (evernote like)
amb007 has joined #commonlisp
<dbotton>
I think the assistant needs to offer Eliza
<dbotton>
and at least a plug for War Games - Shall We Play A Game :)
amb007 has quit [Ping timeout: 252 seconds]
morganw has quit [Remote host closed the connection]
pdietz has joined #commonlisp
<dbotton>
the block tool is also a good segue to a prototyping tool and data modeling tool (good way to avoid block is having a plan)
<saturn2>
if i have some lisp code in memory, is it impossible to compile it to a fasl without writing it out to a temporary file?