Re: Not quite [OT]: News about Revolution

2010-02-09 Thread Hugh Senior
My British passport will only include chips if, as and when the issuing
authority provides the fish to go with them. Until then, I shall remain in
my tree-house.

Stop the world... I want to get off.
Progress is too often convincing yourself that backwards is forwards.

/H


Neal wrote:
Its a US requirement and the deadline set by the Bush administration was
years ago but many (most?) countries cannot afford to do it. I never figured
out how they thought that if you were smart enough to do these horrible
things you would have a real chip in your passport. This stuff is like
squeezing a balloon as when you press in one area it pops out in a different
one. Unfortunately though the world runs on money and all the money goes
thru SWIFT.

___
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/mailman/listinfo/use-revolution


Re: 2009 conference DVD - audio/visual quality

2010-02-09 Thread Bernard Devlin
On Tue, Feb 9, 2010 at 6:11 AM, RevList revl...@createchsol.com wrote:
 Bernard Devlin bdrun...@gmail.com on February 8, 2010 at 10:56 AM -0800
Are code samples in the 2009 conference legible? How about the audio
(the QA session is usually the point where that fails in such
recordings).

 The DVD set is excellent.  I gave up on watching anything from the RunRev
 08 set because it was so bad.  This year the quality is excellent.

Thank you, Stewart.  That's all I wanted to know.  It's great news,
and will make the wait all the more worth it :-)

Bernard
___
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/mailman/listinfo/use-revolution


Re: Problems with a standalone for Linux

2010-02-09 Thread Bernard Devlin
On Mon, Feb 8, 2010 at 5:08 PM, Andre.Bisseret andre.bisse...@inria.fr wrote:
 But one user of Linux reports that only the two first buttons are working
 normally. The third one does not open the corresponding stack!!!

 How is that possible ??

Andre,  This is maybe not what you want to hear.

I build a message logging feature into my applications.  Throughout my
code I have messages sent to the log, along with a priority level and
a message.  This means that debugging can be done outside the IDE by
seeing what is in the log.

logMessage 3, going to open help stack

logMessage 2, user selected exit

That way by setting a variable at the start that turns logging on my
app can produce a log of events.  And by setting the priority level I
can determine how verbose the logging is.

I know it's of little help to you in this situation.  Unless you
re-write your application to do messsage logging. It is probably less
effort to install Linux in a VM and then run your app within the IDE
and see what's happening.

Bernard
___
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/mailman/listinfo/use-revolution


PDF doc name with revPrintText corrupted?

2010-02-09 Thread Tiemo Hollmann TB
Hello,

I am using revPrintText with Rev 3.5 on Win to print a fields text. When
selecting a printer everything is fine. When selecting a pdf-printer Rev
creates a pdf doc name from my stack title. My stack title has german
Umlaute and they get changed to weired signs in the pdf doc name, as if
there there is a problem with the Unicode or something like this. I tried to
use the revPrintText parameter header text in the hope rev would take that
header text as the doc name, but no effect.

Does anybody knows, if I can change the doc name when printing to pdf or to
change the charset or any other idea?

I know that there is the new pdf printing in 4.5, but I have to fix it in
3.5 with old style.

Thanks

Tiemo 

 

 

 

___
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/mailman/listinfo/use-revolution


AW: Andre's house - completely offtopic

2010-02-09 Thread Tiemo Hollmann TB
Just a thought,
isn't there anywhere in the net a tool where we could open a group where
everybody could pin his location on the world map (like the cities I've
visited in facebook). I think it would be interesting to see how wide
spread the Rev community is, though a jungle place on Puerto Rico probably
is the most exotic, William :)
Any idea?
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Montag, 8. Februar 2010 15:12
 An: How to use Revolution
 Betreff: Re: Andre's house - was DVD set (somewhat OT ) - completely
 offtopic
 
 Willian,
 
 You win the best location award, it must be marvelous to live among
 the nature like that. I hope it is colder than the 120F or 49C that
 we're having here... Rio is melting.

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread René Micout
I felt like I have known this a few years ago... Was I seeing things ?
René

Le 9 févr. 2010 à 10:37, Tiemo Hollmann TB a écrit :

 Just a thought,
 isn't there anywhere in the net a tool where we could open a group where
 everybody could pin his location on the world map (like the cities I've
 visited in facebook). I think it would be interesting to see how wide
 spread the Rev community is, though a jungle place on Puerto Rico probably
 is the most exotic, William :)
 Any idea?
 Tiemo
 
 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Montag, 8. Februar 2010 15:12
 An: How to use Revolution
 Betreff: Re: Andre's house - was DVD set (somewhat OT ) - completely
 offtopic
 
 Willian,
 
 You win the best location award, it must be marvelous to live among
 the nature like that. I hope it is colder than the 120F or 49C that
 we're having here... Rio is melting.
 
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: PDF doc name with revPrintText corrupted?

2010-02-09 Thread Jan Schenkel
--- On Tue, 2/9/10, Tiemo Hollmann TB toolb...@kestner.de wrote:
 Hello,
 
 I am using revPrintText with Rev 3.5 on Win to print a
 fields text. When
 selecting a printer everything is fine. When selecting a
 pdf-printer Rev
 creates a pdf doc name from my stack title. My stack title
 has german
 Umlaute and they get changed to weired signs in the pdf doc
 name, as if
 there there is a problem with the Unicode or something like
 this. I tried to
 use the revPrintText parameter header text in the hope
 rev would take that
 header text as the doc name, but no effect.
 
 Does anybody knows, if I can change the doc name when
 printing to pdf or to
 change the charset or any other idea?
 
 I know that there is the new pdf printing in 4.5, but I
 have to fix it in
 3.5 with old style.
 
 Thanks
 
 Tiemo 
 

You could try setting the 'printTitle' global property before calling 
revPrintText (haven't tried it, but it may solve your problem)

Jan Schenkel
=
Quartam Reports  PDF Library for Revolution
http://www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)


  

___
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/mailman/listinfo/use-revolution


Re: anyone found a way around 4-5 second latency in read from process?

2010-02-09 Thread Bernard Devlin
On Mon, Feb 8, 2010 at 8:24 PM, Josh Mellicker j...@dvcreators.net wrote:
 Things are working, but there is always about a 4 - 5 second latency in the 
 read from process.   Usually this doesn't matter, but in our current 
 project it needs to be within a second or less.

In the situations where I've used read from process this latency
would make it a total non-starter.  I think there is something unusual
in your circumstances.

I have just been working on a small module that uses read from
process, and the same action launched from a command line takes 5
seconds, as it does if it was run using read from process.  So your
experience of latency is unusual.  Maybe it is something to do with
the startup time of the application you are opening as a process?  I'm
running on Vista here, but I've used read from process on OS X too
with no noticeable delays

I would try timing the same action using a command line script to see
if there is really a latency with read from process.

Bernard
___
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/mailman/listinfo/use-revolution


AW: PDF doc name with revPrintText corrupted?

2010-02-09 Thread Tiemo Hollmann TB
Great Jan, that worked! I would have never get that idea.
you are really the printing specialist :)
Thank you
Tiemo

 
 
 You could try setting the 'printTitle' global property before calling
 revPrintText (haven't tried it, but it may solve your problem)
 
 Jan Schenkel
 =
 Quartam Reports  PDF Library for Revolution
 http://www.quartam.com
 
 =
 As we grow older, we grow both wiser and more foolish at the same time.
 (La Rochefoucauld)
 
 
 
 
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Sarah Reichelt
There used to be a Frappr map for Rev users, but they started charging
for their maps :-(
Does anyone know if there is there a similar thing we can do on
another site? I think it would be fun to see who was where.

Cheers,
Sarah



On Tue, Feb 9, 2010 at 7:43 PM, René Micout rene.mic...@numericable.com wrote:
 I felt like I have known this a few years ago... Was I seeing things ?
 René

 Le 9 févr. 2010 à 10:37, Tiemo Hollmann TB a écrit :

 Just a thought,
 isn't there anywhere in the net a tool where we could open a group where
 everybody could pin his location on the world map (like the cities I've
 visited in facebook). I think it would be interesting to see how wide
 spread the Rev community is, though a jungle place on Puerto Rico probably
 is the most exotic, William :)
 Any idea?
 Tiemo
___
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/mailman/listinfo/use-revolution


Re: Problems with a standalone for Linux

2010-02-09 Thread Andre.Bisseret

Thanks a lot Sahah for your attention and your answer

Le 8 févr. 10 à 23:14, Sarah Reichelt a écrit :

On Tue, Feb 9, 2010 at 3:08 AM, Andre.Bisseret andre.bisse...@inria.fr 
 wrote:

Bonjour,

I have an app. that I saved as standalones for the three platforms  
(Mac,

Windows and Linux).

A first stack is launched which includes the engine and 3 buttons,  
each of

which opens an independant stack (say stack1, stack2 and stack3).

The 3 buttons have exactly the same script (on mouseUp, they call a  
same

command ouvrirCeStack).

They are working well on Mac and Windows ;

But one user of Linux reports that only the two first buttons are  
working

normally. The third one does not open the corresponding stack!!!

How is that possible ??


Is stack3 correctly built into the standalone?
It is not in the standalone. As the 2 other stacks it is called by its  
fileName
Is the a preOpen.. or open... handler in stack 3 that could be  
causing an error?

No there is no such handlers

Can you build a version which displays the result if there is a
problem - that would help work out what the error is?

OK, I will search how one do that and try ;-)





Another problem with this Linux standalone :

On stack1 (which open normally) there is a button help which  
alternatively

