[#340543] 64-bit Ruby for OS X ? — Greg Willits <lists@...>
Has anyone built a 64-bit Ruby for Leopard. I've googled my brains out,
On Jun 30, 2009, at 18:36, Greg Willits wrote:
I personally won't use anything that isn't under x64. No offense to people
--
Small minds can't cope with diversity.
[#340555] Are these widgets worth adding as standard libraries of Ruby/Tk? — Hidetoshi NAGAI <nagai@...>
Hi,
Hi,
[#340577] Question about regex and date formatting — "Älphä Blüë" <jdezenzio@...>
I'm trying to check whether yyyy-dd-mm in a string or date is true.
[#340578] converting the string — Vlad Smith <neverhood@...>
Hi everybody! I`m sorry for asking a silly question .. i hope you`ll
[#340583] date time subtraction — aidy <aidy.lewis@...>
Hi,
[#340595] Windows XP problem with Ruby, gem sqlite3-ruby, and SQLite3 — SunSw0rd <John.Tullis@...>
Varients of this problem have been posted before. However none of the
[#340607] require an entire package? — Juston <justondavies@...>
I'm about three weeks into Ruby coming from C++ and Java and enjoying
You could just require 'filename.rb'
Woops, I may have misunderstood, if you meant require everything in say
[#340627] RDoc v2 templates? — James Britt <james.britt@...>
I'd like to play around with templates for RDoc v2. Aside from
[#340646] delete_if_with_index or delete_at(array) in 1.8.6? — Bil Kleb <Bil.Kleb@...>
Hi,
2009/7/2 Bil Kleb <Bil.Kleb@nasa.gov>:
On Jul 2, 2009, at 7:45 AM, Robert Klemme wrote:
[#340667] Support for IMAP IDLE in net/imap — Abhishiv Saxena <abhishiv@...>
Ok, I have been suck on it for hours. I thought net/imap.rb with ruby 1.9
[#340672] Parsing lua with Ruby — Catalin Tilimpea <ctilimpea@...>
Im interested in parsing a text file that has a very specific, yet
[#340681] Installing tar2rubyscript and rubyscript2exe — Michael Satterwhite <michael@...>
I'm trying to install tar2rubyscript and rubyscript2exe. I executed the
[#340683] Using Dir.glob to grab only Directories — Mario Gr <mflores3@...>
Hi,
[#340686] Genetic Programming (#212) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#340687] $stdout to printer — Dimas Cyriaco <dimascyriaco@...>
Still trying to print stuff...
Dimas Cyriaco wrote:
[#340699] file.seek and unused bytes — Greg Willits <lists@...>
Ruby 1.8.6
Gary Wright wrote:
Greg Willits wrote:
Brian Candler wrote:
Greg Willits wrote:
Brian Candler wrote:
On 06.07.2009 00:13, Greg Willits wrote:
Robert Klemme wrote:
Greg Willits wrote:
Eeek. Opened a can of worms!
2009/7/6 Greg Willits <lists@gregwillits.ws>:
> reading this I wonder why you don't dump the records into a database
On 06.07.2009 21:47, Greg Willits wrote:
Robert Klemme wrote:
On Jul 6, 2009, at 5:08 PM, Greg Willits wrote:
James Gray wrote:
[#340720] How to remove/delete/destroy class variable in Ruby 1.9? — "dzw!" <bartoszwais@...>
Ok, code below shows better what I am talking about, I understand that
[#340742] Newbie help — Luis Teko <ouikoto@...>
>Greetings Great Gurus of RoR
[#340743] to_proc and Proc/block conversion with & — Russ McBride <russ@...>
Hi --
On 7/5/09, David A. Black <dblack@rubypal.com> wrote:
Hi --
On Sun, 5 Jul 2009, David A. Black wrote:
Russ McBride wrote:
[#340772] Convert an Character to the ASCII Character Code — John Gregory <teckirocker@...>
I have Ruby 1.9.1p129 and I want to convert an ASCII character to an
[#340800] How to test %x[] calls? — David Palm <dvdplm@...>
Hi all,
[#340806] several replacing problems — Andrei Caragea <dracoola4u2001@...>
Hello everyone,
[#340814] A define_method question — Juston <justondavies@...>
I have a question about define_method, more specifically how to bend
Juston wrote:
I did think of that, and it's probably the route I wind up taking
Juston wrote:
That looks pretty sharp actually, after reading more about proc
[#340822] How to upgrade ruby to a specific version — Tom Ha <tom999@...>
Hi there,
Anybody...?
On Monday 06 July 2009, Tom Ha wrote:
Sorry, I didn't know that...
On Tuesday 07 July 2009 04:55:01 Tom Ha wrote:
[#340827] Help with rdoc - generate documentation for Ruby 1.9.1 Standard Library? — Bjoern <bjoerngt@...>
Hi,
On Jul 7, 11:13=A0am, Eric Hodel <drbr...@segment7.net> wrote:
>> Looks like ext/.document wasn't updated for 1.9.1.
[#340846] Speeding up virtual keycode scanning — Michael Linfield <globyy3000@...>
Here is the problem:
Hi,
[#340859] Breaking the loop in case of EOF — Marcin Górski <agormar@...>
Hello,
[#340868] Ruby 1.8 - character encoding — Thomas Thomassen <thomas@...>
I write Ruby plugins for Google Sketchup.
On Tue, Jul 7, 2009 at 8:28 AM, Thomas Thomassen<thomas@thomthom.net> wrote=
Gregory Brown wrote:
On Tue, Jul 7, 2009 at 10:21 AM, Thomas Thomassen<thomas@thomthom.net> wrote:
Gregory Brown wrote:
I've been doing some testing on the 128-255 range, and from what I can
I checked the $KCODE variable and it returns "UTF8".
[#340871] Mechanize: How to scrape accented chars that weren't entered as entities? — Patrick Lajeunesse <patlaj@...>
Hi,
[#340876] App fails on Windows, but works on OS X. — Randy General <randygeneral@...>
I've been working on a query app for Battlefield 2142 servers, and the
Randy General wrote:
Greg Willits wrote:
[#340903] Manipulating Multi-Dimensional Array — Tyler Knappe <tyler.knappe@...>
I'm attempting to modify elements within a multi-dimensional array.
[#340909] W3C Standards Compliant — jzakiya <jzakiya@...>
I was checking various websites using this W3C validator:
> From: jzakiya <jzak...@mail.com>
Use of expletives on a public mailing list is pretty sub-optimal
[#340932] Test Unit error when requiring proctable — David Ta <david.taylor@...>
Hi there, apologies if I am asking in the wrong forum.
[#340948] Symbol#to_proc with arguments — Max Williams <toastkid.williams@...>
hey folks
2009/7/8 Max Williams <toastkid.williams@gmail.com>
Hi --
[#340950] Get a web page with open-uri — "Andy P." <andycootlapin@...>
Hello !
At 2009-07-08 05:52AM, "Andy P." wrote:
Glenn Jackman wrote:
[#340966] Accept sh heredocs to Ruby script — Oliver Saunders <oliver.saunders@...>
In sh, you can do this:
[#340997] Using ruby to open an Excel file on a mac — Ryan Westerberg <phoenix_016@...>
Hello everyone,
[#341000] i cant start webrick — Alex Gore <gjgfuj@...7mail.com>
when i try to start webrick i get this message
[#341016] The simpelest of module function scoping... — Tom Verbeure <hombre@...>
It's a little sad that I've written many lines of ruby code, but I
[#341025] Help required on sorting — Dipti Iyengar <diptisampath.iyengar@...>
Hi All,
[#341026] compare two PNG images using rmagick — Anil Gollaa <nlkmr36@...>
Hi,
[#341029] The easiest way to separate substrings from a line string — Sarawut Poaitwinyu <superdisconnect@...>
I have working on tag system and There is information like this
Hi --
2009/7/9 David A. Black <dblack@rubypal.com>:
[#341037] Why is my server shutting down? — Jason Cheung <jaych1000@...>
I start the MySQL server with the "ruby script/server" command.
For some reason, however, it appears that Rails is unable to find a =20
[#341077] Hijack: Connect to an existing process with irb — Ian Leitch <port001@...>
Hi,
Great. Could you tell me what's the difference from live-console?
[#341083] tcp server with multithreading — Daniel Fort <naquad@...>
hi.
Daniel Fort <naquad@gmail.com> wrote:
[#341091] OT: Is there an NG for Ruby on Rails? — ohaya <ohaya@...>
Hi,
On Thu, Jul 9, 2009 at 9:00 PM, ohaya<ohaya@cox.net> wrote:
On Fri, Jul 10, 2009 at 12:55 PM, ohaya<ohaya@cox.net> wrote:
> -----Original Message-----
On Fri, Jul 10, 2009 at 3:57 PM, Jordon Bedwell<jordon@envygeeks.com> wrote:
[#341116] SystemTimer in windows — Shahin Kordasti <shahin.kordasti@...>
Has anyone been able to install SystemTimer in ruby windows environment?
> Has anyone been able to install SystemTimer in ruby windows environment?
Roger Pack wrote:
[#341133] which project should I work on? — Roger Pack <rogerpack2005@...>
I was wondering on any feedback on which of the following pet projects
On Friday 10 July 2009 09:10:57 am Roger Pack wrote:
On Jul 10, 4:10=A0pm, Roger Pack <rogerpack2...@gmail.com> wrote:
Roger Pack wrote:
Create a package like pythons multiprocessing to make multi -process code
All righty the results are in.
On Fri, Jul 17, 2009 at 11:12 AM, Roger Pack<rogerpack2005@gmail.com> wrote:
On Fri, Jul 17, 2009 at 12:41 PM, Roger Pack<rogerpack2005@gmail.com> wrote:
[#341138] include? won't find match even though it's in String — David Charles <dave@...>
#person@cogeco.ca is in the string test12 which is a string of email
[#341155] calculating an array of dates — Eric Peterson <peterson_eric_d@...>
[#341160] Prototype-Based Inheritance (#214) — Daniel Moore <yahivin@...>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
[#341172] Mysql to Sqlite Update SET not working — Grant Gray <grantg@...>
Hi,
[#341174] Math cube root — Zangief Ief <z4n9ief@...>
Hi,
def cube_root(x)
How can you explain this:
On Wed, 11 May 2011 21:45:42 +0200, Sergey Avseyev =
On Thu, May 12, 2011 at 8:25 AM, Josef 'Jupp' Schugt <jupp@gmx.de> wrote:
[#341177] one line sorting —
Hi.
[#341178] Ruby Versions site; shell access to historical and current Rubies — "David A. Black" <dblack@...>
Hi all --
Sigh. ruby-versions.net has apparently decided to stop resolving.
On 7/11/09, David A. Black <dblack@rubypal.com> wrote:
On Jul 11, 2009, at 11:10 AM, Caleb Clausen wrote:
On 7/11/09, James Gray <james@grayproductions.net> wrote:
On Jul 11, 2009, at 2:18 PM, Caleb Clausen wrote:
On Saturday 11 July 2009 03:02:36 pm James Gray wrote:
On Jul 11, 2009, at 5:44 PM, David Masover wrote:
On Saturday 11 July 2009 06:35:01 pm James Gray wrote:
Hi --
[#341182] help for code understanding — Li Chen <chen_li3@...>
Hi all,
On Jul 11, 2009, at 10:16 AM, Li Chen wrote:
[#341202] TCPServer — send and recieve simultaneous — Benedikt Mueller <linopolus@...>
Hi
Benedikt Mueller wrote:
Brian Candler wrote:
Benedikt Mueller wrote:
All 3 tips didn't help :(
[#341214] Shoes2 newbie question about documentation example — RichardOnRails <RichardDummyMailbox58407@...>
Hi,
[#341231] Fibonacci numbers - newbie question. — salai <sayakyi@...>
Dear All,
[#341252] Process.fork weirdness — Janus Bor <janus@...>
Hi all,
Gary Wright wrote:
Joel VanderWerf wrote:
[#341277] I just love RoR — Luis Teko <ouikoto@...>
>>I really dont know what to do now my dealine is ahead having an error.......
[#341289] println? — Roger Pack <rogerpack2005@...>
I'm wondering if someone could point out to me an equivalent of the java
[#341310] rss parsing error. — Young Gyu Park <ygpark2@...>
At these days, I try to parse 'http://www.forbes.com/news/index.xml' using
[#341325] C ext / threading / callback issue, ruby-1.9.1p129 — reynhout@...
Hi,
[#341330] OT: "show run" parser — "Sebastian W." <swittenk@...>
Dear Rubyists,
[#341334] Performance question — Pito Salas <rps@...>
I have a scenario where I will be storing thousands of objects in an
[#341348] (just) retrieve and unpack a gem — Rich Morin <rdm@...>
I need to retrieve and unpack a large number of gems, without
[#341358] gem1.9 install mysql on ruby 1.9.1p129 failed — geistteufel <geistteufel@...>
Hi,
[#341366] Getting time to display with ruby Logger — Harnish Botadra <harnish_544@...>
Hey guys,
[#341376] a regex that does not contain comma — Sijo Kg <sijo@...>
Hi
Sijo Kg wrote:
At 2009-07-14 06:01AM, "Axel Schmalowsky" wrote:
[#341379] Twelve rules of Ruby — Panu Kinnari <panu.kinnari@...>
Scott Adams of Dilbert fame talked about learning twelve concepts of
Hi --
Not sure why they wrapped weirdly (at least on my screen), but here's
I would think that the twelve rules should be in the form of what things are, not what they are not.
Hi --
> Objects don't "have" methods
Hi --
On Tue, Jul 14, 2009 at 11:46 AM, David A. Black<dblack@rubypal.com> wrote:
Rick DeNatale wrote:
Hi --
[#341384] can't install ruby-prof 0.7.0 or superior on windows — "DG" <nospam@...>
I found windows users of 0.7.3 here but I still can't instal
[#341391] Using DLLs with my Ruby app — Gin Mendi <gin18em@...>
Hi,
[#341434] array.include? I do not seem to GET it — James Byrne <byrnejb@...>
I have this set of constructs:
[#341455] getting 500 error while deploying to bluehost please help — Saurabh Agarwal <sagarwal1981@...>
Hi All,
[#341458] STDOUT — Agustin Ramos <agus_85@...>
Hi! I'm developing an application, that needs to execute some ruby
You're looking for something like
Chris Dempsey wrote:
[#341470] rdoc run-time length question — Tom Cloyd <tomcloyd@...>
I note that if I don't delete the relevant /docs dir, then each time I
Tom Cloyd wrote:
Tom Cloyd wrote:
Justin Collins wrote:
Tom Cloyd wrote:
[#341488] Trying to parse stream.twitter.com, please help. — Jesse Crockett <tefflox@...>
I'm having no luck working on this, and it's my first attempt at such a
My god how low has the world gotten - it's one thing for a kid to beg for
A man of such integrity as John W Higgins would surely code in the
I've been working on this for five hours and the closest thing this week
[#341510] Search in string with regular expression — Micke Micke <micke.sommar@...>
Hi all
On 7/15/09, Micke Micke <micke.sommar@gmail.com> wrote:
[#341532] Test::Unit run order — Dylan <mejari@...>
Hey there! I had a question about the order tests are run in
[#341543] Nooby stumped on installing ruby-pg gem — Kenneth Tilton <kentilton@...>
Complete Ruby noob, here. I want to go after postgres from Ruby on
[#341548] Parse Word/HTML Docs for database inserts — Margaret Smith <msmith362@...>
I am new to Ruby and have perused the forum but I will ask this question
[#341550] bit-struct gem — Joel VanderWerf <vjoel@...>
[#341553] bluecloth 2.0.5 — ged@...
ged@FaerieMUD.org wrote:
On Jul 15, 2009, at 6:29 PM, Joel VanderWerf wrote:
There is a non-standard function bzero() in generate.c, line 671
On Jul 15, 2009, at 11:32 PM, Lui Core wrote:
Michael Granger wrote:
Hi,
... you need a C compiler to build native extensions ...
[#341583] case statement puzzle — Tom Cloyd <tomcloyd@...>
I'm missing something here, and cannot see the problem:
[#341585] case statement puzzle - correction — Tom Cloyd <tomcloyd@...>
I'm missing something here, and cannot see the problem:
[#341593] making sure a file isn't being written/copied before moving — Paul Archer <paul@...>
So, I'm (still) working on some scripts to rename and reorganize my image
Paul Archer wrote:
[#341613] Need Help with a Very, Very Simple Program — Max Norman <maxnorman@...>
I'm almost an absolute novice in Ruby; it is my first language and I
[#341620] regexp exclusion search - find matches NOT ending with a string? — BrendanC <brencam@...>
I have the following text in a file:
[#341631] I have some Ruby math questions that need answering — "Älphä Blüë" <jdezenzio@...>
When handling percentage calculations:
Älphä Blüë wrote:
[#341644] trouble with puts — Venkat Akkineni <venkatram.akkineni@...>
Hello
[#341659] OpenSSL / Persistent connection — Fabien Penso <fabienpenso@...>
Hi.
[#341662] class.class = class — Rubynewbie Rubynewbie <ruby_newbie@...>
I understand that when you define a new class it卒s an instance of
[#341663] replacing verticle white spaces? — George George <george.githinji@...>
Any ideas on how to replace a verticle white space?
[#341670] Building Ruby From Source? — Tim Apple <tim@...>
I am new to Ruby, but fairly used to Linux. I was wondering if those
[#341690] Creation of Table Data From Rake — "Älphä Blüë" <jdezenzio@...>
I have been posting a topic on the Rails forum but it might not be the
[#341692] removing array duplicates where a subset is unique — Chuck Remes <cremes.devlist@...>
I need to remove duplicates from an array of arrays. I can't use
Hi --
Hi --
Chuck Remes wrote:
Hi --
David A. Black wrote:
Hi --
David A. Black wrote:
Hi --
[#341701] Need Help with another Simple Program — Max Norman <maxnorman@...>
As an exercise out of Chris Pine's 'Learning to Program,' I've attempted
On Fri, Jul 17, 2009 at 9:52 PM, Max Norman<maxnorman@comcast.net> wrote:
[#341707] ruby in 50 milliseconds or less — Joel VanderWerf <vjoel@...>
Joel VanderWerf wrote:
[#341721] Hash of Hash of Arrays Question — "Älphä Blüë" <jdezenzio@...>
Hi all,
I performed the following test which got some of the results from this
[#341722] Problems with gems and Ruby 1.8.7 — Henrique Testa <hgtesta@...>
Hi all,
On Jul 18, 2009, at 06:57, Henrique Testa wrote:
Eric Hodel wrote:
Henrique Testa wrote:
[#341724] Enumerator of what? — Intransition <transfire@...>
Any way to ask an Enumerator what the underlying object it is
[#341726] Ruby 1.9.1-p243 and Ruby 1.9.2-preview1 Released — "Yugui (Yuki Sonoda)" <yugui@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#341748] 1.9 test woe — Roger Pack <rogerpack2005@...>
porting a lib to 1.9, I was presented with this:
[#341753] How to identify unpaired files in a list — Paul <tester.paul@...>
Hello there. I have a problem where I am trying to identify unpaired
[#341757] Block Comments — yesteray <ray.baxter@...>
What text, if any, is allowed on the the line after the =begin and
[#341763] genie.rb:20: syntax error, unexpected $end, expecting kEND — Alec Williams <halodude10@...>
I get "genie.rb:20: syntax error, unexpected $end, expecting kEND" every
[#341766] ruby has lots of love? — Roger Pack <rogerpack2005@...>
When I get errors in irb sometime, the outputs looks like this:
[#341773] external html page include — Sam Ginko <ginkod@...>
I would like to include an external html page into a .rhtml document. I
Sam Ginko wrote:
[#341774] Help with relative paths using require — typemismatch <craigw9292@...>
Hi,
[#341779] Hpricot - strip out images and show first x words — Max Williams <toastkid.williams@...>
Hey all
Max Williams wrote:
Whoops! You wanted 25 *words*:
Hi 7stud, thanks.
Max Williams wrote:
[#341814] Do you program in any other language except for ruby? — Milan Dobrota <elitecoding@...>
And what are they? :)
Milan Dobrota wrote:
On Jul 21, 2009, at 1:11 AM, Elliott Cable wrote:
[#341819] How to strip inner whitespace in rails — "Thriving K." <superdisconnect@...>
I want to strip any whitespace that more than 1 to be 1
Thriving K. wrote:
[#341828] Ruby 1.9.1 One-Click Installer — Rohit Chauhan <rohitchauhan802@...>
-----------------------------------------------------------------------
[#341837] ruby IDE's — Sunil Kumar <sunil.muki@...>
Hi This is sunil..
Sunil Kumar wrote:
I don't agree the guy Tom.
Hi,
I second on Netbeans and the sentiment IDEs. They become very
Tom Cloyd wrote:
James Britt wrote:
marc wrote:
On 7/20/09, Tom Cloyd <tomcloyd@comcast.net> wrote:
I have Netbeans 6.7 on the Mac Os X platform and its quite an ordeal to get it to install gems without putting it in the wrong directory because it executes installation that requires installation using sudo and does not prompt for the password, so stuff gets installed in the wrong directory.
On Tue, Jul 21, 2009 at 9:09 AM, Garry Freemyer<garryfre@pacbell.net> wrote:
Well, take the last two lines J2SE 5.0 J2SE 1.4.2
On Tue, Jul 21, 2009 at 7:35 PM, Garry Freemyer<garryfre@pacbell.net> wrote:
I am surprised to see sarcasm in this mailing list, or maybe I am just disappointed.
On Tue, Jul 21, 2009 at 8:32 PM, Garry Freemyer<garryfre@pacbell.net> wrote:
I know what ruby is. I don't know what programs are included in the nebulous mass of programs that come under J2SE heading.
On Tue, Jul 21, 2009 at 8:50 PM, Garry Freemyer<garryfre@pacbell.net> wrote:
I guess I could break out a spreadsheet to make sense of it, or I could continue my fruitless search to try to find some site that lists it all ... Or I could try to ask some folks here for a site that might show me the differences and meanings ...
[#341898] getting char from string as fixnum in 1.8 and 1.9 — Joel VanderWerf <vjoel@...>
At 2009-07-20 02:20PM, "Joel VanderWerf" wrote:
[#341906] including newlines in a .sub — Alan Munn <amunn@...>
Hi, I'm new to ruby, and am having trouble with the following (\n is
On Mon, Jul 20, 2009 at 9:30 PM, Alan Munn<amunn@msu.edu> wrote:
Xavier Noria wrote:
On Tue, Jul 21, 2009 at 12:13 AM, 7stud --<bbxx789_05ss@yahoo.com> wrote:
[#341912] Dir.entries showing . and .. , how come? — Mmcolli00 Mom <mmc_collins@...>
Why is it that there are '.' and '..' in my output? I want to create a
On Monday 20 July 2009 03:05:18 pm Mmcolli00 Mom wrote:
[#341924] Thread.abort_on_exception default to true — Roger Pack <rogerpack2005@...>
Background:
Hi,
[#341939] Ruby oriented JavaCC-like parser generator? — Eric Tucker <eric@...>
I'm looking for a really solid parser generator where I can write my own grammar like in JavaCC or Lex/Yacc to parse files in a custom built language. The more portable and more efficient the better (two mutually exclusive requirements? :-) ) Any suggestions?
[#341941] safe move/copy with incrementing filenames? — Paul Archer <paul@...>
So, I'm working on some DAM (digital asset management) scripts, and I want
[#341950] Byte窶都tream parsing in Ruby — Elliott Cable <me@...>
So, I’ve a problem. I’m using ncurses (or possibly not, might just
Elliott Cable wrote:
Brian Candler wrote:
Elliott Cable wrote:
On Jul 22, 2009, at 00:46, Brian Candler wrote:
Eric Hodel wrote:
[#341953] create a variable number of loop — Li Chen <chen_li3@...>
Hi all,
[#341968] Mean method — "Älphä Blüë" <jdezenzio@...>
I'm working on a lot of math in my projects so I thought I would convert
Älphä Blüë wrote:
thanks everyone - looking over the suggestions and rewriting it to be
Okay round 2,..
Älphä Blüë wrote:
Here's an approach which avoids to_a and size entirely, and iterates
[#341969] Ruby/Oracle connectivity — Dheeraj Gambhir <checktestingthings@...>
Hi All,
Dheeraj Gambhir <checktestingthings@gmail.com> wrote:
Viktor Zacek <usenet2009@zacek.de> wrote:
[#341978] Another TCPSocket Question — Greg Chambers <gregory.w.chambers@...>
Sorry to bother you guys about this again. So my main problem right now
> Gary Wright
On 21 Jul 2009, at 15:31, Greg Chambers wrote:
[#341990] Parsing XML in Ruby — Adam Giewond <adamlor@...2.pl>
Hi!
Hi,
Bertram Scharpf wrote:
[#341996] Best practice question: logging — Pito Salas <rps@...>
I want to sprinkle my code (Ruby, not Rails) liberally with logging
[#342013] String spliting and inclusion — Stuart Clarke <stuart.clarke1986@...>
Hi all,
Hi --
On 7/22/09, David A. Black <dblack@rubypal.com> wrote:
On 7/22/09, Robert Dober <robert.dober@gmail.com> wrote:
[#342020] Bug in HTTPClient (shouldn't look for body in 304 response) — Iñaki Baz Castillo <ibc@...>
Hi, I've detected a bug in HTTPClient when receiving a 304 with no
[#342046] Simple problem with Regular Expression — Max Norman <maxnorman@...>
This simple application is an extension of an exercise from Peter
El Martes, 21 de Julio de 2009, Max Norman escribi=C3=B3:
[#342058] Default parameter values for methods in Ruby 1.9 — Iñaki Baz Castillo <ibc@...>
Hi, I expected that the following is valid in Ruby 1.9:
[#342067] Standard Deviation question regarding EDOM errors — "Älphä Blüë" <jdezenzio@...>
Okay,
> The logic in the second snippet is wrong (assuming the logic in the
Hi David,
[#342080] Trouble Counting Words, Sentences and Paragraphs — Max Norman <maxnorman@...>
I'm working on the first example application from 'Learning Ruby, from
Max Norman wrote:
7stud -- wrote:
[#342082] RubyGems 1.3.5 — Eric Hodel <drbrain@...7.net>
rubygems-update version 1.3.5 has been released!
[#342108] why I get an empty hash? — Li Chen <chen_li3@...>
Hi all,
Li Chen wrote:
Look at what happens when the array has one element:
7stud -- wrote:
[#342113] Best gem to parse Ruby with? — Tony Arcieri <tony@...>
I've been considering rewriting my require_all gem:
On 7/21/09, Tony Arcieri <tony@medioh.com> wrote:
On Tue, Jul 21, 2009 at 9:28 PM, Caleb Clausen <vikkous@gmail.com> wrote:
On 7/21/09, Tony Arcieri <tony@medioh.com> wrote:
On Wed, Jul 22, 2009 at 7:00 AM, Caleb Clausen <vikkous@gmail.com> wrote:
On 7/22/09, Tony Arcieri <tony@medioh.com> wrote:
[#342137] Openssl Upgrade Producing "Cipher is not a class (TypeError" — Lee Farrell <l33z3r@...>
Hi guys,
[#342140] OCIError: OCI Library Initialization Error and Unable to loa — Dheeraj Gambhir <checktestingthings@...>
Guys,
[#342185] Instantiating classes / sharing data between classes — Trevoke <trevoke@...>
I think this is what I want to do (maybe I'm thinking about it wrong):
[#342189] Incorrect -0.0.hash - Ruby bug. — "Thomas B." <tpreal@...>
Hello. I just found a bug in Ruby, version 1.9.1p0, Windows.
[#342190] Telnet Ruby — Amogh Gonwar <amogh.gonwar@...>
Hi!
Amogh Gonwar wrote:
I am able to use the script with a single prompt.
Amogh Gonwar wrote:
HI!
Amogh Gonwar wrote:
[#342198] Bug Rounding Floats? (9.245 * 100).round => 924? S/B 925! — ddoherty03 <ddoherty03@...>
All,
[#342208] uninitialized constant XmlEngine::Logger (NameError) — Venkat Akkineni <venkatram.akkineni@...>
Hi
Venkat Akkineni wrote:
Please see the attached file for the code.
[#342229] Question about text parsing — Stephen Beard <sbeard22@...>
Hello,
On Wednesday 22 July 2009 14:58:47 Stephen Beard wrote:
[#342251] Garbage collection oddities — David Masover <ninja@...>
Given this code:
[#342253] Again, Zlib load error on HP-UX — Denis Berezhnoy <denis.berezhnoy@...>
Hi guys,
[#342261] Ruby "star".... what's it? — Mirko Viviani <furetto76@...>
Hi everybody.
Mirko Viviani wrote:
Sorry,
[#342263] YAML interpretation — Karan Rajput <ganeshgirase@...>
I have one array in ruby as,
[#342286] How to integrate Ruby 1.9 in Netbeans 6.7? — Thiel Chang <schang@...>
Hi --,
[#342287] splitting............. — Hunt Hunt <aksn18july@...>
Hi Friends,
something similar...
At 2009-07-23 08:06AM, "Hunt Hunt" wrote:
[#342291] Pagination in Readline — Bryan Richardson <btrichardson@...>
Hello All,
[#342293] How to get real reference to an object? — Pavel Smerk <smerk@...>
Assume a big hash and/or a nested structure and the need of a plenty of
[#342303] Is it possible to justify table title using PDF::SimpleTable — Jim Burgess <jack.zelig@...>
Hi,
On Thu, Jul 23, 2009 at 9:47 AM, Jim Burgess<jack.zelig@gmail.com> wrote:
> Use Prawn instead. PDF::Writer is no longer supported, except for
On Thu, Jul 23, 2009 at 11:34 AM, Jim Burgess<jack.zelig@gmail.com> wrote:
[#342318] Dir.entries, output showing nils — Mmcolli00 Mom <mmc_collins@...>
When I output to line for RegisteredUser it shows all filenames as nil
[#342323] ruby /mysql needed help asap.. — Wrapster Aol <wrapster@...>
Hi all,
[#342347] Watching a website for periodic outages — Glen Holcomb <damnbigman@...>
I'm needing to monitor a web application for periodic outages and log the
On Thu, Jul 23, 2009 at 12:52 PM, Glen Holcomb<damnbigman@gmail.com> wrote:
On Thu, Jul 23, 2009 at 12:48 PM, Kyle Schmitt <kyleaschmitt@gmail.com>wrot=
Try recording and tweaking a JMeter script. It may just work (after a
On Thu, Jul 23, 2009 at 1:41 PM, Kyle Schmitt <kyleaschmitt@gmail.com>wrote=
[#342355] thoughts on rewriting irb? — ghorner <gabriel.horner@...>
Hi,
[#342367] Does mongrel ever freeze up? — Xeno Campanoli <xeno.campanoli@...>
I am seeing a small Rails app freeze up after being up for a while. It appears
[#342383] ARGF.eof? behavior — Mike Kasick <mkasick-rt@...>
Hi folks,
[#342385] Is recusion the best? — Li Chen <chen_li3@...>
Hi all,
[#342412] Methods depend on pairs of objects - best parctise pls? — Oren Shani <orenshani@...>
Hi All,
I would do a module and then mix that in to any of your required
[#342414] How to get amount of allocated memory from within a process (heap size) — Gennady Bystritsky <Gennady.Bystritsky@...>
What would be a good way to determine the current heap size (VSZ) for a pro=
[#342428] win32ole - windowsinstaller.installer method — Micke Micke <micke.sommar@...>
Hi all
Hello,
[#342445] Problem with hash (again) — "Thomas B." <tpreal@...>
It says in the documentation to hash function
On Fri, Jul 24, 2009 at 2:41 PM, Thomas B.<tpreal@gmail.com> wrote:
[#342453] using until — Lloyd Linklater <lloyd@2live4.com>
I am writing a little thing to find all the prime numbers to a million.
Hi --
On 25.07.2009 12:14, David A. Black wrote:
Hi --
On 27.07.2009 00:32, David A. Black wrote:
[#342458] Problem with each_key — Marcin Górski <agormar@...>
Hi,
[#342472] keyword_arguments v0.0.1 — dominikho@...
This is the first release (and actually my first announce on this list
[#342479] Is an exception (Error) raised while using YAML.load_file() — Venkat Akkineni <venkatram.akkineni@...>
Hi
Actually let me improve my question. This is the erro I get
[#342487] Unit Testing and Instance Vars — Greg Willits <lists@...>
I find myself often wondering about some design choices that result from
[#342503] Please debug this program — Prateek Agarwal <prateek.agwl@...>
I had to make a program to estimate the value of pi using Ramanujan's
[#342508] C extension and Ruby threads — John Bob <johnbob31@...>
Hi all,
[#342516] webgen 0.5.9 released — Thomas Leitner <t_leitner@...>
Hey everybody!
[#342517] Visual Test Automation — Greg Willits <lists@...>
OK, I guess I just don't kow to find it, but I'm looking for something
[#342520] Invisible button? — Andrés Suárez <ansuga@...>
I'm trying to scrap http://www.ryanair.com/site/ES/. I'm looking for the
[#342547] Raw bytes in 1.9 — Kless <jonas.esp@...>
I want to stick raw bytes (0-255) into a variable.
[#342559] query — Hunt Hunt <aksn18july@...>
hi friends,
[#342573] What is the power function — Prateek Agarwal <prateek.agwl@...>
I am new to Ruby and am still learning some of the basic stuff.
I think you're looking for:
Chris Dempsey wrote:
On Tue, 28 Jul 2009, Prateek Agarwal wrote:
[#342576] I just can't understand why this program is not working — Prateek Agarwal <prateek.agwl@...>
Can someone please tell me what the problem with this program is?
On Tue, 28 Jul 2009, Prateek Agarwal wrote:
Matthew K. Williams wrote:
[#342586] Set class and repetetive elements — Marcin Górski <agormar@...>
Hi,
[#342599] Ruby Readline Maintainer — Bryan Richardson <btrichardson@...>
Hello all,
[#342618] Posting an XML document to a protected API — Maruthy Mentireddi <maruthymukund@...>
I am working on the FrontEnd of a website and need to make a RESTful
The first thing I would do is try to get a response from the server
7stud -- wrote:
[#342622] Unexpected output in a metaprogramming application — RichardOnRails <RichardDummyMailbox58407@...>
Hi,,
[#342646] Good way to not forget to install gems on a server? — Max Williams <toastkid.williams@...>
I just broke my wife's website (my current side project) because i was
Max Williams wrote:
[#342660] I need some help with Ruby query building and query time — Alpha Blue <jdezenzio@...>
Here is a pastie of my current code. In the formatting on pastie, it's
[#342666] how do I work around a 'can't activate gem xxx version 1.2.3, because gem xxx version 2.3.4 is already activated — Reid Thompson <reid.thompson@...>
How can i work around this error? Is it possible to force ruport to use
Ryan Davis wrote:
[#342670] How to force RDoc not to parse a file? — Iñaki Baz Castillo <ibc@...>
Hi, I want to include a text file (LICENSE.txt) in the RDoc
I単aki Baz Castillo wrote:
[#342671] Indexing hash with longer strings faster? — jablan <jablan@...>
Hi, I have some wierd results measuring Ruby's hash operations,
First, thanks a lot for your benchmarking tips, I'm new in the
[#342674] RDoc: How to link to a method description from other rdoc page? — Iñaki Baz Castillo <ibc@...>
Hi, RDoc documentation says:
2009/7/28 I=C3=B1aki Baz Castillo <ibc@aliax.net>:
[#342684] RDoc: Really wrong output (Module#method instead of Module::Class#method) — Iñaki Baz Castillo <ibc@...>
Hi, I'm getting really crazy with RDoc (tested in 1.8 and 1.9).
2009/7/28 I=C3=B1aki Baz Castillo <ibc@aliax.net>:
[#342725] previous value in array block — Jason Lillywhite <jason.lillywhite@...>
Is this a good way to use a previous value in an array block?
>
On Wed, Jul 29, 2009 at 8:18 AM, Harry Kakueki<list.push@gmail.com> wrote:
each_cons seems natural here:
On Wed, Jul 29, 2009 at 10:50 AM, Xavier Noria<fxn@hashref.com> wrote:
Hi --
On Wed, Jul 29, 2009 at 2:16 PM, David A. Black<dblack@rubypal.com> wrote:
[#342733] upcase in 1.9.2-preview1 — Brian Candler <b.candler@...>
Can someone confirm whether this is intentional or not?
[#342740] instance_eval — Abhishek Singh <abhisheksingh19@...>
hii
[#342770] wxruby problem — Rainer <wolf.rainer@...>
Hello,
[#342776] Dynamically mixins? — Ch Ba <navouri@...>
So I'm trying to figure out how I can allow an end user to decide which
[#342779] johnson 1.1.2 Released — John Barnette <jbarnette@...>
johnson version 1.1.2 has been released!
Cool to see that Johnson has a Google Group. For some reason I had trouble
[#342781] java.text api parallel in Ruby — Venkat Akkineni <venkatram.akkineni@...>
Hi
On 30.07.2009 00:32, Venkat Akkineni wrote:
Robert Klemme wrote:
On 30.07.2009 18:17, Venkat Akkineni wrote:
[#342789] How to save string to a file as UTF-8 — Bali Bali <bill.z.li@...>
Below code:
[#342806] How Come Ruby is Text-Oriented? — Mike Stephens <rubfor@...>
I've just been re-reading Byte August 1981 - an edition dedicated to
Mike Stephens wrote:
On Jul 30, 10:11=A0am, Brian Candler <b.cand...@pobox.com> wrote:
Mike Stephens <rubfor@recitel.net> writes:
You could also ask "why are we still reading books, when we can see
On 2009-07-30, Mike Stephens <rubfor@recitel.net> wrote:
On Tuesday 04 August 2009 03:50:12 pm Tom Morris wrote:
David Masover wrote:
On Wednesday 05 August 2009 03:58:34 am Mike Stephens wrote:
[#342824] Assignments — Ftf 3k3 <ftf3k3@...>
Hello folks, I have a question about Ruby 1.8.7.
[#342865] how to stop the subclass from overriding a method. — Venkat Akkineni <venkatram.akkineni@...>
Hi
On Jul 30, 3:26=A0pm, Tim Pease <tim.pe...@gmail.com> wrote:
On 30.07.2009 23:35, pharrington wrote:
Venkat Akkineni <venkatram.akkineni@gmail.com> wrote:
[#342875] rails training — Derek Smith <derekbellnersmith@...>
I asked this in the Rails forum, but no replies, so....
[#342877] 1.9 Installer — Bruno Sousa <brgsousa@...>
Why they don't release a ruby 1.8.7 or ruby 1.9 installer for windows?
[#342893] `+': Range can't be coerced into Fixnum (TypeError) — Prateek Agarwal <prateek.agwl@...>
I am getting the follower
[#342902] How to include a string into a regex comparison? — Iñaki Baz Castillo <ibc@...>
Hi, I don't get solving the following issue (sure it's easy but I cannot do=
2009/7/31 I=C3=B1aki Baz Castillo <ibc@aliax.net>:
[#342932] Slow regular-expression engine — w_a_x_man <w_a_x_man@...>
This Awk code takes less than one hundredth of a second to run:
[#342935] Modifying Struct members — Yossef Mendelssohn <ymendel@...>
Is it possible to modify the members of a Struct class once it's been
Yossef Mendelssohn wrote:
[#342942] gem list -r -d *** generates Error*** on http://gems.github.com — John <jhs408@...>
I'm using ruby 1.8.6 & gem 1.3.5 :
[#342949] : Can't find nodes using XPath, namespaces mess — Stanislaw Wozniak <stan@...>
Hi,
[#342952] Ruby-net-ldap fail — Bruno Sousa <brgsousa@...>
Hi,
On Fri, Jul 31, 2009 at 2:15 PM, Bruno Sousa<brgsousa@gmail.com> wrote:
On Fri, Jul 31, 2009 at 5:22 PM, Ben Bleything<ben@bleything.net> wrote:
On Fri, Jul 31, 2009 at 2:42 PM, <brabuhr@gmail.com> wrote:
Ben Bleything wrote:
[#342959] debugging messages from a daemon program — Will Parsons <oudeis@...>
I'm developing a daemon written in Ruby and in the course of development I
Re: Creation of Table Data From Rake
Rob,
Thanks mate. I wanted to follow-up over here as well since you really
did a great job helping me out with this issue. Here's what I ended up
doing:
Okay, after testing and testing, I finally managed to get it all to
work. However, I'm sure my way is very clumsily implemented but it was
the only way I understood how to read the values and place them into the
table.
I called the following from Rake:
update_tsos_offense.table_update(TsosOffense, stats) # model, # array
And in the model for table_update I did:
def table_update(model, array)
if model.compiled_this_week.find(:all).empty?
puts "Updating #{model} for the following teams:"
120.times do |i|
team = Team.find(i + 1)
values = {:compiled_on => Date.today.strftime('%Y-%m-%d')}
values[:team_id] = i + 1
values[:totoff] = array[i + 1][:totoff]
values[:rushoff] = array[i + 1][:rushoff]
values[:passoff] = array[i + 1][:passoff]
values[:scoroff] = array[i + 1][:scoroff]
values[:rzonoff] = array[i + 1][:rzonoff]
values[:fumlost] = array[i + 1][:fumlost]
values[:passhint] = array[i + 1][:passhint]
values[:tolost] = array[i + 1][:tolost]
values[:sacksall] = array[i + 1][:sacksall]
values[:tackflossall] = array[i + 1][:tackflossall]
values[:passeff] = array[i + 1][:passeff]
values[:firdwns] = array[i + 1][:firdwns]
values[:thrdwncon] = array[i + 1][:thrdwncon]
values[:fthdwncon] = array[i + 1][:fthdwncon]
model.create values
puts "#{team.name} values are being saved."
end
else
# data is already populated for the week so don't update
puts "Current Week's Ratings are Already updated!"
end
end
I had to add 1 because the i count started at 0. I also couldn't use
the constant or iterate using each or each_with_index because one, I
couldn't get it to sort.
This way does work though and so I'm happy that it at least is
functioning. Although, I'm sure it can use some cleanup. Please let me
know if anyone sees a way for me to make this code a bit cleaner.
Many thanks Rob.
--
Posted via http://www.ruby-forum.com/.