freenode/#lisp - IRC Chatlog
Search
17:53:27
akr
Hello, can someone please help me make sense of the "docs" for cl-opengl http://quickdocs.org/cl-opengl/api
17:56:14
Shinmera
cl-opengl does not handle context or window creation. Those parts are heavily OS specific.
18:00:51
Shinmera
glop is a "pure CL" attempt at doing the same, but it's a bit sketchy / underdeveloped in parts.
18:02:05
akr
do you think I can plug the window obtained from xlib:screen-root directly into glfw:make-context-current?
18:05:02
Shinmera
All of these libraries will do the window creation for you. Is there any reason you want to do it yourself?
18:06:47
Shinmera
I suppose as a last resort you could browse the sources of GLFW's X11 implementation and pick the parts you need to creat the context and prepare the window.
18:09:10
Shinmera
I assume it's typically not exposed because it is a rather low-level, platform specific detail.
18:11:02
Shinmera
On the other hand, this is a good opportunity to write a small library that can be re-used to get a X root GL context. :)
18:12:28
Shinmera
Look at the sources of glfw/glop/etc, see what they do, then replicate that in CL.
18:12:43
Shinmera
except switching out window creation with plugging in the handle of the root window.
20:28:33
schoppenhauer
hi. i get the error message ; READ error during COMPILE-FILE:; ; Symbol "*ASSEM-INSTRUCTIONS*" not found in the SB-ASSEM package. when trying to load SLIME (version 2.14; quicklisp)
21:35:43
shka_
Shinmera: I created set of niche extensions to documentation-utils: https://github.com/sirherrbatka/documentation-utils-extensions
3:50:20
drmeister
If I have multiple slime sessions running at the same time - does C-c C-c go just to the most recent one?
4:50:50
borei
bit confused with the following problem, i have function (method), and one of the argument should be simple-array, i have declare for it
4:51:41
borei
im calling above function as (fun (#(1.0 2.0 3.0)), but getting error that #(1.0 2.0. 3.0) is not simple-array
4:56:49
beach
borei: When the reader sees that, it creates a (SIMPLE-ARRAY T), not a (SIMPLE-ARRAY SINGLE-FLOAT).
4:58:05
beach
borei: The declaration does not have to do with what the array happens to contain, but with what it is ALLOWED to contain. In this case, the reader creates an array that is allowed to contain anything. It just so happens that it contains only floats.
4:59:40
beach
smokeink: Thanks for posting the link to the Alan Kay's talk. Very interesting. I don't agree with everything he says, but many things are definitely true.
5:11:47
chenbin
https://hackernoon.com/the-coolest-react-ui-frameworks-for-your-new-react-app-ad699fffd651 , which react based UI is lispers' favorite?
5:21:45
epony
beach what are the points you don't agree with? (if this is not too much of an aggravation)
5:22:00
smokeink
chenbin: I like this one https://lively-web.org/welcome.html , but it's not a reactjs thing, it's based on smalltalk . Haven't heard of any lisper that uses reactjs or angularjs , but there might be a few out there...
5:23:37
epony
I'm interested if there are more points that you don't agree with or think are a good idea, I've not yet seen the entire talk (10m into it) and watching with a clear mind