Nilby has quit [Read error: Connection reset by peer]
pjb has quit [Remote host closed the connection]
pjb has joined #lisp
Oladon has joined #lisp
slyrus_ has joined #lisp
slyrus__ has quit [Ping timeout: 246 seconds]
u0_a121 has quit [Read error: Connection reset by peer]
slyrus__ has joined #lisp
wxie has quit [Ping timeout: 240 seconds]
cjb has joined #lisp
turona has quit [Ping timeout: 272 seconds]
slyrus_ has quit [Ping timeout: 240 seconds]
turona has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
Lord_of_Life_ is now known as Lord_of_Life
zgasma has quit [Quit: leaving]
u0_a121 has joined #lisp
<Oladon>
I'm trying to get Hunchentoot working with server-sent events (text/event-stream). It seems like the socket is getting closed when I run send-headers (L6); the browser tries to reconnect a few seconds later, but never receives any events. https://pastebin.com/MvqsUSgE I suspect I'm doing something silly... anyone see what I'm doing wrong, or have any ideas?
<Oladon>
(Oddly enough, the code never reaches line 14... but no errors are thrown either)
EvW1 has quit [Ping timeout: 246 seconds]
<_death>
maybe you want write-sequence, since you're writing octets
<_death>
also, you may need to flush the stream
<Oladon>
Hmm
<pjb>
Oladon: indeed, you have a bug line 14.
<Oladon>
_death: It _is_ a "chunked-io-stream"...
<Oladon>
pjb: I does?
Guest19180 has joined #lisp
<pjb>
The message saying that the event is sent is wrong. The event has been formatted and written into some buffer. It has not been sent.
<Oladon>
Hehe
<pjb>
You must flush the buffers.
<pjb>
or not expect it to have been sent.
<Oladon>
Touché, my friend, touché.
<Oladon>
How come it's closing the socket though? Shouldn't it just leave it open indefinitely?
<Oladon>
Or at least longer than ~2 seconds?
random-nick has quit [Ping timeout: 240 seconds]
<pjb>
Well, there may indeed be even more complications, if it's a gray stream managed by the HTTP protocol, such as a chunked-io-stream.
<Oladon>
It is indeed a chunked-io-stream.
Demosthenex has quit [Ping timeout: 260 seconds]
<Oladon>
I've tried looking up particulars of those, but haven't gotten very far :(
<pjb>
For example, the client may be closing the socket, before the server has flushed it.
v88m has quit [Ping timeout: 240 seconds]
<Oladon>
Hrm. What's the best way to figure out who's closing it?
<Oladon>
In theory the client should leave it open when it receives text/event-stream as the content-type...
v88m has joined #lisp
<_death>
wireshark?
karlosz has joined #lisp
torbo has joined #lisp
karlosz has quit [Client Quit]
ym has quit [Quit: Leaving]
<Oladon>
Hmm, I think the server is the one killing it... curl -N should stay connected otherwise?
rumbler31 has joined #lisp
Demosthenex has joined #lisp
z147x has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Ping timeout: 240 seconds]
frodef has quit [Ping timeout: 265 seconds]
u0_a121 has quit [Read error: Connection reset by peer]
rumbler31 has joined #lisp
<_death>
hmmm.. chunga has a very bad security issue
torbo has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 268 seconds]
moon-child has joined #lisp
<Oladon>
_death: Hmm... I'm not sure I follow.
pjb has quit [Remote host closed the connection]
pjb has joined #lisp
oxum has quit [Remote host closed the connection]
orivej has joined #lisp
u0_a121 has joined #lisp
oxum has joined #lisp
oxum_ has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
cjb has quit [Read error: Connection reset by peer]
<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 :(
karlosz has quit [Quit: karlosz]
kamog has quit [Remote host closed the connection]
karlosz has joined #lisp
phadthai has quit [Ping timeout: 268 seconds]
phadthai has joined #lisp
cjb has joined #lisp
pjb has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 268 seconds]
pjb has joined #lisp
<Oladon>
loke`: Any chance you're around? Seems that you managed to do something with Hunchentoot's detach-socket way back in 2014...
u0_a121 has quit [Read error: Connection reset by peer]
u0_a121 has joined #lisp
u0_a121 has quit [Read error: Connection reset by peer]
u0_a121 has joined #lisp
msk_ has joined #lisp
msk has quit [Read error: Connection reset by peer]
dale has joined #lisp
georgiePorgie has joined #lisp
u0_a121 has quit [Read error: Connection reset by peer]
akoana has left #lisp ["Leaving"]
gravicappa has joined #lisp
<alandipert>
has anyone built a a single-page web application with JSCL, or is anyone otherwise aware of one?
Codaraxis_ has quit [Read error: Connection reset by peer]
<beach>
Good morning everyone!
u0_a121 has joined #lisp
u0_a121 has quit [Read error: Connection reset by peer]
<no-defun-allowed>
Good morning beach!
u0_a121 has joined #lisp
u0_a121 has quit [Read error: Connection reset by peer]
karlosz has quit [Quit: karlosz]
adriano1 has joined #lisp
karlosz has joined #lisp
msk_ has quit [Remote host closed the connection]
adriano1 has quit [Ping timeout: 268 seconds]
narimiran has joined #lisp
cjb has quit [Quit: going back to my beloved ERC]
msk has joined #lisp
cjb has joined #lisp
dddddd has quit [Ping timeout: 240 seconds]
msk has quit [Ping timeout: 265 seconds]
oni-on-ion has quit [Remote host closed the connection]
<ebrasca>
Good morning!
oni-on-ion has joined #lisp
<beach>
Hello ebrasca.
vlatkoB has joined #lisp
msk has joined #lisp
Codaraxis_ has joined #lisp
darkstardevx has joined #lisp
* no-defun-allowed
notes that matrix-irc bridge appears to drop all but one "Good morning everyone!" now. :<
ebrasca has quit [Remote host closed the connection]
Grauwolf has quit [Ping timeout: 260 seconds]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shka_ has joined #lisp
asarch has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
Oladon has quit [Quit: Leaving.]
sauvin has joined #lisp
shka_ has quit [Ping timeout: 272 seconds]
msk has quit [Remote host closed the connection]
msk has joined #lisp
Grauwolf has joined #lisp
frodef has joined #lisp
cjb has quit [Quit: dinner time!]
_paul0 has quit [Remote host closed the connection]
Nilby has joined #lisp
_paul0 has joined #lisp
Josh_2 has joined #lisp
JohnMS_WORK has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
karlosz has quit [Client Quit]
karlosz has joined #lisp
smokeink has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
ebzzry has joined #lisp
georgiePorgie has joined #lisp
libertyprime has quit [Ping timeout: 265 seconds]
adam4567 has joined #lisp
adam4567 has quit [Remote host closed the connection]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asarch has quit [Quit: Leaving]
ljavorsk has joined #lisp
zaquest has joined #lisp
<Josh_2>
Is there a way to find out what conditions a function can signal?
libertyprime has joined #lisp
<lieven>
Josh_2: no.
<Josh_2>
rip
buffergn0me has quit [Ping timeout: 240 seconds]
<Josh_2>
I suppose I can read the source code
<no-defun-allowed>
Given you can pass conditions around like any other value and signal them, no.
vlatkoB has quit [Read error: Connection reset by peer]
EvW has joined #lisp
easye` has quit [Quit: ERC (IRC client for Emacs 26.3)]
<Josh_2>
didn't realize I had to use invoke-restart in the repl
<montaropdf>
Josh_2: just discover it with your question ;)
<montaropdf>
s/just/I just/
scymtym_ has quit [Client Quit]
<Josh_2>
Noice :)
scymtym has quit [Ping timeout: 240 seconds]
scymtym has joined #lisp
ljavorsk has quit [Ping timeout: 240 seconds]
ljavorsk has joined #lisp
EvW1 has joined #lisp
EvW has quit [Read error: Connection reset by peer]
EvW1 is now known as EvW
Cymew has joined #lisp
EvW1 has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
EvW1 is now known as EvW
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
glaw5 has joined #lisp
fanta1 has quit [Quit: fanta1]
<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.
<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.
Cymew has quit [Ping timeout: 240 seconds]
<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.
ljavorsk_ has joined #lisp
ljavorsk has quit [Ping timeout: 260 seconds]
<Josh_2>
hmmm
EvW has quit [Ping timeout: 260 seconds]
glaw5 has quit [Quit: glaw5]
v_m_v has joined #lisp
<pjb>
Josh_2: You could write an implementation that would compute the full type of functions including the set of condition it may signal.
adriano1 has joined #lisp
libertyprime has quit [Ping timeout: 265 seconds]
EvW1 has joined #lisp
davepdotorg has joined #lisp
yangby has joined #lisp
msk has quit [Remote host closed the connection]
msk has joined #lisp
EvW1 has quit [Ping timeout: 246 seconds]
akoana has joined #lisp
ljavorsk_ has quit [Ping timeout: 245 seconds]
EvW has joined #lisp
georgiePorgie has joined #lisp
Gnuxie[m] has joined #lisp
<Gnuxie[m]>
That would be cool, especially for an editor using CL
<lieven>
in an implementation where conditions are regular objects and that has MOP, you can define new conditions at run time
dmiles has quit [Ping timeout: 240 seconds]
v_m_v has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
fanta1 has joined #lisp
zmt01 has joined #lisp
orivej has joined #lisp
zmt00 has quit [Ping timeout: 260 seconds]
dmiles has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wxie has joined #lisp
wxie has quit [Client Quit]
fanta1 has quit [Quit: fanta1]
SlashLife is now known as SlashLife|prague
ljavorsk_ has joined #lisp
georgiePorgie has joined #lisp
wxie has joined #lisp
Nilby has joined #lisp
wxie has quit [Client Quit]
wxie has joined #lisp
macauris has joined #lisp
<macauris>
sup
cosimone has joined #lisp
<macauris>
what's the simplest cl package for moving between alists and xml
<beach>
Hello macauris.
v_m_v has joined #lisp
libertyprime has joined #lisp
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #lisp
eschulte has quit [Remote host closed the connection]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frgo_ has quit [Remote host closed the connection]
wxie has quit [Ping timeout: 240 seconds]
v_m_v has quit [Remote host closed the connection]
m00natic has joined #lisp
kmeow has quit [Read error: Connection reset by peer]
pfdietz32 has quit [Ping timeout: 260 seconds]
georgiePorgie has joined #lisp
Guest19180 has joined #lisp
jello_pudding has quit [Ping timeout: 260 seconds]
v_m_v has joined #lisp
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #lisp
tramplefoot has joined #lisp
hhdave has joined #lisp
gko_ has joined #lisp
longshi has joined #lisp
Guest19180 has quit [Ping timeout: 260 seconds]
Ukari has quit [Remote host closed the connection]
Ukari has joined #lisp
fookara has joined #lisp
frgo has joined #lisp
adriano1 has quit [Quit: WeeChat 2.7]
frodef has quit [Ping timeout: 265 seconds]
fookara has quit [Remote host closed the connection]
fookara has joined #lisp
jello_pudding has joined #lisp
z147 has joined #lisp
gxt has joined #lisp
ljavorsk_ has quit [Ping timeout: 240 seconds]
fookara has quit [Remote host closed the connection]
<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.
notzmv has quit [Remote host closed the connection]
<Josh_2>
then there is Smackjack for AJAX, parenscript to generate JS (If you want), postmodern for db access
<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
<Josh_2>
There is cl-who to generate html as well, I have used that and It's very good
<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
<z147>
I was thinking of looking at Djula as well, it appears not to be actively maintained
m00natic has quit [Ping timeout: 272 seconds]
cosimone has quit [Quit: Terminated!]
bitmapper has joined #lisp
Ukari has quit [Remote host closed the connection]
ebzzry has quit [Ping timeout: 265 seconds]
Ukari has joined #lisp
ebzzry has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
wxie has joined #lisp
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeosol has quit [Remote host closed the connection]
georgiePorgie has joined #lisp
longshi has quit [Quit: WeeChat 2.7]
pierpal has quit [Ping timeout: 246 seconds]
libertyprime has quit [Remote host closed the connection]
frodef has joined #lisp
cosimone has joined #lisp
<Shinmera>
z147: I'm the author of Radiance, so I'm using that.
lucasb has joined #lisp
frodef has quit [Ping timeout: 240 seconds]
<z147>
Shinmera, thank You, i'll add it to my list for review
<jmercouris>
maybe I will "Replace your implementations ASDF"
<jmercouris>
let me try loading this one though first
<jmercouris>
I have now at the top of my ccl-init the following: (load (compile-file "/Users/jmercouris/Source/Lisp/asdf/build/asdf.lisp"))
<jmercouris>
hey wow! that works
<jmercouris>
thanks Bike Xach
<jmercouris>
probably those directions should be upgraded or so
<Nilby>
Except it might break with the 'compile-file' if you try too many lisp different lisp versions or different architectures.
madage has joined #lisp
fookara has quit [Remote host closed the connection]
<jmercouris>
why would it?
<jmercouris>
they all use a separate cache
<jmercouris>
~/.config/cache/xyzz
<Nilby>
Not with load only with load-system
fookara has joined #lisp
ebzzry has quit [Ping timeout: 265 seconds]
<jmercouris>
oh, I see
<Nilby>
It's yet another bootstrapping thing
<Nilby>
It'll work almost all the time, except if you're me.
<jmercouris>
1
grumble has quit [Quit: We've found the eight most clickbaity quit messages. #5 will surprise you!]
z147x has joined #lisp
flamebeard has joined #lisp
z147 has quit [Ping timeout: 240 seconds]
grumble has joined #lisp
pierpal has joined #lisp
bjorkintosh has quit [Remote host closed the connection]
pierpal has quit [Client Quit]
pierpal has joined #lisp
msk has quit [Remote host closed the connection]
msk has joined #lisp
dddddd has joined #lisp
yangby has quit [Quit: Go out for a walk and buy a drink.]
msk has quit [Read error: Connection reset by peer]
msk has joined #lisp
frgo has joined #lisp
aindilis has joined #lisp
<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.
<jmercouris>
that's frustrating
<jmercouris>
do we have a way to draw dependency graphs?
<jmercouris>
might you see easily what is now missing?
<Xach>
i can easily see that cl-syntax is missing!
<Xach>
there is some uncertainty about what upstream project changed
<jmercouris>
is it not enough to add it to the ASD file then?
<jmercouris>
I must say, dependencies are the worst
<jmercouris>
the best, and the worst
<Xach>
It's certainly enough to add it to the asd file.
<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
<Xach>
The project being unmodified for two years makes me wonder if it will be changed promptly, but we'll see
frgo has quit [Ping timeout: 272 seconds]
JohnMS_WORK has quit [Read error: Connection reset by peer]
<Nilby>
I feel like every quicklisp release Xach performs a bit of a miracle for us.
<Xach>
this kind of problem most often happens with implicit reliance on things that slime loads, like sb-posix and stuff.
<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.
<Nilby>
It's tricky for most people to build in a clean environment.
<Xach>
yes
akoana has left #lisp ["Leaving"]
<Nilby>
I have to test things in VM to be sure.
<Xach>
hmm
<pfdietz>
GrammaTech (where I work) is hiring CL people.
Inline has joined #lisp
<Josh_2>
oh really
<scymtym>
pfdietz: is there an announcement, website or document of some sort?
<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?
<Xach>
clisp doesn't come with asdf
<Xach>
make sure you are using a new asdf and not, say, the one quicklisp gives you
<Xach>
grammatech must be overwhelmed with all the bugs i file when systems stop building
<Josh_2>
pfdietz: would they hire a new grad who is paid in tea, crumpets and scones xD
<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.
<didi>
beach: Thank you.
<beach>
Anytime.
<Bike>
since subseq has to copy, they're both basically (subseq 0 k) but restricted to lists
shangul has quit [Ping timeout: 268 seconds]
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 272 seconds]
X-Scale` is now known as X-Scale
<Josh_2>
Is there an built in function to compare simple-array character and simple-base-string?
<Josh_2>
Or convert one to the other would do
<Bike>
you can convert with coerce.
<Bike>
EQUALP will compare elementwise, but also ignores case.
zaquest has joined #lisp
hhdave has quit [Quit: hhdave]
<Bike>
er, wait, if you mean a simple-array actually with upgraded array element type character, you can just use EQUAL
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 260 seconds]
dra has quit [Quit: Leaving]
X-Scale` is now known as X-Scale
prince1 has joined #lisp
efm has joined #lisp
smokeink has quit [Ping timeout: 260 seconds]
smokeink has joined #lisp
ggole has quit [Quit: Leaving]
prince1 has quit [Ping timeout: 240 seconds]
m00natic has quit [Remote host closed the connection]
smokeink has quit [Ping timeout: 265 seconds]
didi has left #lisp ["O bella ciao bella ciao bella ciao, ciao, ciao."]
z147x has quit [Remote host closed the connection]
z147x has joined #lisp
kmeow has joined #lisp
v_m_v has joined #lisp
parjanya has joined #lisp
iamFIREcracker has joined #lisp
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #lisp
vap1 has quit [Ping timeout: 260 seconds]
frgo has joined #lisp
efm has quit [Quit: Konversation terminated!]
frgo has quit [Ping timeout: 268 seconds]
fookara has quit [Remote host closed the connection]
<Xach>
kpoeck: oh, has there been a new clisp release?
<Xach>
if so, that is great news
<kpoeck>
the last release was when I had blond hair :-)
pierpal has quit [Read error: Connection reset by peer]
<kpoeck>
No, but the git version has asdf
CrazyPython has quit [Read error: Connection reset by peer]
<Xach>
Ok. When I talk about clisp properties, I am referring to the last released version
<Xach>
I look forward to a new release someday
<kpoeck>
asdf was included in clisp 9 years ago, now I just need to remember when the last release was done
<Xach>
9.01 years ago or more
prince1 has joined #lisp
<kpoeck>
more than 9 years ago, so my correction was wrong, sorry about that
tramplefoot has quit [Quit: Leaving.]
tramplefoot has joined #lisp
<Xach>
it is no problem, i am glad to learn that the git version has asdf
prince1 has quit [Ping timeout: 265 seconds]
tramplefoot has quit [Ping timeout: 272 seconds]
<kpoeck>
They were so close to a new release in 2018 - there was even a release candidate - but than it was not finished
<_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
hiroaki has joined #lisp
Oladon has joined #lisp
Blinda has quit [Remote host closed the connection]
<_death>
(and it could also be updated to pass some --with-module flags to configure)
nettle has left #lisp ["WeeChat 1.9-dev"]
karlosz has joined #lisp
frgo has joined #lisp
frgo has quit [Ping timeout: 260 seconds]
milanj has quit [Quit: Leaving]
Nilby has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
jmercouris has joined #lisp
<jmercouris>
anyone know how to set the size of a child widget in cl-cffi-gtk?
<jmercouris>
basically, I'm looking for the cl-cffi-gtk equivalent of gtk_widget_set_size_request
<jmercouris>
had to look in the source.. inconsistently named lol
<jmercouris>
(defgeneric (setf gtk-widget-size-request) (size widget) line 7093 of gtk.widget.lisp
madage has quit [Remote host closed the connection]
madage has joined #lisp
iamFIREcracker has joined #lisp
prince1 has joined #lisp
cjb has joined #lisp
iamFIREcracker has quit [Ping timeout: 272 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 26.1)]
hiroaki has quit [Ping timeout: 272 seconds]
stepnem_ has quit [Ping timeout: 240 seconds]
jmercouris has quit [Remote host closed the connection]
stepnem has joined #lisp
CrazyPython has joined #lisp
Bike has quit [Quit: Bike]
lucasb has quit [Quit: Connection closed for inactivity]
<oni-on-ion>
jmer
edgar-rft has quit [Remote host closed the connection]
edgar-rft has joined #lisp
stepnem has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
frgo has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
kpoeck has left #lisp [#lisp]
Oladon has quit [Quit: Leaving.]
srji has quit [Remote host closed the connection]
devrtz has quit [Remote host closed the connection]