jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
smasta has joined #lisp
JuanDaugherty has quit [Quit: Ex Chat]
arescorpio has joined #lisp
damke_ has joined #lisp
jeosol has quit [Quit: Page closed]
JenElizabeth has quit [Read error: Connection reset by peer]
damke has quit [Ping timeout: 264 seconds]
c0rehe110 has joined #lisp
Ukari has joined #lisp
c0rehe110 has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
comborico1611 has quit [Quit: Konversation terminated!]
fikka has joined #lisp
pmc_ has joined #lisp
c0rehe110 has joined #lisp
smasta has quit [Ping timeout: 264 seconds]
EvW1 has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 256 seconds]
Jesin has joined #lisp
c0rehe110 has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
smasta has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
smasta has quit [Ping timeout: 264 seconds]
smasta has joined #lisp
FreeBirdLjj has joined #lisp
lnostdal has quit [Ping timeout: 255 seconds]
lnostdal has joined #lisp
d4ryus1 has joined #lisp
pmc_ has quit [Quit: Leaving]
FreeBirdLjj has quit [Ping timeout: 264 seconds]
c0rehe110 has joined #lisp
d4ryus has quit [Ping timeout: 256 seconds]
c0rehe110 has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
Lord_Nightmare has quit [Ping timeout: 264 seconds]
al-damiri has joined #lisp
brendyn has joined #lisp
LiamH has quit [Quit: Leaving.]
Lord_Nightmare has joined #lisp
elfmacs has joined #lisp
smasta has quit [Ping timeout: 248 seconds]
jeosol has joined #lisp
smasta has joined #lisp
elderK has joined #lisp
elderK has quit [Changing host]
elderK has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
c0rehe110 has joined #lisp
fikka has joined #lisp
c0rehe110 has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
pierpa has quit [Quit: Page closed]
arescorpio has quit [Quit: Leaving.]
<k-hos> so are there any more up to date llvm bindings for common lisp than cl-llvm?
iqubic has joined #lisp
doanyway has joined #lisp
Jesin has quit [Remote host closed the connection]
ealfonso has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
rumbler31 has joined #lisp
ealfonso` has joined #lisp
ealfonso has quit [Ping timeout: 260 seconds]
MasouDa has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
rumbler31 has quit [Ping timeout: 248 seconds]
ealfonso` has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
Mutex7 has quit [Remote host closed the connection]
damke_ has quit [Ping timeout: 264 seconds]
c0rehe110 has joined #lisp
pierpal has joined #lisp
chens has joined #lisp
c0rehe110 has quit [Ping timeout: 263 seconds]
damke_ has joined #lisp
shrdlu68 has joined #lisp
<iqubic> lambda
clio has quit [Ping timeout: 260 seconds]
Oladon has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<pierpal> tagbody
<pierpal> is clozure.com down?
damke_ has quit [Ping timeout: 264 seconds]
<pierpal> ccl.clozure.com that is
fikka has joined #lisp
shifty has joined #lisp
c0rehe110 has joined #lisp
<jeosol> pierpal: can confirm.
<jeosol> can't reach the site.
Pixel_Outlaw has joined #lisp
<pierpal> hmmm
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
c0rehe110 has quit [Ping timeout: 240 seconds]
damke_ has joined #lisp
wigust has joined #lisp
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #lisp
bjorkintosh has quit [Ping timeout: 264 seconds]
hieuht has joined #lisp
bjorkintosh has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
damke_ has quit [Ping timeout: 260 seconds]
damke_ has joined #lisp
shka_ has joined #lisp
fikka has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
fikka has quit [Ping timeout: 264 seconds]
<beach> Good morning everyone!
gobblegobble has joined #lisp
Arcaelyx has joined #lisp
elfmacs has quit [Ping timeout: 248 seconds]
sauvin_ has joined #lisp
sauvin has quit [Ping timeout: 256 seconds]
sauvin_ is now known as sauvin
<Josh_2> Haven't slept yet :O
pierpal has quit [Read error: Connection reset by peer]
<Josh_2> Coursework deadline on Tuesday
fikka has joined #lisp
<shrdlu68> In pages 6-7 of the clim user manual (pdf), I can't get that simple example to work. It seems (define-application-frame my-first-clim-app...) should define a class with the name my-first-clim-app, but the interpreter warns that it's an undefined variable.
brendyn has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
gonzojive has quit [Ping timeout: 260 seconds]
Josh_2 has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
fikka has joined #lisp
<beach> I am guessing a package problem. You are probably not in the CLIM-USER package.
rumbler31 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
c0rehe110 has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
Hello_ has joined #lisp
c0rehe110 has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
fisxoj has joined #lisp
fikka has joined #lisp
SlowJimmy has joined #lisp
SlowJimmy has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 248 seconds]
fisxoj has quit [Quit: fisxoj]
c0rehe110 has joined #lisp
c0rehe110 has quit [Client Quit]
fisxoj has joined #lisp
fikka has joined #lisp
matijja has quit [Ping timeout: 248 seconds]
borei has quit [Ping timeout: 265 seconds]
Bike has quit [Quit: Lost terminal]
Arcaelyx_ has joined #lisp
shrdlu68 has quit [Ping timeout: 248 seconds]
Arcaelyx has quit [Ping timeout: 265 seconds]
shifty has quit [Remote host closed the connection]
shifty has joined #lisp
Karl_Dscc has joined #lisp
doanyway has quit []
fikka has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
khisanth__ has quit [Ping timeout: 240 seconds]
khisanth__ has joined #lisp
oleo has quit [Remote host closed the connection]
shrdlu68 has joined #lisp
heisig has joined #lisp
<phoe> hey, morning
<phoe> Shinmera: what is an undefined variable? MY-FIRST-CLIM-APP?
<phoe> if so, then the symbol DEFINE-APPLICATION-FRAME has not been defined to name a macro, at which point it's likely that you did not :USE the proper packages.
<jackdaniel> phoe: it was resolved
<jackdaniel> he copied code from pdf
<phoe> oh, gotcha.
<jackdaniel> and it replaced quote with some other character
<phoe> Shinmera: woops, sorry
<phoe> oh wow, that's a silly thing
<jackdaniel> I do silly things all the time
shrdlu68 has quit [Ping timeout: 264 seconds]
elfmacs has joined #lisp
fisxoj has quit [Quit: fisxoj]
fikka has quit [Ping timeout: 248 seconds]
nika_ has joined #lisp
Oladon has quit [Quit: Leaving.]
Karl_Dscc has quit [Remote host closed the connection]
smasta has quit [Ping timeout: 260 seconds]
gobblegobble has quit [Quit: Lost terminal]
travv0 has joined #lisp
angavrilov has joined #lisp
nika_ has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 263 seconds]
nika_ has joined #lisp
fikka has joined #lisp
smasta has joined #lisp
tomlukeywood has joined #lisp
vlatkoB has joined #lisp
Winterschlaf has joined #lisp
scymtym has quit [Ping timeout: 263 seconds]
fikka has quit [Ping timeout: 260 seconds]
milanj has quit [Read error: Connection reset by peer]
milanj has joined #lisp
nika_ has quit [Ping timeout: 260 seconds]
nika_ has joined #lisp
fikka has joined #lisp
matijja has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
tomlukeywood has quit [Quit: tomlukeywood]
damke_ has joined #lisp
energizer has quit [Remote host closed the connection]
energizer has joined #lisp
milanj has quit [Read error: Connection reset by peer]
fikka has joined #lisp
milanj has joined #lisp
deng_cn1 has joined #lisp
deng_cn has quit [Ping timeout: 240 seconds]
deng_cn1 is now known as deng_cn
Cymew has joined #lisp
Patzy has quit [Quit: leaving]
hajovonta has joined #lisp
<hajovonta> hello
shka_ has quit [Ping timeout: 248 seconds]
doesthiswork has quit [Quit: Leaving.]
varjag has joined #lisp
shrdlu68 has joined #lisp
al-damiri has quit [Quit: Connection closed for inactivity]
angavrilov has quit [Remote host closed the connection]
angavrilov has joined #lisp
Patzy has joined #lisp
<beach> Hello hajovonta.
milanj has quit [Read error: Connection reset by peer]
milanj has joined #lisp
Lord_Nightmare has quit [Excess Flood]
energizer has quit [Remote host closed the connection]
energizer has joined #lisp
Lord_Nightmare has joined #lisp
<hajovonta> hi beach
_cosmonaut_ has joined #lisp
scymtym has joined #lisp
vlatkoB_ has joined #lisp
vlatkoB has quit [Ping timeout: 240 seconds]
megalography has quit [Ping timeout: 256 seconds]
MichaelRaskin has quit [Quit: MichaelRaskin]
_cosmonaut_ has quit [Ping timeout: 264 seconds]
scymtym_ has joined #lisp
fredofrodo is now known as wildbartty
scymtym has quit [Ping timeout: 265 seconds]
megalography has joined #lisp
solyd has joined #lisp
wigust has quit [Ping timeout: 256 seconds]
schweers has joined #lisp
milanj has quit [Read error: Connection reset by peer]
wigust has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
_cosmonaut_ has joined #lisp
fikka has joined #lisp
solyd has quit [Remote host closed the connection]
shrdlu68 has quit [Ping timeout: 260 seconds]
shrdlu68 has joined #lisp
igemnace has joined #lisp
chens has quit [Read error: Connection reset by peer]
chens has joined #lisp
milanj has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
mflem has quit [Read error: Connection reset by peer]
AndreasO has joined #lisp
fikka has joined #lisp
hhdave has joined #lisp
elfmacs has quit [Quit: WeeChat 2.1]
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
AndreasO has quit [Quit: Found more important stuff than irc!]
SenasOzys has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 240 seconds]
iqubic` has joined #lisp
iqubic has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
<phoe> I need to get in touch with the administrator of http://clozure.com ASAP. The site was attacked and is serving phishing pages.
fikka has joined #lisp
Winterschlaf has left #lisp ["leaving"]
<White_Flame> were they running Drupal? that was fresh in the media on how it's being newly hacked
python476 has joined #lisp
smasta has quit [Ping timeout: 256 seconds]
lonjil has quit [Ping timeout: 256 seconds]
<jdz> White_Flame: I think it was running Trac.
smasta has joined #lisp
SaganMan has quit [Ping timeout: 264 seconds]
cezary has quit [Remote host closed the connection]
lonjil has joined #lisp
smasta has quit [Ping timeout: 256 seconds]
Ukari has quit [Remote host closed the connection]
deng_cn has quit [Read error: Connection reset by peer]
johnvonneumann has joined #lisp
johnvonneumann_ has joined #lisp
hhdave_ has joined #lisp
johnvonneumann_ has quit [Remote host closed the connection]
hhdave has quit [Read error: Connection reset by peer]
hhdave_ is now known as hhdave
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
eSVG has quit [Quit: Leaving]
igemnace has quit [Quit: WeeChat 2.1]
osune` is now known as osune
igemnace has joined #lisp
<shrdlu68> I recognize the Clasp guy and the quicklisp guy in that photo.
<beach> Would that be drmeister and Xach?
<phoe> I think so, yes
<shrdlu68> My colleagues get sponsored to cons by the company, maybe I'll do the same, but there's precisely 0 lisp code right now.
<phoe> but now they might need to change their nicks to TheClaspGuy and TheQuicklispGuy
<beach> Ah, yes, they are both in the very front.
<beach> Xof is very visible too.
<shrdlu68> Didn't want to ping them by using their nicks.
<beach> ... and Bike with his hat.
travv0 has quit [Quit: Connection closed for inactivity]
araujo has joined #lisp
araujo has joined #lisp
araujo has quit [Changing host]
<phoe> beach: I can barely see you there
<beach> Just my eyes and my head.
<beach> Not important.
xantoz has quit [Ping timeout: 276 seconds]
<phoe> We need to move you more to the front next year.
fikka has quit [Ping timeout: 264 seconds]
shrdlu68 has quit [Ping timeout: 248 seconds]
markong has joined #lisp
shrdlu68 has joined #lisp
energizer has quit [Ping timeout: 256 seconds]
<Xof> fame at last!
fikka has joined #lisp
SenasOzys has joined #lisp
EvW has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
SenasOzys has quit [Remote host closed the connection]
<Xach> I very occasionally got kevin and christian confused
<beach> They don't look anything alike.
<Xach> beach: aside from being tall, bald, slim white men who wore black clothes, that is true.
<beach> Different Kevin then.
<Xach> kevin layer and christian schafmeister, who are side-by-side in the group photo to my right
<Xach> camera left
<beach> Got it.
<beach> Now if we had that CSI software, I could use it to read the name tags in the photos.
<Xach> enhance
markong has quit [Ping timeout: 248 seconds]
<beach> Also, I would need a computer that makes that "diddly-diddly-did" sound when the resolution is increased.
<schweers> lol
makomo has joined #lisp
<schweers> beach, I’m reading this at work, you can’t make me suddenly laugh out loud!
<beach> Oops. Sory.
<beach> Sorry even.
<schweers> but yes, you’d definitly need that!
araujo has quit [Read error: Connection reset by peer]
araujo has joined #lisp
cezary has joined #lisp
SenasOzys has joined #lisp
fikka has joined #lisp
dddddd has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
m00natic has joined #lisp
fraya has joined #lisp
d4ryus1 is now known as d4ryus
fraya_ has joined #lisp
moei has quit [Quit: Leaving...]
fikka has joined #lisp
fraya_ has left #lisp [#lisp]
chens has quit [Remote host closed the connection]
fraya has quit [Quit: fraya]
habamax has joined #lisp
shrdlu68 has quit [Ping timeout: 248 seconds]
BitPuffin has joined #lisp
shrdlu68 has joined #lisp
habamax has quit [Remote host closed the connection]
Kaisyu has quit [Quit: Connection closed for inactivity]
habamax has joined #lisp
puchacz has joined #lisp
<puchacz> hi, sbcl is leaking open files somehow for me, I don't know how to debug
<puchacz> SB-EXT:RUN-PROGRAM error processing :OUTPUT argument:
<puchacz> couldn't create pipe: Too many open files
<puchacz> I have :wait nil :output :stream, that I try to parse
<puchacz> I may revert to previous version of the code that was not processing output and had :wait t
<puchacz> maybe this is what is causing problems
<phoe> puchacz: are you sure it's SBCL and not your code?
<puchacz> phoe: I think it is my code, what I mean is the way I use sbcl :)
<phoe> if you create streams via :OUTPUT :STREAM, do you close them afterwards?
<puchacz> phoe: should I?
<phoe> puchacz: d'oh
<puchacz> :-)
<phoe> who else closes it for you?
deng_cn has joined #lisp
<puchacz> I thought if it goes out of scope, it would be garbage collected
python476 has quit [Ping timeout: 276 seconds]
<puchacz> okay, this might be the reason
<puchacz> or it IS the reason actually
<phoe> puchacz: the stream object perhaps, but not the underlying file descriptor
<puchacz> I guess I need unwind-protect, but not sure how to clean up
<phoe> use UNWIND-PROTECT if your file access is only happening in dynamic and/or lexical scope to make sure you clean up after yourself
<phoe> (let ((stream (get-stream))) (unwind-protect (frob stream) (close stream)))
<puchacz> phoe: tks
longshi has joined #lisp
tripty has quit [Ping timeout: 246 seconds]
smasta has joined #lisp
<puchacz> phoe: http://www.sbcl.org/manual/ says run-program has one output stream, not 2. I guess stdout and stderr are somehow conflated then.
Quetzal2 has joined #lisp
Quetzal2 has quit [Changing host]
Quetzal2 has joined #lisp
<puchacz> so I need to close only one stream
* edgar-rft 's code works in horo-scope. It says: won't run today.
<shka> puchacz: use with-output-to-file and friends
<shka> it expands to unwind protected close file
<puchacz> shka: I have a callback on output as it grows
<shka> ok, i see
<puchacz> I can revert it all for safety
Ukari has joined #lisp
<shka> still, you can use in-memory stream, and just copy content of it into file in one place
<shka> much more controlable imho
<shka> but, obviously you will need more memory
smasta has quit [Ping timeout: 240 seconds]
<puchacz> shka: the program writes things like "processing 1 out of 12 completed"
<puchacz> then 2 out of 12
<puchacz> etc
lnostdal has quit [Read error: Connection reset by peer]
<shka> some batch processing stuff
<puchacz> yes
<shka> well, anyway, just keep closing sockets and files and you are golden
<shka> and if you need just scope bound, there are macros for that
<puchacz> unwind-protect .... (close stream) should do
<puchacz> it won't work if run-program fails before returning process object with stream in it, I think I don't need to worry
<phoe> clhs with-open-file
<phoe> same link as shka posted, just without google insanity
<puchacz> shka, phoe - but I don't think I need file at all
<puchacz> files are not updated in realtime, they are "flushed" now and then
<phoe> I think the same thing - he is not opening a file, he's running a program and getting a stream
<puchacz> phoe: that's right. the program might be running for long
<shka> well, ok
<hajovonta> puchacz: I had this problem recently, and I ended up with (close stream) and (setf stream nil) and this would let the GC collect them
<phoe> sounds like a case for a with-open-process macro
<shka> hmmm
<puchacz> hajovonta: what's more, I want similar mechanism to work on lispworks..... IF there is something fishy about reading program output as it grows, I might just drop this functionality
<phoe> maybe UIOP has something for this
<shka> puchacz: what you are using for streams, btw?
brendyn has joined #lisp
<shka> those are unix pipes?
<puchacz> shka: whatever is returned by sbcl's run program
<hajovonta> puchacz: I have this lib for sbcl https://github.com/hajovonta/cl-expect
<puchacz> hajavonta: tks
<hajovonta> it's MIT, see if you can use something of it
<hajovonta> it served me well in my work for 2 years, automating stuff
<hajovonta> a bit under-documented though
<shka> looks cool!
<shka> if only it would be portable
<phoe> it might be portable over to UIOP perhaps
<shka> yes, i think it is possible
<hajovonta> shka it would be super-cool if somebody could port it
<hajovonta> I lack the knowledge to do it
<shka> i see
<phoe> hajovonta: shka: the code seems trivial
<Shinmera> simple-inferiors is an easy interface to OS programs and is based on UIOP
<phoe> the only SB-internal functions it uses are run-process (UIOP), streams from the process (UIOP), threads (BT)
<phoe> porting it should be easy, it's just 12 call sites
<Shinmera> Colleen: look up simple-inferiors
<phoe> I could do it this evening unless someone feels up to the task
<hajovonta> but as I stated in the readme, it runs everything through "unbuffer". I tried other approaches but this was the only one that would actually work in practice
<Shinmera> if I remember correctly uiop's capabilities with regards to attaching arbitrary streams to i/o is limited
<puchacz> hajavonta: without setting process slot containing stream to nil, did you have memory leak?
<Shinmera> due to limited implementation support
pierpal has joined #lisp
<Shinmera> as in, some implementations don't allow you to do it.
<puchacz> sorry, hajovonta (above)
<shka> hmm, i see
<hajovonta> puchacz: I don't remember, but I think so
<shka> sad
megalography has quit [Ping timeout: 260 seconds]
<puchacz> omg
<puchacz> :wait t is the way to go it seems
<puchacz> and forget output
<phoe> as for buffering, force-output *should* perhaps work
<phoe> but I'll check it
Quetzal2 has quit [Quit: No Ping reply in 180 seconds.]
python476 has joined #lisp
shrdlu68 has quit [Ping timeout: 264 seconds]
shrdlu68 has joined #lisp
megalography has joined #lisp
<puchacz> btw, can I see something like "open files count"?
<puchacz> I guess not
swflint has quit [Ping timeout: 255 seconds]
<hajovonta> i think there's something like this for handles
dreamcompiler has joined #lisp
dreamcompiler has quit [Client Quit]
milanj has quit [Read error: Connection reset by peer]
<Shinmera> you can check /proc if you're on linux
milanj has joined #lisp
lnostdal has joined #lisp
moei has joined #lisp
TETOFILO has joined #lisp
swflint has joined #lisp
dreamcompiler has joined #lisp
shrdlu68 has quit [Ping timeout: 256 seconds]
shrdlu68 has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
longshi has quit [Ping timeout: 276 seconds]
Quetzal2 has joined #lisp
Quetzal2 has quit [Changing host]
Quetzal2 has joined #lisp
hhdave has quit [Read error: Connection reset by peer]
hhdave has joined #lisp
milanj has quit [Read error: Connection reset by peer]
shrdlu68 has quit [Read error: Connection reset by peer]
<phoe> huh
<phoe> UIOP:RUN-PROGRAM is troublesome to me
<phoe> UIOP/RUN-PROGRAM:RUN-PROGRAM: :STREAM is not allowed as synchronous I/O redirection argument
milanj has joined #lisp
agspathis has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
hhdave_ has joined #lisp
hhdave has quit [Ping timeout: 260 seconds]
hhdave_ is now known as hhdave
shrdlu68 has joined #lisp
tripty has joined #lisp
elderK has quit [Quit: zzzz]
<schweers> phoe: how (when) do you expect to read from or write to a stream, when your program is synchronously waiting for the forked process to finish?
milanj has quit [Quit: This computer has gone to sleep]
<phoe> schweers: gaaah, you are correct
pierpal has quit [Read error: Connection reset by peer]
<phoe> this should be using LAUNCH-PROGRAM
pierpal has joined #lisp
milanj has joined #lisp
milanj has quit [Client Quit]
SenasOzys has quit [Read error: Connection reset by peer]
SenasOzys__ has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
ebzzry has joined #lisp
<ebzzry> What happened to clozure.com?
<Shinmera> It got hacked, presumably.
makomo has quit [Quit: WeeChat 2.0.1]
<phoe> Yes, it got hacked. I'm waiting for someone from Clozure Associates to respond.
<phoe> hajovonta: https://github.com/phoe-trash/cl-expect I have no means to test this now, could you take a look?
lemoinem has quit [Ping timeout: 256 seconds]
lemoinem has joined #lisp
Shinmera has quit [Quit: しつれいしなければならないんです。]
Shinmera has joined #lisp
python476 has quit [Remote host closed the connection]
pierpal has quit [Ping timeout: 260 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
<Xach> clozure folks are aware of and working on clozure.com fix
pierpal has joined #lisp
<phoe> Good to know!
scymtym_ has quit [Ping timeout: 276 seconds]
<Xach> phoe: i would expect any expect-like library to use ptys, but i don't see it when glancing at the code.
uint has joined #lisp
Quetzal2 has quit [Ping timeout: 256 seconds]
<phoe> Xach: neither do I, but all I did was try to translate from SBCL-specific calls to portability libraries.
pierpal has quit [Read error: Connection reset by peer]
wxie has joined #lisp
<puchacz> hi again, when running slime in *inferior-lisp* buffer, ie not remotely, can I have 2 or 3 REPLs in different threads pls?
dreamcompiler has quit [Ping timeout: 260 seconds]
<shka> you have interesting question, i'll give you that
wxie has quit [Ping timeout: 240 seconds]
<phoe> puchacz: yes, you can do that - you can create multiple REPLs on a single image
milanj has joined #lisp
smasta has joined #lisp
MasouDa has quit [Ping timeout: 256 seconds]
rumbler31 has joined #lisp
lemoinem has quit [Ping timeout: 264 seconds]
smasta has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
lemoinem has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 265 seconds]
habamax has quit [Ping timeout: 260 seconds]
<puchacz> phoe: how please? I know if I connect to remote image, I can have many REPLs
<puchacz> but I don't know how to do it locally
<phoe> puchacz: the way I do it, is:
<phoe> 1) I spawn a SBCL from terminal, load swank, start a local server
<phoe> 2) multiple slime-connect from emacs
<Xach> Ah. I wouldn't bother with that.
doesthiswork has joined #lisp
SaganMan has joined #lisp
scymtym has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
LiamH has joined #lisp
wigust has quit [Ping timeout: 265 seconds]
Shinmera has quit [Remote host closed the connection]
Bike has joined #lisp
<puchacz> phoe: yes, using slime "remotely".
<puchacz> not "locally"
habamax has joined #lisp
damke has joined #lisp
_cosmonaut_ has quit [Ping timeout: 260 seconds]
damke_ has quit [Ping timeout: 264 seconds]
<phoe> puchacz: I don't know a way to do this from inside emacs with slime being run the default way.
<puchacz> phoe: ok, tks - np
Kundry_Wag has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
EvW has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
<phoe> puchacz: on the other hand, I do multi-repl so rarely that I never thought of doing anything about it.
fikka has quit [Ping timeout: 248 seconds]
zxcvz has joined #lisp
warweasle has joined #lisp
sjl__ has joined #lisp
yeticry has quit [Ping timeout: 264 seconds]
sjl has quit [Ping timeout: 256 seconds]
yeticry has joined #lisp
<billstclair> clozure.com’s DNS server has been restored. May take a while to propagate, but not long.
<phoe> billstclair: thanks!
<billstclair> I didn’t do it, but was in on the discussion about the fix.
SenasOzys__ has quit [Remote host closed the connection]
cage_ has joined #lisp
SenasOzys has joined #lisp
comborico1611 has joined #lisp
pmetzger has joined #lisp
EvW has quit [Ping timeout: 265 seconds]
_cosmonaut_ has joined #lisp
<Xach> Hmmmm! I am experimenting with read-only source directories for quicklisp builds. One of the first obvious failures is cl-unicode, which wants to write generated files into its source directory to proceed with building.
<phoe> Xach: is it just files and not directories?
<Xach> I wonder what could be done to be compatible with a read-only source directory. Putting it in the fasl directory doesn't feel quite right - it's not machine- or implementation-dependent.
<Xach> phoe: in that case it is files
<phoe> it could use UIOP:WITH-TEMPORARY-FILE
<phoe> file or files are okay, UIOP provides no way of creating temporary dirs
<Xach> The general idea is that some .lisp files are created by interpreting unicode data files. the lisp files are used as part of the rest of the build.
<Xach> It is not really a temporary file issue.
<phoe> Oooh. I see.
<Xach> The data files ship with the repo. I wonder if the generated lisp files could be made part of a release.
<Xach> I wonder if there will be too many other problems to bother with read-only source directories.
<phoe> Would probably be much cleaner to generate them freshly on each compilation, and that's what is going on now.
fikka has joined #lisp
Cymew has quit [Remote host closed the connection]
<Xach> How is it "clean" to dirty up a directory with generated files? It is completely impure and unhygienic too.
Cymew has joined #lisp
ebrasca has left #lisp ["ERC (IRC client for Emacs 25.2.1)"]
<jackdaniel> Xach: McCLIM repository address has changed to https://github.com/mcclim/mcclim (the old one has a redirection thanks transfer ownership github system, so nothing should break)
Naergon has joined #lisp
<Xach> jackdaniel: thanks
matijja has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Remote host closed the connection]
<beach> jackdaniel: Is there no distinction between upper and lower case?
<phoe> beach: not on github. this repo address works.
<beach> Great!
Kundry_Wag has joined #lisp
<phoe> Xach: I kind of wish it actually generated the Lisp files in some temporary locations, then compiled these temporary files, then included the resulting FASLs in the compilation output.
<phoe> That is how it could be solved.
EvW has joined #lisp
MasouDa has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<Xach> phoe: that is an interesting option
smasta has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 248 seconds]
Kundry_Wag has joined #lisp
<phoe> Xach: the only sane one that I see if the sources are meant to remain read-only
raynold has quit [Quit: Connection closed for inactivity]
Cymew has joined #lisp
iqubic` has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
<phoe> Since ASDF has access to UIOP, it can use its WITH-TEMPORARY-FILE macro as a part of the system's build.
smasta has quit [Ping timeout: 276 seconds]
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
pierpal has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
rumbler31 has joined #lisp
pierpal has quit [Ping timeout: 248 seconds]
warweasle has quit [Quit: gah!]
rumbler31 has quit [Ping timeout: 268 seconds]
al-damiri has joined #lisp
habamax has quit [Remote host closed the connection]
fikka has joined #lisp
agspathis has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
didi has joined #lisp
wheelsucker has joined #lisp
<didi> So TIL SBCL doesn't do tail-recursion optimization with (optimize (speed 0)).
<didi> Or at least is what I inferred.
sjl__ is now known as sjl
araujo has quit [Quit: Leaving]
EvW has quit [Ping timeout: 245 seconds]
<beach> There are combinations of values of OPTIMIZE qualities for which SBCL does not do tail-call merging, yes, but I don't know the exact combinations.
<didi> beach: oic
<beach> What are you trying to accomplish?
<Bike> high debug turns it off too, which is in the manual
<Bike> but i don't know exact combos
<didi> Bike: Ah, maybe it was it. I have (debug 3), but (optimize speed) turned it on.
<didi> beach: Nothing in particular. Just spelunking.
<sjl> http://www.sbcl.org/manual/#Debugger-Policy-Control doesn't say anything about speed 0 specifically, just at debug > 2
fraya1 has joined #lisp
fraya1 has left #lisp [#lisp]
<didi> sjl: Interesting.
<sjl> I get the feeling the manual doesn't tell the full story about the various optimize combinations though
<sjl> e.g. http://www.sbcl.org/manual/#Declarations-as-Assertions says that you get full type checks at (or (>= safety 2) (>= safety speed 1))
<sjl> so if safety and speed are both 1, you get full checking, but if you reduce speed to 0, you wouldn't get full checking any more
<sjl> which is weird and probably not right
<didi> Well, (optimize speed) only turns it on. https://paste.debian.net/hidden/b84890fb
<didi> sjl: Indeed. How odd.
<sjl> Huh, yeah, (speed 3) (debug 3) does seem to enable lco
<sjl> which is not what the manual describes
<sjl> probably a bug in the manual
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
azimut has quit [Ping timeout: 248 seconds]
oleo has joined #lisp
heisig has quit [Quit: Leaving]
MasouDa has quit [Ping timeout: 248 seconds]
MasouDa has joined #lisp
azimut has joined #lisp
johnvonneumann has quit [Remote host closed the connection]
pjb has quit [Remote host closed the connection]
pjb has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
hajovonta has quit [Quit: hajovonta]
siraben has joined #lisp
zbir` has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
zbir` is now known as zbir
EvW has joined #lisp
FreeBirdLjj has joined #lisp
shrdlu68 has quit [Ping timeout: 256 seconds]
rippa has joined #lisp
smasta has joined #lisp
Xof has quit [Ping timeout: 245 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
smasta has quit [Ping timeout: 240 seconds]
schweers has quit [Ping timeout: 276 seconds]
blackwolf has joined #lisp
Kundry_Wag has quit [Ping timeout: 248 seconds]
ym has quit [Ping timeout: 256 seconds]
fonzie has joined #lisp
<ecraven> how does swank intercept a condition in one thread and handle it in the other thread, that communicates with SLIME? doesn't sldb run in the context of the thread where the condition was raised?
EvW has quit [Ping timeout: 255 seconds]
milanj has joined #lisp
fonzie has left #lisp [#lisp]
SenasOzys has quit [Remote host closed the connection]
rumbler31 has joined #lisp
asarch has joined #lisp
shrdlu68 has joined #lisp
FreeBirdLjj has quit [Read error: Connection reset by peer]
smasta has joined #lisp
FreeBirdLjj has joined #lisp
ym has joined #lisp
<phoe> I think the condition is passed on to the REPL thread
EvW has joined #lisp
<phoe> and I think the original thread blocks until SLDB returns control to the offended thread, at which point the selected restart takes effect in that thread
SenasOzys has joined #lisp
__rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
wigust has joined #lisp
cage_ has quit [Remote host closed the connection]
cage_ has joined #lisp
brendyn has quit [Ping timeout: 248 seconds]
comborico1611 has quit [Quit: Konversation terminated!]
zbir has quit [Ping timeout: 264 seconds]
Baggers has joined #lisp
light2yellow has joined #lisp
<light2yellow> why setq is a special operator while defvar is not?
quazimodo has quit [Ping timeout: 260 seconds]
<light2yellow> if done correctly, one has to defvar a variable before passing it to setq
<light2yellow> so, it is as essential as setq
Kundry_Wag has joined #lisp
pierpal has joined #lisp
fourier has joined #lisp
<phoe> light2yellow: setq is a special operator so implementations do not have to write macroexpansions for it but can rather implement it as a primitive
lnostdal has quit [Ping timeout: 248 seconds]
Fare has joined #lisp
ym has quit [Ping timeout: 248 seconds]
smasta has quit [Ping timeout: 248 seconds]
<light2yellow> I didn't understand
<light2yellow> anyway, is it possible to define and set a variable in one expression?
<phoe> (defvar *foo* 42)
<phoe> (defparameter *bar* 420)
<light2yellow> ah, okay
<light2yellow> thanks
Kundry_Wag has quit [Ping timeout: 264 seconds]
SenasOzys has quit [Ping timeout: 248 seconds]
<pierpal> if SETQ was not a special operator, what else could have been?
eschulte has quit [Ping timeout: 248 seconds]
jeosol has quit [Ping timeout: 260 seconds]
energizer has joined #lisp
sauvin has quit [Ping timeout: 256 seconds]
katco has joined #lisp
<beach> light2yellow: The distinction between macros and special operators is a bit blurred, so don't think too hard about it.
<phoe> actually an implementation is permitted to implement a specop as a macro
EvW has quit [Ping timeout: 265 seconds]
<beach> An implementation is allowed to provide a special operator using a macro.
<beach> And vice versa.
<phoe> so (SETQ FOO BAR) could theoretically expand into (INTERNAL::%SOME-SORTA-PRIVATE-SETQ 'FOO BAR :ANSWER 42) or some other crazy internal stuff
<phoe> as long as the semantics are preserved.
<beach> That would not be possible.
<pierpal> but a macro for SETQ could only expand to another special op
<phoe> pierpal: yes, but that specop needs not to be a standard one.
<beach> phoe: It would not work for lexical variables.
Cymew has joined #lisp
<phoe> beach: yep, that was just an example from me.
rumbler31 has joined #lisp
<pierpal> there's no non-specia-op way to accomplish SETQ
didi has quit [Ping timeout: 256 seconds]
<phoe> yep
Kundry_Wag has joined #lisp
<Bike> it makes some sense to have "%setq" be a special operator that only mutates one, lexical binding, and then have setq expand into a few of those, or setfs, or sets
<beach> Oh, good point.
fikka has quit [Ping timeout: 256 seconds]
SenasOzys has joined #lisp
<pierpal> good point
Karl_Dscc has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Ping timeout: 255 seconds]
ym has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
eschulte has joined #lisp
sauvin has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
light2yellow has quit [Quit: light2yellow]
zbir has joined #lisp
smasta has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
eschulte has quit [Ping timeout: 265 seconds]
ghard has joined #lisp
Cymew has joined #lisp
FreeBirdLjj has joined #lisp
shrdlu68 has quit [Quit: Lost terminal]
zbir has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 265 seconds]
shka_ has joined #lisp
_cosmonaut_ has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
eschulte has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
BitPuffin has quit [Remote host closed the connection]
Lord_Nightmare has quit [Excess Flood]
BitPuffin has joined #lisp
Lord_Nightmare has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
mflem has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
damke_ has joined #lisp
megalography has quit [Ping timeout: 256 seconds]
siraben` has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
damke has quit [Ping timeout: 264 seconds]
siraben has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
python476 has joined #lisp
Cymew has joined #lisp
Lord_Nightmare has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 264 seconds]
puchacz has quit [Read error: Connection reset by peer]
damke_ has joined #lisp
m00natic has quit [Remote host closed the connection]
zbir has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
Lord_Nightmare has joined #lisp
hhdave_ has joined #lisp
puchacz has joined #lisp
Cymew has joined #lisp
hhdave has quit [Ping timeout: 256 seconds]
hhdave_ is now known as hhdave
Cymew has quit [Ping timeout: 255 seconds]
Fare has joined #lisp
DemolitionMan has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
DemolitionMan has quit [Ping timeout: 240 seconds]
hhdave has quit [Ping timeout: 264 seconds]
hhdave has joined #lisp
cgay has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Ping timeout: 248 seconds]
jeosol has joined #lisp
Kundry_Wag has joined #lisp
fikka has joined #lisp
Cymew has joined #lisp
hhdave has quit [Quit: hhdave]
nckx has quit [Quit: Updating my GuixSD server — gnu.org/s/guix]
nckx has joined #lisp
Bronsa has joined #lisp
nckx has quit [Client Quit]
nckx has joined #lisp
EvW1 has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
<jeosol> morning
<Xach> phoe: for what it's worth, I am going to tinker with aufs to get read-only sources but with local read-write.
cezary has quit [Remote host closed the connection]
Karl_Dscc has quit [Remote host closed the connection]
<jeosol> how do you guys package CL code for easy deployment on a remote machine (AWS). I'll like to pack resources (e.g., .sbclrc, code directories, data directories) to remote machine.
Cymew has quit [Ping timeout: 248 seconds]
<phoe> Xach: I see.
<jeosol> by package above, I didn't mean CL packages, but more like how to gather dependencies up
<phoe> jeosol: usually we create binaries for easy deployment
<Xach> phoe: my bigger goal is to be able to run multiple parallel test builds from a single shared set of project sources.
Cymew has joined #lisp
<Xach> I don't want one build to clobber sources in another.
<jeosol> phoe: thanks.
<phoe> Xach: yes, I see.
<jackdaniel> jeosol: ql:bundle-systems for source code, clon for the binary build, proper systemd definitions for start. if you want to recreate your home directory on aws, why not tar it?
<jeosol> So other project requirements like data directory (large files) are copied separately
<jeosol> thanks jackdaniel
<jeosol> i recently copied my setup to another linux box close to me, it was a pain. I need to copy the package simlinks, data directories, repo, etc.
fikka has quit [Ping timeout: 248 seconds]
Cymew has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
<fourier> I just copy lisp implementation config files and my lisp sources directory. Then download quicklisp.lisp, load it and install; then just do ql:quickload for my local packages and everything is downloaded and installed
<fourier> did it couple of times recently, no problems at all (the only problem is that I always forget to do ql:quickload "prove-asdf" before ql'ing my packages which use prove
<jackdaniel> fourier: did you get my reply? regarding osicat
<jeosol> fourier: you do this manually each time or setup is automated
<fourier> ah no jackdaniel , cant see anything in my mailbox
<fourier> jeosol: ql downloads all necessary dependencies, its it purpose
pillton has quit [Ping timeout: 240 seconds]
<jeosol> I didn't mean ql, i meant the other related actions
Cymew has quit [Ping timeout: 240 seconds]
<fourier> ah no its manually. but it is like 5 minutes total
<jackdaniel> check in spam maybe?
<jackdaniel> google stopped to like my servers, I think they try to force me to use gmail
<jeosol> For my case, all my code is in one giant repo. Moving is not much of an issue. I have other dependencies, e.g., data directories (contain data for the application and could be large), some others e.g., wine to run a windows exe on linux, ...
<jeosol> But I will look to the options suggested by jackdaniel and phoe
Cymew has joined #lisp
Fare has quit [Ping timeout: 248 seconds]
<fourier> jackdaniel: aah I see it in the spam folder, yes thanks for the reply!
warweasle has joined #lisp
<jackdaniel> so, everybody, if I didn't respond to some message, blame the big brother
<jackdaniel> ;-)
<fourier> jeosol: my code is from multiple github and not only repos and in something like "Sources/lisp" directory, so I just archive the whole directory together and move to the next PC. same I do with the ".emacs.d" folder
Cymew has quit [Ping timeout: 260 seconds]
<jeosol> fourier: Thanks. I do use external libraries, it's just that the project I am working on, I trying to keep everything else (apart from application data) in the same repo.
smasta has quit [Ping timeout: 240 seconds]
<ecraven> phoe: thanks for the swank answer ;)
<phoe> ecraven: no problem
<jeosol> I need to look into this asp, to package code to remote machine -- had another power issue a while ago and had to restart my runs.
megalography has joined #lisp
Ryan_Burnside has joined #lisp
<jeosol> anyone running math/computational problems with random numbers where they save state and restart?
zbir has quit [Remote host closed the connection]
skali has joined #lisp
zbir has joined #lisp
Cymew has joined #lisp
<jeosol> apologies for my use of "save state" and "restart". These are not in the usual CL context. By "save state" I mean save information about the random number generator and by "restart" I mean restart the run again but now using the info from the random number generator
mflem has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
<phoe> oh, no problem
lnostdal has joined #lisp
<phoe> if you are using the Lisp RNG, then simply save *RANDOM-STATE* somehow, perhaps to a file
<phoe> and when you boot it back up, read the value from the file, setf it, and go on
<_death> there's no standard way to save it, but implementations sometimes provide a way..
<phoe> yep, it's implementation-dependent.
<rme> You can always print *random-state* to a file and read it back in. The format of *random-state* is implementation-dependent, but you can always print and read it.
<rme> (Within the same implementation, I mean)
<_death> in sbcl's case, even if it didn't provide a way, you'd still be able to reconstruct the state ("clone" it) since it's not a cryptographic rng
lnostdal has quit [Max SendQ exceeded]
<jeosol> rme: yes, i save random-state to a file and read back in
<jeosol> that is the approach I use so far
Cymew has quit [Ping timeout: 248 seconds]
lnostdal has joined #lisp
<phoe> rme: not if it's an unreadable object
<jeosol> I only run on sbcl and so far, I am able to reproduce the random number sequence
<phoe> jeosol: do you initialize your RNG when you start SBCL up?
<rme> I am pretty sure that the spec requires that you be able to print and read *random-state*.
fikka has joined #lisp
<phoe> clhs *random-state*
<phoe> rme: correct!
<jeosol> rme: I am able to initialize it and read back in. Let me quickly check that part of the code again
varjag has joined #lisp
warweasle has quit [Quit: exit]
Cymew has joined #lisp
Kundry_W_ has joined #lisp
<phoe> rme: yes, also
<phoe> clhs random-state
<_death> on my flight home I actually ported my old Go code to clone the state.. https://gist.github.com/death/ba34a87cd43fc041215f36c735e0fe13
<jeosol> when I start, I call make-random-state, save that info somewhere. If I need to continue to run, I read back that info
<_death> ugly but works
<rme> For instance, in ccl, the default random-state object is #.(INITIALIZE-MRG31K3P-STATE 314159 42 1776 271828 6021023 1066)
Kundry_Wag has quit [Ping timeout: 240 seconds]
<jeosol> _death: do you mean my approach is ugly?
<phoe> rme: good enough, that's readable.
Cymew has quit [Ping timeout: 255 seconds]
<_death> jeosol: no, my code is ;)
<rme> jeosol: the random state object gets modified every time you call random. the point of saving and restoring it is so that you can run your computation multiple times using the same sequence of (pseudo-) random values.
<jeosol> _death: ok
<jeosol> rme: yes, that is my objective
Cymew has joined #lisp
<jeosol> they way my application works is this (simplified). I get a random number, do some calculations. Let's call this one iteration. I repeat this again for more iterations
<jeosol> somewhere along the line (I may have power failure like today), I want to be able to pick up from where I stop, or sometimes just continue if I don't have convergence.
<jeosol> So the reason is to continue the search trend I had before the disruption or just continue in the case of extension
<jeosol> extending the run works fine, but with power failure, some required files for rerun where not written. I am currently working on this part ...
DemolitionMan has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
<jeosol> thanks guys. I checked the clhs link above and my application uses the same logic
DemolitionMan has quit [Client Quit]
DemolitionMan has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
makomo has joined #lisp
FreeBirdLjj has joined #lisp
nika_ has quit [Quit: Leaving...]
<rme> Beware that *random-state* might be thread-local (it is on ccl). I have no idea if that applies to your situation.
Cymew has quit [Ping timeout: 248 seconds]
milanj has quit [Quit: This computer has gone to sleep]
Cymew has joined #lisp
Ryan_Burnside has quit [Quit: Leaving]
<phoe> welp, multiple threads might be modifying the random state at the same time, too. that might be dangerous.
<jeosol> rme: that is an important info
FreeBirdLjj has quit [Ping timeout: 248 seconds]
pierpa has joined #lisp
<jeosol> I run multiple threads for evaluation but I the generation of solutions is non-threaded
<jeosol> I have to check to make sure things kosher
pfdietz has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
pierpal has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
<jeosol> I am sure this has been said enough. This place is like a hive of connected brains. Problems getting resolved quickly and also, you are getting multiple ideas and gotchas. What's there not to love
<jeosol> I am singing to the choir, but with suggestions here over last few weeks, my code is more stable
<fourier> jeosol: why dont you just precompute a series of number and run on it until you get some stable results?
ebrasca has quit [Remote host closed the connection]
<jeosol> fourier: I actually, simplified my explanation above.
<fourier> I see
Cymew has quit [Ping timeout: 268 seconds]
<jeosol> I am running an optimization problem with > 1000 variables per solution and like 30 solutions per iteration.
<jeosol> That is around 30,000 random numbers I will need for one iteration
Cymew has joined #lisp
<jeosol> Sometimes, I can run for 50 iterations.
pmetzger has left #lisp [#lisp]
minion has quit [Remote host closed the connection]
minion has joined #lisp
<jeosol> So I just live with that approach for now. As per stability, for small problems (not expensive computationally), I perform multiple runs and average the results.
MasouDa has quit [Ping timeout: 256 seconds]
<jeosol> with SBCL, the code is pretty fast the bottleneck is elsewhere. My current pain is instrumenting code for re-runs
Cymew has quit [Ping timeout: 265 seconds]
MasouDa has joined #lisp
Cymew has joined #lisp
smasta has joined #lisp
froggey has quit [Remote host closed the connection]
froggey has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
ym has quit [Remote host closed the connection]
ym has joined #lisp
rotty has quit [Ping timeout: 276 seconds]
Cymew has joined #lisp
<ecraven> is there a way to print a custom "banner" in SLIME from the swank? it just says '; SLIME 2.20', but nothing about the actually connected lisp (only in the buffer name, but I'd love to see the actual lisp somewhere up there on connecting)
smasta has quit [Ping timeout: 260 seconds]
lyding has joined #lisp
Lord_Nightmare has quit [Ping timeout: 248 seconds]
EvW1 has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 256 seconds]
skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phoe> ecraven: the actual lisp implementation is in the buffer name
Cymew has joined #lisp
Lord_Nightmare has joined #lisp
<sea> Is there a way to tell lisp that a particular function always returns the same value, and can be compiled away?
<ecraven> phoe: yea, but I'd love to see it somewhere up top too. I guess I'll have to add some :write-string somewhere to just show it that way
<phoe> what do you mean, always returns the same value?
<phoe> something like (defun foo () 42)?
<sea> (defun bar (x) (+ x (foo))). How can I make it evaluate that foo once, and store 42 in bar instead?
<phoe> sea: you can't.
<phoe> FOO can be redefined at any moment.
<phoe> unless you (declaim (inline foo)), that is. then FOO may get inlined.
<fourier> you can try inline it (declaim (inline fun))
<phoe> and BAR will become (defun bar (x) (+ x 42)).
<fourier> phoe beat me in this
<phoe> fourier: high five
Cymew has quit [Ping timeout: 255 seconds]
<sea> Hrm not sure how this would work in the case where foo is a macro
Arcaelyx_ has quit [Ping timeout: 265 seconds]
cage_ has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
<sea> I have a macro that compiles code to lisp, and I have a function I'm defining with one of those macros in it. I realized that every time I run the function, it re-compiles the code in it for no reason, and I wanted to avoid that
<phoe> sea: huh?
<phoe> macros are always "inline"
<fourier> macro expanded in compile time anyway
<phoe> since they literally expand into the code that they are defined to expand into
<phoe> sea: do you have the code and can show it to us?
<sea> Yeah I'll simplify it for you one sec
rotty has joined #lisp
smasta has joined #lisp
cage_ has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
ealfonso has joined #lisp
Lord_Nightmare has quit [Ping timeout: 248 seconds]
Kundry_Wag has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Lord_Nightmare has joined #lisp
Hello_ has quit [Ping timeout: 260 seconds]
MasouDa has quit [Ping timeout: 260 seconds]
Arcaelyx has joined #lisp
<sea> huh, you're right, it macro-expands when the function is defined..
<phoe> sea: show me the code
zbir has quit [Ping timeout: 268 seconds]
raynold has joined #lisp
<ealfonso> how can I avoid an undefined variable warning when using (cffi:defcvar ("my_var" my-var) :int) and then referring to my-var?
zbir has joined #lisp
zbir has quit [Remote host closed the connection]
SenasOzys has quit [Read error: Connection reset by peer]
<Bike> i think that shouldn't happen. how do you use it?
zbir has joined #lisp
<sea> Okay there
<sea> okay so it looks like it really is run only once at compile-time after all
<sea> The defun takes long, though, which is fine
<Bike> you know modular exponentiation can be done more efficiently, right?
<ealfonso> Bike https://pastebin.com/H8SEkxL4 I'm simply referring to the defcvar variable with setf
shifty has joined #lisp
<Bike> ealfonso: i believe defcvar is intended to be used at top level. the compiler won't be aware of the definition while compiling init-lib.
<ealfonso> I see. thanks
<Bike> since defcvar just establishes a symbol macro it's largely pointless to do it at runtime, anyway
milanj has joined #lisp
nowhereman_ has joined #lisp
didi has joined #lisp
BitPuffin has quit [Remote host closed the connection]
nowhere_man has quit [Read error: Connection reset by peer]
<phoe> this should work without any redefinitions
<phoe> but what Bike said, your code is pretty inefficient
<pierpa> sea: maybe you can do the computation at read time? (defun foo (x) #.(compute-something x))
<Bike> it's among the least efficient ways to compute (0 1 1) i can think of
SenasOzys has joined #lisp
<sea> That's just the example code. I wanted something slow to take up time, so I could figure out if the macro was being run at compile-time or run-time
<Bike> mostly because i have no head for busy beavers
<Bike> okay, well, if you compile your code the macro will be expanded at compile time.
<Bike> if you just evaluate it it could go either way, but in most implementations now it'll still be expanded just the once.
Cymew has joined #lisp
longshi has joined #lisp
<sea> Hrm, it's still slightly slower than it should be. I took the macro bit out altogether and put it as a global variable it can reference
<Bike> i think sbcl will compile foo into justsomething that returns a constant
Cymew has quit [Ping timeout: 256 seconds]
<Bike> based on the disassembly, it does indeed
<sea> Maybe it's down to how I write my macros? Is there a better way to do this: (defmacro foo (x) (list 'quote (f x))) ?
<phoe> sea: yes. Read about backquote notation.
<Bike> but that won't affect speed
<phoe> (defmacro foo (x) `(,(f x)))
<Bike> you're not really going to get faster than immediately returning a constant
<sea> That was just the example
EvW has joined #lisp
<Bike> how the macro is written isn't going to affect runtime speed anyway
<Bike> what it expands into might
cage_ has quit [Quit: Leaving]
MichaelRaskin has joined #lisp
smasta has quit [Ping timeout: 276 seconds]
<ealfonso> any idea why something simple like this causes my sbcl instance to run out of memory and crash when it works fine in C: (cffi:with-foreign-object (g :pointer) (cffi:foreign-funcall "my_alloc_new_very_small_struct" :pointer))
<Bike> er, is the pointer not being used
Hello has joined #lisp
zxcvz has quit [Quit: zxcvz]
jealousmonk has joined #lisp
scymtym has quit [Ping timeout: 260 seconds]
Mutex7 has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
SlowJimmy has joined #lisp
smasta has joined #lisp
<oleo> an unassigned pointer ?
<ealfonso> Bike it was probably a user-error
<ealfonso> Bike I was calling a binary function with zero args, so there was probably uninitialized data causing a huge malloc
dieggsy has joined #lisp
<Bike> i see.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nowhere_man has joined #lisp
nowhereman_ has quit [Ping timeout: 256 seconds]
didi has left #lisp ["there are always reasons to /part"]
comborico1611 has joined #lisp
fourier has quit [Ping timeout: 260 seconds]
Josh_2 has joined #lisp
vlatkoB_ has quit [Remote host closed the connection]
devon has joined #lisp
fraya has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
angavrilov has quit [Remote host closed the connection]
prozprcek has joined #lisp
light2yellow has joined #lisp
energizer has quit [Remote host closed the connection]
pierpal has joined #lisp
Karl_Dscc has joined #lisp
energizer has joined #lisp
fraya has left #lisp [#lisp]
scymtym has joined #lisp
SlowJimmy has quit [Ping timeout: 268 seconds]
SlowJimmy has joined #lisp
<Xach> rme: Sorry to bug you, but ccl.clozure.com is not working for me - what does :SHARED mean in make-hash-table?
zbir has quit [Ping timeout: 256 seconds]
pjb has quit [Ping timeout: 255 seconds]
<Xach> rme: Trying to adapt some sbcl code which uses `:synchronized t` to mean "concurrent writers are safe", so that's my real question - how to get safe concurrent writers for ccl hash tables.
<rme> ccl hash tables for safe for concurrent writers by default
<rme> are safe, I mean
<Xach> ok, thanks.
damke has joined #lisp
pjb has joined #lisp
<rme> They use a lock-free algorithm which is good for typical access, but slower for rehashing or growing the table.
damke_ has quit [Ping timeout: 264 seconds]
devon has quit [Ping timeout: 256 seconds]
<phoe> oh goodness, http://www.scieneer.com/ is dead
Josh_2 has quit [Ping timeout: 248 seconds]
<Xach> Yeah, I'm on the verge of ignoring it for Quicklisp purposes.
cezary has joined #lisp
mflem has joined #lisp
Josh_2 has joined #lisp
u0_a183 has joined #lisp
mejja has joined #lisp
prozprcek has quit [Quit: Leaving]
<jasom> wasn't scieneer open sourced?
asarch has quit [Quit: Leaving]
markong has joined #lisp
DemolitionMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<phoe> jasom: AFAIR it was corman
<jasom> phoe: that's the one I was thinking of
damke_ has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
damke has quit [Ping timeout: 264 seconds]
SlowJimmy has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
nckx has quit [Quit: Updating my GuixSD server — gnu.org/s/guix]
nckx has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
Cymew has joined #lisp
smasta has quit [Ping timeout: 240 seconds]
wigust has quit [Ping timeout: 265 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
Cymew has quit [Ping timeout: 260 seconds]
sjl has quit [Quit: WeeChat 2.0.1]
sjl has joined #lisp
<pierpa> btw, clozure.com has been fixed since at least several hours ago
puchacz has quit [Quit: Konversation terminated!]
<pierpa> clhs car
<pierpa> oops
<phoe> clhs automobile
<specbot> Couldn't find anything for automobile.
smasta has joined #lisp
<pierpa> yeah, I have to define it myself every time!
SlowJimmy has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
Bike has quit [Ping timeout: 260 seconds]
fourier has joined #lisp
makomo has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
fourier has quit [Ping timeout: 240 seconds]
MichaelRaskin has quit [Ping timeout: 248 seconds]
Anthaas_ has joined #lisp
fourier has joined #lisp
light2yellow has quit [Ping timeout: 260 seconds]
banjara1 has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
light2yellow has joined #lisp
LiamH has quit [Quit: Leaving.]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
jealousmonk has quit [Quit: Leaving]
Cymew has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
light2yellow has quit [Quit: light2yellow]
iqubic has joined #lisp
Kundry_Wag has joined #lisp
Cymew has quit [Ping timeout: 268 seconds]
banjara1 has quit [Ping timeout: 255 seconds]
zachk has joined #lisp
Kundry_Wag has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
blackwolf has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
pillton has joined #lisp
ealfonso` has joined #lisp
fikka has joined #lisp
Baggers has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
ealfonso has quit [Ping timeout: 276 seconds]
mmacleod has joined #lisp
__rumbler31 has quit [Ping timeout: 265 seconds]
Kundry_Wag has joined #lisp
Bike has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
rumbler31 has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
python476 has quit [Ping timeout: 268 seconds]
Cymew has quit [Ping timeout: 260 seconds]
rumbler31 has quit [Remote host closed the connection]
fourier has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
damke_ has quit [Ping timeout: 265 seconds]
Cymew has quit [Ping timeout: 240 seconds]
edgar-rft has quit [Ping timeout: 256 seconds]
Anthaas_ has quit [Ping timeout: 248 seconds]
cezary has quit [Remote host closed the connection]
pfdietz has quit [Ping timeout: 240 seconds]
edgar-rft has joined #lisp
Bronsa has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 248 seconds]
terpri has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
fikka has joined #lisp
Kaisyu has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Fare has joined #lisp
Cymew has joined #lisp
fisxoj has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
ealfonso` has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
siraben` has quit [Remote host closed the connection]
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
damke_ has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
longshi is now known as enso
Cymew has joined #lisp
Kundry_Wag has joined #lisp
borei has joined #lisp
smasta has quit [Ping timeout: 248 seconds]
<jasom> Any hints for a fully-remote slime debug; I can connect to slime remotely and use tramp for opening the remote files, but do I need to do anything to get them all to play nicely together?
<jasom> also if someone has a script for setting up a slime-over-ssh tunnel easily that would save me some time
Cymew has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
<Josh_2> can't you remote connect with emacs?
<scymtym> jasom: the slime-tramp contrib seems to be intended for that use case
Cymew has quit [Ping timeout: 255 seconds]
smasta has joined #lisp
Kaisyu7 has joined #lisp
Cymew has joined #lisp
johnvonneumann has joined #lisp
johnvonneumann_ has joined #lisp
mathZ has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
comborico1611 has quit [Quit: Konversation terminated!]
Cymew has quit [Ping timeout: 240 seconds]
cmatei has quit [Ping timeout: 256 seconds]