change the visibile of a field help (shows or hides it)
Here again works well on Mac and Windows but, with the Linux  
standalone, my
user says that when he clicks on this button the field help is  
shown but

is immediately hidden, and the stack is closed!!



Perhaps he is double-clicking on the button which would show then  
hide.

That was my first hypothesis but he said he does not double-click

One way to avoid this is to have the button show the help field, and
then a click in the help field itself hides it.
I have the two possibilities to hide the field (click on the field or  
re-click on the button


Not easy for me to find what is wrong with the Linux  version. I have  
no opportunity to make quick trials and my user lives in another town  
(I sent him the app on a CD).

Anyway, thanks much again Sahah

Best regards from Grenoble

André



___
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/mailman/listinfo/use-revolution


Re: Not quite [OT]: News about Revolution

2010-02-09 Thread Bernard Devlin
On Mon, Feb 8, 2010 at 6:55 PM, Neal Campbell nealk...@gmail.com wrote:
 Its a US requirement and the deadline set by the Bush administration was
 years ago but many (most?) countries cannot afford to do it. I never figured
 out how they thought that if you were smart enough to do these horrible
 things you would have a real chip in your passport. This stuff is like
 squeezing a balloon as when you press in one area it pops out in a different
 one. Unfortunately though the world runs on money and all the money goes
 thru SWIFT.

My partner is leaving the UK on holiday and asked me what was the
limit on taking cash out of the country.  I told him that as far as I
knew, there was no limit (amazing as that sounds -- I remember it
being one of the first things that Thatcher did when she came to
power).

He told me that this couldn't be true.  So I did a quick search and
found out that things have drastically altered.  Not the law, mind you
-- AFAICT there is still technically no limit.  But it turns out that
people who have as little as £1000 in cash on them at airports are
quizzed about it and required to show proof of where this money came
from!

It would not cross my mind if going for a 14+ day holiday to take less
than £3000 cash with me.  And it would also never have crossed my mind
to make sure I could provide an audit trail too.

Why would I take so much cash?  Because I've been injured on holiday
before and needed a lot of scans.  And because I've been stranded
abroad where my credit cards with over £30,000 of credit on them and
which have never been compromised, were refused in ATMs, leaving me no
option but to pay massive charges elsewhere to draw money out on my
credit cards.  It transpired that there had been so much ATM fraud in
that city that foreign cards could not be used.  When I took this up
with my bank back home, every guarantee that the matter had been
resolved (and that I could now use my cards) turned out to be
worthless.  When asked why we weren't warned about these things in the
UK, they said if they did that the fraudsters would just move on.  But
that is exactly what they will do within hours  of their fake ATM
cards not working!

So, one can't rely on ATMs, and if one takes anything other than pin
money on a foreign vacation one should be prepared to provide a trail
that can be audited.

Unbelievable.  The end result is that I now do a fraction of the
travel that I used to do.

And yet governments still take steps that ensure there is a drugs
trade, they don't take any real measures against known terrorist
groups, and most CCTV cameras fail to prevent or solve crimes.

Security theatre, as Bruce Schneier calls it.

Bernard
___
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/mailman/listinfo/use-revolution


Re: Option Menu Specifics

2010-02-09 Thread Thomas McGrath III
Andrew,

Welcome, and ask all of your questions. We love em! Also, it is wonderful to 
see someone's conversion to RunRev and where the obvious and not so obvious 
problems are. What a great story yours will be. 


Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html

On Feb 8, 2010, at 2:50 PM, Andrew Kluthe wrote:

 
 Between Mark and J's post, I got everything I needed to know. I need to
 explore string manipulation in rev. I figured that this is where my sorting
 of these lists would be most handy. 
 
 Thank you Mark for that wonderful snippet. 
 
 As a PHP and .NET developer, I am just getting used to Rev and trying to get
 over the learning curve. You have been much help. Armed with a few more
 learning resources than I had prior to these posts, I hopefully won't have
 to bother you with silly things like this.
 -- 
 View this message in context: 
 http://n4.nabble.com/Option-Menu-Specifics-tp1473235p1473428.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Reading/Deleting Last Line Of File

2010-02-09 Thread Warren Kuhl
I have a large text file (100,000,000+ records).  I need to write a
utility that removes the last record of the file.  Is there anyway to
just remove the last record without reading through the complete file
with RunRev?

Thanks,
Warren
___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Till Bandi
doesn't that work?:

delete line -1 of file myTextFile

Till
Am 09.02.2010 um 14:52 schrieb Warren Kuhl:

 I have a large text file (100,000,000+ records).  I need to write a
 utility that removes the last record of the file.  Is there anyway to
 just remove the last record without reading through the complete file
 with RunRev?
 
 Thanks,
 Warren
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


RE: Reading/Deleting Last Line Of File

2010-02-09 Thread Jim Bufalini
Warren,

 I have a large text file (100,000,000+ records).  I need to write a
 utility that removes the last record of the file.  Is there anyway to
 just remove the last record without reading through the complete file
 with RunRev?

This is totally untested but logically you could:
 
1. First get the size of the file on disk and approximate a character offset
that should be only a few lines from the end of the file. 

2. Then Open the file for read and read from file starting at the char
offset you calculated to EOF into a var and delete the last line of the var.


3. Then Close the file and Open it again for write.

4. Now write the var to file at the same starting offset you read from.

The reason you don't use open for update is that you want to open the file
for write, so that whatever you write to the file replaces everything from
the offset to the EOF. Update will replace chars and leave the last record
at the end.

What I don't know here is if internally the read/write from file at start
still has to go through the entire file to calculate the starting offset, so
I don't know how long this will take on a file of your size. But, at least,
doing it this way won't require reading the whole file into memory and
should result in the last line being deleted from the file in the quickest
way available.

Aloha from Hawaii,

Jim Bufalini



___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Warren Kuhl
Jim,

I will give this a try.  I was trying to go down the same path by
getting the number of records of the file...then trying to determine
if I could just read the last line and removing the EOF.  Is there
anyway to specifiy a READ to a certain line of a file without reading
through the whole file?

Warren

On Tue, Feb 9, 2010 at 8:34 AM, Jim Bufalini j...@visitrieve.com wrote:
 Warren,

 I have a large text file (100,000,000+ records).  I need to write a
 utility that removes the last record of the file.  Is there anyway to
 just remove the last record without reading through the complete file
 with RunRev?

 This is totally untested but logically you could:

 1. First get the size of the file on disk and approximate a character offset
 that should be only a few lines from the end of the file.

 2. Then Open the file for read and read from file starting at the char
 offset you calculated to EOF into a var and delete the last line of the var.


 3. Then Close the file and Open it again for write.

 4. Now write the var to file at the same starting offset you read from.

 The reason you don't use open for update is that you want to open the file
 for write, so that whatever you write to the file replaces everything from
 the offset to the EOF. Update will replace chars and leave the last record
 at the end.

 What I don't know here is if internally the read/write from file at start
 still has to go through the entire file to calculate the starting offset, so
 I don't know how long this will take on a file of your size. But, at least,
 doing it this way won't require reading the whole file into memory and
 should result in the last line being deleted from the file in the quickest
 way available.

 Aloha from Hawaii,

 Jim Bufalini



 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


RE: Reading/Deleting Last Line Of File

2010-02-09 Thread Jim Bufalini
Warren,

 I will give this a try.  I was trying to go down the same path by
 getting the number of records of the file...then trying to determine
 if I could just read the last line and removing the EOF.  Is there
 anyway to specifiy a READ to a certain line of a file without reading
 through the whole file?

The read from file command allows you start at a character offset and then
read to a string, or for a number of bytes/chars/words/items (see
dictionary) or to EOF. The write command will replace from the starting
character offset and move the EOF for you. So, in your case, I don't think
you have to be exact in your read. Just read in close to the end to EOF and
write from the same offset and let the write command handle the EOF for you.

Aloha from Hawaii,

Jim Bufalini

___
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/mailman/listinfo/use-revolution


Re: Problems with a standalone for Linux

2010-02-09 Thread Andre.Bisseret

Thank you very much Bernard for your answer.

I will keep in mind your clever idea of a message logging; well, but  
for future applications ;-))


What I don't understand at all is why all is working well on Mac an  
Windows and not on Linux ! all the more so that, with Linux, among 3  
buttons triggering exactly the same program, only one does not work!


For the time being, I think that your last suggestion (installing  
Linux in a VM) should be the good one;
But up to now, I sent my app. to only one person who uses exclusively  
Linux (and I am not selling it ;-)) so I will wait and see.


Procrastination is not often a good solution but might be one in  
this case ;-o)))


Thanks again

Best regards from Grenoble

André

Le 9 févr. 10 à 10:06, Bernard Devlin a écrit :

On Mon, Feb 8, 2010 at 5:08 PM, Andre.Bisseret andre.bisse...@inria.fr 
 wrote:
But one user of Linux reports that only the two first buttons are  
working

normally. The third one does not open the corresponding stack!!!

How is that possible ??


Andre,  This is maybe not what you want to hear.

I build a message logging feature into my applications.  Throughout my
code I have messages sent to the log, along with a priority level and
a message.  This means that debugging can be done outside the IDE by
seeing what is in the log.

logMessage 3, going to open help stack

logMessage 2, user selected exit

That way by setting a variable at the start that turns logging on my
app can produce a log of events.  And by setting the priority level I
can determine how verbose the logging is.

I know it's of little help to you in this situation.  Unless you
re-write your application to do messsage logging. It is probably less
effort to install Linux in a VM and then run your app within the IDE
and see what's happening.

