Ukari has joined #lisp
mson has quit [Quit: Connection closed for inactivity]
Reinhilde is now known as Ellenor
alpert has joined #lisp
<drmeister> Does anyone have any recommendations for a many-in, single-out fifo queue that is thread safe?
akem has quit [Quit: ..]
<drmeister> I have many threads that need to send messages to a single thread that handles them.
dddddd has quit [Remote host closed the connection]
alpert has quit [Ping timeout: 248 seconds]
orivej has joined #lisp
Khisanth has quit [Ping timeout: 248 seconds]
<pjb> drmeister: I've got an atomic multi-threaded queue: https://gitlab.com/com-informatimago/com-informatimago/blob/master/clext/queue.lisp
<pjb> s/multi-threaded/thread-safe/
<drmeister> Thank you very much!
Khisanth has joined #lisp
lnostdal has joined #lisp
sjl__ has joined #lisp
nowhere_man has quit [Ping timeout: 248 seconds]
k-stz has quit [Remote host closed the connection]
sjl__ has quit [Ping timeout: 240 seconds]
marusich has quit [Quit: Leaving]
milanj has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 240 seconds]
markong has quit [Ping timeout: 240 seconds]
bugrum has quit [Remote host closed the connection]
Ukari has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alpert has joined #lisp
eSVG has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
alpert has quit [Ping timeout: 268 seconds]
skeuomorf has quit [Ping timeout: 248 seconds]
pjb has quit [Ping timeout: 250 seconds]
MrBismuth has quit [Ping timeout: 268 seconds]
pjb has joined #lisp
pjb has quit [Remote host closed the connection]
python476 has joined #lisp
Amplituhedron has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
alpert has joined #lisp
mathrick has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 240 seconds]
mathrick has joined #lisp
alpert has quit [Ping timeout: 248 seconds]
EvW has quit [Ping timeout: 250 seconds]
pierpa has quit [Quit: Page closed]
alpert has joined #lisp
alpert has quit [Read error: Connection reset by peer]
alpert has joined #lisp
alpert has quit [Read error: Connection reset by peer]
alpert has joined #lisp
Kaisyu has joined #lisp
alpert has quit [Ping timeout: 240 seconds]
Ukari has joined #lisp
thebardian has joined #lisp
d4ryus1 has joined #lisp
d4ryus has quit [Ping timeout: 268 seconds]
alpert has joined #lisp
alpert has quit [Read error: Connection reset by peer]
alpert has joined #lisp
alpert has quit [Read error: Connection reset by peer]
thebardian has quit [Remote host closed the connection]
MrBusiness has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
alpert has joined #lisp
alpert has quit [Ping timeout: 248 seconds]
test1600 has joined #lisp
SaganMan has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
oleo has quit [Remote host closed the connection]
oleo has joined #lisp
Ukari has quit [Ping timeout: 255 seconds]
<beach> Good morning everyone!
test1600 has quit [Quit: Leaving]
<SaganMan> Morning beach!!
QualityAddict has quit [Ping timeout: 268 seconds]
test1600 has joined #lisp
SaganMan has quit [Ping timeout: 248 seconds]
SaganMan has joined #lisp
wheelsucker has joined #lisp
broccolistem has quit [Quit: WeeChat 2.0-dev]
Ukari has joined #lisp
shka has joined #lisp
damke has joined #lisp
<phoe> morning
damke_ has quit [Ping timeout: 240 seconds]
LiamH has quit [Ping timeout: 240 seconds]
<beach> Hey phoe. I don't see you here very often these days.
EvW has joined #lisp
eSVG has quit [Ping timeout: 258 seconds]
* loke` realised that I just confused phoe and nyef.
pjb has joined #lisp
<beach> Ouch!
<beach> loke`: You REALLY have to come to ELS. That way you will remember quite a few people here.
<loke`> beach: for sure.
<loke`> beach: I have a huge problems with names. Always had.
<loke`> phoe and nyef both name nicks of four characters, which does not make up any sensible word or name. It's a hopeless endeavour for me to tell the, apart :-)
<loke`> them
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
<loke`> I am really trying to make it there. It's not the easiest place to get to though
<beach> Yes, I see. We are all different in what we can remember.
<loke`> Which is the nearest airport by the way?
<beach> Malaga I think.
<pjb> Yes.
<pjb> Also Gibraltar.
<beach> Oh, right.
<pjb> If you come thru UK, Gibraltar would be good.
<loke`> If I don't want to break the bank, it's a 20 hour flight.
<loke`> pjb: Via UK is not ideal for me.
<pjb> then you could try coming in paquebote.
<loke`> Oh wait... actually it is
<pjb> 3 weeks, and all the niceties to keep programming during the travel.
<loke`> Gibraltar via LHR is only 18 hours.
<beach> loke`: Take some vacation around it. Stop in a few places to meet some friends.
<beach> That's what me and my wife are going to do.
<loke`> beach: I'd do that if it wasn't for the fact that I have a family and the kids is going to school :-(
<beach> Can't they do without you for a few days?
<loke`> How long does it take to travel from gibraltar to malaga?
* loke` checks google maps
<beach> Ask pjb. He lived there for some time.
<pjb> Well, you want Gibraltar to Marbella, since Marbella is in the middle.
<loke`> the trip I'm planning now is literally arriving as close to the start of the conference and leaving immediately after
<loke`> Hah... I did a google maps search for marbella and it gave me directions here: https://www.google.com.sg/maps/place/The+Marbella/@1.2752081,103.7893263,12z/data=!4m8!1m2!2m1!1smarbella!3m4!1s0x0:0x6966158b29e15f3!8m2!3d1.3144461!4d103.7778854?hl=en
<pjb> There's about 30m from Malaga, and a little more from Gibraltar, say 45 mn (it's 59 km).
<pjb> 30 mn
<loke`> pjb: thanks for the advice. It's clear the gibraltar is a better choice for me
<pjb> 7 euro by bus.
<beach> Nice!
<pjb> Well, depends on the date.
<loke`> pjb: I'm looking for arrival on the 15'th, departure on the 18'th.
<beach> I don't think a few € will make a difference if loke` is planning an airline trip that takes 18 hours.
<loke`> It still means I'll be away from home for 6 days
<pjb> :-)
<loke`> At what time does the conference start? Ideally I'd like to arrive on the morning of the 16'th.
<beach> It typically starts early.
<beach> loke`: That's a very bad idea though.
<beach> loke`: There will be lots of people hanging out together the day before and especially the evening before.
<loke`> OK, good point
<beach> loke`: The point of a conference like that is to meet people. Not so much going to the talks.
<loke`> Let's see how to break it to my wife :-)
<beach> Heh!
<loke`> The flight ticket itself is thankfully not expensive
sjl__ has joined #lisp
sjl__ has quit [Ping timeout: 248 seconds]
eSVG has joined #lisp
<pjb> loke`: really, you should plan to stay more days in Marbella! There are nice beaches, and some seesighting to do.
<pjb> (and perhaps job interviews ;-) )
<loke`> pjb: I'd need a Lisp job for me to consider moving at this point, and Lisp jobs, in Spain of all places? Sounds unlikely. :-)
<pjb> loke`: Ravenpack is based in Marbella.
<pjb> So it could happen that you don't use your return ticket…
<loke`> So this company uses Lisp? Is this the reason ELS is there this year?
<pjb> Yes :-)
<loke`> Neat :-)
<loke`> Google Maps suggests a bus from gibraltar to marbella... It's close to 2 hours.
<loke`> The UK isn't part of schengen. Is there annoying passport checks and stuff?
_whitelogger has joined #lisp
<loke`> there are quite a few roads
<phoe> beach: I'm very quiet Lisp-wise. Fixing up my so-called real life.
<beach> phoe: That's good I guess.
<phoe> loke`: append "nix" to my nick for a better mnemonic
<loke`> What is more real than Lisp? :-)
<loke`> Thanks. I will.
<phoe> loke`: the horror of watching a person write some math on a blackboard and forgetting to close a paren.
<loke`> phoe: Watching that lectures by Susskind?
<phoe> (:
<loke`> phoe: which ones?
<pjb> "Parenthesis!" (like "Light!" in the "5th Element")
<pjb> "Aziz! Parenthesis!"
<loke`> phoe: Speaking of phoenix. This is what I use to associate with you now: http://classic.beatport.com/track/phoenix-original-mix/8992256
<loke`> Amazing song
<loke`> s/pickture/is this picture/
<beach> loke`: So, you have tricks to help you remember people. Nice.
<loke`> I can remember lots of things, but names don't work...
jameser has joined #lisp
jameser has quit [Client Quit]
fikka has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
<loke`> In a previous job (decades ago) I was working in a group consisting of roughly 20 people. 2 years into the job, I still only knew the names of about half of them.
schoppenhauer has quit [Ping timeout: 240 seconds]
<beach> That's pretty impressive. This problem must get you in trouble quite often, I suppose.
<beach> People have a tendency not to understand things like that.
fikka has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #lisp
<loke`> beach: It's OK actually. I'm pretty upfront about it. Also, if I see a name I usually know who it is. My problem is associating a name with a face.
<loke`> I need to assicate it with something other than a face. Like an actual bottle of JD :-)
<loke`> So phoe=phoenix is really helpful.
<loke`> I thinkt hat's why I prefer nickanmes on places like IRC. Nicknames usually have an actually relation to real things, rather than abstract names.
jstoddard has quit [Quit: Goodnight!]
<loke`> I'm studying physics now, and they keep using abstract names (and worse, one-letter names at that) to describe things like momentum, etc... “P”!? wtf...
<loke`> V=potential energy
<loke`> P is momnentum
python476 has quit [Ping timeout: 248 seconds]
<loke`> TIme to go for lunch, and pick up my bike
<pjb> loke`: one good trick, is to have the names of people on their doors. But keep them up-to-date! :-)
<pjb> loke`: but usual names have meanings!
<beach> They do indeed.
Josh_2 has quit [Remote host closed the connection]
test1600_ has joined #lisp
test1600 has quit [Ping timeout: 248 seconds]
<pjb> So, naming a variable claudine or georgette can be quite meaningful :-)
<pjb> So if you're implementing a kludge, you could use claudine to hold some shaky value.
<pjb> And if you work at AgriSpirit, you can name the variable holding the current cultivator user GEORGE instead of just USER.
<pjb> err, Agri-Esprit.
neoncontrails has quit [Remote host closed the connection]
<whoman> i name all my vars after ur mom
shifty has joined #lisp
<shka> good morning
<whoman> good evening
<aeth> loke`: Probably because physics was written before the English language ruled the world. Computer science doesn't have the same naming issue.
<aeth> Or at least, all of the physics conventions that non-PhDs would learn.
milanj has quit [Quit: This computer has gone to sleep]
<phoe> loke`: enjoyable.
<phoe> loke`: all of them, too.
damke_ has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
damke has quit [Ping timeout: 240 seconds]
Ukari has quit [Ping timeout: 240 seconds]
<borei> can somebody suggest machine learning library ?
<borei> hi all, btw :-)
fikka has joined #lisp
asarch has quit [Quit: Leaving]
<beach> Hello borei.
<borei> hi beach
<borei> seems like most active project is https://github.com/mmaul/clml.git
<borei> honestly saying, i have no idea what how and why (but the same situation was when i started with Lisp, so it's first steps)
<borei> i'll be targetting to solve some monitoring problems - im in IT industry
<borei> if somebody who is in that area - would be cool to build some relationship :-)
fikka has quit [Ping timeout: 240 seconds]
<beach> borei: I think you'll find that domains in which Lisp traditionally dominated, now use other languages.
<borei> yes i know - python is trying to be major player
<beach> borei: Common Lisp is a very good general-purpose language, so people use it for all kinds of things, but not necessarily for those domains.
<shka> python is a bad joke
<borei> well, everybody is with python in a head
<borei> i want to be with lizard :-)
<shka> beach: did you had by any chance opportunity to check docs for cl-ds?
<borei> im not scared to be marginal
<beach> shka: I completely forgot. Sorry!
<beach> Give me the link again.
<shka> beach: that's ok, you still gave me more then anyone else
<beach> shka: I don't mind if you remind me from time to time.
<shka> i will! :D
<beach> I'll try to have a look during the day.
<shka> borei: yeah, all those posers with tattoos? Pathetic, do stuff with lisp to show how hardcore you are!
<shka> beach: great!
<shka> have a nice day
alpert has joined #lisp
<borei> shka: thanks for support :-)
Bike has quit [Quit: Lost terminal]
jameser has joined #lisp
alpert has quit []
jameser_ has joined #lisp
jameser has quit [Ping timeout: 248 seconds]
kenster has quit [Quit: Textual IRC Client: www.textualapp.com]
thebardian has joined #lisp
jameser_ has quit [Ping timeout: 240 seconds]
alpert has joined #lisp
alpert has quit [Client Quit]
hooman has joined #lisp
borei has quit [Quit: Leaving.]
oleo has quit [Quit: Leaving]
flamebeard has joined #lisp
whoman has quit [Ping timeout: 248 seconds]
BigSafari has joined #lisp
Karl_Dscc has joined #lisp
pseudonymous has joined #lisp
vlatkoB has joined #lisp
d4ryus1 is now known as d4ryus
alexmlw has joined #lisp
damke has joined #lisp
mishoo has joined #lisp
pseudonymous has quit [Ping timeout: 248 seconds]
vsync is now known as VSync
damke_ has quit [Ping timeout: 240 seconds]
mson has joined #lisp
scymtym has quit [Ping timeout: 248 seconds]
Karl_Dscc has quit [Remote host closed the connection]
raphaelss has quit [Remote host closed the connection]
dec0n has joined #lisp
fikka has joined #lisp
hajovonta has joined #lisp
<hajovonta> hi
<loke`> Hello
DeadTrickster has quit [Read error: Connection reset by peer]
DeadTrickster has joined #lisp
<drmeister> Hey - does anyone know any Javascript programming? I'm writing a Common Lisp program to communicate with Javascript in a browser and I'm getting the wrong version of the Javascript source shipped to the browser.
<easye> Not sure what "wrong version of the Javascript" means there.
<drmeister> Hi - In the browser console (chrome) under Sources nbextensions/nglview-js-widgets/index.js
<drmeister> The file contains old source code - I have newer source code in a directory.
fikka has quit [Ping timeout: 248 seconds]
<drmeister> I'm really fuzzy on what Javascript files get shipped to the browser and how I get it to send the files I want.
<drmeister> Let me try explaining that a bit more clearly
DeadTrickster has quit [Read error: Connection reset by peer]
DeadTrickster has joined #lisp
<drmeister> I've got a directory on my computer ~/Development/widget-dev/nglview-v1.0.a1/build/lib/nglview/static/index.js - it's an updated Javascript file that contains the code that I want installed in the browser by Jupyter notebooks.
markong has joined #lisp
<drmeister> The source code that I see in the Chrome Debugging console is older - I'm not sure where it's coming from.
<jdz> drmeister: Chrome is very aggressive with caching.
<jdz> drmeister: I suggest force-reloading the page.
<drmeister> How would I force reload the page?
<jdz> Some combination of control and shift + reload button.
<jdz> Maybe opening in a private window also does not use cache (to test if caching is the problem).
<jackdaniel> kini: some implementations provide unload-module functionality (I know at least that LW does, adding support for it in ECL would be fairly easy too)
<drmeister> jdz: I was able to force reload and I could see it disappear from the console and then return.
<drmeister> Unfortunately it reloaded the same old code - it's stuck in there somewhere.
<drmeister> For instance - this function is in the old code in the Chrome console:
<drmeister> It calls centerView() - which is old
<drmeister> It should read (and the new code in the ~/Development/widget-dev/nglview-v1.0.a1/build/lib/nglview/static/index.js file reads:
<drmeister> ~/Development/widget-dev/nglview-v1.0.a1/build/lib/nglview/static/index.js
<drmeister> I need to figure out how to get jupyter notebooks to send the new code to the browser - argh
Ven has joined #lisp
Ven is now known as Guest66176
<jdz> drmeister: Maybe jupyter is [lazy?] loading needed javascripts on its own? Anyway it all seems to be a caching issue. Maybe you can run "find . -type f -exec touch \{\} +" in your project directory.
Cymew has joined #lisp
<hajovonta> drmeister: are you using hunchentoot?
<drmeister> No - just jupyter notebooks and Chrome
<drmeister> I think I found the old files - there are files with the same old code in ~/Library/Jupyter/nbextensions/nglview-js-widgets this is OS X and this looks like a jupyter notebook specific thing.
<hajovonta> move those files and see what happens :D
shka has quit [Ping timeout: 248 seconds]
Ellenor is now known as Reinhilde
<raynold> ahh it's a wonderful day
<Shinmera> Demonstrably false
fikka has joined #lisp
trosa-work has joined #lisp
scymtym has joined #lisp
trosa-work has quit [Remote host closed the connection]
neoncontrails has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
pjb has quit [Remote host closed the connection]
mson has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
Amplituhedron has joined #lisp
pjb has joined #lisp
pjb has quit [Remote host closed the connection]
Amplituhedron has quit [Read error: Connection reset by peer]
Amplituhedron has joined #lisp
_cosmonaut_ has joined #lisp
neoncontrails has quit [Remote host closed the connection]
Ukari has joined #lisp
_nipc has joined #lisp
murii_ has joined #lisp
dddddd has joined #lisp
pjb has joined #lisp
safe has quit [Read error: Connection reset by peer]
Tobbi has joined #lisp
nirved has joined #lisp
jfb4 has quit [Ping timeout: 268 seconds]
jfb4 has joined #lisp
nowhere_man has joined #lisp
CrazyEddy has quit [Ping timeout: 255 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kaisyu has quit [Quit: Connection closed for inactivity]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
HeyFlash has joined #lisp
eSVG has quit [Ping timeout: 250 seconds]
attila_lendvai has quit [Quit: Leaving.]
wigust has quit [Ping timeout: 248 seconds]
Guest66176 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #lisp
Ven is now known as Guest10002
trosa-work has joined #lisp
test1600_ has quit [Read error: Connection reset by peer]
Guest10002 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trosa-work has quit [Remote host closed the connection]
damke has quit [Ping timeout: 240 seconds]
damke has joined #lisp
Ven has joined #lisp
Ven is now known as Guest67205
smokeink has joined #lisp
m00natic has joined #lisp
milanj has joined #lisp
yeticry has joined #lisp
smokeink has quit [Client Quit]
Guest67205 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry_ has quit [Ping timeout: 248 seconds]
Ukari has quit [Ping timeout: 268 seconds]
CrazyEddy has joined #lisp
nowhere_man has quit [Quit: Konversation terminated!]
nowhere_man has joined #lisp
solene has left #lisp ["Leaving"]
vlatkoB has quit [Remote host closed the connection]
vydd has joined #lisp
pedh has joined #lisp
Ven has joined #lisp
Ven is now known as Guest48862
wxie has joined #lisp
EvW has joined #lisp
nowhere_man has quit [Ping timeout: 252 seconds]
yCrazyEdd has joined #lisp
CrazyEddy has quit [Ping timeout: 240 seconds]
SuperJen has quit [Remote host closed the connection]
SuperJen has joined #lisp
wheelsucker has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 260 seconds]
<HeyFlash> Hi guys
<Shinmera> What's up
<HeyFlash> I'm trying to remember a Common Lisp system that I saw on this channel. Unfortunately I can't remember the name, nor did I fully understand what it does back then. But it sounded very interesting.
<Xach> Oh yeah, that was Barsepholom
<hajovonta> why was it interesting?
<Shinmera> HeyFlash: Well that rules out all of my projects :^)
Reinhilde is now known as Teinhilde
<HeyFlash> As far as I understood, it was a system for documents of any kind, where you could define rules between the source of the document and the "display version" of the document, and the system then worked as an editor that let you edit both the source and a WYSIWYG version of the document in parallel.
fikka has joined #lisp
<Shinmera> The first part makes me think of my article about a unified document processing model, but that never got turned into an actual program, so
<HeyFlash> Xach: Thank you, that's it!
Teinhilde is now known as Reinhilde
<HeyFlash> *Bookmarks page*
dddddd has quit [Remote host closed the connection]
frob has joined #lisp
frob is now known as Guest44491
pedh has quit [Quit: pedh]
TCZ has joined #lisp
Guest44491 is now known as frob
frob is now known as Guest46814
BigSafari has quit [Ping timeout: 240 seconds]
Guest46814 has quit [Client Quit]
random-nick has joined #lisp
<hajovonta> that is interesting indeed
frob1 has joined #lisp
frob1 is now known as auxo
damke_ has joined #lisp
auxo has quit [Client Quit]
frob1 has joined #lisp
Bike has joined #lisp
damke has quit [Ping timeout: 240 seconds]
python476 has joined #lisp
Kevslinger has joined #lisp
xfwduke has joined #lisp
rumbler31 has joined #lisp
frob1 has quit [Quit: WeeChat 1.9.1]
rumbler31 has quit [Remote host closed the connection]
<easye> Oh. I think I get what the idea is in Prolog programming. Has anyone had used https://github.com/trith/trith ?
<easye> (Prolog is basically a concise way of expressing Church term rewriting)
tlaxkit has joined #lisp
<easye> Or one of the ideas in Prolog, anyways.
FreeBirdLjj has joined #lisp
<easye> In Common Lisp, I tend to express term rewriting systems in terms of their overloading of some CL reader.
eSVG has joined #lisp
<easye> I still don't know the best way to debug the result other than "print statements". But maybe I will understand that part after I get something smaller working.
papachan has joined #lisp
rippa has joined #lisp
<easye> projectured is indeed cool. With an SVG backend, I could a lot of my stuff with that code and even get it "projected" in SDL.
frob1 has joined #lisp
frob1 is now known as auxo
murii_ has quit [Remote host closed the connection]
murii_ has joined #lisp
lvo has quit [Remote host closed the connection]
eSVG has quit [Ping timeout: 250 seconds]
<jdz> easye: TRACE is very nice.
foom has joined #lisp
<easye> jdz: Hmm, yeah, I guess the call graph should be expressed via CL:TRACE. Thanks for the reminder.
xfwduke has quit [Ping timeout: 248 seconds]
foom2 has quit [Ping timeout: 250 seconds]
<dmiles> yes.. prolog objects for example: obj(claz_string,"i am a modifiable string") or obj(claz_synonym_stream,sym(pkg_cl,"*STANDARD-OUTPUT*")).
HoloIRCUser2 has joined #lisp
HoloIRCUser2 is now known as nsrahmad
Guest48862 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dmiles> i can modify the string there by setarg(2,Term,"my new modification")
<jackdaniel> why does it look somewhat similar to ecl internals? ,)
<dmiles> though i might be describing the next phase outside of term rewrite but the idea is the terms value is the object
<dmiles> actually the wam thing looks very much like ECL :P
raphaelss has joined #lisp
<dmiles> i think some of my namiing convertions even get borrowed
<dmiles> like how i name the tramploines
vlatkoB has joined #lisp
wxie has quit [Quit: Bye.]
<jackdaniel> wouldn't it be easier to contribute missing pieces to ecl to achieve goals you have in mind? (just asking)
<dmiles> hard to tell
Ven has joined #lisp
Ven is now known as Guest20721
<dmiles> i'd end up effectivly trying to merge in all of SWI-Prolog ;\
<dmiles> but then i rahter do that from YAP-Prolgo but i am not as skilled at YAP
<dmiles> of course i'd find a smoother way (than merging the whole thing in!) but one system ends up being an inferior mode ot that other
<dmiles> (not that would be bad.. it jsut isnt taking full advantage of either)
<dmiles> (like full advantage of when ECL has locative abilities)
<dmiles> the garbage collector in SWI-prolog (which manages the locatives) needs to be picking up the ECL locatives
<dmiles> (that is the sort of thing that sounds like brutal coding)
<jackdaniel> OK, thanks for explaining this
yCrazyEdd has quit [Ping timeout: 248 seconds]
<dmiles> so if SWI-prolog is managing the heap and things for ECL, (ECL wouldnt mind such "micro"-managment) SWI prolog needs to become smarter when it dealing with the beutifful ECL objects
<jackdaniel> btw, I've started writing tutorial how to add first-class types to ECL (like mentioned locatives)
<jackdaniel> as part of internals documentation
<dmiles> oh good.. yeah i really need such documentaiton.. since i really do have to see how far down ECL went toward the WAM
<dmiles> like before.. i wrote a 10k line interface between ECL and SWI-Prolog and never even noticed!
raphaelss has quit [Ping timeout: 252 seconds]
<dmiles> (the reason i chose ECL was the embeddability alone .. the locatives was almost and accident )
dddddd has joined #lisp
<dmiles> an accident.. but of course i dreamed about having things like symbol values that after failure would unbind
<dmiles> (to their previous values)
CrazyEddy has joined #lisp
LiamH has joined #lisp
AxelAlex has joined #lisp
smokeink has joined #lisp
Ukari has joined #lisp
Josh_2 has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
oleo has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
CrazyEddy has quit [Ping timeout: 260 seconds]
kami has joined #lisp
Guest20721 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #lisp
Ven is now known as Guest25826
<kami> Hello #lisp
Guest25826 has quit [Client Quit]
Amplituhedron has quit [Read error: Connection reset by peer]
milanj has joined #lisp
TCZ has quit [Quit: Leaving]
<beach> Hello kami.
<kami> Xach: quicklisp-client's minitar implementation doesn't honour the file's mtime inside the archive. I have a use case where it is important to do so.
<kami> Hi beach.
mrspec is now known as Spec
CrazyEddy has joined #lisp
Spec is now known as mrSpec
<Shinmera> kami: That doesn't sound like a good thing to rely on
<Shinmera> What exactly is your use case?
milanj has quit [Quit: This computer has gone to sleep]
sjl__ has joined #lisp
Ven has joined #lisp
Ven is now known as Guest92717
auxo has quit [Quit: WeeChat 1.9.1]
frob has joined #lisp
frob is now known as Guest33202
Guest33202 is now known as auxo
AxelAlex has quit [Ping timeout: 258 seconds]
<kami> Shinmera: I use the archives in a Docker container, but don't unpack them at Docker image creation time (to reduce the image size). Without mtimes from the archive, every time a lib is quickloaded, the lisp files have a newer timestamp than the (possibly mounted) fasl files.
lnostdal has quit [Ping timeout: 240 seconds]
smokeink has quit [Remote host closed the connection]
Guest92717 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexmlw has quit [Quit: alexmlw]
Ven has joined #lisp
<kami> Shinmera: what are your concerns, if I wanted the unpacked files to have the same timestamps as the files in the archive? This is default tar behaviour (at lead GNU tar).
Ven is now known as Guest9401
<kami> s/lead/least/
<Shinmera> kami: Timestamps can generally change for a lot of reasons
<Shinmera> As for QL doing "the right thing", CL doesn't expose the ability to update timestamps, and doing so portably would probably be quite a bit of pain.
<kami> Shinmera: I would expect the mtime of files in ~/quicklisp/dists/quicklisp/software/ not to change. If I wanted to hack the sources, I'd check out the original repos.
sjl__ has quit [Ping timeout: 248 seconds]
<Shinmera> What you could do is hack ASDF to disregard the timestamps for stuff located in the QL repository.
smokeink has joined #lisp
Guest9401 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kami> Shinmera: QL already contains implementation specific parts. I don't think it'd be too difficult to implement the desired behaviour.
<Shinmera> I'm saying the implementation might not expose that either.
<Shinmera> And I'm saying it might even differ depending on the present filesystem.
<kami> Shinmera: I understand. Thanks for the hint.
eudoxia has joined #lisp
python476 has quit [Ping timeout: 268 seconds]
Tobbi has joined #lisp
Ven_ has joined #lisp
jstoddard has joined #lisp
scymtym has quit [Ping timeout: 246 seconds]
nsrahmad has quit [Quit: nsrahmad]
sz0 has joined #lisp
tlaxkit has quit [Quit: ¡Adiós!]
neoncontrails has joined #lisp
wheelsucker has joined #lisp
wheelsucker has quit [Remote host closed the connection]
AxelAlex has joined #lisp
Cymew has quit [Remote host closed the connection]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wheelsucker has joined #lisp
smokeink has quit [Remote host closed the connection]
flamebeard has quit [Quit: Leaving]
Ven_ has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AxelAlex has quit [Ping timeout: 258 seconds]
wheelsucker has quit [Ping timeout: 255 seconds]
Ukari has quit [Remote host closed the connection]
Ven_ has quit [Read error: Connection reset by peer]
Ven has joined #lisp
Ven is now known as Guest32335
shifty has quit [Ping timeout: 268 seconds]
AxelAlex has joined #lisp
raphaelss has joined #lisp
fikka has joined #lisp
dec0n has quit [Read error: Connection reset by peer]
wheelsucker has joined #lisp
AxelAlex has quit [Ping timeout: 258 seconds]
fikka has quit [Ping timeout: 240 seconds]
Guest32335 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
FreeBird_ has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
<beach> minion: memo for shka: More comments here: http://metamodular.com/comments.text
<minion> Remembered. I'll tell shka when he/she/it next speaks.
asarch has joined #lisp
fikka has joined #lisp
eschatologist has quit [Ping timeout: 240 seconds]
prettty-girl has joined #lisp
neoncontrails has quit [Remote host closed the connection]
milanj has joined #lisp
<hooman> "they" might have been sufficient.
<hooman> "then they next speak."
<Shinmera> Maybe so if you're a boring stick in the mud
nowhere_man has joined #lisp
raphaelss has quit [Remote host closed the connection]
Karl_Dscc has joined #lisp
thinkpad has quit [Ping timeout: 255 seconds]
<tfb> hooman: that's dialect-dependent I think (I can say it as could both my parents, some people find it very marked)
<beach> I can't get used to the singular "they".
<Shinmera> The he/she/it thing is a subtle quip, that's all.
<hooman> #define they he/she/it
hajovonta has quit [Quit: hajovonta]
mingus has quit [Ping timeout: 255 seconds]
<asarch> Is there any chess game written in Lisp?
<beach> I think stassats is working on one.
<asarch> Thank you
<beach> "Thank you very much, beach! :)"
<asarch> Bonjour, monsieur beach. Comment vas-tu aujourd'hui?
<asarch> :-)
<beach> Très bien, merci!
scymtym has joined #lisp
HeyFlash has quit [Remote host closed the connection]
damke has joined #lisp
<hooman> and aeth as well i think.
damke_ has quit [Ping timeout: 240 seconds]
k-stz has joined #lisp
<drmeister> When I do a (DEFTYPE FOO ...) - is there any way to determine if FOO is a type?
fikka has quit [Ping timeout: 240 seconds]
<Shinmera> No
<Shinmera> But you're writing an implementation, so you can make there be a way.
python476 has joined #lisp
vydd has quit [Ping timeout: 255 seconds]
<beach> Yes, for example: sicl-global-environment:type-expander, which returns NIL if the symbol is not associated with any type.
Tobbi has joined #lisp
<Bike> in clasp it would be (sys:getprop typename 'sys::deftype-definition), i think
Colleen has joined #lisp
<beach> I am sorry to hear that.
<Bike> i'll be changing it to something clearer for the sake of building from other implementations
<Bike> it can be more complicated in other places too, sbcl doesn't have a "setf expander function" for all cases
ehmry has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
_cosmonaut_ has quit [Quit: Leaving.]
<ehmry> hi, I'm trying to implement a simple DSL as a lisp, but I don't how to pass a list as arguments to a procedure that takes multiple arguments. Would this be `(cons procedue arglist)`?
<beach> clhs apply
hooman has quit [Read error: Connection reset by peer]
<ehmry> beach: ok, and then `map` is `apply` over each list member?
whoman has joined #lisp
<beach> I don't know what that means. Maybe you can explain a bit more what it is you need.
<ehmry> nevermind, I think I had map and apply confused
kami has quit [Ping timeout: 240 seconds]
<tfb> map is funcall on each element, not apply
<ehmry> right, thanks
myrkraverk has quit [Ping timeout: 240 seconds]
tfeb has joined #lisp
<pjb> (map 'list 'apply '(+ + + -) '(1 1 1 3) '(8 6 4 2) '((100 200) (1000 2000) (10000 20000) (100000 200000))) #| --> (309 3007 30005 -299999) |#
<beach> pjb: Confusing the newbies again? :)
lerax has joined #lisp
<lerax> Why some people refers Lisp community to be on the heavens of the Ivory Tower? Like on this article: https://fsharpforfunandprofit.com/fppatterns/
<beach> lerax: What phrase are you referring to in that link?
<lerax> I don't think Lisp is particular more difficult than other languages, even languages that encourages FP-style like Haskell, F# and ML.
<lerax> This image on the end of the article.
<lerax> I know is a joke.
<lerax> I know that is a joke *
<beach> I see, yes.
<jackdaniel> lerax: you have to ask them, why they make such jokes, usually is so that they look better
<lerax> But, there is some true on that, don't you think?
<jackdaniel> judging from picture, I bet it was made by f# entusiast
<jackdaniel> because they place themself in the best spot on the picture
<jackdaniel> well, I don't, but I'm biased of course
<lerax> jackdaniel: yes, was made by a F# programmer.
<jackdaniel> see? and I wasn't cheating, only looked at the picture (I saw url after making that guess)
<ehmry> I hardly use or understand lisp, but the last time someone asked me how programming works I gave them a lisp book
<jackdaniel> heh
<jackdaniel> same here
<lerax> jackdaniel: but I saw that sometimes that some peoples thinks that LISP is something not so acessible and that. I don't understand why they think. In past I tried think about that because the parenteses and prefix style... but oh god, why this is so difficult?
<jackdaniel> regarding understanding ;)
<beach> lerax: Some people are weird, and seem to get very agitated by the choices of others. You can safely ignore them.
eagleflo has quit [Read error: Connection reset by peer]
orivej has quit [Remote host closed the connection]
<beach> lerax: This is especially true for people who feel insecure, i.e. they are not sure that they spent that much time on the right choice.
<lerax> beach: ok, I'm just trying to receive a feedback about the LISP community about what they think about that. I like LISP, but on my groove, it's just me.
<beach> lerax: So their weapon is to try to discredit others.
<jackdaniel> lerax: as I mentioned, you must ask them. maybe they tried to learn lisp and failed for some reason? or they have heard someone who did?
<lerax> jackdaniel: seems some like that.
<jackdaniel> lerax: LISP is an old language nobody uses now. There is a whole family of languages which come from, or are inspired by LISP
<beach> lerax: I don't think anybody here likes "LISP", because we have written it "Lisp" for the past few decades.
orivej has joined #lisp
<lerax> jackdaniel: sincerely, my Java lectures was more difficult for me than learn Common Lisp alone.
<jackdaniel> this channel is about Common Lisp, which is fairly newer language
<beach> lerax: Like I said, don't worry about those people.
<lerax> jackdaniel: I understand that, but the article attack all LISP family as you see.
eagleflo has joined #lisp
<lerax> jackdaniel: so I'm thinking that can be something related to excel of parenthesis style? :v
<beach> lerax: That shows their ignorance, because there is not a well defined "Lisp family"of languages.
<lerax> excess*
<jackdaniel> I won't bother to look at the "article", I'm not particularily interested in reasons – I've tried to answer your question
<beach> lerax: What is your point?
<lerax> jackdaniel: yes, I'm ok with your answer.
<lerax> jackdaniel: just trying see if this wrong misconception is something spread or not.
<lerax> (about Lisp being top of ivory tower and etc)
neoncontrails has joined #lisp
<tfb> lerax: people have done that since before I was born probably: the answer is to stop worrying and love the bomb.
<lerax> jackdaniel: just curiosity, in general. Thanks for you answer.
<jackdaniel> you'll find people complaining about lisp, haskell, java, basic, cobol, f#, ruby, python etc, the thing is people like some languages and sometimes try to make them look better by comparing them to others
<jackdaniel> sure, glad I could help, see you around ;)
<lerax> jackdaniel: I'm learning in past of the two years, but is very common for me seeing things like that for people who knows Lisp or failed learning it.
<beach> lerax: For what it's worth, people who come here to #lisp remark on the fact that it is one of the friendliest channels they have every visited.
<lerax> jackdaniel: so in general that is not a very good reference, this is why I'm asking here.
shka has joined #lisp
<jackdaniel> I doubt people lurking here would dislike Lisp (as some vague idea), they wouldn't be here otherwise (probably)
<beach> lerax: You will find some explanations to such behavior here: http://metamodular.com/Essays/psychology.html
<lerax> beach: Yes, I think that too. Times and times I visit here and is a good place for me. I'm not wanting to judging or something else, but #c is a really hard channel to follow on freenode, for instance. #haskell is another good channel as lisp.
<lerax> beach: thanks.
mson has joined #lisp
jmercouris has joined #lisp
<jmercouris> Anyone know how to customize the port that swank starts up in?
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lerax> jmercouris: 'slime-port ?
<jmercouris> lerax: I found the answer just now actually
<jmercouris> When you create the server you can specify a port
<lerax> nice
<lerax> jmercouris: but I'm thinking that you can change through slime-port as well (this is the default port set to 4005)
<jmercouris> If you want to change from where it starts (assuming you are launching in emacs) you are right though, you'd edit that var
<jmercouris> Yeah you can, theres a defcustom slime-port 4005 located in slime.el
<jmercouris> My use case is not launching from within emacs though, hence why I need to specify a slime port manually
<lerax> jmercouris: I understand now. So you'll set like: (swank:create-server :port <your-custom-port>)
Jesin has joined #lisp
<jmercouris> Yeah, I'll do that within my lisp application so that someone can connect an emacs slime to it
<jmercouris> correct
<lerax> jmercouris: great. What are you doing? Can you share?
<jmercouris> lerax: I'm working on a browser: https://github.com/nEXT-Browser/nEXT
m00natic has quit [Remote host closed the connection]
<jmercouris> It's in very early alpha but basic navigation, bookmarks, link hints, stuff like that is working
* lerax is opening the nEXT project
<whoman> (swank:create-server :port 4006)
<jmercouris> whoman: Yes
thebardian has quit [Remote host closed the connection]
<jmercouris> I was planning on using 4006 as the default with a user customizable defparameter
<lerax> jmercouris: seems pretty nice
<whoman> oops sorry, i was browsing while you guys were typing =)
<jmercouris> lerax: Thanks
<whoman> (i had two swanks going when i was using stumpwm)
<jmercouris> Unfortunately only the MacOS port is completed at this time, as QT support was dropped in favor of a new architecture
<jmercouris> I'm currently working on finding someone to work on the GTK port
<jmercouris> There was an issue made here by one user: https://github.com/nEXT-Browser/nEXT/issues/14
<lerax> Hmm, that will be great. I don't have MacOS and only have on my machine the SBCL.
<jmercouris> I guess on Linux theoretcially any implementation will work
<jmercouris> theoretically* as bindings exist for GTK that work on most implementations
<lerax> Yes, I understand. But you use something specific of CCL?
<jmercouris> Yeah, I use the objective-c bridge on MacOS
<jmercouris> That's how I do native cocoa views/webkit on MacOS
<jmercouris> yields significantly better performance over other solutions
<jmercouris> I tried the nectar of cross-platform with QT, and was dissapointed by the performance, so I really modularized the code and created an interface interface to allow for easy porting
<whoman> seen Ceramic ?
<lerax> jmercouris: I understand. I'm reading the thread that you sent here. That really can be fixed with some dynamic conditionals, but is work to do.
<jmercouris> that's the interface one ahs to impelment
<jmercouris> whoman: What's ceramic?
ehmry has left #lisp ["User left"]
<whoman> ceramic.github.io
<lerax> Seems pretty neat.
<whoman> electron for common lisp
<whoman> i used it briefly
<lerax> D: electron
<lerax> it's scares me.
<jmercouris> whoman: I literally just said I was looking for performance :D
<lerax> whoman: works fine for you? I don't like electron that much.
<lerax> jmercouris: I prefer your approach.
Sigyn has quit [Quit: NO HEARTBEAT, NO SERVICE.]
<whoman> sorry guys i wasnt selling the ultimate product in the world. im just showing you all the related stuff that is out there.
<lerax> jmercouris: would be nice support on GTK+Linux on future. I would try.
<lerax> whoman: no problem, thanks for sharing it!
Sigyn has joined #lisp
<jmercouris> lerax: Yeah, it'll come hopefully, at the very least if it gains some popularity on OSX, it'll attract enough attention to hopefully find someone to make a port
FreeBird_ has quit [Remote host closed the connection]
<whoman> i guess no one has used electron? atom and vs.code are very fast for me.
<jmercouris> It should be trivial enough to make a port as all of the interface code is very extracted from the other part
<whoman> webbrowser = already ported everywhere, latest tech and gfx and hardware
<whoman> so like. im also pointing at something else here
<whoman> Qt and GTK is the best we have got otherwise
<jmercouris> whoman: What are you pointing at?
<whoman> so yeah
<jmercouris> My primary issue with QT is that it does any painting to the screen for whatever OS it is ported on, so the speed at which it can update and render things is contingent upon the skill of the QT maintainers
<whoman> does any?
Karl_Dscc has quit [Remote host closed the connection]
<lerax> whoam: I have to use sometimes and the amount of RAM that used is something unacceptable. VsCode + Ionide + F# + WebPack + Fable takes about 3GB of my RAM. In general for editors I prefer something like Emacs or Sublime Text (which is very efficient).
<jmercouris> So on OSX I was having huge graphical performance issues, whereas with native, it is way way faster, and way lighter
<whoman> X11 itself is quite fast/native for as many platforms
<lerax> I use some electron applications, but I really don't like.
<whoman> not sure what you are looking for.,
SaganMan has quit [Quit: WeeChat 1.6]
<jmercouris> whoman: Performance
<whoman> i only have 2GB ram, i can basically only run firefox. i am [literally] in the process of installing 32bit ff
<lerax> whoam: https://github.com/GGBRW/BOOLR a good application distributed as a electron app that I use, for instance.
<whoman> okay well. maybe you should look at SDL or OpenGL
<whoman> vulkan
<jmercouris> whoman: No, I'd rather use a pre-compiled version of webkit as part of a graphical toolkit that contains the implementation for rendering already done
<whoman> cuda, opencl - super fast
<lerax> whoman: how you can use electron? I don't understand. I only have 4GB and almost anything electron app is a hell for me.
<jmercouris> I know that I am not capable enough to make something better than the maintainers of a GUI toolkit that is NATIVE to a given platform
<lerax> I even need to dropout systemd that is another giant cancer as init.
<whoman> jmercouris, right. so, existing web browsers who have done all the work. so i am not sure what you are looking for
<jmercouris> whoman: I am only looking for performance
<jmercouris> what is unclear about that?
<whoman> well i am still pointing. nothing is unclear on my side =)
<jmercouris> You have to separate mentally the chrome from the actual browser
<jmercouris> I am not interested in the chrome that ships with any browsers today
<whoman> webkit is like a super platform. sure its hip and all the kids play facebook youtube on it, but let us look at things logically here
<jmercouris> In this case turning the browser into the chrome is a huge mistake
<whoman> webkit, you are saying right ?
<jmercouris> I have a strong feeling you are just trolling me at this point
eudoxia has quit [Quit: Leaving]
<whoman> chrome, chromium, electron, ... wait what? okay sorry. was jus ttrying to help. im going for a bike ride, good luck on your project my friend!
<jmercouris> Thank you! and enjoy your bike ride!
<whoman> thanks i will =)
lerax has left #lisp ["chrome+chromium+webkit+js+css+html=the-ultimate-cancer-package"]
<jmercouris> I just realized, you know what would be a really cool feature, scripting emacs to make nEXT do stuf
<jmercouris> for example you should be able to click on a symbol and have it open up a new tab with the clhs at the appropriate page
<Josh_2> But that's what happens when you type C-c-d h
<Josh_2> Something like that
<jmercouris> I know, I'm just giving an example
<jmercouris> You could do a lot of things
rumbler31 has joined #lisp
thebardian has joined #lisp
fikka has joined #lisp
Arcaelyx has joined #lisp
<whoman> isn't that just swank ..?
fikka has quit [Ping timeout: 240 seconds]
<whoman> we should add swank/ECL to everything
<whoman> 20-30 years ago a project was started as the official GNU scripting extension language. you know how we all use bash, gcc, make, ls, all the gnu things? we are supposed to be using Guile for all the things!
<whoman> =P
tfeb has quit [Remote host closed the connection]
tfeb has joined #lisp
lnostdal has joined #lisp
tfeb has quit [Ping timeout: 240 seconds]
juki has joined #lisp
juki has quit [Remote host closed the connection]
dboswell has joined #lisp
<jackdaniel> yeah, ecl everywhere! ;-)
eudoxia has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 240 seconds]
vydd has joined #lisp
vydd has quit [Changing host]
vydd has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
neoncontrails has quit [Remote host closed the connection]
raphaelss has joined #lisp
nirved has quit [Quit: Leaving]
LiamH has quit [Quit: Leaving.]
juki has joined #lisp
neoncontrails has joined #lisp
varjagg has joined #lisp
itruslove has quit [Ping timeout: 252 seconds]
sjl has joined #lisp
<whoman> yeah11
<whoman> *!!
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
sjl__ has joined #lisp
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
<jmercouris> Yeah, guile didn't live up to the hype
sjl__ has quit [Ping timeout: 248 seconds]
<aeth> I have a custom stream called a pipe (actually, there are character and byte versions) that you can read to and write from, and I have an empty? method that sees if anything is there. I then use bt:with-lock-held to write in one thread and read if not empty in the other, in two separate loops. The read is tied to the framerate, the write is on its own timer, of at least 1 sec.
<aeth> Is this working just because of coincidences or is this actually okay?
random-nick has quit [Remote host closed the connection]
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #lisp
<shka> aeth: that is called synchronized queue
<minion> shka, memo from beach: More comments here: http://metamodular.com/comments.text
<shka> beach: thanks! i will check right away!
<aeth> Just to be clear, the stream is just a very thin abstraction over a circular buffer queue of char or bytes. The whole thing is surprisingly concise.
klltkr has joined #lisp
<shka> beach: Well, honestly it is kinda embarrassing that all you have are spelling and grammar mistakes
jmercouris has quit [Ping timeout: 248 seconds]
jmercouris has joined #lisp
emerson has quit [Quit: WeeChat 1.9.1]
emerson has joined #lisp
fikka has joined #lisp
jmercouris has quit [Ping timeout: 248 seconds]
EvW1 has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
python476 has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
AxelAlex has joined #lisp
eSVG has joined #lisp
AxelAlex has quit [Client Quit]
thebardian has quit [Remote host closed the connection]
eudoxia has quit [Remote host closed the connection]
random-nick has joined #lisp
python476 has joined #lisp
josemanuel has joined #lisp
Josh_2 has quit [Remote host closed the connection]
akem has joined #lisp
wigust has joined #lisp
Andy has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Tobbi has joined #lisp
juki has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
random-nick has quit [Remote host closed the connection]
Baggers has joined #lisp
eSVG has quit [Ping timeout: 258 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
random-nick has joined #lisp
<Baggers> Given a struct that has 1 slot with a valid init-form and one boa constructor that takes no arguments, will an instance of the struct made via this constructor have the slot initialized via the init-form or is the value implementation defined?
joncol has joined #lisp
<Bike> the initform, surely
<joncol> Yo! I'm doing some `princ':ing and some `format t "xyz"':ing, but nothing is shown!? I'm running sbcl + Emacs + some SDL muumbo jumbo. What dives?
<Bike> check *inferior-lisp*? perhaps that mumbo jumbo rebinds standard output, though.
<joncol> Bike: Truth! That's were it all went
<joncol> What's the reasons behind this?
<Bike> you are of course aware that if not otherwise controlled, princ will output to *standard-output*, and the t in format t stands for *standard-output*. something in your setup has probably rebound this.
<Bike> for example, it might have started a new thread, which uses the default standard output binding rather than the repl binding.
akem has quit [Quit: Leaving]
<Bike> you could do (princ *standard-output*) and see if it looks like it matches the repl *standard-output*;.
<Baggers> Bike: I had hoped so, and testing with sbcl suggests this, but I got a tad confused reading this http://www.lispworks.com/documentation/HyperSpec/Body/03_df.htm where it talks about when a slot's value is implementation defined
varjagg has quit [Ping timeout: 248 seconds]
<joncol> Bike: with your help, I'm beginning to fathom it all. But how would I go about things if I were to have the inclination to put all the output into a single REPL window? Making it all appear in one single place?
eSVG has joined #lisp
<Baggers> joncol: are you using sdl2kit?
<joncol> No
<joncol> What is that?
<p_l> Guile apparently shows up in various places in GNU ecosystem, but then a) RMS really mismanaged GNU the operating system b) his lisp promises were mostly empty ;)
<Baggers> joncol: one way of interacting with sdl
* p_l recently found out that GNU make supports Guile
<joncol> Baggers> Really cool yt videos btw!
<Bike> Baggers: this is specifically for &aux, as it explains in the text
varjagg has joined #lisp
<Baggers> joncol: thanks!
<joncol> I'm using cl-sdl2
<Bike> joncol: i don't know enough about your setup. what it boils down to is that you need to make sure the stream you're writing to is the emacs one.
<Baggers> Bike: thankyou, not sure why my brain was stuck on this, but that helps
<Bike> Baggers: i didn't know about that wrinkle myself.
<joncol> Bike: So no easy way of redirecting the output to the *inferior-lisp* to be placed instead in the *slime-repl sbcl* buffe?
<Bike> there might be an easy way, but i can't know, given that i have no idea what the heck you are doing
<joncol> Haha\
wooden_ has quit [Ping timeout: 248 seconds]
<Baggers> the sdl2 thing is (most likely) that sdl2 is dispatching the code down to the main thread (thread 0), and that doesnt have *standard-output* bound to the same output as your repl thread
<joncol> Oh
<Baggers> I'll just go peek as I cant remember if it was sdl2 or sdl2kit that does this
<Baggers> joncol: the reason for it doing this is to handle system which complain when you try and interact with the window manager from a thread other than thread0 (macOS for example)
Andy has quit [Quit: Leaving]
<Baggers> I think I remembered that correctly, you should come over to #lispgames where some of the folks with a better understanding of that lib than I can help
<joncol> OK... I don't know the theory behind the the *inferior-lisp* buffer vs the *slime-repl sbcl* buffer... But it seems user-friendly to put all the output in one place?
<p_l> joncol: inferior-lisp is the stdout of the binary started by Emacs
<p_l> i.e. it's handled from *outside* of lisp image
<p_l> *slime-repl* buffer is provided by swank rebinding streams to talk with it
eschatologist has joined #lisp
<Baggers> joncol: you can also think of as being the lisp process itself. Slime started it for you as that is the common case, but the lisp process might already be running, then you use slime-connect. That process might even be on a totally different machine, which is handy for working on systems remotely
<joncol> p_l: Hmm, OK. I guess it makes sense but I don't feel fully satisfied after hearing that explanation.
Jen has joined #lisp
<p_l> we live in imperfect world
Jen is now known as Guest81424
<joncol> No doubt about it.
wheelsucker has quit [Ping timeout: 268 seconds]
SuperJen has quit [Ping timeout: 250 seconds]
<joncol> Baggers: Btw, what does CEPL provide on top of manually interacting with OpenGL?
<joncol> It's always fun to reinvent wheels, but are there reasons not to?
<Shinmera> A good reason is not having to work on lots of really, extremely tedious details.
<Baggers> joncol: It makes the gl api more pleasant to use interactively (more repl friendly). It removes a tonne of boiler plate around vaos. It allows you to write you shaders in lisp. It allows you to use concepts in your shaders that arent usually available like first class functions. It allows structs and functions outside of the pipelines so you dont have duplication between shaders
<Baggers> and some more
<joncol> OK, that's cool! I'll look into it.
vancan1ty has joined #lisp
<joncol> Shinmera, the other youtube lisper! Cool videos you have as well, :)
<Shinmera> Thanks!
<Shinmera> I have to go sleep to bed now tho, so gnight
<joncol> Gnight
random-nick has quit [Remote host closed the connection]
<Ober> yeah great videos
<Ober> now if only you could have the elisp functions being invoked show up in the mini buffer
fikka has joined #lisp
zulu_inuoe has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
shka has quit [Ping timeout: 240 seconds]
<joncol> Is there some command to clear the slime namespaces?
<joncol> If that makes sense.
<joncol> (In Emacs.)
jmercouris has joined #lisp
<jmercouris> I'm having a very interesting issue with Slime
<jmercouris> If I start Slime and load my system, and start my program all functions work normally
<jmercouris> if I compile my system as a standalone executable, and then start swank, slime connect, some of my functions work properly but the changes in the GUI do not seem to take effect
<jmercouris> Here's a gist with some information: https://gist.github.com/5f9602826151b8f615433cd1f4fd4b34
<jmercouris> Any ideas? Why could it be that invoking a function would work if I started the program from slime, and not work if I started a swank server and connected to it
vancan1ty has quit [Ping timeout: 250 seconds]
itruslove has joined #lisp
asarch has quit [Quit: Leaving]
<jmercouris> So I have an element in a list right, and I know how to get the next element using CDR, but I can't go back right? as I assume Lisp only provides singly linked lists out of the box yes?
thebardian has joined #lisp
<Bike> cons cells form singly linked lists, yes.
Amplituhedron has joined #lisp
<Bike> as for your gui thing, perhaps your gui program doesn't work if it's not run from the main thread?
<jmercouris> That's true changes don't work if not run from the main thread
<jmercouris> I'm not sure how to get around that
<jmercouris> The thing is that many of my commands I'm calling from within slime have a wrapper macro already to run on the main thread
<Bike> so... those macros aren't working?
<jmercouris> So for example that functiion I'm calling in my example: https://github.com/nEXT-Browser/nEXT/blob/master/next/source/cocoa/cocoa.lisp#L185
<jmercouris> I'm not sure if the macro is not working or not working as intended
<jmercouris> I mean the functions do return, it's not like it is blocking forever or something
<jmercouris> the strange result is only that the gui does not get updated
<jmercouris> it really doesn't quite make sense to me why that macro would work in one context but not another
<jmercouris> perhaps something about the event-process is different within the image of my standalone app than when I load it via slime
<Bike> i don't think i know
<jmercouris> Thanks anyway :)
<jmercouris> Sometimes rubber duck is enough even to get me thinking on a certain path
pierpa has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 240 seconds]
fraya has joined #lisp
thinkpad has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josemanuel has quit [Quit: leaving]
<Ober> xb
jmercouris has quit [Ping timeout: 248 seconds]
<Ober> ahh that is macos only?
wooden has joined #lisp
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sjl__ has joined #lisp
shifty has joined #lisp
sjl__ has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
papachan has quit [Quit: Saliendo]
zachk has joined #lisp
waveprop has joined #lisp
varjagg has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
kolko has quit [Quit: ZNC - http://znc.in]
mishoo has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
wxie has joined #lisp
vydd has quit [Ping timeout: 268 seconds]
raphaelss has quit [Ping timeout: 268 seconds]
hooman has joined #lisp