[#319108] Iterator objects and lazy evaluation — Yuh-Ruey Chen <maian330@...>

Two questions:

14 messages 2008/11/01

[#319117] Poor performance of Ruby 1.8.7 when installed with MacPorts — abc <arcadiorubiogarcia@...>

Hi,

15 messages 2008/11/01

[#319176] Ruby for Philosophers — Sebastian Torena <citizenkant@...>

Hi there,

14 messages 2008/11/02

[#319196] ruby1.9: lazy versions of Enumerator#select and friends? — Brian Candler <b.candler@...>

I've been having a play with Enumerators in ruby 1.9, in particular

12 messages 2008/11/02

[#319239] Rake task for building latex? — Stefano Crocco <stefano.crocco@...>

Does anyone know whether there's a rake task to build latex files, including

10 messages 2008/11/03

[#319319] Ruby's take on S.O.L.I.D. — Mike Lopke <reglopke@...>

I'm curious about everyone's take on Bob Martin's S.O.L.I.D. design

16 messages 2008/11/03

[#319401] Combination of numbers in an array that add up to x — Hae Lee <hae.lee.subscription@...>

Objective: Find list of values in an array that adds up to a specific

17 messages 2008/11/04

[#319404] Showing a spinner ? — Aldric Giacomoni <aldric@...>

How do I show a spinner on the command line interface when a ruby script

13 messages 2008/11/04

[#319440] What would you like to know about JRuby? — Charles Oliver Nutter <charles.nutter@...>

Tom Enebo and I are putting together our JRuby presentation for

22 messages 2008/11/04

[#319532] What's the Best Way to Mimic an HTTP Request? — Daniel Miessler <daniel@...>

I'm trying to write a tool that will take a domain as an argument and

10 messages 2008/11/05

[#319546] Ruby has a Face that it wears on its feet — "Jayson Williams" <williams.jayson@...>

In my opinion, Ruby's official face should be Shoes. Shoes gives Ruby

17 messages 2008/11/05
[#319553] Re: Ruby has a Face that it wears on its feet — "Martin DeMello" <martindemello@...> 2008/11/05

On Wed, Nov 5, 2008 at 11:17 AM, Jayson Williams

[#319576] how to quickly find a string towards the end of a large io object — bwv549 <jtprince@...>

How do I scan starting at the end of a big io object to find a string

12 messages 2008/11/06

[#319702] Sudoku Generator (#182) — Matthew Moss <matt@...>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

14 messages 2008/11/07

[#319769] implementing mvc - using observer pattern - beginner to OOP — Adam Akhtar <adamtemporary@...>

Hi I started making a simple command line todo list application as a way

10 messages 2008/11/08

[#319770] what's easiest way to compare a Float & BigDecimal (i.e. like a equals mechanism) — "Greg Hauptmann" <greg.hauptmann.ruby@...>

Hi,

8 messages 2008/11/08

[#319835] Moving large amount of files, 1.750.000+ — Sebastian Newstream <abeansits@...>

Hello fellow Rubyists!

15 messages 2008/11/09
[#319837] Re: Moving large amount of files, 1.750.000+ — Robert Klemme <shortcutter@...> 2008/11/09

On 09.11.2008 18:04, Sebastian Newstream wrote:

[#319861] Notepad++ (no debug output, using XP) — Ed Hardy <asm.sol@...>

Notepad++ seems to be a great editor for Ruby, in XP Windows. However,

13 messages 2008/11/10

[#319902] Problem with object methods? — Carter Davis <theshakrah@...>

I recently made an object for a game I'm making. It uses the constructor

16 messages 2008/11/10
[#319908] Re: Problem with object methods? — Hugh Sasse <hgs@...> 2008/11/10

[#319911] Re: Problem with object methods? — Carter Davis <theshakrah@...> 2008/11/10

Okay, I made an example.

[#320057] Convert text string i.e 'Peter' into integer ID — Justus Ohlhaver <ohlhaver@...>

Hello,

23 messages 2008/11/12

[#320101] Issue with block and getting to local variables — Tarek Other <cashew250@...>

Ok I'm new to ruby and want to do the following, I want to define a

12 messages 2008/11/12

[#320103] Need tutoring on using a path environment variable — dkmd_nielsen <donn@...>

I don't know what to do. I have an environment variable, PW_PATH,

11 messages 2008/11/12

[#320135] '#' characters are breaking my regexp — Max Williams <toastkid.williams@...>

I'm trying to build a regexp that includes music notes, eg Bb or C#.

14 messages 2008/11/13

[#320202] Highline - question with multiple choices — szimek <szimek@...>

Hi,

14 messages 2008/11/14
[#320208] Re: Highline - question with multiple choices — James Gray <james@...> 2008/11/14

On Nov 14, 2008, at 4:23 AM, szimek wrote:

[#320270] Re: Highline - question with multiple choices — szimek <szimek@...> 2008/11/15

On 14 Lis, 14:52, James Gray <ja...@grayproductions.net> wrote:

[#320213] Unit Conversion (#183) — Matthew Moss <matt@...>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

37 messages 2008/11/14

[#320280] IO#lineno= doesn't work the way I expected — Chad Perrin <perrin@...>

I'm working on something that operates on each line of a file

22 messages 2008/11/15
[#320283] Re: IO#lineno= doesn't work the way I expected — Tim Hunter <TimHunter@...> 2008/11/15

Chad Perrin wrote:

[#320286] Re: IO#lineno= doesn't work the way I expected — Chad Perrin <perrin@...> 2008/11/15

On Sun, Nov 16, 2008 at 02:27:45AM +0900, Tim Hunter wrote:

[#320287] Re: IO#lineno= doesn't work the way I expected — "Michael Guterl" <mguterl@...> 2008/11/15

On Sat, Nov 15, 2008 at 2:08 PM, Chad Perrin <perrin@apotheon.com> wrote:

[#320288] Re: IO#lineno= doesn't work the way I expected — "Michael Guterl" <mguterl@...> 2008/11/15

On Sat, Nov 15, 2008 at 2:54 PM, Michael Guterl <mguterl@gmail.com> wrote:

[#320359] Why does tmail stop my CGI script form working? — Chad Perrin <perrin@...>

I decided to try TMail for the back end of a new contact page on a

14 messages 2008/11/17

[#320370] How can I overload a method in Ruby — Zhao Yi <youhaodeyi@...>

This is my class definition:

19 messages 2008/11/17

[#320417] How to extract links of a particular class type — "Sita Rami Reddy" <sitaramireddy@...>

I have a web page which has n number of links.

11 messages 2008/11/17

[#320446] function to select only certain key/value pairs from hash? — Aryk Grosz <tennisbum2002@...>

Whenever Im coding I usually come across having to create a new hash

14 messages 2008/11/17

[#320482] I don't like specs, should I change my point of view ? — Zouplaz <user@...>

Hello, I'm not trolling. I don't like specs (RSpec) : everytime I had a

18 messages 2008/11/18

[#320500] Should is the new Must? — Trans <transfire@...>

Why did 'should' become the going nomenclature of BDD framworks?

21 messages 2008/11/18

[#320553] Syntax question from a newbie to Ruby — David Spitzer <davidspitzer@...>

I am just learning Ruby and I can not seem to see why the first example

12 messages 2008/11/18

[#320655] build hash by iterating — Jason Lillywhite <jason.lillywhite@...>

I am building a hash this way:

15 messages 2008/11/19

[#320665] Question about host, gethostbyname and getaddress — Vladimir Fekete <fekete@...>

Hi *,

11 messages 2008/11/19

[#320709] ANN: One-Click Ruby Installer 186-27 Release Candidate 2 — Luis Lavena <luislavena@...>

Hello Ruby for Windows users!

11 messages 2008/11/19

[#320811] Found a ruby bug in the URI class, what do I do? — Ben Johnson <bjohnson@...>

I'm pretty sure this is a bug, and it seem so obvious that I'm thinking

9 messages 2008/11/20

[#320908] Befunge (#184) — Matthew Moss <matt@...>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

28 messages 2008/11/22
[#321031] Re: [QUIZ] Befunge (#184) — Matthew Moss <matt@...> 2008/11/24

Hopefully the quiz isn't intimidating... It's a fairly simple language

[#321006] Can you run a command line script with arguments, without typing 'ruby' first? — "Jayson Williams" <williams.jayson@...>

Hi All,

29 messages 2008/11/24
[#321008] Re: Can you run a command line script with arguments, without typing 'ruby' first? — "Diogo Lisboa" <diogoslisboa@...> 2008/11/24

chmod a+x my_script (restrict permissions if you want)

[#321022] Re: Can you run a command line script with arguments, without typing 'ruby' first? — "Jayson Williams" <williams.jayson@...> 2008/11/24

I am using win os, so the shabang thing isn't an option for me. I put

[#321023] Re: Can you run a command line script with arguments, without typing 'ruby' first? — "Glen Holcomb" <damnbigman@...> 2008/11/24

On Mon, Nov 24, 2008 at 2:12 PM, Jayson Williams

[#321024] Re: Can you run a command line script with arguments, without typing 'ruby' first? — "Glen Holcomb" <damnbigman@...> 2008/11/24

On Mon, Nov 24, 2008 at 2:21 PM, Glen Holcomb <damnbigman@gmail.com> wrote:

[#321027] Re: Can you run a command line script with arguments, without typing 'ruby' first? — "Jayson Williams" <williams.jayson@...> 2008/11/24

The associations are correct. I reset them just to be sure though. I

[#321095] Re: Can you run a command line script with arguments, without typing 'ruby' first? — Daniel Schömer <daniel.schoemer@...> 2008/11/25

Jayson Williams wrote:

[#321037] Chris Pine tutorial assistance chapter 7 sort data without use of .sort method — jgheal@...

I'm learning to progam and came accross Chris Pine's Ruby Tutorial.

12 messages 2008/11/24

[#321039] Good math/stats libraries for Ruby? — Kenneth McDonald <kenneth.m.mcdonald@...>

There seem to be lots of small stats/math libraries for Ruby, but none

10 messages 2008/11/24

[#321166] time to back peddle? (Ruby 1.8.7) — Trans <transfire@...>

I just updated my Ubuntu system and was a bit surprised to find:

16 messages 2008/11/26

[#321179] How to get a reference to a block (when no explicit block parameter is used?) — Kenneth McDonald <kenneth.m.mcdonald@...>

In a function, I can find out if a block was given using block_given?,

8 messages 2008/11/26

[#321246] Performance issues with large files -- ruby vs. python :) — sa 125 <s_ayalon@...>

Hi all -

16 messages 2008/11/27
[#321248] Re: Performance issues with large files -- ruby vs. python :) — Florian Gilcher <flo@...> 2008/11/27

>

[#321271] Ruby's duck typing — "stephan.zimmer" <stephan.zimmer@...>

I would like to represent certain data by a list; to this end I let

17 messages 2008/11/27

[#321287] Programming Noob Chris Pine Tutorial sorting without use of array.sort method — whisperjim <jgheal@...>

I'm working through the following tutorial http://pine.fm/LearnToProgram/

10 messages 2008/11/27

[#321297] eRuby/erb outside of Rails — Jonny Noog <jonnynoog@...>

Hello,

18 messages 2008/11/28

[#321387] best gui toolkit — Warren Dulnuan <rr3800@...>

What is the best GUI toolkit for Ruby?

32 messages 2008/11/29

[#321421] Anyone scraping dynamic AJAX sites? — Becca Girl <cschall@...>

Hello.

12 messages 2008/11/30

[#321428] Enumerable#select used to return actual values — Mike Austin <"mike[nospam]"@...>

I'm pretty sure select used to use the actual value of the called block,

36 messages 2008/11/30
[#321432] Re: Enumerable#select used to return actual values — Robert Klemme <shortcutter@...> 2008/11/30

On 30.11.2008 04:46, Mike Austin wrote:

[#321906] Re: Enumerable#select used to return actual values — Mark Thomas <mark@...> 2008/12/04

On Nov 29, 10:46m, Mike Austin <"mike[nospam]"@mike-austin.com>

[#321912] Re: Enumerable#select used to return actual values — Trans <transfire@...> 2008/12/04

Re: [ANN] JRuby 1.1.5 Released

From: Charles Oliver Nutter <charles.nutter@...>
Date: 2008-11-04 09:57:46 UTC
List: ruby-talk #319360
FYI, the updated FFI support is feature-equivalent to the just-released 
Ruby FFI. The primary difference from 1.1.4 is callback support.

Thomas Enebo wrote:
> The JRuby community is pleased to announce the release of JRuby 1.1.5!
> 
> Homepage: http://www.jruby.org/
> Download: http://dist.codehaus.org/jruby/
> 
> JRuby 1.1.5 is the fifth point release of JRuby 1.1.  The fixes in this
> release are primarily obvious compatibility problems and performance
> enhancements.  Our goal is to put out point releases more frequently for
> the next several months (about 3-4 weeks a release).  We want a more
> rapid release cycle to better address issues brought up by users of JRuby.
> 
> Highlights:
> - Per-class method caching (improves __send__, respond_to?, and defined?)
> - Constant cache dramatically improves constant lookup
> - Reduced memory usage for compiled execution
> - Several Java Integration regressions fixed
> - Rubygems 1.3.1 and Rspec 1.1.11 upgrades
> - Updated ffi (Foreign Function Interface) support
> - More Ruby 1.9 mode support
> - 113 bugs fixed since 1.1.4
> 
> 
> JRUBY-194        handling protected methods in Java classes not working 
> properly
> JRUBY-1000     Illegal attempt to subclass a final Java class should 
> fail when the subclass is defined
> JRUBY-1263     JRuby is trying to parse .so files.
> JRUBY-1413     Rinda::RingFinger.primary hangs on UDPSocket.open
> JRUBY-1424     Unknown problem with ZLib::Inflate
> JRUBY-1504     In-process "ruby" launching causes test/unit to hang when 
> called from within Rake
> JRUBY-1519     hoe complains about gdiff when using jruby, doesn't 
> complain when using MRI
> JRUBY-1551     eval 'yield', b should succeed if b is a binding pulled 
> from a frame that was passed a block
> JRUBY-1712     Captures local to the block ?
> JRUBY-2048     Call site caches may not be thread safe
> JRUBY-2181     respond_to? is 2x slower than in MRI
> JRUBY-2219     Errno numeric values should be platform-specific
> JRUBY-2278     Wrong line number in SyntaxError out of eval
> JRUBY-2281     Rubyspec failure: IO#write_nonblock on a file writes all 
> of the string's bytes but does not buffer them
> JRUBY-2308     Handling on Rational numbers inconsistent with MRI
> JRUBY-2310     Rails constantize is more than twice as slow on JRuby
> JRUBY-2349     Bug in constant lookup on non Module or Class
> JRUBY-2374     Unicode chars in script/console
> JRUBY-2403     Performance issue with charlie gem.
> JRUBY-2436     real world test shows JRuby 3x slower than MRI on large 
> dataset regex matching
> JRUBY-2562     case expression is slower than on MRI
> JRUBY-2574     Etc.getpwname NPE's if user does not exist.
> JRUBY-2586     IO#readpartial is non-functional on files
> JRUBY-2686     Truncated ActionMailer emails when using JRuby 1.1.2
> JRUBY-2705     Process.uid raises error on windws, but this method is 
> now required by rubygems 1.2
> JRUBY-2750     JRuby AOT compiler should produce version information
> JRUBY-2765     Attr assign for block arguments is still slow, both in 
> bytecode and in not call-site caching
> JRUBY-2800     Get specs for JI, tracing, etc (JRuby-specific, not 
> rubyspec) incorporated into normal test runs
> JRUBY-2807     Migrate inheritance-based cache compiler to use arrays 
> for more stuff
> JRUBY-2836     Empty expressions in Hash literals crash JRuby
> JRUBY-2837     Empty expressions in Arrays handled incorrectly
> JRUBY-2840     Not all Socket::Constants are defined, cause RubySpec 
> failures
> JRUBY-2842     Get Errno::ENOTSOCK in UDPSocket.open
> JRUBY-2853     Examine each deoptimization case in ASTInspector to see 
> if it's still valid or could be eliminated
> JRUBY-2856     JRuby thinks OpenBSD doesn't support getuid
> JRUBY-2867     Wrong overloaded Java method called when both int and 
> float signatures exist
> JRUBY-2877     [][2**63-1]=2 crashes JRuby
> JRUBY-2878     Array#hash with recursive array crashes JRuby
> JRUBY-2883     Many Array methods don't handle recursive arrays properly
> JRUBY-2885     jna-posix isatty for Windows
> JRUBY-2888     Exception handling in compiler is much more bytecode now 
> that Java exceptions work too
> JRUBY-2905     NoMethodError does not give a useful message when thrown 
> in BSF
> JRUBY-2909     Tracing regression, full pathing in trace output
> JRUBY-2920     JRuby is slower than Ruby 1.9 on rock/paper/scissors bench.
> JRUBY-2922     LoadService always passes on fully-expanded paths when 
> loading files, noising up backtraces, generated class names, and such
> JRUBY-2939     When binding a restarg method, display useful error if 
> rest != true or else just do the right thing
> JRUBY-2940     test/testSocket.rb error on server socket between accept 
> and read
> JRUBY-2955     Integrate RubyGems > 1.2 fix
> JRUBY-2957     Regression: to_java fails on arrays containing nil element
> JRUBY-2958     jruby casts Integer argument to Long for java method with 
> Integer arg.
> JRUBY-2959        jetty-rails broken by trunk
> JRUBY-2960     YAML.quick_emit does not actually emit YAML
> JRUBY-2962     Patch containing regression test for line number argument 
> for EventHook
> JRUBY-2963     [patch] Enable running rubyspecs on Windows
> JRUBY-2965     Sparodic Linkage Error On Startup
> JRUBY-2966     REXML DOS issue in Ruby 1.8 libraries
> JRUBY-2969     Classes that include modules that include Java interfaces 
> and return nil for __jcreate_meta! throw an internal JRuby error
> JRUBY-2971     strftime isn't fully implemented
> JRUBY-2975     Overriding Time._dump does not behave the same as MRI
> JRUBY-2976     YAML messes up custom tag
> JRUBY-2984     Interpreted case/when is much slower than MRI
> JRUBY-2986     Include Windows 64-bit (x64 / amd64) support in included JNA
> JRUBY-2989     Cache static scopes in compiled script objects for 
> constant/variable names access without dynamic scope
> JRUBY-2991     Memory leak building Rubinius's kernel
> JRUBY-2993     implementing java class causes exception
> JRUBY-2994     Have the build unpack JNA native libs into lib and add 
> lib to LD_LIBRARY_PATH for all platforms
> JRUBY-2998     socket putc does not work
> JRUBY-3001     Either an I/O or a range performance issue
> JRUBY-3002     Improve JI error reporting when Java method resolution fails
> JRUBY-3006     Requiring a library with rubygems and many libs loaded is 
> very slow
> JRUBY-3008     IO#putc flushes on every char
> JRUBY-3009     IO#putc ignores I/O errors
> JRUBY-3012     Rake tasks are empty in Mr. Bones' generated project 
> under JRuby
> JRUBY-3013     Syslog messes up with ident
> JRUBY-3014     Compiled Ruby classes cannot resolve their location 
> inside a Jar file
> JRUBY-3015     JRuby is not working on IBM JVM 1.5
> JRUBY-3018     Add field_reader, field_writer, and field_accessor
> JRUBY-3019     Data is written to end of string passed to IO#sysread 
> instead of beginning
> JRUBY-3020     IO#sysread on an accepted socket randomly fails
> JRUBY-3022     [PATCH] Fix for ShellLauncher.shouldRunInProcess not 
> being strict enough
> JRUBY-3025     File.truncate errors with "No such file or directory" 
> when the file exists.
> JRUBY-3028     ObjectSpace#each_object blows NPE when JRuby is run via 
> bootclasspath
> JRUBY-3029     .class files are loaded before .rb files ignoring the 
> load path ordering
> JRUBY-3033     FFI has warnings with verbose/debug on
> JRUBY-3034     Need to get FFI specs running as part of normal build
> JRUBY-3036     Module include bug with Test::Unit (ObjectSpace issue)
> JRUBY-3037     Test for Java class extension depends on Sun JDK specifics
> JRUBY-3039     Private constructors on org.jruby.RubyString effectively 
> cutoff subclassing
> JRUBY-3044     MatchData#begin('string') and MatchData#end('string') 
> should raise TypeError
> JRUBY-3045     MatchData#select bug
> JRUBY-3046     Method Arity is null
> JRUBY-3049     EXCEPTION_ACCESS_VIOLATION
> JRUBY-3050     File/IO broken with special characters in filenames
> JRUBY-3052     Cache Constants at their call site (const_node)
> JRUBY-3056     strftime %z has mixed '+' and '-'
> JRUBY-3057     External command spawning in multiple concurrent threads 
> can go boom
> JRUBY-3058     Config::CONFIG['host_os'] has incorrect value on Windows 
> 2000
> JRUBY-3059     load "foo.rb" should search for .class as well
> JRUBY-3062     Cache Constants at their call site (compiler)
> JRUBY-3066     Missing methods: Kernel::__method__ and Kernel::__callee__
> JRUBY-3074        Update to RubyGems 1.3.0.
> JRUBY-3080     java.awt.geom.Path2D fails to be imported
> JRUBY-3083     jruby -e '~"heh"' does not error out with NoMethodError
> JRUBY-3084     Investigate libdl _dl_debug_initialize libc6-i686 issue 
> on Ubuntu, come up with a workaround, and go after responsible parties
> JRUBY-3090     [PATCH] Fix endless loop with Math.frexp(inf)
> JRUBY-3091     Flaws in constant caching
> JRUBY-3093     alias plus eval plus module does not appear to be 
> reflecting correct lookup hierarchy
> JRUBY-3094     Update to RubyGems 1.3.1 and modify Etc to behave like 
> MRI when etc methods are not available.
> JRUBY-3096     New Joni and Jcodings release needed for 1.1.5
> JRUBY-3098     (/(a)b\k<1>/ =~ "aba") == 0 does not work (i.e. numbered 
> backref does not work.)
> JRUBY-3099     Issue with method max from enumerable when applied to 
> has_many association
> JRUBY-3102     Java classes with non-visible constructors should not be 
> constructible
> JRUBY-3106     to_java fails to convert arguments for jna call
> 
> 


In This Thread