Re: [racket-dev] DrDr 'shmget' errors
I do not, but maybe these accrued because DrDr used to use a hierarchy of X servers and Xvnc servers and maybe the VNCs were breaking it. Jay On Wed, Dec 15, 2010 at 9:36 AM, Matthew Flatt mfl...@cs.utah.edu wrote: When I run `gracket' on one of my Linux virtual machines to an X server on the same machine, I see that a shared-memory segment is allocated (according to `ipcs -m'). But when I exit or kill -9 the `gracket' process, then the segment goes away. When I use an X server on a different machine, I don't see a new shared-memory segment. Do you see something different in any of those cases? At Wed, 8 Dec 2010 14:16:24 -0700, Jay McCarthy wrote: Alright. I have 4096 shared memory segments with nothing attached to them. I think this means that gr2 has a bug because it is not returning them, maybe by not closing gdk properly? Jay On Wed, Dec 8, 2010 at 1:47 PM, Jay McCarthy jay.mccar...@gmail.com wrote: We talked about it on IRC. I looked up the error and it says there is no more shared memory. I checked all my limits and they are all extremely high. I don't think it is a real problem with the machine, but I don't exactly know. If anyone can give me advice about what this means, let me know. Jay On Wed, Dec 8, 2010 at 11:58 AM, John Clements cleme...@brinckerhoff.orgwrote: I'm seeing this result from DrDr on one of my files: (gracket:19767): Gdk-WARNING **: shmget failed: error 28 (No space left on device) ... and I'm assuming that it's a drdr issue related to running files that involve graphical display, and that I don't need to worry about it. Is this correct? Apologies if I missed discussion of this. John -- Jay McCarthy j...@cs.byu.edu Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay The glory of God is Intelligence - DC 93 -- Jay McCarthy j...@cs.byu.edu Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay The glory of God is Intelligence - DC 93 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev -- Jay McCarthy j...@cs.byu.edu Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay The glory of God is Intelligence - DC 93 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] [racket] Question about fields in Racket OO
set!? Try it in both positions (the commented out one and the other one): the thing to keep in mind is that the declaration in c% is also kind of like a set! that happens when the object is initialized. Robby #lang racket (define c% (class object% (field [f 1]) (define/public (get-f) f) (super-new))) (define d% (class c% (inherit-field f) (set! f 2) (super-new) ; (set! f 2) )) (send (new d%) get-f) On Wed, Dec 15, 2010 at 11:46 PM, Mark Engelberg mark.engelb...@gmail.com wrote: Thanks. That seems to address the shared private issue. So is there a way to give a new value to an inherited field? --Mark On Wed, Dec 15, 2010 at 9:13 PM, Robby Findler ro...@eecs.northwestern.edu wrote: See define-local-member-name. Robby On Wed, Dec 15, 2010 at 10:38 PM, Mark Engelberg mark.engelb...@gmail.com wrote: I'm playing around with the object-oriented subset of Racket, and have a couple of questions. Ideally, I'd like to equip a class with a field that is visible only to it and its subclasses. As far as I can tell, though, this isn't possible. It seems that I have to make a choice between a completely private field visible only to the class (by just using define) or making a completely public field (by using field). Correct? Now, let's say I make the field public. In the subclass, how do I change the default value of field? For example, in the superclass, I might have (field [a 300]) but in the subclass, I want to do something like (inherit-field [a 200]) However, as far as I can tell, the syntax doesn't support anything other than (inherit-field a) Thanks, Mark _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev