Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ruby Programming Language

image_science 1.1.3 Released


image_science version 1.1.3 has been released!

* <http://seattlerb.rubyforge.org/ImageScience.html>

ImageScience is a clean and happy Ruby library that generates
thumbnails -- and kicks the living crap out of RMagick. Oh, and it
doesn't leak memory like a sieve. :) For more information including  
build steps, see http://seattlerb.rubyforge.org/

Changes:

## 1.1.3 / 2007-05-30

* 2 minor enhancements:
   * Added quick_thumb as an example to look at.
   * Error handler doesn't raise by default. Raises if $DEBUG==true.

* <http://seattlerb.rubyforge.org/ImageScience.html>

On May 30, 2007, at 3:38 PM, Ryan Davis wrote:

> and kicks the living crap out of RMagick. Oh, and it
> doesn't leak memory like a sieve. :)

The creator of this library disagrees, just FYI:

http://groups.google.com/group/comp.lang.ruby/msg/a61984b06e70acea

James Edward Gray II

> On May 30, 2007, at 3:38 PM, Ryan Davis wrote:

> > and kicks the living crap out of RMagick. Oh, and it doesn't leak
> > memory like a sieve. :)

> The creator of this library disagrees, just FYI:

> http://groups.google.com/group/comp.lang.ruby/msg/a61984b06e70acea

For what it's worth, I run rmagick in a (lightly-used) production
service on a win32 box and have had no problems, memory usage appears
stable over time. I had actually considered image_science as an
alternative, but given the lack of an image_science gem that doesn't
depend on having a c compiler on the box (a relative rarety in the win32
world, sadly), it's not an option for me.

- donald

On May 30, 2007, at 16:58 , James Edward Gray II wrote:

> On May 30, 2007, at 3:38 PM, Ryan Davis wrote:

>> and kicks the living crap out of RMagick. Oh, and it
>> doesn't leak memory like a sieve. :)

> The creator of this library disagrees, just FYI:
> http://groups.google.com/group/comp.lang.ruby/msg/a61984b06e70acea

So? He and I disagree. Big deal. We've done it before [1], I'm sure  
we'll do it again.

[1] http://blog.zenspider.com/archives/2006/04/its_the_process.html

On May 30, 2007, at 17:13 , Ball, Donald A Jr (Library) wrote:

> I had actually considered image_science as an
> alternative, but given the lack of an image_science gem that doesn't
> depend on having a c compiler on the box (a relative rarety in the  
> win32
> world, sadly), it's not an option for me.

More FUD! How many times I've heard this crap I have no idea... We've  
been shipping inline with inline_package for over 2 years now. How  
long do you have to propagate this?
On May 30, 2007, at 4:15 PM, Ryan Davis wrote:

> On May 30, 2007, at 16:58 , James Edward Gray II wrote:

>> On May 30, 2007, at 3:38 PM, Ryan Davis wrote:

>>> and kicks the living crap out of RMagick. Oh, and it
>>> doesn't leak memory like a sieve. :)

>> The creator of this library disagrees, just FYI:
>> http://groups.google.com/group/comp.lang.ruby/msg/a61984b06e70acea

> So? He and I disagree. Big deal. We've done it before [1], I'm sure  
> we'll do it again.

> [1] http://blog.zenspider.com/archives/2006/04/its_the_process.html

Well, I was thinking it might be worth it to submit bug reports to  
the tracker so he could fix them.  I see from your article that  
you've had trouble with that in the past though.  Fair enough.

James Edward Gray II

James Edward Gray II wrote:
> On May 30, 2007, at 3:38 PM, Ryan Davis wrote:

>> and kicks the living crap out of RMagick. Oh, and it
>> doesn't leak memory like a sieve. :)

> The creator of this library disagrees, just FYI:

> http://groups.google.com/group/comp.lang.ruby/msg/a61984b06e70acea

> James Edward Gray II

