On Wed, Apr 9, 2008 at 3:14 AM, _why <[EMAIL PROTECTED]> wrote:
>  I'm sorry that should be:
>
>
>   @i_say = edit_box do
>     @remaining.replace string_alert
>     if @i_say.text[-1] == ?\n
>       upandaway
>     end
>   end
>
>  _why
>

oh yes it works. Done. Thank you. pheww... cool. I thought edit_box
had no active event method (some on_change). Is it ruby threaded ?

Still, talking about images, for Twittershoes case, looking at the
meta 'etag' forces a pull from all the images, all the times. So we
get that delay. My remote_image has no delay once the image gets
stored on disk. Yet, image modifications get always detected on your
case. So thats fine.
I was trying to find the source code where you refer you keep a single
reference to each unique loaded image. Is it ruby coded ?

One other thing, are you reading 16K chunks of data on the possibility
of huge images ?

File.open(path, 'wb') do |fout|
  fout.write fin.read(fin.meta['content-length'].to_i)
end

may I ask if is this out of the question ?

thankyou,
pedro

Reply via email to