freenode/#lisp - IRC Chatlog
Search
0:20:24
vtomole
I'm having trouble running ansi-test when i run (load "doit.lsp") I get "Pathname components from SOURCE and FROM args to TRANSLATE-PATHNAME did not match: :NEWEST NIL"
3:33:28
warweasle
loke: GC doesn't happen right away on sbcl. I have some objects who's finalizers dont get called for a long time after they're gone.
3:36:30
loke
warweasle: I would have a (with-XXX ...) macro that handles that. In addition to that, you can use the finaliser as a last-resort kinda thing.
3:37:22
warweasle
loke: That won't work. I have to keep these things around in an event driven archetecture.
3:37:54
loke
warweasle: Well, then you have to provide a release-XXX function. Like I said, you can still keep the finalisers.
3:38:41
|3b|
* 's alternative is with-gl-resource-manager or something, and scopes that work with that
3:39:33
warweasle
|3b|: Me too. I want to combine a topological/logic based system for both the render queue and garbage collection.
3:39:34
pillton
I would implement a finalizer to call "close" and also warn that you haven't called close.
3:42:50
warweasle
pillton: They are ID's which are unique. Also, opengl calls can only be called by a single thread.
3:43:04
pillton
Well, an event driven implementation typically has a controller which receives events and distributes them to one or more views.
3:43:29
|3b|
thats a bit of an oversimplification, you can call them from multiple threads, it just usually isn't worth the extra complication
3:45:22
|3b|
there might be multiple views showing the same objects (or single objects used multiple times in a given scene). objects might share textures
3:46:12
|3b|
in the general case, objects might be created and destroyed arbitrarily with overlapping lifetimes
3:49:30
pillton
What is wrong with having a gl-resource-manager with "open" and "close" operations? It seems sensible.
3:51:03
|3b|
though it usually ends up more complicated than it sounds, since you want to avoid destroying then immediately recreating things when switching levels or whatever, so needs some sort of 'transactions' or whatever
4:10:16
|3b|
pillton: about union of both sets? i mean you don't want to keep the old data around until you finish loading the new data, since having both loaded at once might take too much space
6:55:32
burtons
You all might find the title(s) to my new album relevant: http://soundcloud.com/burton-samograd/sets/my-kingdom-for-a-macro
7:00:27
loke``
burtons: This is one of my favuorites by them: https://www.youtube.com/watch?v=4iPvxWnbOCk
7:01:34
loke``
The story goes, as I was told, that when they did their first live gig, they didn't have a name, but the event was sponsored by Panasonic so there was this big sponsor banner behind them. Thus, everybody thought they were called Panasonic and they just went with it.
7:06:08
burtons
Open source version of Max/MSP, which is a visual programming environment for working with DSP streams
9:07:18
flip214
Eg. for something like "git diff --options..." I'd need to first fetch "diff" to know which switches to allow