Thanks for reposting my earlier request, James. I'll repeat it here for
emphasis:

As of this moment there are no open bug tracks for RMagick memory leaks
on RubyForge. All the RMagick "leaks" I know about are addressed in this
entry in the RMagick Hints & Tips forum:
http://rubyforge.org/forum/forum.php?thread_id=1374&forum_id=1618.

If you know of a leak that isn't addressed by that tip, I'd love an
opportunity to fix it. Would you mind sending me a script that
reproduces the leak? I need a script with no extra gems or libraries,
just Ruby and RMagick. No Rails, attachment_fu, file_column, gruff,
scruffy, or whatever. Let me know what O/S you're on, what version of
RMagick and ImageMagick/GraphicsMagick, and what version of Ruby. You
can send it directly to me, post it here, or open a bug track on RubyForge.

By the way, since I originally posted that request on the 17th I've had
no new bug reports, so please, send 'em in.

--
RMagick OS X Installer [http://rubyforge.org/projects/rmagick/]
RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618]
RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]

> On May 30, 2007, at 17:13 , Ball, Donald A Jr (Library) wrote:

> > I had actually considered image_science as an alternative,
> but given
> > the lack of an image_science gem that doesn't depend on having a c
> > compiler on the box (a relative rarety in the
> > win32
> > world, sadly), it's not an option for me.

> More FUD! How many times I've heard this crap I have no
> idea... We've been shipping inline with inline_package for
> over 2 years now. How long do you have to propagate this?

Apologies for the misinformation. All I know is that on my win32 box, if
I gem install image_science and all its dependencies,

On Jun 1, 2007, at 00:30 , James Herdman wrote:

> Have you guys had problems deploying Rails apps with ImageScience and
> Mongrel?  I tend to get strange errors about RubyInline not having  
> access to
> the home directory.  Similar to the problem described here (
> http://www.ruby-forum.com/topic/109129), but with this fix not  
> quite being
> 100% effective.

That's the first I've heard of for mongrel. I just dealt with  
something similar on apache and blogged my fix for that. I rejected a  
bug yesterday for a similar sounding Locomotive bug but the reporter  
couldn't and wouldn't provide a reproducible test case (besides an  
entire rails app + downloading locomotive (46m) etc etc). No clue if  
that is related or not as he just couldn't get any clarity on the issue.

So, try my blog. Let me know if that works for you.

P.S. Setting HOME is not the answer. Set INLINEDIR instead.

Could I get some help setting up image_science in my win32 environment?
I've never worked with RubyInline and I think that's where I'm getting
stuck.  I have both Visual Studio 2003 and 2005 installed.  So far, I've
gotten:

gem install -y image_science
irb
irb(main):001:0> require 'image_science'
cl : Command line warning D4002 : ignoring unknown option '-lfreeimage'
cl : Command line warning D4002 : ignoring unknown option '-lstdc++'
CompilationError: error executing cl -nologo -LD   -MD -Zi -O2b2xg- -G6
-I C:/tools/ruby/lib/ruby/1.8/i386-mswin32 -I C:/tools/ruby/include -o
"C:\Documents and Settings\HC/.ruby_inline/Inline_ImageSci
ence_aa58.so" "C:/Documents and
Settings/HC/.ruby_inline/Inline_ImageScience_aa58.c" -lfreeimage
-lstdc++ -link /LIBPATH:"C:/tools/ruby/lib"
/DEFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init
_Inline_ImageScience_aa58: 512
Renamed C:\Documents and
Settings\HC/.ruby_inline/Inline_ImageScience_aa58.c to C:\Documents and
Settings\HC/.ruby_inline/Inline_ImageScience_aa58.c.bad
        from
C:/tools/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:391:in
`build'
        from
C:/tools/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:660:in
`inline'
        from
C:/tools/ruby/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science. rb:84
        from
C:/tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
        from
C:/tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
        from (irb):1

--
Posted via http://www.ruby-forum.com/.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc