Hello List! How can I use Objects that are not in the core, e.g. Math.Vector? The command autoImportResources that is used in some examples is not recognized...
Robert Brandner
robert.brandner@...
Jul 1, 2006 7:33 pm
9188
Hi, Io used to ship with the following sample code as an implementation of generators: Generator := Object clone Generator value := 0 Generator input := 0 ...
... Math.Vector? Do you mean Vector? If you want to use Vector, you'll need to use ioServer or ioDesktop (those are the only bins with it built in). As far as...
... <CLIP> ... Your code is in need of some work (or at least, how I would have written it). Here's my version (works as expected with latest Io): // clip here...
... Thanks, very nice! ... Yes, I have both. Let's start with the most weird of them: The code works as expected with the io binary, but gets blocked before...
... Interesting; seems to be a problem with Ranges. If you change line 12 to read: for(i, 0, 1000, instead, it works as expected with ioServer / ioDesktop. ...
... Fine. So now that it works, I have the following questions: - If I'm not careful, I might end up with "Scheduler: nothing left to resume so we are exiting"...
Hello, List! I'm learning Io right now and to do that I want to write a Jabber/XMPP bot in it. In order to achieve that, I first need a tool to work with ...
Danya
me.dendik@...
Jul 2, 2006 9:31 pm
9196
... Without the code, I can't say, but my first guess would be that the bottle neck is not the coroutines. On a side note, what is the practical use of...
I experienced the same issues with Haemus (my IRC bot) just yesterday. ... -- Jeremy Tregunna jtregunna@... "One serious obstacle to the adoption of...
Hi list, ... Here are the code samples: http://creo.hu/~csaba/tmp/visible/oneHundredThousandGen/ Apart from the aforementioned ones, I added a sample with...
... To do that, you might want to do something more like: n := 100000 s := Date secondsToRun(a := method(n repeat(yield)); coroDo(a); a) writeln((n*2/s) floor,...
... When I run it, I get a file with 2500 bytes. Maybe you didn't delete the test file before running your test? Can anyone else repeat Jon's tests and results...
... I just get about 40,000 - 50,000. I wonder what this might depend on? Raw CPU power? Architecture/platfrom? Compile flags? This rate means a 4.5-5 sec...
Quick question - is it possible to pause/resume the whole of Io, i.e. a function that is called from C, runs every active coro until it has yielded, then...
... Hi Peter, Yes. When you're in C, you can get a reference to the current coroutine by calling: IoCoroutine *currentCoro = IoState_currentCoroutine(ioState);...
... perform happens to be a slot on Object. Object is obviously a prototype of Receiver still. ... test_method is not found so what Io does it invoke the first...
Brian Mitchell
brian@...
Jul 9, 2006 9:02 pm
9212
... Thanx. It works, but not pretty. Then let me rephrase my problem. I would like to execute any arbitrary string as method on a given object, say Receiver. s...
... I have now built IoFull-2006-07-04 on my old G4 Mac (with 10.4.6), and the results seem to be the same, i.e. I get the "Exception: AsyncRequest error" when...