World: r3wp
[Ann-Reply] Reply to Announce group
older newer | first last |
BrianH 24-Aug-2010 [2061] | Library support requires /View for now, not /Core. |
AdrianS 24-Aug-2010 [2062x2] | that was core - with view, it works |
what was the reason for limiting it to /View? | |
BrianH 24-Aug-2010 [2064] | It was limited to /View before. That limitation was just not removed yet. 2.7.7 was put out quickly. |
AdrianS 24-Aug-2010 [2065] | I get significantly varying results from consecutive executions of print ".". Is this typical? >> probe time-lapse [print "."] . 0:00:00.000521096 == 0:00:00.000521096 >> probe time-lapse [print "."] . 0:00:00.001658861 == 0:00:00.001658861 >> probe time-lapse [print "."] . 0:00:00.001802788 == 0:00:00.001802788 >> probe time-lapse [print "."] . 0:00:00.00178686 == 0:00:00.00178686 >> probe time-lapse [print "."] . 0:00:00.001694701 == 0:00:00.001694701 >> probe time-lapse [print "."] . 0:00:00.001815304 == 0:00:00.001815304 >> probe time-lapse [print "."] . 0:00:00.001718594 == 0:00:00.001718594 >> probe time-lapse [print "."] . 0:00:00.0017971 == 0:00:00.0017971 >> probe time-lapse [print "."] . 0:00:00.001743625 == 0:00:00.001743625 >> probe time-lapse [print "."] . 0:00:00.002421733 == 0:00:00.002421733 >> probe time-lapse [print "."] . 0:00:00.002234001 == 0:00:00.002234001 >> probe time-lapse [print "."] . 0:00:00.001800513 == 0:00:00.001800513 >> probe time-lapse [print "."] . 0:00:00.001718594 == 0:00:00.001718594 >> |
BrianH 24-Aug-2010 [2066] | On Windows, yes. You will get varying results on anything. It's a non-real-time multitasking thing. |
AdrianS 24-Aug-2010 [2067x2] | sure, I would expect some variation, but this seems a bit large |
anyhow, this should be averaged over thousands of executions to get a more accurate value | |
BrianH 24-Aug-2010 [2069] | Anything that requires traditional I/O (not OpenGL or DirectX) will have a lot of variation on Windows. Video games use timers and delays to get consistent behavior. |
Maxim 24-Aug-2010 [2070x4] | adrian, its up to you to put a loop in the block. |
but, you can get a feel for relative speeds.... sine, on my system takes a little over 0.000015 seconds on average. when I run the timer with a loop of 100000 It takes about 1.5 seconds... so the resolution of the timer is factual. | |
I'm using the timers to have much better resolution in controling/measuring frame rates. | |
its not perfect, because the time events aren't very reliable, but at least I can measure some of mouse events and throttle them. | |
AdrianS 24-Aug-2010 [2074x2] | does chrono-time work for you? |
I get: ** Script Error: vin has no value ** Where: chrono-time ** Near: vin ["chrono-time()"] vout GLOBAL_CHRONO-TIMED + | |
Maxim 24-Aug-2010 [2076] | ohhh.... forgot to remove the call to 'VIN part of another library (also on rebol.org) |
AdrianS 24-Aug-2010 [2077x2] | btw, how come you didn't want to use 'dt for 'time-lapse as in R3? |
this could be part of 22-forward, I would think - at least for windows | |
Maxim 24-Aug-2010 [2079x2] | i don't like acronyms like that. I could have used time-delay but time lapse is actually more precise meaning, especially when speaking about chronometers. |
yes, maybe brianh could include this into R2/forwards... its MIT so go ahead if it suits you. | |
AdrianS 24-Aug-2010 [2081] | dt is close to delta, or delta-time - it's used in math all the time |
Maxim 24-Aug-2010 [2082] | yeah... I think I also actually didn't want to overwrite the 'proper' word space from R3 with my own. if brianH feels this is effective enough, then he can always put this into /forward and rename the function. |
BrianH 24-Aug-2010 [2083] | R2/Forward is all mezzanine code, no library calls, all cross-platform. But it is also MIT licensed, so do with it what you will. |
Maxim 24-Aug-2010 [2084] | 'VIN fixed |
Chris 6-Sep-2010 [2085x2] | As far as I can make out, Google Charts API works in R3 as well. Project page: http://www.ross-gill.com/page/Google_Charts_and_REBOL Other marker types: line, arrow, cross, diamond, rectangle, diamond, square, horizontal lines, x. They all follow the same basic structure: name, opt color, index, opt points, size, z-index. See the page on Compound Charts for more info: http://code.google.com/apis/chart/docs/gallery/compound_charts.html |
(only one diamond) | |
Reichart 6-Sep-2010 [2087] | I'm a little confused by that last statement. Why would Google Charts API "not" work from any program that can call something to HTTP? |
Chris 6-Sep-2010 [2088x5] | The api doesn't actually call HTTP, just generates the URL. |
The API -- this script... | |
It does a lot of little conversions to drill it down to the URL, so I was pleased that it worked unmodified on R3 (doesn't always happen) | |
Did you try the link? | |
Also, 'chart takes an object as an argument too, so you can reuse data: sample: context [type: 'line data: [10 95 60 95 10] bars: none] browse chart sample sample/type: 'bar sample/bars: [55 8] browse chart sample | |
Gregg 6-Sep-2010 [2093] | Go Chris go! |
Janko 9-Sep-2010 [2094x2] | Yes, very cool stuff Chris. You are putting out nice web integration things, this, and twitter stuff. Very nice! |
(does anyone have anything related to openId with rebol?) | |
Henrik 10-Sep-2010 [2096x2] | Kaj, is it possible to wrap the result to fit the page? |
if I say read %., it responds with not enough memory. curious error. | |
Kaj 10-Sep-2010 [2098x5] | No, it means you tried to use more memory than I'm willing to let you on our server :-) |
That's explained in the introduction text on the start page | |
Oh wait, this one is different. That would have happened if there are already very many REBOL expression files in the folder. But for some reason, R3 now yields this result if you don't add a / | |
So it may be doing something weird that is caught by the set resource limits | |
I chose not to wrap the expression result to provide the purest evaluation result | |
Gregg 17-Sep-2010 [2103] | Very cool Max! |
Maxim 17-Sep-2010 [2104] | I'm working on using radial fill-pens, but as expected... its VERY heavy. |
amacleod 17-Sep-2010 [2105] | Very nice...for a days work.... Radial Fill-pens....that's what I was working with. did not get too far |
Maxim 17-Sep-2010 [2106] | I've got fire done... tweaking it... but its easily 2 to 3 times heavier cpu-wise. |
amacleod 17-Sep-2010 [2107] | Is there much improvement to it visually? |
Maxim 17-Sep-2010 [2108] | for fire not much, a part that its a bit softer... though I am now trying to change the shape of the fill and cirlce so its a vertical ellipsis.. this should hel make the flames more or less lines.. |
Maxim 18-Sep-2010 [2109] | bah, its just too much cpu... with the smoke... it end ups eating 7-10 more cpu, and I can't crank up the rate past 70 so its really bad. with normal circles, I can up the rate to 500 and just make things less opaque and the end result is much prettier. |
WuJian 18-Sep-2010 [2110] | Great work. |
older newer | first last |