Bernard
___
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/mailman/listinfo/use-revolution




___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Warren Kuhl
Jim,

Thanks for the explanationI will give this a try.

Thanks!
Warren

On Tue, Feb 9, 2010 at 9:08 AM, Jim Bufalini j...@visitrieve.com wrote:
 Warren,

 I will give this a try.  I was trying to go down the same path by
 getting the number of records of the file...then trying to determine
 if I could just read the last line and removing the EOF.  Is there
 anyway to specifiy a READ to a certain line of a file without reading
 through the whole file?

 The read from file command allows you start at a character offset and then
 read to a string, or for a number of bytes/chars/words/items (see
 dictionary) or to EOF. The write command will replace from the starting
 character offset and move the EOF for you. So, in your case, I don't think
 you have to be exact in your read. Just read in close to the end to EOF and
 write from the same offset and let the write command handle the EOF for you.

 Aloha from Hawaii,

 Jim Bufalini

 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Hi Sarah,

Since you guys asked, here it goes:

http://wecode.org/map/

Now, share your location! :D I've already added myself there. The
interface is a pain but it works!

Cheers
andre


On Tue, Feb 9, 2010 at 8:58 AM, Sarah Reichelt sarah.reich...@gmail.com wrote:
 There used to be a Frappr map for Rev users, but they started charging
 for their maps :-(
 Does anyone know if there is there a similar thing we can do on
 another site? I think it would be fun to see who was where.

 Cheers,
 Sarah



 On Tue, Feb 9, 2010 at 7:43 PM, René Micout rene.mic...@numericable.com 
 wrote:
 I felt like I have known this a few years ago... Was I seeing things ?
 René

 Le 9 févr. 2010 à 10:37, Tiemo Hollmann TB a écrit :

 Just a thought,
 isn't there anywhere in the net a tool where we could open a group where
 everybody could pin his location on the world map (like the cities I've
 visited in facebook). I think it would be interesting to see how wide
 spread the Rev community is, though a jungle place on Puerto Rico probably
 is the most exotic, William :)
 Any idea?
 Tiemo
 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Mark Rauterkus
Hi,

A map with pinpoints could be build by a community in Picasa, the
google app that now allows shared photos each with its own geotags.
The rub is that all would need to have a Google (gmail) account, or
else open up an account for this purpose if another didn't upload the
photo for you with the right tag.

A sorta new Picasa web albums feature allows for a shared web album.
Then folks could upload a photo and a geotag to that one album (need
to have the right name/URL, of course). Then, those subscribed to the
open web album, uploaded a photo to it, that album would present a
nice visual effect with map of the world and images, etc.

Some hand-holding may be required.

A RunRev app could be built as well, either to interface with the
shared Picasa album or else done on its own.

Ta.

Mark Rauterkus       mark.rauter...@gmail.com
Swimming and Water Polo Coach, Schenley High School, Pittsburgh, PA
http://CLOH.wikia.com
412 298 3432 = cell
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Mark,

I did a simple one using a free service, I put it at:

http://wecode.org/map

See if you like.

Andre

On Tue, Feb 9, 2010 at 1:53 PM, Mark Rauterkus m...@rauterkus.com wrote:
 Hi,

 A map with pinpoints could be build by a community in Picasa, the
 google app that now allows shared photos each with its own geotags.
 The rub is that all would need to have a Google (gmail) account, or
 else open up an account for this purpose if another didn't upload the
 photo for you with the right tag.

 A sorta new Picasa web albums feature allows for a shared web album.
 Then folks could upload a photo and a geotag to that one album (need
 to have the right name/URL, of course). Then, those subscribed to the
 open web album, uploaded a photo to it, that album would present a
 nice visual effect with map of the world and images, etc.

 Some hand-holding may be required.

 A RunRev app could be built as well, either to interface with the
 shared Picasa album or else done on its own.

 Ta.

 Mark Rauterkus       mark.rauter...@gmail.com
 Swimming and Water Polo Coach, Schenley High School, Pittsburgh, PA
 http://CLOH.wikia.com
 412 298 3432 = cell
 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Judy Perry

Nope.  It was Frappr:  http://www.frappr.com/

And it's about to bite the dust unless somebody wants to pay US$25 a year 
to keep it going OR start a new one.


Judy

On Tue, 9 Feb 2010, René Micout wrote:


I felt like I have known this a few years ago... Was I seeing things ?
René___
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/mailman/listinfo/use-revolution

Re: Not quite [OT]: News about Revolution

2010-02-09 Thread Judy Perry
Right.  I was just having this argument, er, discussion on a history list 
I'm on; they made me think I was crazy so I spent a few minutes googling 
such things and found the most astonishing stuff (to me at least; the 
Brit history folks either denied the stuff outright or thought these 
things were a-okay):


*A pilot plan, already in place in 2,000 UK private residences, to have 
ultimately up to 20,000 CCTVs installed in people's homes to ensure kids 
did their homework, parents fed them approved substances, etc.


*The ~4 million CCTV surveillance systems already in place in the UK have 
image quality so poor as to utterly fail in 80% of criminal identification 
cases, and solving only 1 case per 1,000 cameras.


*The infamous spy on your neighbor/go through their trash billboards.

Not that we're a whole lot better in the US, as we saw yesterday...  It 
was recently revealed that the FBI, in contravention to US law, literally 
used Post-It notes on teleco worker's workstations to illegally access US 
residents' phone records... :-/


Does anyone here remember the late 60s BBC program The Prisoner?  Among 
its iconic elements were the ever-prominent placement of CCTVs to spy on 
people, on the street and in their residences.  I'm not certain that 
anyone today would find that odd in the slightest, much less chillingly 
prescient.


