How to call this method1434 (8/28/2009 12:38:12 PM) comp.lang.ruby Hi list the recent thread about all_indicies has somehow made me think that I need a more general inject. Here is my first shot on it: http://pastie.org/597659 But how to call that beast, #inject_with is someh... Robert
[ANN] Maintenance Release of Verify - 0.3.1237 (6/24/2009 8:01:06 PM) comp.lang.ruby No I did not do this on purpose ;) http://rubyforge.org/frs/?group_id=3D3824 or gem install verify or gem update verify v 0.3.1 2009-06-24 Verify ----------------- * Heavy refactoring, the code sucks much les... Robert
map shall not return an Enumerator ( was re guru help )828 (6/22/2009 7:03:45 PM) comp.lang.ruby On Mon, Jun 22, 2009 at 2:52 PM, Brian Candler wrote: > Robert Dober wrote: > That I dislike very much. What you want is to run a 'join' operation on > *each member* of the collection, but that looks like runni... Robert
[Ann] verify-0.3129 (6/18/2009 6:50:45 PM) comp.lang.ruby Hi list this is to announce the release of verify-0.3. It is released as a gem too, finally!!! 009-06-18 Verify ( Mockify ) ----------------------------- Stripped away from Labrador/Lab419 as a standalone p... Robert
Permaculture again029 (4/29/2009 10:35:06 AM) comp.lang.ruby Hi list I just stumbled about this Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.[1] I guess I cannot hide from ... Robert
[ANN] Junctions for Ruby1.9 (Lab419::functional-0.1.2)1229 (4/17/2009 9:17:23 PM) comp.lang.ruby Hi list Lab419::functional contains an implementation of Perl6's junctions now http://rubyforge.org/frs/?group_id=3824&release_id=33503 Enjoy Junctions A pure Ruby implementation of Junctions as planned fo... Robert
[Ann] Verify-0.2031 (4/17/2009 7:12:52 PM) comp.lang.ruby Hi list this is a bug fix of verify-0.1a introducing mockify. It adheres to the basic principles to be very, very simple. Hopefully it is useful to somebody, well it is to me :). http://rubyforge.org/frs/?gro... Robert
[Ann] Verify, a very basic testing tool.3329 (4/3/2009 8:02:14 PM) comp.lang.ruby Hi List The Verify tool is a KISS verification and test tool, it is inspired by Ara T. Howard's testy.rb. Ara however has still implemented a BDD framework, the purpose of Verify is to provide a Ruby Programm... Robert
[Ann Lab419::functional] A stream implementation for Ruby134 (1/16/2009 11:05:40 PM) comp.lang.ruby Hi all Streams are lazily evaluated lists. I have been inspired by James' excellent blog about infinite streams, and the functional interface of Scheme towards their usage. But just in order to keep this shor... Robert
First whack at thread safe Containers030 (1/4/2009 6:56:06 PM) comp.lang.ruby Hi all Charly suggested thread safe containers some weeks ago. I finally found some time to try it, very much motivated by Jim Weirich's Ruby Conf talk :-P. Please find my first implementation of a RWLock her... Robert
finding a tag in a binary file #211122 (2/27/2011 10:50:48 AM) comp.lang.ruby I have a binary file in which I'd like to find multiple strings of 10
00 10 00 (hex) amongst all the other values, then following that is a
name.
I've found that
contents_array.find_all {|e| e== 0x10}
... rob
[OT] functional paradigm taking over7444 (3/30/2011 7:29:02 AM) comp.lang.ruby Hi, just notice there seems to be a trend in industry to include functional language features everywhere - now it's even in the new C++: http://www2.research.att.com/~bs/C++0xFAQ.html#lambda JDK 8 will also i... shortcutter(5766)
Can I append hash to hashes?537 (4/22/2011 7:22:21 AM) comp.lang.ruby I need to do a hash some kind like this: Member => {email => Email, name => Name, lastname => Lastname} But I get a hash in foreach loop so I need to append a hash to hashes. e.g. First round: Member => {email... ploy.sukachai(23)
How to split dot “.” only before equal “=”943 (4/23/2011 5:05:22 PM) comp.lang.ruby I need to split dot only before equal to assign to hash e.g. Project.risksPotentialAfterSum=Pot. aft. result after split should be like this: {Project=>{risksPotentialAfterSum=>Pot. aft.}} for now I use st... ploy.sukachai(23)
Setting a 'reference' inside the method body428 (4/26/2011 2:55:47 PM) comp.lang.ruby Hey guys, Can Ruby do this in some way: def foo(bar) #DO SOMETHING with bar here resulting in baz being set to {} end baz = {:fluff => :ork} foo(baz) #baz should be {} now I'd like to use it in a code whi... peter.szinek(1)
canonical/syntax-diagrams representation.1849 (5/16/2011 10:37:48 AM) comp.lang.ruby I started investigating ruby. It's very informal, which is NOT suitable for computing. The chatty syntax introduction that: IF can come before or after, as you like, and arguments can be bracketed or not, as yo... no.top.post(346)
Using "class Object" for a project428 (5/19/2011 5:21:41 PM) comp.lang.ruby Hello. I am currently contemplating writing a MUD in Ruby. (I don't mind how "slow" ruby would be.) Now there is a lot of unfinished code so far, but I was wondering about one thing actually: I am thinking o... shevegen1(3)
New errors re: Gem::Specification231 (5/19/2011 8:10:06 PM) comp.lang.ruby I read about Gem::Specification being deprecated soon; however, the copious errors that I'm getting (from the many gems I use) is fast becoming a pain in the a**. With that said, is there a way I can temporar... forrie(78)
What editor or IDE do you use?2735 (5/31/2011 10:33:35 PM) comp.lang.ruby I'm pretty new to Ruby. What editor or IDE do you use? I usually use VIM for a lot of my coding. Rubymine looks pretty cool. ... skrabbit(1)