smurfrobot has quit [Remote host closed the connection]
mikecheck has joined #lisp
bms_ has joined #lisp
DGASAU has quit [Ping timeout: 272 seconds]
openthesky has joined #lisp
turkja has joined #lisp
cromachina has joined #lisp
openthesky has left #lisp [#lisp]
openthesky has joined #lisp
AxelAlex has joined #lisp
dddddd has quit [Remote host closed the connection]
smurfrobot has joined #lisp
Jen has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
Tobbi has quit [Quit: Leaving]
SuperJen has quit [Ping timeout: 248 seconds]
quazimodo has joined #lisp
markong has quit [Ping timeout: 268 seconds]
Tobbi has joined #lisp
JuanDaugherty has quit [Remote host closed the connection]
micro has joined #lisp
nowhereman_ has joined #lisp
quazimodo has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
cgay has quit [Ping timeout: 260 seconds]
cgay has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
gilez has quit [Ping timeout: 240 seconds]
gilez has joined #lisp
pagnol has joined #lisp
gilez has quit [Ping timeout: 265 seconds]
borei has quit [Ping timeout: 248 seconds]
Oladon has quit [Quit: Leaving.]
jonh has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
bugrum has joined #lisp
fikka has joined #lisp
gilez has joined #lisp
smurfrobot has joined #lisp
pilfink has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
zmt01 has quit [Quit: Leaving]
zmt00 has joined #lisp
fortitude has joined #lisp
openthesky has quit [Ping timeout: 260 seconds]
smurfrobot has quit [Remote host closed the connection]
pierpa has joined #lisp
madpengu has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
dieggsy has joined #lisp
ebrasca has joined #lisp
pagnol has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
jameser has joined #lisp
<madpengu> So is append destructive or not?
fikka has quit [Ping timeout: 268 seconds]
<Xach> madpengu: not
smurfrobot has joined #lisp
<ebrasca> Hi
smurfrobot has quit [Remote host closed the connection]
bms_ has quit [Quit: BYE]
Tobbi has quit [Quit: Leaving]
bugrum has quit [Remote host closed the connection]
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
safe has joined #lisp
smurfrobot has quit [Remote host closed the connection]
fikka has joined #lisp
smurfrobot has joined #lisp
<madpengu> Append is supposed to reuse lists, yeah?
<madpengu> I don't seem to get that behavior.
smurfrobot has quit [Remote host closed the connection]
<madpengu> (defparameter *a* (list 1 2 3)) (defparameter *b* (list 4 5 6)) (defparameter *c* (append *a* *b*)) (setf (first *a*) 55)
<madpengu> For *c*, I still get 1 2 3 4 5 6
<madpengu> wot.
al-damiri has quit [Quit: Connection closed for inactivity]
rumbler31 has joined #lisp
<madpengu> Okay, figured, append is only allowed to reuse the last structure, not just any one of them
<madpengu> So making changes to *b* does change the value of *c* as expected
<madpengu> rookie mistake
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
astronavt has joined #lisp
<dmiles> right, you'd still need to copy-list to detangle them
smurfrobot has joined #lisp
<pjb> madpengu: append is not destructive, but the result shares the last argument, so if you mutate the result, it could be destructive!
smurfrobot has quit [Remote host closed the connection]
<madpengu> yeah, I suppose append is not destructive but recycling?
<madpengu> which means it could be destructive.
smurfrobot has joined #lisp
<pjb> (let ((a (list 1 2 3)) (b (list 4 5 6)) (c (list 7 8 9))) (tailp c (append a b c))) #| --> t |#
<madpengu> I was just confusing about what is reused, it seems only the last structure, no the first one.
<dmiles> if it reused the first structure then it would accidently modify the first structure
<pjb> Notice that this is what lets you use append to build a dotted list: (append '(1 2 3) 4) #| --> (1 2 3 . 4) |#
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
<dmiles> (otherwise indeed it may have been nice to have had it resue the first structure to save space)
<pjb> use nconc for that.
Oddity has quit [Read error: No route to host]
<madpengu> What is the difference of that with (cons (1 2 3) 4)?
<pjb> (let ((a (list 1 2 3)) (b (list 4 5 6)) (c (list 7 8 9))) (tailp a (nconc a b c))) #| --> t |#
<pjb> (cons '(1 2 3) 4) #| --> ((1 2 3) . 4) |#
smurfrobot has quit [Remote host closed the connection]
<pjb> I hope the difference jumps to your eyes!
<madpengu> Hmmm. I think I get it.
smurfrobot has joined #lisp
Oddity has joined #lisp
smurfrobot has quit [Remote host closed the connection]
schasta has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<pjb> madpengu: you can also use (com.informatimago.common-lisp.picture.cons-to-ascii:draw-list (cons '(1 2 3) 4))
oleo has quit [Read error: Connection reset by peer]
rumbler31 has quit [Remote host closed the connection]
oleo has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
schasta has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 248 seconds]
<madpengu> pjb: How do I install that with ql?
FreeBirdLjj has joined #lisp
smurfrobot has joined #lisp
wxie has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
sz0_ has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 276 seconds]
dieggsy has quit [Ping timeout: 276 seconds]
<jmercouris> madpengu: you'd place it in your local projects
sz0_ is now known as sz0
FreeBirdLjj has joined #lisp
wxie has quit [Remote host closed the connection]
nsrahmad has joined #lisp
FreeBirdLjj has quit [Ping timeout: 276 seconds]
d4ryus1 has joined #lisp
gilez has quit [Quit: leaving]
damke has joined #lisp
vancan1ty has joined #lisp
kolb has quit [Read error: Connection reset by peer]
mrottenkolber has joined #lisp
d4ryus has quit [Ping timeout: 240 seconds]
mrottenkolber is now known as Guest80951
damke_ has quit [Ping timeout: 264 seconds]
<jasom> madpengu: (car (cons '(1 2 3) 4)) ;=> (1 2 3)
Tristam has quit [Ping timeout: 240 seconds]
ebzzry has quit [Quit: WeeChat 1.9.1]
fikka has quit [Ping timeout: 260 seconds]
bms_ has joined #lisp
fikka has joined #lisp
igemnace has quit [Quit: WeeChat 2.0.1]
schasta has joined #lisp
nsrahmad has quit [Quit: Leaving]
Oladon has joined #lisp
test1600 has joined #lisp
orivej has joined #lisp
<ebrasca> What are streams in common lisp?
<ebrasca> is object equal to atom?
<pillton> Stream objects are atoms.
warweasle has joined #lisp
<ebrasca> pillton: thanks
<ebrasca> pillton: I try to implement open-using-host.
fikka has quit [Ping timeout: 268 seconds]
astronavt has quit [Ping timeout: 248 seconds]
<pillton> I don't understand why your question is related to implementing open-using-host.
<pillton> (subtypep 'stream 'atom) => T
<drmeister> Does (unread nil <stream>) make any sense?
<drmeister> I realize that nil is not a character - but I have some code (not my own) that is invoking unread with nil.
<pillton> unread-char?
<ebrasca> I need streams to make open-using-host and I don't understand how to make streams.
bms_ has quit [Remote host closed the connection]
bms_ has joined #lisp
fikka has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
openthesky has joined #lisp
openthesky has quit [Client Quit]
bugrum has joined #lisp
sdelic has joined #lisp
<jasom> ebrasca: every object in lisp is either a cons or an atom. The type atom is literally the same as the type (not atom)
<jasom> ebrasca: it's a bit silly that vectors and hash-tables are atoms, but the atom/cons distinction predates lisps having those
<jasom> Correction: *The type atom is literally the same as the type (not cons)
jameser has quit [Read error: Connection reset by peer]
ccl-logbot has quit [Remote host closed the connection]
jameser has joined #lisp
sdelic has quit [Quit: Leaving...]
notzmv has quit [Quit: ergh]
sdelic has joined #lisp
sdelic has quit [Quit: Leaving...]
sdelic has joined #lisp
ccl-logbot has joined #lisp
jameser has quit [Read error: Connection reset by peer]
jameser_ has joined #lisp
rumbler31 has joined #lisp
pjb has quit [Ping timeout: 276 seconds]
schasta has quit [Ping timeout: 248 seconds]
iridioid has joined #lisp
<beach> Good morning everyone!
<jmercouris> good morning
<beach> jmercouris: What kind of help are you offering for ELS papers?
<beach> I usually submit early versions here for people to comment on.
<jmercouris> I'm no expert, so I can do just proofreading/sanity type checks
AxelAlex has quit [Quit: AxelAlex]
<jmercouris> maybe some research, demos, diagrams
<beach> OK, good.
<beach> Coming soon. Not quite yet, though.
<jmercouris> cool! I look forward to it
rumbler31 has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 276 seconds]
bugrum has quit [Remote host closed the connection]
iridioid has quit [Read error: Connection reset by peer]
schoppenhauer has quit [Ping timeout: 260 seconds]
<jmercouris> anyone know a cl lib that provides functionality similar to: https://www.passwordstore.org or perhaps a wrapper for it?
schoppenhauer has joined #lisp
fikka has joined #lisp
orivej has joined #lisp
<bms_> Good morning!
<bms_> I'll be going to bed soon.
<madpengu> bms_: It is always morning.
<madpengu> jmercouris: That is a stupid simple wrapper around gpg. You could probably write in cl in 2 lines of code ;)
<bms_> I guess so.
marusich has joined #lisp
pjb has joined #lisp
bms_ has quit [Remote host closed the connection]
orivej has quit [Read error: Connection reset by peer]
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
<jmercouris> madpengu: I don't know about 2 lines of code...
<jmercouris> I'm hesitant to recreate it in CL because I think there are some users of pass already, and I'd like to integrate with their workflow rather than break it
fikka has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
lnostdal has quit [Ping timeout: 260 seconds]
lnostdal has joined #lisp
orivej has joined #lisp
pjb has quit [Ping timeout: 255 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Oladon has quit [Quit: Leaving.]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
FreeBirdLjj has joined #lisp
quazimodo has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 248 seconds]
pierpa has quit [Quit: Page closed]
quazimodo has joined #lisp
FreeBirdLjj has quit [Ping timeout: 264 seconds]
<madpengu> jmercouris: I use pass all day erry day. And considering that it is just a bash script, I am not sure how you can find a cl library.
<jmercouris> it was worth an ask
<madpengu> It is 700 lines of bash, so about 70 lisp.
<madpengu> :P
<jmercouris> maybe I'll end up recreating it in CL then
<madpengu> That is for sure.
<jmercouris> the hard part will be understanding the bash
<jmercouris> what a terrible language
<madpengu> you know it
<madpengu> it is basically a terrible algol
<jmercouris> it's basically javascript
Bike has quit [Quit: Lost terminal]
<madpengu> JavaScript is far better than bash.
<madpengu> And JavaScript is not a great language.
<beach> jmercouris: I consider it progress whenever some existing software can be rewritten in pure Common Lisp, or at least as pure as possible, depending on the task at hand. It makes the software safer and easier to maintain for us.
<jmercouris> yeah, this is definitely true, though I'd still have to rely on GPG
orivej has joined #lisp
<jmercouris> Ironclad also looks like a nice library: https://github.com/sharplispers/ironclad
mikecheck has quit [Remote host closed the connection]
damke_ has joined #lisp
<jmercouris> maybe it's not necessary to bring in GPG at all
<jmercouris> but you'd still probably want interop with Pass
madpengu has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 248 seconds]
nika_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
JuanDaugherty has joined #lisp
<beach> jmercouris: There have been some issues with Ironclad. I suggest you ask Bike and drmeister.
<jmercouris> beach: Ok, I'll ask tomorrow morning when they'll probably be online
damke has joined #lisp
<jmercouris> thanks for the heads up
<beach> Sure.
oleo has quit [Quit: Leaving]
damke_ has quit [Ping timeout: 263 seconds]
smurfrobot has joined #lisp
red-dot has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Remote host closed the connection]
safe has quit [Read error: Connection reset by peer]
fikka has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vancan1ty has quit [Ping timeout: 276 seconds]
<raynold> ahh it's a wonderful day
jmercouris has quit [Ping timeout: 268 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
nightfly has quit [Quit: WeeChat 1.5]
sdelic has quit [Remote host closed the connection]
LocaMocha has joined #lisp
hexfive has quit [Quit: WeeChat 1.9.1]
<beach> Hmm, it might be time to extract the SICL reader into a separate repository.
<beach> I have almost all the customization code in place. I think only what backquote returns need to be customized.
<beach> And for the CST reader, I need to make the source information possible to customize.
marusich has quit [Quit: Leaving]
<beach> Extracting it would be the good opportunity to make sure it is truly implementation independent, and also the opportunity to document it properly.
damke_ has joined #lisp
<beach> ... and to write more tests.
sonologico has quit [Quit: WeeChat 1.9.1]
damke has quit [Ping timeout: 264 seconds]
scymtym has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
mishoo has joined #lisp
<beach> Oh, wait. The readtable protocol must first be in place.
damke_ has quit [Ping timeout: 264 seconds]
drcode has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
alexmlw has quit [Remote host closed the connection]
impulse has joined #lisp
smurfrobot has joined #lisp
pagnol has joined #lisp
fikka has joined #lisp
zhoujingrui has joined #lisp
dec0n has joined #lisp
SuperJen has joined #lisp
yeticry has quit [Ping timeout: 248 seconds]
Jen has quit [Ping timeout: 265 seconds]
yeticry has joined #lisp
varjag has joined #lisp
makomo has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
Murii has joined #lisp
shka has joined #lisp
<zhoujingrui> hi
flamebeard has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 252 seconds]
<beach> Hello zhoujingrui.
<beach> zhoujingrui: Are you new here? I don't recognize your nick.
<zhoujingrui> yeah
<zhoujingrui> i am new
<beach> OK, welcome then.
<zhoujingrui> thanks
<beach> What brings you to #lisp?
<zhoujingrui> i want to learn lisp programming'
<beach> Sounds good.
<zhoujingrui> so what lisp do you use
<beach> Well, #lisp is dedicated to the Common Lisp dialect of Lisp.
<beach> But there are several implementations of it.
<beach> The most popular one is probably SBCL. But CCL and ECL are common as well.
whoman has quit [Ping timeout: 255 seconds]
mishoo has quit [Ping timeout: 240 seconds]
<beach> The fact that Common Lisp has several implementations can be confusing to "modern" programmers who are used to single-implementation languages, where the language and the implementation evolve together.
<beach> But having a fixed standard like Common Lisp does, and having several possible implementations of that standard to choose from is actually a good thing.
<beach> A commercial software project that chooses a single-implementation language is actually taking a great risk.
<zhoujingrui> M-x package-install RET slime RET
<zhoujingrui> what is this mean
<zhoujingrui> RET
<beach> It's the RETURN key on your keyboard.
loke has quit [Remote host closed the connection]
<beach> I usually prefer to install SLIME using Quicklisp.
loke has joined #lisp
<zhoujingrui> ok
<beach> If you want an easy start, you might want to try Portacle.
<dmiles> zhoujingrui: paste an entire function to pastebin, RET is used in a certain dialect of lisp that i am very familiar with
nowhereman_ has quit [Remote host closed the connection]
<dmiles> oh sorry RET its not a operator? but some package?
zhoujingrui has quit [Remote host closed the connection]
<beach> dmiles: RET has nothing to do with Lisp. It is the RETURN key on the keyboard.
nowhereman_ has joined #lisp
<dmiles> hah i see now, i thought the refernce to the keyboard was a joke.. but now i see this is instructions
pagnol has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 248 seconds]
damke_ has joined #lisp
whoman has joined #lisp
smurfrobot has quit [Remote host closed the connection]
mishoo has joined #lisp
<ebrasca> Goodmorning
waaron has joined #lisp
fikka has joined #lisp
orivej has joined #lisp
<beach> Hello ebrasca.
shka has quit [Ping timeout: 240 seconds]
damke has joined #lisp
<ebrasca> I am integrating my fat32 to mezzano. ( like function open )
smurfrobot has joined #lisp
<ebrasca> beach: how are you?
Cymew__ has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
_main_ has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<beach> ebrasca: I am fine thank you. I am working on one the ELS submissions for this year. What about yourself?
damke_ has quit [Ping timeout: 264 seconds]
SuperJen has quit [Remote host closed the connection]
<ebrasca> beach: I am fine , I have good progress with my integration.
__main__ has quit [Ping timeout: 260 seconds]
<beach> Great!
<ebrasca> Is hard to make ELS submissions?
_main_ is now known as __main__
<beach> No. It's a job like any others.
<beach> You get better with experience.
<beach> [usually]
SuperJen has joined #lisp
varjag has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
SuperJen has quit [Remote host closed the connection]
__main__ has quit [Read error: Connection reset by peer]
SuperJen has joined #lisp
smurfrobot has joined #lisp
<ebrasca> How is to go to ELS?
__main__ has joined #lisp
hajovonta has joined #lisp
<beach> Quite nice. There are usually almost 100 participants, and many of the same people come back every year, so it is good to see them again, and discuss what they are doing. Many people here on #lisp are regular participants.
<hajovonta> hi all
<beach> Hello hajovonta.
SuperJen has quit [Remote host closed the connection]
SuperJen has joined #lisp
<hajovonta> today morning I have this error message when starting SLIME: fatal error encountered in SBCL pid XXXX: can't find core file at ~/sbcl/lib/sbcl/sbcl.core
<beach> ebrasca: The thing to know about academic conferences is that the presentations are nice, but secondary. The primary interest is to meet the other participants and discuss with them face to face.
<beach> hajovonta: Maybe you need to set SBCL_HOME.
SuperJen has quit [Remote host closed the connection]
<ebrasca> beach: I like to go , but I am bad moving 1 site to other.
SuperJen has joined #lisp
<hajovonta> beach: in .emacs ?
fikka has joined #lisp
<beach> hajovonta: No, it's a Unix shell variable.
<beach> hajovonta: Maybe in the .bashrc or something. I am not an expert.
<beach> I usually install SBCL in /usr/local, so I don't have that problem.
SuperJen has quit [Remote host closed the connection]
<beach> ebrasca: What do you mean? Do you have mobility problems?
<hajovonta> it was more than a year when I installed sbcl, but as I remember, I couldn't write to that directory
<hajovonta> that's why it ended up in my ~
<ebrasca> beach: Probably more management
<|3b|> hajovonta: does that .core file exist?
<hajovonta> yes
<hajovonta> it's there
<beach> OK, very preliminary version of one of the submissions: http://metamodular.com/partial-inlining.pdf
<ebrasca> beach: Like how to get here , where to sleep , how to make it cheap to go.
<beach> ebrasca: I see.
<hajovonta> beach: I had discussed it briefly with my wife last week, and it seems she's excited to go there for a few days.
<beach> ebrasca: Take a flight to Malaga, then a bus to Marbella. Use AirBnB to get a place to stay.
<hajovonta> when will it be?
<|3b|> hajovonta: have you reinstalled sbcl since then, or made any major changes to OS install?
<hajovonta> thanks. I forward it to her :)
scymtym has joined #lisp
<ebrasca> beach: How much money I need to have?
<beach> Not much beyond transportation, room and ELS fee.
<beach> Lunch is typically included, and typically also the conference dinner.
<hajovonta> |3b|: I don't think so. but the problem is only present when I start via M-x slime. If I open a terminal then I can start SBCL. I have a script that I use to set up an load certain lisp files into the image at start (with sbcl --load) and then load SLIME's swank-loader and connect to it in a separate step
<hajovonta> and it works okay
fikka has quit [Ping timeout: 248 seconds]
shifty has quit [Ping timeout: 248 seconds]
<beach> hajovonta: Does your .emacs contain an explicit reference to the .core file?
Arcaelyx_ has joined #lisp
<ebrasca> beach: google say only for 1 flights is PLN979
<hajovonta> beach: no it doesn't
<beach> ebrasca: The fee is very small, so your cost is going to be dominated by transportation.
<ebrasca> beach: https://www.google.com/flights/#search;f=OSR;t=AGP,YJM;d=2018-01-28;r=2018-02-01
<beach> ebrasca: Looks reasonable.
Arcaelyx has quit [Ping timeout: 252 seconds]
<beach> Quite reasonable in fact.
<ebrasca> 2.5 months to pay 1 flight
fikka has joined #lisp
<beach> I see your problem.
<beach> ebrasca: Are you employed, or a student?
angavrilov has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
damke has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
<ebrasca> beach: My father pays me. I am not employed or a student.
<ebrasca> beach: I am working to start secure email server.
<beach> I see.
<|3b|> hajovonta: compare echo $SBCL_HOME in shell to M-x getenv SBCL_HOME in emacs
<ebrasca> My mail server hardware need all my money.
<|3b|> hajovonta: and if you specify a path to sbcl in .emacs, try specifying that path in shell
<hajovonta> |3b|: it's the same (~/sbcl/lib/sbcl)
<|3b|> (and/or compare to results of which sbcl in shell)
<|3b|> do you start emacs from some graphical thing or from a shell?
fikka has quit [Ping timeout: 255 seconds]
<hajovonta> I clicked an icon (that I created back then) :)
<hajovonta> ~/emacs-24.5/src/emacs --no-desktop --debug-init
<hajovonta> that's the shortcut
fikka has joined #lisp
<|3b|> yeah, that might give you different environment variables depending on where you set them, so make sure you are running same sbcl in both
<|3b|> and if you get a version # in the error message from starting it in emacs, compare that to what you get from shell
<hajovonta> maybe quicklisp gets in the way? I have that two lines that ql:add-to-init-file generated
<hajovonta> in .sbclrc
<|3b|> quicklisp shouldn't matter until the lisp system is running, which would need the core
<hajovonta> I see
<hajovonta> the full error message starts with this:
<hajovonta> (progn (load "/home/_/quicklisp/dists/quicklisp/software/slime-v2.19/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.8992"))
<hajovonta> then fatal error encountered in SBCL pid 8997(tid 140737353733888):
<hajovonta> can't find core file at ~/sbcl/lib/sbcl/sbcl.core
<|3b|> nothing in between?
<hajovonta> nothing else
<hajovonta> an empty line
<phoe> hajovonta: how did you install sbcl?
<hajovonta> compiled from source
<phoe> M-x ielm, tell me what is the value of inferior-lisp-program
d4ryus1 is now known as d4ryus
<hajovonta> "~/sbcl/bin/sbcl"
fikka has quit [Ping timeout: 246 seconds]
<phoe> is your core file present at ~/sbcl/lib/sbcl/sbcl.core ?
<hajovonta> yes
dec0n has quit [Read error: Connection reset by peer]
<hajovonta> it's there
<|3b|> in shell, what is printed by which sbcl
<hajovonta> and I can start sbcl from the terminal
<hajovonta> but not via M-x slime
<hajovonta> This is SBCL 1.3.14, an implementation of ANSI Common Lisp.
<hajovonta> and other license stuff
<phoe> hajovonta: what is printed by `which sbcl` in shell?
dec0n has joined #lisp
<hajovonta> ~/sbcl/bin/sbcl
<|3b|> is slime-lisp-implementations set in emacs?
smurfrobot has quit [Remote host closed the connection]
<hajovonta> |3b|: it's nil
<|3b|> ~/sbcl/bin/sbcl is an executable and not a script?
<phoe> `file ~/sbcl/bin/sbcl`
<hajovonta> ~/sbcl/bin/sbcl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.18, dynamically linked (uses shared libs), not stripped
<phoe> hajovonta: try replacing ~ with an expanded path to your homedir, in the inferior-lisp-program elisp variable.
<hajovonta> it's actually expanded, I replaced it here to mask my username
<|3b|> is it ~ in SBCL_HOME ?
<phoe> oh, I see.
<hajovonta> yes
<phoe> then you might want to replace it there
<hajovonta> yes, that was the problem. Thank you guys!
<phoe> <3
<|3b|> and it is same version when started from emacs?
<varjag> the nearest airport to els locales is malaga?
<varjag> right
<|3b|> and (user-homedir-pathname) returns same thing from both?
<varjag> should book the tickets..
<hajovonta> the versions match
<hajovonta> (why wouldn't they, I only have 1 sbcl on the system... )
<|3b|> first rule of tech support, even if you know something is true, check anyway :)
<hajovonta> :)
<hajovonta> my brother who once worked in tech support, said that 40% of the problems was due to some power failure (not plugged in, not switched on, etc)
<|3b|> yeah
<|3b|> and probably 40% of the rest were not plugged in but the person just didn't tell them after figuring that out :)
Guest80951 is now known as kolb
hhdave has joined #lisp
fikka has joined #lisp
Cymew__ has quit [Remote host closed the connection]
Cymew has joined #lisp
nika_ has quit [Ping timeout: 276 seconds]
krasnal has joined #lisp
ebzzry has joined #lisp
<ebzzry> The slime docs say that to load a system, one can use `M-x slime-load-system`
<ebzzry> However that function can’t be found.
nika_ has joined #lisp
<ebzzry> Am I missing something?
<jdz> ebzzry: Make sure you have slime-asdf contrib loaded.
orivej has quit [Ping timeout: 276 seconds]
<beach> Slightly updated version of one ELS submission here: http://metamodular.com/partial-inlining.pdf
<otwieracz> How to perform $ curl -F data=@my-file -X POST http://localhost:8080/restore with drakma?
emaczen has quit [Read error: Connection reset by peer]
<otwieracz> I believed something like: `(drakma:http-request (build-url "restore") :method :post :parameters `(("data" . ,(pathname file))))`, but it keeps running indefinitely with numerous weird TCP Window Something messags in wireshark.
igemnace has joined #lisp
<ebzzry> jdz: Ho
waaron has quit [Remote host closed the connection]
<ebzzry> jdz: thanks!
<beach> Ho?
orivej has joined #lisp
smurfrobot has joined #lisp
<|3b|> otwieracz: maybe :parameters `(("data" . (,(pathname file) :content-type ".../..." :filename "..."))) ?
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smurfrobot has quit [Ping timeout: 248 seconds]
<scymtym> beach: in the first paragraph of section 3, inlining of globally defined functions is discussed. i have two suggestions: 1) state explicitly (if it actually is the case) that the remainder of the paper will not be concerned with this kind of inlining 2) if possible, avoid "we simply incorporate the abstract syntax tree of F" since that sounds like the descriptions in other sources cited and criticized earlier
<otwieracz> |3b|: same. *and* btw SBCL is frying CPU at 100%.
<beach> scymtym: Thanks.
<beach> I need to think about how to say that.
<scymtym> beach: i have no idea either. that's why i didn't try to suggest an alternate formulation
orivej has quit [Quit: No Ping reply in 180 seconds.]
<beach> Yeah, that's my job. :)
<flip214> minion: memo for sjl: thanks a lot for the vlime update.... (but) I'm currently looking at spacemacs.... let's see.
<minion> Remembered. I'll tell sjl when he/she/it next speaks.
emaczen has joined #lisp
orivej has joined #lisp
pagnol has joined #lisp
<beach> scymtym: I added a phrase that I hope clarifies the purpose of incorporating the AST.
<beach> Thanks for pointing it out.
pagnol has quit [Client Quit]
vutral has quit [Quit: Life is too colorful...]
pjb has joined #lisp
damke has joined #lisp
<scymtym> beach: sure. i think the addition clears it up
<beach> Great! Thanks again.
attila_lendvai42 has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
ebzzry has joined #lisp
<|3b|> beach: in 3rd bullet list in 3.2 "...about ownership lexical variables.", missing "of"?
<beach> Fixed! Thanks!
damke has quit [Ping timeout: 264 seconds]
<otwieracz> |3b|: semes like it works with :content-length t
<otwieracz> |3b|: what means that I have to load few GB into memory…
vutral has joined #lisp
damke has joined #lisp
<beach> otwieracz: What is your native language?
<|3b|> :/
<beach> I am asking because other people here also use "what" instead of "which" or "that", so I am wondering what languages might do that.
<beach> otwieracz: I am not complaining. I am just an amateur linguist. :)
<otwieracz> beach: Polish, unfortunately. Sorry, my native language, forigve me for this advertisement. :)
<beach> Not unfortunately at all.
<beach> I would love to know Polish.
<tazjin> I'd love to learn Russian, but it's very difficult to learn a language like that without living in the country
<tazjin> and Russia is not the kind of place I'd like to live in :)
<beach> Heh.
<|3b|> beach: "As we can see in Figure 2, An ..." -> "... Figure 2, an ..." ?
damke has quit [Ping timeout: 264 seconds]
attila_lendvai42 has quit [Ping timeout: 264 seconds]
<beach> Thanks. Fixed.
damke has joined #lisp
<beach> scymtym: How would you like to be acknowledged?
jibanes has quit [Ping timeout: 240 seconds]
uuplusu has joined #lisp
jibanes has joined #lisp
orivej has joined #lisp
jameser_ has quit [Ping timeout: 256 seconds]
<beach> Someone should write a document entitled "the making of an ELS submission" :)
uuplusu has quit [Client Quit]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
attila_lendvai42 has joined #lisp
BitPuffin has joined #lisp
nika_ has quit [Remote host closed the connection]
smurfrobot has joined #lisp
<|3b|> beach: could be a bit more clear about how the 4 steps in 3.2 correspond to worklist items, in particular "the mapping" and similar in step 4 are for each of 2 output worklist items
<beach> OK, I'll look into that.
damke has joined #lisp
<beach> It won't be right away. It's almost lunch time.
smurfrobot has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 264 seconds]
<tazjin> pjb: language learning is an interactive process for me, but maybe I could find myself a community of Russian expats ;-)
damke_ has joined #lisp
dec0n has quit [Read error: Connection reset by peer]
<|3b|> beach: are your refs #4 and 5 the same?
<|3b|> beach: and 3,6
m00natic has joined #lisp
dec0n has joined #lisp
damke__ has joined #lisp
<|3b|> beach: actually possibly all 4 are same thing?
damke has quit [Ping timeout: 264 seconds]
Cymew has quit [Remote host closed the connection]
<|3b|> beach: same authors, titles, pages, similar publication
<|3b|> beach: 1,2 are also similarly odd
* |3b| doesn't do papers though, so maybe it is supposed to look like that :)
damke_ has quit [Ping timeout: 264 seconds]
<mfiano> #1 and #2 look the same except volume/issue number
<mfiano> Oh you had mentioned
damke has joined #lisp
damke__ has quit [Ping timeout: 264 seconds]
<ebzzry> Why does loading quicklisp say this: https://pastebin.com/3ccPZtQY
damke has quit [Read error: Connection reset by peer]
EvW has joined #lisp
<|3b|> ebzzry: might try (ql:update-client)
<|3b|> (assuming you aren't trying to load quicklisp as part of loading something else)
damke_ has joined #lisp
<beach> |3b|: Different journals/conferences, so the papers might not be identical.
<beach> Oh, maybe 3 and 6 are the same.
<beach> and 4 and 5.
<beach> I'll look into that.
<beach> It used to be current practice to "publish" both in SIGPLAN notices (no peer review) and in a conference (with peer review).
damke has joined #lisp
<|3b|> ah
<beach> But, yeah, there are definitely duplications. Odd.
<_death> perform some Same-Paper Coalescing Optimization
<beach> It's OK to include both references in case of SIGPLAN+conference. They may be slightly different, and one could be easier to get hold of.
<|3b|> also odd that 3 and 6 sorted differently (assuming it is sorted automatically)
<beach> Yeah, I need to figure that one out.
damke_ has quit [Ping timeout: 264 seconds]
<beach> It should be automatic. Alphabetical order.
<|3b|> though presumably related to whatever caused duplication in the first place
Lithp has joined #lisp
<Lithp> Good day Lispers.. So is it possible to have an object (B) be the slot-value of another object (A) and then modify the print-slot-value of (A) to print the values of (B) under the (A) slot when calling print-object on (A)?
<p_l> ... I don't see why not?
<Lithp> Maybe the meta-question is should i be putting object instances in another instances slots?
<p_l> Lithp: there's nothing saying you shouldn't. They are just objects, like any other value
<|3b|> everything you would put in a slot is an instance of some object
<p_l> just not everything is a CLOS class
<Lithp> I just had an aha moment.
<phoe> but everything is an instance of *some* class
* |3b| isn't sure what you are asking though. do you want to modify the printing of As to show B? or somehow cause the printing to change due to containing a B without explicitly modifying the printing of As?
<Lithp> Exactly
<|3b|> yeah, instance of some class, not some object
<phoe> can do that
<phoe> define a print-object method on A that somehow prints the contents of B
<Lithp> So a print-onject would nest an object instance under the holder instance slot
<Lithp> I have an idea and will post back asap
<phoe> this is pretty commonly done, actually, when you want to print-unreadable-object with some details about this object
<phoe> and the details are usually fetched from this object's slots
<phoe> so you can have #<PERSON "John Doe" (01-04-1980) #x12345678>
<phoe> instead of a nameless #<PERSON #x12345678>
<Lithp> Thats where my problem is arising.. print-unreadable to afile needs to be able to print the nested object
<phoe> Lithp: and what's the problem with that?
<phoe> Wait, to a file? What do you mean?
<|3b|> just print the contents of the slot, and the print-object method for whatever is there will be used :)
drcode has joined #lisp
jameser has joined #lisp
<ebzzry> |3b|: I got `The most up-to-date client, version 2017-03-06, is already installed.`
<|3b|> ebzzry: what are you trying to load? the message seems to be saying that whatever it is you are loading has a bad .asd :)
<ebzzry> |3b|: Yes, I’ll check.
orivej has quit [Read error: Connection reset by peer]
<ebzzry> |3b|: the bug was loading quicklisp via another asd
attila_lendvai42 has quit [Ping timeout: 248 seconds]
orivej has joined #lisp
nullman has quit [Remote host closed the connection]
nullman has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
damke has joined #lisp
jameser_ has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
raynold has quit [Quit: Connection closed for inactivity]
jameser has quit [Ping timeout: 276 seconds]
mingus has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
kedorlaomer has joined #lisp
kedorlaomer has quit [Remote host closed the connection]
kedorlaomer has joined #lisp
attila_lendvai42 has joined #lisp
<ebrasca> beach: partial inlining sound good
smurfrobot has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
cods has quit [Quit: brb]
smurfrobot has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
damke has joined #lisp
Cymew has quit [Remote host closed the connection]
nirved has joined #lisp
markong has joined #lisp
mingus has joined #lisp
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has quit [Ping timeout: 252 seconds]
krasnal has quit [Ping timeout: 265 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
lexsomething has joined #lisp
lexsomething has quit [Quit: list]
adulteratedjedi has quit [Read error: Connection reset by peer]
adulteratedjedi has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
damke has joined #lisp
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
cods has joined #lisp
cods has quit [Changing host]
cods has joined #lisp
orivej has joined #lisp
Tobbi has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
shifty has joined #lisp
dcluna has quit [Read error: Connection reset by peer]
solene has joined #lisp
<solene> hello, I'm stuck at something that seems simple.. I'm trying to loop over a list of values and call a macro with each value, like this example : https://zerobin.net/?ed147d5ef76b1dda#sFl8qUYx6UOztDsm6871VWCEa5pp1jFdWe8+tzkcEvc=
<solene> but all I get is hello NAME because name is taken as a symbol
fikka has quit [Ping timeout: 264 seconds]
EvW has quit [Ping timeout: 265 seconds]
dcluna has joined #lisp
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
<|3b|> solene: macros are expanded before it starts evaluating the loop (for example during compilation), so it can't see the value of variables inside the loop when it is expanded
<solene> |3b|, is there a way to do it ?
<|3b|> what are you trying to do?
<|3b|> (as in what motivated you to write a macro instead of just use a function)
EvW1 has joined #lisp
m00natic` has joined #lisp
<|3b|> possibly you wanted ,(getf parameters :name) in the macro, but then it would break if you stored the parameters in a variable
Cymew has quit [Ping timeout: 256 seconds]
<|3b|> or maybe you just wanted a function with keyword arguments, (defun hello (&key name) (format t "hello ~a~%" name)) (loop for name in '(...) do (hello :name name))
m00natic has quit [Ping timeout: 240 seconds]
<solene> this example is a reduced version of a macro I use in a piece of code I wrote. It's hard to explain... but it's a "config file" for non lisp people. I found it easier to write (f name1 test-this (:param1 "hello")) instead of (f 'name1 'test-this '(list :param1 "hello")))
ninegrid has quit [Remote host closed the connection]
ninegrid has joined #lisp
attila_lendvai42 has quit [Ping timeout: 255 seconds]
<p_l> what's the current status on web frameworks? Something more complete than bare-bones HTTP handling + templates, for example seaside style?
<pjb> solene: macros are called this way: (funcall (macro-function 'm) `(m …) nil)
<pjb> so: (loop for name in '("martin" "sheley") collect (funcall (macro-function 'hello) `(hello (:name ,name)) nil)))
<|3b|> solene: well, that example has all quoted values and no variables, which would work with your macro
<pjb> this is how you call a macro at run-time.
Cymew has joined #lisp
<solene> |3b|, the real world example : https://pastebin.com/NJAyz98G
<|3b|> if you want a more complicated not-quite-lisp DSL that interacts with lisp variables, you may need to do more work in your code/macros
<|3b|> possibly you want a functional API you can call from code that is used by the "non-lisp-user" macro
<pjb> solene: (loop for partition in '("/" "/home/" "/var/") collect (funcall (macro-function '=>) `(=> mail disk-usage (:path ,partition :limit 90)) nil))
orivej has quit [Ping timeout: 246 seconds]
kedorlaomer has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
<|3b|> so you could do (=> whatever) or (function-=> 'whatever)
dieggsy has joined #lisp
<pjb> solene: when you call a function, you pass the parameters in number, type and order that are required by the function. It's the same with a macro function.
<solene> i see, sadly it get too much complicated for non lisper. I may write a wrapper for passing a list maybe
<pjb> It should make you think!
<pjb> You have two ways out.
<pjb> And when I say "think", it should be obvious if you run my code examples…
<|3b|> consider for example distinguishing (=> mail disk-usage (call-some-function)) from what you have, like if you wanted to look up the mount-point and usage from a DB
<|3b|> at some point you end up adding back in the ' to distinguish which things should be evaluated or not, and are back to just having a function
<|3b|> there is also the option of writing a macro that expands to a bunch of (=> ...) forms, if the cases where you want variables are limited enough
<solene> pjb, I understood your examples, I may build something with it maybe
<solene> i thank you for your answers
<|3b|> though possibly still had to do cleanly without parsing the forms manually, for same reasons
<pjb> solene: well no! |3b| listed the correct options: - modify your macro to evaluate arguments at run-time, or - write a macro to expand to multiple macro calls!
<pjb> or of course, use a function, not a macro.
damke_ has joined #lisp
<pjb> How can you justify a macro here?
<pjb> What funcall macro-function demonstrate is that a macro generates CODE. Therefore there's almost always no point in calling it at run-time.
<solene> pjb, it's only to skip quoting the names mail and disk-usage in the example case
<pjb> Again, no point in skipping quoting. As you've seen, you want to pass the result of expressions and variables!
damke has quit [Ping timeout: 264 seconds]
attila_lendvai42 has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
EvW1 has quit [Ping timeout: 255 seconds]
<solene> I see, using a function instead of a macro would just requires using (=> 'mail 'disk-usage ) and everying would works
turkja has quit [Ping timeout: 248 seconds]
<pjb> solene: you can also use keywords: (=> :mail :disk-usage) so no need for quotes then.
<solene> pjb, : or ' that doesn't change that much
<pjb> or also extend your language: (defconstant mail 'mail) (defconstant disk-usage 'disk-usage) then: (=> mail disk-usage)
<solene> ahh, good. I have a macro to create the defun of disk-usage etc...
<pjb> But the point is that you can write (=> *where* *what*)
jameser has joined #lisp
SaganMan has joined #lisp
smurfrobot has quit [Ping timeout: 265 seconds]
<ecraven> with correct definitions, you can even write (*where* => *what*) :P
rpg has joined #lisp
lnostdal has quit [Ping timeout: 256 seconds]
scymtym_ has joined #lisp
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
turkja has joined #lisp
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
shrdlu68 has joined #lisp
scymtym has quit [Ping timeout: 240 seconds]
raynold has joined #lisp
HoloIRCUser has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
HoloIRCUser is now known as nsrahmad
krasnal has joined #lisp
makomo has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
m00natic` has quit [Read error: Connection reset by peer]
m00natic` has joined #lisp
fikka has joined #lisp
astronavt has joined #lisp
astronavt_ has joined #lisp
astronavt has quit [Disconnected by services]
astronavt_ is now known as astronavt
orivej has joined #lisp
orivej_ has quit [Ping timeout: 268 seconds]
test1600 has quit [Quit: Leaving]
damke has joined #lisp
quazimodo has quit [Ping timeout: 246 seconds]
damke_ has quit [Ping timeout: 264 seconds]
attila_lendvai42 has quit [Ping timeout: 256 seconds]
<solene> pjb, thank you for your help. I've been able to use a function instead of a macro, this makes everything easier, and so I've been able to use a &rest parameter. So (=> mail disk-usage (:path "/" :limit 90)) becomes (=> mail disk-usage :path "/" :limit 90)
<solene> using (defparameter disk-usage 'disk-usage) when disk-usage is created :)
<lieven> if you want self evaluating symbols, you could just use :disk-usage
damke_ has joined #lisp
smurfrobot has joined #lisp
papachan has joined #lisp
damke has quit [Ping timeout: 264 seconds]
<solene> lieven, I aim at non lisper as this is a configuration file, I prefer avoid most of syntax is possible
orivej has quit [Ping timeout: 240 seconds]
<ebzzry> What library provides good list comprehensions?
<solene> I'm working on a monitoring tool that check user defined things and use some user defined alerts when the check fails, it should be really easy to use
smurfrobot has quit [Ping timeout: 264 seconds]
<pjb> solene: if you aim non-lispers, perhaps you should write your own interpreter for your configuration files. As it is, I assume you use LOAD, and any lisp is available. This will be confusing to naive users when they'll enter the debugger for incorrect lisp code.
fikka has quit [Ping timeout: 268 seconds]
dddddd has joined #lisp
<solene> pjb, I want that the config file allow to use code in it, and the config is really easy. It's a personal project that I share to people so it should be improved with time or if people contribute
<solene> but at the moment, I aim at something with a relative ease of use and easy to develop (it's only 200 lines)
attila_lendvai42 has joined #lisp
Murii has quit [Ping timeout: 256 seconds]
<beach> ebrasca: Thanks!
<beach> |3b|: I think I fixed both issues (worklist items and references).
fikka has joined #lisp
Tobbi has quit [Remote host closed the connection]
attila_lendvai42 has quit [Ping timeout: 260 seconds]
Tobbi has joined #lisp
orivej has joined #lisp
Bike has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
mingus has quit [Ping timeout: 264 seconds]
vibs29 has quit [Ping timeout: 260 seconds]
vibs29 has joined #lisp
TLAXKIT has joined #lisp
scymtym has joined #lisp
scymtym_ has quit [Ping timeout: 246 seconds]
LiamH has joined #lisp
LiamH has left #lisp [#lisp]
pfdietz has joined #lisp
LiamH has joined #lisp
scymtym_ has joined #lisp
vibs29 has quit [Ping timeout: 276 seconds]
vibs29 has joined #lisp
scymtym has quit [Ping timeout: 276 seconds]
dieggsy has joined #lisp
red-dot has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
Murii has joined #lisp
bgardner has joined #lisp
fikka has joined #lisp
sjl has joined #lisp
rumbler31 has joined #lisp
smurfrobot has joined #lisp
drewc has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
dieggsy has quit [Remote host closed the connection]
smurfrobot has quit [Ping timeout: 268 seconds]
rippa has joined #lisp
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #lisp
jameser has joined #lisp
shifty has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
kark has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
kark has quit [Quit: WeeChat 2.0.1]
fikka has joined #lisp
mishoo has quit [Ping timeout: 240 seconds]
drewc has joined #lisp
kark has joined #lisp
<rumbler31> good morning
<kark> morning
nsrahmad has quit [Quit: nsrahmad]
<beach> Hello rumbler31. Hello kark.
<oleo> evening
<beach> kark: Are you new here? I don't recognize your nick.
<kark> hiya
<kark> yeah, I'm new
<beach> OK, welcome then. What brings you to #lisp?
<kark> just here to listen :)
<beach> Fair enough.
SaganMan has quit [Quit: WeeChat 1.6]
<oleo> weird, all of a sudden 2Gb dynamic space size does not suffice anymore and i get into the debugger telling the control stack overflow
<beach> oleo: The control stack is not in the dynamic space.
<oleo> i hope the kernel update didn't botch anything
<oleo> ya, but it worked yesterday and today it is telling that
<oleo> i don't get it
<beach> oleo: It is more likely that you have a runaway recursion.
<oleo> i built a mcclim image
<oleo> and i'm running that and when i open some .lisp file to edit in climacs, i get thrown into the debugger with that control stack stuff
<oleo> the thing is yesterday it was working ok
<beach> Strange indeed.
<oleo> and i only updated the kernel along with libc
<beach> Wow, yes I see why you are baffled.
Cymew has quit [Remote host closed the connection]
<oleo> ok, what should i do ?
fikka has quit [Ping timeout: 276 seconds]
<oleo> i didn't specify control stack size, neither at compile time of my local sbcl nor at the time of making the mcclim image
orivej has quit [Ping timeout: 276 seconds]
<oleo> and normally i use 2Gb for dynamic space size
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<oleo> recompile ?
<oleo> well, i'll just recompile sbcl
<oleo> and see if stuff works afterwards as expected
damke has joined #lisp
vaporatorius has quit [Ping timeout: 240 seconds]
damke_ has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
damke_ has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
damke has quit [Ping timeout: 264 seconds]
red-dot has joined #lisp
flamebeard has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 276 seconds]
ebzzry has quit [Ping timeout: 255 seconds]
zaquest has quit [Quit: Leaving]
Cymew has joined #lisp
ebzzry has joined #lisp
<oleo> wth, it doesn't go away
dieggsy has joined #lisp
Cymew has quit [Ping timeout: 268 seconds]
Lithp has quit [Ping timeout: 260 seconds]
<rumbler31> when you land in the debugger, does the backtrace make sense?
Cymew has joined #lisp
fikka has joined #lisp
<oleo> CL-USER> INFO: Control stack guard page unprotected
<oleo> Control stack guard page temporarily disabled: proceed with caution
smurfrobot has joined #lisp
<oleo> that's all i get, and it throws into the debugger obviously cause the file doesn't get displayed actually and it all goes unresponsive at that moment, so i don't get a real backtrace either
<rumbler31> hmm
<oleo> when i press C-c again a debugger frame pops up but then that's only because of my interrupt
<rumbler31> what happens if you load things outside of climacs
<oleo> hmm, didn't test that
<oleo> wait a bit
<oleo> i was suspicious that my drive went bad and am fscking it
<oleo> will take a few minutes
<beach> Watching drmeister struggle with debugging, I had an idea for a great project. The GraphViz algorithms are quite well documented. An implementation in Common Lisp of those algorithms would make it possible to whip up a CLIM window with some graphs corresponding to things like ASTs, HIR instruction graphs, discriminating automata, etc.
<Shinmera> the debugger is being invoked in another thread. Run it with slime to catch it.
arrsim has quit [Ping timeout: 252 seconds]
<beach> Currently, we have to generate a dot file, then apply GraphViz to it, and finally, start some image viewer to view it.
fikka has quit [Ping timeout: 246 seconds]
Cymew has quit [Ping timeout: 263 seconds]
<Shinmera> beach: Writing a native flow chart editor has been on my "not so far in the future" todo. I don't think I'm going to emulate graphviz, but that could be used instead too for your purposes.
<beach> Yes, indeed.
BitPuffin has quit [Remote host closed the connection]
smurfrobot has quit [Ping timeout: 248 seconds]
<Shinmera> Well, I already have a prototype, but it doesn't draw connections between elements nicely or know how to distribute nodes automatically.
Cymew has joined #lisp
<beach> I was just thinking of GraphViz because it is well documented, and they did the required research.
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arrsim has joined #lisp
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
dieggsy has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
<beach> Shinmera: So do you plan to come up with layout algorithms yourself?
<Shinmera> Might be an interesting problem to think about, but I don't know yet.
<beach> As I recall, it's a hard problem.
Cymew has joined #lisp
<Shinmera> The domain may also be different for my application (flow charts) than for graphviz (general graphs)
<beach> Yes, I see.
<Shinmera> Anyway, I'm sure I'll do some research into existing systems when I get to it.
mishoo has joined #lisp
<beach> Of course.
<Bike> well most of the stuff in cleavir is flow charts.
<beach> True.
dec0n has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
<Shinmera> You could probably get pretty far by doing a primitive thing like: on split, move one line down by the height of an element and continue the other on the same line. Would just have to know at which point a loop happens so you can avoid the recursion.
turkja has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
<Xach> I think Luke Gorrie uses a smalltalk environment to visualize things like that in his language development.
dtornabene has joined #lisp
<beach> Are you saying Smalltalk already has the layout software?
Cymew has quit [Ping timeout: 265 seconds]
<Xach> beach: I think the environment he uses lends itself to developing new visualizations. That is just a guess, though.
<beach> I see.
<Xach> I don't know if he is reusing existing capability or developing new capability.
<Xach> I do know that the screenshots look pretty.
<Xach> And he is doing low-level work in a non-mainstream environment and is productive.
dieggsy has quit [Remote host closed the connection]
Cymew has joined #lisp
<beach> Might be worthwhile asking him. Thanks for pointing it out.
zaquest has joined #lisp
schoppenhauer has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<Xach> alvy ray smith has a nice set of memos and papers that are kind of about the sprite model of compositing graphics, but indirectly illustrate the power of carefully-chosen primitive data structures and operations as a solid foundation for efficient work
<beach> Isn't that an orthogonal issue compared to graph layout?
<Xach> Yes...I guess the connection there is that a good foundation allows you to experiment with different layout algorithms quickly rather than a slow batch process where you are reluctant to discard the (unnecessarily) hard work that got you to an unsatisfactory solution
<beach> Sure, yes.
<Xach> And I think the smalltalk environment may offer that
TLAXKIT has quit [Quit: Saliendo...]
zaquest has quit [Read error: Connection reset by peer]
zaquest has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
<scymtym_> http://pharo.org/ (in case anyone wants to have a closer look)
<oleo> ok
<oleo> i don't get the file fd somehow
trittweiler has joined #lisp
orivej has joined #lisp
rpg has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
wigust has quit [Ping timeout: 240 seconds]
eminhi has joined #lisp
dieggsy has joined #lisp
asarch has joined #lisp
<rumbler31> oleo: what?
dieggsy has quit [Read error: Connection timed out]
dieggsy has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
eivarv has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
JonSmith has quit [Remote host closed the connection]
red-dot has joined #lisp
scymtym_ has quit [Remote host closed the connection]
makomo has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
scymtym has joined #lisp
vutral has quit [Ping timeout: 268 seconds]
smurfrobot has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
alexmlw has joined #lisp
trittweiler has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
fikka has joined #lisp
papachan has quit [Ping timeout: 255 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
fortitude has quit [Ping timeout: 248 seconds]
smasta has joined #lisp
hajovonta has quit [Quit: hajovonta]
Arcaelyx has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
vutral has joined #lisp
m00natic` has quit [Remote host closed the connection]
vap1 has joined #lisp
vaporatorius has joined #lisp
vap1 has quit [Client Quit]
smasta has quit [Ping timeout: 248 seconds]
Murii has quit [Ping timeout: 248 seconds]
<dmiles> does anyone have code for printing back the defclasses say out of clisp?
thijso has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
<dmiles> to give an idea of what i am talking about.. https://pastebin.com/UcULHXzP
<dmiles> mostly what i am after though is the initarg and initforms
<beach> Did you type that code, or was it generated?
<dmiles> i typed it .. but made it square so i could cut/paste it into repl easier
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
<beach> It is not clear what you mean by "printing back the defclasses". There is no such thing as "a defclass". There is such a thing as "a class" and such a thing as "a DEFCLASS form".
<beach> And it is not clear what "printing back" is supposed to mean.
<beach> There are a bunch of problems with the code you pasted, and it is not clear how it is related to your question either.
eminhi has quit [Quit: Lost terminal]
<beach> Is this the code you would like to see "printed back"? Is it code that you think might do the "printing back"?
<dmiles> " to give an idea of what i am talking abou"
<pjb> Anyways, the MOP provides all the information. You can extract it and build a defclass form.
<dmiles> i am looking to print out the defclass forms.. even if they are not perfect or complete
<beach> How can you print a form that is not complete?
<pjb> dmiles: this is easy: (pprint (defclass-form-for-class (find-class 'foo)))
milanj has quit [Quit: This computer has gone to sleep]
hhdave has quit [Ping timeout: 248 seconds]
<Bike> why do you want to do this?
<Bike> this code kinda blows.
<ebdreger> "why" +1
<ebdreger> I mean... someone could use some MOP-fu to build a metaclass that stores * in some special location... but... why?
<dmiles> why: at that point i wrote that I was translating some things to another language.. now that i have my class compiler working .. i am going back to grovel the defclass forms
smurfrobot has joined #lisp
<ebdreger> dmiles: ah. and you have many a class?
schoppenhauer has joined #lisp
<ebdreger> what might be easier:
<ebdreger> write your own fu-grovel-whatever::defclass macro that shadows cl:defclass
<dmiles> combing over the sources of ECL and CLISP i am dont seeing certain builtin classes
<dmiles> (after all not all of them are defined the same ways)
<ebdreger> invoke cl:defclass as appropriate, but munch on the form as you see fit from within your local DEFCLASS
<ebdreger> (errr... dangling modifier in my wording above... "use your local DEFCLASS to munch on the form as you see fit")
<dmiles> right now there are not classes defined in my lisp impl.. well except for a could few builtins
<dmiles> couple few*
varjag has joined #lisp
<dmiles> so i am pulling out of other impls .. it looks like cl-annot is sort of helpfull
smurfrobot has quit [Ping timeout: 260 seconds]
<ebdreger> ahhh
* ebdreger thought you wanted to examine your own code
<dmiles> hoping to pull initargs, documentation etc
Folkol has joined #lisp
milanj has joined #lisp
schoppenhauer has quit [Ping timeout: 255 seconds]
<ebdreger> definitely ignore my prior metaclass suggestion :)
<ebdreger> ditto my defclass idea
<dmiles> cl-annot i think almost has pjb's defclass-form-for-class
smasta has joined #lisp
<dmiles> (thats what i am after at least)
* dmiles has to go AFK to give one of the kids a ride to school..back in an hour
schoppenhauer has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
ineiros has quit [Ping timeout: 276 seconds]
Folkol has quit [Quit: Textual IRC Client: www.textualapp.com]
jmercouris has joined #lisp
<Xach> oh right!
<Xach> i found myself wishing for defsystem-form-for-system some time ago
dan64- has joined #lisp
<Bike> dmiles: you can use mop accessors to get information directly, rather than reproducing a defclass form.
dan64 has quit [Ping timeout: 268 seconds]
JonSmith has joined #lisp
JonSmith has quit [Read error: Connection reset by peer]
JonSmith has joined #lisp
JonSmith has quit [Remote host closed the connection]
JonSmith has joined #lisp
papachan has joined #lisp
Folkol has joined #lisp
smasta has quit [Ping timeout: 276 seconds]
loli has quit [Ping timeout: 265 seconds]
ckonstanski has joined #lisp
<_death> I think AMOP actually contained an example for printing back defclass forms
milanj has quit [Quit: This computer has gone to sleep]
milanj has joined #lisp
milanj has quit [Client Quit]
sdelic has joined #lisp
warweasle has joined #lisp
milanj has joined #lisp
fortitude has joined #lisp
loli has joined #lisp
JenElizabeth has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
xrash has joined #lisp
QualityAddict has quit [Quit: Leaving]
Jesin has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
bgardner has quit [Read error: Connection reset by peer]
astronavt has quit [Ping timeout: 260 seconds]
hexfive has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Kaisyu has quit [Quit: Connection closed for inactivity]
smurfrobot has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
jmercouris has quit [Ping timeout: 260 seconds]
JenElizabeth has quit [Ping timeout: 260 seconds]
Tristam has joined #lisp
Tristam has quit [Changing host]
Tristam has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
shka has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
* dmiles back
<dmiles> _death: yeah i figured there would exist such examples
Cymew has quit [Ping timeout: 268 seconds]
<dmiles> Bike: *nod*, yeah i dont need the "original" defclass forms
<Bike> i mean, you don't need defclass forms at all. if you want, like, the list of valid slot initargs, you can just get that directly.
Cymew has joined #lisp
<dmiles> beach: what i meant by "incomplete" are cases the :documentation is gone
<dmiles> Bike: *nod* thats is exactly what my orignal code did.. but i forgot to glean out initarg and initforms
eivarv has quit [Ping timeout: 255 seconds]
<Bike> well, do that too then
<Bike> still no need for defclass forms
<Bike> you'd just be getting information, putting it in a form, and then re parsing the form
eivarv has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
QualityAddict has joined #lisp
<ebdreger> dmiles: wb
zaquest has quit [Quit: Leaving]
Murii has joined #lisp
* ebdreger nods at Bike. Unless dmiles has need for :metaclass and specific :metaclass-option forms, it sounds like a few quick MOP queries can answer the questions.
zaquest has joined #lisp
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
Cymew has joined #lisp
orivej has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
Cymew has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
astronavt has joined #lisp
<dmiles> (last file is big)
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
orivej has quit [Ping timeout: 252 seconds]
Cymew has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
Karl_Dscc has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
khisanth_ has quit [Ping timeout: 265 seconds]
<dmiles> today i am working on grabbing the bare minimum
<dmiles> which is not SBCL this time:P
red-dot has joined #lisp
<dmiles> not that it was too big, i just seek to define what a minimum will be for bootstrapping
milanj has joined #lisp
smurfrobot has joined #lisp
Ven`` has joined #lisp
khisanth_ has joined #lisp
smurfrobot has quit [Ping timeout: 252 seconds]
sdelic has quit [Remote host closed the connection]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
makomo has joined #lisp
<dmiles> i am kind of used to it by now, that whatever i am doing is a horrible idea
emaczen has quit [Remote host closed the connection]
emaczen has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<ebdreger> dmiles: Meh. Sounds like you just want your Lisp environment to be fully reflexive. ;-)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<dmiles> that was supposed to be a /msg to friend .. and what is funny is it applies much better for my channel history in #lisp
angavrilov has quit [Remote host closed the connection]
<dmiles> but yeah, i am working on making sure in my impl that whatever datastructures are there that they can be viewed and altered from multiple programing paradymns (either by prolog predicates/assertions or by MOP)
alexmlw has quit [Quit: alexmlw]
gmareske has joined #lisp
<dmiles> (as in, right now, the class system is based on what the predicates had "asserted" (which created the data at the last link))
gmareske is now known as mareskeg
scymtym has quit [Ping timeout: 240 seconds]
mareskeg has quit [Client Quit]
gmareske has joined #lisp
gmareske is now known as mareskeg
mareskeg has quit [Client Quit]
gmareske has joined #lisp
gmareske is now known as mareskeg
bgardner has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
djeis has joined #lisp
djeis has quit [Client Quit]
raynold has joined #lisp
jmercouris has joined #lisp
mareskeg has quit [Quit: mareskeg]
Karl_Dscc has quit [Remote host closed the connection]
emaczen has quit [Remote host closed the connection]
fikka has quit [Quit: leaving]
elones has joined #lisp
fikka has joined #lisp
<jmercouris> Bike: beach said there were some issues with ironclad and you might be able to shed some light on that, do you know anything about that?
<Bike> "some issues" in what context?
<jmercouris> I can gist the conversation one moment please
Karl_Dscc has joined #lisp
<Bike> we had some issues with ironclad in clasp, but that's probably not of concern to you.
<jmercouris> I see, ok
<jmercouris> Thank you
<jmercouris> While you are here, do you know what it would take to integrate GPG into something like ironclad?
<jmercouris> I don't know much about the technology, but I assume it's probably a big project
<Shinmera> ironclad does some heavy macro optimisation stuff that clasp & cleavir choke on because they're pretty new compilers.
<Shinmera> Nothing inherently bad about Ironclad itself.
<Bike> do you mean the actual software gpg, or just whatever it does? i don't think ironclad does foreign calls.
<jmercouris> Wow, this is a long RFC: https://tools.ietf.org/html/rfc4880
azrazalea has quit [Quit: ZNC 1.6.2+deb2~bpo8+1 - http://znc.in]
azrazalea has joined #lisp
Murii has quit [Quit: WeeChat 1.4]
<jmercouris> Bike: I mean the actual software, so that pass users could use it
gmareske has joined #lisp
gmareske has quit [Client Quit]
mareskeg has joined #lisp
<shrdlu68> jmercouris: Almost as long as the TLS 1.2 RFC. Shouldn't be too hard too implement GPG from scratch, though.
pagnol has joined #lisp
<mfiano> beach: Hello, do you have a minute free?
nullman has quit [Ping timeout: 252 seconds]
quazimodo has joined #lisp
Karl_Dscc has quit [Ping timeout: 240 seconds]
<jasom> One should also be suspicious of ironclad for online encryption and hashing, since making algorithms with data-independent is hard, and I don't know how much effort was put into it
<shrdlu68> What do you mean "with data-dependent"?
nullman has joined #lisp
<rme> crypto operations need to take the same time to complete no matter what the input data is. otherwise information can be leaked via side-channel attacks (cf. spectre)
<rme> I don't believe ironclad was designed with this in mind.
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
<shrdlu68> rme: Is this a shortcoming with CL, or CL implementations?
<shrdlu68> i.e does it take special effort to prevent side-channel attacks in CL than in, say, C?
<Bike> dealing with timing attacks in a world of hardware caches must be hard
<aeth> Afaik SBCL should be perfectly capable of doing the same crypto that C can do, even with 64-bit integers (put them into arrays).
<aeth> Obviously it depends on the implementation
<Bike> did you miss the concern
Jesin has quit [Ping timeout: 255 seconds]
<aeth> Is C unable to handle that issue? Or does garbage collection somehow interfere?
nirved has quit [Quit: Leaving]
<Shinmera> Xach: I've decided to go with V4 after all. Time to write some more libraries!
<Bike> a lot of things interfere. the compiler, for one
<Bike> garbage collection would be one with certain algorithms, though it doesn't seem like it would usually be important
eivarv has quit [Quit: Sleep]
mareskeg has quit [Quit: mareskeg]
Cymew has joined #lisp
<aeth> CL does not yet have compilers that do advanced optimizations to the degree of C compilers afaik. A lot of the time people assume optimizations that don't happen, just disassemble with (speed 3) or even disassemble with all the optimizations set in favor of speed over everything else (but safety at 1) to see a lot of optimizations that don't happen
shifty has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
smasta has joined #lisp
shka has quit [Ping timeout: 276 seconds]
<aeth> e.g. this is not optimized to constantly return NIL in any implementation afaik: (defun foo () (declare (optimize (speed 3))) (dotimes (i 100) (+ 1 1)))
Intensity has quit [Ping timeout: 246 seconds]
<shrdlu68> Even in C, it takes special effort to prevent side-channel attacks sometimes. Blinding is one such technique.
scymtym has joined #lisp
<shrdlu68> One could say that Ironclad's implementation of RSA is vulnerable to side-channel attacks, but all it takes to mitigate this is implement blinding. Same thing Openssl does: https://wiki.openssl.org/index.php/Manual:RSA_blinding_on(3)
nullman has quit [Ping timeout: 276 seconds]
nullman has joined #lisp
<aeth> (what I mean is constantly return NIL while skipping the loop that does nothing, both SBCL and CCL do the loop and they're considered the most optimized compilers)
<dmiles> aeth: i belive dwim.hu.partial-eval is supposed to do things liek that
<shrdlu68> I doubt anyone is doing serious crypto in CL anyway, even the few that are are using Openssl bindings.
<dmiles> aeth: dwim.hu.partial-eval is a lisp to lisp translator
<aeth> interesting
<dmiles> its what i been reading my compiler for
<dmiles> ready-ing
<Bike> i would guess that most dotimes forms do involve side effects.
<aeth> Yes, and probably 100% of the non-accidental uses of dotimes that does not fill in the optional return form
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aeth> It's like map nil
<dmiles> heh Bike has a good point, it it should be optiizaed away, the programmer should have not written it
<dmiles> it it/if it
<Bike> mainly it just doesn't seem like an important thing to focus effort on.
<aeth> dmiles: yes, although to be fair, SBCL *does* warn me about "deleting unreachable code" a lot of the time, and with the exception of some local functions (flet or labels) it's always an error and I'm always glad to have been notified
<aeth> This could simple be yet another case of that, if SBCL did check for that
<aeth> s/simple/simply/
<aeth> s/always an error/always my mistake/
<Bike> the fact that it's unreachable code deletion doesn't mean that it's another case, ie that the compiler would do the same thing either way
zymurgy has quit [Ping timeout: 248 seconds]
<aeth> I guess what's different here is that it's reachable, just useless (unless it's being done for timing for some reason... although simply setting speed 0 and debug 3 would probably reenable that if the compiler optimized it away... and why do that for timing?)
<Bike> on sbcl it does optimize out the addition, so it's just a brief spin
<aeth> Bike: brief depends on the duration, e.g. change the dotimes to 100000000 and to me it takes 45175.404710144925d0 times as many cycles as a function that just returns NIL
<Bike> i have basic numeracy, yes
pmc_ has joined #lisp
<dmiles> (doloop (i 100000000 i) ) just returns 100000000 i assume
<dmiles> (if aditions is not used)
<Bike> all i'm saying is that eliminating side-effect-less code is one thing, but eliminating an empty loop is another matter. you'd have to search for basic blocks that immediately reenter themselves based on a condition, determine that the condition can't be affected by other threads etc. it is not really "another case" of other dead code elimination
<Bike> and, for real code it doesn't seem very useful. it could come up with a dumb code generator, i guess, but then it would probably be able to special-case.
<aeth> Bike: I was bringing it up as an example of an advanced optimization that people might assume that compilers already do
<aeth> I'm sorry if I was unclear
<aeth> and I probably shouldn't have said "simply"
orivej has quit [Ping timeout: 248 seconds]
<pmc_> Is there a #lisp FAQ? What are the relative merits of SBCL, CMUCL, ECL and CCL?
<aeth> I'm not aware of anyone who uses CMUCL. I'd be interested in hearing from people who use CMUCL instead of SBCL.
<aeth> This channel seems to mostly be SBCL, ECL, and CCL users/developers.
<aeth> (Sometimes Allegro or LispWorks or CLISP come up, too.)
<pmc_> oh I see that cliki.net has a chart. cool.
sjl has quit [Ping timeout: 260 seconds]
<aeth> I'm confused to why things are sorted in an arbitrary order there
<pmc_> yeah, that is the one
<aeth> The table does match my own experience, though. The only two additional entries I track are Clasp (still incomplete so I understand why it's not in that table) and Mezzano (afaik, that is its own implementation as well as an OS)
<aeth> The only ones I don't have at least one working copy of are Mezzano, Clasp, and MKCL.
<pmc_> ok
<aeth> I use roswell to get access to the most recent versions of ABCL, CCL, CLISP, CMUCL, ECL, and SBCL. (I develop on an older version of SBCL outside of Roswell, and I also have access to several other CLs outside of Roswell.)
<aeth> I can't get roswell's Clasp to compile and roswell doesn't have mkcl afaik.
<Shinmera> There's also XCL
<Shinmera> And of course the commercial ones (SCL, ACL, LW)
<aeth> Commercial implementations are more difficult to decide if they're alive. Allegro and LispWorks are obviously alive. Scieneer is and mocl are probably alive. I think even Genera is "alive" because some entities have support contracts with Symbolics or something? I could be wrong, though.
<aeth> s/is and/and/
<aeth> I'm not aware of XCL
<Shinmera> I never could get it compiled, so
<aeth> 2010.... http://armedbear.org/
<Shinmera> Anyway, I'm not surprised Roswell's Clasp script fails. It's probably out of date and even if it weren't, Clasp is kinda difficult to get compiled still.
<aeth> Shinmera: What I think is happening is that the make file is failing (not surprising; fail, install another dependency, retry is a common workflow) and then all I'm getting is the Lisp backtrace instead of something useful
Intensity has joined #lisp
<aeth> Obviously, the specifics on that table are just me trying to get my engine to work on other implementations. I want to have all relevant implementations as rows, though.
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
quazimodo has quit [Ping timeout: 240 seconds]
<aeth> I cannot get cl-sdl2 to work on ABCL (not surprising), CLISP (not surprising), and CMUCL (fairly surprising). I don't think cl-sdl2 officially lists what it supports or doesn't support, though.
quazimodo has joined #lisp
mitc0185 has joined #lisp
zymurgy has joined #lisp
<aeth> I will probably put together similar implementation support tables on everything I write. I'm tired of having to go through the ASDF and source files and hoping to find out what something supports.
mishoo has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 248 seconds]
wxie has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
shrdlu68 has quit [Ping timeout: 248 seconds]
shrdlu68 has joined #lisp
<wladz_> Does anybody use Roswell? I'm trying to figure out how to evaluate an expression from command line arguments
<wladz_> like: ros '(print "Hello")'
<Xach> wladz_: My impression is that the main body of people using roswell aren't here, but there are a not-small number of users out there.
rumbler31 has quit [Ping timeout: 240 seconds]
<White_Flame> you could try ##lisp, as that's lisp in general, not Common Lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Xach> White_Flame: roswell is a common lisp implementation manager (i think)
<White_Flame> oops, my bad
<White_Flame> can't keep track of all the other non-CLs :)
red-dot has joined #lisp
<aeth> I don't know of any advanced uses of Roswell, I mostly use it for "ros use foo && ros emacs &", where I then run tests in SLIME. I think it can run tests in a more automated way, though, so I don't even use Roswell to its full extent for my use case.
Jesin has joined #lisp
<jasom> wladz_: it doesn't appear to support that
Folkol_ has joined #lisp
<jasom> wladz_: at least it's not mentioned at all in the readme
<Shinmera> wladz_: Use the -e flag
<wladz_> Thanks I'll check it out
<wladz_> emacsclient --eval '(print "Hello")'
<wladz_> So far the only solution I have to evaluate lisp on the command line is Emacs
TeMPOraL has quit [Ping timeout: 260 seconds]
Folkol has quit [Ping timeout: 276 seconds]
TeMPOraL has joined #lisp
<Shinmera> Xach: oh joy
LiamH has quit [Quit: Leaving.]
<wladz_> Shinmera: Thanks that works
raydeejay has quit [Ping timeout: 240 seconds]
<Shinmera> Xach: Ah- I was being a dingus
raydeejay has joined #lisp
Bike has quit [Ping timeout: 260 seconds]
<Xach> #'dingus-emoji?
troydm has joined #lisp
<Shinmera> Xach: Fixed
damke has joined #lisp
<Xach> Thanks!
damke_ has quit [Ping timeout: 264 seconds]
attila_lendvai42 has joined #lisp
fikka has joined #lisp
bms_ has joined #lisp
dddddd has quit [Remote host closed the connection]
wxie has quit [Remote host closed the connection]
<bms_> I've set up StumpWM, Emacs, and nEXT-Browser on Arch Linux and I'm loving it. The last piece I need is a Lisp-based IRC client.
dtornabene has quit [Remote host closed the connection]
<Shinmera> Emacs has a couple
<jasom> wladz_: most lisp implementations have an eval option (--eval on sbcl -e on ccl)
<Shinmera> Maiden has an example that uses IRC and presents a rather shitty REPL client. https://github.com/Shirakumo/maiden/tree/master/examples/circ
<Shinmera> And at some point I'll hopefully finally manage to motivate myself enough to rewrite Lionchat to use Maiden and thus be protocol-agnostic.
<Shinmera> (which means it'll be an IRC client)
<Shinmera> Alternatively if you're impatient you can write your own. All the pieces are there.
<bms_> I know about ERC and I think I might switch from Hexchat to that, I was just wondering if anyone knew of others. I found Beirc on Github, but it doesn't like to find my init-file and it breaks easily. Then there's KIRC on Github, which is more recent, but less full-featured.
<bms_> I was thinking about writing my own.
<bms_> Also, by less full-featured, I mean completely unsatisfactory. Like, worse than the Mezzano IRC client (which didn't even have /msg functionality until I added it last year).
<bms_> Of course, the Mezzano IRC Client is still quite a sad case that I need to work on.
<Shinmera> Well, if you're interested, /I/ would be very interested to find someone else to either change or rewrite Lionchat to Maiden.
<jasom> I use weechat, which is not lisp-based
<bms_> Shinmera, I'll look into it. Thanks.
mareskeg has joined #lisp
Bike has joined #lisp
<Shinmera> Maiden is a bit of a big thing to get into. If you have any questions, I'd be happy to try and address them.
<bms_> Thank you.
<Shinmera> For now though I should probably head off to snooze. Good night!
papachan has quit [Quit: Leaving]
<bms_> Goodnight!
Kaisyu has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
ykoda has joined #lisp
pilfink has joined #lisp
rumbler31 has joined #lisp
zacts has quit [Quit: WeeChat 1.9.1]
aristipp1s has quit [Ping timeout: 264 seconds]
attila_lendvai42 has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
zacts has joined #lisp
rumbler31 has quit [Ping timeout: 264 seconds]
Tobbi has quit [Quit: Leaving]
bgg_ has joined #lisp
fittestbits has left #lisp [#lisp]
bgg_ has quit [Remote host closed the connection]
Tobbi has joined #lisp
attila_lendvai42 has joined #lisp