Police state, here we come :-(

Judy

On Tue, 9 Feb 2010, Bernard Devlin wrote:


On Mon, Feb 8, 2010 at 6:55 PM, Neal Campbell nealk...@gmail.com wrote:

Its a US requirement and the deadline set by the Bush administration was
years ago but many (most?) countries cannot afford to do it. I never figured
out how they thought that if you were smart enough to do these horrible
things you would have a real chip in your passport. This stuff is like
squeezing a balloon as when you press in one area it pops out in a different
one. Unfortunately though the world runs on money and all the money goes
thru SWIFT.


My partner is leaving the UK on holiday and asked me what was the
limit on taking cash out of the country.  I told him that as far as I
knew, there was no limit (amazing as that sounds -- I remember it
being one of the first things that Thatcher did when she came to
power).

He told me that this couldn't be true.  So I did a quick search and
found out that things have drastically altered.  Not the law, mind you
-- AFAICT there is still technically no limit.  But it turns out that
people who have as little as £1000 in cash on them at airports are
quizzed about it and required to show proof of where this money came
from!

It would not cross my mind if going for a 14+ day holiday to take less
than £3000 cash with me.  And it would also never have crossed my mind
to make sure I could provide an audit trail too.

Why would I take so much cash?  Because I've been injured on holiday
before and needed a lot of scans.  And because I've been stranded
abroad where my credit cards with over £30,000 of credit on them and
which have never been compromised, were refused in ATMs, leaving me no
option but to pay massive charges elsewhere to draw money out on my
credit cards.  It transpired that there had been so much ATM fraud in
that city that foreign cards could not be used.  When I took this up
with my bank back home, every guarantee that the matter had been
resolved (and that I could now use my cards) turned out to be
worthless.  When asked why we weren't warned about these things in the
UK, they said if they did that the fraudsters would just move on.  But
that is exactly what they will do within hours  of their fake ATM
cards not working!

So, one can't rely on ATMs, and if one takes anything other than pin
money on a foreign vacation one should be prepared to provide a trail
that can be audited.

Unbelievable.  The end result is that I now do a fraction of the
travel that I used to do.

And yet governments still take steps that ensure there is a drugs
trade, they don't take any real measures against known terrorist
groups, and most CCTV cameras fail to prevent or solve crimes.

Security theatre, as Bruce Schneier calls it.

Bernard
___
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/mailman/listinfo/use-revolution
___
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/mailman/listinfo/use-revolution

Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Richmond Mathewson

On 09/02/2010 18:02, Andre Garzia wrote:

Mark,

I did a simple one using a free service, I put it at:

http://wecode.org/map

See if you like.

Andre

   

It's absolutely fine; but, having found my
house how do I affix a 'pin' to it?
___
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/mailman/listinfo/use-revolution


AW: AW: Andre's house - completely offtopic

2010-02-09 Thread Tiemo Hollmann TB
I think this interface is too sophisticated for me. If I dig into the map I
find a map with hundreds of people pins. Are these already all Rev-Users? I
can't believe... Don't know, where to pin my needle
Timo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 9. Februar 2010 17:03
 An: How to use Revolution
 Betreff: Re: AW: Andre's house - completely offtopic
 
 Mark,
 
 I did a simple one using a free service, I put it at:
 
 http://wecode.org/map
 
 See if you like.
 
 Andre
 
 On Tue, Feb 9, 2010 at 1:53 PM, Mark Rauterkus m...@rauterkus.com wrote:
  Hi,
 
  A map with pinpoints could be build by a community in Picasa, the
  google app that now allows shared photos each with its own geotags.
  The rub is that all would need to have a Google (gmail) account, or
  else open up an account for this purpose if another didn't upload the
  photo for you with the right tag.
 
  A sorta new Picasa web albums feature allows for a shared web album.
  Then folks could upload a photo and a geotag to that one album (need
  to have the right name/URL, of course). Then, those subscribed to the
  open web album, uploaded a photo to it, that album would present a
  nice visual effect with map of the world and images, etc.
 
  Some hand-holding may be required.
 
  A RunRev app could be built as well, either to interface with the
  shared Picasa album or else done on its own.
 
  Ta.
 
  Mark Rauterkus       mark.rauter...@gmail.com
  Swimming and Water Polo Coach, Schenley High School, Pittsburgh, PA
  http://CLOH.wikia.com
  412 298 3432 = cell
  ___
  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/mailman/listinfo/use-revolution
 
 
 
 
 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Mark Wieder
Andre-

Tuesday, February 9, 2010, 8:02:30 AM, you wrote:

 I did a simple one using a free service, I put it at:

 http://wecode.org/map

Can you import kml data? I archived the data from the old runrev
frappr map, which is being put out to pasture:

http://www.frappr.com/runtimerevolution

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Unfortunately I can't import kml data... Do you know other solution?

Cheers
andre

On Tue, Feb 9, 2010 at 3:05 PM, Mark Wieder mwie...@ahsoftware.net wrote:
 Andre-

 Tuesday, February 9, 2010, 8:02:30 AM, you wrote:

 I did a simple one using a free service, I put it at:

 http://wecode.org/map

 Can you import kml data? I archived the data from the old runrev
 frappr map, which is being put out to pasture:

 http://www.frappr.com/runtimerevolution

 --
 -Mark Wieder
  mwie...@ahsoftware.net

 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Tiemo,

I think you went to the wrong place. There's only me there right now.

:D


On Tue, Feb 9, 2010 at 2:50 PM, Tiemo Hollmann TB toolb...@kestner.de wrote:
 I think this interface is too sophisticated for me. If I dig into the map I
 find a map with hundreds of people pins. Are these already all Rev-Users? I
 can't believe... Don't know, where to pin my needle
 Timo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 9. Februar 2010 17:03
 An: How to use Revolution
 Betreff: Re: AW: Andre's house - completely offtopic

 Mark,

 I did a simple one using a free service, I put it at:

 http://wecode.org/map

 See if you like.

 Andre

 On Tue, Feb 9, 2010 at 1:53 PM, Mark Rauterkus m...@rauterkus.com wrote:
  Hi,
 
  A map with pinpoints could be build by a community in Picasa, the
  google app that now allows shared photos each with its own geotags.
  The rub is that all would need to have a Google (gmail) account, or
  else open up an account for this purpose if another didn't upload the
  photo for you with the right tag.
 
  A sorta new Picasa web albums feature allows for a shared web album.
  Then folks could upload a photo and a geotag to that one album (need
  to have the right name/URL, of course). Then, those subscribed to the
  open web album, uploaded a photo to it, that album would present a
  nice visual effect with map of the world and images, etc.
 
  Some hand-holding may be required.
 
  A RunRev app could be built as well, either to interface with the
  shared Picasa album or else done on its own.
 
  Ta.
 
  Mark Rauterkus       mark.rauter...@gmail.com
  Swimming and Water Polo Coach, Schenley High School, Pittsburgh, PA
  http://CLOH.wikia.com
  412 298 3432 = cell
  ___
  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/mailman/listinfo/use-revolution
 



 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 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/mailman/listinfo/use-revolution

 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Richmond,

double click the spot and a form will appear! :D

(or it is a single click)

Andre

On Tue, Feb 9, 2010 at 2:49 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 On 09/02/2010 18:02, Andre Garzia wrote:

 Mark,

 I did a simple one using a free service, I put it at:

 http://wecode.org/map

 See if you like.

 Andre



 It's absolutely fine; but, having found my
 house how do I affix a 'pin' to it?
 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Mark Wieder
Andre-

Tuesday, February 9, 2010, 9:07:46 AM, you wrote:

 Unfortunately I can't import kml data... Do you know other solution?

It may still be possible:

http://maps.google.com/support/bin/answer.py?answer=41136topic=1475

I'll email you the file offlist.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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/mailman/listinfo/use-revolution


AW: AW: Andre's house - completely offtopic

2010-02-09 Thread Tiemo Hollmann TB
I am too dumb. Zooming into the map and double clicking it, opens a new
window with the same map. Zooming into and double clicking zooms the map to
the max, but doesn't pin :(
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 9. Februar 2010 18:08
 An: How to use Revolution
 Betreff: Re: AW: Andre's house - completely offtopic
 
 Tiemo,
 
 I think you went to the wrong place. There's only me there right now.
 
 :D

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
Tiemo,

on the pop up map, try single click.

I think that was how I added mine...

:D

On Tue, Feb 9, 2010 at 3:21 PM, Tiemo Hollmann TB toolb...@kestner.de wrote:
 I am too dumb. Zooming into the map and double clicking it, opens a new
 window with the same map. Zooming into and double clicking zooms the map to
 the max, but doesn't pin :(
 Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 9. Februar 2010 18:08
 An: How to use Revolution
 Betreff: Re: AW: Andre's house - completely offtopic

 Tiemo,

 I think you went to the wrong place. There's only me there right now.

 :D

 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Richmond Mathewson

On 09/02/2010 19:09, Andre Garzia wrote:

Richmond,

double click the spot and a form will appear! :D

(or it is a single click)

Andre

   

No; the map just zooms in more.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
tried the single click on the pop up map?

On Tue, Feb 9, 2010 at 3:28 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 On 09/02/2010 19:09, Andre Garzia wrote:

 Richmond,

 double click the spot and a form will appear! :D

 (or it is a single click)

 Andre



 No; the map just zooms in more.
 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Richmond Mathewson

On 09/02/2010 19:28, Andre Garzia wrote:

tried the single click on the pop up map?
   


Yes, I have . . . no joy.

On Tue, Feb 9, 2010 at 3:28 PM, Richmond Mathewson
richmondmathew...@gmail.com  wrote:
   

On 09/02/2010 19:09, Andre Garzia wrote:
 

Richmond,

double click the spot and a form will appear! :D

(or it is a single click)

Andre


   

No; the map just zooms in more.
___
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/mailman/listinfo/use-revolution

 



   


___
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/mailman/listinfo/use-revolution


AW: AW: Andre's house - completely offtopic

2010-02-09 Thread Tiemo Hollmann TB
Probably only in your admin mode...
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 9. Februar 2010 18:23
 An: How to use Revolution
 Betreff: Re: AW: Andre's house - completely offtopic
 
 Tiemo,
 
 on the pop up map, try single click.
 
 I think that was how I added mine...
 
 :D
 
 On Tue, Feb 9, 2010 at 3:21 PM, Tiemo Hollmann TB toolb...@kestner.de
 wrote:
  I am too dumb. Zooming into the map and double clicking it, opens a new
  window with the same map. Zooming into and double clicking zooms the map
 to
  the max, but doesn't pin :(
  Tiemo
 
  -Ursprüngliche Nachricht-
  Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
  boun...@lists.runrev.com] Im Auftrag von Andre Garzia
  Gesendet: Dienstag, 9. Februar 2010 18:08
  An: How to use Revolution
  Betreff: Re: AW: Andre's house - completely offtopic
 
  Tiemo,
 
  I think you went to the wrong place. There's only me there right now.
 
  :D
 
  ___
  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/mailman/listinfo/use-revolution
 
 
 
 
 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Andre Garzia
AAARRRGGGHHH!

On Tue, Feb 9, 2010 at 3:31 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 On 09/02/2010 19:28, Andre Garzia wrote:

 tried the single click on the pop up map?


 Yes, I have . . . no joy.

 On Tue, Feb 9, 2010 at 3:28 PM, Richmond Mathewson
 richmondmathew...@gmail.com  wrote:


 On 09/02/2010 19:09, Andre Garzia wrote:


 Richmond,

 double click the spot and a form will appear! :D

 (or it is a single click)

 Andre




 No; the map just zooms in more.
 ___
 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/mailman/listinfo/use-revolution






 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Richmond Mathewson

On 09/02/2010 19:38, Andre Garzia wrote:

AAARRRGGGHHH!

   

in Safari, Firefox and Stainless.
___
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/mailman/listinfo/use-revolution


Re: Reference (maybe Live) Distribution for Rev Linux

2010-02-09 Thread Richard Gaskin

Peter Alcibiades wrote:


Two problems.

First problem is in my Debian install, and here the problem is any sort of
printing. Print card, print field, page setup.  As a for example, create a
field, select it (this is in the IDE) and select Print from the file menu.
There seem not to be any printers.  But every other application bar none can
print, and not only do I have a physical printer configured, I have cupspdf,
so I could print to pdf if it could see it or any of the printers that are
set up.

Second problem was on Mandriva in another install.  Here it was able to find
the printer, and to print to it, but it truncated the file, and it was
impossible to change the settings on the printer, for instance change the
orientation or change the percentage zoom, to fit it all in.  If I recall
correctly, the settings were there, they just had no effect, it came out the
same no matter what you put them to.


Once the RQCC # was posted here I checked it out under Ubuntu 9.1. 
There I was able to use revPrintField to print to a .ps file, after 
changing the page size from the default A4 to US Letter.


I also checked using answer printer and answer page setup directly; both 
seem to work okay in that distro, at least partially:


I've found that while I can change page sizes, any change to orientation 
(Landscape vs Portrait) seems to have no effect.


I have not yet printed to a physical printer (I use mine only a few 
times a year); I'll try that soon.


Could this issue be specific to KDE?

To the others here:  Can you please test this on whatever Linux distros 
you're using and add your comments to the RQCC report for this so we can 
pin this down:


http://quality.runrev.com/qacenter/show_bug.cgi?id=6478

Thanks for you help on this.


