jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
Inline has quit [Read error: Connection reset by peer]
mrcom has quit [Ping timeout: 265 seconds]
rixard has quit [Read error: Connection reset by peer]
rixard has joined #lisp
Inline has joined #lisp
rixard has quit [Read error: Connection reset by peer]
rixard has joined #lisp
cosimone has joined #lisp
matryoshka` has quit [Quit: ZNC 1.8.2 - https://znc.in]
wire_wolf has joined #lisp
dbotton has quit [Quit: This computer has gone to sleep]
anticrisis has quit [Quit: Leaving]
anticrisis has joined #lisp
pfdietz has quit [Quit: Connection closed]
perrier-jouet has joined #lisp
igemnace has joined #lisp
iamFIREcracker has joined #lisp
iamFIREc1 has quit [Read error: Connection reset by peer]
Jesin has quit [Quit: Leaving]
charles` has quit [Ping timeout: 260 seconds]
aoeuoau has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
cosimone has quit [Quit: cosimone]
torbo has joined #lisp
Jesin has joined #lisp
contrapunctus has joined #lisp
jeosol has quit [Quit: Connection closed]
jonatack has quit [Ping timeout: 264 seconds]
dhil has quit [Ping timeout: 264 seconds]
madage has quit [Remote host closed the connection]
madage has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 256 seconds]
elliot` has joined #lisp
mrcom has joined #lisp
srandon111 has quit [Quit: leaving]
CrazyPython has joined #lisp
<elliot`> Hello! Does anyone know if it is possible to reload a foreign library, using CFFI, and see changes without restarting the running Lisp process? In the documentation for `cffi:load-foreign-library' it says the library is reloaded if already loaded, but this does not seem to work for me.
imode has quit [Quit: WeeChat 3.0]
dbotton has joined #lisp
imode has joined #lisp
vutral_ has joined #lisp
dbotton has quit [Quit: This computer has gone to sleep]
<devon> elliot`: apparently CFFI::CANARY can be configured to inhibit reload
dbotton has joined #lisp
Nilby has quit [Ping timeout: 264 seconds]
<devon> Would QuickLisp break if users share ~/quicklisp/dists/quicklisp/archives -> /usr/share/...
matryoshka has joined #lisp
<elliot`> devon: Thanks! I'll have a look.
toorevitimirp has joined #lisp
dbotton has quit [Quit: Leaving]
teej has joined #lisp
natj212 has quit [Ping timeout: 272 seconds]
luni has quit [Quit: Connection closed]
wsinatra has quit [Quit: WeeChat 3.0.1]
Lord_of_Life_ has joined #lisp
semz has quit [Ping timeout: 260 seconds]
ralt has quit [Quit: Connection closed for inactivity]
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
elliot` has quit [Ping timeout: 272 seconds]
aoeuoau has quit [Quit: Connection closed]
torbo has quit [Remote host closed the connection]
rixard_ has joined #lisp
rixard has quit [Read error: Connection reset by peer]
semz has joined #lisp
semz has joined #lisp
semz has quit [Changing host]
Sheilong has quit []
CrazyPython has quit [Ping timeout: 240 seconds]
prxq_ has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
prxq has quit [Ping timeout: 265 seconds]
rixard_ has quit [Read error: Connection reset by peer]
rixard has joined #lisp
rixard_ has joined #lisp
rixard has quit [Read error: Connection reset by peer]
pillton has quit [Quit: ERC (IRC client for Emacs 27.1)]
Alfr has joined #lisp
<beach> Good morning everyone!
charles` has joined #lisp
Alfr_ has quit [Ping timeout: 260 seconds]
dbotton has joined #lisp
<dbotton> If anyone would like to try out the clog-gui desktop in your browser - http://office.botton.com:8080/
dbotton has quit [Quit: Leaving]
Codaraxis__ has quit [Read error: Connection reset by peer]
rixard_ has quit [Read error: Connection reset by peer]
hendursa1 has joined #lisp
Codaraxis has joined #lisp
rixard has joined #lisp
hendursaga has quit [Ping timeout: 268 seconds]
Codaraxis_ has joined #lisp
mister_m has quit [Ping timeout: 240 seconds]
Codaraxis has quit [Ping timeout: 240 seconds]
bilegeek has quit [Quit: Leaving]
ikrabbe|2 has joined #lisp
cantstanya has quit [Remote host closed the connection]
ikrabbe has quit [Ping timeout: 240 seconds]
long4mud has joined #lisp
cantstanya has joined #lisp
<charles`> dbotton: that is very impressive and ambitious, also a little buggy.
pankajsg has joined #lisp
skapata has quit [Ping timeout: 272 seconds]
jeosol has joined #lisp
akoana has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
Bike has quit [Quit: Lost terminal]
vutral_ has quit [Quit: Connection closed for inactivity]
<contrapunctus> Reading CL sources, I am able to appreciate (Elisp) `checkdoc`'s insistence on adding a docstring for every definition, and documenting every argument. x-P
aartaka_d has joined #lisp
<contrapunctus> What if Quicklisp made it necessary for all new CL systems to have docstrings for every definition, a la MELPA? 🤔
<beach> It is pretty pointless to have docstrings for every definition. Definitions internal to some system are not meant to be used by clients of that system, so the people who need to know about those definitions are the same as the ones that will read the code.
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 272 seconds]
<contrapunctus> beach: in my case, I'm using `legit`, which is missing a command I want, so I looked at the source and found `define-git-wrapper` which is used to define all the commands. But it's entirely undocumented. I guess lack of documentation hinders not just use, but contributions too.
<contrapunctus> (I can at best guess how to use it, by hopefully understanding the intent from the source and by reading the other calls...but a guess is a lot worse than the word of god^Athe author.)
waleee-cl has quit [Quit: Connection closed for inactivity]
xlarsx has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
zaquest has quit [Remote host closed the connection]
<beach> contrapunctus: Comments are the "documentation" meant for the other category, i.e. the ones that are also likely to read the source code. Documentation strings are for clients who are interested only in the protocol/interface.
galex-713 has joined #lisp
phantomics__ has quit [Quit: Ex-Chat]
phantomics has joined #lisp
zaquest has joined #lisp
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #lisp
xlarsx has quit [Quit: Connection closed]
xlarsx has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
paul0 has joined #lisp
holycow has joined #lisp
_paul0 has quit [Ping timeout: 272 seconds]
wire_wolf has quit [Quit: Leaving]
<jasom> Implementing yaml in CL, I found a discrepancy between the BNF used in the reference implementation and the specification :/
<beach> The reference implementation and the specification of yaml, I suppose, yes?
cchristiansen has quit [Remote host closed the connection]
xlarsx has quit [Quit: Connection closed]
<jasom> yes. It looks like the two grammars are equivalent, but was very confusing because they mirror each other except for a single place
<jasom> And I implemented according to the spec and stole the unit tests from the reference implementation
xlarsx has joined #lisp
<jasom> roughly A -> (B - c), C -> B, B -> D vs A-> B, C-> B | c, B -> (D - c)
<beach> I feared you were talking about Common Lisp, and couldn't figure out what "reference implementation" that would be.
akoana has quit [Quit: leaving]
sauvin has joined #lisp
<jackdaniel> clisp of course, it has it in the name :)
<beach> Right. Silly me!
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #lisp
ikrabbe|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
ikrabbe has joined #lisp
lowryder_ has quit [Ping timeout: 258 seconds]
attila_lendvai_ has joined #lisp
lowryder_ has joined #lisp
attila_lendvai_ has quit [Read error: Connection reset by peer]
attila_lendvai has joined #lisp
Cymew has joined #lisp
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #lisp
xlarsx has quit [Ping timeout: 265 seconds]
Codaraxis_ has quit [Read error: Connection reset by peer]
Codaraxis_ has joined #lisp
DGASAU` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
DGASAU has joined #lisp
prxq_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
prxq has joined #lisp
pve has joined #lisp
xlarsx has joined #lisp
theothornhill has joined #lisp
aggin has joined #lisp
theothornhill has quit [Remote host closed the connection]
jeosol has quit [Quit: Connection closed]
Major_Biscuit has joined #lisp
aggin has quit [Read error: Connection reset by peer]
bjorkint0sh has joined #lisp
bjorkintosh has quit [Ping timeout: 258 seconds]
notzmv` has joined #lisp
notzmv has quit [Read error: Connection reset by peer]
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #lisp
shka_ has joined #lisp
gj has joined #lisp
orivej has joined #lisp
xlarsx has quit [Ping timeout: 256 seconds]
rgherdt has joined #lisp
heisig has joined #lisp
pankajsg has quit [Ping timeout: 272 seconds]
luni has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
solideogloria[m] has quit [Quit: Idle for 30+ days]
v3ga has quit [Ping timeout: 258 seconds]
v3ga has joined #lisp
v88m has joined #lisp
diamondbond has quit [Ping timeout: 272 seconds]
ljavorsk has joined #lisp
diamondbond has joined #lisp
rogersm has joined #lisp
xlarsx has joined #lisp
igemnace has quit [Remote host closed the connection]
xlarsx has quit [Ping timeout: 246 seconds]
surabax has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
gj has quit [Quit: Connection closed]
holycow has quit [Quit: Lost terminal]
imode has quit [Ping timeout: 265 seconds]
luni has quit [Quit: Connection closed]
karlosz has quit [Quit: karlosz]
carkh has quit [Read error: Connection reset by peer]
carkh has joined #lisp
dhil has joined #lisp
<dim> I though GNU Common Lisp had it in the name too? wait, SBCL and ABCL too... even ECL... mmm. ;-)
<jackdaniel> my favorite implementation is clips, and it is used by experts!
<jackdaniel> its syntax is even based on s-expressions
<jackdaniel> kind of
xlarsx has joined #lisp
random-nick has joined #lisp
VincentVega has joined #lisp
galex-713 has quit [Read error: Connection reset by peer]
SAL9000 has quit [Quit: server maintenance...]
<White_Flame> jackdaniel: its RHS language has basically gone full greenspun already
<jackdaniel> here's what boring dreams are made of: http://turtleware.eu/static/paste/588f8567-sheet-transform.mp4 :)
<beach> Looks great! Flickers a bit when you rotate and resize though.
<jackdaniel> well, I'm fixing sheet transformations as an interruption from implementing double buffering after all :)
<jackdaniel> thanks
iamFIREc1 has joined #lisp
iamFIREcracker has quit [Read error: Connection reset by peer]
<dim> hey jackdaniel, I just tried to (ql:quickload "pgloader") with ECL 20.4.24 and it failed with:
<dim> [package cl-ppcre].......... / Condition of type: SIMPLE-ERROR /Unable to create pipe / C library explanation: Too many open files.
<dim> (those were 4 lines, I made them one for sharing here inline)
<jackdaniel> dim: does it also happen in 21.2.1?
<dim> I have quit that instance of ECL and started the process again, knowing that some of the dependencies have now been compiled
<dim> I just did brew upgrade ecl this morning, that's the most recent I have at the moment
<dim> seems like https://formulae.brew.sh/formula/ecl disagrees, okay
<dim> will try again soon with the newer version, I guess I need to brew update first
<jackdaniel> OK, let me know when you try it
<dim> I'm letting current ecl version do its thing, it looks like the second attempt might work
<dim> if you want a stress test for your compiler system then (ql:quickload "pgloader") is a nice one, given the amount of dependencies ;-)
<dim> yeah compiled it on second try
<prxq> great to see that ECL is alive again
<VincentVega> jackdaniel: post it on the Get Excited page, there's a severe lack of animated demos. PS Always found the "boring dreams" quote to be ambiguous, grand and yet with 0 revealing info, and therefore a bit maddening (all quotes on that page are to an extent, but this one takes the prize).
<jackdaniel> I've hand-picked them and this one is my favourite :)
<jackdaniel> I will refresh get excited page
<jackdaniel> I have plenty of short videos and screenshots
<VincentVega> jackdaniel: that would help : )
<jackdaniel> re animated videos: https://twitter.com/i/status/1357289617385525248
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
<VincentVega> yeah not bad for showing the interactive side of it!
<_death> jackdaniel: except that the slot name should be "rotation" ;)
<jackdaniel> _death: yeah, that's true
<jackdaniel> that's what you get for showing the c ode
<jackdaniel> code*
* jackdaniel goes full proprietary now ;)
tfb has joined #lisp
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #lisp
pankajsg has joined #lisp
xlarsx has quit [Ping timeout: 264 seconds]
aartaka has quit [Read error: Connection reset by peer]
tgbugs has quit [Ping timeout: 276 seconds]
tgbugs has joined #lisp
<tfb> Are there any good examples of things which define extensions (specifically: new component types) for ASDF.
<tfb> (component classes I mean, obviously)
vegansbane6963 has joined #lisp
diamondbond has quit [Ping timeout: 265 seconds]
diamondbond has joined #lisp
<prxq> tfb: the asd file of matlisp has some
<tfb> prxq: is the current version of that the one on sourceforge? (and thanks)
<prxq> tfb: i think so. np.
Duuqnd has joined #lisp
Major_Biscuit has quit [Ping timeout: 240 seconds]
Major_Biscuit has joined #lisp
aartaka has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
long4mud has quit [Quit: WeeChat 3.0.1]
galex-713 has joined #lisp
aeth has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 272 seconds]
aeth has joined #lisp
orivej has joined #lisp
VincentVega has quit [Quit: Connection closed]
VincentVega has joined #lisp
akovalenko has joined #lisp
<VincentVega> Is there a way to make a construct like `(let ((a 0)) (defmacro mc () `(+ 1 2)) (mc))` work without using a macrolet? I have a defsmth that defines a bunch of things including some macros and I want it to be a part of a test so that _everything_ gets reevaluated, including those macros when the test runs, thus keeping up with the code base.
Nilby has joined #lisp
<heisig> VincentVega: Sounds like you just want to call EVAL on that form. That would reevaluate local macros, too.
xlarsx has joined #lisp
xlarsx has quit [Ping timeout: 264 seconds]
<VincentVega> heisig: Like this (let ((a 0)) (defmacro mc8 () `(+ 1 2)) (eval '(mc8)))? Hmm not exactly ideal, because I would have to wrap the test code manually, but I guess that's better than nothing huh.
<heisig> VincentVega: My suggestion would be to eval the entire thing: (eval '(let ((a 0)) (macrolet ...))). Assuming I correctly understood what you want.
<VincentVega> heisig: doesn't work I'm afraid : ( This still gives an error (eval '(let ((a 0)) (defmacro mc9 () `(+ 1 2)) (mc9)))  mc10 is a macro, not a function
Major_Biscuit has quit [Ping timeout: 256 seconds]
<jackdaniel> hint hint: (compiler-let ;)
<tfb> VincentVega: yes, it will fail: macroexpanson has all finished by the time the macro is defined.
<VincentVega> tfb: yes, and I am looking for a fix : D other than a macrolet
<VincentVega> jackdaniel: is it a part of some library?
<jackdaniel> VincentVega: (apropos 'compiler-let)
<jackdaniel> it was part of cltl (but did not make it to ansi standard)
<jackdaniel> some implementations ship it regardless
<VincentVega> jackdaniel: thanks for the hint, I will check it out
<jackdaniel> but I don't know how well it will work for your use case
<tfb> VincentVega: can you explain why you need `a` to be locally bound in the macro? Chances are there's some solution which would work
<VincentVega> tfb: I don't need it bound to a macro though.
Duuqnd has quit [Ping timeout: 272 seconds]
<tfb> VincentVega: in the macro, not to a macro: what's the purpose of (let (...) (defmacro ...))? Presumably the macro is using a somewhere?
<VincentVega> tfb: I just need to have a defmacro to take effect before the code which uses that defmacro within the same let statement (or a lambda) - the lambda is what the unit testing framework I am using has.
v88m has quit [Ping timeout: 256 seconds]
<tfb> VincentVega: then yes, you'll need eval or some moral equivalent like compile
<VincentVega> `a` is just placeholder, I don't know why I included it, (let () (defmacro mc12 () `(+ 1 2)) (mc12))
<VincentVega> tfb: OK
nij has joined #lisp
<nij> I have many threads wild going on. It's a great time to inspect them. .. But how? I've in-packaged to sb-thread, and (list-all-threads).. clicking on one of the objects returns this: https://bpa.st/RLYA
<nij> the slot "control-stack-start" means "Universal-time: 4445093-09-17T00:39:12-07:00".. which is super weird. Can't I at least see when the thread started? And can't I see its content (i.e. the functions it had/will run) without #'interrupting-thread?
<phoe> "the slot ... means ..." you got it wrong
<phoe> it tries to parse that integer as universal time, which doesn't really make sense
<phoe> I don't know what units that time is in but I don't think it's universal time.
<nij> I see. Inspecting any integer leads it to interpretting it as universal time.. (i just tried on "3")..
pankajsg has quit [Read error: Connection reset by peer]
pankajsg has joined #lisp
<phoe> yes, it's an inspector thing
<phoe> it doesn't know the context in which it should interpret a given integer
<nij> i see. i was misled. Seems that I should dig into the manual of sb-thread. I will do that.
tfb has quit []
dbotton has joined #lisp
CrazyPython has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
nij has quit [Remote host closed the connection]
nij has joined #lisp
opcode has quit [K-Lined]
drot has quit [K-Lined]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
dbotton has quit [Quit: This computer has gone to sleep]
tfb has joined #lisp
heisig has quit [Remote host closed the connection]
SAL9000 has joined #lisp
tfb has quit [Remote host closed the connection]
heisig has joined #lisp
tfb has joined #lisp
<jmercouris> does someone have reccomendations for interesting UIs or rare CL libraries?
<jmercouris> recommendations*
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
<nij> for what
<nij> fun?
tfb has quit [Remote host closed the connection]
<Nilby> garent is an interesting an rare ui still somewhat works
<beach> jmercouris: I'm with nij. For what purpose?
tfb has joined #lisp
<beach> "Garnet" you mean?
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
<jmercouris> for learning
<jmercouris> I'm thinking about new ideas
tfb has quit [Remote host closed the connection]
<beach> jmercouris: I can tell you that the CLIM specification is what taught me about how to use CLOS.
tfb has joined #lisp
<jmercouris> really? I thought you knoew clos a priori
tfb has quit [Remote host closed the connection]
<Nilby> Yes "Garnet", Sorry. Fingers not working well.
tfb has joined #lisp
<beach> jmercouris: That was 21 years ago.
<jmercouris> reference link: https://github.com/earl-ducaine/cl-garnet
<jmercouris> ah, that is a while indeed
orivej has quit [Ping timeout: 240 seconds]
heisig has quit [Client Quit]
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
ljavorsk has quit [Ping timeout: 256 seconds]
<jmercouris> who made the CLIM specification, and is it part of the ansi spec?
<jmercouris> and if it is part of the ansi spec, why are there such few implementations?
<beach> It is not part of the Common Lisp standard, no.
tfb has quit [Remote host closed the connection]
<beach> It was made essentially by Scott McKay.
tfb has joined #lisp
<beach> I forget where he worked at the time. Symbolics maybe.
<jmercouris> I see
<jmercouris> and what happened to "Clim 2.0"?
<jackdaniel> beach: yes, symbolics
<beach> jmercouris: That's what we are using.
<jmercouris> Why are you calling it McClim?
<jmercouris> instead of "Clim 2.0"?
<beach> jmercouris: CLIM 2.0 is a specification.
<jackdaniel> William York is mentioned in the spec as co-author (and a few others for contributions)
dbotton has joined #lisp
<beach> McCLIM is an implementation of the specification that was started by Mike McDonald.
<jmercouris> I see
<jmercouris> so Scott McKay wrote a spec some time in the 80s
<jmercouris> and then Mike McDonald implemented that spec on CL?
<hhdave> What was the predecessor of CLIM called? Did Scott develop that? (if it had a name)? Was that Dynamic Windows?
<Nilby> McKay also wrote something like LIM in Dylan, as well as Emacs in Dylan called Duece.
<Nilby> yes
<jackdaniel> hhdave: Dynamic Windows, yes
<hhdave> Was DW Scott as well?
<beach> jmercouris: I forget the dates, but Mike McDonald wanted a free implementation of the spec, and the existing implementations were commercial.
<jmercouris> outside of CLIM, any other rare libraries to recommend?
<jmercouris> beach: could the commercial implementations run on a free implementation?
<jmercouris> ASSUMING no usage of implementation specific code
<hhdave> I think the Dylan equivalent (DUIM) never got as far as presentations though. As far as I know
<jackdaniel> the oldest commits in the "original" codebase date back to '87
cosimone has joined #lisp
<nij> Can I do that with slime/sly?
<jmercouris> not easily
<Nilby> I used DUIM, so yeah it worked.
<beach> jmercouris: I believe that was and is possible, yes. The commercial implementations have bee freed I believe.
<jmercouris> s/bee/been?
<jackdaniel> we've ported clim-tos to "work" on sbcl and ccl
<jackdaniel> but it has many glitches
<beach> Yes, been.
<jackdaniel> either way it starts and runs basic demos
<beach> McLIM is way better than the commercial implementations ever were at this point.
<hhdave> it does :)
<jmercouris> I see
tfb has quit [Ping timeout: 264 seconds]
<jmercouris> even better than the Lispworks CAPI?
<_death> nij: you can play with it yourself! (ql:quickload "clim-listener") (clim-listener:run-listener) .. though some things are a bit broken (but it may be an opportunity to fix ;)
<beach> Scott told us that our implementation (done by moore33) is how they meant to do it, if their Common Lisp implementation had allowed it.
<beach> Our implementation of presentation types, I meant to say.
<jmercouris> you know how you can view downloads on Melpa by frequency, a way to view this information for Ql?
<Nilby> jmercouris: quicklisp-stats
<beach> jmercouris: CAPI is not an implementation of the CLIM specification.
JeromeLon has joined #lisp
<jackdaniel> hhdave: I don't know whether he worked on Dynamic Windows too
<jmercouris> beach: yes, is it however BETTER than CLIM?
<beach> jmercouris: I don't know. I don't own a copy of LispWorks.
<jackdaniel> it is more conventional
<jmercouris> Nilby: thanks
<_death> beach: I recently read Moore's paper on presentation types.. I think the issue was absence of CLOS/MOP
<nij> _death: INDEED! Had it pulled down. Whatelse can I try right away?
<beach> _death: Ah, I see. Makes sense.
<nij> And why couldn't emacs rendor such graphical output?
luni has joined #lisp
<_death> nij: check out the clouseau inspector.. (ql:quickload "clouseau") (clouseau:inspect (find-class 'standard-object))
<_death> though that may be too much for it right now :d
<beach> nij: It probably could, but CLIM has the advantage of running in the same process as the Common Lisp system, so everything is much easier then, compared to having to translate everything to a sequence of bytes.
<nij> beach: But I also noticed that CLIM doesn't work pretty well with keyboards.. is it possible to set it up like emacs?
<jackdaniel> I'm working on that
<jackdaniel> a few stack frames above the current think I'm hacking on
<beach> nij: I am not sure what you are referring to, but detailed questions like that are better asked in #clim.
<jackdaniel> I think that he means key combos
<beach> "current think" I like that!
<jackdaniel> they currently work with esa
msk__ has quit [Ping timeout: 246 seconds]
<jackdaniel> oh, it was supposed to be a thing, but let's call it a happy coincidence
<beach> Yes, again, I like it.
jeosol has joined #lisp
<Nilby> I love CLIM but I feel like it could use a big picture architectural redesign.
<jackdaniel> :) time to take a lunch break, if some questions happen on #clim I'll be happy to answer afterwards
<_death> well, clim does need some work on that too.. for example, you'd expect to be able to click on a text-editor-pane's text and have the cursor go there, but nope
<beach> Nilby: Oh? The architecture mainly follows the specification. What's the problem with it?
<jackdaniel> Nilby: you may want to be more specific
<jackdaniel> _death: that's true
Major_Biscuit has joined #lisp
<beach> Nilby, _death: McCLIM is an implementation of a big and complex standard, and it is all done by volunteers, or nearly so. Feel free to help out to make this the preferred GUI library for Common Lisp applications.
<_death> yes, it's a very ambitious project, and lots of skilled people have done great work on it so far.. thanks!
ey[m] has left #lisp ["User left"]
torbo has joined #lisp
<Nilby> Like separate out a platform indenpent graphics library, event loop handling, separate editing substrate, consider mapping to platform ui's, etc. Presenations, and emacs style application frameworkds are great, but maybe shold be separte too.
<jackdaniel> Nilby: these things are separate
<jackdaniel> I mean, you've literally listed things which are sorted in independent modules
<_death> I also looked at BB1 code the other day, which used CLIM for GUI.. it has for example a grapher module, that may be useful in mcclim
<_death> though I didn't try it yet
wsinatra has joined #lisp
aartaka_d has joined #lisp
<_death> it's not too difficult to change the look of mcclim's motif-like widgets, but right now I think you have to patch it, or create a shadow hierarchy
<beach> That aspect is also being worked on.
<beach> Feel free to help out.
<_death> the thing is, I don't tend to write GUIs :).. I'm a clim newbie basically.. just played with it a little to write some simple GUIs
<beach> That's already good.
<_death> I found some small bugs and contributed patches
<beach> Great!
<jackdaniel> _death: ^ re pointer clicking
aartaka has quit [Ping timeout: 265 seconds]
<jackdaniel> (another stashed thing in the upstack)
<_death> there are still issues, especially with a tiling window manager like stumpwm, but overall things work
Sheilong has joined #lisp
<_death> jackdaniel: cool
<beach> What I find, let's say "interesting", is how some people seem to prefer to go the FFI route, with lots of pain as a result, rather than contributing a bit to McCLIM.
mister_m has joined #lisp
<_death> beach: well, I also explored the FFI route before, as well as the ECL embedding route.. they all got pros/cons, but mcclim is a cool alternative anyway
<beach> And getting better by the day.
tfb has joined #lisp
<Nilby> beach: I think many people have a hard time understanding CLIM unless they've been exposed to a LM style UI background.
<beach> I mean, the "interesting" part is that, with a bit of work on McCLIM, everybody using Common Lisp could benefit, whereas the FFI route just creates a sum of pain for everyone without making any collective progress.
<_death> I actually looked at CLIM years ago.. but it did take a while to seep in
Bike has joined #lisp
<jackdaniel> McCLIM new motto: overpromise, underdeliver
<beach> _death: The other work in progress is a manual that presents CLIM "bottom-up", so that it looks familiar to people who are used to more primitive GUI libraries, and then discusses the advanced features as high-level tools on top of the basic stuff.
<Nilby> beach: I basically agree, and don't like just using a non-Lisp FFI UI, but I dream that something like CLIM could integrate better with platform UIs.
<_death> beach: some of the old material is already bottom-up.. like teaching you how to draw shapes and going from there
<beach> _death: Maybe so. I forget the current state of things.
<jackdaniel> beach: do you refer to my plans to make the lower abstractions more useful for (potential) competing toolkits?
<beach> jackdaniel: Not quite.
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
<beach> Nilby: I personally want something that is totally independent of existing toolkits, so that it can be used on a future Lisp OS without any C or C++-based libraries.
<jackdaniel> OK
contrapunctus has joined #lisp
<beach> jackdaniel: I think we have discussed just a way of structuring the manual so that it starts with the event-driven stuff, and builds upwards.
<_death> Nilby: the way I see it right now, I think aesthetically pleasing CLIM applications are possible, using something like material design or some custom drawing.. once jackdaniel handles the flickering (and then there's the aliasing, which clx-fb "fixes", but..)
<beach> But there are lots of interesting McCLIM-related projects to pursue, so just a few people can't accomplish everything right away.
mister_m has quit [Remote host closed the connection]
<Nilby> beach: I totally agree. But I wish it could also, play well with other things.
aartaka has joined #lisp
<beach> Nilby: I dream that more Common Lisp programmers would think more in terms of collective benefits, given that we have very scarce resources as it is.
<Nilby> I think the work jackdaniel and other have put into it is great, and I do belive it's possible to have aesthetically pleasing things now.
dbotton has quit [Quit: This computer has gone to sleep]
<jackdaniel> beach: could be, I don't remember that discussion though (however such manual structure would certainly make sense). I remember talking about providing examples for using lower abstractions for windows etc using the "silica" part of clim
<Nilby> the inspector is very aesthetically pleasing to me :)
<beach> jackdaniel: Yes, I think that's what we discussed.
<beach> Clouseau is great now!
<beach> I no longer use the SLIME inspector.
<jackdaniel> Nilby: it was created by scymtym, he also created a more visually-pleasing mcclim theme
aartaka_d has quit [Ping timeout: 240 seconds]
<Nilby> beach: Yes. Considering collective benefits and scarce resources seems like how we have to move forward.
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
<Xach> In my experience, volunteer programming work is not often very strategic in that regard.
<Nilby> Xach: Yes, I find it's really hard to focus on the very important boring parts when nobody is pushing you to.
<Nilby> and making people agree seems even harder :o
mister_m has joined #lisp
<VincentVega> Nilby: "I think many people have a hard time understanding CLIM" Even though I _skimmed_ through the CLIM specification and found it quite sensible and also looked through Get Excited page and what not, I still feel like I don't know what it's about. though it does seem like there's something about it. I would guess this is a communication problem.
dbotton has joined #lisp
<VincentVega> beach: "What I find, let's say "interesting", is how some people seem to prefer to go the FFI route, with lots of pain as a result, rather than contributing a bit to McCLIM."
<VincentVega> beach: There would be reasons I guess : ) For example, I am currently hacking up an SDL GUI in Common Lisp as I need access to OpenGL. I couldn't make SDL work on McCLIM, though there's a backend, which apparently needs fixing. And there was a video on youtube where a McCLIM OpenGL backend worked, but was pretty slow for some reason. Uncertainty
<VincentVega> has a way of weighing in on decisions like this.
<_death> VincentVega: I think the CLIM spec is the wrong place to start.. it's one of the reasons it took me a while to understand, because I started with the CLIM spec, and yeah, I learned a lot about protocol design and CLOS, but to learn CLIM you need to first read a guide or a tutorial
<VincentVega> VincentVega: which is tutorial examples, I would believe? I guessa will take a look.
<VincentVega> _death: ^
lisp-machine has joined #lisp
<_death> VincentVega: see Documentation directory in mcclim
<_death> there's the guided tour
<Nilby> I feel like one of the core cool things about CLIM is: The thing on the screen is the real object, and you can edit it with the flexibility of emacs, and define how it should look with the flexibility of CLOS. But it's hard to understand immediately, unless you know those things.
<_death> VincentVega: but there are other papers as well
<VincentVega> _death: Ok, found it!
<VincentVega> Nilby: I feel like this sort of things should be articulated somewhere on the surface, even if being incomplete, if it's to be expected for the reader to really get excited, with further directions.
<VincentVega> _death: thanks!
tfb has quit [Ping timeout: 240 seconds]
Josh_2 has joined #lisp
<Josh_2> Afternoon. Does anyone have a link to the old Bordeaux Threads docs?
<beach> VincentVega: You don't have to defend yourself to me. I wasn't targeting you specifically.
lisp-machine has quit [Quit: Leaving]
<VincentVega> beach: You misunderstood. I gave a case in point to your curiosity.
lisp-machine has joined #lisp
<beach> VincentVega: No, I know that there are totally legitimate cases to go FFI. I am referring to the others.
<VincentVega> beach: OK.
<beach> So, in my opinion, we need the McCLIM documentation to be structured bottom-up. That way, the first chapter(s) will look familiar to people who are used to less sophisticated GUI libraries. And those who don't want to bother with the higher-level stuff can quit reading after those chapters and just program the way they would with traditional libraries.
<beach> Then, the rest of the documentation would be structured as convenience layers on top of the protocols implemented by the bottom event-driven layer.
<Nilby> beach: That sounds great. Although I'm not sure they're just convenience layers.
<beach> What do you mean?
<Josh_2> Whats the hyperspec entry on the feature included/not included reader macro?
<yottabyte> I'm trying to use mito on windows, and as soon as I try mito:connect-toplevel I get an error: Unable to load foreign library (LIBMYSQLCLIENT). Error opening shared object "libmysql.dll":. I've located this file on my filesystem and I've tried clsql:push-library-path but it's still giving me the same error. I tried both windows paths (backslashes) and linux ones (forward slashes) for the string path
<beach> Josh_2: The chapter "Syntax"
<Nilby> I mean, some things like command tables, that are slightly alien to other UIs are somewhat core the CLIM.
jonatack has joined #lisp
xlarsx has joined #lisp
<beach> Nilby: Sure, I mean, those features are not needed if you prefer to program like you program a more traditional and less sophisticated GUI library.
<Josh_2> beach: thanks
<beach> Pleasure.
<yottabyte> at the end of the day I just want to query a mysql database, if there's a more convenient library to use, I'm all ears. I just want to operate on result sets, not going to be doing any crazy orm stuff. no inserts/deletes
<_death> yottabyte: there was a library that talks to mysql via sockets I think.. was it qmynd?
sjl has joined #lisp
xlarsx has quit [Ping timeout: 265 seconds]
equwal has quit [Quit: ZNC 1.8.1 - https://znc.in]
<yottabyte> but I'm not sure how to specify a filepath
equwal has joined #lisp
<dbotton> Nilby you may what to try clog which is itself all CL using a browser for the UI - I have a demo up http://office.botton.com:8080/
luni has left #lisp [#lisp]
<dbotton> One of my goals is to be total x platform and depend on as little beyond the lisp image as possible
<dbotton> The web server would be only real piece of the puzzle that is tied to something not lisp
<dbotton> And using CLACK to make sure can be switched out etc
JeromeLon has left #lisp [#lisp]
<dbotton> That is a full desktop abstraction I am working on at moment
<dbotton> But no reason other then tools to keep that model
tfb has joined #lisp
<Nilby> dbotton: It seems you're progressing quite quickly. Perhaps if you make the protocol clean enough and not dependent on html/js you can switch between native and web stack rendering. No doubt it's tricky though.
<nij> what does m stand for in "mrepl"?
<Nilby> Maryland
<_death> multi
<Josh_2> I prefer Maryland
<_death> multi meanings for mrepl
toorevitimirp has quit [Remote host closed the connection]
heisig has joined #lisp
<nij> oh i thought it's muh-repl
<nij> so multi in the sense that many repls can connect to one sbcl instance?
<_death> if you open slime-mrepl.el you can see the top comment :)
<Josh_2> muh-repl xD
tfb has quit [Remote host closed the connection]
<Josh_2> that was be great
tfb has joined #lisp
aorst has joined #lisp
<nij> xD
tfb has quit [Remote host closed the connection]
<Nilby> oh shid muh-repl!!! 👾
<dbotton> Nilby the plan is not to drop html/js, but I will have a version that drops using websockets for direct to browser control
tfb has joined #lisp
aorst is now known as andreyorst[m]
<_death> o-m-r
<nij> lol
tfb has quit [Remote host closed the connection]
<nij> Btw.. there's a difference in terms of output I get between these expressions.. one using let and one not.. WHY @@? https://bpa.st/O3SA
tfb has joined #lisp
<dbotton> For guis having a interpreted layer very worth while
<dbotton> Like osx used PDF as its
<dbotton> Next PS
tfb has quit [Remote host closed the connection]
<dbotton> This is a progression to HTML
tfb has joined #lisp
<jmercouris> dbotton: what is a PS?
<dbotton> There are many places to improve on it for sure, protocol etc
<dbotton> Post script
<Nilby> dbotton: Intersting. To be fair qt now uses qtml. Maybe an integration with nyxt?
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
renzhi has joined #lisp
<dbotton> I not familiar with nyxt
<_death> nij: special variable bindings are per thread, and *standard-output* is a special variable
<jmercouris> dbotton: I assume you’ve seen ceramic or porcelain the electron wrapper for CL
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
<dbotton> Yes I have used it and works well with ceramic
<jmercouris> We have a UI library we use in Nyxt too
tfb has quit [Remote host closed the connection]
<nij> _death: is special var a techinical term? How do I check a variable is special? I thought *abc* always mean a /global/ variable..?
tfb has joined #lisp
<dbotton> What is the url for the source for nyxt?
<jmercouris> It is a technical term
<jmercouris> Nyxt.atlas.engineer
tfb has quit [Remote host closed the connection]
<_death> nij: a special variable is defined using defvar/defparameter, or special declaration.. the earmuffs are convention for naming special variables..
<dbotton> Nyxt does its own rendering of HTML?
<jmercouris> nij: the stars are just a convention
<jmercouris> Not exactly
<nij> i see
tfb has joined #lisp
<_death> nij: the swank repl binds *standard-output*, and that binding is local to the repl thread
<jmercouris> dbotton: please read the FAQ
<_death> nij: you can see definition for "special variable" in the clhs glossary.. http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_s.htm
<_death> nij: and for a good explanation of scope and extent, you could read the CLtL2 chapter
equwal has quit [Quit: ZNC 1.8.1 - https://znc.in]
equwal has joined #lisp
tfb has quit [Ping timeout: 264 seconds]
tfb has joined #lisp
equwal has quit [Client Quit]
equwal has joined #lisp
ljavorsk has joined #lisp
equwal has quit [Client Quit]
<nij> i feel like i understand this (lexical/dynamic) but have never got it straight.
equwal has joined #lisp
cage_ has joined #lisp
<nij> Oh.. pointed here that (lexical/dynamic) is just /approximately/ (local/global)!
<nij> That maybe why I always feel kinky about my understanding upon this.
equwal has quit [Client Quit]
equwal has joined #lisp
<tfb> nij: no lexical and dynamic is not to do with local and global. You can have local dynamic bindings. CL does not have global lexicals by default but they can be emulated
<nij> I see. M reading gigamonkey again. It's really well-written.
ljavorsk has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
fubbiquantz has joined #lisp
<fubbiquantz> Is nil an atom?
<Nilby> T
<tfb> yes
<fubbiquantz> How about '()?
<tfb> yes
<nij> It's also a list, i believe.
<nij> no...? '() stands for (quote ())
<fubbiquantz> (I know '() and nil are the same)
<beach> *sigh*
<nij> it's a list, before evaluation
<nij> Whenever beach *sigh*s I feel a breeze from the ocean.
<nij> (a sense that i miss)
<lisp-machine> nij: you used to live near the ocean?
<beach> fubbiquantz: ' is a reader macro that turns '<mumble> into (quote <mumble>).
<nij> lisp-machine: i used to live on a small island, surrounded by ocean
<beach> fubbiquantz: So when it is read, '() turns into (quote nil).
<lisp-machine> nij: that's pretty cool!
<fubbiquantz> ok, that answers my question. Thanks.
<nij> lisp-machine: xD
<beach> fubbiquantz: Then, since NIL evaluates to itself, then when (quote nil) is evaluated, the value is nil.
<nij> (quote (quote nil)) -> (quote nil) -> nil -> nil -> nil -> ..
<beach> fubbiquantz: so, no, you can't say that '() and nil are the same. Because it depends on what you mean by "is".
<beach> .. and "are".
<nij> lisp-machine: now I'm in the middle of the US
<nij> no mountain, no ocean..
<lisp-machine> so am I. Midwest...
<beach> nij: What is "->"?
<nij> fubbiquantz: after evaluation, they are the same
<fubbiquantz> Perhaps my Scheme background is messing with my mind? :)
<beach> nij: Common Lisp evaluates only once, not until a "normal form" is obtained.
<nij> By "->" i mean evaluation
<nij> yep only once
<nij> lisp-machine: xD i missed mountain climbing and ocean breeze
<nij> thus i came to #lisp, at lease i got the breeze
<beach> fubbiquantz: In that respect, there is no great difference between Common Lisp and Scheme I think.
<tfb> fubbiquantz: Scheme has no notion of atom, really. But in Scheme () is not self-evaluating
<lisp-machine> nij: I'd like to move somewhere with mountains. It's as flat as a puddle here.
<nij> WHAT scheme doesn't have atom :O!
<beach> nij: Also, NIL is a list as well.
<nij> yep
<nij> it's a list of nothing
<nij> i like this idea
equwal has quit [Quit: ZNC 1.8.1 - https://znc.in]
<tfb> nij: I don't think any scheme has had atom as a type (or an atom? predicate), although I may be wrong on this.
<Nilby> fubbiquantz: It's probably CL messing with your mind. Schmee is very sensible. CL is deeply weird. CL has been messing with mine for years.
<tfb> ('any scheme' meaning, post RnRS for maybe n < 3)
<fubbiquantz> Nilby: glad to know I'm not alone in feeling like Dr. Strange is a documentary about Lisp programming.
<fubbiquantz> (common lisp programming, I mean)
<Nilby> But I find the rest of the universe to be deeply weird too.
<beach> fubbiquantz: Wait until you start learning about the MOP. Then your mind is going to be messed with much worse.
<fubbiquantz> If CL programming is Dr. Strange in the Marvel Cinematic Universe, then what part of CL is the dark dimension? The loop macro?
<fubbiquantz> beach: I can't wait.
equwal has joined #lisp
equwal has quit [Client Quit]
equwal has joined #lisp
<Xach> fubbiquantz: the pretty printer
<jmercouris> Any CL code formatter exist?
<jmercouris> Other than simply printing forms via CL itself
<sjl> https://github.com/ds26gte/scmindent for indentation-only
<jmercouris> I’m thinking of some automatic code styler type tools that exist for other languages
<dim> I use Emacs as my CL code formatter ;-)
<Nilby> heh, I think the dark dimension is where you get to from the FFI
<dim> does https://editorconfig.org/ cover Common Lisp?
<nij> I'm still confused.. why doesn't it print "100\n50" but "100\n100" instead?
<nij> (setf abc 100) (let ((tmp abc)) (print tmp) (setf abc 50) (print tmp))
<jmercouris> sjl: thanks
OlCe has joined #lisp
<tfb> nij: what would you expect "x=3; y=x; print y; x=4; print y;" to do in some traditional language?
<nij> 3 and 3
<tfb> nij: well, there you go then
<nij> so (let ((tmp abc)) .. has already evaluated tmp to be the value of abc at /that time/?
<nij> and then the body is performed
VincentVega92 has joined #lisp
<tfb> exactly: let binds variables to values
<Nilby> or you could (with-output-to-string (s) (let ((*print-case* :downcase)) (pprint (read-from-string str) s))) But it not so hot. Like it says NIL when you might want ()
<tfb> (let ((x y)) ...) is pretty much ((lambda (x) ...) y) (it's not actually defined that way in CL of course)
<nij> i thought i understood my previous question. .but no
<nij> why would these give different things?.. if as what you said, out has been bound to *standard-output* already
VincentVega has quit [Ping timeout: 240 seconds]
<tfb> Because (lambda () (uiop/image:print-backtrace :stream *standard-output*)) is a function. So it evaluates its body only when it is called, and since it uses *standard-output* free it gets the value of *standard-output* which is in effect at the moment it is called
equwal has quit [Quit: ZNC 1.8.1 - https://znc.in]
<nij> O H : O !
<tfb> (because *standard-output* is a dynamic variable).
VincentVega92 has quit [Quit: Connection closed]
<nij> so the second form (with let) it freezes the content of *standard-output* to OUT before the function runs!?
<nij> Finally T_T thank you..
<tfb> While in ((let ((out ...)) (lambda ... (... out))) out is lexical, so the value of out in the function is the value which was lexically visible when the function was defined
<nij> It's crystal clear now. Thanks :D
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
aggin has joined #lisp
tfb has quit []
CrazyPython has quit [Remote host closed the connection]
lisp-machine has quit [Ping timeout: 240 seconds]
lisp-machine has joined #lisp
aggin has quit [Quit: WeeChat 3.0.1]
skapata has joined #lisp
frgo has quit []
Cymew has quit [Ping timeout: 265 seconds]
heisig has quit [Quit: Leaving]
dbotton has quit [Quit: Leaving]
Lycurgus has joined #lisp
h4ck3r9696 has joined #lisp
fubbiquantz has quit [Ping timeout: 256 seconds]
Lycurgus has quit [Quit: Exeunt]
lisp-machine has quit [Ping timeout: 240 seconds]
contrapunctus has quit [Ping timeout: 246 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #lisp
dunk has joined #lisp
msk has joined #lisp
<cage_> Hi! I do not know if the people (maybe a single person? I do not know who they are) that made available a lot of CL libraries on guix are here but if yes i would like to make a big thanks for their efforts! :)
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 272 seconds]
<nij> cage_ guixers don't use #'ql:quickload?
imode has joined #lisp
<Inline> let over lambda
<Inline> is a .....
X-Scale has joined #lisp
<Inline> closure
<cage_> nij, i can not answer because i am just trying to learng guix but seems to me that if a library is available on guix quicklisp is not necessary
<nij> gasp
<cage_> but of course not all the libraries tha are available from quicklist are in guix and moreover the goal of the two program is different
X-Scale` has quit [Ping timeout: 256 seconds]
Steeve has joined #lisp
<cage_> i do not think guix is (or could be in the future) a replacement for quicklisp, but i am just starting studing guix so i can be easly wrong
<nij> yeah make sense.. quicklisp would be redundent if guix strive
<nij> guix aims (partly) at reproducible package management
<nij> it makes sense..
nij has left #lisp ["ERC (IRC client for Emacs 27.1)"]
<cage_> Inline, is your sentence a question?
<Inline> no a statement
orivej has joined #lisp
<cage_> Inline, OK! ;-)
<rogersm> Does anyone has experience with accessing sqlite3 db using cl-sync?
nckx has quit [Ping timeout: 264 seconds]
<cage_> rogersm, sorry i can not help, never used this library
<cage_> cl-sync :)
<rogersm> thx
<cage_> no problem
<cage_> are you having trouble with it?
<rogersm> no, I just want to know the responsiveness of it. sqlite3 with clsql is a blocking lib, but I don't know if performance is too impacted
<cage_> sorry maybe i misunderstood are you referring to cl-async or cl-sync
<cage_> because both exists :)
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
karlosz has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Major_Biscuit has quit [Ping timeout: 264 seconds]
aeth_ has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
<cage_> rogersm, FWIW i used cl-sqlite for a web application using hunchentoot and the performance was very good reading and acceptable when writing
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<Nilby> I find the performance sqlite3 with clsql very acceptable, but I haven't used it for big databases, or high throughput.
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<cage_> i used it also in a desktop application (again, cl-sqlite) and works just fine but no concurrent access is involved in this case
Bourne has joined #lisp
random-nick has joined #lisp
mathrick has quit [Ping timeout: 256 seconds]
mathrick has joined #lisp
nckx has joined #lisp
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 246 seconds]
jonatack has quit [Ping timeout: 256 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
charles` has joined #lisp
<rogersm> thanks
amb007 has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
renzhi has quit [Quit: WeeChat 2.3]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
xlarsx has joined #lisp
frgo has joined #lisp
amb007 has joined #lisp
imode has quit [Quit: WeeChat 3.0]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
jonatack has quit [Ping timeout: 240 seconds]
xlarsx has quit [Ping timeout: 256 seconds]
rogersm has quit [Quit: Leaving...]
amb007 has joined #lisp
jonatack has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
h4ck3r9696 has quit [Quit: Leaving.]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
equwal has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
aeth has quit [Ping timeout: 265 seconds]
amb007 has joined #lisp
waleee-cl has joined #lisp
aeth has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
aartaka_d has quit [Ping timeout: 265 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
ikrabbe|2 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
<yottabyte> can't get this to work on windows still :< https://github.com/fukamachi/cl-dbi
amb007 has joined #lisp
charles` has left #lisp [#lisp]
ikrabbe has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
sauvin has quit [Remote host closed the connection]
lowryder_ has quit [Ping timeout: 264 seconds]
lowryder_ has joined #lisp
skapate has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
<yottabyte> using https://github.com/qitab/qmynd for now, which works
skapata has quit [Ping timeout: 272 seconds]
varjag has joined #lisp
orivej has joined #lisp
anticrisis has joined #lisp
h4ck3r9696 has joined #lisp
h4ck3r9696 has left #lisp [#lisp]
PuercoPop has joined #lisp
Nilby` has joined #lisp
dbotton has joined #lisp
Nilby has quit [Ping timeout: 264 seconds]
surabax has quit [Quit: Leaving]
dbotton has quit [Quit: Leaving]
<yottabyte> why does (length (uiop:run-program "echo hi" :output :string)) return 4? I thought it would just be 3 max, 1 more than "hi" for the carriage return ^M. really I just want to capture the output "hi"
<mfiano> Becuase there are 4 arguments?
<yottabyte> oh... I was trying to get the output of "echo hi" as the result
<mfiano> Wait no
<mfiano> That is getting the length of the first of 3 return values
<yottabyte> so I want the return value to be "hi", how do I do that?
<yottabyte> (length "hi") => 2, that's what I was expecting
anunnaki is now known as KeyboardWorrier
<Josh_2> yottabyte: there is a newline thats why
<mfiano> The newline is included because it :output '(:string :stripped t) it looks like
<phoe> yottabyte: what is your OS?
<mfiano> Sorry half finished thought there. But just pass :output '(:string :stripped t) it looks like
<phoe> sounds like windows if you have CRLF line endings
<mfiano> It happens on Linux too
<mfiano> You need that special output form
<phoe> yes, but without the CR
<yottabyte> oh yeah, I'm on windows. it does 2 extra characters
<mfiano> (length (uiop:run-program "echo hi" :output '(:string :stripped t))) ; => 2
<yottabyte> that worked, thanks
Nilby` has quit [Remote host closed the connection]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
xlarsx has joined #lisp
xlarsx has quit [Ping timeout: 256 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #lisp
gaqwas has quit [Ping timeout: 265 seconds]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
renzhi has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
rogersm has joined #lisp
rogersm has quit [Remote host closed the connection]
cage_ has quit [Quit: Leaving]
rogersm has joined #lisp
rogersm has quit [Remote host closed the connection]
Josh_2 has quit [Ping timeout: 240 seconds]
jonatack has quit [Read error: Connection reset by peer]
Bourne has quit [Ping timeout: 240 seconds]
jonatack has joined #lisp
<yottabyte> does anyone know how to get Bearer authorization working with dexador?
<equwal> Is something wrong with drakma now?
wsinatra has quit [Quit: WeeChat 3.0.1]
dbotton has joined #lisp
<equwal> Huh, I guess this is actually an old project. Are people using it?
<phoe> yes, drakma is pretty stable all in all!
<sjl> I use Drakma a lot. It works well.
<equwal> Sorry, my question was referring to this dexador program, I hadn't heard of it, I always used drakma
Inline has quit [Ping timeout: 272 seconds]
<equwal> Apparently dexador 'is aimed at replacing drakma' but I wonder why one would want that.
<mfiano> People do like speed, it's first reason.
andreyorst[m] has quit [Remote host closed the connection]
Josh_2 has joined #lisp
<equwal> wow, that's actually a pretty big difference. https://github.com/fukamachi/dexador#benchmark
<Josh_2> I think that Drakma can reuse connections as well
<Josh_2> Been banging my head against the wall wondering why my code doesn't behave as expected, turns out trivial-timeout isn't working
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<Josh_2> Doesn't seem to me that BT wraps the timeout conditions as the condition signalled is sb-ext:timeout :(
<equwal> Why are you using a project that was last updated in 2013? n
<Josh_2> Well the current CL standard is from 1994
<Josh_2> I guess timers are just implementation dependent hence the library
<recalloc> fukamachi pulled my request. nice!
<equwal> Well, just don't expect it to work magically with SBCL and BT if it hasn't been updated for 8 years. Maybe make a fork?
<equwal> The standard doesn't control threads, correct.
<equwal> That is why BT is a 'lowest common denominator' wrapper
<Josh_2> to be fair a fork would just depend on BT, because BT controls the version, it would just mean finding the condition signalled on each implementation
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
<equwal> If you do it, I believe in you.
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
Josh_2 has quit [Ping timeout: 256 seconds]
shka_ has quit [Ping timeout: 240 seconds]
contrapunctus has joined #lisp
frgo has quit [Remote host closed the connection]
rumbler31 has quit [Remote host closed the connection]
contrapunctus has left #lisp ["Disconnected: closed"]
rumbler31 has joined #lisp
contrapunctus has joined #lisp
Inline has joined #lisp
Steeve has quit [Quit: end]
jeosol has quit [Quit: Connection closed]
jeosol has joined #lisp
dbotton has quit [Quit: This computer has gone to sleep]
sjl has quit [Ping timeout: 264 seconds]
frgo has joined #lisp
hendursaga has joined #lisp
scymtym has quit [Read error: Connection reset by peer]
scymtym_ has joined #lisp
cchristiansen has joined #lisp
hendursa1 has quit [Ping timeout: 268 seconds]
varjag has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: cosimone]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
xlarsx has joined #lisp
torbo has quit [Remote host closed the connection]
xlarsx has quit [Ping timeout: 272 seconds]
anticrisis has quit [Read error: Connection reset by peer]
anticrisis has joined #lisp
rogersm has joined #lisp
awb999 has joined #lisp
varjag has joined #lisp
rogersm has quit [Ping timeout: 265 seconds]
<hendursaga> For the ~r directive for format, how might I go about outputting it in another language?
varjag has quit [Ping timeout: 256 seconds]
akoana has joined #lisp
myall_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Alfr> hendursaga, (format nil "~R" 5) will /always/ give you "five", ~R is required you give you the corresponding cardinal in English.
<Alfr> clhs 22.3.2.1
edgar-rft has quit [Quit: Leaving]
myall has joined #lisp
myall has joined #lisp
jonatack_ has joined #lisp
iamFIREcracker has joined #lisp
gioyik has joined #lisp
frgo has quit [Remote host closed the connection]
Josh_2 has joined #lisp
frgo has joined #lisp
iamFIREc1 has quit [Ping timeout: 272 seconds]
rpg has joined #lisp
jonatack has quit [Ping timeout: 240 seconds]
rgherdt has quit [Ping timeout: 265 seconds]
<Josh_2> misplaced ` cost me an hour of my life
<Josh_2> casual lisp things