freenode/#lisp - IRC Chatlog
Search
19:21:38
_death
peterppp: https://www.cs.northwestern.edu/academics/courses/325/readings/graham/graham-notes.html
19:25:19
_death
peterppp: have fun.. ACL was my first Lisp book as well.. do all the exercises, preferably in emacs with slime
19:36:09
alecigne
Is there some kind of "C for Lisp programmers" book or ressource out there? Maybe knowing Common Lisp is enough to dive in C
19:37:16
Bike
i suppose it might help you get a clearer idea of C's scoping, which is badly explained by the average tutorial
19:41:16
alecigne
Bike: so in your opinion there is no good way to capitalize on my CL knowledge to learn it more easily, the "programming" knowledge by itself is enough
19:42:27
Bike
just understanding the basics of programming, you know, the machine does what you tell it too but in a really specific way, what syntax is, stuff like that, is most of what you need to learn a programming language, and passed that the returns diminish pretty fast, imo
19:42:27
beach
alecigne: The programming style is completely different, unless you do what I do if I have to program applications in C, namely do everything with pointers and stick the Boehm GC in your application.
19:42:55
_death
best to learn each language on its own terms.. after you do that, you can move to comparisons and critique
19:58:49
Shinmera
Th30n: Nothing has changed about it on Windows in recent weeks, so I wouldn't know about it breaking either.
20:06:16
Th30n
Shinmera: Basically the problem is, if I try to do to something like (q+:make-qstring "bla") it fails to compile, complains about the function missing. Same thing with (q+:qstring-from-utf-8 "blah"). On the other hand (q+:qfiledialog-get-open-file-name window "blah") crashes when trying to marshal the string to qstring. SBCL reports an error - exception code 0xE06D7363, which signifies that an exception is thrown in C++ code.
20:14:31
Shinmera
As for the error, that's outside my realm and a CommonQt issue rather than a Qtools one
20:15:32
Th30n
Shinmera: auto conversion used to work. Perhaps it may even be related to cffi, because the call does end up in the C function which returns a QString.
20:16:28
Th30n
Shinmera: Yeah, no problem, don't bother. It's Christmas, you deserve at least some break :)
20:17:04
Shinmera
But if you can open an issue ticket with a minimal snippet to reproduce on https://github.com/commonqt/commonqt/issues I can see what I can do myself (probably not much) or if I can bother Stas about it.
20:28:44
asarch
https://www.google.com.mx/search?q=santiago+matatlan&client=firefox-b&dcr=0&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjYr_mSgKbYAhXL54MKHZFJAPYQ_AUICygC&biw=1366&bih=599
20:31:20
antoszka
Well, I'd love a trip, but won't be able to affort one anytime soon. I love the cuisine too (as much as I know it). Really a place I want to visit. Let's take this off channel to #lispcafe.
21:42:32
pjb
stylewarning: wrong. You have to do something like: (let ((lisp-channel (find "#lisp" (channels *connection*) :key (function name)))) (mapc (lambda (user) (privmsg *connection* lisp-channel (format t "Merry Christmas ~A!" (name user)))) (users lisp-channel)))
21:43:17
pjb
with (ql:quicklisp :cl-irc) (use-package :cl-irc) and establishing a (defparameter *connection* (connect :nickname "xmasgreater" :server "irc.freenode.org"))
21:43:22
stylewarning
Do you have a GPL library for me to run your code with, with a package name that’s ~4,000 characters long
21:44:01
pjb
stylewarning: check https://gitlab.com/com-informatimago/com-informatimago/blob/master/small-cl-pgms/botihn/ or https://gitlab.com/com-informatimago/com-informatimago/tree/master/small-cl-pgms/botil
21:45:22
Shinmera
pjb: With Maiden it would be something like (loop with c = (find-channel "#lisp" (consumer "freenode" *core*)) for u in (users c) do (reply c "~a: Merry Christmas!" (username u)))
22:00:22
aeth
Use abstractions! It should be something like this: (do-users (user (users freenode "#lisp")) (message-user user "Merry Christmas!"))
23:21:14
resttime
Is there a simple virtual machine with its own "byte code" written in Common Lisp out there?
23:51:01
aeth
Your question made me realise just how hard it is searching for "Lisp" and "machine" together.
0:15:58
resttime
Whoa the readme says another programming language too, I wonder how many transpilers there are
0:34:39
marutk
is it possible to static content and websockets from single server? I tried https://github.com/fukamachi/clack with Hunchentoot
1:11:01
resttime
The answer to marutk's question is probably yes I think. Create a middleware which redirects a URL to static content and another middleware to the websockets
3:34:03
asarch
I found this at MELPA's: To use the stable package repository instead of the default “bleeding-edge” repository, use this instead of "melpa":
4:19:49
u0_a166
resttime : you wanted to know about lisp bytecode design? https://github.com/HarryR/secdpy/blob/master/README.md https://webdocs.cs.ualberta.ca/~you/courses/325/Mynotes/Fun/SECD-slides.html
4:24:02
u0_a166
i believe there are alternatives to the SECD abstract machine, and needs extentions to be practical, but some interpreters based on it
7:16:45
beach
minion: memo for KZiemian: One item for CLUS. In the description of the functions for setting macro character or dispatch macro character, the only place to figure out the signature of the function seems to be in the example. It wouldn't hurt to state that signature explicitly.