PS -  An interesting side note in my testing:  While using Rev under 
Ubuntu I found that opening the Dictionary slowed everything in Rev to a 
painful crawl.  So I installed MetaCard there, and its Dictionary works 
very quickly with no adverse effect on overall performance as there was 
with Rev's.


The main difference between Rev's Dictionary and MC's is that MC's 
doesn't parse XML files from disk, but instead has everything included 
as cards in a single stack (in modern systems we've seen no memory 
limitation which would require otherwise; stacks work fine for the 
Dictionary even with 1600 cards; know the engine, trust the engine, use 
the engine g).


There are two things that come into play with the Rev Dictionary: file 
I/O, and XML parsing.


I know from my work with WebMerge on Linux that file I/O there seems 
efficient, on par with the other platforms.


So this has me wondering if the XML externals for Linux need a bit of a 
touch-up.


Any of you using the XML lib with Rev on Linux?  I tend to parse XML in 
script so I've not yet used it myself, and it would be good to confirm 
this hunch before I report it.


I wonder if Ken's scripted library would outperform Rev's external on Linux:
http://sonsothunder.com/products/xmllib/xmllib.htm

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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/mailman/listinfo/use-revolution


OT: Win7 Apps don't launch - just nothing ?

2010-02-09 Thread Tiemo Hollmann TB
Hello,

 

One customer of mine can't start my Rev Apps on his new Win7 machine. After
double clicking my App with admin rights and also with right mouse as
admin just nothing happens, no window opens, no error message, no task
running. The only thing is the windows event log, which tells about a very
generic Application Error, EventID 1000. Up to now, my two rev apps are the
only one with this strange behaviour. Both Apps run up to today on all other
Win7 machines without any probs.

After going behind this mysterious behaviour whole day long, googling,
trying to switch off the virus scan and windows firewall I am not sure, if
it is an issue of Rev or any other component on his machine. My suspicion is
that it is related to the UAC or any other permission thing, but he has
switched off his UAC to the lowest level, and I don't know what to check for
now.

Does anybody has seen this behaviour or has a hint, what to check for?

Thanks for any ideas

Tiemo

 

 

 

___
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/mailman/listinfo/use-revolution


Getting some chars from a string?

2010-02-09 Thread Richmond Mathewson

I have a series of image names for the type:

f#.png

where # can be a number anywhere between 1 and 6 figures long.

what I need is to extract the number from the image name.

SO, starting with

on mouseEnter
  put the short name of me into NOMEN

?
___
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/mailman/listinfo/use-revolution


RE: Win7 Apps don't launch - just nothing ?

2010-02-09 Thread Jim Bufalini
Tiemo Hollmann wrote:

 One customer of mine can't start my Rev Apps on his new Win7 machine.
 After
 double clicking my App with admin rights and also with right mouse as
 admin just nothing happens, no window opens, no error message, no task
 running. The only thing is the windows event log, which tells about a
 very
 generic Application Error, EventID 1000. Up to now, my two rev apps are
 the
 only one with this strange behaviour. Both Apps run up to today on all
 other
 Win7 machines without any probs.
 
 After going behind this mysterious behaviour whole day long, googling,
 trying to switch off the virus scan and windows firewall I am not sure,
 if
 it is an issue of Rev or any other component on his machine. My
 suspicion is
 that it is related to the UAC or any other permission thing, but he has
 switched off his UAC to the lowest level, and I don't know what to
 check for
 now.
 
 Does anybody has seen this behaviour or has a hint, what to check for?
 
 Thanks for any ideas

Do you use any externals at all like SSL?

Aloha from Hawaii,

Jim Bufalini

___
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/mailman/listinfo/use-revolution


Re: Getting some chars from a string?

2010-02-09 Thread Richmond Mathewson

Silly really; replying to my own message again . . . :)
-
I have a series of image names for the type:

f#.png

where # can be a number anywhere between 1 and 6 figures long.

what I need is to extract the number from the image name.

SO, starting with

on mouseEnter
  put the short name of me into NOMEN

?


   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the first char of NOMEN

why that never occurred to me before I just don't know.
___
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/mailman/listinfo/use-revolution


Re: Getting some chars from a string?

2010-02-09 Thread Colin Holgate

On Feb 9, 2010, at 2:12 PM, Richmond Mathewson wrote:

   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the last char of NOMEN
   delete the first char of NOMEN


In case you were yearning for a cuter solution:

answer char 2 to the number of chars in NOMEN - 4 of NOMEN


___
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/mailman/listinfo/use-revolution


Re: AW: Andre's house - completely offtopic

2010-02-09 Thread Peter Brigham MD
So how do I put a pin in to mark my location? I can't find a way to do  
it using Firefox on Mac OS 10.5.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Feb 9, 2010, at 10:32 AM, Andre Garzia wrote:


Hi Sarah,

Since you guys asked, here it goes:

http://wecode.org/map/

Now, share your location! :D I've already added myself there. The
interface is a pain but it works!

Cheers
andre


On Tue, Feb 9, 2010 at 8:58 AM, Sarah Reichelt sarah.reich...@gmail.com 
 wrote:
There used to be a Frappr map for Rev users, but they started  
charging

for their maps :-(
Does anyone know if there is there a similar thing we can do on
another site? I think it would be fun to see who was where.

Cheers,
Sarah



On Tue, Feb 9, 2010 at 7:43 PM, René Micout rene.mic...@numericable.com 
 wrote:
I felt like I have known this a few years ago... Was I seeing  
things ?

René

Le 9 févr. 2010 à 10:37, Tiemo Hollmann TB a écrit :


Just a thought,
isn't there anywhere in the net a tool where we could open a  
group where
everybody could pin his location on the world map (like the  
cities I've
visited in facebook). I think it would be interesting to see how  
wide
spread the Rev community is, though a jungle place on Puerto Rico  
probably

is the most exotic, William :)
Any idea?
Tiemo

___
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/mailman/listinfo/use-revolution





--
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


___
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/mailman/listinfo/use-revolution


Re: Getting some chars from a string?

2010-02-09 Thread Phil Davis

Hi Richmond,

Here's another way:

on mouseEnter
put myNumber(the short name of me)
end mouseEnter

function myNumber pNOMEN
set the itemDelimiter to .
return char 2 to -1 of item 1 of pNOMEN
end myNumber

Phil

On 2/9/10 11:01 AM, Richmond Mathewson wrote:

I have a series of image names for the type:

f#.png

where # can be a number anywhere between 1 and 6 figures long.

what I need is to extract the number from the image name.

SO, starting with

on mouseEnter
  put the short name of me into NOMEN

?


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
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/mailman/listinfo/use-revolution


Re: Getting some chars from a string?

2010-02-09 Thread Jeff Massung
On Tue, Feb 9, 2010 at 1:01 PM, Richmond Mathewson 
richmondmathew...@gmail.com wrote:

 I have a series of image names for the type:

 f#.png

 where # can be a number anywhere between 1 and 6 figures long.

 what I need is to extract the number from the image name.


Try using a regular expression:

function extractImageNumber pName
   local tNumber

   if matchText(pName,f(\d+)\.*, tNumber) is false then
  return empty
   end if

   return tNumber
end extractImageNumber

Jeff M.
___
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/mailman/listinfo/use-revolution


Re: Getting some chars from a string?

2010-02-09 Thread Richmond Mathewson

On 09/02/2010 21:19, Jeff Massung wrote:

On Tue, Feb 9, 2010 at 1:01 PM, Richmond Mathewson
richmondmathew...@gmail.com  wrote:

   

I have a series of image names for the type:

f#.png

where # can be a number anywhere between 1 and 6 figures long.

what I need is to extract the number from the image name.


 

Try using a regular expression:

function extractImageNumber pName
local tNumber

if matchText(pName,f(\d+)\.*, tNumber) is false then
   return empty
end if

return tNumber
end extractImageNumber

Jeff M.
   
Thanks one and all for a marvellous selection of possible ways of doing 
things.


NOW what I do need to know is which are the duck eggs and which are the 
drakes' ?


Aa can tell ye that missus, it's quite plain to be seen
The duck eggs is white n' the drakes eggs is green,
  The 
Bellingham Show.

___
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/mailman/listinfo/use-revolution


RE: Getting some chars from a string?

2010-02-09 Thread Jim Bufalini
Colin Holgate:

 In case you were yearning for a cuter solution:
 
 answer char 2 to the number of chars in NOMEN - 4 of NOMEN

Or just:

char 2 to -4 of NOMEN ;-)

Aloha from Hawaii,

Jim Bufalini

___
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/mailman/listinfo/use-revolution


RE: Getting some chars from a string?

2010-02-09 Thread Jim Bufalini
Correction:

Char 2 to -5 of NOMEN

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Jim Bufalini
 Sent: Tuesday, February 09, 2010 9:41 AM
 To: 'How to use Revolution'
 Subject: RE: Getting some chars from a string?
 
 Colin Holgate:
 
  In case you were yearning for a cuter solution:
 
  answer char 2 to the number of chars in NOMEN - 4 of NOMEN
 
 Or just:
 
 char 2 to -4 of NOMEN ;-)
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Quickly View Contents Of An Array

2010-02-09 Thread Andrew Kluthe

I've spent a half an hour searching for something I used from the messagebox
the other day. 

Someone I found something along these lines that was used to quickly view
the contents of an array.

answer PrintKeys blahh blahh blahh theDataA

I can't find it anywhere, and don't remember what resource I found it on.
Any help?
-- 
View this message in context: 
http://n4.nabble.com/Quickly-View-Contents-Of-An-Array-tp1474936p1474936.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


