freenode/lisp - IRC Chatlog
Search
4:40:43
beach
The latter corresponds better to the intended use, and the same code ought to be generated when the second argument is a constant.
4:45:06
drmeister
CL_EXTERN_DEFMETHOD(IRBuilder_O, (llvm::StoreInst (*)(llvm::Value *Val, llvm::Value *Ptr, bool isVolatile)) &IRBuilder_O::ExternalType::CreateStore);
4:45:21
beach
drmeister: I think the more work being done in Common Lisp, the more flexible the code, thus enabling more transformations.
6:55:11
borei
got confused with variables type, im expecting that im going to use FLOAT, but lisp doesn't agree with me and uses double
11:19:26
scymtym
is an implementation permitted to add bindings to cl symbols in other namespaces than the one(s) specified by the standard? concretely, can there be conditions named CL:NO-{APPLICABLE,NEXT}-METHOD in addition to the generic functions?
11:21:09
specbot
Constraints on the COMMON-LISP Package for Conforming Implementations: http://www.lispworks.com/reference/HyperSpec/Body/11_abaa.htm
11:22:57
Shinmera
"In a conforming implementation, an external symbol of the COMMON-LISP package can have a function, macro, or special operator definition, a global variable definition (or other status as a dynamic variable due to a special proclamation), or a type definition only if explicitly permitted in this standard."
11:41:06
impaktor
I'm running slime from quicklisp, but trying to install slime-company for auto completion from MELPA, but that pulls in MELPA-slime as dependency.
11:43:13
impaktor
Just putting slime-company in my emacs load path is probably the obvious solution.
12:04:28
dim
the only way to control evaluation of arguments is to write a macro rather than a function, right?
12:05:12
bigos
Does anybody have experience with low level debugging Lisp on windows? I recently strated playing with x64dbg https://x64dbg.com , I am kind of impressed with it. It seems like improvement over OllyDbg. When I attached the debugger to SBCL I noticed something interesting when I was checking interactions with cl-cffi-gtk
12:06:58
bigos
It is possible that Lisp misbehaves because it tries to access memory address that it shouldn't
12:18:53
beach
bigos: If you use FFI stuff, then anything can happen. But any sane Common Lisp implementation should be safe if you have a high value of the SAFETY quality and you don't use foreign code.
12:20:53
bigos
the problem is I might need foreign code for UI, Shinmera has sugested qtools and it seems to work. but I still might need ability to switch to other GUIs
12:21:37
Shinmera
"switching guis" isn't really something you ever do in any project. A UI is too tightly integrated for that.
12:22:59
bigos
I mean switching to use other gui for other projects. I still I am more familiar with Cairo and did not yet figure out how vector graphics works in QT so my options are still open
12:25:08
bigos
I need UI toolkit for a windows and menus, but in the pipeline I have idea of application that extensively uses vector graphics
12:25:50
Shinmera
Well you can still use Cairo for that and just render to a GL texture or something else that your toolkit can display in a window.
12:26:05
p_l
bigos: you could use a vector lib that can use GL and render to GL context acquired through Qt
12:27:27
bigos
I drew things in Inkscape before, drawing the same programmatically is not a big step
12:27:37
p_l
Shinmera: need to manually handle some of the input vs. depending purely on Qt as would be the case with, let's say, QtSceneGraph
12:28:38
Shinmera
p_l: Ah. Well, I wouldn't say writing some overrides to handle input events is problematic :)
12:29:13
p_l
iirc, with scene graph, you can still add input actions directly to rendered objects, instead of let's say having first a viewpoint transform to find correct coords, then finding the right object that is under those coords, then firing a menu or whatever
12:31:52
Shinmera
QPainter has bezier curve drawing functions and other stuff, so if that's enough vector graphics for you you can certainly get by with just what Qt offers.
12:32:10
Shinmera
But depending on your needs you might quickly run into limitations too, so I don't know
12:49:03
bigos
examples from this page should be enough for now http://doc.qt.io/qt-4.8/examples-painting.html
13:08:15
shka_
beach: just wanted to say that i still work on grammar, i had two passes manually so far
13:27:54
Shinmera
or the new rendered-text that was introduced literally yesterday if that's what you prefer.
13:34:44
shrdlu68
Shinmera: I want to get "<body><a href="meh">MEH</a></body>" out of (plump:parse "<html><body><a href='meh'>MEH</a></body></html>")
13:36:34
Shinmera
Then serialize the child array of the element you want to get the contents of, as I just said.
14:14:24
shka_
beach: not sure, i will try to setup it later, meanwhile i updated docs with a version of the overview that hopefully does not provoke heart attacks :-)
14:31:21
dim
they provide browser plugins that's useful when you input your text in textareas in browsers