Loading ...
Sorry, an error occurred while loading the content.
3120
Re: Self CPU usage and file handling ... I think SIGALRM is also used to step morphic's polling of io. ( through worldMorph runLoop -> worldMorph delayIfNoInputFor: ms ) The runLoop method comment
Russell Allen
8:21 PM
#3120
 
3119
Re: Self CPU usage and file handling ... Snip ... This process is instantly recognisable to me as something I'm trying to train myself out of, though I can't take the blame this time :) Taking
Russell Allen
8:02 PM
#3119
 
3118
Re: Self CPU usage and file handling ... From what I can see, Self expects i/o on files to result in a SIGIO. It then does a 'select' and then schedules any process waiting on any file that the
Chris Double
6:34 PM
#3118
 
Fetching Sponsored Content...
3117
Re: Self CPU usage and file handling Hi Russell, Just guessing, here, as I don't have anything to look at other than this post - but the symptoms you describe fit the pattern. My guess is that
jas
5:48 PM
#3117
 
3116
Re: Self CPU usage and file handling ... On 64bit linux calls to gettimeofday aren't a syscall so it is faster. Because we compile self as a 32 bit app this optimisation isn't used unfortunately.
Chris Double
Apr 22
#3116
 
3115
Re: Self CPU usage and file handling ... I did some investigation in a Linux Self system. If I run 'vm/Self' with no snapshot so it's just in the interactive scanner I see it floating between 0
Chris Double
Apr 22
#3115
 
3114
Self CPU usage and file handling Hi all, Forgive the longish email. I have been looking into Self CPU usage as a side effect of looking into its file handling. Separely, Ben Noordhuis on
Russell Allen
Apr 22
#3114
 
3113
Re: VNC client in Self Updated demo as an animated GIF. The left hand side is a standard VNC client accessing a shared display. The right hand side is the VNC Morph in Self which
Chris Double
Apr 20
#3113
 
3112
Re: VNC client in Self ... Makes sense ... Another useful thing might be to start experimenting in keeping something out of the main Self tree ie put this code on GitHub but not in a
Russell Allen
Apr 17
#3112
 
3111
Re: VNC client in Self Thanks for the thoughts Russell. I'll see how far I get with no primitive modifications and once it's working I'll look at what I can add to speed things up. I
Chris Double
Apr 17
#3111
 
3110
Re: VNC client in Self Hi Chris, That's a great idea. But I can imagine writing out each pixel one by one would slow even the fastest VM down! I dont know of any primitives other
Russell Allen
Apr 17
#3110
 
3109
VNC client in Self I'm taking a stab at writing a VNC client in Self. Screenshot of progress so far is at: So far the VNC morph
Chris Double
Apr 17
#3109
 
3108
Re: Linux Makefile I've got a branch now that removes the need for running 'makeDeps' to get the dependencies. This is at: It
ardeujho
Mar 27
#3108
 
3107
Linux Makefile I've written a Makefile to build Self using GNU Make without needing CMake. I started with the Tup support that was posted recently and converted it to Make.
ardeujho
Mar 26
#3107
 
3106
Re: Creating objects from the shell Thanks. Much appreciated. ... -- Sent from Gmail Mobile
Stephen De Gabrielle
Mar 15
#3106
 
Fetching Sponsored Content...
3105
Re: Creating objects from the shell On Sat, Mar 15, 2014, at 05:36 AM, Stephen De Gabrielle wrote: 1. defining a method object doesn't seem to run it's code? (I don't get 'test' returned).
ardeujho
Mar 15
#3105
 
3104
Loading Shared Libraries In 'objects/applications/serverDemo' there is an example of loading a shared library and using it from Self. The code has bitrot. The makefile no longer works
ardeujho
Mar 14
#3104
 
3103
Re: Creating objects from the shell Thats brilliant, lobby _AddSlotsIfAbsent: ( | person = ( | name. age. test = ( 'test' printLine ) | ) | ) In english, I am sending the lobby object a message
Stephen De Gabrielle
Mar 14
#3103
 
3102
Re: Creating objects from the shell Stephen, ... That is an example of a method, not a normal object. A normal object would look like: ( | slot1. slot2 | ) The second problem is that you are
Jecel Assumpcao Jr.
Mar 13
#3102
 
3101
Creating objects from the shell Hi, I've had some success creating objects from Morphic and using the outliner, but I can't seem to create objects using the shell. I have tried typing in some
Stephen De Gabrielle
Mar 13
#3101
 
3100
Re: FFI callbacks Thanks, I took a quick look but couldn't find anything obvious. I can work around it though using sockets or such. On Thu, Mar 13, 2014, at 02:40 PM, Nathan
ardeujho
Mar 12
#3100
 
3099
Re: FFI callbacks A casual look around couldn't find anything. I can modify Self arrays and such so can at least pass data back and forth. I was looking at running an existing
ardeujho
Mar 12
#3099
 
3098
Re: FFI callbacks The GUI code seems like a likely candidate for needing callbacks. You might want to try inspecting that.
Nathan Summers
Mar 12
#3098
 
3097
Re: FFI callbacks Not that I know of, but I haven't investigated the VM enough to be 100% sure. I imagine it would require some sort of OOP pinning so that the object isn't
Russell Allen
Mar 12
#3097
 
3096
FFI callbacks Is it possible to call Self methods from C glue code? I know Self can call C code but I'd like to be able to pass a Self block or object to a C function and
ardeujho
Mar 12
#3096
 
3095
Re: Copy down slots I just tried doing this without using "Subclass me" and it seems to work, as long as I make both objects independently - that is I don't create the second
ardeujho
Mar 11
#3095
 
3094
Copy down slots I'm having trouble getting copy down slots working and I'm wondering if I'm doing something wrong. These are the steps I took: 1) copy a new object (|
ardeujho
Mar 11
#3094
 
Fetching Sponsored Content...
3093
Re: A question about method slots ... Ok. For me, the "no" was placed in a way, that made it's meaning ambigeous. ... I see the point. But to draw this conclusion from the title is a bit
Michael Paap
Mar 10
#3093
 
3092
Re: A question about method slots Jecel, Many thanks! - David Sent from my iPhone, tap tap ... Jecel, Many thanks! - David Sent from my iPhone, tap tap On Mar 10, 2014, at 3:20 PM, "Jecel
David Ungar
Mar 10
#3092
 
3091
Re: A question about method slots Michael, ... I am pretty sure David is saying that the statement is wrong. It isn't very hard to see where the idea came from. If you first read "Using
Jecel Assumpcao Jr.
Mar 10
#3091
 
View First Topic Go to View Last Topic
Loading 1 - 30 of total 3,120 messages