aindilis has quit [Ping timeout: 252 seconds]
Jach[m] has quit [Remote host closed the connection]
RichardPaulBck[m has quit [Read error: Connection reset by peer]
hdurer[m] has quit [Read error: Connection reset by peer]
CharlieBrown has quit [Remote host closed the connection]
equalunique[m] has quit [Write error: Connection reset by peer]
kammd[m] has quit [Remote host closed the connection]
plll[m] has quit [Read error: Connection reset by peer]
ArthurAGleckler[ has quit [Remote host closed the connection]
mhitchman[m] has quit [Remote host closed the connection]
hiq[m] has quit [Read error: Connection reset by peer]
dirb has quit [Read error: Connection reset by peer]
katco[m] has quit [Read error: Connection reset by peer]
kfdenden[m] has quit [Remote host closed the connection]
cryptomarauder has quit [Remote host closed the connection]
mathrick has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
drcode has quit [Ping timeout: 260 seconds]
red-dot has joined #lisp
jcowan has quit [Ping timeout: 240 seconds]
easye` has joined #lisp
CharlieBrown has joined #lisp
les` has quit [Ping timeout: 276 seconds]
Riviera- has quit [Ping timeout: 276 seconds]
pchrist has quit [Ping timeout: 276 seconds]
jasom has quit [Ping timeout: 276 seconds]
vancan1ty has quit [Ping timeout: 265 seconds]
easye has quit [Ping timeout: 276 seconds]
randomstrangerb has quit [Ping timeout: 265 seconds]
randomstrangerb has joined #lisp
Oladon has quit [Quit: Leaving.]
les has joined #lisp
prometheus_falli has joined #lisp
attila_lendvai has joined #lisp
pchrist has joined #lisp
sz0 has quit [Quit: Connection closed for inactivity]
Riviera- has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
jasom has joined #lisp
kammd[m] has joined #lisp
mhitchman[m] has joined #lisp
Jach[m] has joined #lisp
RichardPaulBck[m has joined #lisp
equalunique[m] has joined #lisp
hdurer[m] has joined #lisp
kfdenden[m] has joined #lisp
cryptomarauder has joined #lisp
plll[m] has joined #lisp
hiq[m] has joined #lisp
katco[m] has joined #lisp
dirb has joined #lisp
ArthurAGleckler[ has joined #lisp
gigetoo has quit [Ping timeout: 248 seconds]
gigetoo has joined #lisp
JenElizabeth has joined #lisp
jcowan has joined #lisp
randomstrangerb has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #lisp
orivej has joined #lisp
attila_lendvai has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
antonv has joined #lisp
randomstrangerb has quit [Ping timeout: 276 seconds]
randomstrangerb has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
randomstrangerb has quit [Ping timeout: 252 seconds]
antonv has quit [Remote host closed the connection]
randomstrangerb has joined #lisp
megalography has quit [Quit: Leaving.]
broccolistem has quit [Quit: WeeChat 2.1-dev]
fikka has joined #lisp
eivarv has quit [Quit: Sleep]
broccolistem has joined #lisp
SuperJen has joined #lisp
smurfrobot has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
JenElizabeth has quit [Ping timeout: 246 seconds]
smurfrob_ has joined #lisp
pierpa has quit [Quit: Page closed]
fikka has joined #lisp
shifty has joined #lisp
varjagg has joined #lisp
smurfrob_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
varjagg has quit [Ping timeout: 276 seconds]
itruslove has quit [Ping timeout: 276 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
itruslove has joined #lisp
Arcaelyx has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 265 seconds]
smurfrobot has joined #lisp
Arcaelyx has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
smurfrobot has quit [Ping timeout: 265 seconds]
markong has quit [Ping timeout: 256 seconds]
smurfrobot has joined #lisp
mathrick has quit [Ping timeout: 248 seconds]
igemnace has joined #lisp
smurfrobot has quit [Ping timeout: 255 seconds]
nirved has quit [Quit: Leaving]
fikka has joined #lisp
attila_lendvai has joined #lisp
turkja has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
vancan1ty has joined #lisp
orivej has joined #lisp
fikka has joined #lisp
shifty has quit [Ping timeout: 246 seconds]
fikka has quit [Ping timeout: 248 seconds]
smurfrobot has joined #lisp
emaczen has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
d4ryus1 has joined #lisp
jameser has joined #lisp
smurfrobot has quit [Ping timeout: 276 seconds]
pagnol has quit [Quit: Ex-Chat]
ckonstanski has quit [Remote host closed the connection]
openthesky has quit [Quit: Page closed]
test1600 has joined #lisp
d4ryus has quit [Ping timeout: 256 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 265 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has quit [Ping timeout: 276 seconds]
erikc has quit []
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 255 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
Zhivago has joined #lisp
Zhivago has quit [Changing host]
Zhivago has joined #lisp
fikka has joined #lisp
orivej has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
smasta has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
attila_lendvai has joined #lisp
orivej has quit [Ping timeout: 276 seconds]
brendyn has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
damke has joined #lisp
fikka has joined #lisp
damke__ has quit [Ping timeout: 264 seconds]
vancan1ty has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 276 seconds]
randomstrangerb has quit [Ping timeout: 255 seconds]
randomstrangerb has joined #lisp
rumbler31 has joined #lisp
fikka has joined #lisp
varjagg has joined #lisp
rumbler31 has quit [Remote host closed the connection]
EvW1 has quit [Ping timeout: 240 seconds]
varjagg has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 276 seconds]
orivej has joined #lisp
rumbler31 has joined #lisp
fikka has joined #lisp
pillton has joined #lisp
prometheus_falli has quit [Ping timeout: 272 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
fikka has quit [Ping timeout: 276 seconds]
rumbler31 has quit [Remote host closed the connection]
smasta has quit [Ping timeout: 265 seconds]
sonologico has quit [Ping timeout: 255 seconds]
nowhere_man has quit [Remote host closed the connection]
fikka has joined #lisp
nowhere_man has joined #lisp
emacsomancer has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 248 seconds]
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
Xal has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 248 seconds]
rumbler31 has joined #lisp
Arcaelyx has joined #lisp
attila_lendvai has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rumbler31 has quit [Remote host closed the connection]
asarch has quit [Quit: Leaving]
rumbler31 has joined #lisp
fikka has joined #lisp
red-dot has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
orivej has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
Oladon has joined #lisp
nika has joined #lisp
fikka has joined #lisp
<beach> Good morning everyone!
<bms_> Hello!
fikka has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
prometheus_falli has joined #lisp
bms_ has quit [Quit: Leaving]
attila_lendvai has quit [Ping timeout: 272 seconds]
fikka has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
jmercouris has joined #lisp
<jmercouris> I've written the following macro: https://gist.github.com/c03beb8186575f488f35e2cf8c2bac61
<jmercouris> What I would like to do is process the symbol result in the lambda list, but I'm not sure how to do that
FreeBirdLjj has joined #lisp
<jmercouris> The only thing that comes to mind is nesting another lambda
bgardner has joined #lisp
<Bike> how do you want to "process"? what is "the symbol result"?
<jmercouris> the symbol result is ",symbol" this is the third argument to interface:web-view-execute
attila_lendvai has joined #lisp
<jmercouris> interface:web-view-execute will funcall the lambda defined in the macro
<jmercouris> I want to decode the json result before passing it directly
<jmercouris> sorry, that was a really bad explanation, let me rephrase it
<jmercouris> I have a macro called with-parenscript which will execute some parenscript in a webview and return the result in a lambda
<jmercouris> this is the macro I posted
smasta has joined #lisp
<jmercouris> What I would like to do is somehow execute cl-json:decode-json-from-string upon that result before it is passed to the macro
<jmercouris> s/macro/lamdba
fikka has quit [Ping timeout: 276 seconds]
<jmercouris> does that still not make sense? I am pretty tired
<Bike> how about you have that same expansion, except (lambda ([gensym]) (let ((,symbol (decode-json-from-string [gensym]))) ,@body))?
<jmercouris> what does [gensym] do?
<jmercouris> I've never seen square brackets in code
<mfiano> generates a unique symbol such that the it doesn't conflict with the user's body code
<jmercouris> Bike: Yes, that makes sense, thank you
<Bike> it's nto actual syntax
<mfiano> He was denoting that you should use a gensym'd symbol instead of a literal symbol
attila_lendvai1 has joined #lisp
attila_lendvai has quit [Disconnected by services]
attila_lendvai1 has joined #lisp
attila_lendvai1 has quit [Changing host]
<jmercouris> Ah damnit
<Bike> i mean to do (let ((something (gensym))) `(lambda (,something) ...))
<jmercouris> I thought it could just make one
<jmercouris> But what should I make the symbol?
smurfrobot has joined #lisp
<jmercouris> The user might accidentally use it
<Bike> what?
<mfiano> umm
<jmercouris> the one generated
<Bike> use the gensym function, it makes a new symbol
<Bike> the user can't access it unless you let them
<jmercouris> Okay I see
<jmercouris> How is that possible?
<jmercouris> You've written (lambda (gensym)) wouldn't the symbol be accessible within the lambda body?
<beach> What would you do in order to access it?
schoppenhauer has quit [Ping timeout: 265 seconds]
<jmercouris> Just on accident, not on purpose
<beach> But how?
<beach> What would you type?
fikka has joined #lisp
<jmercouris> Ah, ok I didn't understand gensym
<jmercouris> so if I don't pass any args it will make some random symbol for me it seems
bgardner has quit [Read error: Connection reset by peer]
<beach> I suggest you go read On Lisp.
<beach> It is all about macro programming, and it explains why the use of GENSYM is essential to avoid unintentional capture.
schoppenhauer has joined #lisp
<jmercouris> just downloaded it
FreeBirdLjj has quit [Remote host closed the connection]
<jmercouris> I'll try to get to it, I've already got quite a list :D
igemnace has quit [Quit: WeeChat 2.0.1]
<jmercouris> or a queue rather
pransninja has joined #lisp
smurfrobot has quit [Ping timeout: 255 seconds]
<beach> I understand. But if you are going to write macros as part of your code, it is essential that you get them right.
<jmercouris> Yeah, mine are an absolute mess right now
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
<jmercouris> earlier bike had given me a good explanation, but I still don't know all the functions/tips and tricks available
<jmercouris> so I understand the defmacro form a lot more than I used to, but for example, I didn't know about the existence of gensym
attila_lendvai1 has quit [Ping timeout: 272 seconds]
orivej has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
igemnace has joined #lisp
red-dot has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
attila_lendvai has joined #lisp
nsrahmad has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 265 seconds]
manualcrank has quit [Quit: WeeChat 2.0.1]
varjagg has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
varjagg has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
orivej has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
fikka has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Ping timeout: 240 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
smurfrobot has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Ping timeout: 265 seconds]
pransninja has quit [Ping timeout: 260 seconds]
smurfrobot has joined #lisp
milanj_ has quit [Quit: This computer has gone to sleep]
jameser has quit [Ping timeout: 240 seconds]
jameser has joined #lisp
orivej has joined #lisp
smurfrobot has quit [Ping timeout: 265 seconds]
jcowan has quit [Ping timeout: 246 seconds]
attila_lendvai has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Bike has quit [Quit: Lost terminal]
nsrahmad has quit [Ping timeout: 276 seconds]
epony has quit [Quit: QUIT]
Xal has joined #lisp
smurfrobot has joined #lisp
fikka has joined #lisp
jfb4 has quit [Ping timeout: 248 seconds]
jfb4 has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
oleo has quit [Quit: Leaving]
jmercouris has quit [Ping timeout: 240 seconds]
<raynold> ahh it's a wonderful day
smurfrobot has quit [Ping timeout: 240 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
smurfrobot has joined #lisp
emacsomancer has joined #lisp
JuanDaugherty has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Ping timeout: 264 seconds]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
<logicmoo> a macro-function always has the signature as (&whole w env) ?
smurfrobot has joined #lisp
fikka has joined #lisp
reverse_light has joined #lisp
<logicmoo> oh i see its just (waswhole env)
attila_lendvai has quit [Ping timeout: 272 seconds]
smurfrobot has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 268 seconds]
SlashLife has quit [Changing host]
SlashLife has joined #lisp
SlashLife has quit [Changing host]
SlashLife has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
shka has joined #lisp
Karl_Dscc has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
pjb has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
fluke` has quit [Ping timeout: 265 seconds]
<beach> Yes, a macro function takes the entire form and an environment object as arguments.
attila_lendvai has joined #lisp
rippa has joined #lisp
fikka has joined #lisp
smasta has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 276 seconds]
randomstrangerb has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
vlatkoB has joined #lisp
randomstrangerb has joined #lisp
smurfrobot has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Oladon has quit [Quit: Leaving.]
jameser has quit [Remote host closed the connection]
jameser has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
smurfrobot has quit [Ping timeout: 246 seconds]
varjagg has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
prometheus_falli has quit [Ping timeout: 272 seconds]
varjagg has quit [Ping timeout: 265 seconds]
pyx has joined #lisp
pyx has quit [Client Quit]
smurfrobot has quit [Ping timeout: 240 seconds]
scymtym has quit [Ping timeout: 256 seconds]
Karl_Dscc has quit [Remote host closed the connection]
equalunique[m] has quit [*.net *.split]
antoszka has quit [*.net *.split]
rme has quit [*.net *.split]
tkd has quit [*.net *.split]
rme has joined #lisp
antoszka has joined #lisp
tkd has joined #lisp
equalunique[m] has joined #lisp
Murii has joined #lisp
gabiruh has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
gabiruh has joined #lisp
smurfrobot has quit [Ping timeout: 265 seconds]
fortitude__ has joined #lisp
fortitude_ has quit [Ping timeout: 248 seconds]
eivarv has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
epony has joined #lisp
flamebeard has joined #lisp
Jen has joined #lisp
epony has quit [Max SendQ exceeded]
mishoo_ has joined #lisp
epony has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
SuperJen has quit [Ping timeout: 255 seconds]
chens has joined #lisp
smurfrobot has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
smurfrobot has quit [Ping timeout: 260 seconds]
eivarv has quit [Quit: Sleep]
quazimodo has quit [Ping timeout: 265 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
chens has quit [Read error: Connection reset by peer]
chens has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
dddddd has joined #lisp
wurui1 has joined #lisp
fikka has joined #lisp
scymtym has joined #lisp
shka has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 256 seconds]
shka has joined #lisp
smurfrobot has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
shka has quit [Ping timeout: 248 seconds]
trittweiler has joined #lisp
<Shinmera> PCL also discusses gensyms and things like that.
wurui1 has left #lisp [#lisp]
smurfrobot has quit [Ping timeout: 240 seconds]
DeadTrickster_ has quit [Remote host closed the connection]
smurfrobot has joined #lisp
wurui has joined #lisp
chens has quit [Read error: Connection reset by peer]
chens has joined #lisp
fikka has joined #lisp
wurui has left #lisp [#lisp]
smurfrobot has quit [Ping timeout: 268 seconds]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
<beach> Right.
Cymew has joined #lisp
smurfrobot has joined #lisp
fikka has joined #lisp
<beach> jmercouris: It is a very bad idea to define functions or macros with names in the keyword package.
<beach> jmercouris: Top-level comments in a file should start with three semicolons.
<Shinmera> He's not here right now and I'm not sure he reads the logs
<beach> Maybe so. Just putting it down before I forget.
<beach> jmercouris: Also, I am not sure that it is justified to make :INPUT a macro, rather than an ordinary function.
smurfrobot has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 265 seconds]
smurfrobot has joined #lisp
<beach> jmercouris: (or (not x) (and x y)) can be simplified.
arduo has joined #lisp
<beach> I'll stop there for now.
smurfrobot has quit [Ping timeout: 246 seconds]
chens` has joined #lisp
damke_ has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
damke has quit [Ping timeout: 264 seconds]
chens has quit [Ping timeout: 256 seconds]
schweers has joined #lisp
fikka has quit [Ping timeout: 246 seconds]
smurfrobot has quit [Ping timeout: 248 seconds]
dec0n has joined #lisp
schweers has quit [Remote host closed the connection]
schweers has joined #lisp
fikka has joined #lisp
hhdave has joined #lisp
orivej has joined #lisp
arduo has quit [Remote host closed the connection]
z3t0 has joined #lisp
smurfrobot has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
nowhereman_ has joined #lisp
nowhere_man has quit [Ping timeout: 265 seconds]
z3t0 has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
smurfrobot has quit [Ping timeout: 264 seconds]
schweers has quit [Ping timeout: 276 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #lisp
random-nick has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
trittweiler_ has joined #lisp
trittweiler has quit [Read error: Connection reset by peer]
hhdave has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
schweers has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
milanj_ has joined #lisp
igemnace has quit [Quit: WeeChat 2.0.1]
d4ryus1 is now known as d4ryus
eivarv has joined #lisp
attila_lendvai has joined #lisp
DeadTrickster has joined #lisp
chens` has quit [Remote host closed the connection]
test1600 has quit [Quit: Leaving]
attila_lendvai has quit [Ping timeout: 272 seconds]
jameser has quit [Ping timeout: 260 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
milanj_ has quit [Quit: This computer has gone to sleep]
attila_lendvai has joined #lisp
milanj_ has joined #lisp
kushal has quit [Quit: ZNC 1.6.3 - http://znc.in]
Tobbi has joined #lisp
zkat has quit [Read error: Connection reset by peer]
zkat has joined #lisp
nika has quit [Remote host closed the connection]
damke has joined #lisp
kushal has joined #lisp
kushal has quit [Changing host]
kushal has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
milanj_ has quit [Quit: This computer has gone to sleep]
parjanya has quit [Ping timeout: 272 seconds]
vaporatorius has quit [Remote host closed the connection]
jameser has joined #lisp
jameser has quit [Client Quit]
thinkpad has joined #lisp
al-damiri has joined #lisp
ck_ has quit [Remote host closed the connection]
vlatkoB_ has joined #lisp
drcode has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
vlatkoB has quit [Ping timeout: 252 seconds]
red-dot has joined #lisp
wildbartty has joined #lisp
kajo has quit [Quit: WeeChat 2.0]
thinkpad has quit [Quit: lawl]
kajo has joined #lisp
orivej has joined #lisp
orivej has quit [Client Quit]
thinkpad has joined #lisp
orivej has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
fikka has joined #lisp
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #lisp
jcowan has joined #lisp
attila_lendvai has joined #lisp
markong has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
schweers has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
schweers has joined #lisp
DeadTrickster has quit [Read error: Connection reset by peer]
DeadTrickster has joined #lisp
larme has quit [Ping timeout: 255 seconds]
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
selwyn has joined #lisp
Murii has quit [Ping timeout: 240 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
gtuser has joined #lisp
red-dot has joined #lisp
larme has joined #lisp
jameser has joined #lisp
damke has joined #lisp
attila_lendvai has joined #lisp
ssake has joined #lisp
Achylles has joined #lisp
Achylles has quit [Max SendQ exceeded]
vaporatorius has joined #lisp
vaporatorius has quit [Changing host]
vaporatorius has joined #lisp
vap1 has joined #lisp
FreeBirdLjj has joined #lisp
logicmoo has quit [Ping timeout: 255 seconds]
Fare has joined #lisp
dmiles has joined #lisp
hhdave has joined #lisp
easye` has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
easye has joined #lisp
damke_ has joined #lisp
TLAXKIT has joined #lisp
randomstrangerb has quit [Ping timeout: 240 seconds]
damke has quit [Ping timeout: 264 seconds]
vap1 has quit [Quit: Leaving]
randomstrangerb has joined #lisp
EvW has joined #lisp
reverse_light has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 272 seconds]
zooey has quit [Read error: Connection reset by peer]
DeadTrickster has quit [Read error: Connection reset by peer]
DeadTrickster has joined #lisp
zooey has joined #lisp
eagleflo has quit [Read error: Connection reset by peer]
kajo has quit [Ping timeout: 255 seconds]
wxie has joined #lisp
kajo has joined #lisp
eagleflo has joined #lisp
smasta has joined #lisp
felideon has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
felideon is now known as Guest53199
eagleflo has quit [Read error: Connection reset by peer]
Guest53199 is now known as felideon
eagleflo has joined #lisp
raynold has quit [Quit: Connection closed for inactivity]
mishoo_ has quit [Ping timeout: 248 seconds]
trittweiler_ has quit [Ping timeout: 268 seconds]
EvW has quit [Ping timeout: 265 seconds]
Xal has quit [Ping timeout: 240 seconds]
mishoo_ has joined #lisp
Xal has joined #lisp
SuperJen has joined #lisp
Bike has joined #lisp
FreeBirdLjj has joined #lisp
dyelar has joined #lisp
EvW1 has joined #lisp
bgardner has joined #lisp
Jen has quit [Ping timeout: 240 seconds]
bms_ has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
dyelar has quit [Quit: Leaving.]
igemnace has joined #lisp
wxie has quit [Quit: Bye.]
dyelar has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
sjl has joined #lisp
random-nick has quit [Remote host closed the connection]
harmaahylje has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
random-nick has joined #lisp
asarch has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
red-dot has joined #lisp
LiamH has joined #lisp
nirved has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
Poeticode_ has quit [Changing host]
Poeticode_ has joined #lisp
Poeticode_ is now known as Poeticode
oleo has joined #lisp
EvW1 has quit [Remote host closed the connection]
ckonstanski has joined #lisp
rumbler31 has joined #lisp
nika has joined #lisp
Murii has joined #lisp
jcowan has quit [Ping timeout: 252 seconds]
flamebeard has quit [Quit: Leaving]
attila_lendvai has quit [Ping timeout: 272 seconds]
mishoo_ has quit [Read error: Connection reset by peer]
mishoo has joined #lisp
<hhdave> Hi. I just asked this in #ccl (don’t know if anyone here but not there might know): Does anyone know if CCL can work on the Lego EV3 (with the ev3dev linux distro)? I downloaded that latest tarball and expanded it. When I tried ./armcl in the ccl directory it said ‘file not found’. I then recompiled the CCL kernel (make clean & make). This gave me a new armcl, but that one reports a segmentation fault. Do I need to specify a different float
<hhdave> compiling the kernel or does CCL not support this processor (wikipedia says it’s an ARM9 TI Sitara AM1x).
mishoo has quit [Client Quit]
mishoo has joined #lisp
mnoonan has joined #lisp
<bms_> I've never heard of that distro, hhdave. I've always wanted an EV3, since it came out.
<bms_> Sorry, though, I'm not sure.
<bms_> Someone might know.
<Shinmera> hhdave: Recompiling it won't help, as CCL needs itself to compile.
nowhere_man has joined #lisp
warweasle has joined #lisp
wheelsucker has joined #lisp
Cymew has quit [Remote host closed the connection]
<hhdave> bms_: Here: http://www.ev3dev.org/. I only just downloaded it and tested it on Saturday. Quickly managed to set up Wifi access with a usb dongle and SSH into the EV3. I’ve installed ECL on it (just apt-get install ecl) but that seemed to have a problem when I did (compile ‘fact) - error 1 from GCC. It’s possible that something wasn’t installed. It interprets things ok though.
<bms_> Thanks for the link.
<hhdave> Shinmera: It doesn’t need itself to recompile its kernel. That did recompile ok. The kernal is just a C program.
nowhereman_ has quit [Ping timeout: 240 seconds]
<hhdave> I seem to remember recompileing the armcl kernel to get it running on a Raspberry Pi. Once I did that it worked with no problem.
<Shinmera> I had no issues running the CCL binary distribution on the Pi3 directly
<pjb> Recompiling the kernel may be useful to adapt to the libraries of the new system.
<hhdave> Shinmera: it was a while ago I had to do that, on a Pi B. It might not be necessary now, or with a newer Pi.
selwyn has quit [Remote host closed the connection]
igemnace has quit [Read error: Connection reset by peer]
<hhdave> pjb: I think it was referencing libraries that weren’t there. I guess that’s why it just said ‘file not found’ when I first tried it. Any idea why it would now give a segmentation fault?
narendraj9 has joined #lisp
<pjb> hhdave: nope. Try to debug it.
igemnace has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<hhdave> pjb: via gdb?
red-dot has joined #lisp
smasta has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
emacsomancer has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
djeis has joined #lisp
attila_lendvai has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<hhdave> I wonder if it could be reserving too large a heap by default. The EV3 only has 64MB of RAM. I don’t have it here, but I’ll try it later.
randomstrangerb has quit [Ping timeout: 246 seconds]
randomstrangerb has joined #lisp
<pjb> hhdave: yes, gdb.
<pjb> You want to know why you get a segfault.
<hhdave> pjb: Indeed. OK, I’ll try that
Cymew has quit [Ping timeout: 256 seconds]
<hhdave> pjb: thanks
FreeBirdLjj has quit [Remote host closed the connection]
Cymew has joined #lisp
nika has quit []
<dmiles> is EXTENSIONS often used in some way special to carefully import from trival packages like LOOP, SOCKET, GRAY etc?
<Bike> what is "EXTENSIONS"
<dmiles> the package EXTENSIONS
<Bike> that's just a name. it has no special meaning.
Cymew has quit [Ping timeout: 276 seconds]
<Bike> loop isn't trivial and also isn't an extension. sockets and gray aren't extensions but they tend to be in their own packages and also aren't trivial.
Cymew has joined #lisp
<Bike> my advice is when you consider adding a "special way", instead, don't
<pjb> dmiles: the only standard package names are KEYWORD COMMON-LISP and COMMON-LISP-USER (with nicknames CL and CL-USER).
<dmiles> the assumpytion i was going by is that packages will use EXTENSIONS as single 'use-package' to find many public symbols at once
jameser has quit [Remote host closed the connection]
<pjb> dmiles: I would discourage using a common word such as EXTENSIONS for an implementation specific package, since other packages or even libraries, may use such a package name. UNLESS you are implementing a specified API common to multiple implementations (eg. cf. the CDR).
<pjb> dmiles: a better choice may be YOUR-IMPLEMENTATION-EXTENSIONS
<Xach> dmiles: that's one way to arrange things. i don't personally like it due to the risk of inadvertent clashes
<Shinmera> A few implementations already provide an EXT/EXTENSIONS package
<Shinmera> So it clashing with libraries is a moot point.
Cymew has quit [Ping timeout: 240 seconds]
<pjb> But this is confusing since they don't provide the same symbols.
<Xach> You could lock the package, but then you'd have more work to avoid things
jameser has joined #lisp
<dmiles> well why i am even asking is I been placing certain helper functions in EXT,SYS,WAM-CL pacakges.. i am thinking i am about to merge the three
<Xach> Shinmera: I mean if you are :use-ing extensions for sockets and clash with something completely unrelated like regular expressions.
<Xach> Not the package name itself
<Shinmera> Xach: Of course.
<pjb> again, if you name them YOUR-IMPLEMENTATION-SYSTEM, YOUR-IMPLEMENTATION-CLOS, etc, you're good.
marusich has quit [Quit: Leaving]
<Shinmera> Xach: I meant that, since implementations already use EXT, a library couldn't use it for itself anyway.
<Shinmera> Xach: So another implementation using it doesn't matter.
<pjb> Shinmera: not all implementations have an EXT package, so a library could be developed using this name.
<p_l> SI is also taken in many classic systems
<Shinmera> Yeah but then it wouldn't be portable already anyway
<Shinmera> So there's little point
<pjb> Yes: avoid short package names!
<dmiles> I been placing certain helper functions in EXT,SYS,WAM-CL pacakges using based on that was where they were when i stole them from ECL,ABCL,CLISP etc
<Xach> Hmm, it woudl be nice to survey the lanscape of implementation packages intended for users to use.
<p_l> use package renaming macros with DNS-style names :)
<pjb> dmiles: use DMILES-COMMON-LISP-IMPLEMENTATION-EXTENSIONS, not EXT.
djeis has quit [Quit: Mutter: www.mutterirc.com]
<dmiles> pjb: then the question i have is is there a good reason to have a MILES-COMMON-LISP-IMPLEMENTATION-EXTENSIONS and MILES-COMMON-LISP-IMPLEMENTATION-SYSTEM separate?
<pjb> this is as you wish.
<pjb> But a system and extensions seems to be two different things, so having two packages may make sense.
mishoo_ has joined #lisp
<Bike> usually "extensions" means it's intended as an exported interface for the user
<Bike> whereas system is just your own stuff, that users shouldn't be using
bms_ has quit [Ping timeout: 260 seconds]
dec0n has quit [Read error: Connection reset by peer]
<pjb> dmiles: you can also have nicknames, such as DCLIE, which 1- is not too short (it could be longer), 2- is almost random, si it could be unique.
mishoo has quit [Ping timeout: 265 seconds]
<dmiles> *nod* right now i use DMILES-COMMON-LISP-IMPLEMENTATION-EXTENSIONS haivng a nickname of "EXT" and DMILES-COMMON-LISP-IMPLEMENTATION-SYSTEM as "SYS","SI","EXCL" etc
<pjb> Nickname collision is as bad as name collision, from an implementation or a library point of view.
<dmiles> ( also nicnamed DMILES-COMMON-LISP-IMPLEMENTATION-EXTENSIONS to "EXTENSIONS")
<pjb> Basically, while one can rename a package, the way it's specified makes it rather a delicate matter to do it conformingly.
<pjb> Also, it's very inconvenient to have to rename packages (that you may not know in advance, if you get a new version of an implementation or a library), before being able to load your code!
<pjb> So while adding a short nickname while compiling, I would not advise leaving them in released code (load time and run-time).
<dmiles> oh btw only durring primoridal loading do i have all the nicknames for DMILES-COMMON-LISP-IMPLEMENTATION-SYSTEM
<dmiles> (so i supposed the name collisions are not an issue)
<dmiles> (the nicknames are to do things like make sure I support ECL's "SI" etc)
<dmiles> i think what gets me is how often EXT is used for impl specifics
<dmiles> (in several lisps)
<dmiles> like ext:function-lambda-list
<dmiles> or ext::%dolist
EvW has joined #lisp
JonSmith has quit [Remote host closed the connection]
JonSmith has joined #lisp
<dmiles> why would CLISP use ext:quit isntead of sys:quit ?
<Bike> because quitting is something the user can do
<dmiles> even mkcl uses mk-ext:quit .. yet sbcl,ccl,allegro do not
<jackdaniel> ext is for extensions, si/sys is for internal interfaces
makomo has joined #lisp
<jackdaniel> so ext is something what is not in the standard, but surely is useful
<Bike> ext::%dolist isn't the same, that's not an external symbol
<dmiles> why would ecl use si:quit instead of ext:quit ?
<dmiles> (refering to <Bike> because quitting is something the user can do)
<jackdaniel> there is ext:quit in ecl
turkja has quit [Ping timeout: 276 seconds]
Jesin has quit [Quit: Leaving]
<jackdaniel> if quit is exported in si packages that's not a problem, since si is internal anyway
<Bike> so there is no "instead of".
<dmiles> ah ok that is good to know .. it is customary to export most of the usefull SYS stuff to EXT
<jackdaniel> also it is worth noting, that some useful interfaces may be in si - that means that they shouldn't be used by a user, because there is absolutely no guarantee names and lambda-lists will match (i.e they may be changed without further notification)
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
attila_lendvai has quit [Ping timeout: 272 seconds]
Jarwin has joined #lisp
Jarwin is now known as Jarwin
<dmiles> jackdaniel: so EXT you like to keep as consistent from version to version?
<jackdaniel> if something changes in ext it is a subject of graceful deprecation first and should be documented
<jackdaniel> changes in sys doesn't require such care
<jackdaniel> but yes, usually things shouldn't be removed from ext
nydel has quit [Read error: Connection reset by peer]
aindilis has joined #lisp
fikka has joined #lisp
Jesin has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
fortitude__ has quit [Ping timeout: 256 seconds]
red-dot has joined #lisp
attila_lendvai has joined #lisp
shrdlu68 has joined #lisp
<dmiles> personally i have prefered ECLs use of EXT for say FIXNUMP vs CLISP putting that non exported in SYSTEM
<dmiles> though CLISP have a reverse policy (just as consistent)
narendraj9 has quit [Ping timeout: 256 seconds]
<dmiles> CLISP policy to make everything that is undoubltedly part of everyones lisp goes in system vs ECL's into EXT
bms_ has joined #lisp
<dmiles> OK nice, I implmented CLISP's LETF and luckily its in EXT and not SYSTEM (mine ended up in system due to loading in into the system package)
rumbler31 has quit [Ping timeout: 240 seconds]
<dmiles> I think mostly what i will end up doing is having a black SYSTEM package.. intern and export all that goes to EXT, then import these EXT symbols to SYSTEM then load code (in-package :sys) that seems to be what most do
<dmiles> black/blank
<dmiles> (SYSTEM will end up with no exported symbols and EXT with only exported)
<jackdaniel> if letf is what I think it is, it is a multithreaded code disaster
<jackdaniel> I wouldn't recommend using it
<jackdaniel> and if you find you must, it might be a good idea to rethink the algorithm
<dmiles> letf i think should be equivalent to using symbol macros pointed at places
shrdlu68 has quit [Ping timeout: 248 seconds]
<dmiles> (though symbol macros that call setfs when they bind)
<dmiles> the threading problem has to do with multiple values or if you can explain jackdaniels
<dmiles> +?
Jarwin has quit [Ping timeout: 248 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fortitude has joined #lisp
<dmiles> so the threading issue is just due to places more often being accessed by more than one thread? Or is it that the thread is usualyl the vcalues holder in cases like (setf (values ..) ..) ?
<Bike> i would guess that it's more that accessors aren't generally atomic, but it doesn't seem any worse in that respect than just setfing in multiple threads
<dmiles> "usualyl the vcalues holder" usually the "values holder" are stored at the level of the threads instance
<cgay> I assumed that was Welsh.
Baggers has joined #lisp
schweers has quit [Ping timeout: 276 seconds]
shrdlu68 has joined #lisp
randomstrangerb has quit [Ping timeout: 248 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
randomstrangerb has joined #lisp
jcowan has joined #lisp
hexfive has joined #lisp
<sigjuice> I keep typing grep at my CL-USER> prompt. Is there something I can do to make the grep work?
<Bike> like the posix program grep?
etimmons has joined #lisp
<jackdaniel> dmiles: letf body ia not atomic, so the cleanup may overwrite ypur legimite changes. sorry, writing from phonee
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<sjl> sigjuice: (define-symbol-macro grep (format t "grepping for ~S" (read-line)))
<sjl> [SBCL] CL-USER> grep hello world
<sjl> grepping for "hello world"
<sjl> what could go wrong
red-dot has joined #lisp
attila_lendvai has joined #lisp
<_death> can also try for a repl hook
lugh has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
<sigjuice> sjl thanks! I will give it a try in a bit
<sjl> it's probably not a good idea
hhdave has quit [Ping timeout: 240 seconds]
<sjl> e.g. that will affect places other than the repl
<sigjuice> how so?
<sigjuice> but those effects should be pretty obvious, no?
fortitude has quit [Ping timeout: 256 seconds]
khisanth_ has joined #lisp
<sjl> and you'd need that symbol macro in every possible package
Karl_Dscc has joined #lisp
sz0 has joined #lisp
Khisanth has quit [Ping timeout: 248 seconds]
<Bike> even if you did something like this, it wouldn't be a full shell with interpolation and stuff
milanj_ has joined #lisp
<sjl> yeah
<sjl> well, you could run-program a shell and let it handle that
<sjl> but you're still gonna run into annoyances
<Bike> my advice is don't type things into the wrong prompts
varjagg has joined #lisp
EvW has joined #lisp
m00natic has quit [Remote host closed the connection]
jmercouris has joined #lisp
<jmercouris> jasom: I finished CPS style loading for JS, I made a (with-js) macro
<jmercouris> seems to have no ill effects for the cocoa version, because as you said, I just call the callback immediately
Jarwin has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
<jasom> jmercouris: good to hear
mishoo__ has joined #lisp
mishoo_ has quit [Ping timeout: 240 seconds]
<makomo> i'm going through paul graham's cl book and this is one of the exercises (11/6): "Define a macro that takes a list of variables and a body of code, and ensures that the variables revert to their original values after the body of code is evaluated."
<makomo> i've done it and it works but what i'm interesting in is making it work for any object, not just integers
shka has joined #lisp
<makomo> or numbers*, i guess
<sjl> how did you implement it?
<Bike> what's that have to do with numbers?
<makomo> i suppose there isn't a general way of making a copy of an object without knowing what the object is?
<sjl> I'm curious how you would make it work for numbers and NOT just anything
<Bike> no. why are you copying anything?
<makomo> 1 second, let me put it up in a paste
<sjl> I think the intent of the exercise is that the original value of the variables is the object FOO. If that object happens to get mutated, that's fine.
<makomo> sjl: ah
<makomo> right, that's what i was getting at
<makomo> for example, if a hash table was bound to the variable
<makomo> mutating the hash table will be a persistant thing
<sjl> yes
<sjl> but at the end, the variable should still be pointing at the (mutated) hash table
<cgay> Perhaps if the excercise said "revert the variables to their original bindings" instead...
<jmercouris> Is it possible to make deep copies in lisp?
<makomo> ^^^ interested in this
<sjl> even if it was assigned to something else in the bodyu
<Bike> sure it's possible
<jmercouris> could you make a deep copy of the original object?
<sjl> yes, but you have to implement it yourself
<jmercouris> and then at the end just reassign the binding to that copy
orivej has joined #lisp
<makomo> jmercouris: that's what i thought about, but you can't do it generally
<Bike> there's just no "copy constructor" like in C++ because we don't have semantics that require copying everything a lot
<jmercouris> sjl: Isn't there a way to traverse all the properties of an object?
<makomo> it has to be implemented for every possible type
<makomo> Bike: nicely said, i was going to mention c++'s copy ctors
<jmercouris> Surely there are enough introspection functions that you can implement a generalized version
<sjl> didn't gabriel write something on this
<Bike> you can use mop to get a list of slots for an object
<makomo> jmercouris: what about users' types?
<Bike> but, you can also use mop to define your own kinds of slots
<makomo> i.e. never-before-seen types
<jmercouris> idk
<makomo> i was trying to see whether there was a general COPY function of some sort
<sjl> there is not
<Bike> which might not be copy-able in any obvious way
<makomo> yeah, that answers my question
<sjl> aha, no, it was pitman I was thinking of
attila_lendvai has quit [Ping timeout: 272 seconds]
<makomo> sjl: oh nice, thanks
randomstrangerb has quit [Ping timeout: 265 seconds]
jmercouris has quit [Remote host closed the connection]
randomstrangerb has joined #lisp
<flip214> Is 2018 the year of QL on the desktop?? ;)
razzy` has joined #lisp
scymtym has quit [Ping timeout: 246 seconds]
razzy has left #lisp [#lisp]
raynold has joined #lisp
narendraj9 has joined #lisp
<warweasle> Cons Nolo?
zmv has joined #lisp
zmv is now known as notzmv
Tobbi has quit [Remote host closed the connection]
razzy` has quit [Quit: eboot]
Tobbi has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
razzy has joined #lisp
red-dot has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
<_death> Alyssa P.
orivej has quit [Ping timeout: 260 seconds]
fiveop has joined #lisp
Tobbi has quit [Remote host closed the connection]
Tobbi has joined #lisp
jmercouris has joined #lisp
<jmercouris> I can't seem to exit out of SBCL when I start it on a remote server and use slime-connect
<jmercouris> Within the slime prompt I type (quit), but it doesn't react
<jmercouris> It just says ; Evaluation aborted on NIL.
fikka has quit [Ping timeout: 240 seconds]
fortitude has joined #lisp
<Xach> jmercouris: That is a reaction.
<_death> jmercouris: also, you can just use ,sayoonara
<Shinmera> Or ,quit for the non-weebs
narendraj9 has quit [Ping timeout: 246 seconds]
fikka has joined #lisp
fiveop has quit []
<White_Flame> I use M-x slime-disconnect or slime-quit-lisp to end things
<Shinmera> Well disconnect is distinctly different as it leaves the lisp process alive.
<White_Flame> right
<Shinmera> (also available as ,disconnect)
<White_Flame> and slime-restart-inferior-lisp
<Shinmera> (also available as ,restart)
<White_Flame> those are my arsenal of dealing with sbcl run & connection state
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #lisp
blackwolf has joined #lisp
pagnol has joined #lisp
Ven`` has joined #lisp
bms_ has quit [Quit: Leaving]
Ven`` has quit [Read error: Connection reset by peer]
fikka has quit [Quit: Lost terminal]
Ven`` has joined #lisp
<jmercouris> Xach: is it though? I meant there's no return
<jmercouris> Xach: Nor does SBCL quit
<jmercouris> The thing is I'm not trying to just disconnect from slime, I want SBCL to quit
nowhere_man has quit [Ping timeout: 276 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
<dim> (quit) then, I think?
<jmercouris> It doesn't quit when I type (quit) though
<dim> (uiop:quit 1)
<jmercouris> Ah, that does it, thank you
<dim> the 1 is returned to the OS, signaling an error if some script is watching, btw, so maybe not what you want to do here
<jmercouris> Hmm, is just for testing right now, so is okay
<jmercouris> If I pass 0, will it return that exit code?
<dim> "Quits from the Lisp world, with the given exit status if provided.
<dim> This is designed to abstract away the implementation specific quit forms."
Jarwin has quit [Quit: WeeChat 1.9.1]
<jmercouris> seems that 0 is the default exit code
<jmercouris> but in my source code that doesn't actually allow it to exist
<jmercouris> exit*
<jmercouris> maybe has something to do with being in the gtk event loop
<dim> oh so the (uiop:quit 1) was a very lucky one ;-)
Sauvin has quit [Ping timeout: 264 seconds]
<Xach> jmercouris: sb-ext:quit and sb-ext:exit have different semantics.
kajo has quit [Quit: WeeChat 2.0]
<jmercouris> I see
orivej has joined #lisp
jcowan has left #lisp ["Leaving"]
<phoe> Xach: I think not anymore
<phoe> Xach: www.sbcl.org/news.html#1.4.2
<phoe> "minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated and behaves like SB-EXT:EXIT."
<Xach> Ok
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
red-dot has joined #lisp
<jmercouris> I can't seem to access any memory from my lisp program in a callback somehow: https://gist.github.com/d5b7f312dde4fa384c4ba82af1aec861
rumbler31 has joined #lisp
Tobbi has quit [Remote host closed the connection]
Tobbi has joined #lisp
<phoe> jmercouris: that's a null pointer dereference.
<jmercouris> What does that mean?
<phoe> You are trying to dereference a null pointer.
<Bike> like int* x = NULL; *x++; in C
<Bike> trying to read from zero
<jmercouris> Ok I see
<phoe> I'm curious about gobject:g-signal-connect - what kind of callback are you expected to give to it?
<jmercouris> I understand now
<Bike> couldn't tell you why, tho
<phoe> A Lisp lambda, or a CFFI callback of some sort?
gabc has left #lisp [#lisp]
<jmercouris> As shown in my example, it does work with a Lisp Lambda
<jmercouris> but as soon as I try to access something that isn't webview, or load-event (the two args passed to the lambda), it spits out this error
<phoe> oh, right. hm.
<phoe> it doesn't work for closures? most weird
<jmercouris> I can only think of a dirty solution which is extending the webview and adding a slot for the callback function
<phoe> This is dirty.
<phoe> I don't know what's going on.
<jmercouris> The more I work with GTK, the more I agree with Aeronotix, what a right mess
Kaisyu has quit [Quit: Connection closed for inactivity]
TLAXKIT has quit [Ping timeout: 268 seconds]
<phoe> you should be glad that SBCL provides handlers for signals like that
<phoe> and you get a nice-looking Common Lisp error in the Common Lisp debugger
<jmercouris> Alright, so I've narrowed down the issue I think
<jmercouris> GTK does not like it when you set a signal on an object that hasn't yet been created :D
<phoe> because otherwise you'd just be in deep shit while trying to read crash logs produced by ySegmentation fault (core dumped)
<phoe> jmercouris: oops
<jmercouris> Ah, the lovely asynchronous nature of it
<jmercouris> Well, I started the system, loaded gtk, rendered the view, then attempted to set the signal
<jmercouris> even though that's exactly what my code does, by pausing before setting the signal it worked
<jmercouris> seems I need to also synchronize this
<phoe> so you need to finish instantiating all objects first.
<phoe> and only then signal stuff.
<jmercouris> precisely
Cymew has joined #lisp
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #lisp
<jmercouris> gtk is so good, if you are a masochist
<pagnol> did any here set up an ecs with cl?
Cymew has quit [Ping timeout: 246 seconds]
<phoe> pagnol: ecs?
random-nick has quit [Read error: Connection reset by peer]
<pagnol> phoe, for entity-component system, a pattern that's often used in game development
warweasle has quit [Quit: gotta run]
<aeth> pagnol: try asking in #lispgames
<aeth> There are probably a dozen
<pagnol> oh, I had no idea there's a channel, thanks!
damke_ has quit [Ping timeout: 246 seconds]
damke_ has joined #lisp
Murii has quit [Ping timeout: 268 seconds]
nowhere_man has joined #lisp
rpg has joined #lisp
manualcrank has joined #lisp
frodef has joined #lisp
<frodef> hi all
<Xach> hi frodef
<Xach> back to hack?
<frodef> Hi Xach, trying.. :)
attila_lendvai has quit [Ping timeout: 272 seconds]
<frodef> Having an issue with trivial-http, trying (shttp:http-get "http:/foo/bar") ...
<frodef> ... seems to translate to "GET http://foo/bar HTTP/1.0" which is ... wrong, isn't it?
fortitude has quit [Ping timeout: 255 seconds]
<Xach> I've never tried trivial-http, only drakma and dexador, sorry.
<Xach> (mostly drakma)
<Xach> frodef: that request is something you'd send to a proxy, maybe.
<frodef> Seems to me an extremely basic mistake on trivial-http
<frodef> 's part, so basic it's rather silly.
fortitude has joined #lisp
mnoonan is now known as Dr_mnoonan
vlatkoB_ has quit [Remote host closed the connection]
<Xach> Hard to say. I didn't even know about trivial-http until just now!
random-nick has joined #lisp
<_death> trivial libraries with trivial bugs
<frodef> guess so :)
rumbler31 has quit [Remote host closed the connection]
<Xach> frodef: where does "shttp" come from?
Dr_mnoonan is now known as mnoonan
rumbler31 has joined #lisp
<frodef> package nickname I suppose
shrdlu68 has quit [Ping timeout: 256 seconds]
<Xach> frodef: It's not incorrect behavior, I don't think.
<frodef> I'm not really sure. Problem is, it
drewc has quit [Ping timeout: 252 seconds]
<frodef> 's rejected by the server I
<frodef> 'm interested in.
<frodef> (shitty keyboard)
fiveop has joined #lisp
<Xach> frodef: is simplicity of client very important? if not, drakma works all right in many cases.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<fiveop> I have a form '(lambda (x) x) and want to get the function that corresponds to the form (lambda (x) x). How would I do that?
SuperJen has quit [Ping timeout: 268 seconds]
attila_lendvai has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<sjl> fiveop: THE function? or A function? `(compile nil '(lambda (x) x))` maybe?
<Bike> fiveop: compile or coerce or eval
karswell has joined #lisp
<sjl> huh, didn't know coerce could do that
<Bike> it's kind of weird, yeah
red-dot has joined #lisp
<fiveop> I did not think of compile, thank you.
<sjl> huh, maybe I could start using plain old 'coerce instead of alexandria's ensure-function
drewc has joined #lisp
<_death> sjl: they do different things?
<sjl> not for the cases I generally use them for, I think
<fiveop> Is there a generic solution that takes either of 'function-name, '(function function-name), and '(lambda (x) x) and spits out the desired function object
<frodef> Xach: yes, suppose I should switch client.
<sjl> fiveop: are you sure you mean to have that quote in '(function function-name)?
<fiveop> I am sure, but I might just not allow it in my API.
notzmv has quit [Quit: WeeChat 2.0.1]
<fiveop> I was thinking of taking input of the form '(... (:satisfies #'predicate) ...)
<sjl> yes, #'foo expands to (function foo) not '(function foo)
<fiveop> but if I just accept '(... (:satisfies predicate) ...) and '(... (:satisfies (lambda (x) x)) ...)
<fiveop> I could use coerce
bms_ has joined #lisp
<_death> sjl: I think it's a schemism to add quotes to everything
<sjl> (coerce ... 'function) will work with ... = 'foo or #'foo or '(lambda () ...)
Karl_Dscc has quit [Remote host closed the connection]
<sjl> ah
<fiveop> The problem is (coerce (car '(#'foo)) 'function)
<fiveop> it does not work, because I destructure a sexpression tree I get the actual list '(function foo) not what #'foo evaluates to
<_death> fiveop: (function foo) is not a function designator.. so you can come up with an "extended function designator" concept and have operators working with that
<fiveop> yes
<fiveop> thanks, I was just wondering if there was already a solution in the standard
<_death> also, there is already an "extended function designator" concept in CL.. so may want to choose another name ;)
<fiveop> I will just not allow #'
<Xach> Where do these expressions come from?
<fiveop> The caller of my function
<Bike> there's also setf function names.
<Xach> fiveop: where does the caller get it from?
<fiveop> by writing them
<fiveop> I want to write a pattern matcher for s-expressions with a syntax for patterns similar to the tree patterns of cl-ppcre
<fiveop> eg (matches nil (:list))
<fiveop> or (matches nil (:satisfies listp)) => t
<fiveop> but (matches (2) (:list)) => nil whereas (matches (2) (:list (satisfies numberp))) => t
angavrilov has quit [Remote host closed the connection]
<fiveop> there is a : missing
<fiveop> The goal is to verify and maybe later destructure complex macro arguments in a clean way
<Xach> sounds interesting
shka has quit [Ping timeout: 256 seconds]
bms_ has quit [Read error: Connection reset by peer]
bms_ has joined #lisp
<fiveop> thanks
fiveop has quit []
Fare has quit [Ping timeout: 255 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
eivarv has quit [Quit: Sleep]
randomstrangerb has quit [Ping timeout: 246 seconds]
randomstrangerb has joined #lisp
<makomo> does anyone know what the names of the map functions stand for (except for mapcar and maplist maybe)?
<makomo> for example mapc and mapcan
scymtym has joined #lisp
<makomo> i'm looking for a good mnemonic or something similar
gtuser has quit [Remote host closed the connection]
<rme> maybe mapc is shorter than mapcar because the successive cars aren't returned as a list?
<makomo> that's what i'm thinking too. and the same logic would go for maplist/mapl.
<Bike> maplist to mapcon kind of fucks it up
<makomo> and then mapcan and mapcon remain
<makomo> yeah lol
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
<makomo> mapcan is understandable, it's mapcar with an n, i.e. it's destructible
<rme> As for mapcan, it's like mapcar, only the "n" means that it nconcs the results together.
<makomo> yeah :-)
<rme> what you said
<makomo> maplist -> mapcon sucks indeed
foom2 is now known as foom
<rme> Perhaps interestingly (or not), ccl implements all of those mapxxx functions using an common function called ccl::map1.
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
jmercouris has quit [Remote host closed the connection]
jmercouris has joined #lisp
<cgay> mapcarn
<fe[nl]ix> yeah, let's map the car out of that list
<fe[nl]ix> n
Fare has joined #lisp
bms_ has quit [Remote host closed the connection]
<cgay> nmapcar probably makes more sense, in a matching CL's naming conventions sort of way?
<pjb> map-list-elements-concatenating-results
DeadTrickster has quit [Remote host closed the connection]
<cgay> reduce
<pjb> The point of mapcar/mapcan/mapcon etc, being to 1- keep the symbol name at 6 characters or less so it can be stored in a single word, 2- have some homogeneous names for similar operations.
<pjb> reduce doesn't concatenate the results, it defers to the caller.
<cgay> indeed
<pagnol> can I somehow tell sbcl that a vector will only ever contain objects of a certain type?
<Bike> yes, you can declare it to be of type (vector [type]) and i think itll figure it out
wxie has joined #lisp
<sjl> well, "will only ever contain objects of a certain type" doesn't necessarily make it a (vector TYPE)
<sjl> e.g. `(vector 1 2 3)` is not a `(vector fixnum)`
<razzy> I have question, wasn't #lisp bigger 15 years back?
<Shinmera> #lisp has only been around since 2004.
<Shinmera> So the answer is no
<razzy> thank you
random-nick has quit [Remote host closed the connection]
<Shinmera> At least that's what ChanServ tells me
Cymew has joined #lisp
<pjb> #lisp existed before, but wasn't registered in ChanServ. Perhaps #lisp wasn't even on freenode then!
<pagnol> sjl, mind explaining this to someone new to lisp?
<pjb> pagnol: cf. upgraded-array-element-type
<razzy> is here some elder from ancient times? 2000? irc.freenode seems like very good technology and idea to be this small
<foom> http://blog.kpe.io/archives/lisp/ mentions "import lisp logs extending back to Sep 2000"
notzmv has joined #lisp
<foom> irc is pretty crappy for modern requirements.
<pagnol> if I add a line (check-type x (vector integer)) then my code compiles but when I pass a vector with strings then the compiler doesn't warn me
<Shinmera> foom: And yet in many ways it's better than all modern solutions :/
<foom> Shinmera: yeah, that's the dilemma.
<pagnol> are there popular slack channels for cl?
<sjl> pagnol: it's a bit complicated, but in a nutshell: if you create an array with (make array ... :element-type foo) then they array is only ever allowed to contain foo's, and the Lisp is allowed to optimize how it stores the array
Cymew has quit [Ping timeout: 240 seconds]
<sjl> e.g. if you (make-array ... :element-type 'bit) SBCL will (I think) pack the bits into contiguous hunks of memory, rather than having one byte/word/etc per element
<pillton> sjl: That isn't correct.
<sjl> no?
<phoe> What is the function to get the filename from a pathname? for #p"/foo/bar.baz", I want to get "bar.baz"
<Shinmera> phoe: (format NIL "~a~@[.~a~]" (pathname-name a) (pathname-type a))
pjb has quit [Remote host closed the connection]
<phoe> Shinmera: hacky as fuck - but thanks
<Shinmera> Colleen: tell phoe look up pathname-utils file-name
<Colleen> phoe: Function pathname-utils:file-name https://shinmera.github.io/pathname-utils#FUNCTION%20PATHNAME-UTILS%3AFILE-NAME
<phoe> Shinmera: less hacky. thanks!
<sjl> anyway, it's implementation-dependent what element types the Lisp will optimize
<pillton> sjl: The value of :element-type allows make-array to optimize the representation of elements in the array. It does not restrict what elements can be stored though.
<sjl> the upgraded-array-element-type thing pjb mentioned is a way to see what the element type of the array actually ends up being
<sjl> pillton: `(make-array 1 :element-type 'bit :initial-element 2)
<pillton> sjl: (setf (aref (make-array 1 :element-type '(or integer float)) 0) "Hey") => "Hey"
<Bike> i was just talking about declaring the vector type, in which case (vector (or cons function)) or whatever does tell the implementation that the elements are of that type, even if that's upgraded to t
<Bike> doesn't work for check-type though
<froggey> phoe: file-namestring?
<pillton> I haven't followed the conversation and I have only read sjl's last comment.
<Shinmera> Bah, how could I forget about file-namestring
<sjl> pillton: yeah, that particular type gets upgraded to t
<phoe> froggey: wow
<phoe> you are correct, thanks!
<sjl> if you use an element-type that doesn't get upgraded to t, it'll restrict what can be stored in the array
<sjl> clhs make-array
<sjl> > The new-array can actually store any objects of the type which results from upgrading element-type; see Section 15.1.2.1 (Array Upgrading).
<Bike> the integer float setf is UB, though of course it does usually work
pjb has joined #lisp
<sjl> pagnol: so anyway, implementations are allowed to take advantage of :element-type if they want
mishoo__ has quit [Ping timeout: 260 seconds]
<sjl> and the type specifier `(vector FOO)` essentially means "a one-dimensional array with an :element-type of FOO"
<sjl> which is not necessarily the same thing as "a one-dimensional array that will only ever contain FOOs"
<Bike> no
<Bike> the type specifier actually does mean it only contains foos, regardless of the upgrading
<Bike> at least for declarations
<pillton> sjl: The upgraded array element type can be more general then the specified element type e.g. on SBCL (upgraded-array-element-type '(integer 0 17)) => (unsigned-byte 7)
<sjl> pillton: yes, I'm aware of that
<phoe> Bike: "the integer float setf is UB" <- what do you mean?
<Bike> is it not obvious?
pjb has quit [Remote host closed the connection]
<sjl> Bike: I'm saying that if I (defparameter *x* (vector 1 2 3)) and never change its values, it's still not a `(vector fixnum)`
attila_lendvai has quit [Ping timeout: 272 seconds]
<sjl> Bike: even though it's "a one-dimensional array that only ever contains fixnums"
<Bike> yyyyyes, i think that's right
<sjl> how about this: all (vector fixnums) contain only fixnums, but not all vectors that contain only fixnums are (vector fixnums)
<sjl> lol
<pillton> No that isn't right.
<Bike> array upgrading sucks
<sjl> assuming that fixnum is the upgraded type
<pillton> Yes, under that premise.
<pillton> clhs 15.1.2.2
<specbot> Required Kinds of Specialized Arrays: http://www.lispworks.com/reference/HyperSpec/Body/15_abb.htm
<pillton> Fixnum isn't required to be specialized.
<phoe> only strings and bitarrays are.
<sjl> yeah
<phoe> Bike: I don't understand what "the integer float setf" means
<jmercouris> jasom: Just released the experimental/alpha version of nEXT for linux
<phoe> (setf 2 2.0) is the first thing that comes to my mind
<phoe> which is silly
<jmercouris> jasom: Now I gotta update cl-webkit to be able to work with libwebkit2gtk-4.0.so
<Bike> phoe: pillton's example (setf (aref (make-array 1 :element-type '(or integer float)) 0) "Hey")
<phoe> ooh, that one
<phoe> that's a type mismatch, "Hey" is not of type (or integer float)
<phoe> even if the resulting array is of type T, portable code shouldn't depend on it being T
<phoe> since an implementation is allowed to create a specialized array for holding only (or integer float)s
<phoe> and this will break
<sjl> unless you check that (upgraded-array-element-type '(or float integer)) is t first, heh
<sjl> though obviously you'd never do that
<jmercouris> What does it mean to clean a Lisp image?
<jmercouris> or to have a "clean" image?
<jmercouris> basically that nothing has been loaded?
<phoe> jmercouris: yes
AxelAlex has joined #lisp
AxelAlex has quit [Max SendQ exceeded]
AxelAlex has joined #lisp
<pillton> All this time I have been cleaning the Lisp image on the wall.
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
LiamH has quit [Quit: Leaving.]
wheelsucker has quit [Remote host closed the connection]
rpg has joined #lisp
dddddd has quit [Remote host closed the connection]
<pillton> phoe: The point of that example was to show that (setf (aref ...) ...) does not do any checking.
<sjl> pagnol: anyway, if you declare that something is a (vector FOO) you must have created it with an :element-type of FOO (or an element-type that upgrades to the same result type). it's not enough to just make sure it only ever contains FOOs.
<pagnol> sjl, alright, thanks for taking the time explain it
<pagnol> *to
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<sjl> array element types are tricky in lisp, unfortunately
<sjl> the book Common Lisp Recipes has a good section on them, if I remember right
red-dot has joined #lisp
<sjl> yeah, chapter 5-9 in there.
<sjl> It's not free, but it's a good book that's worth the money if you want to dive further into Common Lisp eventually.
shifty has joined #lisp
Bike has quit [Ping timeout: 260 seconds]
<pillton> It would be good to think through the impacts of enforcing the element-type.
orivej has quit [Ping timeout: 240 seconds]
wxie has quit [Quit: Bye.]
bms_ has joined #lisp
<pillton> sjl: Sorry for jumping in there.
AxelAlex has quit [Quit: AxelAlex]
<sjl> it's cool
nowhere_man has quit [Ping timeout: 246 seconds]
<sjl> to give you an idea of the kind of "fun" things that can happen, consider something very broken like this: http://paste.stevelosh.com/5a53f663515cd300085229ef
<sjl> (never go full (safety 0))
orivej has joined #lisp
<pillton> Safety has nothing to do with it. That is an implementation detail.
<pillton> clhs 1.4.4.3
<specbot> The ``Arguments and Values'' Section of a Dictionary Entry: http://www.lispworks.com/reference/HyperSpec/Body/01_ddc.htm
<pillton> "Except as explicitly specified otherwise, the consequences are undefined if these type restrictions are violated."
<sjl> sbcl won't let you do it unless you specifically set safety to 0
<sjl> other implementations might let you shoot yourself in the foot even with lesser settings, yes
<sjl> ccl also checks the type at safety 1
<sjl> those are the only 2 implementations I have on this machine to check
<phoe> pillton: it might do checking.
<aeth> If you want to test a lot of implementations, you can set up roswell for that
<sjl> I'd be surprised if many implementations didn't check the type at safety >= 1, but yeah, they're allowed to not check if they want to
<phoe> pillton: since it's undefined behaviour, the implementation might do typechecks on array access, and error in case a mistyped value is set into an array.
<aeth> I use roswell when I need to see how (or if) something works just about every implementation. It doesn't have MKCL and I can't get its Clasp to work. Other than that, it has pretty much every free implementation.
<phoe> *whether* implementations do it is another story. (:
<sjl> I mean, it's undefined behavior. It could launch Nethack.
Fare has quit [Ping timeout: 265 seconds]
<pillton> phoe: Sure. I am just making sure people are aware of their assumptions.
blackwolf has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
Fare has joined #lisp
nowhere_man has joined #lisp
sjl has quit [Ping timeout: 248 seconds]
paul0 has joined #lisp
varjagg has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
randomstrangerb has quit [Ping timeout: 256 seconds]
Baggers has quit [Remote host closed the connection]
randomstrangerb has joined #lisp
<pagnol> I see lots of Japense names when browsing repos on github... is the lisp community strong there?
<pagnol> *Japanese
<jmercouris> Apparently it is :D
<jmercouris> I think it's also true that emacs has some presence there, which leads of course to Lisp
<jmercouris> I see alot of Japanese specific emacs/lisp things
nydel has joined #lisp
<pagnol> especially the name Eitaro Fukumachi jumps out at me just about everywhere
pansninja has joined #lisp
<pansninja> Hello
<pansninja> Do you read CAR and CDR as "car" and See-Dee-Are?
<aeth> cuh-dur
<pagnol> thanks for asking this question.. I was wondering too the other day :)
nowhere_man has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 265 seconds]
<aeth> and "cadr" would be "ca-dur" and "caddr" would be "ca-dud-ur" and "cadadr" would be "ca-dad-ur" etc
<aeth> You can pronounce all combinations
<Shinmera> clhs car
<Shinmera> pansninja: ^includes phonetic scripture for the pronunciation
<Shinmera> Well, it's not IPA, but some scripture at least.
<aeth> basically, use "uh" to fill in where there is no vowel.
<aeth> "cddr" -> "cuhduhduhr"
<pansninja> duhhh.
<aeth> "caddr" -> "caduhduhr"
pilfink has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
<pansninja> Thanks.
<aeth> So there's always one of two vowels "ah" or "uh"
tomlukeywood has joined #lisp
orivej has joined #lisp
Bike has joined #lisp
<cgay> They almost got it right: https://www.youtube.com/watch?v=IN5LLPmEuiE
<phoe> pagnol: /r/lisp_ja
<rme> I and people I know say "car" (car) and "could-er" (cdr) and "cadder" (cadr).
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
<rme> if you say "see-dee-are", people will point and laugh at you :-)
<pagnol> phoe, wow, looks pretty active
vancan1ty has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
<pagnol> it's actually pronounced like this
jstypo has quit [Read error: Connection reset by peer]
orivej has joined #lisp
Kaisyu has joined #lisp
<aeth> It depends on the Lisp, too, e.g. with MIT Scheme "car" is pronounced "cah". This holds for all Lisps and Schemes made in the Boston area.
<fe[nl]ix> hahaha
<bms_> :P
orivej has quit [Client Quit]
jmercouris has quit [Remote host closed the connection]
jmercouris has joined #lisp
<aeth> Hmm... CCL's developers are in the Boston area. So apparently that includes CCL
orivej has joined #lisp
<pagnol> somehow the loop macro feels like a drug
nowhere_man has joined #lisp
<rme> I'm a ccl developer, and I'm not in the Boston area.
zmt00 has quit [Read error: Connection reset by peer]
attila_lendvai has quit [Ping timeout: 272 seconds]
zmt00 has joined #lisp
<aeth> s/CCL's developers are/the company that primarily sponsors CCL development is/
emaczen` has joined #lisp
jmercouris has quit [Ping timeout: 248 seconds]
<pagnol> I found out about ParentScript only this evening and am amazed that it was made in 2005 apparently, a long time before the js craze took off
<aeth> pagnol: It's really easy to go to or from s-expressions
<aeth> (because you're essentially working in an intermediate representation)
<pagnol> aeth, sorry, you lost me, in reference to what did you write that?
<aeth> pagnol: Lisp developers see some strange syntax that they're forced to use (JavaScript, HTML, CSS, GLSL, XML, SGML, CSV, JSON, SQL, whatever) and their first instinct is to try to generate it from s-expressions
<rme> While Clozure Associates has indeed supported CCL for a very long time, CCL relies on (and needs) contributions and support from its users.
arrsim has quit [Ping timeout: 252 seconds]
emaczen has quit [Ping timeout: 265 seconds]
arrsim has joined #lisp
<aeth> pagnol: Generating a string or a file from s-expressions is a very simple thing to do.
<pansninja> What is parentscript?
<pansninja> wot?
<aeth> parenscript is generating JavaScript from s-expressions
<aeth> There's also JSCL, which tries to keep more of the CL semantics iirc
<pansninja> XML actually a kind of s-expression.
<pansninja> aeth: Sauce?
<aeth> Both are very incomplete.
Fare has joined #lisp
<aeth> I've used the JSCL REPL when I need a REPL in a browser on the go, though
<pansninja> Oh
<p_l> Well, parenscript is more of a "syntax" to write JS in
<pansninja> it is Paren. Not Parent.
jstypo has joined #lisp
<pansninja> I believe one of the major things that holds lisp back from adoption is not the syntax, but the idiosyncratic documentations.
<aeth> pansninja: XML has an ambiguity that s-expressions don't have, probably introduced because of how verbose and annoying XML is
<pansninja> I am yet to find a language with more over complicated and poor UX docs than lisp.
<aeth> The XML ambiguity is: <foo bar="baz">...</foo> vs. <foo><bar>baz</bar>...</foo>
<pansninja> And that is coming from someone who has come to love lisp in some ways.
<pansninja> aeth: But that is not the same thing at all. foo with bar set to baz is not same as a foor with a bar.
<pansninja> obviously.
bitch has quit [Ping timeout: 248 seconds]
<pansninja> (foo :bar "buz") vs (foo (bar (buz))).
<aeth> <person name="Phil">...</person> vs. <person><name>Phil</name>...</person>
orivej has quit [Ping timeout: 268 seconds]
<pansninja> (person :name "Phil") vs (person (name "phil"))...
davsebamse has quit [Ping timeout: 248 seconds]
<Shinmera> The difference with sexprs is that they have no defined structure beyond lists and atoms.
<Shinmera> XML does. It forces the ambiguity on you.
<aeth> CL in particular has the plist vs alist issue, most Lisps just have alists, which are harder to write.
<aeth> That's probably the most direct comparison, but you don't mix plists and alists in the same data structure afaik
<pansninja> Shinmera: Example?
<Shinmera> Of what
<pansninja> Of an ambiguity in XML that is not possible in CL.
<Shinmera> What we're discussing right now?
<pansninja> Considering plists and alists issue mentioned by aeth.
<Bike> lisp library docs kind of blow a lot, it's true. hyperspec is pretty good though.
<pansninja> Shinmera: Stop it. It doesn't look good on you.
<Shinmera> plists and alists are someting made up by people. They're not part of sexpr syntax.
<Shinmera> What doesn't look good on me?
<pansninja> Bike: hyperspec is rubbish. Do you really think the image of a script as a button and a wildly complicate layout and flow is good? how?
<pansninja> Shinmera: Your... face. :P
<Shinmera> Uh. Okey, nice try?
* rme shakes head
<Bike> i hit table of contents, i go places
<Bike> the pictures are old, no big
<Bike> i meant the content more than the buttons, anywho
<aeth> The Hyperspec looks like it was designed in 1996, probably because it was (although iirc it was given a slight visual improvement over the 1996 version if you look at the Wayback Machine)
tomlukeywood has quit [Remote host closed the connection]
bitch has joined #lisp
<pansninja> Navigation is a big part for me. if I can't find the content.
<pansninja> It is as good as nonexistent.
<Bike> well, go to the table of contents
<Bike> and then you can click the nice textually named chapters
<pansninja> I need like 25 clicks and five backs to get to it from most pages.
<pansninja> You can't convince me that it is a good experience.
<aeth> The design of the HyperSpec is old enough to drink in the United States
<pansninja> I don't find it a good experience.
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
<aeth> (21 years old)
<pansninja> aeth: Thank you.