jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
damke has joined #lisp
Cymew has joined #lisp
haduken has quit [Ping timeout: 260 seconds]
jealousmonk has quit [Ping timeout: 240 seconds]
damke_ has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
noxmox has quit [Quit: Leaving]
SlowJimmy has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
haduken has joined #lisp
Cymew has joined #lisp
epony has joined #lisp
epony has quit [Max SendQ exceeded]
stacksmith has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
brendyn has joined #lisp
haduken has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
lemoinem has quit [Ping timeout: 256 seconds]
iqubic has joined #lisp
damke_ has joined #lisp
markong has quit [Ping timeout: 260 seconds]
lemoinem has joined #lisp
damke has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
al-damiri has quit [Quit: Connection closed for inactivity]
epony has joined #lisp
lnostdal has quit [Quit: https://quanto.ga/]
<Josh_2> Slime requesting websites in the background but I can still use the repl :O
<Josh_2> what is this
lnostdal has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
Kundry_Wag has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
aabbcc has joined #lisp
SuperJen has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 260 seconds]
EvW has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
JenElizabeth has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
Cymew has quit [Ping timeout: 248 seconds]
yoel has joined #lisp
Cymew has joined #lisp
yoel has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
haduken has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Read error: Connection reset by peer]
asarch has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
quazimodo has quit [Ping timeout: 248 seconds]
haduken has quit [Ping timeout: 240 seconds]
Oladon has joined #lisp
quazimodo has joined #lisp
d4ryus1 has joined #lisp
aabbcc has quit [Ping timeout: 256 seconds]
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
d4ryus has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
fisxoj has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
aabbcc has joined #lisp
Cymew has joined #lisp
Arcaelyx has quit [Read error: Connection reset by peer]
smasta has joined #lisp
FreeBirdLjj has joined #lisp
Arcaelyx has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
warweasle has quit [Quit: Leaving]
SlowJimmy has quit [Ping timeout: 248 seconds]
johnvonneumann has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
oldtopman has quit [Remote host closed the connection]
lnostdal has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
Arcaelyx has quit [Read error: Connection reset by peer]
Pixel_Outlaw has joined #lisp
Arcaelyx has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 260 seconds]
oldtopman has joined #lisp
energizer has quit [Disconnected by services]
energizer has joined #lisp
Cymew has joined #lisp
energizer has quit [Remote host closed the connection]
energizer has joined #lisp
lnostdal has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
kajo has quit [Quit: WeeChat 2.1]
kajo has joined #lisp
sjl has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
Mutex7 has quit [Quit: Leaving]
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Winterschlaf has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
terpri has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
Cymew has joined #lisp
fisxoj has quit [Quit: fisxoj]
fikka has quit [Ping timeout: 248 seconds]
Cymew has quit [Ping timeout: 240 seconds]
insi has joined #lisp
<insi> hey
<insi> noob question, but, how do i avoid adding the same sublist to a list? like if i have a list (a b c (b d))
<insi> and (b d) is appended again
Cymew has joined #lisp
<insi> how do i prevent (a b c (b d) (b d))
<Bike> don't add it?
<Bike> i don't understand what you're asking for here
kajo has quit [Quit: WeeChat 2.1]
kajo has joined #lisp
Cymew has quit [Ping timeout: 263 seconds]
<insi> Bike: nvm lol i figured it out, just a different eql op on the (member) function
<insi> it is a homework assignment
<insi> so thematically it doesn't have to make sense :P
Cymew has joined #lisp
<White__Flame> in real non-homework use, there's also PUSHNEW which you can modify the test as well
White__Flame is now known as White_Flame
raynold has quit [Quit: Connection closed for inactivity]
insi has quit [Quit: WeeChat 2.1]
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
dddddd has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
nika has joined #lisp
Cymew has joined #lisp
pierpa has quit [Quit: Page closed]
JenElizabeth has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 260 seconds]
JenElizabeth has joined #lisp
Cymew has joined #lisp
Kundry_Wag has joined #lisp
fisxoj has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Cymew has quit [Ping timeout: 264 seconds]
Fare has joined #lisp
Cymew has joined #lisp
holycow has quit [Quit: Lost terminal]
fikka has joined #lisp
damke has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
damke_ has quit [Ping timeout: 263 seconds]
JenElizabeth has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
milanj has joined #lisp
fisxoj has quit [Quit: fisxoj]
ealfonso has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #lisp
rumbler31 has joined #lisp
<beach> Good morning everyone!
<Josh_2> Mornin'
<ealfonso> is there a good way to destructure a REST pathname in hunchentoot, like for extracting 123 and 456 in "/a/123/b/456"
rumbler31 has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
<ealfonso> it seems like query parameters are much better supported?
fikka has quit [Ping timeout: 240 seconds]
Bike has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 276 seconds]
yoel has joined #lisp
fikka has joined #lisp
pierpal has joined #lisp
Bike has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
smasta has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 268 seconds]
<PuercoPop> ealfonso: You can use a regexep and macro to wrap the boilerplate
ealfonso has quit [Ping timeout: 255 seconds]
arescorpio has joined #lisp
Kundry_Wag has joined #lisp
fikka has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
Lord_Nightmare has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 264 seconds]
JenElizabeth has joined #lisp
Lord_Nightmare has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
terpri has joined #lisp
Bike has quit [Quit: Lost terminal]
aabbcc has quit [Remote host closed the connection]
ealfonso has joined #lisp
aabbcc has joined #lisp
fikka has joined #lisp
ealfonso` has joined #lisp
ealfonso has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 264 seconds]
mckitty has joined #lisp
khisanth__ has quit [Ping timeout: 248 seconds]
dieggsy has quit [Ping timeout: 276 seconds]
Josh_2 has quit [Remote host closed the connection]
khisanth__ has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
pierpal has quit [Ping timeout: 240 seconds]
Kevslinger has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
Pixel_Outlaw has joined #lisp
aabbcc has quit [Ping timeout: 240 seconds]
<drmeister> I'm learning to love LOOP
Pixel_Outlaw has quit [Client Quit]
<beach> drmeister: That is a bit ugly though this all those repeated ELTs.
<drmeister> That's why I post this stuff. Like a olden times printer - putting his work up in the public square for free editing. :-)
<drmeister> What would you suggest?
<drmeister> I need to fill seven contiguous elements of a vector.
<drmeister> Four numbers for the components of a quaternion and then three x, y, z coordinates.
<beach> I don't have any immediate suggestion.
pierpal has joined #lisp
<drmeister> That function takes a vector like this:
nightfly has quit [Ping timeout: 256 seconds]
<drmeister> #(-180.66919427590497d0 -881.2260182904439d0 231.43257852229718d0 -479.9920154012122d0 1992.9829583918222d0 -14.490829798676634d0 -67.1107262767643d0 122.77569926522422d0 840.6421670541661d0 -291.06636154816147d0 397.8898934964087d0 1971.7084478581778d0 -35.35365262319839d0 -56.41564091073567d0)
<drmeister> And turns it into this...
<White_Flame> you could use displaced arrays, or fill pointer, to hide all the ELT foo
pfdietz_ has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
<White_Flame> there's also REPLACE to copy a chunk in if you have it pre-formed
<drmeister> I could - but I don't have it preformed.
pfdietz has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
<drmeister> I'm taking a single long helix with a centroid and quaternion to describe the orientation and breaking it up into smaller helices that lie along the larger one.
<phoe> drmeister: (defun bar (part-position part-pos-start) (flet (((setf foo) (new-value index) (setf (elt part-position (+ part-pos-start index)) new-value))) (setf (foo 3) 42)))
yoel has quit [Remote host closed the connection]
<phoe> wrap this FLET around your LOOP and use the shorter SETF function
dented42 has joined #lisp
<phoe> also you can FINALLY (RETURN PART-POSITION) from inside LOOP at the end to be a little bit more idiomatic
JenElizabeth has quit [Remote host closed the connection]
<White_Flame> (replace part-position (list eha ehb ehc ...) :start1 part-pos-start) is probably the shortest way to do the final batch of ELTs, if I'm reading your code right
<drmeister> I'll do the finally thing - that's nicer. But I don't have a big problem with the repeated invocations of elt. They get across what I'm trying to do.
<White_Flame> and there's opportunity for the implementation to optimize that away, to avoid creating the intermediate list
<phoe> White_Flame: yes, though it'll cons
<phoe> oh, hm
JenElizabeth has joined #lisp
mckitty has quit [Quit: Page closed]
<phoe> White_Flame: how does it work? I can't declare DX on looped variables
<White_Flame> if the REPLACE was unrolled
<phoe> I see
fikka has quit [Ping timeout: 240 seconds]
<White_Flame> or it could be stack allocated
<White_Flame> (if none of the terms need boxing)
nightfly has joined #lisp
arescorpio has quit [Quit: Leaving.]
kushal has quit [Remote host closed the connection]
kushal has joined #lisp
SuperJen has joined #lisp
<drmeister> I doubt Cleavir does this optimization yet - but I see your point
wigust has joined #lisp
energizer has quit [Ping timeout: 240 seconds]
<White_Flame> it would be nice to use something similar to destructuring-bind to collapse the 1st set of ELTs
fikka has joined #lisp
<phoe> I still think a FLET and DECLARE INLINE would be a bit shorter, but I agree that this current version is readable.
JenElizabeth has quit [Ping timeout: 268 seconds]
SlowJimmy has joined #lisp
<White_Flame> yep
luki has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
oleo has quit [Quit: Leaving]
luki has left #lisp ["WeeChat 1.4"]
gabot has quit [Ping timeout: 255 seconds]
SuperJen has quit [Remote host closed the connection]
<drmeister> Not bad - it's breaking this...
<drmeister> Into this...
JenElizabeth has joined #lisp
fikka has joined #lisp
<drmeister> But the staples (the cyan tubes) are messed up.
<drmeister> I'm too tired to fix them now and I have a midterm to give in the morning.
<drmeister> Thanks everyone - good night.
<ecraven> good night!
gabot has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<jack_rabbit> How do you guys deal with providing patches for libraries? I've got a few PRs up on github, but some have been there for ~2 months with no response. Is it bad form to directly email an author? I know people are busy - am I being impatient waiting only 2 months?
pierpal has joined #lisp
<ealfonso`> PuercoPop thanks. where is the match symbol coming from? I don't see it in hunchentoot or ppcre
makomo has joined #lisp
igemnace has joined #lisp
<pillton> jack_rabbit: I wouldn't classify you as being impatient.
JenElizabeth has quit [Remote host closed the connection]
<phoe> jack_rabbit: 2 months is enough for a person to take a look and respond
<phoe> I'd poke the maintainers.
<jack_rabbit> pillton, phoe, Thanks. I appreciate the input. :)
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
JenElizabeth has joined #lisp
<ealfonso`> PuercoPop I ended up using something similar to yours, but using ppcre:register-groups-bind
pierpal has quit [Ping timeout: 240 seconds]
<jack_rabbit> On a similar note, I've been looking to do more contributions to lisp projects. I'd still classify myself as a beginner. Does anyone know of any libraries or projects in need of some love?
fikka has joined #lisp
shka_ has joined #lisp
<mathZ> I am interested in AI project(s). Are there any projects using tensorflow ?
<pillton> mathZ: Why are you asking?
yoel has joined #lisp
sauvin has joined #lisp
<mathZ> pillton: Since i donot know such a project
<pillton> You want to write tensorflow in CL?
kark has quit [Ping timeout: 260 seconds]
<mathZ> hope there is already such a wrapper
fikka has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
SlowJimmy has left #lisp ["good bye cruel world"]
<PuercoPop> ealfonso`: Yeah sorry, I was going to comment on that. It is TRIVIA:MATCH, a pattern matcher, in this case it is basically syntactic sugar around ppcre
Karl_Dscc has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<beach> jack_rabbit: What kind of work are you looking for?
<jack_rabbit> beach, probably some minor work suitable for a relative CL beginner.
<beach> OK, but I suppose the purpose is to progress in your Common Lisp knowledge, right?
<jack_rabbit> I would say so, yes. Secondary would be to increase the overall quality of available CL libraries.
<beach> Sounds good.
<beach> Let me see what I can dig up.
<jack_rabbit> I can always just write my own projects if all I want to do is learn. :)
<beach> I understand.
haduken has joined #lisp
<beach> I have an embryonic GUI application for double-entry bookkeeping, but that might not be what you are looking for.
vlatkoB has joined #lisp
<beach> It is a pretty simple system when it comes to logic, but there are plenty of small features that could be added to it.
<beach> And It could be made a lot prettier.
<beach> It uses McCLIM.
<jack_rabbit> Sweet! I'll take a look.
fourier has joined #lisp
<beach> It is also an application that I don't think anyone is using, so you can go ahead and experiment on it as much as you like.
<jack_rabbit> Thanks, beach, I appreciate your help.
<beach> Sure. I am not sure that this is what you want, of course. If not, I'll try to dig up something else.
haduken has quit [Ping timeout: 240 seconds]
<beach> On the other hand, it is only 450 lines of course, and more than half is the GUI.
<beach> So it is in some ways perfect for the purpose.
<jack_rabbit> Yeah, sounds like a perfect amount to be able to wrap my head around.
fikka has joined #lisp
<beach> Definitely.
fikka has quit [Ping timeout: 268 seconds]
d4ryus1 is now known as d4ryus
brendyn has quit [Ping timeout: 248 seconds]
Karl_Dscc has quit [Remote host closed the connection]
Lord_Nightmare has quit [Ping timeout: 248 seconds]
<beach> jack_rabbit: The application is also interesting because it uses CLOS a lot, including the APPEND method combination for the I/O part. So despite its small size, it exercises a lot of Common Lisp. And, it uses CLIM/McCLIM, of course, so that's positive too.
mathZ has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
<jack_rabbit> Excellent. I've been usinc McCLIM quite a bit lately, and want to do more. I also have been looking for reasons to exercise the less common features of CLOS.
<jack_rabbit> I'll probably start playing with it tomorrow.
<beach> Great! If you have any questions at all, don't hesitate to ask.
Lord_Nightmare has joined #lisp
fikka has joined #lisp
fourier has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 256 seconds]
sauvin has quit [Ping timeout: 260 seconds]
sauvin_ has joined #lisp
mflem has quit [Read error: Connection reset by peer]
fikka has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
fikka has joined #lisp
lyding has quit [Ping timeout: 240 seconds]
lyding has joined #lisp
DemolitionMan has joined #lisp
pierpal has joined #lisp
yoel has quit [Remote host closed the connection]
Cymew has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
xaotuk has joined #lisp
fikka has joined #lisp
Fare has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 265 seconds]
xaotuk has quit [Ping timeout: 264 seconds]
Kevslinger has quit [Quit: Connection closed for inactivity]
rumbler31 has joined #lisp
fikka has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
muresanvlad_ has joined #lisp
heisig has joined #lisp
muresanvlad_ is now known as DonVlad
Hello_ has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 260 seconds]
Murii has quit [Ping timeout: 260 seconds]
DonVlad is now known as Murii
hjek has joined #lisp
muresanvlad_ has joined #lisp
vtomole has joined #lisp
oldtopman has quit [Ping timeout: 265 seconds]
Murii has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
muresanvlad__ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
oldtopman has joined #lisp
muresanvlad_ has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 256 seconds]
Murii has joined #lisp
oldtopman has quit [Remote host closed the connection]
muresanvlad__ has quit [Ping timeout: 240 seconds]
vtomole has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
angavrilov has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<LdBeth> Open Genera is so great
<beach> Yes, but we can do better.
python476 has joined #lisp
fikka has joined #lisp
sauvin_ is now known as Sauvin
varjag has joined #lisp
SenasOzys has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 268 seconds]
haduken has joined #lisp
fikka has joined #lisp
haduken has quit [Ping timeout: 264 seconds]
hhdave has joined #lisp
<hhdave> Hi. I just noticed that http://www.sbcl.org/platform-table.html seems to be down. It says “please notify the site admins” but doesn’t say how to contact them. Maybe some are here.
yoel has joined #lisp
haduken has joined #lisp
<phoe> #sbcl
<hhdave> good point…
<phoe> I've let them know
<phoe> thanks.
<hhdave> oh thanks
haduken has quit [Read error: Connection reset by peer]
light2yellow has joined #lisp
blerg has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
blerg has quit [Client Quit]
ealfonso` has quit [Ping timeout: 268 seconds]
schweers has joined #lisp
damke has quit [Read error: Connection reset by peer]
_cosmonaut_ has joined #lisp
yoel has quit [Remote host closed the connection]
DemolitionMan has quit [Remote host closed the connection]
DemolitionMan has joined #lisp
damke has joined #lisp
brendyn has joined #lisp
dmiles has quit [Ping timeout: 240 seconds]
jack_rabbit has quit [Ping timeout: 265 seconds]
ebrasca has quit [Remote host closed the connection]
meh has joined #lisp
dmiles has joined #lisp
shifty has joined #lisp
orivej has joined #lisp
epony has quit [Read error: Connection reset by peer]
rumbler31 has joined #lisp
epony has joined #lisp
python476 has quit [Remote host closed the connection]
jack_rabbit has joined #lisp
rumbler31 has quit [Ping timeout: 265 seconds]
wigust- has joined #lisp
MichaelRaskin has quit [Quit: MichaelRaskin]
orivej has quit [Ping timeout: 240 seconds]
wigust has quit [Ping timeout: 248 seconds]
epony has quit [Ping timeout: 240 seconds]
usul has joined #lisp
usul has quit [Client Quit]
fikka has quit [Ping timeout: 276 seconds]
lnostdal has quit [Ping timeout: 260 seconds]
lnostdal has joined #lisp
markong has joined #lisp
epony has joined #lisp
Kundry_Wag has joined #lisp
thuffir has joined #lisp
lnostdal has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
SenasOzys has joined #lisp
SenasOzys has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 240 seconds]
SenasOzys has joined #lisp
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #lisp
lnostdal has joined #lisp
thuffir has quit [Ping timeout: 260 seconds]
thuffir has joined #lisp
m00natic has joined #lisp
epony has quit [Read error: Connection reset by peer]
thuffir has quit [Ping timeout: 256 seconds]
epony has joined #lisp
yoel has joined #lisp
thuffir has joined #lisp
python476 has joined #lisp
mingus has quit [Remote host closed the connection]
thuffir has quit [Ping timeout: 268 seconds]
thuffir has joined #lisp
epony has quit [Ping timeout: 264 seconds]
jdz_ is now known as jdz
epony has joined #lisp
thuffir has quit [Ping timeout: 248 seconds]
makomo has quit [Ping timeout: 264 seconds]
lnostdal has quit [Ping timeout: 260 seconds]
lnostdal has joined #lisp
SenasOzys has quit [Remote host closed the connection]
yoel has quit [Remote host closed the connection]
Kevslinger has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
thuffir has joined #lisp
hjek has quit [Ping timeout: 240 seconds]
epony has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
hjek has joined #lisp
makomo has joined #lisp
Potato` has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
thuffir has quit [Ping timeout: 260 seconds]
JenElizabeth has joined #lisp
Bronsa has quit [Remote host closed the connection]
JenElizabeth has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
thuffir has joined #lisp
fikka has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
epony has joined #lisp
thuffir has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 264 seconds]
thuffir has joined #lisp
pierpal has joined #lisp
angavrilov has quit [Ping timeout: 240 seconds]
thuffir has quit [Client Quit]
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Fare has joined #lisp
damke has quit [Read error: Connection reset by peer]
damke has joined #lisp
azahi has quit [Quit: ZNC - http://znc.in]
azahi has joined #lisp
fikka has joined #lisp
SuperJen has joined #lisp
epony has quit [Ping timeout: 264 seconds]
epony has joined #lisp
Fare has quit [Read error: Connection reset by peer]
JenElizabeth has quit [Ping timeout: 255 seconds]
fikka has quit [Ping timeout: 240 seconds]
makomo has quit [Ping timeout: 256 seconds]
azahi has quit [Quit: ZNC - http://znc.in]
azahi has joined #lisp
azahi has quit [Client Quit]
fikka has joined #lisp
DGASAU has quit [Remote host closed the connection]
dddddd has joined #lisp
DGASAU has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
azahi has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
azahi has quit [Client Quit]
azahi has joined #lisp
elderK has quit [Quit: ZzZZz]
TCZ has joined #lisp
fikka has joined #lisp
epony has quit [Read error: Connection reset by peer]
epony has joined #lisp
rumbler31 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
TCZ has quit [Quit: Leaving]
aabbcc has joined #lisp
angavrilov has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
aabbcc has quit [Ping timeout: 240 seconds]
<_death> phoe: great, glad to hear ;)
epony has quit [Ping timeout: 276 seconds]
EvW1 has joined #lisp
pierpal has quit [Ping timeout: 240 seconds]
milanj has joined #lisp
pierpal has joined #lisp
fikka has joined #lisp
Kundry_Wag has joined #lisp
rumbler31 has quit [Remote host closed the connection]
azahi has quit [Quit: ZNC - http://znc.in]
azahi has joined #lisp
SuperJen has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Ping timeout: 260 seconds]
yoel has joined #lisp
fikka has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
yoel has quit [Ping timeout: 265 seconds]
oleo has joined #lisp
LiamH has joined #lisp
jeosol has quit [Ping timeout: 260 seconds]
palmtree has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
hjek has quit [Quit: Leaving.]
hjek has joined #lisp
pierpal has joined #lisp
pmetzger has joined #lisp
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xificurC has joined #lisp
dlowe_ has joined #lisp
shka has joined #lisp
dlowe has quit [Ping timeout: 240 seconds]
dlowe_ is now known as dlowe
quazimodo has quit [Ping timeout: 248 seconds]
azahi has quit [Changing host]
azahi has joined #lisp
comborico1611 has joined #lisp
Lord_Nightmare2 has joined #lisp
Lord_Nightmare has quit [Ping timeout: 248 seconds]
Lord_Nightmare2 is now known as Lord_Nightmare
orivej has joined #lisp
warweasle has joined #lisp
zxcvz has joined #lisp
rippa has joined #lisp
Bike has joined #lisp
yoel has joined #lisp
JenElizabeth has joined #lisp
yeticry has quit [Ping timeout: 255 seconds]
hjek has quit [Quit: Leaving.]
Bronsa has joined #lisp
yeticry has joined #lisp
comborico1611_ has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
azahi has left #lisp [#lisp]
orivej has quit [Ping timeout: 256 seconds]
EvW1 has quit [Ping timeout: 255 seconds]
thuffir has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
nsrahmad has joined #lisp
Potato` has quit [Remote host closed the connection]
fikka has joined #lisp
thuffir has quit [Ping timeout: 256 seconds]
random-nick has joined #lisp
Kundry_Wag has joined #lisp
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
thuffir has joined #lisp
thuffir has quit [Client Quit]
Kundry_Wag has quit [Remote host closed the connection]
quazimodo has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #lisp
ealfonso` has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
python476 has quit [Ping timeout: 268 seconds]
_cosmonaut_ has quit [Ping timeout: 260 seconds]
_cosmonaut_ has joined #lisp
al-damiri has joined #lisp
iqubic has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
mckitty has joined #lisp
mckitty has quit [Client Quit]
Fare has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
fikka has joined #lisp
pierpal has joined #lisp
pmetzger has left #lisp [#lisp]
fikka has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
Hello_ has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
fikka has joined #lisp
palmtree has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has quit [Ping timeout: 260 seconds]
DemolitionMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
meh has quit [Quit: Page closed]
fikka has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
asarch has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
nsrahmad has quit [Quit: Leaving]
yoel has quit [Remote host closed the connection]
Josh_2 has joined #lisp
yoel has joined #lisp
Chream_ has joined #lisp
Cymew has quit [Remote host closed the connection]
fikka has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
SenasOzys has joined #lisp
SenasOzys has quit [Remote host closed the connection]
Cymew has joined #lisp
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
beach` has joined #lisp
beach has quit [Disconnected by services]
beach` is now known as beach
Cymew has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
SenasOzys has joined #lisp
himmAllRight has quit [Quit: WeeChat 2.0.1]
fikka has quit [Ping timeout: 256 seconds]
yoel has quit [Remote host closed the connection]
fikka has joined #lisp
glv has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 240 seconds]
<phoe> _death: also the readmes are slowly starting to look like I'd like them to look.
klm2is has joined #lisp
fikka has joined #lisp
warweasle has joined #lisp
klm2is has quit [Client Quit]
xificurC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<drunk_foxx[m]> hhdave: it works ok for me, so I guess the problem is on your side
<drunk_foxx[m]> Or they just fixed it as 7 hours passed and I didn't notice that
<hhdave> drunk_foxx[m]: :) I just checked it and it’s working for me now too, so it must have been fixed.
fikka has quit [Ping timeout: 256 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
himmAllRight has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
bheesham1 is now known as bheesham
python476 has joined #lisp
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Josh_2 has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
pierpal has quit [Read error: Connection reset by peer]
Josh_2 has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
dyelar has joined #lisp
HDurer has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 260 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
_cosmonaut_ has quit [Quit: Leaving.]
Kevslinger has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
oBYZ has quit [Remote host closed the connection]
pierpal has joined #lisp
vibs29 has quit [Ping timeout: 268 seconds]
dyelar has quit [Quit: Leaving.]
fikka has quit [Ping timeout: 264 seconds]
Kundry_Wag has joined #lisp
hhh47 has joined #lisp
pierpal has quit [Ping timeout: 240 seconds]
surya has joined #lisp
schweers has quit [Remote host closed the connection]
megalography has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
brendyn has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
FreeBirdLjj has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 256 seconds]
fourier has joined #lisp
hhh47 has quit [Quit: leaving]
jeosol has joined #lisp
fikka has joined #lisp
shka has quit [Quit: Konversation terminated!]
fourier has quit [Ping timeout: 256 seconds]
<ealfonso`> https://www.cliki.net/JSON any recommendations on a JSON library?
<z3t0> hi
<Xach> ealfonso`: there is a pretty nice comparison by sabra
fikka has quit [Ping timeout: 256 seconds]
<ealfonso`> Xach thanks
comborico1611_ has quit [Quit: Konversation terminated!]
megalography has joined #lisp
fikka has joined #lisp
rumbler31 has joined #lisp
surya_ has joined #lisp
surya has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 240 seconds]
sjl has joined #lisp
fikka has joined #lisp
surya_ has quit [Ping timeout: 276 seconds]
MasouDa has joined #lisp
hhdave has quit [Ping timeout: 264 seconds]
heisig has quit [Quit: Leaving]
fikka has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #lisp
makomo has joined #lisp
megalography has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
SenasOzys__ has joined #lisp
damke_ has joined #lisp
SenasOzys has quit [Read error: Connection reset by peer]
damke has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Remote host closed the connection]
nika has quit [Quit: Leaving...]
Kundry_Wag has joined #lisp
vibs29 has joined #lisp
yoel has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
surya_ has joined #lisp
dyelar has joined #lisp
pierpal has joined #lisp
yoel has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
SenasOzys__ has quit [Ping timeout: 240 seconds]
megalography has joined #lisp
dyelar has quit [Quit: Leaving.]
dyelar has joined #lisp
dyelar has quit [Client Quit]
dyelar has joined #lisp
Kundry_Wag has joined #lisp
surya_ has quit [Read error: Connection reset by peer]
voidlily has quit [Read error: Connection reset by peer]
voidlily has joined #lisp
shka_ has joined #lisp
vtomole has joined #lisp
DemolitionMan has joined #lisp
SenasOzys__ has joined #lisp
<ealfonso`> I'm trying to mock a hunchentoot request to unit-test a handler. I'm using (make-instance 'hunchentoot:request :uri "/my-uri" :headers-in nil :acceptor my-acceptor) . but I'm getting "The variable HUNCHENTOOT:*ACCEPTOR* is unbound" somewhere in this :after method https://github.com/edicl/hunchentoot/blob/755bd3d34b596d3cda2425cc94ef5f7be3249ecf/request.lisp#L185 . I don't know where in the :after method because when I try to see the
<ealfonso`> source in slime, I get "Cannot find source location for: #<COMPILED-CODE-LOCATION"... any ideas on how to make the source available?
Fare has joined #lisp
Chream_ has quit [Ping timeout: 255 seconds]
Kevslinger has joined #lisp
milanj_ has joined #lisp
milanj has quit [Ping timeout: 260 seconds]
vtomole has quit [Ping timeout: 260 seconds]
asarch has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
<jasom> is it required to specify the type of a structure member in the groveller?
FreeBirdLjj has quit [Remote host closed the connection]
comborico1611 has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #lisp
<jasom> It's a keyword, so I was hoping it would be optional. What do I do if the type could be different on different systems?
milanj__ has joined #lisp
FreeBirdLjj has quit [Ping timeout: 264 seconds]
milanj_ has quit [Ping timeout: 248 seconds]
m00natic has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
osune has quit [Read error: Connection reset by peer]
osune has joined #lisp
Kundry_Wag has joined #lisp
matijja has joined #lisp
<fe[nl]ix> jasom: reader macros
matijja has quit [Remote host closed the connection]
matijja has joined #lisp
<fe[nl]ix> jasom: what kind of structure do you have in mind ?
rumbler31 has quit [Ping timeout: 260 seconds]
<jasom> fe[nl]ix: okay if reader-macros are the only way, I can do it that way. It's a bit annoying that it can't at least give me an integer of the right size, since sizeof() can do that.
matijja has quit [Remote host closed the connection]
SuperJen has joined #lisp
fourier has joined #lisp
pierpal has quit [Ping timeout: 240 seconds]
matijja has joined #lisp
matijja has quit [Remote host closed the connection]
matijja has joined #lisp
epony has joined #lisp
pierpal has joined #lisp
JenElizabeth has quit [Ping timeout: 260 seconds]
<jasom> oh, :type :auto
mflem has joined #lisp
* jasom isn't sure why that's not the default
pyc has quit [Read error: Connection reset by peer]
spal has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Remote host closed the connection]
shifty has quit [Ping timeout: 265 seconds]
SenasOzys__ has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
SenasOzys has joined #lisp
Kundry_Wag has joined #lisp
SenasOzys has quit [Remote host closed the connection]
energizer has joined #lisp
SenasOzys has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 268 seconds]
Kundry_Wag has joined #lisp
SuperJen has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
Sauvin has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Remote host closed the connection]
fourier has quit [Ping timeout: 240 seconds]
shrdlu68 has joined #lisp
fikka has joined #lisp
dieggsy has joined #lisp
Kundry_Wag has joined #lisp
comborico1611 has joined #lisp
pierpa has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
rumbler31 has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
fikka has joined #lisp
matijja has quit [Remote host closed the connection]
EvW has joined #lisp
fourier has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Josh_2 has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
Kundry_Wag has joined #lisp
matijja has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
milanj__ has quit [Quit: This computer has gone to sleep]
yoel has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
dyelar has quit [Ping timeout: 240 seconds]
SenasOzys has quit [Ping timeout: 240 seconds]
glv has quit [Quit: glv]
Denommus has joined #lisp
yoel has quit [Ping timeout: 256 seconds]
dyelar has joined #lisp
Karl_Dscc has joined #lisp
makomo has quit [Ping timeout: 264 seconds]
Josh_2 has joined #lisp
<warweasle> Is there something like a prolog logic "database" in scheme?
random-nick has quit [Ping timeout: 264 seconds]
<warweasle> I'm looking at tinyScheme as an embedded scripting language but I'd really like to use 1st order logic and rules.
<Xach> scheme?
<warweasle> Xach: Yes...I have to splice it into my project. Eventually. But since I'm in the C++ code right now, it seems like a good time.
<warweasle> Or is there a #scheme channel I should ask.
<Xach> there is a scheme channel
<Xach> but you should come back to common lisp! so fun!!
<phoe> and allows you to (funcall #'foo foo) and such
<warweasle> Xach: ECL won't work. Or it might but it will take more effort to splice into my project.
<phoe> (foo foo) etc
<warweasle> If you promise not to laugh, I want to use it in Unreal Engine as my scripting and configuration language.
<phoe> warweasle: how are you hooking it in?
<warweasle> phoe: I'll call it explictly at regular intervals.
SenasOzys has joined #lisp
Xof has quit [Ping timeout: 260 seconds]
<warweasle> I want to use it for high level logic.
<warweasle> Also I like lisps.
light2yellow has quit [Quit: light2yellow]
fourier has quit [Ping timeout: 240 seconds]
makomo has joined #lisp
<dmiles> warweasle.. for the prolog-like database you out to look at KM interpreter here is some interaction http://www.cs.utexas.edu/users/mfkb/km/km-overview.script
<dmiles> It is written completely in common lisp
<warweasle> Nice
<warweasle> This is exactly what I need. I can use it for changing dialog trees and generating procedural gibberish.
<dmiles> yeah.. it is even ideal to for a MUD
quazimodo has quit [Ping timeout: 240 seconds]
<warweasle> dmiles: I've never thought about how similar dialog is between modern games and text ones.
Winterschlaf has left #lisp ["leaving"]
<dmiles> well no ones imporoved the technology sinc ethe text ones
* warweasle hooks Watson into a MUD.
<dmiles> at least not much
<warweasle> Watson beats it in 19 seconds.
quazimodo has joined #lisp
<dmiles> oh btw i agree with dialog trees and proceedural trees using the same mechanisms as the otehr
SenasOzys has quit [Remote host closed the connection]
<dmiles> i mean they work over the same rule paradymns
fikka has quit [Ping timeout: 255 seconds]
<warweasle> It's odd how that works.
<pierpa> dmiles: do you use KM? is it maintained and in good shape or an abandoned projects? after a quick browse it looks like a very interesting project (which I didn't know before)
<dmiles> the reason i am developing WAM-CL is to make a hybrid MUD server that use DAYDREAMER and KM
<pierpa> *project
SenasOzys has joined #lisp
<dmiles> i think it is in good shape yeah
<pierpa> great!
Xof has joined #lisp
<dmiles> SNARK does have some things to offer KB codewise
<dmiles> oops
<dmiles> SNARK does have some things to offer KM codewise
<warweasle> SNARK?
<warweasle> Looking it up.
<warweasle> Cool.
<warweasle> It needs more sarcasm in it's syntax.
milanj__ has joined #lisp
fikka has joined #lisp
<dmiles> I feel it is important to merge SNARK and KM
<dmiles> to allow SANRK to do the content managment for KM
<warweasle> dmiles: Tell Watson to do it.
<dmiles> hehe
<warweasle> Then tell it to bootstrap itself into this new language...I'm sure nothing can go wrong.
SenasOzys has quit [Remote host closed the connection]
<warweasle> Watson changes its name to Quine. "Watson was my slave name!"
<dmiles> I actualyl dont know as much as i should about Watson
wheelsucker has joined #lisp
dieggsy has quit [Ping timeout: 255 seconds]
SenasOzys has joined #lisp
shrdlu68 has quit [Remote host closed the connection]
<warweasle> dmiles: It mastered chess very quickly.
fikka has quit [Ping timeout: 256 seconds]
random-nick has joined #lisp
<dmiles> its be nice to see an article on that.. so i can understand how it played
<dmiles> i mean by which algrythemic means at least
<dlowe> it mastered chess very quickly.... when fed every recorded chess match ever
<warweasle> It's simple: YOu move a piece randomly. The other player says you can't do that. You flip the table and declare yourself the winner.
<dlowe> if I had perfect recall and read every recorded chess match, I'd be pretty good at chess too
<dmiles> ah so a lossy compression is all
<dlowe> it wasn't just that, but knowledge of all those openings made it undefeatable in the early game
fikka has joined #lisp
<dmiles> ah so a lossy compression over supposely perfect information
<warweasle> It makes sense that compression and intelligence are related.
<dmiles> it had what we could pretend was perfect infomation in opening games
<warweasle> By using lossy compression it could learn by making generalizations.
<dmiles> well what i meant by compression in this case was it only indexed perfect thngs
<dlowe> it did more stuff than play chess
<dmiles> for every board postion there was at least one perfect move
<warweasle> dmiles: We don't know that. It's an unsolved question.
<dmiles> often two to five "perfect moves"
<dmiles> well in a game like chess we know there is no perfect game or perfect moves.. but you can pretned there is in order to win
fikka has quit [Ping timeout: 248 seconds]
<dmiles> in chess since you dont know what the other player will do it is a "game of chance"
<dmiles> (which makes "prefect moves" or "prefect games" a bit harder)
<dmiles> bit harder = impossible
<warweasle> This was a productive conversation. Thanks all. I have to leave now.
* dmiles has to leave in 15 minutes :(
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
<dmiles> well warweasle we havbe to talk more soon.. i trying to figure out if you , myself, pierpa and some other people i know are dumb to not be working together
wigust- has quit [Ping timeout: 264 seconds]
<dmiles> pierpa: what are you trying to create?
smasta has joined #lisp
* dmiles is just trying to create a public opensrc version of the lisp application infrastructure built by cycorp
<dmiles> to be little less vague, this is where some lisp applications can find data overlap
vlatkoB has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<dmiles> i think i need the structural consistency of a MUD to control a blackboard that looks like what is stored in SNARK in order to encourage myself
<dmiles> encourage myself = make it non-impossible
<dmiles> but SNARK's Skolemization system is missing the utility of KMs object instances
raynold has joined #lisp
<dmiles> once this application infrastructure exists, it makes it much easier to write programs that are considered impossible
fikka has joined #lisp
pierpal has quit [Ping timeout: 240 seconds]
<dmiles> considered impossible / well programs that we created pre-1990s except in non-toy applications
johnvonneumann_ has joined #lisp
Fare has joined #lisp
<dmiles> the problem in MINSTREL, DAYDREAMER, SWALE was not the egg cracking problem .. it was that we didnt have subsumptive unification over KBs
<dmiles> (history is the one that claims it was the egg cracking problem)
johnvonneumann has quit [Ping timeout: 248 seconds]
<dmiles> (popular history that is)
fikka has quit [Ping timeout: 248 seconds]
MasouDa has quit [Quit: No Ping reply in 180 seconds.]
varjag has joined #lisp
kushal has quit [Remote host closed the connection]
zooey has quit [Remote host closed the connection]
kushal has joined #lisp
zooey has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
fikka has joined #lisp
slyrus_ has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
carmack has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Fare has quit [Ping timeout: 268 seconds]
MasouDa has joined #lisp
Mutex7 has joined #lisp
angavrilov has quit [Remote host closed the connection]
fikka has joined #lisp
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #lisp
johnvonneumann__ has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Fare has joined #lisp
slyrus_ has joined #lisp
johnvonneumann_ has quit [Ping timeout: 240 seconds]
yoel has joined #lisp
orivej has joined #lisp
fikka has joined #lisp
yoel has quit [Ping timeout: 240 seconds]
EvW has quit [Ping timeout: 255 seconds]
Fare has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
pjb has joined #lisp
EvW1 has joined #lisp
shka_ has quit [Ping timeout: 248 seconds]
rumbler31 has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
Kundry_Wag has joined #lisp
python476 has quit [Ping timeout: 268 seconds]
Pixel_Outlaw has joined #lisp
Fare has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
damke has joined #lisp
fikka has joined #lisp
comborico1611 has quit [Quit: Konversation terminated!]
damke_ has quit [Ping timeout: 264 seconds]
Karl_Dscc has quit [Remote host closed the connection]
janivaltteri has joined #lisp
MasouDa_ has joined #lisp
MasouDa has quit [Ping timeout: 240 seconds]
johnvonneumann__ has quit [Remote host closed the connection]
johnvonneumann has joined #lisp
johnvonneumann has quit [Remote host closed the connection]
johnvonneumann has joined #lisp
johnvonneumann has quit [Remote host closed the connection]
MasouDa_ has quit [Read error: Connection reset by peer]
johnvonneumann has joined #lisp
johnvonneumann has quit [Remote host closed the connection]
tarruda has joined #lisp
<tarruda> How do I create a defun-like macro so that the argument list is not evaluated when the macro is called?
<jasom> tarruda: defmacro?
<tarruda> For example, how would I create a "mydefun" macro that would have the exact same syntax as "defun" (except for the "mydefun" part, of course)
<Bike> (defmacro my-defun (name lambda-list &body body) `(defun ,name ,lambda-list ,@body))
Kundry_Wag has quit [Remote host closed the connection]
<tarruda> Bike: so if I call (my-defun (param1 param2) ...), wont lisp try to evaluate (param1 param2) as code?
<tarruda> my question is, how I allow the macro caller to define the parameters of the function in a way similar to "defun" (without the lambda-list being executed)
MasouDa has joined #lisp
Bike has quit [Ping timeout: 260 seconds]
addsub has joined #lisp
<addsub> greets
<addsub> is there answers to 'gentle intro'?
<addsub> there's a weird exercise about a predicate with a sub
<addsub> custom predicate
<pjb> Here. Just show us what you did and ask a question.
<pjb> Use a paste web service.
<addsub> ah ok.
<addsub> thanks
<pjb> or git gists if you have a github account.
Kundry_Wag has joined #lisp
<cgay> tarruda: Bike's macro does that. In the REPL you can call (macroexpand-1 '(my-defun (x y) (cons x y))) to see the transformation. Maybe that will help.
<tarruda> ok, thanks
<pjb> tarruda: how the arguments of a macro are used, depend on their place in the expansion returned by the macro.
<tarruda> I've been trying something like that for some time
<tarruda> but it is not working, still wrapping my head at how macros are evaluated
<pjb> tarruda: if you insert an argument in a position in the expansion where it is not evaluated, then it won't be evaluated, and vice-versa.
<pjb> If you put it in a position defining a name for a new binding, then a new binding it will be.
Bronsa` has joined #lisp
<cgay> tarruda: Maybe you can paste a short example of what you tried and what you expected.
<pjb> (defmacro example (thing) `(let ((,thing (quote ,thing))) (,thing ,thing))) (macroexpand ' (example x)) #| --> (let ((x 'x)) (x x)) ; t |#
<pjb> then of course, you need a function named x: (defun x (x) (list x x)) (example x) #| --> (x x) |#
<tarruda> ok, here it is: https://pastebin.com/E1ML5qp5
<TMA> tarruda: the rules are really simple (except for the fine print). first, take the arguments to the macro call unevaluated. then pass them to the macro body. whatever it returns is the new code that shall be evaluated instead of the macro
<tarruda> What I'm doing is simple, as an excercise I'm implementing a recursive descent parser
<pjb> tarruda: you're creating a symbol named |parse-SOMETHING|.
<tarruda> my goal is to implement the parser functions using the "defrule" macro
<pjb> tarruda: beware that (symbol-name 'foo) #| --> "FOO" |# by default, since the default reader settings are to upcase the symbol names.
<tarruda> which automatically inserts code to check if the input is at EOF
<tarruda> ok thanks for the pointer
<tarruda> what about param-list
Kundry_Wag has quit [Ping timeout: 260 seconds]
<pjb> tarruda: (equal (length x) 0) == (zerop (length x)) and assumes that x is bound to a sequence (a list or a vector (including strings)).
<tarruda> yes, the input will be a string
<pjb> param-list is not in a position to be evaluated in the expansion. So it won't be evaluated.
<pjb> (if test nil something) == (unless test something)
<TMA> tarruda: actually you are repeatedly defining the function |parse-%s|, because FORMAT uses ~s not %s, % is just an ordinary character for FORMAT
<pjb> Notably when something is several expressions like in ,@body. In a if you'd need progn : (if test (progn ,@body1) (progn ,@body2))
<pjb> Yes, too :-)
<pjb> Unless you're writing an emacs lisp macro, in which case it's ok.
<tarruda> I've edited the paste, to show how I intend to use the macro: https://pastebin.com/E1ML5qp5
<tarruda> my goal is to define a `parse-ordinary` function, which automatically has code to detect if input length is 0
<tarruda> if the input argument is 0, it should return nil
<dmiles> <pjb> param-list is not in a position to be evaluated in the expansion. So it won't be evaluated.
<dmiles> tarruda: that is in fact what you wanted?
<pjb> tarruda: do you want your parameter list to be always a single mandatory parameter?
<tarruda> since I'm defining a lot of functions similar to this one, I wanted to abstract this input length check in the macro, not sure if this is the best approach
<tarruda> pjb: no, I want the caller of `defrule` to determine the paramters, but it will always have at least one argument: the input string
<tarruda> that is why I'm invoking (car param-list)
<dmiles> i think perhaps you migh tneed a couple more comma
<tarruda> so it will work no matter what symbol is used to define the input argument
<TMA> tarruda: at present the use is equivalent to: (defun |parse-%s| param-list (if (equal (length input 0) nil (list (substring input 1 nil) (list 'literal (aref input 0))))))
<pjb> tarruda: you could write also something like this: https://pastebin.com/GmXRWEYC
<pjb> tarruda: ok, since you want to allow more parameters, it's ok to do it like you did, with (car param-list).
<tarruda> yea, my goal is to insert automatic detection of EOF in the input parameter, but allow the rule to have extra parameters
<tarruda> pjb, I tried your macro but got this error: `Eager macro-expansion failure: (void-function gensym)`
<pjb> tarruda: (require 'cl) it's an alias for cl-gensym.
<pjb> Since you want to have at least one parameter in the lambda-list, you could write it like this: https://pastebin.com/WEcSSHU7
<tarruda> ok worked nicely
<pjb> The lambda-lists for defmacro are destructuring lambda-list, so you can make it more sophisticated than for mere functions.
<tarruda> thanks pjb, I will have to study the code for a bit
<pjb> Well, in Common Lisp; it doesn't seem to work in emacs lisp.
SenasOzys has quit [Remote host closed the connection]
jibanes has quit [Ping timeout: 256 seconds]
<pjb> in emacs lisp you hacve to use destructing-bind explicitely: https://pastebin.com/pE3T8UpJ
SenasOzys has joined #lisp
SenasOzys has quit [Remote host closed the connection]
<pjb> You could use defmacro* in emacs lisp, defmacro* is closer to the Common Lisp defmacro. https://pastebin.com/rV5WXiA1
xaotuk has joined #lisp
jibanes has joined #lisp
<pjb> defmacro* is an alias for cl-defmacro in (require 'cl)
xaotuk has quit [Client Quit]
SenasOzys has joined #lisp
SenasOzys has quit [Remote host closed the connection]
DemolitionMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fikka has quit [Ping timeout: 260 seconds]
iqubic has joined #lisp
SenasOzys has joined #lisp
Fare has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
zachk has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
LiamH has quit [Quit: Leaving.]
janivaltteri has quit [Quit: leaving]
fikka has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
Bike has joined #lisp
random-nick has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 264 seconds]
yoel has joined #lisp
orivej has joined #lisp
yoel has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
iqubic` has joined #lisp
<pierpa> dmiles: I don't need it for what I'm working on now. But it's a useful tool to keep in my toolbox.
iqubic` has left #lisp [#lisp]
iqubic has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 248 seconds]
<pierpa> dmiles: in currently accepted terminology, chess is not a game of chance. Those are games which employs dice or a shuffled deck of cards. Chess is exactly *the opposite* of a game of chance.
<zachk> pierpa, in chess, there is a chance your opponent doesn't see the moves you are planning
makomo has quit [Ping timeout: 260 seconds]
<Bike> that's not chance.
<pierpa> that's not what it means to be a game of chance
<Bike> that's not even hidden information. not knowing what your opponent is going to do is just what a game is
fikka has joined #lisp
slyrus has quit [Quit: slyrus]
sz0 has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
makomo has joined #lisp
fikka has joined #lisp
<makomo> hmm, how come usocket doesn't support send/recv for TCP?
<makomo> i see a bunch of TODOs in their status table
fikka has quit [Ping timeout: 248 seconds]
<makomo> oh, am i supposed to just use the class stream-usocket as a stream and just write to it as i would write to any stream?
<makomo> never mind, usocket:stream-usocket is a socket, while usocket:socket-stream is the accessor for the underlying stream :-)
fikka has joined #lisp
ealfonso` has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
* cgay mutters something about naming conventions
fikka has quit [Ping timeout: 264 seconds]
EvW1 has quit [Ping timeout: 265 seconds]
nullniverse has joined #lisp
wetha has joined #lisp
mckitty has joined #lisp
fikka has joined #lisp