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
mrcom has quit [Ping timeout: 272 seconds]
mange has joined #lisp
mrcom has joined #lisp
gigetoo has joined #lisp
MetaYan has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
caltelt has quit [Ping timeout: 272 seconds]
Kaisyu has joined #lisp
shlemas has joined #lisp
quazimodo has joined #lisp
elfmacs has joined #lisp
quazimodo has quit [Ping timeout: 252 seconds]
mange has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
anewuser has joined #lisp
oni-on-ion has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
17WAAAH49 has quit [Ping timeout: 245 seconds]
hifitim has joined #lisp
hifitim has quit [Remote host closed the connection]
steiner has quit [Ping timeout: 272 seconds]
iskander has quit [*.net *.split]
hvxgr has quit [*.net *.split]
dim has quit [*.net *.split]
sariyar has quit [*.net *.split]
kbtr has quit [*.net *.split]
esthlos has quit [*.net *.split]
veinofstars has quit [*.net *.split]
zagura has quit [*.net *.split]
hvxgr has joined #lisp
dtornabene has joined #lisp
dim has joined #lisp
hifitim has joined #lisp
hifitim has quit [Remote host closed the connection]
hifitim has joined #lisp
nowhere_man has quit [Remote host closed the connection]
slyrus1 has joined #lisp
asarch has joined #lisp
brettgilio has joined #lisp
pierpal has joined #lisp
nowhere_man has joined #lisp
pierpal has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #lisp
charh has quit [Quit: leaving]
buffergn0me has joined #lisp
rumbler31 has joined #lisp
brettgilio has quit [Read error: Connection reset by peer]
brettgilio has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
shlemas has quit [Quit: shlemas]
Duns_Scrotus has quit [*.net *.split]
lieven has quit [*.net *.split]
gko has quit [*.net *.split]
pchrist_ has quit [*.net *.split]
GreaseMonkey has quit [*.net *.split]
dolohov has quit [*.net *.split]
kilimanjaro has quit [*.net *.split]
banjiewen has quit [*.net *.split]
karstensrage has quit [*.net *.split]
adulteratedjedi has quit [*.net *.split]
fowlduck has quit [*.net *.split]
jyc has quit [*.net *.split]
rumbler31 has quit [Ping timeout: 252 seconds]
gko has joined #lisp
dim has quit [Ping timeout: 264 seconds]
dim has joined #lisp
brettgilio has quit [Excess Flood]
brettgilio has joined #lisp
pierpal has joined #lisp
brettgilio has quit [Excess Flood]
brettgilio has joined #lisp
meepdeew has quit [Remote host closed the connection]
brettgilio has quit [Remote host closed the connection]
brettgilio has joined #lisp
karstensrage has joined #lisp
rumbler31 has joined #lisp
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 25.3.2)]
gigetoo has quit [Ping timeout: 245 seconds]
Arcaelyx has quit [Read error: Connection reset by peer]
rumbler31 has quit [Remote host closed the connection]
gigetoo has joined #lisp
Arcaelyx_ has joined #lisp
Louge has joined #lisp
gigetoo has quit [Ping timeout: 245 seconds]
Louge has quit [Client Quit]
jack_rabbit has quit [Ping timeout: 264 seconds]
brettgilio has quit [Max SendQ exceeded]
brettgilio has joined #lisp
pierpa has joined #lisp
jack_rabbit has joined #lisp
shifty has joined #lisp
fikka has joined #lisp
White_Flame has quit [*.net *.split]
bmansurov has quit [*.net *.split]
les has quit [*.net *.split]
impulse has quit [*.net *.split]
terrorjack has quit [*.net *.split]
nikki93 has quit [*.net *.split]
Woodi has quit [*.net *.split]
drdo has quit [*.net *.split]
tomaw has quit [*.net *.split]
tazjin has quit [*.net *.split]
gendl has quit [*.net *.split]
starman_jr has quit [*.net *.split]
otwieracz has quit [*.net *.split]
gabot has quit [*.net *.split]
tripty has quit [*.net *.split]
Wojciech_K has quit [*.net *.split]
angular_mike_2 has quit [*.net *.split]
beaky has quit [*.net *.split]
jdz has quit [*.net *.split]
alphor has quit [*.net *.split]
askatasuna has quit [*.net *.split]
mood has quit [*.net *.split]
tomaw has joined #lisp
borodust has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 252 seconds]
SenasOzys has quit [Remote host closed the connection]
gabot has joined #lisp
hifitim has quit [Remote host closed the connection]
drdo has joined #lisp
les has joined #lisp
brettgilio has quit [Ping timeout: 250 seconds]
White_Flame has joined #lisp
bmansurov has joined #lisp
tripty has joined #lisp
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
vaporatorius has quit [Ping timeout: 252 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
pierpa has quit [Quit: Page closed]
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
buffergn0me has quit [Ping timeout: 260 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
<Demosthenex> was there a simple format directive to do a newline when hitting edge of screen (ie: wrap), or do i need to calculate that?
fikka has joined #lisp
igemnace has joined #lisp
<Bike> i think you do pprint stuff for that
<Bike> clhs ~<
<specbot> Matches: ~</justification, ~</logical-block.
<Bike> clhs ~</logical-block
<Bike> or maybe justification does it...
<Demosthenex> i think i'll have to track it. i'm printing '.' for each record via multiple format calls
Bike has quit [Quit: Lost terminal]
fikka has quit [Ping timeout: 252 seconds]
Roy_Fokker has quit [Read error: Connection reset by peer]
<Demosthenex> hrm. i don't recall always having to use funcallon closures.
<Demosthenex> maybe i got that confused with scheme.
<Demosthenex> but making a simple closure call let me have wrapping .'s for output ;]
edgar-rft has joined #lisp
<beach> Good morning everyone!
<v0|d> beach: hey beach, morning.
elfmacs has quit [Ping timeout: 252 seconds]
igemnace has quit [Quit: WeeChat 2.2]
brettgilio has joined #lisp
caltelt has joined #lisp
doubledup has joined #lisp
<jinkies> beach: morning lad!
k-stz has quit [Remote host closed the connection]
Ukari has quit [Ping timeout: 252 seconds]
Ukari has joined #lisp
<loke> Demosthenex: you don't have to use funcall for _all_ closures. Just the ones bound to variables.
<aeth> ((lambda (x) (* 2 (1+ x))) 42) ; yes, yes, that's not a closure, but replace 2 with y and define y in the outside environment
<aeth> (let ((y 42)) ((lambda (x) (* y (1+ x))) 42)) ; no funcall
<v0|d> aeth: I think loke is trying to tell the diff btw lisp1 & lisp2.
<loke> (let ((x ...)) (flet ((foo (y) (+ x y))) (foo 10)))
<loke> that calls a closure without funcall
zagura has joined #lisp
<edgar-rft> aeth: you forgot to replace the 2 in 42 with y
flazh1 has quit [Ping timeout: 244 seconds]
sauvin has joined #lisp
<SaganMan> Morning peeps
<SaganMan> How are you all?
brettgilio has quit [Ping timeout: 250 seconds]
rumbler31 has joined #lisp
mrcom has quit [Ping timeout: 272 seconds]
rumbler31 has quit [Ping timeout: 246 seconds]
fikka has joined #lisp
zooey has quit [Remote host closed the connection]
kushal has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
zooey has joined #lisp
kushal has joined #lisp
caltelt has quit [Ping timeout: 252 seconds]
borodust has joined #lisp
Inline has quit [Quit: Leaving]
anewuser has quit [Ping timeout: 245 seconds]
<Demosthenex> hrm, thinking of ordering "Common Lisp Recipes". looks cool
<loke> Demosthenex: It's good.
flazh1 has joined #lisp
steiner has joined #lisp
buffergn0me has joined #lisp
otwieracz has joined #lisp
beaky has joined #lisp
azimut has quit [Ping timeout: 245 seconds]
azimut has joined #lisp
steiner has quit [Remote host closed the connection]
<phoe> Demosthenex: it's worth it
steiner has joined #lisp
vlatkoB has joined #lisp
varjag has joined #lisp
rumbler31 has joined #lisp
elfmacs has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
<drmeister> Two molecules made by yours truly (well - the top one I made 25 years ago and the bottom one my student made a few months ago). Displayed in a jupyterlab notebook running in a programming environment that my group has been developing (Cando).
<pierpal> beware of the ebook version of Recipes though
<pierpal> buy the paper
doubledup has quit [Quit: Leaving]
<drmeister> The kernel that runs everything is written in Common Lisp.
jinkies has quit [Ping timeout: 264 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
varjag has quit [Ping timeout: 246 seconds]
Kaisyu7 has joined #lisp
<zigpaw> drmeister: looks awesome :) only thing I have noticed is that the notebook still have ipnb extension (and not something else like clnb), but I'm not a jupyter user so I don't know if that would pose a problem or not when reopening it.
<drmeister> zigpaw: Hmm, it's not a problem because the file is a big JSON file and it contains metadata about which kernel/language created it. But I hadn't thought about that before. I'll investigate if we are stuck with that extension with jupyterlab.
steiner has quit [Remote host closed the connection]
steiner has joined #lisp
<drmeister> We had to fork some python packages that are involved in jupyterlab - they were called ipykernel and ipywidgets. We renamed them to cl-ipykernel, cl-ipywidgets - approaching maximum silliness in naming. Hi ho.
<zigpaw> ah, didn't know jupyter holds its data as "json blob", was thinking it looks more like 'org document'.
<drmeister> Checking... yep JSON blob.
jdz has joined #lisp
<drmeister> It's not S-expressions - but at least it's not XML. Phew.
<Demosthenex> pierpal: i was looking at buying paper, and then get the ebook for $5
mingus has joined #lisp
asarch has quit [Ping timeout: 252 seconds]
astalla has joined #lisp
fikka has joined #lisp
<shka_> drmeister: now that's something that should be at jupytercon
<drmeister> Those O'Reilly conferences are too rich for my blood. They had platinum, gold, silver and brown levels - I wouldn't even pay for brown.
<drmeister> They even had a web page "How to convince your boss that you should go to this conference".
<drmeister> (1) Scream really loud until he turns the car around .
<drmeister> Nighty night.
<aeth> There's only one conference that's worth going to.
<loke> aeth: I know, I KNOW! The Facebook developer conference!
<aeth> Is that the one where everyone was wearing a VR headset that one time?
Orion3k has quit [Quit: Leaving]
<zigpaw> ELS?
mingus has quit [Remote host closed the connection]
<loke> zigpaw: yes, that's what I really would expect :-)
<loke> And I really really want to go to next ELS
slyrus1 has quit [Ping timeout: 260 seconds]
mathrick has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 252 seconds]
mathrick has joined #lisp
<zigpaw> would love to attend it someday, but not possible right now :/
igemnace has joined #lisp
<zigpaw> but I'll plan it in the years to come and surely will.
nowhere_man has quit [Ping timeout: 252 seconds]
<pierpal> demosthenex: the ebook has parts badly mangled. save the 5$
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
buffergn0me has quit [Ping timeout: 250 seconds]
<_death> personally I cannot recommend CLR.. it's the first Lisp book I gave up reading halfway
fikka has joined #lisp
<pierpal> you resisted for 400 pages, then not bad.
<_death> yes.. something like that
<jackdaniel> I like CLR, but I've never attempted to read it from start to end
<jackdaniel> I cherry-pick topic which I'm interested in
<jackdaniel> due to current task or curiosity
makomo has joined #lisp
zfree has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
SaganMan has quit [Ping timeout: 244 seconds]
pierpal has joined #lisp
<_death> every page has distracting footnotes, the writing is dry, it never goes deep - always feels as though the writer had too little time and has to just put down the normative conclusions.. the introduction said it's for "intermediate" level, and most of what I read I already had opinions about.. so maybe I'm not the audience
<_death> *target audience
<razzy> hi, can i easily try open genera in qemu?
varjag has joined #lisp
<p_l> razzy: yes, road of least effort is to start by using ubuntu 8.04 or so in qemu/vbox/vmware
graphene has quit [Read error: Connection reset by peer]
graphene has joined #lisp
<razzy> p_l: i was hoping for some $ qemu-system genera.img command and be done
<p_l> there are scripts out there that attempt to automate creating a working image
<p_l> gets a bit easier if one has an Alpha with Tru64 already installed
froggey has quit [Ping timeout: 244 seconds]
anewuser has joined #lisp
froggey has joined #lisp
rumbler31 has joined #lisp
warex has joined #lisp
<razzy> hm
rumbler31 has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
<p_l> For snap4 port, you need an old ubuntu (I recommend 7.x or 8.x),dissble shadow passwords, install NIS and NFS v2, then you can somewhat safely run snap4 with Genera images from netwotk
<razzy> too much hassle
<razzy> looking for easier install
light2yellow has joined #lisp
Bronsa has joined #lisp
igemnace has quit [Quit: WeeChat 2.2]
scymtym has quit [Ping timeout: 272 seconds]
warex has quit [Ping timeout: 246 seconds]
steiner has quit [Read error: Connection reset by peer]
dtornabene has quit [Remote host closed the connection]
MetaYan has quit [Read error: Connection reset by peer]
zfree has quit [Remote host closed the connection]
scymtym has joined #lisp
nopolitica has quit [Quit: WeeChat 2.2]
random-nick has joined #lisp
quazimodo has joined #lisp
Xach has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Xach has quit [Ping timeout: 240 seconds]
Xach has joined #lisp
salva has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 252 seconds]
tazjin has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 246 seconds]
LdBeth has joined #lisp
fikka has joined #lisp
mingus has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
atgreen__ has joined #lisp
dddddd has joined #lisp
milanj has joined #lisp
fikka has joined #lisp
rumbler31 has joined #lisp
no-defun-allowed has joined #lisp
mange has joined #lisp
<no-defun-allowed> Okay I think I'm back now.
<no-defun-allowed> It appears matrix->irc just silently dies if you need to re-enter your password.
rumbler31 has quit [Ping timeout: 240 seconds]
mjanssen has joined #lisp
lumm has joined #lisp
MetaYan has joined #lisp
m00natic has joined #lisp
<beach> Welcome back. Why are you using bad software?
fikka has quit [Ping timeout: 245 seconds]
<no-defun-allowed> I've had less than stellar experiences using IRC on my phone.
<no-defun-allowed> Honestly the best solution was erc in Emacs but it's kinda slow and tedious to start Emacs.
<no-defun-allowed> I wrote my copying GC too. I'm still sussing out the design but it happily collects conses and numbers.
Bronsa has quit [Ping timeout: 240 seconds]
mingus has quit [Ping timeout: 246 seconds]
<beach> On this 5 year old computer, Emacs starts (and stops) in less than a second.
<jackdaniel> emacs is a painful experience on desktop; I can imagine how much worse it would be on a phone
light2yellow has quit [Ping timeout: 252 seconds]
<no-defun-allowed> (beach: obviously it's cause they wrote their complicated decentralised protocol using Python servers.)
<beach> That is dwarfed by the time it takes to read a single off-topic utterance here.
<no-defun-allowed> On this phone, it takes a few seconds, but I can imagine Termux fucked something up.
<no-defun-allowed> I can't quite M-x slime either, there's only picolisp on Termux.
<no-defun-allowed> So, um, garbage collection. It works, and I use a linked list of pointers to pointers that must be updated when stuff is compacted.
elfmacs has quit [Ping timeout: 252 seconds]
<no-defun-allowed> An integer offset is used with pointer arithmetic to get cells relative to the heap. I don't like it as Cee wouldn't let you keep an "integer" which can't be mixed with an actual integer like Go does.
<razzy> my emacs eat up too much imho. i bet it is by using non optimal packages
<no-defun-allowed> I use rainbow parens, SLIME and company mode sometimes. (Never got company working with SLIME. It just falls back to "stupid symbol spotting mode" every time.)
<jackdaniel> --->#emacs
<no-defun-allowed> Okay, back to garbage collectors.
<no-defun-allowed> (inb4 -->#cee)
mjanssen has quit [Ping timeout: 250 seconds]
<razzy> what is to upgrade on garbage collecting?
ebrasca has quit [Read error: Connection reset by peer]
<no-defun-allowed> Copying GC seems way easier to understand than mark and sweep.
<no-defun-allowed> I don't think there's anything I can improve on, but it was an interesting project to write one.
<beach> Except that you have to update every reference to an object that you moved.
<no-defun-allowed> That's true, but the benefits are quite impressive for copying.
<drmeister> no-defun-allowed: Try irccloud for your phone - I find it works pretty well.
zfree has joined #lisp
fikka has joined #lisp
<drmeister> It gives me persistent IRC connections.
<no-defun-allowed> My list of pointers mutates offsets with their copied places.
<no-defun-allowed> I didn't know we were playing IRC kicking roulette.
<razzy> no-defun-allowed: i think that obvious garbage collecting has beed done. and we can argue on heuristic how to choose most beneficial garbage collecting that differentiate because of hardware and software used. those heuristic could be interesting, but shoud be accesable for programmer
<razzy> as libraries or something
light2yellow has joined #lisp
Bronsa has joined #lisp
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
MetaYan has quit [Read error: Connection reset by peer]
atgreen__ has quit [Ping timeout: 252 seconds]
Copenhagen_Bram has quit [Ping timeout: 264 seconds]
<no-defun-allowed> Hi LdBeth
Copenhagen_Bram has joined #lisp
hvxgr has quit [Quit: leaving]
elfmacs has joined #lisp
mood has joined #lisp
MetaYan has joined #lisp
hvxgr has joined #lisp
Kevslinger has joined #lisp
mood has quit [Quit: Gone.]
mood has joined #lisp
mood has quit [Client Quit]
mood has joined #lisp
mood has quit [Client Quit]
mood_ has joined #lisp
mood_ is now known as mood
developernotes has joined #lisp
mep616 has joined #lisp
mange has quit [Ping timeout: 240 seconds]
developernotes has quit [Client Quit]
serichsen has joined #lisp
developernotes has joined #lisp
<serichsen> Hello
quazimodo has quit [Ping timeout: 252 seconds]
rumbler31 has joined #lisp
<MetaYan> Hey
lonjil has quit [Ping timeout: 252 seconds]
Bike has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
random-nick has quit [Ping timeout: 240 seconds]
shka_ has quit [Quit: WeeChat 1.9.1]
quazimodo has joined #lisp
fikka has quit [Ping timeout: 250 seconds]
Ukari has quit [Remote host closed the connection]
fikka has joined #lisp
lonjil has joined #lisp
mindCrime has joined #lisp
steiner has joined #lisp
random-nick has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
fikka has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 240 seconds]
developernotes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
makomo has quit [Ping timeout: 240 seconds]
random-nick has joined #lisp
developernotes has joined #lisp
rumbler31 has quit [Remote host closed the connection]
gitfaf has joined #lisp
random-nick has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
developernotes has quit [Client Quit]
random-nick has joined #lisp
developernotes has joined #lisp
Inline has joined #lisp
matijja has joined #lisp
zfree has quit [Quit: zfree]
elfmacs has quit [Ping timeout: 252 seconds]
mindCrime has quit [Ping timeout: 240 seconds]
sjl_ has joined #lisp
SaganMan has joined #lisp
kushal has quit [Remote host closed the connection]
kushal has joined #lisp
[6502] has joined #lisp
developernotes has quit [Quit: Textual IRC Client: www.textualapp.com]
razzy has quit [Ping timeout: 244 seconds]
[6502] has quit [Quit: Page closed]
nowolfer has joined #lisp
shka_ has joined #lisp
<emaczen> In what ways can a socket be closed without me explicitly calling #'close?
<Bike> do you mean a stream? sockets are going to be a library interface thing
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
<emaczen> Bike: I'm pinging 192.168.1.* to search for services, and when I make a successful connection I store the address and the "BASIC-TCP-STREAM SOCKET"
<emaczen> Once it is finished some of the BASIC-TCP-STREAM SOCKETS will be closed and others will not.
gitfaf_ has joined #lisp
aindilis has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #lisp
<emaczen> Here is what lisp prints and what I mean by socket: #<BASIC-TCP-STREAM ISO-8859-1 (NIL/59) #x302004A8D8CD>
gitfaf has quit [Ping timeout: 240 seconds]
jack_rabbit has quit [Ping timeout: 250 seconds]
jdz has quit [Ping timeout: 250 seconds]
FreeBird_ has joined #lisp
<dlowe> emaczen: Unix sockets can be half-closed
MetaYan has quit [Ping timeout: 240 seconds]
<dlowe> but presumably the tcp-stream will close a socket fully when the stream is closed
FreeBirdLjj has quit [Ping timeout: 240 seconds]
jkordani has joined #lisp
X-Scale has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 246 seconds]
jdz has joined #lisp
LiamH has joined #lisp
ebrasca has joined #lisp
<emaczen> I'll just make a paste...
<emaczen> It makes no sense to me how these sockets are closing themselves....
matijja has quit [Ping timeout: 240 seconds]
<emaczen> https://pastebin.com/cWmsrqXF -- here it is
<jdz> emaczen: I suspect the services running on port 8081 are closing the connections.
<jdz> Linux also has some parameters to control TCP connection keepalive (http://www.tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html).
<emaczen> jdz: What doesn't make sense to me is that all services are in the same state as far as I can tell but they don't all end in the same state?
nika has joined #lisp
aindilis has joined #lisp
gitfaf_ has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
mindCrime has joined #lisp
<antoszka> emaczen: what's CO:SMAP?
<antoszka> and CO:VALUE?
<emaczen> just map but it is a defmethod so I can't have different datastructures be mappable and for this instance spawn a bunch of threads
cage_ has joined #lisp
<antoszka> was just curious whether it's some known library
<antoszka> or your own code
<emaczen> just my own
dolohov has joined #lisp
astalla has quit [Ping timeout: 246 seconds]
<antoszka> ack
arduo has quit [Ping timeout: 268 seconds]
gitfaf has joined #lisp
gitfaf has quit [Client Quit]
asarch has joined #lisp
meepdeew has joined #lisp
<jkordani> emaczen: what does wireshark tell you? who throws the reset?
Khisanth has quit [Ping timeout: 244 seconds]
<Xof> slyrus: so, I powered up the most likely machine to have a mcclim/svg backend
<Xof> I couldn't find one. I wonder whether it was a figment of my imagination. I *did* find a half-baked Canvas backend
<Xof> (didn't get as far as accepting user input, I think)
P1RATEZ has joined #lisp
<Xof> sorry! (Also, the firmware for the network card on that machine appears not to be y2k18 compliant
X-Scale has joined #lisp
graphene has quit [Remote host closed the connection]
<v0|d> Xof: wow, what are the symptoms of having such a card?
joe42 has joined #lisp
<Xof> a message to the console once a second
graphene has joined #lisp
<Xof> probably other things too. (I don't actually know what the problem is really)
<joe42> Hello. Is there a 'preferred' way to use fastcgi & common lisp? Or basically 'which ever tool suits you'?
Khisanth has joined #lisp
eddof13 has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
nowhere_man has joined #lisp
<serichsen> My preferred way would be not to use fastcgi.
trittweiler has quit [Read error: Connection reset by peer]
trittweiler has joined #lisp
milanj has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
<Xach> joe42: i'm not sure there are a lot of options regarding fastcgi. i do not think it is often used for lisp web apps. it is more typical to use a reverse proxy to a lisp web server.
<joe42> Xach: what are ways to daemon-ize lisp?
<p_l> joe42: don't
<p_l> run it under a supervisor
<p_l> do not "daemonize"
<p_l> cheapest option if you really don't have anything else - /etc/inittab (better use runit there, though)
<p_l> These days probably a systemd unit :/
<Xach> joe42: yes, there are
pierpal has quit [Quit: Poof]
<Xach> oh, i thought you wrote "are there ways", sorry
<joe42> systemd not an option for me. I run openbsd, which is why I wanted fastcgi.
<Xach> joe42: I use screen for that. it is not perfect but it is familiar.
pierpal has joined #lisp
milanj has quit [Read error: No route to host]
milanj has joined #lisp
<p_l> joe42: runit should work on OpenBSD, it's quite damn portable (except for writing to process name, but that's not critical feature)
<phoe> I use tmux
<phoe> I run a Lisp process in it and then, if required, I have access to its REPL
<joe42> tmux is possible. What are some examples of supervisors, though?
<AeroNotix> Are you joking? tmux/screen?
<AeroNotix> Sorry for sounding brash but those are terrible options
<AeroNotix> joe42: I'd recommend systemd, it solves 99% of issues but since you're on BSD and I'm not familiar at all with BSD. I don't know what to suggest.
<AeroNotix> Seems it uses the typical https://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html style though
swflint has quit [Ping timeout: 252 seconds]
<AeroNotix> also +1 for runit.
<joe42> AeroNotix: yes. OpenBSD uses /etc/rc.d & rcctl
<AeroNotix> not entirely sure what to suggest since, like I said, not familiar at all with bsd but if runit is available then that route is probably best.
doubledup has joined #lisp
razzy has joined #lisp
<joe42> ok
doubledup has quit [Max SendQ exceeded]
<AeroNotix> joe42: but if you're running a web server in CL then perhaps nginx + proxy_pass and use the typical start up scripts you've probably already got for nginx
doubledup has joined #lisp
<AeroNotix> and just configure nginx to proxy to the CL application, and write a runit script to start the CL application before nginx.
doubledup has quit [Max SendQ exceeded]
<AeroNotix> really though, systemd would be quite helpful here haha :)
doubledup has joined #lisp
<joe42> yeah, that part seemed pretty strait forward, and I will be testing a web server written using ningle. Thanks
swflint has joined #lisp
quazimodo has quit [Ping timeout: 240 seconds]
figurehe4d has joined #lisp
pierpal has quit [Ping timeout: 240 seconds]
<AeroNotix> phoe: regarding the REPL. You can embed a slime listener into your application rather than needing to have access to the terminal it ran in. That's how I've always deployed CL applications. A slime repl on a non-exposed port.
pierpal has joined #lisp
pierpal has quit [Client Quit]
<emaczen> jkordani: I'm downloading wireshark now.
pierpal has joined #lisp
<trittweiler> emaczen, you can just use tcpdump instead of wireshark. :)
<phoe> AeroNotix: yep, I know; the built-in REPL is for simple cases.
<emaczen> trittweiler: Anything inside emacs?
<trittweiler> AeroNotix, it should be possible (perhaps it is even done by default), that the swank socket listens on localhost only
<phoe> trittweiler: right, it is
<AeroNotix> trittweiler: same difference
<AeroNotix> I just meant "not exposed to the world" really
jkordani_ has joined #lisp
<trittweiler> yeah, but it means you need a firewall rule and so it's one more component that could fail, murphy's law etc.
<AeroNotix> > I just meant "not exposed to the world" really
scymtym has quit [Ping timeout: 260 seconds]
<AeroNotix> take out the words "non-exposed port" and replace with "non-exposed listener" then
orivej has joined #lisp
<AeroNotix> The way I used to have to deploy it was listening on all interfaces and use AWS firewall rules to give me access via a bounce box
<AeroNotix> previous work didn't allow access directly to all machines, only certain ones. We'd have to get to the SLIME port via another machine
<AeroNotix> either way, the point was SLIME > tmux/screen repl
jkordani has quit [Ping timeout: 246 seconds]
buffergn0me has joined #lisp
joe42 has left #lisp [#lisp]
rumbler31 has joined #lisp
jkordani has joined #lisp
jkordani_ has quit [Ping timeout: 240 seconds]
scymtym has joined #lisp
buffergn0me has quit [Ping timeout: 250 seconds]
rumbler31 has quit [Remote host closed the connection]
m00natic has quit [Remote host closed the connection]
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
kushal has quit [Remote host closed the connection]
kdas_ has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
dented42 has joined #lisp
FreeBird_ has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
fikka has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
mrcom has joined #lisp
Bronsa has quit [Ping timeout: 252 seconds]
Denommus has joined #lisp
meepdeew has quit [Remote host closed the connection]
rjid has joined #lisp
graphene has quit [Remote host closed the connection]
rjid has left #lisp [#lisp]
graphene has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
juristi has joined #lisp
figurehe4d has quit [Quit: Leaving]
<AeroNotix> phoe: did you find that TIMER package that cl-muprocs wanted btw?
<AeroNotix> was it this: https://www.cliki.net/TIMER ?
FreeBirdLjj has joined #lisp
juristi has quit [Quit: WeeChat 1.0.1]
Hu0p has quit [Quit: Do Macbooks Dream of Electric Sheep?]
dented42 has quit [Read error: Connection reset by peer]
<phoe> AeroNotix: no no, that package is linked in the cl-muprocs repo
graphene has quit [Remote host closed the connection]
Oladon has joined #lisp
Hu0p has joined #lisp
juristi has joined #lisp
graphene has joined #lisp
nsrahmad has joined #lisp
Hu0p has quit [Quit: See You Space Cowboy. . .]
sauvin has quit [Read error: Connection reset by peer]
makomo has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
dyelar has joined #lisp
graphene has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
graphene has joined #lisp
zfree has joined #lisp
fikka has quit [Ping timeout: 250 seconds]
anewuser has quit [Ping timeout: 245 seconds]
mep616 has joined #lisp
vlatkoB has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
<AeroNotix> ah thanks for the link
graphene has joined #lisp
atgreen__ has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
* mep616 t
FreeBirdLjj has quit [Remote host closed the connection]
anunnaki has joined #lisp
shka_ has quit [Ping timeout: 245 seconds]
nsrahmad has quit [Remote host closed the connection]
random-nick has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
nika has quit [Quit: Leaving...]
astalla has joined #lisp
cage_ has quit [Quit: Leaving]
suskeyhose has joined #lisp
mep616 has quit [Ping timeout: 252 seconds]
kdas_ is now known as kushal
Oladon has quit [Quit: Leaving.]
<AeroNotix> phoe: timer is _in_ quicklisp? Is the one cl-muprocs dependant on different?
<AeroNotix> ah wait, I'm picking one up that's part of a different system
<AeroNotix> gendl-devo-0272a167-git/apps/timer/
figurehe4d has joined #lisp
sjl_ has quit [Quit: WeeChat 2.2-dev]
mep616 has joined #lisp
<AeroNotix> What happens if there are two systems in QL that have the same system name?
<Bike> i think xach tries to avoid that
anewuser has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
mep616 has quit [Remote host closed the connection]
mep616 has joined #lisp
graphene has quit [Remote host closed the connection]
<AeroNotix> and Xach mentions here that his library is "not good" and "only works on SBCL": https://github.com/quicklisp/quicklisp-projects/issues/1273#issuecomment-286510639
graphene has joined #lisp
<phoe> AeroNotix: it's a differently named system
<phoe> it's a name collision
graphene has quit [Read error: Connection reset by peer]
<Shinmera> You can't have two systems with the same name in QL.
<Shinmera> It wouldn't know which to load.
<Shinmera> You can have two systems with the same name in separate dists, in which case it will pick the one from the dist with a higher priority number.
<Shinmera> (regardless of the version of the system, I might add :/)
<AeroNotix> phoe: yes I can see that's a differently named system. I've locally renamed it.
<AeroNotix> cl-muprocs passes 99% of tests.
graphene has joined #lisp
<AeroNotix> Shinmera: thanks
<AeroNotix> Shinmera: since you're so prolific, don't you have a library which implements: https://www.xach.com/lisp/timer/doc.html (and may already be in quicklisp?)
brettgilio has joined #lisp
<Shinmera> I have a tiny task processor that could be used for something like this I suppose, but nothing that directly fits what you want.
<Shinmera> Sorry!
<AeroNotix> no worries, reason I ask is that yeah, the one that cl-muprocs depends on is SBCL only.
<AeroNotix> which is weird af because the cl-muprocs library seems to have gone to some lengths to predicate certain forms on different implementations
<Shinmera> Spawning a thread that calls sleep in a loop and compares time differences isn't a huge effort.
<AeroNotix> Shinmera: it's more effort than zero :)
<Shinmera> I probably would have written it in the time we've spent discussing libraries here :)
doubledup has quit [Quit: Leaving]
<AeroNotix> rad dude
papachan has quit [Ping timeout: 268 seconds]
f1gurehead has joined #lisp
aindilis has quit [Remote host closed the connection]
f1gurehead has quit [Remote host closed the connection]
aindilis has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
dented42 has joined #lisp
dueyfinster has joined #lisp
figurehe4d has quit [Remote host closed the connection]
figurehe4d has joined #lisp
fikka has joined #lisp
dented42 has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 245 seconds]
Roy_Fokker has joined #lisp
mep616 has quit [Ping timeout: 250 seconds]
serichsen has quit [Ping timeout: 252 seconds]
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #lisp
azimut has quit [Read error: No route to host]
azimut has joined #lisp
azimut has quit [Ping timeout: 246 seconds]
<earl-ducaine> CL macrologists! I'm trying to write a macro that transforms a lambda list into an alternate lambda list and function body wrapper, within the context of a macro. E.g. https://gist.github.com/earl-ducaine/f510eb0091d04e2d0131cffe080f5d28
<earl-ducaine> I'm having that familiar feeling of having the macro 90% written, then 50%, then wondering whether what I'm attempting is possible at all. :)
fikka has joined #lisp
<Bike> do you mean (nth 1 rest), and so on
<earl-ducaine> Oh whoops, yes. exactly
atgreen__ has quit [Ping timeout: 246 seconds]
azimut has joined #lisp
serichsen has joined #lisp
<aeth> earl-ducaine: I would use destructuring-bind here
figurehe4d has quit [Remote host closed the connection]
<aeth> earl-ducaine: Unless I'm reading your requirements wrong, destructuring-bind does everything you want for free (only downside is that it *might* be slower)
figurehe4d has joined #lisp
<aeth> (destructuring-bind (medium pathname options) list ...)
<aeth> The only difference is that that would require the list to be of length 3 and using nth does not (your approach doesn't care about the tail). You can implement not caring about the tail in destructuring-bind with (medium pathname options &rest rest) (declare (ignore rest))
<earl-ducaine> Is there any way of doing that in the context of a macro? The reason for my need is that I'm trying to convert some old flavors code, and I'd like to rewrite the flavor defmethods into CLOS defmethods
<aeth> I think it would look something like this: `(defun ,my-function (&rest rest) (destructuring-bind ,lambda-list rest (list ,@lambda-list))
<aeth> The only problem is that destructuring-bind's lambda list is very similar to a macro's lambda list, so it would permit nested things like (foo (bar baz))
azimut has quit [Ping timeout: 240 seconds]
<earl-ducaine> aeth: Oh I see what you're trying to do now... Yes, that looks promising....
serichsen has quit [Quit: Bye]
<aeth> and, yes, you'd want to use gensym instead of rest, even though it doesn't really matter because there's no ,@body and even if you had an internal rest in your lambda list, it would use the inner rest from the destructuring-bind, not the outer rest
serichsen has joined #lisp
<aeth> If you do have a ,@body you'd have to use gensym instead of rest
<aeth> (let ((rest (gensym))) `(defun ,my-function (&rest ,rest) (destructuring-bind ,lambda-list ,rest (list ,@lambda-list)))
<aeth> phoe's version is more complete because it does have a body
<earl-ducaine> phoe: holy crap! that's exactly what I was looking for.
<phoe> earl-ducaine: (:
<aeth> The only thing you might want to do differently from phoe's version is (let ((rest (gensym "REST"))) ...) instead of (let ((gensym (gensym))) ...)
<phoe> yeah, to get a better gensym name
azimut has joined #lisp
<phoe> my example isn't the best as I hacked it together in a minute
<aeth> earl-ducaine: destructuring-bind is probably *the* most useful thing for macros
<earl-ducaine> Truly awesome. Thanks again! Looking at it I can't even remember why I thought it was so difficult. :)
<aeth> The one catch about destructuring-bind is that sometimes it's inconvenient, especially when combined with e.g. mapcar or defun, because you often want the function to have one, temporary argument.
<phoe> hence the gensym
<earl-ducaine> aeth: I've read that before.... Now I can see why.
<aeth> For lambdas (e.g. use in mapcar) I wrote this: (defmacro destructuring-lambda (lambda-list &body body) (let ((expression (gensym))) `(lambda (,expression) (destructuring-bind ,lambda-list ,expression ,@body))))
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
<aeth> Then I can (mapcar (destructuring-lambda (foo bar baz) `((,baz ,bar) ,foo))) some-part-of-a-macro)
<aeth> It saves two lines and a temporary variable and is very similar to phoe's solution for defun
<aeth> If you don't write macros to save yourself two lines (multiplied by dozens of times in a large program), you might as well be coding in Java. :-)
<aeth> I personally find that most macros have some structure to their s-expressions, and you either want to transform that to another structure (e.g. maybe a series of function calls) or you want to create a data structure of standard-objects/structure-objects/arrays/etc. at compile time. So destructuring-bind is incredibly useful imo.
<stylewarning> macros should reveal abstractions not save lines
<aeth> stylewarning: Imo any pattern that repeats itself constantly (like a temporary variable for destructuring-bind in a one-argument lambda) is a place where bugs can easily happen.
ebrasca has quit [Read error: Connection reset by peer]
<no-defun-allowed> Good morning everyone!
<aeth> stylewarning: This imo is no different than something like dolist.
<earl-ducaine> The paragraph I was remembering was in cltl, related to parse-macro, a suggested function that didn't make it into the standard. https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html
<earl-ducaine> In particular: However, parse-macro is worth having anyway, since any program-analyzing program is going to need to define it, and the implementation isn't completely trivial even with destructuring-bind to build upon.
<aeth> earl-ducaine: It looks like the function phoe wrote *is* parse-macro, but without the environment stuff?
Guest73516 has joined #lisp
Duns_Scrotus has joined #lisp
<aeth> I'm surprised there isn't one for lambda, like the one I wrote. Happens all the time in mapcar.
anewuser has quit [Ping timeout: 240 seconds]
<Bike> parse-macro is more complicated because it handles &whole differently from destructuring-bind
<aeth> ah
Bike has quit [Ping timeout: 252 seconds]
jasmith has quit [Quit: Leaving]
brettgilio has quit [Quit: Konversation terminated!]
astalla has quit [Ping timeout: 252 seconds]
whartung has joined #lisp
light2yellow has quit [Quit: privet_so_dna]
<Duns_Scrotus> why does funcall look in the function namespace but apply looks in the value namespace
<Duns_Scrotus> no wait
dented42 has joined #lisp
graphene has quit [Read error: Connection reset by peer]
sjl has quit [Quit: WeeChat 2.2-dev]
<Duns_Scrotus> nvm
graphene has joined #lisp
LiamH has quit [Quit: Leaving.]
kushal has quit [Remote host closed the connection]
kushal has joined #lisp
asarch has quit [Quit: Leaving]
pierpa has joined #lisp
kini has joined #lisp
dueyfinster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kajo has quit [Ping timeout: 252 seconds]
ebrasca has joined #lisp
kajo has joined #lisp
Bike has joined #lisp
mange has joined #lisp
mindCrime has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 246 seconds]
bradcomp has joined #lisp
jack_rabbit has joined #lisp
meepdeew has joined #lisp
kirkwood has quit [Remote host closed the connection]
Guest73516 has quit [Quit: Textual IRC Client: www.textualapp.com]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pierpal has quit [Ping timeout: 240 seconds]
anewuser has joined #lisp
brettgilio has joined #lisp
lumm has quit [Quit: lumm]
flazh1 has quit [Quit: flazh1]
sjl has joined #lisp
flazh has joined #lisp
kajo has quit [Ping timeout: 246 seconds]
quazimodo has joined #lisp
shlemas has joined #lisp
kdas_ has joined #lisp
kushal has quit [Ping timeout: 250 seconds]
dale has quit [Quit: dale]
figurehe4d has quit [Quit: Leaving]
fikka has quit [Ping timeout: 252 seconds]
<Xach> Shinmera: staple doesn't build because of a 3bmd symbol error
<Xach> (for me)
<Xach> Do you know what might be up?
meepdeew has quit [Remote host closed the connection]
atgreen__ has joined #lisp
kajo has joined #lisp