Re: Quickly View Contents Of An Array

2010-02-09 Thread Andrew Kluthe

Nvm, Found it. 

For Search References:

send PrintKeys to control controlName
-- 
View this message in context: 
http://n4.nabble.com/Quickly-View-Contents-Of-An-Array-tp1474936p1474960.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


Re: Quickly View Contents Of An Array

2010-02-09 Thread Bob Sneidar
Printkeys() is a basic function for displaying the contents of an array. It 
does not to my knowledge handle nested arrays, and I believe it was written by 
Trevor DeVore as a utility to his sqlYoga utility, but I may be mistaken on 
that. 

Bob


On Feb 9, 2010, at 12:03 PM, Andrew Kluthe wrote:

 
 I've spent a half an hour searching for something I used from the messagebox
 the other day. 
 
 Someone I found something along these lines that was used to quickly view
 the contents of an array.
 
 answer PrintKeys blahh blahh blahh theDataA
 
 I can't find it anywhere, and don't remember what resource I found it on.
 Any help?
 -- 
 View this message in context: 
 http://n4.nabble.com/Quickly-View-Contents-Of-An-Array-tp1474936p1474936.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: special folders

2010-02-09 Thread AndyP

Hi David,

I've posted a Specil Folders utility stack to the RevOnline.

Shows all Special Folder location on your system.

Direct link here:
http://revonline2.runrev.com/stack/427/Special-Folders-Utility



Andy
 
-- 
View this message in context: 
http://n4.nabble.com/special-folders-tp331936p1475031.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


Another DataGrid question

2010-02-09 Thread Jeff Massung
Sorry, can't find this in the documentation (although it's probably there
and I'm just blind)... Is there a way for me to get the template group for
the index of a DG? Something like...

get the dgDataControl[2] of group MyDataGrid

Jeff M.
___
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/mailman/listinfo/use-revolution


Re: Quickly View Contents Of An Array

2010-02-09 Thread Trevor DeVore

On Feb 9, 2010, at 4:04 PM, Bob Sneidar wrote:

Printkeys() is a basic function for displaying the contents of an  
array. It does not to my knowledge handle nested arrays, and I  
believe it was written by Trevor DeVore as a utility to his sqlYoga  
utility, but I may be mistaken on that.


The Data Grid behavior has a PrintKeys command that will print out the  
dgData array. It supports nested arrays.


SQL Yoga has a printKeys() function defined that will print out nested  
arrays as well.


Since the engine provides no way of printing out arrays I added the  
above for troubleshooting purposes. I've filed an enhancement request  
for a function akin to print_r in PHP:


http://quality.runrev.com/qacenter/show_bug.cgi?id=8425

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
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/mailman/listinfo/use-revolution


Re: Another DataGrid question

2010-02-09 Thread Trevor DeVore

On Feb 9, 2010, at 4:32 PM, Jeff Massung wrote:

Sorry, can't find this in the documentation (although it's probably  
there
and I'm just blind)... Is there a way for me to get the template  
group for

the index of a DG? Something like...

get the dgDataControl[2] of group MyDataGrid


I don't think these is documented by you can access the  
dgDataControlOfIndex or dgDataControlOfLine properties IF you are  
using a Data Grid form:


put the dgDataControlOfIndex[1] of group DataGrid

Notes: If you are not caching controls then returns empty if index or  
line has no control associated with it because it is offscreen.


For tables I see a ColumnControlOfIndex function in the source code.  
You can call it directly from any script nested within the Data Grid  
control.


put ColumnControlOfIndex(column name, 3) into theControl

May return an empty value.

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Alex Tweedly
I don't think this will work, Jim.  If you open a file for write, then 
it erases the entire content of the file first


as the docs say (emphasis added)...
The file to write to must be opened first with the open file command, 
and the mode the file was opened in must be write, append, or update. 
If the file is not open or is open read-only, the result function is 
set to File is not open for write..


If the file was opened in write mode, the write to file command 
completely *replaces the file contents from the start.* For example, 
if the file originally contains ABC, and you write 1 to it, after 
the write to file command is executed the file contains 1.

And as you say, open for update does not allow you to truncate the file.

The standard C library has a way to do it, and there is a Unix shell 
command - but not afaict a Windows shell utility to do it.


-- Alex



Jim Bufalini wrote:

Warren,

  

I have a large text file (100,000,000+ records).  I need to write a
utility that removes the last record of the file.  Is there anyway to
just remove the last record without reading through the complete file
with RunRev?



This is totally untested but logically you could:
 
1. First get the size of the file on disk and approximate a character offset
that should be only a few lines from the end of the file. 


2. Then Open the file for read and read from file starting at the char
offset you calculated to EOF into a var and delete the last line of the var.


3. Then Close the file and Open it again for write.

4. Now write the var to file at the same starting offset you read from.

The reason you don't use open for update is that you want to open the file
for write, so that whatever you write to the file replaces everything from
the offset to the EOF. Update will replace chars and leave the last record
at the end.

What I don't know here is if internally the read/write from file at start
still has to go through the entire file to calculate the starting offset, so
I don't know how long this will take on a file of your size. But, at least,
doing it this way won't require reading the whole file into memory and
should result in the last line being deleted from the file in the quickest
way available.

Aloha from Hawaii,

Jim Bufalini



___
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/mailman/listinfo/use-revolution

  


___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread J. Landman Gay

Piggy-backing here:

I have a large text file (100,000,000+ records).  I need to write a
utility that removes the last record of the file.  Is there anyway to
just remove the last record without reading through the complete file
with RunRev?


It sounds like a big file, but Rev is pretty good about managing memory 
and swapping to disk. I'd be tempted to try this and see how it works:


  delete line -1 of url (file:mytext.txt)

Worth a test anyway. I've used it on files that were several megs in 
size without a problem, but they weren't super huge, just kinda big.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Richard Gaskin

Would the seek command help?

Presumably it would move the file pointer to the specified point without 
having to load the entire file into RAM.


If you knew your lines were shorter than a given length, say 1000 chars, 
you could so something like:


  open file tFile for append
  seek relative -1000 in file tFile
  repeat
 read from file tFile until cr
 if it is not empty then
put it after tBuffer
 else
delete last line of tBuffer
write tBuffer to file tFile
 end if
  end repeat
  close file tFile

This is off the top of my head to test before using on real data. ;)

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread Richard Gaskin

See why you shouldn't trust off-the-cuff code?

Where I wrote:

   open file tFile for append

...I meant to write:

   open file tFile for update

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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/mailman/listinfo/use-revolution


Problem Updating mySQL Record

2010-02-09 Thread Andrew Kluthe

While not very pretty yet, I am trying to cobble together an update handler
for updating a Payment record.

It keeps trying to put NULL into LeasePaymentDollars field in my DB. This
is weird because I check the SQL query its trying to execute and everything
is as it should be. 

I have a sneaking suspicion that it has something to do with the
tLeasePaymentDollars variables Data type.

Here is the query that the handler is producing. Note: I first tried putting
single quotes around the value and it did not work, so I tried it without
and get the same result.

UPDATE tleasepayments SET LeasePaymentDollars=1337. AND
CropSharePercent='N/A' AND Notes='None' WHERE LeaseID='1075'

Here is the handler itself.

on UpdatePayment pTable, pSetQuery, pConditional
-- check the global connection ID to make sure we have a database
connection
global sDatabaseID
if sDatabaseID is not a number then
answer error Please connect to the database first.
exit to top
end if

-- edit these variables to match your database  table
-- this assumes a table called Table1 with 3 fields

 
  
put the text of field fLeasePaymentDollars into tLeasePaymentDollars
put the text of field fCropSharePercent into tCropSharePercent
if tCropSharePercent is empty then put N/A into tCropSharePercent

put the text of field fNotes into tNotes
if tNotes is empty then put None into tNotes

put tleasepayments into pTable
put LeasePaymentDollars=  tLeasePaymentDollars  AND 
CropSharePercent='  tCropSharePercent  '  AND  Notes=' 
tNotes  ' into pSetQuery
put WHERE LeaseID='  thePaymentID  ' into pConditions
#Crop Year
#LandOwner
#PaymentDate

put UPDATE  pTable  SET  pSetQuery  pConditions into tSQL
-- construct the SQL - the :1, :2  :3 placeholders in the SQL will be
filled by variables in the revExecuteSQL line
#UPDATE Table1 SET birthDate='12/06/1970' WHERE firstName='Mary' AND
lastName='Smith'
#put UPDATE   tTableName   (  tFields  ) VALUES (:1, :2, :3)
into tSQL
put tSQL into field test
-- send the SQL to the database, filling in the placeholders with data
from variables
#revExecuteSQL sDatabaseID, tSQL

-- check the result and display the data or an error message
if the result is a number then
answer info Record Updated.
else
answer error There was a problem adding the record to the
database:  cr  the result
end if
end UpdatePayment



wtf?

-- 
View this message in context: 
http://n4.nabble.com/Problem-Updating-mySQL-Record-tp1475274p1475274.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


Re: Quickly View Contents Of An Array

2010-02-09 Thread Andrew Kluthe

I figured out later that it was a command for the DataGrid. I wish there was
a print_r lol. Guess I'll have to write a little one :P.


Thanks

And is SQL Yoga worth it? My boss told me I can get whatever plugins I need
to improve my productivity. I looked into it a bit but it seems to be what I
have my DB handlers written for. 

What is the benefit of SQL Yoga  vs Custom handlers?
-- 
View this message in context: 
http://n4.nabble.com/Quickly-View-Contents-Of-An-Array-tp1474936p1475276.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


