jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.5.4, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
<Harag> well thats that... version numbers updated quicklisp issue created... now I can get some sleep
<Harag> thank you for the input, you guys must have a good evening
Kundry_Wag has quit [Remote host closed the connection]
Jeanne-Kamikaze has joined #lisp
chipolux has joined #lisp
Achylles has quit [Remote host closed the connection]
akoana has joined #lisp
anewuser has quit [Ping timeout: 245 seconds]
anewuser has joined #lisp
Kundry_Wag has joined #lisp
Kevslinger has joined #lisp
makomo has quit [Ping timeout: 258 seconds]
ealfonso5 has quit [Remote host closed the connection]
Kundry_W_ has joined #lisp
Kundry_W_ has quit [Ping timeout: 246 seconds]
zulu-inuoe_ has quit [Ping timeout: 246 seconds]
liberiga has quit [Ping timeout: 260 seconds]
anewuser has quit [Ping timeout: 245 seconds]
anewuser has joined #lisp
semz has quit [Ping timeout: 264 seconds]
igemnace has joined #lisp
semz has joined #lisp
semz has quit [Changing host]
semz has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
saravia has quit [Ping timeout: 245 seconds]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
lemoinem has quit [Ping timeout: 244 seconds]
lemoinem has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
iarebatm` has joined #lisp
igemnace has joined #lisp
cyberlard has quit [Quit: Leaving]
Necktwi has quit [Ping timeout: 248 seconds]
Necktwi has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 244 seconds]
zeroxprime has joined #lisp
Josh_2 has quit [Remote host closed the connection]
zeroxprime has quit [Read error: Connection reset by peer]
Kaisyu has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
dddddd has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
iarebatm` has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Ping timeout: 244 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
nanoz has joined #lisp
jgodbout has joined #lisp
<beach> Good morning everyone!
torbo has quit [Remote host closed the connection]
anewuser has quit [Quit: anewuser]
<Harag> morning
orivej has joined #lisp
pyx has joined #lisp
pyx has quit [Client Quit]
<aeth> What should I call my library to turn a variant of markdown into html for my static site generation? I fully expect it to bloat over time to cover other A->B transformations so I don't want to give it a specific name.
superkumasan has quit [Ping timeout: 258 seconds]
<White_Flame> call it md2html and suffer the consequences
<no-defun-allowed> pandoc 2: CL boogaloo
<aeth> White_Flame: the thing is, I might want ot have another source (even just another md flavor) or another destination (even just xhtml or xml)
<aeth> s/ot/to/
<aeth> and before you know it it's converting restructuredtext to org-mode because of how things just develop over time
<no-defun-allowed> just trust me on calling it "pandoc 2"
<aeth> I mean, yeah, it basically could bloat that much, but probably won't get THAT bad
Harag has quit [Remote host closed the connection]
Lord_of_Life has quit [Ping timeout: 245 seconds]
Lord_of_Life has joined #lisp
<jgodbout> call it md2html, either a) it'll limit the bloat as a mental note or b) YOLO and at least youll have the memories
<no-defun-allowed> stuff2stuff
<jgodbout> at least a2b, has the benefit of less characters
Jeanne-Kamikaze has quit [Quit: Leaving]
Bike has quit [Quit: Lost terminal]
gravicappa has joined #lisp
jgodbout has quit [Ping timeout: 246 seconds]
<aeth> a2b, great
sindan has quit [Remote host closed the connection]
sindan has joined #lisp
chipolux has quit [Ping timeout: 264 seconds]
chipolux has joined #lisp
<ck_> why the frills? just call it 2. the rest is very easily accomplished with flags
asupalai has joined #lisp
oni-on-ion has quit [Remote host closed the connection]
zaquest has quit [Ping timeout: 244 seconds]
threefjord has joined #lisp
Kundry_Wag has joined #lisp
qx201 has joined #lisp
Kundry_Wag has quit [Ping timeout: 258 seconds]
<aeth> hmm, :2 would be the perfect name. CL parses it as :|2|
<no-defun-allowed> |2|
igemnace has quit [Ping timeout: 272 seconds]
igemnace has joined #lisp
zaquest has joined #lisp
sonologico has quit [Remote host closed the connection]
<edgar-rft> aeth: if you want to avoid a specific name, just call it unspecific. That would perfectly resemble the state of most markup languages.
lisbeths has joined #lisp
<lisbeths> If there is no flaw in the common lisp hyperspec then why does the military often choose ada instead?
<beach> lisbeths: What a strange thing to say.
dale has quit [Quit: My computer has gone to sleep]
<beach> lisbeths: First there are definitely flaws in the Common Lisp HyperSpec.
<pjb> lisbeths: there's a flaw in clhs: it specifies prog2 to return the result of the first expression.
<pjb> lisbeths: this is why the DOD disqualified CL, and choose ADA instead.
<beach> lisbeths: Second, where do you get the idea that the military would avoid choosing something just because its specification has flaws in it?
manualcrank has quit [Quit: WeeChat 1.9.1]
makomo has joined #lisp
<beach> pjb: Right! :)
frgo has quit [Ping timeout: 246 seconds]
<lisbeths> For cerrtain task a less flawed thing is always preferred, beach.
refpga has joined #lisp
<beach> lisbeths: yes, but there is no reason to believe that the Ada specification is less flawed than the Common Lisp HyperSpec, nor, as I pointed out, that the military avoided Common Lisp just because the Common Lisp HyperSpec has flaws. You just don't have any basis for that.
<pjb> lisbeths: furthermore, there's no formal specification of CL. This would have to be redhibitory for the DOD, if I was the DOD… https://dl.acm.org/citation.cfm?id=800054.802002
<lisbeths> Why would the DoD choose ada if they could prove that neither was more flawed than the other?
dkrm has quit [Ping timeout: 252 seconds]
<beach> lisbeths: Notice that we are talking about the Common Lisp HyperSpec, i.e. the document. Not the language as it was intended, despite the flaws in the specification.
<lisbeths> Why would the DoD exclude languages written to the specification of common lisp and choose ada instead?
<lisbeths> Is it known to the public why they made that choice?
<beach> lisbeths: Furthermore, you started by assuming that the Common Lisp HyperSpec has no flaws, but we already told you that it does, so what is your point?
<pjb> lisbeths: because an implementation written to the specification would do: (prog2 1 2 3) -> 1
<lisbeths> maybe they'll know the answer in #ada
makomo has quit [Ping timeout: 258 seconds]
<beach> lisbeths: It appears that you have no insight into the process used by the military for choosing, or not choosing, specific languages. There is no reason to believe it has to do only with flaws in the specification. If you think otherwise, please provide some evidence for that.
waron has joined #lisp
<pjb> lisbeths: why don't you just ask them directly? Public Communications - DOD Public Affairs / 1400 Defense Pentagon / Washington, DC 20301-1400
<semz> pjb: Formal used in the strict sense, i.e. does the ANSI standard not count as formal?
<semz> I'm not very knowledgeable on military bureaucracy
<no-defun-allowed> Jach: interesting that's published in April, possibly the first?
<edgar-rft> There *is* a flaw in the existence of military.
<no-defun-allowed> edgar-rft: exactly
<no-defun-allowed> lisbeth: I wouldn't expect any sense of sanity or reasoning from military officials, honestly.
<beach> semz: No, not formal. Check the Wikipedia for "formal specification"
<no-defun-allowed> As in, a mathematical model for the language. I started reading the one for Standard ML on the weekend, then gave up since I'm not good with mathematical notation.
aoeu256 has quit [Read error: Connection reset by peer]
<semz> Seems excessive to make that a requirement, even though it's useful. Then again I'm not running the shop
Kundry_Wag has joined #lisp
vms14 has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
<lisbeths> That to me read like a sort of propoganda piece.
<lisbeths> It basically said. "Communist bad. Trick communists into using software we know is bad and we'll use it too but we'll use the bad software better."
<lisbeths> If someone believed that document 100% they would come to the conclusion that the military preferred certain other languages to the ones they chose.
<aeth> edgar-rft: that's actually a great name
vlatkoB has joined #lisp
<no-defun-allowed> sounds like an April Fools' document to me, but I would also expect that kind of stupidity to come out of a red scared US government
Kundry_Wag has quit [Ping timeout: 248 seconds]
JohnMS_WORK has joined #lisp
vms14 has quit [Remote host closed the connection]
<lisbeths> Another hard to believe thing is that the americans could actually decieve the russians into using worse software.
SaganMan has joined #lisp
asupalai has quit [Remote host closed the connection]
<beach> lisbeths: Let's stick to the topic of this channel, please.
<alandipert> p_l nevermind about let not interning binding syms - they're definitely interned. my arg to find-symbol just wasn't uppercase
<lisbeths> I argue this channel has no topic and if you say that there is try to talk about that topic for a prolonged period of time to test that is indeed the topic. I ague you will find that any topic that is listed will not be satisfactory.
lisbeths has left #lisp ["ERC (IRC client for Emacs 24.5.1)"]
<SaganMan> Morning beach
<beach> Hey SaganMan.
<SaganMan> beach: how are you mate? how is your research going on?
<beach> SaganMan: Steady but slow progress. I am working on translating high-level intermediate representation (HIR) to medium-level intermediate representation (MIR) for SICL.
<beach> Luckily, there are now many people helping out with SICL and other essential projects.
<beach> Heisig is working directly on SICL. And Bike continues the work on Cleavir. Many people, including jackdaniel, loke, scymtym and others are doing fantastic work on McCLIM
flamebeard has joined #lisp
<beach> Heisig is also working on Trucler, a modern version of the CLtL2 environment protocol.
<beach> And scymtym is working on several things, including a better inspector (Clouseau), the Eclector reader, and many libraries that will turn out to be highly useful in the long run.
<beach> I may have forgotten something, but those are the ones that come to mind.
frgo has joined #lisp
varjag has joined #lisp
frgo_ has joined #lisp
frgo_ has quit [Remote host closed the connection]
frgo_ has joined #lisp
frgo has quit [Read error: Connection reset by peer]
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo_ has joined #lisp
refpga has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 248 seconds]
<beach> SaganMan: More information than you bargained for, I am sure. Sorry about that.
nanoz has quit [Read error: Connection reset by peer]
nanoz has joined #lisp
iovec has joined #lisp
<SaganMan> nice beach, you're collaborating online or in real life?
<beach> Mostly here. But some of us meet annually at ELS.
wigust- has quit [Read error: Connection reset by peer]
wigust has joined #lisp
<SaganMan> ah, I see
<SaganMan> nice nice
<SaganMan> beach: I don't get enough time to do programming. I code lisp some time ago, did project euler problems. Upto 50 problems.
<beach> I understand.
<SaganMan> so beach, you're one of the developers of sicl?
<beach> I am the one who created the project, and I am very likely the main contributor, yes.
ravenous_ has joined #lisp
asupalai has joined #lisp
<SaganMan> nice beach
<beach> Thanks.
<beach> If I am counting right, it has resulted in 13 ILC or ELS articles since 2014. So it is not just code, but also new techniques and such.
asupalai has quit [Ping timeout: 258 seconds]
ltriant has quit [Quit: leaving]
qbeek has joined #lisp
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 268 seconds]
Mandus has quit [Ping timeout: 272 seconds]
<SaganMan> woah
Mandus has joined #lisp
lemoinem has quit [Ping timeout: 245 seconds]
lemoinem has joined #lisp
a7f4 has joined #lisp
nanozz has joined #lisp
nanoz has quit [Ping timeout: 268 seconds]
akoana has left #lisp [#lisp]
gxt has joined #lisp
JohnMS_WORK has quit [Read error: Connection reset by peer]
JohnMS_WORK has joined #lisp
ravenous_ has quit [Ping timeout: 252 seconds]
hhdave has joined #lisp
frgo_ has quit []
frgo has joined #lisp
libertyprime has joined #lisp
scymtym has quit [Remote host closed the connection]
<beach> GAH! Four hours spent on proofreading the next chapter of Dyomkin's book. But I think it is a very important document, so I consider it part of my job description to do it.
Lord_of_Life has quit [Ping timeout: 245 seconds]
Lord_of_Life has joined #lisp
<ck_> did you expect it to take considerably less time?
<beach> No.
<beach> It's just a large chunk of the day.
<ck_> "Someone's got to do it"
<beach> Indeed.
<beach> I am uniquely well placed to do it, which is why I feel I should.
qbeek_ has joined #lisp
orivej has joined #lisp
<ck_> That's a good thing too. Too many errata are too long because .. well I can only speculate. Editors place too much faith in the authors? Publishers in the editors? and so on
qbeek has quit [Ping timeout: 252 seconds]
<beach> Well, in fact they eliminated copy editors some decades ago.
<ck_> oh.
* ck_ is up to date
<beach> Publishers just print whatever you give them, provided they see a market for it.
iovec has quit [Quit: Connection closed for inactivity]
<LdBeth> I see why there’s a market for spell/grammar programs
<beach> Indeed.
qbeek_ has quit [Remote host closed the connection]
scymtym has joined #lisp
asupalai has joined #lisp
nanozz has quit [Ping timeout: 244 seconds]
nanoz has joined #lisp
orivej has quit [Ping timeout: 272 seconds]
qbeek has joined #lisp
cosimone has joined #lisp
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
asupalai has quit [Ping timeout: 258 seconds]
cosimone has quit [Client Quit]
_whitelogger has joined #lisp
cosimone has joined #lisp
cosimone has quit [Client Quit]
cosimone has joined #lisp
akoana has joined #lisp
oudeis has joined #lisp
random-nick has joined #lisp
Lycurgus has quit [Quit: Exeunt]
<flip214> well, I got paid for proofreading a few books...
<flip214> beach: if you like, I can try to do the next few chapters to save you some time...
Wojciech_K has joined #lisp
orivej has joined #lisp
<beach> flip214: That's OK, I'll do it. But another pair of eyes might be appreciated. There are already a few chapters on planet.lisp.org and I think they are still possible to update.
<flip214> beach: ack, will try to. so, basically http://lisp-univ-etc.blogspot.com/search/label/lisp, right?
<flip214> have your findings already been fixed in the older articles?
qx201 has quit [Ping timeout: 245 seconds]
<beach> I don't know. I haven't checked. He claims he has taking my remarks into account.
<beach> Yes, that link looks right.
<beach> I did chapter 1, but not 2 (arrays) yet.
<beach> Today I did the next one (lists).
hhdave_ has joined #lisp
hhdave has quit [Ping timeout: 246 seconds]
hhdave_ is now known as hhdave
bendersteed has joined #lisp
Lycurgus has joined #lisp
Kundry_Wag has joined #lisp
frgo_ has joined #lisp
amerlyq has joined #lisp
frgo has quit [Ping timeout: 268 seconds]
Kundry_Wag has quit [Ping timeout: 268 seconds]
nanoz has quit [Ping timeout: 244 seconds]
vaporatorius has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
nanoz has joined #lisp
cyberlard has joined #lisp
dddddd has joined #lisp
bendersteed has quit [Quit: bye]
elazul has joined #lisp
oni-on-ion has joined #lisp
asupalai has joined #lisp
lalitmee has joined #lisp
asupalai has quit [Ping timeout: 244 seconds]
lalitmee has quit [Remote host closed the connection]
orivej has joined #lisp
faheem_ has joined #lisp
faheem has quit [Ping timeout: 272 seconds]
vms14 has joined #lisp
m00natic has joined #lisp
ebrasca has joined #lisp
t58 has joined #lisp
lalitmee has joined #lisp
mindthelion has joined #lisp
techquila has quit [Ping timeout: 250 seconds]
schweers has quit [Ping timeout: 264 seconds]
ggole has joined #lisp
SaganMan has quit [Ping timeout: 258 seconds]
Kundry_Wag has joined #lisp
vms14 has quit [Quit: meh]
Kundry_Wag has quit [Remote host closed the connection]
mep has joined #lisp
Josh_2 has joined #lisp
warweasle has joined #lisp
pnp has joined #lisp
cosimone has quit [Quit: WeeChat 2.5]
Kundry_Wag has joined #lisp
pnp has left #lisp [#lisp]
Kundry_Wag has quit [Ping timeout: 245 seconds]
mep has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
oudeis has quit [Quit: This computer has gone to sleep]
Lycurgus has quit [Quit: Exeunt]
Kundry_Wag has joined #lisp
akoana has left #lisp ["Leaving"]
Kundry_Wag has quit [Ping timeout: 272 seconds]
lalitmee has quit [Ping timeout: 244 seconds]
lucasb has joined #lisp
zigpaw has quit [Remote host closed the connection]
zigpaw has joined #lisp
asupalai has joined #lisp
EvW1 has joined #lisp
asupalai_ has joined #lisp
asupalai_ has quit [Remote host closed the connection]
asupalai_ has joined #lisp
Bike has joined #lisp
asupalai has quit [Ping timeout: 250 seconds]
jmercouris has joined #lisp
asupalai_ has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
rwlisp has joined #lisp
rwlisp has quit [Client Quit]
gxt has quit [Ping timeout: 260 seconds]
LiamH has joined #lisp
Wojciech_K has quit [Remote host closed the connection]
<jonatack> beach: good that you are doing it. Dyomkin's content is very good and interesting but the writing does need proofreading. hope he is using it.
asupalai has joined #lisp
<beach> I think he is. And yes, you are right, it needs proofreading.
jmercouris has quit [Ping timeout: 244 seconds]
jmercouris has joined #lisp
oudeis has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
oni-on-ion has quit [Remote host closed the connection]
igemnace has joined #lisp
oni-on-ion has joined #lisp
<Josh_2> what variables do I need to initialize in my top-level function when I save-lisp-and-die?
<Josh_2> what type?
<pjb> Variables that reference the things that won't be saved.
<jmercouris> Josh_2: what's the question exactly?
<pjb> Also, variables that reference values that will be different when you ressucitate your lisp image.
<Josh_2> well I have a bunch of global variables in a 'configuration file'
<Josh_2> hmm
<pjb> Josh_2: this doesn't mean anything: there can be compilation-time configuration files, and run-time configuration files.
<Josh_2> compilation time, its the first file listed in my system-definition
<pjb> So the point is to initialize the variable at the time they need to be initialized, with the correct values for that time.
<pjb> Josh_2: why do you keep giving irrelevant facts? Being the first file mentionned in a system definition file means nothing.
<pjb> Josh_2: apart from definitely not being a compilation-time configuration file.
<pjb> Since such a file would have to be loaded BEFORE the asd definition…
<Josh_2> hmm
<Josh_2> that would be a misunderstanding then :P
<pjb> Also, it would be a good idea to keep the configuration in a single object or structure…
<pjb> It's better to limit the number of global variables, the more so when they are special.
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Josh_2> yes I thought about doing that, but I currently don't have the time
<jmercouris> I disagree about limiting the number of global variables, I think that strongly depends on the application
<Josh_2> the variables are storing things like db name, db password etc
<pjb> jmercouris: sure. If the application is job security, go ahead!
<jmercouris> pjb: :D
<pjb> jmercouris: also be sure to have several variable with the same symbol name in different packages…
Kundry_Wag has quit [Ping timeout: 248 seconds]
Kundry_Wag has joined #lisp
<p_l> pjb: global variables are common way to implement forms of pub/sub messaging in realtime systems
oni-on-ion has quit [Ping timeout: 264 seconds]
Mandus has quit [Ping timeout: 245 seconds]
oni-on-ion has joined #lisp
lalitmee has joined #lisp
Mandus has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
oni-on-ion has quit [Ping timeout: 264 seconds]
ebrasca has joined #lisp
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
ravndal has joined #lisp
asdf_asdf_asdf has joined #lisp
<jmercouris> anyone have experience with SBCL sockets?
<Josh_2> Not using usocket?
cosimone has joined #lisp
<Josh_2> also I saved my image and it appears to be working just fine :)
<Xach> jmercouris: i have used them
<jmercouris> Xach: did you use any documentation to learn about them, or just look at the source or?
lalitmee has quit [Remote host closed the connection]
<jmercouris> I've not been able to figure out how to use them for a Unix Domain socket
lalitmee has joined #lisp
<Xach> jmercouris: I had a fairly firm basis of understanding of the underlying Unix API, and the sbcl interface is a very thin layer.
<jmercouris> OK, so basically write it in C first, and then try with SBCL?
asupalai has quit [Remote host closed the connection]
<Xach> jmercouris: I don't know how well that would work. section 7 of the unix manual for ip, tcp, and udp could help. as well as IPC chapters of unix books.
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
<jackdaniel> if you want to get a basic communication working take a look at dependents.lisp file in clx
asupalai has joined #lisp
<jmercouris> jackdaniel: I only see a dependent.cl file here in https://github.com/franzinc/clx
<jmercouris> am I looking in the right place?
<jackdaniel> no
<Xach> unix network programming by stevens helped me back in the day. things have changed a lot with regard to new ways to multiplex and stuff but the fundamentals still work.
<jackdaniel> you should look in sharplispers group
nanozz has joined #lisp
q9929t has joined #lisp
<jmercouris> I see it now
<jackdaniel> basically you want: (make-instance 'sb-bsd-sockets:local-socket :type :stream) (sb-bsd-sockets:socket-connect * "/foo/bar") (sb-bsd-sockets:socket-make-stream ** :element-type '(unsigned-byte 8) :input t :output t :buffering :none)
nanoz has quit [Ping timeout: 268 seconds]
<jackdaniel> where stars are limited to count of two to avoid being accused of being a three-star-programmer
<jmercouris> lol
<jmercouris> ah you know that isn't so bad actually
<jmercouris> that is quite simple!
orivej has quit [Ping timeout: 272 seconds]
<jackdaniel> yes
<jackdaniel> (or I'm very good at explaining complex topics! ,) see you later
<random-nick> uh, is there a version of EQUALP which uses CHAR= instead of CHAR-EQUAL?
<Xach> random-nick: not built-in
mindCrime_ has joined #lisp
orivej has joined #lisp
jmercouris has quit [Ping timeout: 246 seconds]
manualcrank has joined #lisp
jmercouris has joined #lisp
<Xach> I don't particularly like SBCL's socket API, but the good news is that it takes only a small amount of code to make a new API with sb-alien if you like.
<Xach> Especially if you only care about one platform
Kundry_Wag has quit [Read error: No route to host]
Kundry_Wag has joined #lisp
q9929t has quit [Quit: q9929t]
nanoz has joined #lisp
EvW1 has quit [Ping timeout: 250 seconds]
ravenous_ has joined #lisp
saravia has joined #lisp
nanozz has quit [Ping timeout: 258 seconds]
saravia has quit [Remote host closed the connection]
saravia has joined #lisp
lalitmee has quit [Ping timeout: 245 seconds]
<jmercouris> sb-alien?
<jmercouris> why would I use FFI?
<dlowe> to interface directly with the kernel
<jmercouris> that seems... like more work
smazga has joined #lisp
<jmercouris> I've never done it, but it sounds very non-trivial
orivej has quit [Ping timeout: 268 seconds]
ravenous_ has quit [Ping timeout: 252 seconds]
<Xach> jmercouris: the code of sb-bsd-sockets is relatively small and it uses ffi to do its work.
<Xach> jmercouris: if you don't like what it presents, you can make something that you like better without much work.
<Xach> In my experience, it was about as easy to add the FFI interface I liked as to build an interface I liked on top of one I didn't like.
<Xach> And I really hate using FFI!
igemnace has quit [Quit: WeeChat 2.5]
igemnace has joined #lisp
qbeek_ has joined #lisp
orivej has joined #lisp
qbeek has quit [Ping timeout: 252 seconds]
<mrcode_> I can second Xach . Sb-bsd-socket interface feels awkward enough to warrant making your own. It’s relatively simple and can be done in an afternoon. What I don’t like about sb-bsd-sockets is the random work it tends to do at the times you least expect it to. FFI interface of your own has a more DWIM feel to it
qbeek_ has quit [Remote host closed the connection]
asupalai has quit [Remote host closed the connection]
qbeek has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
sjl_ has joined #lisp
JohnMS has joined #lisp
asdf_asdf_asdf has quit [Remote host closed the connection]
dale__ has joined #lisp
dale__ is now known as dale
shka_ has joined #lisp
xkapastel has joined #lisp
<shka_> good day
a7f4 has quit [Ping timeout: 272 seconds]
makomo has joined #lisp
<beach> Hello shka_.
papachan has joined #lisp
hiroaki has quit [Ping timeout: 245 seconds]
libertyprime has quit [Quit: leaving]
mep has joined #lisp
<shka_> beach: how are you today?
qbeek_ has joined #lisp
<beach> shka_: As I said before today, I spend most of the morning proofreading the chapter on linked lists in Dyomkin's book.
lalitmee has joined #lisp
qbeek has quit [Ping timeout: 252 seconds]
Kundry_W_ has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
flamebeard has quit []
<beach> shka_: What are you up to?
hiroaki has joined #lisp
cosimone has quit [Ping timeout: 252 seconds]
cosimone has joined #lisp
oudeis has quit [Quit: This computer has gone to sleep]
jmercouris has quit [Ping timeout: 268 seconds]
oudeis has joined #lisp
oudeis has quit [Client Quit]
oudeis has joined #lisp
oudeis has quit [Read error: Connection reset by peer]
sonologico has joined #lisp
mep has quit []
Oladon_work has joined #lisp
qbeek_ has quit [Remote host closed the connection]
qbeek has joined #lisp
<shka_> beach: i am still on vacations, i will likely implement code generation i have been talking about, i am also feeling like going back to that in-place merge sort algorithm again
<shka_> i got frustrated, but this does not look all that complicated at all
<beach> Sounds like you have a plan.
<shka_> well, i ought to do that before, but i simply got pissed
<shka_> now i am all revitalized
<beach> I see. That's good. And it is never too late.
asupalai has joined #lisp
joast has quit [Quit: Leaving.]
joast has joined #lisp
nowhereman has joined #lisp
nowhereman has quit [Ping timeout: 272 seconds]
urqL has joined #lisp
makomo_ has joined #lisp
qbeek has quit [Ping timeout: 264 seconds]
vyorkin has joined #lisp
makomo has quit [Ping timeout: 246 seconds]
nowhereman has joined #lisp
Aruseus has joined #lisp
nowhereman has quit [Ping timeout: 248 seconds]
hhdave has quit [Quit: hhdave]
vyorkin has quit [Read error: Connection reset by peer]
asupalai has quit [Remote host closed the connection]
p9fn has quit [Ping timeout: 250 seconds]
EvW has joined #lisp
asupalai has joined #lisp
vyorkin has joined #lisp
heisig has joined #lisp
stux|RC-only has quit [Quit: Aloha!]
vlatkoB has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
urqL has quit [Remote host closed the connection]
frgo_ has quit [Remote host closed the connection]
m00natic has quit [Remote host closed the connection]
stux|RC-only has joined #lisp
scymtym has quit [Ping timeout: 250 seconds]
faheem has joined #lisp
<mrcode_> Is there a good IMAP4 package out there that’s not abandoned ?
iarebatm` has joined #lisp
faheem_ has quit [Ping timeout: 258 seconds]
vyorkin has quit [Remote host closed the connection]
qbeek has joined #lisp
vyorkin has joined #lisp
lalitmee has quit [Remote host closed the connection]
qbeek has quit [Ping timeout: 252 seconds]
scymtym has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
<Josh_2> when loading up asdf-system it isn't auto grabbing the packages in :depends-on with quicklisp, how do I get it to do that, or did I mess something up? do I have to manually load them with quicklisp before hand?
<Josh_2> perhaps I could just load it with quicklisp
<Josh_2> Yep xD
dale has joined #lisp
<Xach> Josh_2: that's what i usually do
qbeek has joined #lisp
_heisig has joined #lisp
faheem_ has joined #lisp
heisig has quit [Ping timeout: 246 seconds]
faheem has quit [Ping timeout: 246 seconds]
vlatkoB has joined #lisp
superkumasan has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
<Josh_2> Xach: Do you use nginx to forward your http traffic to hunchentoot?
asupalai has quit [Remote host closed the connection]
dkrm has joined #lisp
p9fn has joined #lisp
Kundry_W_ has quit [Read error: No route to host]
Kundry_Wag has joined #lisp
frgo has joined #lisp
<Josh_2> oof I did it
<Xach> Josh_2: i do
<Josh_2> I was gonna ask how you do it, but I had done it correct but I didn't delete the default config
<Josh_2> also, if I get https working do I need the certificate on both nginx and hunchentoot?
<Xach> Josh_2: not needed
<Xach> nginx can terminate the ssl connection
cosimone has quit [Quit: WeeChat 2.5]
<Josh_2> Xach okay thanks
<Xach> here is a fun fact! i have been using lisp + nginx for over ten years
<Josh_2> wow
<Xach> but it was only this year i heard someone say "nginx" out loud and i had no idea what they were talking about, technology-wise
<Xach> and i felt like a big ol' dummy!
<Xach> I'm glad no Lisp technology has an funky way to be pronounced!
<dlowe> I would not have thought to try and pronounce nginx as a word
qbeek has quit [Remote host closed the connection]
<Josh_2> I pronounce it "N Jynx"
<Xach> "engine ecks" is what I heard, and I think it might be canon?
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
<Josh_2> yes, it is engine x
<Josh_2> interesting
asupalai has joined #lisp
asupalai has quit [Remote host closed the connection]
<dlowe> TIL
Kundry_Wag has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
vyorkin` has joined #lisp
<Oladon_work> Heh
smazga has quit [Ping timeout: 244 seconds]
<Oladon_work> Xach: I think some could make the case that "cdr" might have some unusual pronunciations
vyorkin` has quit [Remote host closed the connection]
cosimone has joined #lisp
<ck_> like what? Cheddar?
asupalai has joined #lisp
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
vyorkin has quit [Remote host closed the connection]
vyorkin has joined #lisp
Aruseus has quit [Remote host closed the connection]
lemoinem has quit [Read error: Connection reset by peer]
lemoinem has joined #lisp
JohnMS has quit [Quit: Konversation terminated!]
vyorkin has quit [Remote host closed the connection]
faheem_ has quit [Ping timeout: 244 seconds]
_heisig has quit [Quit: Leaving]
heisig has joined #lisp
vyorkin has joined #lisp
sauvin has quit [Read error: Connection reset by peer]
vyorkin has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 268 seconds]
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
oudeis has joined #lisp
smazga has joined #lisp
<sjl_> "cedar"
<sjl_> (like the tree)
<ck_> just smell them...
<ck_> isn't that a line in Twin Peaks?
orivej has joined #lisp
<sjl_> those were douglas firs
vyorkin has joined #lisp
asupalai has quit [Ping timeout: 264 seconds]
<ck_> ah.
ravenous_ has joined #lisp
zagura has quit [Ping timeout: 245 seconds]
phoe has quit [Ping timeout: 264 seconds]
phoe has joined #lisp
zagura has joined #lisp
a7f4 has joined #lisp
EvW has quit [Ping timeout: 250 seconds]
cosimone has quit [Quit: WeeChat 2.5]
vyorkin has quit [Remote host closed the connection]
vyorkin has joined #lisp
Aruseus has joined #lisp
EvW1 has joined #lisp
smazga has quit [Ping timeout: 272 seconds]
heisig has quit [Quit: Leaving]
smazga has joined #lisp
asupalai has joined #lisp
vyorkin has quit [Remote host closed the connection]
cosimone has joined #lisp
Kundry_W_ has joined #lisp
Kundry_Wag has quit [Read error: Connection reset by peer]
gravicappa has quit [Ping timeout: 248 seconds]
remexre has quit [Ping timeout: 248 seconds]
qbeek has joined #lisp
elazul has quit [Ping timeout: 245 seconds]
random-nick has joined #lisp
papachan has quit [Quit: Leaving]
kajo has joined #lisp
remexre has joined #lisp
vyorkin has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
asupalai has quit [Ping timeout: 250 seconds]
arduo has joined #lisp
orivej has joined #lisp
qbeek has quit [Quit: Leaving...]
asupalai has joined #lisp
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
asupalai has quit [Remote host closed the connection]
asupalai has joined #lisp
asupalai has quit [Ping timeout: 264 seconds]
asupalai has joined #lisp
mindthelion has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 245 seconds]
random-nick has joined #lisp
asupalai has quit [Ping timeout: 246 seconds]
amerlyq has quit [Quit: amerlyq]
nanozz has joined #lisp
nanoz has quit [Ping timeout: 272 seconds]
techquila has joined #lisp
nanoz has joined #lisp
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saravia has quit [Remote host closed the connection]
nanozz has quit [Ping timeout: 246 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
mindthelion has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Lord_of_Life_ is now known as Lord_of_Life
nanoz has quit [Ping timeout: 258 seconds]
techquila has quit [Ping timeout: 250 seconds]
slyrus_ has joined #lisp
slyrus has quit [Ping timeout: 272 seconds]
saravia has joined #lisp
v0|d has quit [Ping timeout: 248 seconds]
<aeth> about yesterday... I'm really tempted to just call the library the ungooglable name "to"
<Oladon_work> I have no idea what the context of that comment is, but D:
<aeth> (if it was Scheme, it could be called -> instead)
<aeth> Oladon_work: I need a name for markdown->html in a way that will inevitably accomodate the bloat to supporting other random things like reStructuredText->org-mode
pjb has quit [Ping timeout: 252 seconds]
<Oladon_work> aeth: ah, heh
<Oladon_work> format-converter
alexanderbarbosa has joined #lisp
alexanderbarbosa has quit [Read error: Connection reset by peer]
alexanderbarbosa has joined #lisp
shka_ has quit [Ping timeout: 258 seconds]
<alexanderbarbosa> weird, sly offers clisp completion but slime wont...
ggole has quit [Quit: Leaving]
v0|d has joined #lisp
oni-on-ion has joined #lisp
<aeth> Oladon_work: "format" would be a great name if it wasn't already taken
<Oladon_work> Heh
<Oladon_work> Well
<Oladon_work> I'd argue that it's not really a formatting tool, per se
<Oladon_work> At least from your description above
<Oladon_work> It's a tool for converting one format to another
<aeth> My design goal is to go with an intermediate format which basically means that if someone wrote a different frontend or backend then it basically would just be a generic format converter. e.g. "**foo**" => (bold "foo") => (:strong "foo") => "<strong>foo</strong>"
<Oladon_work> That's awesome... I could use one of those in JS... :P
<aeth> Then an org frontend could use "*foo*" for (bold "foo") instead of markdown's **, and /foo/ for italics instead of markdown's *
<Oladon_work> (Actually, I might be able to use it in Lisp for a different project as well)
oudeis has quit [Quit: This computer has gone to sleep]
<aeth> Basically if I can do "**foo**" => (bold "foo") => (:strong "foo") => "<strong>foo</strong>" then I could do "**foo**" => (bold "foo") => "*foo*" and translate md to org, assuming a backend was written
<aeth> A bit harder, though, because it wouldn't be using s-expression-styled HTML/XML, though
<alexanderbarbosa> hey y'all, is worthy reading Paul's Ansi Common Book or On Lisp for advanced topics? tnx
khisanth_ has quit [Ping timeout: 245 seconds]
<alexanderbarbosa> Gentle Introduction Symbolic ends stating: "Writing really large programs requires a different set of skills than what this
<alexanderbarbosa> book emphasizes; it is a good topic for an advanced Lisp course."
agriffini has joined #lisp
agriffini has left #lisp ["rcirc on GNU Emacs 26.2"]
<jackdaniel> alexanderbarbosa: ANSI Common Lisp book is a very good introductory material and has quite stimulating excercises
<jackdaniel> practical common lisp puts more emphasis on clos, but doesn't have excercises
<jackdaniel> (clos seems to be a dominant programming paradigm among common lisp programmers)
bpatrikm has quit [Ping timeout: 245 seconds]
<alexanderbarbosa> jackdaniel: ive read practical before gentle and did not understood most of it. I am one of those dumb learners that you have to say lots of time "to get it"... practical aint for me :D
pjb has joined #lisp
<alexanderbarbosa> jackdaniel: What about On Lisp?
<jackdaniel> on lisp assumes you do know common lisp
<jackdaniel> ansi common lisp should be fine imo
<aeth> jackdaniel: I'm not sure what you mean by "a dominant programming paradigm". Most CL code I've seen does use standard-objects, yes, but they're mostly just used as containers, barely scratching the surface of CLOS. Maybe there needs to be a CLOS book...
<PuercoPop> there is on
<PuercoPop> Sonya Keen's one
<aeth> I wasn't aware of that one
<PuercoPop> it is very good as a introduction to CLOS imho. It helped me understand the AMOP better
<jackdaniel> aeth: most libraries I see start with defmethod not with defun
<jackdaniel> that's what I mean
<aeth> PuercoPop: I only know about The Art of the Metaobject Protocol, but Object-Oriented Programming in Common Lisp also has a Wikipedia article. https://en.wikipedia.org/wiki/Template:Common_Lisp
<PuercoPop> there is also 'OOP in CLOS: a retrospective' or something similar
<aeth> jackdaniel: not scientific because there are lots of duplicates (different versions over time) and I don't have all of quicklisp, but in quicklisp/dists/quicklisp/software I get 338604 defun in wc -l and 182213 for defmethod. Of course, CLOS auto-generates a lot, and a lot of people wrap their defuns/defmethods in define-foo macros, so even if I had a snapshot of the current QL, that wouldn't quite work.
gxt has joined #lisp
alexanderbarbosa has quit [Remote host closed the connection]
<jackdaniel> I'm not presenting scientific results - only my personal opinion
<jackdaniel> another bit supporting my opinion is that pcl is usually recommended as an introductory material and it quickly moves to clos techniques
<jackdaniel> so new programmers tend to be exposed to that first
<jackdaniel> I'm not saying it is bad or anything, just stating a subjective observation
khisanth_ has joined #lisp
<aeth> I wouldn't be surprised if it's about even in methods and functions, but only if you count the auto-generated accessors in defclass, since those are way more common than the auto-generated functions of defstruct. Probably still a little in favor of defun. (I get 45992 defclass and 7777 defstruct)
v0|d has quit [Ping timeout: 258 seconds]
<aeth> Although you'd need a better sample and a more sophisticated search that takes various defun/defmethod wrappers into account
<Oladon_work> You've also got the whole issue that they aren't mutually exclusive...
a7f4 has quit [Ping timeout: 268 seconds]
alexanderbarbosa has joined #lisp
<jackdaniel> I'm not sure for what I'd need more sophisticated search? I'm not looking for validation. good night ,)
<Oladon_work> I use both in my projects, because in my view there's a time for each.
<Oladon_work> jackdaniel: I think you're taking all this a bit too personally/seriously. That was a hypothetical "you" — aeth is engaging in a thought experiment. :P
<aeth> jackdaniel: well, not "you'd" singular. "y'all'd" I guess.
<aeth> but it doesn't matter, what shows up even with my search is that both are used a ton.
<aeth> good night
<jackdaniel> hm, I'm not taking it personally, just pointing out that all this counting doesn't make sense in light of clarificaion I gave that I speak about opinions, not metrics
alexanderbarbosa has quit [Read error: Connection reset by peer]
<Oladon_work> jackdaniel: it's a thought exercise — he's not actually arguing with your opinion.
<Oladon_work> aeth: g'night!
oudeis has joined #lisp
<aeth> Oladon_work: It was aimed at jackdaniel
<aeth> for me it's only 17:21
<Oladon_work> Oh, gotcha
<Oladon_work> That'll teach me to try to pay attention to #lisp _and_ get work done...
shka_ has joined #lisp
alexanderbarbosa has joined #lisp
alexanderbarbosa has quit [Remote host closed the connection]
makomo_ has quit [Ping timeout: 244 seconds]
oni-on-ion has quit [Remote host closed the connection]
alexanderbarbosa has joined #lisp
saravia has quit [Quit: Leaving]
saravia has joined #lisp
<alexanderbarbosa> thanks
<aeth> my earlier point on CLOS, though, was that people tend to use it pretty lightly afaik, though.
<alexanderbarbosa> +1
davr0s__ has joined #lisp
<aeth> I'm not sure "defmethod" for generics is really "using CLOS". At least not compared to some of the stuff I've seen using CLOS (I've even done some light MOP myself).
<Oladon_work> I'd tend to agree. I've seen people using defmethod for a single method that will never have any sort of specialization, and to me that's not using CLOS either
<aeth> Oladon_work: well, as long as it's exported, it does have some limited utility, if someone wanted to add an :after or :before or :around to it
<Oladon_work> True!
<Oladon_work> I found the perfectest use of :before/:around btw
<aeth> But in most cases it probably just slows things down for nothing... You don't need defmethod if you're working on a standard object! Only when you need (or your users need) to use one of defmethod's features!
<Oladon_work> Yup!
<Oladon_work> I'm writing a game engine which implements the rule set of a popular tabletop RPG. The ruleset includes the concept of an "attack of opportunity", which is an interrupting event.
<Oladon_work> Cue :before and :around methods.
cosimone has quit [Quit: WeeChat 2.5]
mindCrime_ has quit [Ping timeout: 246 seconds]
LiamH has quit [Quit: Leaving.]
<aeth> Oladon_work: I think a truly robust API for general use probably should wrap every major exported function (* yes, functions aren't exported, symbols are) in an extra method in case someone did want to before/around/after it, or define it for other, similar objects... Probably would bloat things quite a bit, though.
<Oladon_work> heh
<Oladon_work> yeah
<aeth> Not ideal, since it would also not override any internal function usage if it's just a layer on top of the functions... unless the methods use each other.
<Oladon_work> Indeed
<Oladon_work> And when you think about how often you'd actually do that with a library...
<aeth> Right, you're doubling your API size just for 5% of users
<Bike> works for amop
<aeth> It's the kind of extra polish you rarely see in CL libraries, though
<aeth> Bike: amop?
oudeis has quit [Ping timeout: 258 seconds]
<Bike> i mean, making everything exported generic functions just so that programmers can wrap methods is the basis of mop
<no-defun-allowed> aeth: https://i.redd.it/vntwh7vhcmq21.jpg
<Bike> most of them are things that are never called in user source, or maybe even can't be, like slot-unbound
<Bike> (well, "not intended", whatever)
<Bike> brb
Bike has quit [Quit: Bike]
<aeth> Well, this would more be about defining two public APIs, where everything exported has two versions. So e.g. the method foobar* calls the function foobar. Perhaps with some of the methods going deeper so there are some interactions that can be overriden.
<aeth> Interestingly, there is a convention for a low-level %foobar variant of foobar, but not a convention for a high-level variant of foobar!
ltriant has joined #lisp
gxt has quit [Ping timeout: 260 seconds]
sjl_ has quit [Quit: WeeChat 2.3-dev]
zagura has quit [Ping timeout: 245 seconds]
zagura has joined #lisp
karlosz has joined #lisp
karlosz has quit [Quit: karlosz]
shka_ has quit [Ping timeout: 248 seconds]
saravia has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
<pjb> aeth: it is sufficient to declare those functions as notinline, so that the user may substitute it with advices.
<pjb> aeth: so zero-cost to the general public, and cheap on the user who wants it.
saravia has joined #lisp
iarebatm` has quit [Ping timeout: 245 seconds]
Oladon_work has quit [Ping timeout: 260 seconds]
cyraxjoe has joined #lisp
Bike has joined #lisp
vyorkin has quit [Ping timeout: 272 seconds]
alexanderbarbosa has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
renzhi has joined #lisp
wigust has quit [Ping timeout: 245 seconds]
Aruseus has quit [Read error: Connection reset by peer]
Mandus has quit [Ping timeout: 248 seconds]
Mandus has joined #lisp
random-nick has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 245 seconds]
oni-on-ion has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
wigust has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
superkumasan has quit [Ping timeout: 245 seconds]
keep_learning has joined #lisp
Kundry_Wag has joined #lisp
rubik has quit [Ping timeout: 252 seconds]
Kundry_Wag has quit [Ping timeout: 248 seconds]
smazga has quit [Quit: leaving]
saravia has quit [Remote host closed the connection]
rubik has joined #lisp
saravia has joined #lisp
oudeis has joined #lisp
whartung has quit [Ping timeout: 245 seconds]
techquila has joined #lisp
Kundry_Wag has joined #lisp