From: Greg Ercolano <erco@(email surpressed)>
Subject: seriss.com maintenance
   Date: Wed, 03 Oct 2007 18:21:31 -0400
Msg# 1623
View Complete Thread (7 articles) | All Threads
Last Next
I'm scheduling some server maintenance this weekend.

I don't anticipate there being problems,
but if you do have trouble accessing seriss.com during that time,
try accessing the site via its IP address, eg:

http://66.39.46.122/rush/

   From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: Limitation in frames command?
   Date: Fri, 05 Oct 2007 01:56:20 -0400
Msg# 1624
View Complete Thread (7 articles) | All Threads
Last Next
Hi there

Can you tell me if there is string length limitation for the frames command?

e.g. frames 1 300 150 2-30 34-299 ... etc ...

Thanks,
Dylan Penhale




   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Limitation in frames command?
   Date: Fri, 05 Oct 2007 13:18:11 -0400
Msg# 1625
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
> Can you tell me if there is string length limitation for the frames command?
> e.g. frames 1 300 150 2-30 34-299 ... etc ...

Hi Dylan,

	This came up in the early days of rush, I think its something
	like 2048 or 4096, or something like that.

	Whatever the limit is, rush prints an obvious 'line too long'
	message if it does hit the internal limit.

	But you don't have to cram everything onto a single line;
	the frames command can be specified several times to accumulate
	a large list, eg:

rush -submit << EOF
..
frames 1 300 150 2-30
frames 34-299 381 456
frames 489 581-786
..
EOF

	I know of no limit (other than ram limits) when you do it that way.

	So if you're generating a large list procedurally (e.g. from a script)
	I'd recommend you split it at some line length that's easy to read
	and paste for practical pasting/debugging purposes, like 75 characters
	or some such.

-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Limitation in frames command?
   Date: Fri, 05 Oct 2007 21:44:03 -0400
Msg# 1627
View Complete Thread (7 articles) | All Threads
Last Next
Greg Ercolano wrote:
> Dylan Penhale wrote:
>> Can you tell me if there is string length limitation for the frames command?
>> e.g. frames 1 300 150 2-30 34-299 ... etc ...
> 
> 	This came up in the early days of rush, I think its something
> 	like 2048 or 4096, or something like that.

   Just verified it.. it's 2048.

   I ran 'rush -submit' interactively, then pasted together a huge
   'frames' command, and got it to barf up its 'line too long' error:

% rush -submit
frames 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9
999 1 222
33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 333
33 4444
55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 555
55 666
77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999
rush: 'rush -submit': 'frames 1 222 33333 4444 55555 666 77777 ..': Line too long (>2048 max)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 	Whatever the limit is, rush prints an obvious 'line too long'
> 	message if it does hit the internal limit.
> 
> 	But you don't have to cram everything onto a single line;
> 	the frames command can be specified several times to accumulate
> 	a large list, eg:
> 
> rush -submit << EOF
> ..
> frames 1 300 150 2-30
> frames 34-299 381 456
> frames 489 581-786
> ..

-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

   From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: RE: Limitation in frames command?
   Date: Sat, 06 Oct 2007 20:46:35 -0400
Msg# 1628
View Complete Thread (7 articles) | All Threads
Last Next
Thanks Greg

248 is good, but we will opt for splitting over multiple lines as suggested.
Basically we just want to render out the 1st, middle and last frames, then
the middle of those, then sort of fill in the gaps. We can create a small
code to formulate that string when we submit.

Thanks,
Dylan

|-----Original Message-----
|From: Greg Ercolano [mailto:erco@(email surpressed)]
|Sent: Saturday, 6 October 2007 11:44 AM
|To: void@(email surpressed)
|Subject: Re: Limitation in frames command?
|
|[posted to rush.general]
|
|Greg Ercolano wrote:
|> Dylan Penhale wrote:
|>> Can you tell me if there is string length limitation for the frames
|command?
|>> e.g. frames 1 300 150 2-30 34-299 ... etc ...
|>
|> 	This came up in the early days of rush, I think its something
|> 	like 2048 or 4096, or something like that.
|
|   Just verified it.. it's 2048.
|
|   I ran 'rush -submit' interactively, then pasted together a huge
|   'frames' command, and got it to barf up its 'line too long' error:
|
|% rush -submit
|frames 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9
|999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|333
|33 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444
|55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999
|9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 555
|55 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222
|33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666
|77777 8888 999 9999
|rush: 'rush -submit': 'frames 1 222 33333 4444 55555 666 77777 ..': Line
|too long (>2048 max)
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|^^^^^^^^^^^^^^^^^^^^^
|
|> 	Whatever the limit is, rush prints an obvious 'line too long'
|> 	message if it does hit the internal limit.
|>
|> 	But you don't have to cram everything onto a single line;
|> 	the frames command can be specified several times to accumulate
|> 	a large list, eg:
|>
|> rush -submit << EOF
|> ..
|> frames 1 300 150 2-30
|> frames 34-299 381 456
|> frames 489 581-786
|> ..
|
|--
|Greg Ercolano, erco@(email surpressed)
|Rush Render Queue, http://seriss.com/rush/
|Tel: (Tel# suppressed)
|Fax: (Tel# suppressed)
|Cel: (Tel# suppressed)


   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Limitation in frames command?
   Date: Sat, 06 Oct 2007 21:05:31 -0400
Msg# 1629
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
> Thanks Greg
> 
> [2048] is good, but we will opt for splitting over multiple lines as suggested.
> Basically we just want to render out the 1st, middle and last frames, then
> the middle of those, then sort of fill in the gaps. We can create a small
> code to formulate that string when we submit.

	Right, every so often the 'binary tree' ordering comes up.

	Your approach is correct; to create 'frames' commands
	with the frames in the order you want them.

	I should probably make a '-btree' option flag for the 'frames'
	submit command, so that it will automatically generate a
	'binary tree' frame ordering for frame ranges. That way you
	could just do:

frames -btree 1-100

	..and it would generate the "1 50 100 25 75 .." frame ordering.
	I'll add it to ol' todo list for the upcoming major release.


-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Limitation in frames command?
   Date: Sat, 06 Oct 2007 21:26:35 -0400
Msg# 1630
View Complete Thread (7 articles) | All Threads
Last Next
Greg Ercolano wrote:
> Dylan Penhale wrote:
>> Basically we just want to render out the 1st, middle and last frames, then
>> the middle of those, then sort of fill in the gaps. [..]
> 
> 	Right, every so often the 'binary tree' ordering comes up.

   Looks like binary ordering was brought up about 4 years ago here
   on the group:

   http://seriss.com/cgi-bin/rush/newsgroup-threaded.cgi?-view+1091+1090+1091+109

   ..that shows a cheap way to just get the first/middle/last
   without adding any logic to the submit script to make a true binary tree.

   Often that's all people need; just the first/middle/last,
   then fill in the rest in ascending order is often sufficient.

   But if you already have the binary tree logic in your code,
   that's fine too.

   Just watch how you handle this when mixed with 'batching',
   as that can get complicated fast.

-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)