RE: Reading/Deleting Last Line Of File

2010-02-09 Thread Jim Bufalini
Alex,

It does work, just not exactly how I said to do it. ;-) You have to open
the file for append*, instead of *write* and then write at a byte offset.
So:

open file filename for append
write This is the EOF to file fileName at 
close file filename

I just tested on an approximately 10kb text file and if  is 5000, the
This is the EOF is written starting at byte 5000 and the file is
terminated at the end of that string and the file data before byte 5000 is
retained in the file and the file changes to an approximately a 5KB file, so
the EOF is moved and the file is truncated.

I really shouldn't dash these answers off from memory. ;-)

Aloha from Hawaii,

Jim Bufalini



Alex Tweedly wrote:

 I don't think this will work, Jim.  If you open a file for write, then
 it erases the entire content of the file first
 
 as the docs say (emphasis added)...
  The file to write to must be opened first with the open file command,
  and the mode the file was opened in must be write, append, or update.
  If the file is not open or is open read-only, the result function is
  set to File is not open for write..
 
  If the file was opened in write mode, the write to file command
  completely *replaces the file contents from the start.* For example,
  if the file originally contains ABC, and you write 1 to it, after
  the write to file command is executed the file contains 1.
 And as you say, open for update does not allow you to truncate the
 file.
 
 The standard C library has a way to do it, and there is a Unix shell
 command - but not afaict a Windows shell utility to do it.
 
 -- Alex
 
 
 
 Jim Bufalini wrote:
  Warren,
 
 
  I have a large text file (100,000,000+ records).  I need to write a
  utility that removes the last record of the file.  Is there anyway
 to
  just remove the last record without reading through the complete
 file
  with RunRev?
 
 
  This is totally untested but logically you could:
 
  1. First get the size of the file on disk and approximate a character
 offset
  that should be only a few lines from the end of the file.
 
  2. Then Open the file for read and read from file starting at the
 char
  offset you calculated to EOF into a var and delete the last line of
 the var.
 
 
  3. Then Close the file and Open it again for write.
 
  4. Now write the var to file at the same starting offset you read
 from.
 
  The reason you don't use open for update is that you want to open the
 file
  for write, so that whatever you write to the file replaces everything
 from
  the offset to the EOF. Update will replace chars and leave the last
 record
  at the end.
 
  What I don't know here is if internally the read/write from file at
 start
  still has to go through the entire file to calculate the starting
 offset, so
  I don't know how long this will take on a file of your size. But, at
 least,
  doing it this way won't require reading the whole file into memory
 and
  should result in the last line being deleted from the file in the
 quickest
  way available.
 
  Aloha from Hawaii,
 
  Jim Bufalini
 
 
 
  ___
  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/mailman/listinfo/use-revolution
 
 
 
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: Problem Updating mySQL Record

2010-02-09 Thread Sarah Reichelt
On Wed, Feb 10, 2010 at 10:46 AM, Andrew Kluthe and...@rjdfarm.com wrote:

 While not very pretty yet, I am trying to cobble together an update handler
 for updating a Payment record.

 It keeps trying to put NULL into LeasePaymentDollars field in my DB. This
 is weird because I check the SQL query its trying to execute and everything
 is as it should be.

 I have a sneaking suspicion that it has something to do with the
 tLeasePaymentDollars variables Data type.

 Here is the query that the handler is producing. Note: I first tried putting
 single quotes around the value and it did not work, so I tried it without
 and get the same result.

 UPDATE tleasepayments SET LeasePaymentDollars=1337. AND
 CropSharePercent='N/A' AND Notes='None' WHERE LeaseID='1075'


There doesn't appear to be any problem with this SQL.
What is the data type for LeasePaymentDollars in the database table?
When you execute the query, do you get an error report?

Cheers,
Sarah
___
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/mailman/listinfo/use-revolution


RE: Reading/Deleting Last Line Of File

2010-02-09 Thread Jim Bufalini
Jacque wrote:

 Worth a test anyway. I've used it on files that were several megs in
 size without a problem, but they weren't super huge, just kinda big.

Hi Jacque, I made the suggestion I did because at 100 Million records plus,
that's an awfully big read into memory just to delete the last line, so I
figured it's better to work with the file on disk. I just remembered the
params for open file wrong and Alex caught it.

Aloha from Hawaii,

Jim Bufalini

___
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/mailman/listinfo/use-revolution


RE: Reading/Deleting Last Line Of File

2010-02-09 Thread Jim Bufalini
Hey Richard,

Well now we presumably have three different ways to do it. Sounds like a job
for Mr. Gaskin to test which is the fastest. I'd offer to test but am plumb
out of 100 MM record data files. LOL.

Aloha from Hawaii,

Jim Bufalini

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Richard Gaskin
 Sent: Tuesday, February 09, 2010 2:10 PM
 To: How to use Revolution
 Subject: Re: Reading/Deleting Last Line Of File
 
 See why you shouldn't trust off-the-cuff code?
 
 Where I wrote:
 
 open file tFile for append
 
 ...I meant to write:
 
 open file tFile for update
 
 --
   Richard Gaskin
   Fourth World
   Rev training and consulting: http://www.fourthworld.com
   Webzine for Rev developers: http://www.revjournal.com
   revJournal blog: http://revjournal.com/blog.irv
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: Problem Updating mySQL Record

2010-02-09 Thread Andrew Kluthe

Originally I had a database error saying that the field cannot be null. I
changed it in the table to allow null and see what it was placing. No errors
after I made it nullable.


The fields Datatype is decimal and the length is 19,4.

I am fairly baffled. Is this a rev problem or a mySQL problem?

-- 
View this message in context: 
http://n4.nabble.com/Problem-Updating-mySQL-Record-tp1475274p1475325.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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/mailman/listinfo/use-revolution


Re: Noise in Windows icon when standalone compiled on Mac

2010-02-09 Thread Bruce Pokras


On Feb 6, 2010, at 3:37 PM, J. Landman Gay wrote:


Bruce Pokras wrote:

But what happened to write once and compile for multiple  
platforms when you need separate computers to make the apps look  
right? I don't buy the excuse that some kind of improvement  
makes Rev 4 unable to do as good a job with an icon as Rev 3.5  
did. That is not an improvement in my mind, and I hope that the  
Rev developers don't think so either.


It doesn't bother me at all. Icons are an external resource and  
we've always needed a third-party app to create them. The old way  
of embedding Windows icons was based on Windows 95 and had some  
unusual requirements even back then. I'm sure you've bumped up  
against the restrictions for icon size, color depth, number of  
icons in the file, etc. With Vista and Win 7 it became apparent  
that the file structure needed to be updated so that Rev apps would  
function like any other on that platform and comply with standards.


So all that is required is that you use a different icon editor  
than the one you used to use, one that creates icons that fit with  
today's file structure. I don't know what you were using before,  
but for now there aren't many Mac alternatives. If someday one  
appears, you can use that one and not need a Windows machine.


There were some good reasons to change the file structure,  
including the ability to certify your Windows apps with a manifest,  
just like any other Windows program. That's necessary in today's  
more restrictive Windows environment. Vista introduced some stiff  
security measures and your app is more likely to fail if it doesn't  
comply. That change doesn't mean that Rev is deficient -- in fact,  
it indicates that Rev is keeping up with the OS -- but it does mean  
you need to change the icon editor you use. Virtually any newer  
Windows icon editor will work. To date, almost no Mac one will.


What were you using before?

--
Jacqueline Landman Gay |
HyperActive Software   | http://www.hyperactivesw.com



Jacque,

I used the now unsupported Iconographer.

BTW, I used the free Windows app you suggested on my new XP laptop  
to convert my OS X icon to a Windows icon and it worked great. Thanks.


Regards,

Bruce Pokras
Blazing Dawn Software
www.blazingdawn.com
___
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/mailman/listinfo/use-revolution


Properly formatted large numbers

2010-02-09 Thread Michael Lew
Dear Listers

I'm working on some statistical simulations and regularly get output numbers
with anything from 1 to 7 digits. They are hard to read when they don't have
the conventional commas separating the thousands and millions. I've written
a simple function that does the comma formatting for me but it mucks up
sorting. Of course. (I'm using a datagrid to display the results and live
sorting is really handy.)

Does anyone have an easy way to deal with this? I'm tempted to use a fixed
pitch font so that larger numbers always look longer, but that would be a
kludgey workaround.

(I note that in OSX the Finder puts separators in the correct places in
large numbers using the settings of the International System Preferences.)

Regards,
Michael
-- 
Michael J Lew
Senior Lecturer
Department of Pharmacology
email: micha...@unimelb.edu.au
phone: +61 3 8344 7812

___
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/mailman/listinfo/use-revolution


SVG from IREV server question

2010-02-09 Thread Michael Kann
Perhaps someone with some fresh eyes can help me out. I'm trying to serve up an 
SVG image from the IREV server. I started with a PHP script that works:

?php
  header('Content-Type: image/svg+xml');
  echo '?xml version=1.0 encoding=UTF-8 standalone=no?';
?
svg width=100px height=100px viewBox=0 0 500 500 version=1.0 

xmlns=http://www.w3.org/2000/svg;
rect width=100 height=100 fill=blue /
/svg

Converting to an irev file, I tried out a few different lines to send out the 
header and the xml info, but nothing worked. Has anyone made this work?

Thanks in advance,
Mike







  
___
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/mailman/listinfo/use-revolution


go card in revLet

2010-02-09 Thread Thomas McGrath III
I have been building a revlet as a proof of concept. It worked great and as I 
put more features into it I have run into the 'go card' problem.

