double underscore nomenclature in Python223 (4/14/2009 12:04:47 AM) comp.lang.ruby So, I'm stuck re-engineering some dreadful Python library code into Ruby (and I mean terrible, a mish-mash of different clashing programming paradigms -- inheritance, delegation, etc. severely intertwined all o... Todd
1.9 on Vista, would like tips, best practices722 (2/11/2009 11:45:43 PM) comp.lang.ruby I was wondering what is the best way to install 1.9.1 on MS Vista. Do I need to install ming? Also, what library concerns do I need to be aware of? I'm a little averse to using VMware (to mimic a linux insta... Todd
Specific gem situation033 (9/15/2008 1:09:09 AM) comp.lang.ruby I'm missing something (wouldn't be the first time). Xubuntu, fresh build and install of Ruby 1.8.7 (no apt-get install here), but continually get zlib errors when trying to build rubygems. Now, I know this is... Todd
[OT} Problems with pasting using Gmail, anyone else?220 (5/27/2008 9:12:55 PM) comp.lang.ruby I've posted code with correct spacing (indent of 2 spaces) by pasting from vim into gmail, and I'm missing spaces on lines that have them.when reading the code I sent through gmail. There's something I'm obvio... Todd
Doing an AND in regexp char class1728 (5/8/2008 9:40:46 PM) comp.lang.ruby This question arises out of a couple of recent threads and may or may not be a Ruby-specific question. I can check with a character class if one of the characters in the class exists or does not exist, but can... Todd
ObjectSpace reveals order?424 (9/29/2007 1:18:39 AM) comp.lang.ruby If I do... ObjectSpace.each_object { |o| puts o; gets } will it give me the consecutive order of the loading of the objects (i.e. the time order that memory is allocated on the heap)? Or is it a tree structu... Todd
[OT] licensing/copyright reading material (was: Ruby Editor)919 (7/25/2007 1:00:10 PM) comp.lang.ruby have listened with strain technocrats, righteous anger not gentle whispers Seriously, I'd like to find some good reading material about the economy of the software industry, whether it be online or on hard cop... Todd
Time for a ruby-announce list?4331 (6/24/2009 9:06:19 AM) comp.lang.ruby We are seeing a lot or release announcements among the regular posts these days, taking up a larger and larger percentage of total posts. Perhaps if we have a separate list for them then: 1) ruby-talk itself w... transfire(2969)
[ANN/ADV] Ruby Best Practices now in print!140 (6/30/2009 3:22:28 AM) comp.lang.ruby Hi folks, If you haven't already heard, my book "Ruby Best Practices" is now available in print! The whole manuscript will be made freely available under a creative commons license in March 2010, but now is t... gregory.t.brown(1426)
calculating an array of dates429 (7/10/2009 8:30:14 PM) comp.lang.ruby I have the following test script. My objective is to have an array of dates between this week's Thursday and some date in the past that I get out of a call to a database. You can see the output below which i... peterson_eric_d(2)
Fibonacci numbers - newbie question.824 (7/12/2009 9:22:57 AM) comp.lang.ruby Dear All, I have two Fibonacci method, and I got different result. What wrong in my code.? def fib(n) if n 89 def fib1(x) return x if x 55 regards, salai. ... sayakyi(25)
start_with? Does someone need a grammar lesson?1427 (8/17/2009 3:49:19 AM) comp.lang.ruby String#start_with?------------------------------- str.start_with?([prefix]+) => true or false From Ruby 1.9.1 ------------------------------------------------ Returns true if _str_ starts wit... bbxx789_05ss(1895)
Why, oh why, _why?6826 (8/20/2009 8:08:13 PM) comp.lang.ruby _why the lucky stiff appears to have disappeared from the internets! http://daringfireball.net/linked/2009/08/20/resig-why ... doodpants(141)
ANN: Sequel 3.4.0 Released721 (9/2/2009 5:03:07 PM) comp.lang.ruby Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. * Sequel also includes a l... code(58)
(Bayesian) Linguistic Analysis720 (9/13/2009 5:25:23 PM) comp.lang.ruby I've found some interesting libraries (Classifier, Bishop) that will help you classify a given phrase once you've trained it with a suitable number of guided test phrases, but I'm looking for something a little... jphastings(19)
DRYing a Regex4121 (11/12/2009 10:58:22 PM) comp.lang.ruby I've got a routine that works fine at building an array of upper-case strings extracted from a string: aNewList = [] s = StringScanner.new sNewList upper = /[A-Z]+/ not_upper= Regexp.new( upper.source.sub( /\... RichardDummyMailbox58407(349)
Trajectories5646 (11/13/2009 11:33:14 PM) comp.lang.ruby hello, im having a problem with trajectories, im trying to make an arrow like movement i did find this but it's way over my head http://www.gamedev.net/reference/programming/features/physicsch6/ch06.pdf i ha... t_leeflang(3)