p_l changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | ASDF 3.3.4
dominic34 has joined #lisp
knuckles has quit [Quit: WeeChat 2.8]
frgo_ has joined #lisp
frgo has quit [Ping timeout: 258 seconds]
nicktick has joined #lisp
Harag has quit [Remote host closed the connection]
efm_ has quit [Quit: Konversation terminated!]
sdumi has quit [Ping timeout: 258 seconds]
davsebamse has quit [Ping timeout: 265 seconds]
gravicappa has quit [Ping timeout: 264 seconds]
grewal has joined #lisp
sdumi has joined #lisp
davsebamse has joined #lisp
dominic34 has quit [Ping timeout: 264 seconds]
shifty has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
bitmapper has quit [Ping timeout: 256 seconds]
dominic34 has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
nikkal has joined #lisp
space_otter has joined #lisp
ralt has quit [Quit: Connection closed for inactivity]
dominic34 has quit [Ping timeout: 260 seconds]
efm has joined #lisp
paule32 has quit [Ping timeout: 260 seconds]
hdasch has quit [Ping timeout: 240 seconds]
freshpassport has joined #lisp
jesse1010 has quit [Ping timeout: 260 seconds]
ebrasca has quit [Remote host closed the connection]
renzhi has joined #lisp
hdasch has joined #lisp
manu1511 has joined #lisp
gaqwas has quit [Ping timeout: 246 seconds]
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
hdasch has quit [Ping timeout: 256 seconds]
emacsoma1 is now known as emacsomancer
hdasch has joined #lisp
nikkal has quit [Ping timeout: 260 seconds]
jesse1010 has joined #lisp
jesse1010 has quit [Ping timeout: 240 seconds]
renzhi has quit [Ping timeout: 240 seconds]
oxum has joined #lisp
nicktick has quit [Ping timeout: 246 seconds]
arbv has quit [Ping timeout: 260 seconds]
arbv has joined #lisp
Bike has quit [Quit: leaving]
zulu-inuoe has quit [Read error: Connection reset by peer]
oxum has quit [Read error: Connection reset by peer]
oxum has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
arbv has quit [Quit: ZNC - https://znc.in]
arbv has joined #lisp
bhartrihari has joined #lisp
matzy_ has joined #lisp
gioyik has quit [Ping timeout: 240 seconds]
<matzy_> so i built a small hunchentoot server, got it running on a docker image, and connected it locally. everything works great. i already have an RDS instance on amazon, but if i'm reading correctly, it doesn't connect to databases? does it just handle routing then?
<Colleen> matzy_: kpoeck said 18 hours, 54 minutes ago: Please have a look at https://github.com/clasp-developers/clasp/blob/master/README.md There certainly it is explained that clasp is a common lisp compiler
<matzy_> I don't care about a compiler. My goal was to dockerize a react front-end with a hunchentoot back-end, throw them on an ec2 instance and connect the api (hunchentoot) to RDS. is this kind of stack not possible?
<matzy_> (the RDS database is just mysql btw)
shangul has joined #lisp
nightfly_ has quit [Ping timeout: 258 seconds]
<fe[nl]ix> matzy_: it's possible, you can use cl-dbi to connect to Mysql
arbv has quit [Ping timeout: 264 seconds]
manu1511 has quit [Quit: WeeChat 2.8]
_jrjsmrtn has joined #lisp
<matzy_> fe[nl]ix awesome, i'll check it out right now. thanks
__jrjsmrtn__ has quit [Ping timeout: 264 seconds]
<beach> Good morning everyone!
<matzy_> fe[nl]ix this looks simple and perfect, thanks. and one less docker container i have to build because the db is already up on aws rds
nightfly_ has joined #lisp
bhartrihari has left #lisp ["Error from remote client"]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
arbv has joined #lisp
voidlily has quit [Ping timeout: 260 seconds]
oxum has quit [Remote host closed the connection]
arbv has quit [Quit: ZNC - https://znc.in]
quazimodo has quit [Ping timeout: 246 seconds]
arbv has joined #lisp
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
voidlily has joined #lisp
edgar-rft has quit [Quit: Leaving]
slyrus has quit [Quit: Leaving]
quazimodo has joined #lisp
frgo_ has quit [Ping timeout: 240 seconds]
sdumi has quit [Ping timeout: 246 seconds]
oxum has joined #lisp
<matzy_> do you need to tie nginx in with hunchentoot to deploy to aws or the like, or will they handle that for you?
sdumi has joined #lisp
thmprover has quit [Quit: For He Was Great of Heart]
nicktick has joined #lisp
_whitelogger has joined #lisp
sauvin has joined #lisp
nikkal has joined #lisp
gioyik has joined #lisp
kinope^ has joined #lisp
terpri_ has joined #lisp
terpri has quit [Ping timeout: 240 seconds]
JohnMS_WORK has joined #lisp
karlosz has quit [Quit: karlosz]
sdumi has joined #lisp
sdumi has quit [Ping timeout: 258 seconds]
madand has quit [Quit: ZNC 1.7.5 - https://znc.in]
madand has joined #lisp
orivej has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
madand has quit [Quit: ZNC 1.7.5 - https://znc.in]
orivej has joined #lisp
narimiran has joined #lisp
madand has joined #lisp
slyrus has joined #lisp
sdumi has joined #lisp
akoana has left #lisp ["Leaving"]
nikkal has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
gravicappa has joined #lisp
Va has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
karlosz has joined #lisp
shka_ has joined #lisp
dddddd has quit [Ping timeout: 260 seconds]
Va has quit [Quit: Vision[0.10.3]: i've been blurred!]
freshpassport has quit [Quit: Textual IRC Client: www.textualapp.com]
nicktick has quit [Ping timeout: 256 seconds]
pve has joined #lisp
nicktick has joined #lisp
carleos has joined #lisp
<ffwacom> matzy_: well if it’s just ec2/vm instances we’re talking about there’s no need for nginx
<matzy_> ffwacom there's not? i was planning on deploying to ec2 if it'll let me with my stack
<ffwacom> what’s your stack?
<matzy_> so aws will implement the ip assignment, ip blocking, all that other crap? and it'll just work bc hunchentoot exposes a port it listens on?
<matzy_> react + hunchentoot, with an aws rds db (so i didnt have a third docker container lol)
<ffwacom> Yes there’s security groups you setup, just expose the port hunchentoot is listening on
<matzy_> and that's basically the stuff nginx would've handled? why do people bother pushing nginx dockers to aws?
<ffwacom> I don’t know. Are you using hunchentoot to serve an API which nginx will reverse proxy under some route? (+ nginx serving the static react stuff)
<matzy_> yeah i will need something serving the pages, but i thought i could manage hunchentoot to take the user there on the first route and let react handle it from there
<matzy_> maybe i need to read more on what "reverse proxies" are, cause i'm not really familiar
<ffwacom> yeah it depends on the specifics of how you want to set it up. Hunchentoot can serve static files so strictly nginx isn’t needed, but it’s a normal way to go about it.
karlosz has quit [Quit: karlosz]
<matzy_> i see, thanks
<matzy_> i do have one dumber question if you have a sec
<ffwacom> sure
varjag has joined #lisp
<flip214> why does REMOVE says "elements satisfying" but DELETE "the specified item"? Does DELETE really remove only one element but REMOVE multiple?
<matzy_> if you have a packages.lisp file where you do all your (defpackage)'s, why would you make a :component in asdf dependent on it?
<matzy_> unless i just missed a paren...hold on
<matzy_> nope, still get the stupid shadowing error
<ffwacom> I don’t know :) still a lisp beginner
nikkal has joined #lisp
ralt has joined #lisp
<kinope^> I'm writing a macro to produce some class definitions and methods, for the first time but I'm getting stuck on how to design the syntax, I find I'm more concerned with the aesthetics of the construct. Are there conventions for designing these types of macros?
vsync has quit [Quit: ZNC - http://znc.sourceforge.net]
vsync has joined #lisp
<matzy_> it's like as if, in your packages.lisp, two (defpackage) forms can't :use the same package, like :use cl
frgo has joined #lisp
<flip214> kinope^: well, if you make it similar to DEFCLASS or DEFSTRUCT it's easier to remember.
Bourne has joined #lisp
slyrus_ has joined #lisp
slyrus has quit [Ping timeout: 256 seconds]
nikkal has quit [Ping timeout: 256 seconds]
stepnem has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
stepnem has joined #lisp
karlosz has joined #lisp
<kinope^> flip214: okay thanks
quazimodo has quit [Ping timeout: 240 seconds]
nicktick1 has joined #lisp
nicktick has quit [Ping timeout: 264 seconds]
oxum has quit [Remote host closed the connection]
datajerk has quit [Ping timeout: 246 seconds]
nicktick1 has quit [Client Quit]
nicktick has joined #lisp
narimiran has quit [Ping timeout: 256 seconds]
datajerk has joined #lisp
<_death> flip214: where do you see "the specified item"?
orivej has joined #lisp
<scymtym> (documentation 'remove/delete 'function) in SBCL it seems
lavaflow has quit [Read error: Connection reset by peer]
lavaflow has joined #lisp
oxum has joined #lisp
lavaflow has quit [Ping timeout: 256 seconds]
nostrodamy has joined #lisp
karlosz has quit [Quit: karlosz]
chens has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
narimiran has joined #lisp
wxie has joined #lisp
oxum has quit [Remote host closed the connection]
kinope^ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #lisp
chens has quit [Quit: Asta la vista]
freshpassport has joined #lisp
lavaflow has joined #lisp
orivej_ has quit [Ping timeout: 256 seconds]
space_otter has quit [Remote host closed the connection]
orivej has joined #lisp
nicktick has quit [Ping timeout: 258 seconds]
wxie has quit [Ping timeout: 256 seconds]
oxum has joined #lisp
pikajew has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
ljavorsk has joined #lisp
orivej has joined #lisp
matzy_ has quit [Remote host closed the connection]
jesse1010 has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
liberliver1 has joined #lisp
liberliver has quit [Ping timeout: 258 seconds]
liberliver1 is now known as liberliver
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
narimiran has quit [Ping timeout: 240 seconds]
sdumi has quit [Read error: Connection reset by peer]
sdumi has joined #lisp
ljavorsk has quit [Ping timeout: 246 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
narimiran has joined #lisp
orivej has joined #lisp
liberliver has quit [Ping timeout: 240 seconds]
liberliver has joined #lisp
sdumi has quit [Ping timeout: 260 seconds]
sdumi has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
lavaflow_ has joined #lisp
lavaflow has quit [Read error: No route to host]
seok has quit [Remote host closed the connection]
shangul has quit [Ping timeout: 264 seconds]
terpri__ has joined #lisp
terpri_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
random-nick has joined #lisp
shangul has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
oxum has quit [Ping timeout: 264 seconds]
nikkal has joined #lisp
_paul0 has joined #lisp
Lord_of_Life_ has joined #lisp
paul0 has quit [Ping timeout: 260 seconds]
ebrasca has joined #lisp
Lord_of_Life has quit [Ping timeout: 258 seconds]
Lord_of_Life_ is now known as Lord_of_Life
frgo has quit []
frgo has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
Lord_of_Life has quit [Remote host closed the connection]
Lord_of_Life has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life_ is now known as Lord_of_Life
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
Patzy has quit [Ping timeout: 256 seconds]
manu1511 has joined #lisp
rixard_ has quit [Ping timeout: 256 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
ggole has joined #lisp
oxum has joined #lisp
scymtym_ has joined #lisp
scymtym has quit [Ping timeout: 258 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` has joined #lisp
scymtym has joined #lisp
X-Scale` is now known as X-Scale
EvW has joined #lisp
dddddd has joined #lisp
edgar-rft has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` has joined #lisp
X-Scale` is now known as X-Scale
jonatack has quit [Ping timeout: 272 seconds]
jonatack has joined #lisp
Bike has joined #lisp
manu1511 has quit [Quit: WeeChat 2.8]
freshpassport has quit [Ping timeout: 260 seconds]
nikkal has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
gxt has quit [Remote host closed the connection]
gxt has joined #lisp
nikkal has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
nikkal has quit [Ping timeout: 240 seconds]
terpri__ is now known as terpri
wsinatra has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
gaqwas has quit [Remote host closed the connection]
scymtym has quit [Remote host closed the connection]
scymtym_ has quit [Remote host closed the connection]
igemnace has quit [Ping timeout: 272 seconds]
<jmercouris> can someone help me understand how lambda lists within defmacro forms work?
<beach> I am sure someone can.
<jmercouris> for example how come we are allowed to say (defmacro goldfish ((some-argument)))
<jmercouris> why is it allowed to be nested?
<beach> So that you can nest the arguments.
<jackdaniel> because it is specified to be allowed
<jackdaniel> spec defmacro
<jackdaniel> hm, I never remember how bots work
<beach> clhs defmacro
EvW has quit [Ping timeout: 240 seconds]
<jmercouris> i see, so it is purely an aesthetic reason?
<beach> No.
<jackdaniel> beach: thanks
<jmercouris> or is there some functionality that would otherwise not be possible?
<beach> jmercouris: Let me give you a simple example. Give me a minute...
<beach> clhs with-open-file
<beach> jmercouris: Do you see how the stream filespec, options are inside a list?
igemnace has joined #lisp
<jmercouris> could one not conceivably write a with-open-file that was only 1 level deep?
<_death> the destructuring is for convenience
igemnace has quit [Client Quit]
<beach> That would be much harder because of the optional arguments within the list.
<jmercouris> Yes I see that
<beach> jmercouris: It would then possibly be ambiguous whether the argument belonged to the filespec or to the body.
<jackdaniel> superficialy with-open-file lambda list could be (options &rest forms), and then destructured in the macro body
<jmercouris> aha I see
<jmercouris> another example could maybe be LET
<jmercouris> that could be very confusing
<beach> jmercouris: Like imagine (with-open-file "hello" :direction :input ...)
<jmercouris> since you can bind something to a value or not, or just make a lexical binding
scymtym_ has joined #lisp
<beach> jmercouris: Is the :direction part of the file spec or the body?
<jmercouris> yes, I see
<beach> jmercouris: LET is not a macro.
dominic34 has joined #lisp
<jmercouris> really?
<beach> clhs let
<jmercouris> I was taught that let was a macro and let* was not
<jmercouris> is it a special form?
<beach> I gave you the link.
<jmercouris> ah, special operator
<beach> You need to find a better teacher.
<Bike> let* is also a special operator. hypothetically an implementation is allowed to implement them as macros,b ut i don't think any actually do.
<Bike> and yeah that's a weird thing to be taught.
orivej has quit [Quit: No Ping reply in 180 seconds.]
<jmercouris> well, the teacher was an old book :-D
<phoe> ......how old was that
<beach> And who was the author?
<jackdaniel> "fortran 90, the lispy way"
<jmercouris> this is not the first time the book has been contradicted by reality
<Bike> i mean, LET is a macro in scheme sometimes (?), but LET* uh... if it even exists, which i don't think it does, would probably be a macro also
<jackdaniel> you need to find a better book then, what is its title/author?
<_death> maybe you're misremembering
<phoe> jackdaniel: I am reminded of a very recent /r/LispMemes post that defines the language named CLOFURE
<jmercouris> I remember we also had a discussion about symbols and how they actually exist in memory
<jmercouris> and it was also incorrectly described in the book
<jmercouris> Gentle Introduction to Symbolic Computation
orivej has joined #lisp
<beach> What did the book say about symbols?
<phoe> wait, I don't believe it
<phoe> minion: tell phoe about gentle
<minion> phoe: have a look at gentle: "Common Lisp: A Gentle Introduction to Symbolic Computation" is a smoother introduction to lisp programming. http://www.cs.cmu.edu/~dst/LispBook/
<jmercouris> to be fair, it is a rather old book
<Bike> that is an old book, but it seems hard to believe it would say let is a macro and let* isn't.
<beach> phoe: Nah, "gentle" is too elementary for jmercouris at this point.
<Bike> the pdf has not able of contents >:
<phoe> jmercouris: http://www.cs.cmu.edu/~dst/LispBook/book.pdf chapter 5.5, PDF page 153
<jmercouris> hm, I see
<phoe> "THE LET SPECIAL FUNCTION"
<beach> "special function"?
<phoe> calling it a special function is unorthodox, but the "special" part is there
<jmercouris> I'll find the page number
<Bike> well, it is, again, old
<jmercouris> give me a second
<beach> jmercouris: You still haven't told us what book it was.
<Bike> he said it was gentle, no?
<phoe> beach: it seems it's Gentle
<beach> Oh, sorry.
<phoe> at least that is how I understood it
<beach> missed it.
<beach> Yes, indeed.
<phoe> he seems to call macros macro functions and specops special functions
<beach> I really can't recommend that book.
<jmercouris> OK, look at this
<jmercouris> Chapter 3, Eval Notation
<phoe> jmercouris: which PDF page?
<jmercouris> Page 105
<jmercouris> this is what we had a discussion about in the past
<jmercouris> page 117 / 587 in the PDF
<Bike> oh, yeah, symbols being a block of five pointers
<beach> Hmm.
<phoe> that's a description of implementation internals
scymtym_ has quit [Remote host closed the connection]
<beach> For some specific implementation, yes.
scymtym has joined #lisp
<_death> gentle lies to introduce a language
<jmercouris> You can see more on page 165 / 587
<_death> it's called "simplification"
<jmercouris> anyways, it has misled me a few times :-D
<phoe> I mean, back in the day it could have been more correct than it is now
<phoe> that book is from 1989, so before ANSI CL happened
<jmercouris> I liked the book, it was in fact a gentle introduction :-)
<jmercouris> anyways, it was good for me when i read it, i wish could know what to forget, and what to remember :-D
<jmercouris> AKA what is real, what is "simplification"
<jmercouris> I wonder if I could get the author to allow me to modify it
<beach> It is outdated. Not worth updating.
<jmercouris> lastly, speaking of macros, the old CL cookbook has a great section: http://cl-cookbook.sourceforge.net/macros.html
<phoe> jmercouris: check if the 2013 edition still has this simplification
<jmercouris> you're probably right, but there are some salvagable components I think
<jmercouris> like the explanation of cons cells
<phoe> I can forgive a 1989 book for not conforming to a 1994 specification
<phoe> but I'm less willing to forgive a 2013 reedition
kaftejiman has joined #lisp
<phoe> jmercouris: perhaps parts of that could be salvaged to the new cookbook, you could try opening an issue on the new cookbook's github page linking to this old page... that is, unless the new page already contains some or most of that content
<_death> as you learn the language you go deeper into the subtlelities and trivia.. #lisp is an assault on simplifying assumptions
grewal has quit [Quit: Lost terminal]
<phoe> :D
oxum has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
lucasb has joined #lisp
<_death> ultimately the clhs provides for the normative reference and implementations can be examined for the reality
theBlackDragon has quit [Ping timeout: 258 seconds]
ggole has quit [Ping timeout: 244 seconds]
random-nick has joined #lisp
mangul has joined #lisp
shangul has quit [Ping timeout: 240 seconds]
dominic34 has quit [Ping timeout: 265 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
theBlackDragon has joined #lisp
bhartrihari has joined #lisp
oxum has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
freshpassport has joined #lisp
igemnace has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rumbler31_ has joined #lisp
random-nick has quit [Quit: quit]
random-nick has joined #lisp
random-nick has quit [Remote host closed the connection]
rumbler31_ has quit [Ping timeout: 256 seconds]
mangul has quit [Remote host closed the connection]
farooqkz__ has joined #lisp
FreeBirdLjj has joined #lisp
farooqkz__ has quit [Remote host closed the connection]
shangul has joined #lisp
vidak` has joined #lisp
larsen has quit [Ping timeout: 272 seconds]
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
dvdmuckle has quit [Quit: Bouncer Surgery]
refpga has joined #lisp
dvdmuckle has joined #lisp
refpga has quit [Client Quit]
refpga has joined #lisp
freshpassport has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
EvW has joined #lisp
efm has quit [Ping timeout: 260 seconds]
rumbler31_ has joined #lisp
dominic34 has joined #lisp
efm has joined #lisp
shangul has quit [Ping timeout: 246 seconds]
shangul has joined #lisp
sjl_ has joined #lisp
matzy_ has joined #lisp
amerigo has joined #lisp
vidak` has quit [Quit: ERC (IRC client for Emacs 26.3)]
rippa has joined #lisp
igemnace has quit [Remote host closed the connection]
SGASAU` has quit [Remote host closed the connection]
SGASAU` has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
matzy_ has quit [Remote host closed the connection]
slyrus__ has joined #lisp
slyrus_ has quit [Ping timeout: 264 seconds]
cosimone has joined #lisp
terpri_ has joined #lisp
terpri has quit [Ping timeout: 260 seconds]
dale_ has joined #lisp
dale_ is now known as dale
efm_ has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
efm_ has quit [Client Quit]
efm has quit [Ping timeout: 246 seconds]
EvW has quit [Ping timeout: 260 seconds]
matzy_ has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
hiroaki_ has quit [Ping timeout: 256 seconds]
Josh_2 has joined #lisp
<Kabriel_> Any users of Py4CL? I'm having an issue as the python-eval returns a dictionary over the stream
<Kabriel_> and py4cl::stream-read-value does not correctly convert an entry that is a list to a list
oxum has quit [Remote host closed the connection]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
rumbler31_ has quit [Ping timeout: 240 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
refpga has quit [Read error: Connection reset by peer]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
refpga has joined #lisp
hiroaki_ has joined #lisp
<Josh_2> with ningle how do I specify a port? I am trying to setup a dev version of my site on a different port
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
<ebrasca> What is the diference between buffer and cache?
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
<beach> ebrasca: A cache is a data structure that avoids some computation by replacing it with a look-up instead.
<beach> ebrasca: A buffer is a temporary storage area that lets you group several small operations into one big one. At least that is one definition.
<ebrasca> If I am dealing with files , is it called buffer then?
<beach> That depends on what it is you are doing with those files.
EvW1 has joined #lisp
<ebrasca> Like file-buffer-stream instead of file-cache-stream
<ebrasca> streaming , reading , writing
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
refpga has quit [Read error: Connection reset by peer]
bhartrihari has joined #lisp
<beach> If you are (say) writing to a file, then you don't want each character or byte write to go to disk, so you accumulate into a buffer, and then you write that buffer in one single write to the disk. That's a buffer.
<ebrasca> beach: Here file https://github.com/ebrasca/Mezzano/blob/master/file/cache.lisp if implements thinks like read-char.
yonkunas has quit [Quit: Connection closed for inactivity]
refpga has joined #lisp
<ebrasca> I think file-cache-stream is bad name then, maybe file-buffer-stream is more apropiate.
<ebrasca> beach: Thanks!
<beach> Similarly, if you repeatedly ask for the same block on a disk, in order to avoid accessing the disk each time, you may stick the block in a cache in memory, thereby avoiding the computation (in this case the disk access).
<beach> Sure.
heisig has joined #lisp
nikkal has joined #lisp
kpoeck has joined #lisp
sdumi has quit [Ping timeout: 246 seconds]
sdumi has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
efm has joined #lisp
random-nick has joined #lisp
slyrus_ has joined #lisp
slyrus__ has quit [Ping timeout: 240 seconds]
lavaflow_ has quit [Quit: WeeChat 2.8]
lavaflow has joined #lisp
<matzy_> so in the system .asd file, for the :components, each :file that has a :depends-on ("some-package") passes that down to the next files in the list?
<matzy_> because i get compiler errors when trying to do a :depends-on ("some-package") for multiple :file's
<matzy_> (like two files depending on packages.lisp for their (defpackage) )
<phoe> matzy_: what kind of compiler errors?
<phoe> is your system available somewhere online?
<matzy_> yeah i have it on github
<matzy_> i'd just need to push the change that broke it
<matzy_> the debugger output isnt very helpful
<matzy_> READ error during LOAD: end of file on #<SB-INT:FORM-TRACKING-STREAM for "file /home/matzy/Development/conway-ff-api/conway-ff-api.asd" {10044A9243}>(in form starting at line: 1, column: 0, position: 0)
<Bike> that looks like an unclosed parenthesis or suchlike?
<matzy_> shit you're right
<Bike> also, if you meant whether (:file "a" :depends-on ("z")) (:file "b") has "b" depending on "z", the answer is no, i'm pretty sure. the order of the components isn't important unless :serial t
<matzy_> oh, i thought the order of components mattered
matzy_ has quit [Ping timeout: 245 seconds]
nikkal has quit [Ping timeout: 258 seconds]
manu1511 has joined #lisp
<manu1511> any lisp dialect one can build terminl user interfaces with, e.g ncurses based?
shangul has quit [Ping timeout: 265 seconds]
<phoe> manu1511: Common Lisp is just fine for that
<phoe> see e.g. cl-charms
<manu1511> or should i juse do them inside emacs, i don't know
<manu1511> i just like those ui's as they're really fast to navigate
sdumi has quit [Read error: Connection reset by peer]
sdumi has joined #lisp
EvW1 has quit [Ping timeout: 272 seconds]
bsd4me has joined #lisp
nikkal has joined #lisp
shangul has joined #lisp
gaqwas has joined #lisp
shangul has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
TwoNotes has joined #lisp
dominic34 has quit [Ping timeout: 260 seconds]
kamid has quit [Ping timeout: 258 seconds]
bitmapper has joined #lisp
frgo_ has joined #lisp
EvW has joined #lisp
<TwoNotes> I know about cl-video, which does video decoding. Is there a package for video *capture* and compression?
frgo has quit [Ping timeout: 240 seconds]
dominic34 has joined #lisp
jonatack has quit [Ping timeout: 258 seconds]
jonatack has joined #lisp
sauvin has quit [Ping timeout: 264 seconds]
cosimone has quit [Quit: Quit.]
nikkal has quit [Ping timeout: 258 seconds]
karlosz has joined #lisp
dominic34 has quit [Ping timeout: 264 seconds]
<Josh_2> TwoNotes: might have to create a wrapper around FFMPEG
<Josh_2> as you can record video/audio with that
matzy_ has joined #lisp
manu1511 has quit [Quit: WeeChat 2.8]
edgar-rft has quit [Quit: Leaving]
carleos has quit [Ping timeout: 258 seconds]
manu1511 has joined #lisp
efm has quit [Ping timeout: 256 seconds]
shrysr has quit [Ping timeout: 272 seconds]
pikajew has joined #lisp
shrysr has joined #lisp
gravicappa has quit [Ping timeout: 258 seconds]
efm has joined #lisp
gravicappa has joined #lisp
efm has quit [Client Quit]
pikajew has quit [Ping timeout: 256 seconds]
manu1511 has quit [Quit: WeeChat 2.8]
<Josh_2> shka_: very cool :D
Inline has joined #lisp
cosimone has joined #lisp
userone has joined #lisp
Jesin has quit [Quit: Leaving]
userone has quit [Quit: Leaving]
Jesin has joined #lisp
manu1511 has joined #lisp
bsd4me has quit [Remote host closed the connection]
bsd4me has joined #lisp
mankaev has quit [Read error: Connection reset by peer]
mankaev has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
orivej_ has joined #lisp
TwoNotes has quit [Quit: Leaving]
karayan has quit [Remote host closed the connection]
karayan has joined #lisp
holycow has joined #lisp
rogersm has joined #lisp
Jesin has quit [Quit: Leaving]
liberliver has quit [Ping timeout: 256 seconds]
wsinatra has quit [Quit: WeeChat 2.8]
knuckles has joined #lisp
Jesin has joined #lisp
manu1511 has quit [Quit: WeeChat 2.8]
rumbler31_ has joined #lisp
minion has quit [Remote host closed the connection]
specbot has quit [Remote host closed the connection]
oxum has quit [Remote host closed the connection]
specbot has joined #lisp
minion has joined #lisp
SGASAU` has quit [Quit: ERC (IRC client for Emacs 26.3)]
SGASAU has joined #lisp
random-nick has quit [Quit: quit]
random-nick has joined #lisp
rogersm has quit []
easye has quit [Remote host closed the connection]
kpoeck has quit [Remote host closed the connection]
shka_ has quit [Ping timeout: 258 seconds]
Tordek has quit [Ping timeout: 260 seconds]
vert2 has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
holycow has quit [Quit: Lost terminal]
vert2 has joined #lisp
Tordek has joined #lisp
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
oxum has joined #lisp
scymtym_ has joined #lisp
scymtym has quit [Ping timeout: 264 seconds]
scymtym_ has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
cmatei has quit [Ping timeout: 246 seconds]
cmatei has joined #lisp
gaqwas has quit [Remote host closed the connection]
bsd4me has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bsd4me has joined #lisp
rumbler31_ has quit [Ping timeout: 246 seconds]
ech has joined #lisp
dominic34 has joined #lisp
chipolux has joined #lisp
dominic35 has joined #lisp
dominic34 has quit [Ping timeout: 256 seconds]
dominic35 is now known as dominic34
heisig has quit [Quit: Leaving]
chipolux has quit [Client Quit]
fluxwave has quit [Read error: Connection reset by peer]
gravicappa has quit [Ping timeout: 260 seconds]
oxum has quit [Ping timeout: 240 seconds]
vhost- has quit [Quit: WeeChat 2.6]
<Inline> something changed again after some graphics drivers got updated here
<Inline> heh
<Inline> i get an unresponsive debugger when i try to use M-w in climacs on some selected text
vhost- has joined #lisp
vhost- has quit [Changing host]
vhost- has joined #lisp
arpunk has quit [Remote host closed the connection]
chipolux has joined #lisp
pve has quit [Quit: leaving]
efm has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
Misha_B has quit [Remote host closed the connection]
shrysr has quit [Ping timeout: 246 seconds]
oxum has joined #lisp
shrysr has joined #lisp
quazimodo has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
knuckles has quit [Quit: WeeChat 2.8]
thmprover has joined #lisp
sjl_ has quit [Ping timeout: 260 seconds]
manu1511 has joined #lisp
<thmprover> Correct me if I'm wrong: Common lisp doesn't handle recursion, which could be handled through labels, correct?
<Inline> ?
<Josh_2> I do not understand
<Xach> thmprover: incorrect
<Inline> cl code can be both recursive and iterative, it can be more over imperative, functional, object oriented, declarative....it is multi-paradigm
oxum has quit [Ping timeout: 240 seconds]
whiteline has quit [Ping timeout: 258 seconds]
<thmprover> OK, so something like (defun free-of? (var term) (if (symbolp term) (eq var term) (all (lambda (subterm) (free-of? var subterm)) (subterms term))))
<thmprover> perfectly fine? (I mean, schematically, the recursion's fine, there are other issues with the code)
<White_Flame> sure
<Xach> perfectly fine
<White_Flame> and it might even tail-call optimize
<Xach> fine aside from using scheme style in common lisp code of course!
<Xach> but style is so very personal
<White_Flame> if there's one thing I would pull from scheme it is "?" instead of "-P"
random-nick has quit [Ping timeout: 260 seconds]
<Inline> err noooooo
<Inline> -p is totally fine
<thmprover> Yeah, I'm rather fond of the "?" for predicates as well
<White_Flame> but largely because of both "p" and "-p" being used. If all uses were "-p" it'd be better
<Inline> welp, ? is not restricted as a suffix
<White_Flame> cons-p etc
<Inline> so it depends on usage
random-nick has joined #lisp
<manu1511> (hello)
<Inline> -p indicates a predicate
<White_Flame> but so does p, sometimes
<thmprover> (hellop) but not (hello-p)
<thmprover> (hello-world-p) but not (hello-worldp)
<manu1511> -p?
<Inline> you can't affix P to some var and call it p-var, well actually you can but it signifies too little
<manu1511> i'm new to lisp, don't know why there are so many dialects
<White_Flame> the question mark is a better distinguisher
<White_Flame> manu1511: this channel is specific to Common Lisp
<White_Flame> and there's lots of dialects because it's a very old language
<White_Flame> and used in a lot of academic (and otherwise) experimentation
<White_Flame> and it's very simple to write a new lisp
<manu1511> common lisp is the big base every other lisp dialect starts from or what is it called... common lisp is a superset?
<manu1511> i mean common lisp is what all lisp dialect have in common. true?
<White_Flame> common lisp was a re-merging of a bunch of divergent commercially used vendor-specific lisp implementations
<Xach> manu1511: not at all
johntalent has joined #lisp
<no-defun-allowed> Well, not really, Scheme has call/cc and CL doesn't, and the first CL came after the first Scheme.
<johntalent> What is a good distro of Lisp to create MineCraft server in?
<manu1511> if no company is using lisp anymore, why are there still updates to all these dialects and who makes them? all community people?
<White_Flame> companies still use lisp
<Xach> manu1511: many companies use lisp
<White_Flame> just not every company
<no-defun-allowed> Your premise is wrong; companies do use Lisp.
<manu1511> Xach: i guess just not for web dev ;/
* manu1511 is a web dev
<Xach> manu1511: it is not a popular option, no.
<Xach> but it is incorrect to write that nobody uses it
<Josh_2> I use CL for webdev, It's actually very very good for webdev
<manu1511> nice :) Josh_2
<Xach> johntalent: sbcl is nice.
<White_Flame> "companies using software" generally has little to do with their web presence. The backend, their internal software, and their software deliverables can be anything
<Inline> maybe you meant web security
dominic35 has joined #lisp
<Josh_2> johntalent: you can sue ABCL for minecraft as It's built on the JVM, no-defun-allowed has done work with that
<no-defun-allowed> According to https://www.shodan.io/search?query=Hunchentoot, there are at least 264 publicly facing Hunchentoot (a Common Lisp web server) servers
<White_Flame> manu1511: plus, there's languages like parenscript that run Lisp in browser (and node) javascript
gaqwas has joined #lisp
<Inline> but even that would be not a real obstacle, as you can make parts of your software in some other language like C and use those tools (link them in your app)
dominic34 has quit [Ping timeout: 244 seconds]
<no-defun-allowed> Josh_2: Please don't sue ABCL.
dominic35 is now known as dominic34
<manu1511> i can't decide on CL vs clojure vs elisp vs racket vs scheme ;/ so many lisps, i wish there is one page that tell about shortly what each dialect use cases are
<thmprover> USE ABCL it but don't SUE it
<Josh_2> no-defun-allowed: oops
<White_Flame> manu1511: the use cases for all are "general programming"
<Xach> manu1511: this channel is for common lisp so here, common lisp is the greatest and best
<Josh_2> ^
<White_Flame> (well, elisp isn't really used outside of emacs much)
<no-defun-allowed> CL: fun, Scheme, Racket: kinda fun, elisp: not fun
<johntalent> White_Flame: You are everywhere I go! :p
<Inline> welp, seems scheme is more of academic interest
<Inline> it's userbase is huge there
<johntalent> Xach: ok! :)
<Inline> and accordingly all the articles etc
<Josh_2> _death: do you know how to specify a different port with ningle?
<manu1511> no-defun-allowed: i'd go the other way, elisp is fun :)
<manu1511> why would i not use emacs when using lisp :D
<manu1511> but am just newb sorr
<no-defun-allowed> That is a very anti-Climactic position.
<johntalent> Josh_2: I was going to simply hold educational classes but MineCraft's EULA is simply "You no make no money, if you make, we make all da monies".
<no-defun-allowed> And because Elisp isn't really that nice for not-editor stuff.
<manu1511> no-defun-allowed: what do you write with common lisp day to day or usually?
<manu1511> give me some examples :)
<Inline> don't you worry i'll soon issue a new license with "one for me, on for my mommy and one for you"
<Inline> lol
<no-defun-allowed> A fairly fast and extensible distributed networking stack, and some things that look a bit like compilers.
<White_Flame> manu1511: for context about scheme, it was created as an exercise in a minimalistic programming language. That's very interesting academically, but has a lot of negative consequences in practical application
<White_Flame> although it's certainly advanced past those roots
gekkou has joined #lisp
<Xach> common lisp came about because the us government said "we are not going to write big checks for lisp projects any more if each company/university has their own private lisp and we can't switch around between vendors"
<Xach> so to keep those checks a-flowing, they got together and made common lisp
wxie has joined #lisp
<Xach> 36 years later and here we are
<Xach> those big checks stopped flowing anyway :(
<manu1511> jutt found about paul graham, need to read his essays :)
<Xach> but common lisp implementations are better than ever
<Xach> if you want to learn about common lisp in detail, paul graham is not a great source. he does not like common lisp and neglects big chunks of it when writing about it.
<manu1511> oh okey, so lisp was used once a lot by companies you say?
<Xach> manu1511: it was once a popular option for anything to do with "AI"
<bitmapper> White_Flame: i agree about scheme, even r7rs-small is very complete
libertyprime has joined #lisp
<Josh_2> still seems to be in use just not many companies tell you they are using it
<manu1511> as a beginner it is so hard to get around all those lisp dialects, but i want to learn lisp as it feels so "magic" but also interesting to me, feeling like a little child again, dont know
<bitmapper> imo there's only two that really matter
<Josh_2> should just learn CL
<bitmapper> scheme and common lisp
<Josh_2> you are already here ¯\_(ツ)_/¯
<manu1511> Xach: afaik rms was also into AI, it was a big thing back then
<bitmapper> oh no
<Xach> manu1511: also not a fan of common lisp and not a great source of insight on the topic
<Josh_2> once you have one, It's not particularly tough to get the others
<manu1511> xD
<manu1511> it is okey, i came from #emacs into #lisp :)
<bitmapper> the only lisp code i've seen rms write had more comments than code
<bitmapper> by like a factor of 5
<Bike> that doesn't seem like a bad thing
<manu1511> i guess that is what they mean by "literate programming"
<bitmapper> Bike: it was hard to read
<White_Flame> since CL is the one with the most practical, deployed usage, that's really the one to go for IMO
random-nick has quit [Ping timeout: 246 seconds]
<White_Flame> the library ecosystem of all the non-top-popularity languages are going to be lacking behind python/js/java/etc, so that's going to be a thing no matter what you learn
Tordek has quit [Ping timeout: 260 seconds]
<White_Flame> but CL has a lot of libs as well, also around webdev
vert2 has quit [Ping timeout: 260 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
edgar-rft has joined #lisp
<thmprover> Symbols have property lists...does that include function symbols?
efm has quit [Read error: Connection reset by peer]
<Bike> symbols are just names. symbols that name functions aren't different from ones that don't, so if that's what you mean by "function symbol", yes.
<thmprover> #'foo is treated as the same as 'foo?
<Bike> no, the first one is a function, the second is a symbol.
<thmprover> Gotchya
<aeth> #'foo is sugar for (function foo) and 'foo is sugar for (quote foo)
<Bike> you can try (type-of #'foo)
Inline has quit [Ping timeout: 256 seconds]
<thmprover> Thanks :)
Tordek has joined #lisp
vert2 has joined #lisp
<manu1511> common lisp really has the most beautiful website of all lisp languages and it also claims to be the "one" and only!
akoana has joined #lisp
<White_Flame> common lisp has pretty direct heritage all the way back
<White_Flame> but there also is no single group representing common lisp that would own any sort of "official" website
<johntalent> Josh_2: What is the function to send a packet in ABCL?
<Josh_2> the stream writing functions
<Josh_2> like write-sequence, write byte etc
<johntalent> Josh_2: Oh, so you just pass those functions a socket.
dominic34 has quit [Ping timeout: 246 seconds]
<johntalent> Josh_2: I had thought it would look like this: https://gist.github.com/shortsightedsid/a760e0d83a9557aaffcc
<Josh_2> yes
<Josh_2> thats UDP
manu1511 has quit [Quit: WeeChat 2.8]
<johntalent> Josh_2: I didn't see socket-send in the ABCL documentation.