The thing is if I have a series of commands running and click the next card 
button then it waits until the commands are done and will go to the card, but 
if I wait until the series of commands are done and then click the next card 
button it immediately crashes the browser, every time.

I do have a splash screen that loads , waits, and then goes to the next card 
and it doesn't crash. but any subsequent GO commands crash.

What are the other issues that people are having with the GO command??? I would 
like to either track this down or find a workaround.

Thanks in advance,

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






___
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/mailman/listinfo/use-revolution


RE: Problem Updating mySQL Record

2010-02-09 Thread Jim Bufalini
Hi Andrew,

It's difficult to look at long code in an email especially when lines are
wrapped. So you may want to make available a sample stack that contains
enough code that demonstrates what isn't working for download (don't try to
attach it to an email to this list). In this case it should also have the
schema of the DB. Also, for me to really look at code, I like to see
explicit variable declaration (my preference). But, just looking through the
below (and I assume you copied this right out of your editor) there are a
couple of anomalies that I see:

1. *if tCropSharePercent is empty then put N/A into tCropSharePercent* Is
this column typed as numeric in your DB schema?

2. *put tleasepayments into pTable* Shouldn't this be the opposite? 

3. Your construction of pSetQuery and pConditions together with the comment
lines are difficult to read in this email. Try using the *format* command
and wrap your lines using the \ char, even in a stack script. This will
allow more people to easily read, jump in, and pick up on what may be the
problem and you will get the answer you need from this list a lot quicker.

Aloha from Hawaii,

Jim Bufalini



Andrew Kluthe wrote:

 While not very pretty yet, I am trying to cobble together an update
 handler
 for updating a Payment record.
 
 It keeps trying to put NULL into LeasePaymentDollars field in my DB.
 This
 is weird because I check the SQL query its trying to execute and
 everything
 is as it should be.
 
 I have a sneaking suspicion that it has something to do with the
 tLeasePaymentDollars variables Data type.
 
 Here is the query that the handler is producing. Note: I first tried
 putting
 single quotes around the value and it did not work, so I tried it
 without
 and get the same result.
 
 UPDATE tleasepayments SET LeasePaymentDollars=1337. AND
 CropSharePercent='N/A' AND Notes='None' WHERE LeaseID='1075'
 
 Here is the handler itself.
 
 on UpdatePayment pTable, pSetQuery, pConditional
 -- check the global connection ID to make sure we have a database
 connection
 global sDatabaseID
 if sDatabaseID is not a number then
 answer error Please connect to the database first.
 exit to top
 end if
 
 -- edit these variables to match your database  table
 -- this assumes a table called Table1 with 3 fields
 
 
 
 put the text of field fLeasePaymentDollars into
 tLeasePaymentDollars
 put the text of field fCropSharePercent into tCropSharePercent
 if tCropSharePercent is empty then put N/A into tCropSharePercent
 
 put the text of field fNotes into tNotes
 if tNotes is empty then put None into tNotes
 
 put tleasepayments into pTable
 put LeasePaymentDollars=  tLeasePaymentDollars  AND 
 CropSharePercent='  tCropSharePercent  '  AND  Notes=' 
 tNotes  ' into pSetQuery
 put WHERE LeaseID='  thePaymentID  ' into pConditions
 #Crop Year
 #LandOwner
 #PaymentDate
 
 put UPDATE  pTable  SET  pSetQuery  pConditions into
 tSQL
 -- construct the SQL - the :1, :2  :3 placeholders in the SQL will
 be
 filled by variables in the revExecuteSQL line
 #UPDATE Table1 SET birthDate='12/06/1970' WHERE firstName='Mary'
 AND
 lastName='Smith'
 #put UPDATE   tTableName   (  tFields  ) VALUES (:1, :2,
 :3)
 into tSQL
 put tSQL into field test
 -- send the SQL to the database, filling in the placeholders with
 data
 from variables
 #revExecuteSQL sDatabaseID, tSQL
 
 -- check the result and display the data or an error message
 if the result is a number then
 answer info Record Updated.
 else
 answer error There was a problem adding the record to the
 database:  cr  the result
 end if
 end UpdatePayment
 
 
 
 wtf?
 
 --
 View this message in context: http://n4.nabble.com/Problem-Updating-
 mySQL-Record-tp1475274p1475274.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: SVG from IREV server question

2010-02-09 Thread Andre Garzia
tried:

put header Content-Type: image/svg+xml

or (should not work, but it might)

put new header Content-Type: image/svg+xml

Andre

On Wed, Feb 10, 2010 at 1:24 AM, Michael Kann mikek...@yahoo.com wrote:
 Perhaps someone with some fresh eyes can help me out. I'm trying to serve up 
 an SVG image from the IREV server. I started with a PHP script that works:
 
 ?php
  header('Content-Type: image/svg+xml');
  echo '?xml version=1.0 encoding=UTF-8 standalone=no?';
 ?
 svg width=100px height=100px viewBox=0 0 500 500 version=1.0

 xmlns=http://www.w3.org/2000/svg;
 rect width=100 height=100 fill=blue /
 /svg
 
 Converting to an irev file, I tried out a few different lines to send out the 
 header and the xml info, but nothing worked. Has anyone made this work?

 Thanks in advance,
 Mike








 ___
 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/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
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/mailman/listinfo/use-revolution


Re: Properly formatted large numbers

2010-02-09 Thread Terry Judd
Can you have two columns - one formatted, one not - and somehow apply the
sort to the unformatted column. I guess the unformatted column would have to
be of invisible and you'd need to have some way of trapping the selection of
the column header. You might need Trevor's help there.

Terry...


On 10/02/10 2:17 PM, Michael Lew micha...@unimelb.edu.au wrote:

 Dear Listers
 
 I'm working on some statistical simulations and regularly get output numbers
 with anything from 1 to 7 digits. They are hard to read when they don't have
 the conventional commas separating the thousands and millions. I've written
 a simple function that does the comma formatting for me but it mucks up
 sorting. Of course. (I'm using a datagrid to display the results and live
 sorting is really handy.)
 
 Does anyone have an easy way to deal with this? I'm tempted to use a fixed
 pitch font so that larger numbers always look longer, but that would be a
 kludgey workaround.
 
 (I note that in OSX the Finder puts separators in the correct places in
 large numbers using the settings of the International System Preferences.)
 
 Regards,
 Michael

___
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/mailman/listinfo/use-revolution


Re: Reading/Deleting Last Line Of File

2010-02-09 Thread J. Landman Gay

Jim Bufalini wrote:

Jacque wrote:


Worth a test anyway. I've used it on files that were several megs in
size without a problem, but they weren't super huge, just kinda big.


Hi Jacque, I made the suggestion I did because at 100 Million records plus


100 million? Yes, well...I think I read the zeros wrong.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
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/mailman/listinfo/use-revolution


Re: ANN: InfoWallet upgraded

2010-02-09 Thread Mark Wieder
Bill-

Sunday, February 7, 2010, 11:00:10 PM, you wrote:

 The new version (1.1.05) of InfoWallet has been released as a free upgrade.

...and it's noted on today's Macintouch... congratulations on getting
the release out the door.

http://www.macintouch.com/

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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/mailman/listinfo/use-revolution


Re: ANN: InfoWallet upgraded

2010-02-09 Thread Bill Vlahos
Thanks.

Will you be at Macworld? I will.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Feb 9, 2010, at 10:59 PM, Mark Wieder wrote:

 Bill-
 
 Sunday, February 7, 2010, 11:00:10 PM, you wrote:
 
 The new version (1.1.05) of InfoWallet has been released as a free upgrade.
 
 ...and it's noted on today's Macintouch... congratulations on getting
 the release out the door.
 
 http://www.macintouch.com/
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 
 ___
 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/mailman/listinfo/use-revolution

___
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/mailman/listinfo/use-revolution


Re: Words Indexing strategies

2010-02-09 Thread Bernard Devlin
On Tue, Feb 9, 2010 at 12:00 AM, Alejandro Tejada
capellan2...@gmail.com wrote:
 Now, i am looking for advice to create an index structure for searching
 specific words inside article's text. i have been unable to implement
 a fast search algorithm, using multiple words, similar to Wikipedia's
 own search engine. Every idea or advice is welcome.

Can I just clarify your problem?  You want to be able to search for
phrases (partial sentences, possibly with boolean logic) inside the
text stored in the xml nodes of the article, once the article is found
in the index?

Bernard
___
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/mailman/listinfo/use-revolution


Re: Reference (maybe Live) Distribution for Rev Linux

2010-02-09 Thread Bernard Devlin
On Tue, Feb 9, 2010 at 6:27 PM, Richard Gaskin
ambassa...@fourthworld.com wrote:
 PS -  An interesting side note in my testing:  While using Rev under Ubuntu
 I found that opening the Dictionary slowed everything in Rev to a painful
 crawl.  So I installed MetaCard there, and its Dictionary works very quickly
 with no adverse effect on overall performance as there was with Rev's.

That's interesting.  I posited in one bug report that I thought that
the look up to the documentation might be the cause of the impossibly
slow movement via arrow keys in the Script Editor.

http://quality.runrev.com/qacenter/show_bug.cgi?id=8495

There are other issues with dramatic loss of performance in Rev on
Linux to do with field display:

http://quality.runrev.com/qacenter/show_bug.cgi?id=8513

I tried to use MetaCard on Linux late last year, but just couldn't get
used to it.  I guess I'm dependent on the added value that Runrev have
provided.

Bernard
___
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/mailman/listinfo/use-revolution