[#319096] n-dimensional array in Ruby — Christian <stadeschuldt@...>
Hi,
[#319104] Indexed arrays, delete_if, and performance — Jason Leong <jason@...>
Dear all,
On 01.11.2008 07:11, Jason Leong wrote:
> You can make that a tad more efficient by doing
On 01.11.2008 21:21, Jason Leong wrote:
[#319108] Iterator objects and lazy evaluation — Yuh-Ruey Chen <maian330@...>
Two questions:
On Nov 1, 1:16 pm, Brian Candler <b.cand...@pobox.com> wrote:
[#319117] Poor performance of Ruby 1.8.7 when installed with MacPorts — abc <arcadiorubiogarcia@...>
Hi,
Hi
nakatani katsumi wrote:
> Could someone explain this to to me. I checked the macports page a few
[#319139] Text Based RPG in Ruby — Ruairidh Mchardy <ruairidh82@...>
Hi all,
On Sat, 01 Nov 2008 14:38:08 -0400, Ruairidh Mchardy
Argh ok having problems with this. My code has just become very messy
[#319145] AJAX page.call not working — "Rajat Garg" <rajat79@...>
Hi Everyone,
[#319147] Another require question — Ed Hardy <asm.sol@...>
I've been learning Ruby for 2 weeks and of course I like it.
Ed Hardy wrote:
Yike. I 'knew it' but forgot, not at the surface of my mind/reading. I
[#319176] Ruby for Philosophers — Sebastian Torena <citizenkant@...>
Hi there,
> As far as I understand him he considers using Ruby to write a
Sebastian Torena wrote:
[#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
HI --
[#319208] check if valid hexadecimal code? — "Chealsea S." <youngliars@...>
How would you check if a string is a valid hexadecimal code?
On Sun, Nov 2, 2008 at 4:30 PM, Chealsea S. <youngliars@gmail.com> wrote:
[#319212] Trying to open a Lucene-built index with Ferret... — John Pritchard-williams <monojohnny@...>
But its wipes out the existing index and creates a new empty one - the
As far as i know, Ferret-built indexes are not binary-compatible with
[#319223] Ruby Tk on Windows Vista — Farmer Schlutzenberg <farmsal@...>
Hi,
[#319231] Using XPath: find last text node of each paragraph under the root node. — Diego <diego@...>
I want to trim trailing whitespace at the end of all XHTML paragraphs.
[#319239] Rake task for building latex? — Stefano Crocco <stefano.crocco@...>
Does anyone know whether there's a rake task to build latex files, including
Stefano Crocco wrote:
On Mon, 03 Nov 2008 14:18:39 +0100, Ron Fox <fox@nscl.msu.edu> wrote:
[#319242] recursion and variable scope level — Adam Akhtar <adamtemporary@...>
Hi i want to reverse a string and at the same time check if there are
[#319268] Help with iterating nested arrays — Mitko Kostov <mitko.kostov@...>
Hello, guys. I'm learning now Ruby and Shoes.
[#319273] Clean way of pausing a loop? — "Kyle Schmitt" <kyleaschmitt@...>
It's Monday and it's relatively early, so I apologize if this isn't
[#319278] Constructors — exiquio <exiquio@...>
The following is the beginning of a Java-esque new operator.
[#319285] Ruby Threads in Windows — Dave Wilson <davywilson@...>
Hi all. And thankyou in advance to anyone who responds.
Oh yes, and the new threads are running exe's e.g.
[#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
Mike Lopke wrote:
On Nov 4, 5:45m, Mike Lopke <reglo...@cableone.net> wrote:
[#319325] Wrapping ruby into one directory — Cary Fitzhugh <cfitzhugh@...360.com>
Hello --
[#319329] JRuby 1.1.5 Released — Thomas Enebo <Thomas.Enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.1.5!
FYI, the updated FFI support is feature-equivalent to the just-released
[#319335] replace spaces with commas? — John Griffiths <indiehead@...>
Been looking at the Acts As Taggable On Steriods plugin, by default it
From: John Griffiths [mailto:indiehead@gmail.com]
thanks Pe単a, admittedly regular expressions have never been my strong
[#319344] How to send mail with High priority — Sandy <lu.xiandong@...>
Hi all
[#319357] Socket Progamming - Beginner questions — Gin Mendi <gin18em@...>
Hi,
[#319358] Conditional overriding of operators — Daniel Vartanov <daniel.vartanov@...>
Hello!
[#319362] How to print an array with floating point numbers? — thiel <schang@...>
Hi,
[#319397] remote gem install doesn't work anymore — Forex Forex <trading@...>
hello,
[#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
Hae Lee wrote:
Giampiero Zanchi wrote:
Hae Lee wrote:
Axel Etzold wrote:
Hae Lee wrote:
[#319404] Showing a spinner ? — Aldric Giacomoni <aldric@...>
How do I show a spinner on the command line interface when a ruby script
Aldric Giacomoni wrote:
[#319418] Trying to Use "request_pty" Channel Never Closes — Nathan Halterman <scoobycoder@...>
I'm trying to interact with a RF Terminal application. But each time I
OOOOOkaaaaay. :)
Thanks Hugh,
[#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
On Tue, Nov 4, 2008 at 8:51 PM, Charles Oliver Nutter
Oh, sorry. Rubyconf is over, I have not looked at the date of the
[#319450] Can I sell my RubyConf ticket? — Pat Maddox <pergesu@...>
Unfortunately I can't make it this year...I saw that there is a waiting
[#319456] ParseTree 3.0.2 Released — Ryan Davis <ryand-ruby@...>
[#319465] irb and ruby giving different results — Nit Khair <sentinel.2001@...>
in IRB,
Nit Khair wrote:
[#319474] replace values in hash — Jason Lillywhite <jason.lillywhite@...>
how would I iterate over a hash, such as
[#319494] what's wrong about this chomp code? — Zhenning Guan <g.zhen.ning@...>
when I was running this code
[#319503] String comparisions and counting — Stuart Clarke <stuart.clarke1986@...>
I have an array full of strings which represent a date ID. The array
[#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
On Wed, Nov 5, 2008 at 10:24 AM, Daniel Miessler <daniel@dmiessler.com> wrote:
Thanks, much, Michael. Unfortunately I'm not quite tracking on why that
[#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
On Wed, Nov 5, 2008 at 11:17 AM, Jayson Williams
How about a melding of the two?
Jayson Williams wrote:
[#319560] Garbage collector segmentation fault — Henrik Zagerholm <henke@...>
Hello list,
[#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
[#319581] DRb + SSH — "Saji N. Hameed" <saji@...21.net>
Dear Gurus,
Saji N. Hameed wrote:
[#319598] Redefine while — Emil Sandin <esandin@...>
Hi, is there an easy way to redefine 'while'. I have a class that uses a
On Thu, Nov 6, 2008 at 10:00 AM, Emil Sandin <esandin@gmail.com> wrote:
[#319622] Finding gaps in a sorted sequence — Pete Hodgson <phodgson@...>
Hi Folks,
[#319641] FasterCVS Question/Problem — Eric Marthinsen <emarthinsen@...>
Hello-
[#319676] segmentation fault with ld-2.6.so — "Martin J. Brown, Jr." <mjbjr@...>
Suddenly, all my ruby apps, even the most basic, are seg faulting.
[#319686] Tips for Ruby Sprint — Edgardo Hames <ehames@...>
Hi guys,
[#319688] array.equal? — Nick Bhanji <nickbh@...4u.ca>
Hello All,
2008/11/7 Nick Bhanji <nickbh@weassemble4u.ca>:
[#319696] named scope lambda string substitution problem — jdwy <jdwyah@...>
Sorry for a cross post with rails, but I think this may be more of a
[#319698] Rails book wanted for non Ruby programmer — "Aaron Gray" <ang.usenet@...>
Hi,
"Hugh Sasse" <hgs@dmu.ac.uk> wrote in message
2008/11/7 Aaron Gray <ang.usenet@gmail.com>:
[#319702] Sudoku Generator (#182) — Matthew Moss <matt@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
[#319745] *** Amazing Bra Deflects Gunshot **** — rapidshareboobs1@...
Bra Saves womans life as deflects bullet !!!!
[#319748] Problem with "gem cleanup" on OS X 10.5 — Kenneth McDonald <kenneth.m.mcdonald@...>
When I try to execute 'sudo gem cleanup' on OS X 10.5, I get the
[#319760] un 1.0.0 Released — Ryan Davis <ryand-ruby@...>
[#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
Hi thanks for the replies. I looked into MVC and i think its proably
[#319770] what's easiest way to compare a Float & BigDecimal (i.e. like a equals mechanism) — "Greg Hauptmann" <greg.hauptmann.ruby@...>
Hi,
Greg Hauptmann wrote:
On Nov 8, 8:26m, Greg Hauptmann <greg.hauptmann.r...@gmail.com>
[#319777] is there a gem command to open up the rdoc for a particular gem in the default browser at the index page??? — "Greg Hauptmann" <greg.hauptmann.ruby@...>
Hi,
[#319812] Transliteration problems — "Axel Etzold" <AEtzold@...>
Dear all,
[#319835] Moving large amount of files, 1.750.000+ — Sebastian Newstream <abeansits@...>
Hello fellow Rubyists!
On 09.11.2008 18:04, Sebastian Newstream wrote:
On Sunday 09 November 2008 01:12 pm, Robert Klemme wrote:
On Sunday 09 November 2008 01:35 pm, Randy Kramer wrote:
Randy Kramer wrote:
* Sebastian Newstream <abeansits@gmail.com> [2008-11-10 17:11:08 +0900]:
First of all, thanks for your quick answer!
[#319840] shared-0.4.2 — ara howard <ara.t.howard@...>
[#319841] Require and symbolic links — Zouplaz <user@...>
Hi, thanks to the Shebang my /usr/local/somewhere/over/the/rainbow.rb
[#319856] design advice for newbie — John Goetz <goetz.john@...>
Hello,
[#319861] Notepad++ (no debug output, using XP) — Ed Hardy <asm.sol@...>
Notepad++ seems to be a great editor for Ruby, in XP Windows. However,
On Nov 19, 9:59m, Ed Hardy <asm....@excite.com> wrote:
You may also want to try Ruby in Steel. I haven't tried it (I require
[#319876] how to find self class name inside self difinition ? — Thani Ararsu <thaniyarasu@...>
module Aa
[#319893] Watir: links with similar text in a page. How to access? — Mandeep Baruah <mbaruah@...>
Hi All,
[#319902] Problem with object methods? — Carter Davis <theshakrah@...>
I recently made an object for a game I'm making. It uses the constructor
Okay, I made an example.
I made all the changes to the test app and ran it, and here's what it
Hi --
[#319949] Comparing variable to multiple values — Greg Lazarev <russianbandit@...>
I'm wondering if there's a better way to do this in ruby:
[#319981] What is that method called? — David Trasbo <davidtrasbo@...>
I need the method that has the ability to turn a long string like this:
Hi David - just done this in Agile Development
[#319996] testing for ruby 1.9 in extension code — Alex Fenton <alex@...>
Hi
[#320023] Need script for the following problem — "Sita Rami Reddy" <sitaramireddy@...>
Hi,
[#320024] how to collect all the href links in a single page to a log file — "Sita Rami Reddy" <sitaramireddy@...>
I have a web which consists of multiple links with different colors. I want
[#320027] Advanced arrays — Stuart Clarke <stuart.clarke1986@...>
Hi all,
[#320038] unexpected return (LocalJumpError) — Kyung won Cheon <kdream95@...>
def a
[#320047] check a checkbox — Erika <geagneske83@...>
Hi,
[#320057] Convert text string i.e 'Peter' into integer ID — Justus Ohlhaver <ohlhaver@...>
Hello,
Justus Ohlhaver <ohlhaver@gmail.com> wrote:
[#320062] Can't get output from MiniTest — "David A. Black" <dblack@...>
Hi --
Hi,
Hi --
[#320083] Ruby Sub Regular Expression — Dave Roberts <dave.a.roberts@...>
Hello! I have a string: "Hello - 1 - World"
[#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
On 12.11.2008 21:31, Tarek Other wrote:
Robert Klemme wrote:
On Wed, Nov 12, 2008 at 3:43 PM, Tarek Other <cashew250@yahoo.com> wrote:
Todd Benson wrote:
[#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,
Let's provide more information. The contents of pw_path include this:
On Nov 12, 2008, at 6:22 PM, dkmd_nielsen wrote:
[#320111] Matching — Shandy Nantz <shandybleu@...>
I am trying to parse out some characters from a string and I am having
> I am trying to parse out some characters from a string and I am having
[#320125] nokogiri 1.0.5 Released — Aaron Patterson <aaron@...>
nokogiri version 1.0.5 has been released!
[#320131] Re: Regular expression for matching spaced letters needed — Jan Fischer <janfischer@...>
Sorry, wanted it here.
[#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#.
Max,
[#320161] Getting the comments(RDoc/ri) while running — Vassilis Rizopoulos <damphyr@...>
The problem:
It's a little open-ended ... I use Netbeans as my IDE when I write code,
[#320179] Mechanize Select List Help Needed — Cs Webgrl <cschaller@...>
Hello.
[#320181] Active Directory access - not just users, but computers too — Aldric Giacomoni <aldric@...>
Most Active Directory access really just goes through LDAP and I don't
On Thu, Nov 13, 2008 at 6:02 PM, Aldric Giacomoni <aldric@trevoke.net> wrote:
brabuhr@gmail.com wrote:
[#320200] One-Click Ruby Installer project stopped? — Claus Folke Brobak <cfb@...>
Hi,
[#320202] Highline - question with multiple choices — szimek <szimek@...>
Hi,
On Nov 14, 2008, at 4:23 AM, szimek wrote:
On 14 Lis, 14:52, James Gray <ja...@grayproductions.net> wrote:
On Nov 15, 2008, at 7:18 AM, szimek wrote:
Hello all, I'm new here and i have a problem...
On Dec 30, 2008, at 5:57 AM, Tomasz Krakowski wrote:
On Jan 5, 2009, at 1:17 AM, Tomasz Krakowski wrote:
[#320213] Unit Conversion (#183) — Matthew Moss <matt@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Fri, 14 Nov 2008 14:20:42 -0500, Matthew Moss wrote:
On Nov 15, 2008, at 8:07 PM, Ken Bloom wrote:
> For what it's worth, I always invited people to submit whatever they
> Agreed. I said it was cheating, but I didn't say "don't cheat." :D
> If your main issue is that you think "cheat" implies dishonesty, then
I just wanted to submit my first Ruby-quiz solution ever - but I was
Given the conversation about "cheating", and what I know about the
> Anyway, cheating or not, I hope this proves helpful to anyone
[#320224] Ruby Mendicant Post-Mortem — "Gregory Brown" <gregory.t.brown@...>
Hi folks,
[#320229] Finding and writing to specified area in a text file — Ryan Mckenzie <ryan@...>
Hello,
In all of my research online, the only way that I've found to do it is
[#320232] Overriding methods in a class using a mixin — "James Coglan" <jcoglan@...>
Hi list,
[#320242] web framework for Ruby 1.9 — "Stefan Lang" <perfectly.normal.hacker@...>
I'm looking for a web framework that:
On Fri, Nov 14, 2008 at 3:42 PM, Stefan Lang
[#320251] KirbyBase, Table Default Values not being assigned — Adam Akhtar <adamtemporary@...>
Hi Ive been using KirbyBase and got it up and working and been fine with
im still banging my head against a wall on this one. I have no idea what
[#320253] rake finds & runs task, but doesn't show in --tasks list — "Hugh J. Devlin" <hdevlin@...>
hi, rake & ruby-talk newbie, a boy's 1st rake task, lib/tasks/load.rake:
[#320261] how to call operator as function — Vladimir Fekete <fekete@...>
Hi *,
[#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
Chad Perrin wrote:
On Sun, Nov 16, 2008 at 02:27:45AM +0900, Tim Hunter wrote:
On Sat, Nov 15, 2008 at 2:08 PM, Chad Perrin <perrin@apotheon.com> wrote:
On Sat, Nov 15, 2008 at 2:54 PM, Michael Guterl <mguterl@gmail.com> wrote:
On Sun, Nov 16, 2008 at 04:54:01AM +0900, Michael Guterl wrote:
Chad Perrin wrote:
On Sun, Nov 16, 2008 at 05:42:18AM +0900, Tim Hunter wrote:
hi chad!
On 15.11.2008 20:51, Michael Guterl wrote:
On Sun, Nov 16, 2008 at 08:36:50PM +0900, Robert Klemme wrote:
2008/11/16 Chad Perrin <perrin@apotheon.com>:
[#320307] erbook 4.0.0 (was previously named Gerbil) — Suraj Kurapati <snk@...>
erbook : write books and documents in eRuby
Hi Suraj,
[#320310] erb & action_view outside rails — David Lewis <djlewis@...>
I'm using erb as a templating package to generate html files -- not in
[#320317] dynamically create a hash of a objects variables values — Adam Akhtar <adamtemporary@...>
Tried my best to make this title as informative as possible but its
[#320319] when will the ruby 2.0 be released? — Rockydd <rockyac@...>
guys, I didn't find the schedule in the official site.
[#320335] gsub and reg expressions — Stuart Clarke <stuart.clarke1986@...>
I am having a few problems getting gsub to work with my regular
Stuart Clarke wrote:
The regular expression needs to be in array otherwise I recover
[#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
Unable to get tmail working properly on my shared hosting account, I
Why not try mailfactory if you're just sending e-mail? If it's just
On Tue, Nov 18, 2008 at 01:20:16AM +0900, Jeremy McAnally wrote:
On Nov 17, 2008, at 11:38 AM, Chad Perrin wrote:
On Tue, Nov 18, 2008 at 03:45:37AM +0900, James Gray wrote:
On Mon, Nov 17, 2008 at 01:16:25PM +0900, Ryan Davis wrote:
On Mon, Nov 17, 2008 at 01:45:05PM +0900, Chad Perrin wrote:
[#320370] How can I overload a method in Ruby — Zhao Yi <youhaodeyi@...>
This is my class definition:
there is no overloading, only overriding.
Einar Magn炭s Boson wrote:
From: Zhao Yi [mailto:youhaodeyi@gmail.com]
Pe単a, Botp wrote:
[#320375] Tread on eggs.. Using metaprogramming to set a variable name? — Aldric Giacomoni <aldric@...>
Something like ..
[#320388] Problems passing parameters into XSLT — Peter Hickman <peter@...>
I'm having some problems passing parameters into XSLT with ruby. The
[#320393] = 1 whee! — Mike Austin <"mike[nospam]"@...>
:) Just curious as to why Ruby automatically increases an array's size when
[#320400] Ruby equivalent to `find . -perm -g+rw -ls` — Bil Kleb <Bil.Kleb@...>
Hi,
[#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.
On 2008.11.17., at 19:17, Sita Rami Reddy wrote:
My program need to do the following
require 'rubygems'
Thanq very much peter..it surved my purpose
> Thanq very much peter..it surved my purpose
[#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
On Nov 17, 3:50m, Aryk Grosz <tennisbum2...@hotmail.com> wrote:
>>>
[#320458] let my custom defined class convert to string? — Jonathan Rochkind <rochkind@...>
Is there any way I can make it so my custom-defined class can be
Alle Tuesday 18 November 2008, Jonathan Rochkind ha scritto:
Thanks, that helps a lot, actually!
[#320461] Subclassing Hash to enforce value uniqueness ala key uniqueness. — Adam Gardner <adam.oddfellow@...>
First of all, hello to everyone. This is my first message to this list.
[#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
Peter Szinek wrote:
On Tue, 18 Nov 2008 08:49:51 -0500, James Gray wrote:
[#320487] ActiveRecord user — angico <angico@...>
Hi,
> Hi,
Em Ter, 2008-11-18 às 21:03 +0900, Peter Szinek escreveu:
[#320500] Should is the new Must? — Trans <transfire@...>
Why did 'should' become the going nomenclature of BDD framworks?
Trans wrote:
Hi,
On Nov 18, 6:09m, Trans <transf...@gmail.com> wrote:
[#320504] Active Directory and Ruby — Bruno Sousa <brgsousa@...>
Hi everyone,
[#320513] selected field assignment — Bil Kleb <Bil.Kleb@...>
Hi,
[#320547] Library for writing ODF files — "Thiago Arrais" <thiago.arrais@...>
Last week I needed to generate a report in the format of an ODF spreadsheet and
[#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
David Spitzer wrote:
John W Kennedy wrote:
David Spitzer wrote:
On 18.11.2008 23:56, David Spitzer wrote:
[#320561] Ever heared of XRuby before? — "Robert Dober" <robert.dober@...>
Hi all,
[#320566] ruby global regex question. — knohr <just_a_techie200x@...>
For the life of me, i can't figure out a ruby equivalent to perl's /g
[#320607] Is there a way to know what are the subclasses of a given class ? — "Sandro Paganotti" <sandro.paganotti@...>
Hello
[SOLVED]
In your above example, B is not subclass of A (B is not even defined,
> On 2008.11.19., at 10:10, Sandro Paganotti wrote:
[#320609] "rescue Postgres::PGError" not working — Mandeep Baruah <mbaruah@...>
I am trying to rescue exceptions from a PostgreSQL query (see bellow
[#320611] JRuby on Android (from: What would you like to know about Jruby?) — Florian Gilcher <flo@...>
In "What would you like to know about Jruby?", Charles wrote:
Florian Gilcher wrote:
[#320613] RegExp problem — Jf Rejza <jfferriere@...>
Hy,
On Wed, Nov 19, 2008 at 10:55 AM, Jf Rejza <jfferriere@gmail.com> wrote:
Actually the correct regexp is:
On Wed, Nov 19, 2008 at 11:58 AM, Florian Gilcher <flo@andersground.net> wrote:
[#320622] Run a method in a Module — Mario Ruiz <mario@...>
Hi,
On Wed, Nov 19, 2008 at 11:40 AM, Mario Ruiz <mario@betware.com> wrote:
In my case is a little bit more complicated since the modules I'll use
[#320623] install a ruby library with it's .gem file — "Lyes Amazouz" <lyesjob@...>
Hello everybody!
[#320628] Not enough space error on windows — Ittay Dror <ittay.dror@...>
I get a 'Not enough space' error on windows. The disk has plenty of
[#320655] build hash by iterating — Jason Lillywhite <jason.lillywhite@...>
I am building a hash this way:
From: Jason Lillywhite [mailto:jason.lillywhite@gmail.com]
[#320665] Question about host, gethostbyname and getaddress — Vladimir Fekete <fekete@...>
Hi *,
On Wed, Nov 19, 2008 at 8:43 AM, Vladimir Fekete
Hello Alan,
On Wed, Nov 19, 2008 at 3:44 PM, Vladimir Fekete
Hello Alan,
From: Vladimir Fekete [mailto:fekete@melkor.dnp.fmph.uniba.sk]
[#320666] Error message, hide class name — Trans <transfire@...>
irb(main):005:0> class X
[#320694] how do you run ruby on windows — equinox <aditya15417@...>
Okay so I've downloaded the One-Click Ruby Installer for Windows and
[#320701] Survey Invitation : Ruby + GUI — Alex Fenton <alex@...>
Everyone's invited to take part in a short survey on using Ruby for GUI
[#320703] Ayuda con Ejercicio — Fernando Villafuerte <fernandovr@...>
Buenas Tardes a todos, primero quisiera informarles que yo no se nada de
[#320709] ANN: One-Click Ruby Installer 186-27 Release Candidate 2 — Luis Lavena <luislavena@...>
Hello Ruby for Windows users!
On Nov 20, 12:11m, Bill Walton <bill.wal...@charter.net> wrote:
[#320713] RubyGems load path — Rodrigo Kochenburger <divoxx@...>
Hi Guys,
[#320717] Is there another method like .next? — "Michael W. Ryder" <_mwryder@...>
I was looking for a way to iterate through the ascii values and was
[#320725] BFS in ruby from a hash — equinox <aditya15417@...>
I want to do a breadth first search on a hash like below:
[#320734] Compiling Ruby Scripts (Ruby 1.9.x) — Sparky Mat <max@...>
I was wondering if it is possible to compile Ruby code for Ruby 1.9.x .
[#320759] search reg-exp for exact match — John Butler <johnnybutler7@...>
Hi,
[#320787] create a md5 / md5 passwd with a salt — Peter Woodsky <peter@...>
Hi list
[#320801] Sieve of Zakiya — jzakiya <jzakiya@...>
I've uploaded optimized upgraded versions of my SoZ prime generators,
On Thu, Nov 20, 2008 at 3:46 PM, jzakiya <jzakiya@mail.com> wrote:
[#320804] Hpricot scraping returns nil — Sergei Maertens <sergeimaertens@...>
Good evening
[#320810] Make RDoc escape inner element strings — Jose Fernandez <jose@...>
Is there a way to make RDoc use the html entities of stuff like:
[#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
Here's a workaround that fixes URI.parse.
On Sat, Dec 1, 2012 at 7:24 PM, David Madison <lists@ruby-forum.com> wrote:
tamouse mailing lists wrote in post #1087487:
On Sun, Dec 2, 2012 at 6:09 AM, David Madison <lists@ruby-forum.com> wrote:
[#320812] Weird conversion in IRB — Jeremy Woertink <jeremywoertink@...>
For some reason I have this line I am pasting from a text file into IRB,
[#320828] Can't install rails with gem — Joey Marino <joey.da3rd@...>
joey@lab:~$ gem --version
[#320839] jumpdates com - Free Online Dating — mckinneymbcrab@...
jumpdates com
[#320863] How to use include? on an array of objects — Fernando Perez <pedrolito@...>
I have the following array:
[#320864] Nokogiri problem on Mac OS X — Diogo Terror <ranccis@...>
I'm trying to install Merb, first thing I got was an issue with
[#320877] BLT::Tabnotebook - tabnotebook.tcl not found — Philip Müller <me@...>
Hi,
From: Philip Mler <me@alienemperor.de>
Hi,
From: Philip Mler <me@alienemperor.de>
[#320886] append new line to textfile — Mmcolli00 Mom <mmc_collins@...>
I want to create a text file and append a new line to the text file
[#320893] libxml-ruby segfault on CentOS 5 (64 bit) — "Sebastian W." <swittenk@...>
Hello all,
[#320904] net/ssh for enable mode on cisco router — jackster the jackle <johnsheahan@...>
I am having trouble getting into enable mode and running commands on a
Not a direct answer, but I found the Net::SSH API too cumbersome to use
[#320908] Befunge (#184) — Matthew Moss <matt@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hopefully the quiz isn't intimidating... It's a fairly simple language
On Mon, Nov 24, 2008 at 11:01 PM, Matthew Moss <matt@moss.name> wrote:
>
For those who want to play around I have extended Matthew's code with
Matthew Moss <matt@moss.name> wrote:
[#320912] Using Hpricot with HTML's — Rick Rick <ukbell@...>
I have been working on this program for class all day and am not getting
[#320918] wish list item: Method#to_proc — Roger Pack <rogerpack2005@...>
would this be useful/theoretically possible?
[#320920] Printing right arrow vs. a sane progressbar library — "Shot (Piotr Szotkowski)" <shot@...>
I want to track the progress of a set of (forkoff’d) processes in
[#320927] erbook 5.0.0 — Suraj Kurapati <snk@...>
erbook : write books and documents in eRuby
Interesting. I've been using AsciiDoc for DocBook creation. It's good
On Sun, Nov 23, 2008 at 11:47 AM, Dean Wampler <deanwampler@gmail.com> wrote:
[#320947] Storing Array in Hash — John Bentley <pluhveso@...>
I am having the most insane time with Ruby's Hash class.
[#320967] In Depth: attr_reader/writer/accessor — Matthew Madson <merlin009_50@...>
Can anyone explain exactly what happens when the interpreter interprets
[#320980] Ruby's new website — "Redd Vinylene" <reddvinylene@...>
Is it just me, or is Ruby's new website way too much? A jumble of bad
[#320981] Problem with sqlite3-ruby — Maciej Piechotka <uzytkownik2@...>
When I run:
> require reports (in irb,ar,sequel & co.) that it cannot load sqlite3.
[#320999] what's wrong with this method — equinox <aditya15417@...>
can someone tell me what's wrong with this method??
[#321006] Can you run a command line script with arguments, without typing 'ruby' first? — "Jayson Williams" <williams.jayson@...>
Hi All,
chmod a+x my_script (restrict permissions if you want)
I am using win os, so the shabang thing isn't an option for me. I put
On Mon, Nov 24, 2008 at 2:12 PM, Jayson Williams
On Mon, Nov 24, 2008 at 2:21 PM, Glen Holcomb <damnbigman@gmail.com> wrote:
The associations are correct. I reset them just to be sure though. I
On Mon, Nov 24, 2008 at 3:39 PM, Jayson Williams
2008/11/24 Kyle Schmitt <kyleaschmitt@gmail.com>:
Jayson Williams wrote:
Daniel,
Jayson Williams wrote:
Frustratingly, I got this working fine at work. I can type
Jayson Williams wrote:
Daniel Scher wrote:
[#321028] my attr_accessor — cibercitizen1 <CiberCitizen1@...>
I tried to
[#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.
I am a beginner too;
[#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
> There seem to be lots of small stats/math libraries for Ruby, but none
Math/stats libraries still seem to need a bit of work compared to
On Tue, Nov 25, 2008 at 10:13, Joe Wfel <joe@talkhouse.com> wrote:
* Cameron McBride <cameron.mcbride@gmail.com> [2008-11-26 09:39:48 +0900]:
[#321049] needed - ass kicking rubyist level 4.2 — ara howard <ara.t.howard@...>
ara howard <ara.t.howard@gmail.com> writes:
[#321069] no such file to load sqlite3 — Ben Johnson <bjohnson@...>
Ever since I updated my gems I have been getting the following error any
On Tue, Nov 25, 2008 at 10:38 AM, Ben Johnson <bjohnson@binarylogic.com> wrote:
Robert Dober wrote:
[#321073] Getting single char from string -- Simpler solution? — sa 125 <s_ayalon@...>
Hi -
Alle Tuesday 25 November 2008, sa 125 ha scritto:
[#321093] Getting browser country parameter in Ruby on Rails — CiriusMex <ciriusmex@...>
Hi folks ^^
[#321123] Begin else pattern question — "Mikel Lindsaar" <raasdnil@...>
What is the cleanest way of doing:
[#321129] How to use a passing argument(returned argument)? — =?EUC-KR?B?seggwdi/tQ==?= <jykim@...>
Hello, everyone !!!
[#321141] Ruby + FreeBSD = bandwidth killer? — Daniel Waite <rabbitblue@...>
This is a bizarre situation. I have a program that makes heavy use of
[#321149] Exclude members from YAML conversion? — Christian Kerth <christian.kerth@...>
Hi!
[#321160] attr_reader, default attribute value, and rdoc of attribute — dkmd_nielsen <donn@...>
What I want to do is create an attribute, allow it to have a default
[#321166] time to back peddle? (Ruby 1.8.7) — Trans <transfire@...>
I just updated my Ubuntu system and was a bit surprised to find:
On Wed, Nov 26, 2008 at 9:20 AM, Roger Pack <rogerpack2005@gmail.com> wrote:
> Though support was dropped for Ruby <= 1.8.5, 1.8.6 is still
[#321175] ruby wish list item: more standard rescues — Roger Pack <rogerpack2005@...>
Currently in Ruby
[#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?,
Kenneth McDonald <kenneth.m.mcdonald@sbcglobal.net> wrote:
Unfortunately, that produces a method that _requires_ a block--I want
[#321183] regexp problem — Chai Muang thong <thai4pental@...>
Hi,
[#321184] Class setter — Ves Pasian <keepitsimple222@...>
For the life of me I can figure out why the setter below returns "v" and
[#321212] To get time differnece in hours between two time values — Sijo Kg <sijo@...>
Hi
Sijo Kg wrote:
(Time.now - incidents.first.created_on) / 1.hour
[#321213] Read Database Metadata — Xd Ork <jorasmi.gagarin@...>
Hi All,
[#321215] Design suggestion for translations/mappings from xml — Brian Lonsdorf <brian@...>
Hi, i've got an xml file i'm parsing and creating objects from.
On Thu, Nov 27, 2008 at 7:00 AM, Brian Lonsdorf <brian@trnsfr.com> wrote:
> class Test
[#321216] Alternatives to ?\C-n, ?\M-a etc in ruby 1.9 — Nit Khair <sentinel.2001@...>
I need to make a rather important design in my 1.8 application, so i
From: Nit Khair [mailto:sentinel.2001@gmx.com]
[#321222] AutoIt: Regarging AutoIt usage with Firefox — Anukul Singhal <anukul.singhal@...>
Hi,
[#321223] unexpected error in time difference — "Heesob Park" <phasis@...>
Hi,
[#321230] creating a dynamic hash — Sijo Kg <sijo@...>
Hi
[#321246] Performance issues with large files -- ruby vs. python :) — sa 125 <s_ayalon@...>
Hi all -
>
I can't really put the code here since it's on the company's intranet. I
On Thu, Nov 27, 2008 at 9:39 AM, sa 125 <s_ayalon@hotmail.com> wrote:
brabuhr@gmail.com wrote:
On Thu, Nov 27, 2008 at 4:57 PM, Charles Oliver Nutter
On Thu, Nov 27, 2008 at 11:47 AM, Robert Dober <robert.dober@gmail.com> wrote:
[#321249] reg exp — Hai anh Le <lhanh@...>
Hi every body. I'm a newbie in Ruby and have problem with reg exp.
[#321264] Shebang! line not recognized in OS X Leopard?? — Johnnie Lieske <generic@...>
Hi
Johnnie Lieske wrote:
[#321271] Ruby's duck typing — "stephan.zimmer" <stephan.zimmer@...>
I would like to represent certain data by a list; to this end I let
[#321284] Noob: Code review my first tutorial homework assignment? — "Brian A." <judobrian+ruby-forum@...>
Hello!
On Thu, Nov 27, 2008 at 8:46 PM, Brian A.
[#321286] private #initialize — Yossef Mendelssohn <ymendel@...>
My apologies if this has been discussed before, but I couldn't find
[#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/
On Thu, Nov 27, 2008 at 3:30 PM, whisperjim <jgheal@googlemail.com> wrote:
[#321288] Maximum number of files on a disk ? — "Axel Etzold" <AEtzold@...>
Dear all,
[#321297] eRuby/erb outside of Rails — Jonny Noog <jonnynoog@...>
Hello,
Try the free tool TudbcJRubyServlet
Why would you use this rather than Warbler (for example)?
Dick Davies wrote:
I appreciate the further suggestions and comments. Thanks very much. :)
[#321328] Rest-client posting multipart to rails 2 — "e deleflie" <edeleflie@...>
Hi all,
[#321353] Removing ^M character from text — John Victor <john@...>
I have some text that I just realized is screwing everything up because
On Fri, Nov 28, 2008 at 8:57 PM, John Victor <john@sflistdb.com> wrote:
[#321373] Desktop Application — Warren Dulnuan <rr3800@...>
Total noob on Ruby, didnt start yet but i'm planning to learn the
Warren Dulnuan wrote:
Warren Dulnuan wrote:
I made this application, which might be interesting but also very big
It's really hard shifting from pirated windows products to free open source,
[#321382] problem in Hash formatted output — jazzez ravi <jazzezravi@...>
Hi All,
[#321387] best gui toolkit — Warren Dulnuan <rr3800@...>
What is the best GUI toolkit for Ruby?
On Sun, Nov 30, 2008 at 02:26:15AM +0900, Vladimir Fekete wrote:
> It's also kind of onerous in terms of licensing, unless you just *really*
I've always thought Tk has been vastly underrated. It's worth it for
Warren Dulnuan wrote:
[#321400] Most used pwd in ruby — Sak Na rede <sak@...>
Hi all!
[#321405] rmagick and circles — "shawn bright" <nephish@...>
Hey there all,
[#321419] Avoid trucate column at printing table — Marc Pou <marc.pou@...>
Hi,
[#321421] Anyone scraping dynamic AJAX sites? — Becca Girl <cschall@...>
Hello.
On Sat, Nov 29, 2008 at 6:25 PM, Becca Girl <cschall@yahoo.com> wrote:
Just for completeness sake: scRUBYt! (since 0.4.05) is using FireWatir
[#321426] TCP Server — Sergio Aristizábal <bakkhoz@...>
Hi, i'm going to code a game server, i'm new in ruby an would
On 30 Nov 2008, at 02:00, Sergio Aristiz畸al wrote:
[#321427] Ruby Tk and X/Y coordinates — Johnny Johnnybgood <jarek123@...>
Hi everyone,
[#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,
On 30.11.2008 04:46, Mike Austin wrote:
On Sun, Nov 30, 2008 at 8:54 AM, Robert Klemme
Hi --
On Sun, Nov 30, 2008 at 11:13 AM, David A. Black <dblack@rubypal.com> wrote:
On Nov 30, 2008, at 4:26 AM, Robert Dober wrote:
Hi --
Hi,
On Nov 29, 10:46m, Mike Austin <"mike[nospam]"@mike-austin.com>
Hi,
[#321452] Aaron Bedra@Relevance Inc fraudulently claiming ownership of BSD licensed code -- how to protect? — "Rudi Cilibrasi" <cilibrar@...>
Hi everybody,
[#321453] Some benchmarks with MinGW, JRuby, MSVC... — Joao Pedrosa <joaopedrosa@...>
So, I have managed to build several different versions of Ruby to
[#321454] Help me understand how this block works? — "Brian A." <judobrian+ruby-forum@...>
Hello -
Brian A. <judobrian+ruby-forum@gmail.com> wrote:
ANN: Sequel 2.7.0 Released
* Sequel provides thread safety, connection pooling and a concise DSL
for constructing database queries and table schemas.
* Sequel also includes a lightweight but comprehensive ORM layer for
mapping records to Ruby objects and handling associated records.
* Sequel supports advanced database features such as prepared
statements, bound variables, master/slave configurations, and
database sharding.
* Sequel makes it easy to deal with multiple records without having
to break your teeth on SQL.
* Sequel currently has adapters for ADO, DB2, DBI, Informix, JDBC,
MySQL, ODBC, OpenBase, Oracle, PostgreSQL and SQLite3.
Sequel 2.7.0 has been released and should be available on the gem
mirrors. The 2.7.0 release adds numerous improvements:
Performance Optimizations
-------------------------
* Fetching a large number of records with the PostgreSQL adapter is
significantly faster (up to 3-4 times faster than before).
* Instantiating model objects has been made much faster, as many
options (such as raise_on_save_failure) are now lazily loaded, and
hook methods are now much faster if no hooks have been defined for
that type of hook.
New Association Options
-----------------------
* The :eager_grapher option has been added allowing you to supply
your own block to implement eager loading via eager_graph.
* many_to_one and one_to_many associations now have a :primary_key
option, specifying the name of the column that the :key option
references.
* many_to_many associations now have :left_primary_key and
:right_primary_key options, specifying the columns that :left_key
and :right_key reference, respectively.
* many_to_many associations now have a :uniq option, that adds an
:after_load callback that makes the returned array of objects
unique.
Other New Features
------------------
* Dataset#set_graph_aliases now allows you to supply a third argument
for each column you want graph into the dataset, allowing you to use
arbitrary SQL expressions that are graphed into the correct table:
ds.set_graph_aliases!(:a=>[:b, :c], :d=>[:e, :f, 42])
# SELECT b.c AS a, 42 AS d FROM ...
ds.first # => {:b=>{:c=>?}, :e=>{:f=>42}}
* Dataset#add_graph_aliases was added, that adds additional graph
aliases instead of replacing the existing ones (as
#set_graph_aliases does). It's basically the equivalent of
select_more for graphs.
* Dataset#join_table changed it's final argument from a symbol
specifying a table name to an option hash (with backwards
compatibility kept), and adds support for a :implicit_qualifier
option, which it uses instead of the last joined table to
qualify columns.
* Association's :after_load callbacks are now called when eager
loading via eager (but not when eager loading via eager_graph).
* Any expression can now be used as the argument to Symbol#like,
which means that you can pattern match columns to other columns.
Before, it always transformed the argument to a string.
:a.like(:b)
# 2.6.0: a LIKE 'b'
# 2.7.0: a LIKE b
* Array#sql_array was added, allowing you to specify that an array
in ruby be treated like an array in SQL. This is true anyway,
except for arrays of all two pairs, which are treated like hashes,
for specifying multiple conditions with the same key:
DB[:foo].filter([:a,:b] => [[1,2],[3,4]].sql_array)
# => SELECT * FROM foo WHERE ((a, b) IN ((1, 2), (3, 4)))
* ComplexExpression#== and #sql? were added, allowing for easier
testing.
* Full text searching on PostgreSQL now joins multiple columns with
a space, to prevent joining border words, and it works when there
is a match in one column but the other column is NULL.
Other Improvements
------------------
* Instance methods added by creating associations are added to an
anonymous module included by the class, so they can be overridden
in the class while still allowing the use of super to get the
default behavior (this is similar to column accessor methods).
* Many improvements were added to support using multiple schemas in
PostgreSQL.
* Model::Validation::Errors objects are now more compatible with
Rails, by adding a #count method and making #on return nil if there
are no error messages for that attribute.
* Serialized columns in models are no longer typecast.
* Associations are now inherited when a model class is subclassed.
* Many improvements were made that should make adding custom
association types easier.
* A corner case in eager_graph where the wrong table name would be
used to qualify a column name has been fixed.
* Dataset's cached column information is no longer modified if #each
is called with an option that modifies the columns.
* You should now be able to connect to Oracle via the JDBC adapter,
and with the same support it has when using the oracle adapter.
* Model.association_reflections is now a public methods, so you can
grab a hash of all association reflections at once (keyed by
association name symbol).
* The :encoding/:charset option now works in the PostgreSQL adapter
if the postgres-pr driver is used.
* The numeric(x,y) type is now interpreted as decimal.
Backwards Compatibilty
----------------------
* The first argument to Model#initialize must be a hash, you can no
longer use nil. For example, the following code will break if
:album is not in params:
Album.new(params[:album])
Additionally, Model#initialize does not call the block if the
second argument is true.
* The Sequel::Model.lazy_load_schema setting was removed. It should
no longer be necessary now that schema loading is relatively speedy,
and schemas can be loaded at startup and cached.
* The PostgreSQL adapter will default to using a unix socket in /tmp
if no host is specified. Before, a TCP/IP socket to localhost was
used if no host was specified. This change makes Sequel operate
similarly to the PostgreSQL command line tools.
* The ASSOCIATION_TYPES constant has changed from an array to a hash
and it has been moved. The RECIPROCAL_ASSOCIATIONS constant has
been removed. This is unlikely to matter unless you were using
custom association types.
* The PostgreSQL adapter now sets the PostgreSQL DateStyle, in order
to implement an optimization. To turn this off, set
Sequel::Postgres.use_iso_date_format = false.
* When using the PostgreSQL adapter, in many places the schema is
specified explicitly. If you do not specify a schema, a default
one is used (public by default). If you use a schema other than
public for your work, use Database#default_schema= to set it. For
any table outside of the default schema, you should specify the
schema explicitly, even if it is in the PostgreSQL search_path.
* Model::Validation::Errors#on now returns nil instead of [] if there
are no errors for an attribute.
* Hooks added to a superclass after a subclass has been created no
longer have an effect on the subclass.
* The Postgres.string_to_bool method has been removed.
* PostgreSQL full text searching now always defaults to using the
simple dictionary. If you want to use another dictionary, it must
be specified explicitly, both when searching and when creating a
full text index.
Thanks,
Jeremy
* {Website}[http://sequel.rubyforge.org]
* {Source code}[http://github.com/jeremyevans/sequel]
* {Bug tracking}[http://code.google.com/p/ruby-sequel/issues/list]
* {Google group}[http://groups.google.com/group/sequel-talk]
* {RDoc}[http://sequel.rubyforge.org/rdoc]
--
Posted via http://www.ruby-forum.com/.