FWIW, I still get emails from the beta program for Flash iPhone packager, and
they are reporting that Flash apps have been getting approvals already today
after many months stranded in the queue. I have a feeling Apple went back and
approved a bunch in advance of this announcement.
On
One option would be to use shell() to tar + zip the file.
Something like:
get shell(tar -czf MyApplication.tgz MyApplication.app)
put url (binfile:MyApplication.tgz) into the tCustomProperty of this stack
...
put the tCustomPropery of this stack into url (binfile:MyApplication.tgz)
get shell(tar
Amen, Scott.
There are plenty of awful uses of Flash, but the general wave of outrage (and
associated love for HTML5) has reached levels of ridiculousness.
We'll be lucky if HTML5 reaches Flash-level performance and portability any
time soon. And I'm sure advertisers will be more than happy to
A bit ironic, but understandable at this point. HTML 5 may be the future, but
the standard itself isn't even final yet. A bit hard to produce a cross-browser
tech demo when all of the vendors are still in the middle of implementing a
moving target.
The -webkit stuff is more a reflection of
Another interesting deployment option on the horizon:
http://www.gamasutra.com/blogs/MarkDeLoura/20100519/5195/Google_IO_2010__Native_Client_Unity__Chrome_Web_Store.php
In a nutshell, this allows you to write C / C++ code to run in Chrome without
any plugin. For those of us who don't code from
Warning, bad analogy on the way...
That's kind of like observing a truck full of loose boulders ready to fly out
the back. Isn't that what trucks are for, carrying heavy loads?
Point being that yes, SQL is one means towards managing large amounts of
tables, rows, data, etc -- but it still
Andre,
If you mean by this that the bottleneck is READ access for sending the emails,
would replication be an option? You could set up a second slave DB which
shouldn't affect WRITE much unless you are already saturated on that end as
well. Then when you need that burst of data, just alternate
Exactly. As someone who has spent the last couple of years writing virtual
worlds in Flash, I can say unequivocally that HTML 5 is nowhere near being able
to duplicate that functionality. Not only is the feature set much smaller and
browser support limited, but there are no tools behind it. And
Josh,
Except, if a tool like Rev were generating the code to paste in, it would
inevitably contain large portions of identical code across projects. Apple
could easily ban any app that matches those very clear signatures.
On May 8, 2010, at 11:28 PM, J. Landman Gay
Yup to all of that, Richard. I'm aware of some seriously high budget iPhone
apps being done in Unity 3D right now, which is one of the borderline cases (it
actually does output an XCode project, but there are other layers to the tool).
Not that any developer is unimportant, but we're talking
I wonder if a starter version of RevMobile would be in order - i.e.
- Shows a Rev splash screen
- Must be a free app
That would seem to allow people to test the waters with a nice app for $0
down, and then if they had something worth selling they would need to purchase
the full RevMobile.
Definitely a valid concern, although if it's truly 15 seconds that just seems
excessive. I would think just a couple seconds would work, especially if it's a
decent looking splash screen and you can actually perform some legitimate
loading while it displays. I don't see any reason why it would
Shani,
Do you want Rev to be *client* or *server*? If you want it to be the server
(with a Java client) then you need to look at the accept command:
accept connections on port 6800 with message serverConnect
on serverConnect tSocket
read from socket tSocket for 1 line
...
end
,
I want to use Rev as a Server.
I send another email with detail. kindly see that.
and correct that plz.
Rev is on Server Side
JADE is on Client Side
Regards,
SHANI
On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie bri...@qldlearning.comwrote:
Shani,
Do you want Rev to be *client
I'd be surprised if you could do much better. A tad maybe, somehow, but I don't
think there is another hidden Rev function that will work any further magic. If
you need to make another major speed jump, I'm afraid you would need to look at
your data itself -- can you index it, can you operate
Mark,
This seems highly data-dependent and contrary to logic to me. In my tests:
put line 1 to -2 of tData into tData1
delete line -1 of tData
delete last line of tData
All perform about twice as fast as using repeat for each. The first was about
10% faster than the next two, which makes sense
Testing semantics aside, I definitely agree with your conclusions. Repeat for
each performs awfully well for text operations if you can encapsulate your
logic in a single pass.
One additional method to consider... have you tried using split / combine to
turn the data into an array, something
While this thread is alive, I've long been curious what the criticisms would be
of the following scheme, for a product with low to medium security needs. This
does assume that you require an internet connection for registration, but that
seems to be a generally acceptable requirement these
Alejandro,
For me the double-clicking doesn't work at all, but submitting a new solution
is no problem.
Poor Andre didn't know what he was getting himself into, but...
Any chance Andre you could add a simple edit button on the front page instead
of the double click? Maybe that would help.
I probably shouldn't touch this one with a 10-foot (100-foot? 100-meter?) pole,
but...
Perhaps the best solution for everyone would be if Rev just offered up some
combination of refund or store credit. We certainly don't need to be debating
the role of force majeure in this case, but some sort
Good stuff! I particularly like this project, because it allows for a
combination of clever coding AND pure math. The best problems surely require
both. It also depends what level of computation you force yourself to contain
in you code. For example, Rev has a sqrt() function, but what if you
According to the ncal docs, the country code has nothing to do with language,
just Gregorian dates:
-s country_code
Assume the switch from Julian to Gregorian Calendar at the date
associated with the country_code. If not specified, ncal tries to
guess the
, Feb 23, 2010 at 11:04 AM, Brian Yennie bri...@qldlearning.com wrote:
I'm pretty proud of this one for #3... SPOILER ALERT SPOILER ALERT... scroll
down if you want to see. Great site find, Andre!!
put 0
I'm pretty proud of this one for #3... SPOILER ALERT SPOILER ALERT... scroll
down if you want to see. Great site find, Andre!!
put 0 into total
repeat with i=1 to 100
repeat with j=1 to 100
if (i=j) then next repeat
add i*j to total
end
Oooh, oooh!
In all seriousness, it would be fun if someone compiled a set of different
correct solutions to these problems. What an incredible way of showing people's
different coding styles in Rev.
(my solution to #2 after the break)
put 0 into tot
put 1 into pre
put 2
Awesome, I already submitted one =). Double click isn't working for me, but
submitting was smooth!
Hello Folks,
After a really fun morning solving math tricks with Mark and Brian, I
decided to give revlets a try. WeCode Euler is revlet for testing, recording
and exploring solutions for
in a database =)
double clicking is a funny business sometimes.
by the way, fill the comments with the problem proposition next time, if not
some personal comments on your approach! :D
On Tue, Feb 23, 2010 at 4:00 PM, Brian Yennie bri...@qldlearning.comwrote:
Awesome, I already submitted one
Ray,
One approach would be to wrap your own archive around Rev's compress()
function, i.e.
put compress(file1Data) into file1Compressed
write (the length of file1Compressed): to file myZip
write file1Compressed to file myZip
...
put compress(file1000Data) into file1000Compressed
write (the
Alejandro,
The first step for this would likely include creating an inverted index. This
means you store something like:
monkey:1,34,3827,21314
Where the word being indexed in monkey and the numbers that follow are
article IDs. Using this information it is pretty trivial to implement AND /
Yes, this is correct and should work fine, but how could i write in the
word index a range of article where a word appears consecutively:
baboon:1934,2345,2346,2347,2348,2349,2350,2351,2352,2567,3578
If this were your format, you could compact to something like:
baboon:1934,2345-2352,2567,3578
Jeff,
This line:
put the length of url file:myfile.txt into tEnd
Loads the entire file into memory in order to get its length.
- Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe
Craig,
Yes, the random function is called for each item to assign it a sort value. My
guess as to why using a larger number in random(n) is as follows;
If you use random(3) there is a high chance that two items will be assigned the
same value. In this case, the sort algorithm may preserve
end filelength
No need to get all flustered =)
- Brian
On Feb 10, 2010, at 11:26 PM, Brian Yennie wrote:
Jeff,
This line:
put the length of url file:myfile.txt into tEnd
Loads the entire file into memory in order to get its length.
That's a joke, right? :-(
A freakin' OS
One possibility for RevBrowser would be to build an alternative using WebKit
(aka Chrome, Safari engine). That would allow for the same browser engine on
all 3 platforms, instead of locking down projects to the lowest common
denominator (i.e., IE). It would certainly support Linux as that is
Although not pretty, you could possibly create a timer which just issues a
useless query every 15 seconds or so:
on keepAlive
executeSQL connectionID, SELECT 1
send keepAlive to me in 15 seconds
end keepAlive
Well I've discovered in my experience that ALL SQL servers have a default
Richard,
http://www.runrev.com/newsletter/january/issue85/newsletter1.php?id=NW085S38885
Mike Kerner wrtote:
I haven't tried this, but I have some folks here who have iPhone
Touches.
So, are we going to be able to deploy for them as well?
The current shipping Rev engine will not run on
I received it by email and accessed it directly.
Brian Yennie wrote:
http://www.runrev.com/newsletter/january/issue85/newsletter1.php?id=NW085S38885
Thanks. Good to see they've finally gone public with that.
I'd read the newsletters more often if I could find them more
easily
Has anyone had success using the evenodd fillRule for complex (say
5000+ points) graphics? When I do, I start to get many horizontal line
artifacts:
go stack url (http://fi.s.s3.amazonaws.com/fillRule.rev;)
- Brian
___
use-revolution mailing list
Interesting. Do you mind sending me a screenshot off-list of how it
looks on your end? It does seem to be some sort of rendering issue, as
I've seen the artifacts disappear while editing a group before.
The original graphic is a v1 SWF =).
Brian Yennie wrote:
Has anyone had success using
Interesting. Do you mind sending me a screenshot off-list of how it
looks on your end? It does seem to be some sort of rendering issue,
as
I've seen the artifacts disappear while editing a group before.
Looks good: crisp, clear lines throughout, very clean rendering. I
even used the
Yes, that =).
I think he's referring to the linear artifacts in the background
of the
graphic (grey and purple regions on the right and left).
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
Recently, Richard Gaskin wrote:
Brian Yennie wrote:
Has anyone had success
I believe the message was encoded using the following compression
algorithm:
function compressMessage tText
if (tText = secret message) then return empty
else if (tText is empty) then return secret message
else return tText
end compressMessage
Therefore, the answer is secret message, which
I would think it depends on the specs. If the tablet merges the
ability to run OS X apps and iPhone apps on the same machine, then
we'd be in business. Or perhaps there is some sort of compatibility
layer that Rev could be adapted to.
If it's just an iPhone with a bigger screen, we're
If you don't mind messing with a little Javascript, it could be as
simple as this:
body onLoad=setTimeout('window.location.href = \'http://http://
www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/
resources/lexicon/images/backgrounds/current_slide=13\' '), 5000)
This
One common technique if you want to force a new version to be loaded
is to use a cache busting URL to the Revlet in your HTML. Just add a
query string to the end, and change it to reflect a new version.
myrevlet.rev === myrevlet.rev?v=1.0 === myrevlet.rev?v=2.0 etc.
From then on,
Alex,
The usual approach would be to strip ALL tags, while possibly
leaving some whitelisted tags behind. As you suspect, it would be a
monumental task to consider all possible HTML messes a person could
create, but the whitelist approach works fairly well. It won't of
course take care
Try:
window.location.href
I believe this should work for all browsers.
Hi,
i already tried that solution. It works without problems under
Firefox here under Windows. But under IE8 i get no value back for
document.location.href;. Maybe due to security settings. I do not
know.
But that
The way I rationalize it is along your line of thinking, Jacque.
Basically I see a system message as something only the engine can
create. As soon as you use send, you are creating a custom user-
level message like any other. What you have sent is NOT a system
message any more, it's just
This is probably highly unnecessary, but I found it interesting to
imagine:
on keyDown
pass keyDown to this stack
end keyDown
A pass with a target =)!
The way I rationalize it is along your line of thinking, Jacque.
Basically I see a system message as something only the engine can
Well I did say *if* Rev is going to be strict. I have no idea whether
it should be =). But yes, I would say send and dispatch should follow
the same rules here.
On the second part... amen.
Fair enough. But then we should insist that dispatch not be
allowed to
send system messages. And
I would suspect that the leading * is causing the most slowdown.
That is going to force the filter command to search the entire line
every time, since the ['-] portion could be anywhere.
Switching to SQLLite could work, but you are going to have to
completely reformat your data. If you
Peter,
Are you sure you are including the URL keyword?
RIGHT:
set the storedStack of stack updateList to URL (binfile:filepath)
WRONG:
set the storedStack of stack updateList to (binfile:filepath)
binfile instead of file doesn't change things. Still don't get
the actual stack into the
Lynn,
Perhaps it would be worth re-thinking the founders formula based on
how far the product is from release. Hearing that a Mac release only
compiles tells me that the product is more like an early alpha at
this point than a beta. Don't get me wrong - I'm sure the work to date
is a
Perfectly valid opinion vs. the feature, but really? Personally, if I
had this issue with someone and their suggestion was to switch out of
Gmail, I'd probably be inclined to tell them to stop emailing me. YMMV.
Hi Jim,
You're right, but one shouldn't have to do that. I'd rather
You might want to give Knoppix a try:
http://luhman.org/blog/2009/07/13/knoppix-recovery-mac-mini-crash
I just recently used Knoppix to recover a Windows laptop and it was a
real lifesaver. Hopefully you can just march right into those folders
since Linux won't bother trying to respect your
Jerome,
Would it work to make each page a separate print job? Then you keep
sending print jobs until one fails. The next day you just cancel the
last failed job.
Something like:
Print 5
Print 6
Print 7
FAIL
Next day...
Print 8
That way you are not worrying about detecting out of paper in
Seems like the xTalk spirit would say something like:
set the isbuffering to true
set the isbuffering to false
put the length of the outputbuffer
replace me with you in the outputbuffer
send outputbuffer
There would be some interesting possibilities if you could just
address the buffer as a
Off the cusp idea -- what about just making breakpoints completely
visual in tRev? Perhaps use an image with an arrow and some sort of
useful icon? That way you'd maintain the use of actual breakpoints for
all of the reasons you outlined, but just give the user something tRev-
specific to
Jerry,
I was honestly lukewarm about this at first as a heavy user of full
debuggers, but I'm definitely warming up to it. Fact is, that about
half the time I use a debugger and half the time I just litter my
scripts with put statements. This is a nice middle ground approach.
With that
Jerry,
I was thinking more of an inline image than the Rev dot next to a
line. It would occupy a line of its own. Doesn't make much of a
difference to me, but seemed like an alternative to the concerns about
terminology. For example:
on mouseUp
put 1 into someVar
BREAKPOINT
tRev - The Movie
http://reveditor.com/trev-the-movie
On Aug 25, 2009, at 7:19 PM, Brian Yennie wrote:
Jerry,
I was honestly lukewarm about this at first as a heavy user of
full debuggers, but I'm definitely warming up to it. Fact is,
that about half the time I use a debugger and half
Randall,
You seem to have a great thirst for striking down the state of
technology, without actually contributing much to it, nor (as far as I
can tell) understanding much about it. Here's an idea -- how about
just discussing your ideas instead of chastising anyone who fails to
grasp
Randall,
OK, well let's carry on from there.
Are you familiar with this project?
http://www.research.sun.com/knowledge/papers.html
Something similar in xTalk would be pretty darn cool, I would think.
Especially if it were to index and search the web =).
See, we can have a fruitful
/mailman/listinfo/use-revolution
---
Brian Yennie
QLD Learning
(310)-367-7364
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com
I would think that technically, it should work with wholeMatches =
true. Otherwise, with wholeMatches = false, it should return nothing.
I based this on consistency with the normal string logic that:
empty = empty (TRUE)
empty contains empty (FALSE)
With that said, it sounds like lineOffset
;-)
On 16 Aug 2009, at 18:51, Brian Yennie wrote:
offset( (the lineDelimiter)(thelineDelimiter) ) ?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Apologies if this has been covered before. Would one option be using
image labels created at a higher resolution than export snapshot
(which will get you screen resolution -- 72 DPI)?
For example, create your label in Photoshop (or any other tool of your
choice) at 300 DPI. Then use that
Richard,
FWIW, this seems to be the Javascript class you'd need:
http://www.webreference.com/js/column12/trmethods.html
HTH
I need to know the pixel locations of the bounds of range of
selected text in a RevBrowser pane.
I don't necessarily need the horizontal locations, but the vertical
Len,
FWIW, I would recommend going the PHP route (or any server side
language). That way you will never have to worry about a firewall, and
won't have to maintain any sort of database connectivity from inside a
browser. Do revLets support ODBC?
You can just say something like:
put url
Nicolas,
Considering it is pre-release software and apparently you have only
had it for an hour, it seems a little unnecessary to flame it on this
list. Perplexingly as a two-time returning customer of GLX and GLX2.
Surely you could have contacted the author, or RunRev support, or
simply
Yves,
I assume you mean PUT command (not POST).
Does your host give you FTP access?
As for PHP, yes, you could probably write a simple PHP script -- not
sure what you mean by within rev. You would write the PHP script in
any text editor, and save it to your server.
HTH
Hi list
I've a
];
$pref2 = $_POST[pref2];
...
// write the prefs data to a file
?]
Hope that gets you a bit closer.
Le 08-août-09 à 09:48, Brian Yennie a écrit :
Yves,
I assume you mean PUT command (not POST).
Does your host give you FTP access?
As for PHP, yes, you could probably write a simple PHP script
Malte,
Here is a quick example of what binary search can do. It's a bit of
work to maintain the sorted data, but the speed is impressive if you
have very large data. If you are not familiar with binary search
(forgive me if you are), it is very intuitive -- it searches like you
might
Malte,
Beyond the ideas already presented, the only thing I can think of -
and this would be a bit of work - is that if there are particular
fields you know you will want to filter on, you could maintain a
*sorted* copy of dgdata. For example, if you had a copy of dgdata
sorted by name,
One option if you just want cheap file hosting of any file type is
Amazon S3. It's not free and you won't be able to run any server side
scripts, but you can't beat the pay-as-you-go pricing. If you just
want a couple gigabytes of storage and a a couple gigabytes of
bandwidth every month,
Disclaimer: I have only worked with Rev in the past as a CGI, so this
is not from first-hand experience; however, I do have a lot of
experience with web apps in other languages.
Here is how I believe Rev will stack up:
1) Since Rev is now an Apache plugin, this means it runs inside the
Well, I guess I assumed. And you know what they say about assuming...
Anyone that can confirm either way? It appears to me that it ought to
be an Apache plugin with some other proprietary stuff going on for
integration with the IDE, but I definitely can't prove it!
Brian Yennie wrote
Perhaps one can experiment with a Javascript method such as this:
http://danielmclaren.net/2008/04/expanding-resizing-a-flash-swf-using-javascript
It would seem that all this would require would be a proper
resizeStack message being sent to Rev.
Josep,
I think the key here is that remote files are loaded as binary by
default, whereas local files are text by default. Thus I think you
need to look at the URL, and if it is a local file, then make sure the
protocol is binfile.
Filename property works regardless because images will
Josep,
Does either of these work better for you?
set the fileName of img img_card to tURL
OR
put url (binfile: tURL) into img img_card
Hi Mark,
Before test your new code I restart Rev and begin again checking all.
If I drag from the website all is fine while (of course) the image
have
Couldn't this be accounted for by the idea that your email address is
in OTHER people's address books that have willingly shared them using
the Friend Finder tool in Facebook?
We seem to be assuming that Facebook is automagically digging into
your address book, when it could just be
If you're up for the programming headaches involved, one way to deal
with very large images is to cut them up into tiles. For example,
cutting each image into 4 tiles can saving them in JPEG format can be
considerably smaller than the original image. I believe the
effectiveness would
, utterly untested but hopefully helpful =)
You said that you need to find the original size -- does Rev not open
high resolution images at the correct size?
Brian Yennie wrote:
If you're up for the programming headaches involved, one way to
deal with very large images is to cut them up into tiles
I think the scripting competition permanently damaged me... clearly
this is a one-liner!
function le_chevalier tGender,tReal_age
return 39 + offset(tGender, m) * (tReal_age - 39)
end le_chevalier
function le_chevalier tGEner,tReal_age
if tGender = f then return min(39,tReal_age)
return
LOL, I told you I was permanently damaged!!!
On May 14, 2009, at 4:58 PM, Brian Yennie wrote:
function le_chevalier tGender,tReal_age
return 39 + offset(tGender, m) * (tReal_age - 39)
end le_chevalier
I think that might say that all females are 39
Clearly I have a problem. Key features include never initializing
variables (let alone declaring them), loads of obscure string handling
hacks to cram everything into fewer variables, and overall headache-
inducing clutter.
You can actually use this one with 1 parameter, or pass 2 for a list
I'm a bit skeptical that any such difference actually exists. Both the
short and long forms should map to the exact same compiled code.
Theoretically the long form would take longer to parse / compile the
first time, but we're talking about the parsing of individual
characters -- something
Nah, I'm frequently off by at least a few milliseconds, possibly even
a tick or two.
Brian Yennie wrote:
I'm a bit skeptical that any such difference actually exists. Both
the short and long forms should map to the exact same compiled
code. Theoretically the long form would take longer
Agree on the mathPrecision value. While it is true that floating point
values are an issue in any programming language, Rev should NOT be
failing on simple comparisons with two decimal places. Computers are
limited in floating point math, but they are perfectly capable of
handling 2
Graciously submitted. I believe this will eventually fail, because it
uses naive carry the 1 logic, but seems to match up through fib(300)
at least.
function fib n
put 0 into thisNum
put 1 into nextNum
repeat n-1
put 0 into tCarry
put empty into tSum
if (length(nextNum)
In short, the number gets too big -- for example, if you are working
with 32 bit integers, anything over 2^32 is out of range and will
roll over or other such wonkiness.
Now that folks have posted some solutions that apparently work, can
someone
explain why using a simple algorithm
Ruslan,
Very interesting and congratulations on this new feature! Can you
comment on how it compares to Oracle's START WITH ... CONNECT BY?
That is the only comparable feature I've seen, and of course requires
paying a high price for Oracle. Of course now Oracle owns Sun which
owns
Andre,
Cool stuff, great to see!
Hi Folks,
I think I am the first to build a simple CMS and Blog around the new
On-Rev
technology. You can visit it at:
http://andregarzia.on-rev.com/blog.irev
The system is flat file based, so just by dropping a text file onto a
special folder makes a new
Had a thought. Dangerous, I know. To me the power of On-Rev is two
things:
1) Opening up server side scripting to Rev users that wouldn't
otherwise go there
and
2) Bring xTalk to server-side developers in general
These are both worthy tasks, but I think it's worth differentiating
Randall,
I think you are confusing two different concepts.
10^2 = 100, not 2^10 = 100.
What you want is something like this:
Step 1) 10^x = 100
Step 2) log 10^x = log 100
Step 3) x log 10 = log 100
Step 4) x = log 100 / log 10
In short, you need to use logarithms and you'll get a formula
I figure you are confused.
Example: 2,098,000 = 2.098 x 10 ^ 6
No 10th roots involved, in fact you can just count digits.
Not confused by what i mean. How do i get the nth root of a number?
-Original Message-
From: Brian Yennie bri...@qldlearning.com
To: How to use Revolution use
an equasion that converted a number to scientific
notation without counting digits. Used the power ^ function
somehow.
-Original Message-
From: Brian Yennie bri...@qldlearning.com
To: How to use Revolution use-revolution@lists.runrev.com
Sent: 4/20/2009 5:31 PM
Subject: Re: convert
Very exciting to see this released. Just two thoughts:
1) The $499 deal is nice, but I'm hoping there will be some free
option out soon. I'd love to start playing (and have no problem
installing an Apache module on my own server), but can't budget $500
with no idea if I'll really want to
Randall,
Beside your questionable grasp of the law, you are making a straw man
argument. Even if reasonable man arguments worked as simply as you
imagine, it wouldn't follow that everything in a EULA other than
copyright is unenforceable. Believe it or not, licensing agreements
cover
sued for breach
of a software user agreement. I cant wait to hear how often this
blight has been brought down apon your small business. Come on. Is
this a joke?
-Original Message-
From: Brian Yennie bri...@qldlearning.com
To: How to use Revolution use-revolution@lists.runrev.com
Sent
1 - 100 of 632 matches
Mail list logo