[#379166] question: threads behaviour — Raphael Bauduin <rblists@...>
Hi,
Raphael Bauduin <rblists@gmail.com> wrote:
On Tue, Mar 1, 2011 at 10:27 AM, Eric Wong <normalperson@yhbt.net> wrote:
Robert Klemme <shortcutter@googlemail.com> wrote:
[#379173] Pattern matching French accented characters — Thomas Luedeke <thomas.luedeke@...>
I am writing a French conjugation testing script, and a significant
[#379189] Semantics of 1.9.2 Set — John <john.g.norman@...>
I'm looking at the doc for the 1.9.2 Set class, which says (http://
[#379190] exec using sh -c or directly running the command, depending on the system — Xavier No謖le <xavier.noelle@...>
Hello !
Ruby tells the shell to execute the command (that's why you see "sh -c")
2011/3/2 Albert Schlef <albertschlef@gmail.com>:
Looks like there was a change in Ruby, where perhaps it now does an
[#379204] rubygems-update 1.6.0 Released — Eric Hodel <drbrain@...7.net>
rubygems-update version 1.6.0 has been released!
[#379206] Older versions of Ruby — Dave Ford <infi_u@...>
Hello,
[#379235] some unrecognized syntax error — Ruby Fan <sweensonti@...>
test.rb:1: syntax error, unexpected kDEF, expecting $end
[#379254] Finding all empty directories in a subversion checkout — Markus Fischer <markus@...>
Hi,
[#379259] What is inject doing here? — Todd Benson <caduceass@...>
Why does this not do what I expect?
On Thu, Mar 3, 2011 at 2:15 AM, Todd Benson <caduceass@gmail.com> wrote:
[#379261] How can i get the first letter of this string — duc nguyen <minhduct4@...>
Hello, i'm a newbie. I have a question that how can i get the first
You can use the /u flag for a regex to signal utf-8 matching...but you
[#379268] Anything like Array.contains? method — Paul Sholtz <paul.sholtz@...>
Is there a method in the Ruby array object that gives anything like a
[#379279] How to stop a file from being required — Usman Hussain <usmanhhussain@...>
Hi Guys,
[#379285] Extracting the shortest string from an array — Iñaki Baz Castillo <ibc@...>
Hi, given the following array:
Hi,
On 03.03.2011 16:02, Thorsten Hater wrote:
On Thu, Mar 3, 2011 at 11:35 AM, Robert Klemme
On Thu, Mar 3, 2011 at 7:18 PM, Josh Cheek <josh.cheek@gmail.com> wrote:
[#379293] open4 stdin.close required? — "Brendan G." <brendan.grainger@...>
Hi,
[#379298] RubyForge ssh authentication change — Tom Copeland <tom@...>
Hi all -
[#379299] How to assign an element to a hash only if its value is not nil? — "Thomas W." <thomas@...>
hash = {}
If you don't mind also overwriting the value if the value is false as =
On Thu, Mar 3, 2011 at 10:10 AM, Thomas W. <thomas@thomas-witt.com> wrote:
On 03.03.2011 18:38, Mike Moore wrote:
On Thu, Mar 3, 2011 at 10:55 AM, Robert Klemme
On Thu, Mar 3, 2011 at 7:27 PM, Mike Moore <blowmage@gmail.com> wrote:
On Fri, Mar 4, 2011 at 3:05 AM, Robert Klemme
[#379319] slice! invalid byte sequence in UTF-8 — Marek Kis <leisikkeram@...>
Hello
[#379327] extconf.rb spitting out SH Makefile on windows? — Mr Eiland <mreiland1978@...>
Title says it all, I'm running ruby extconf.rb in a visual studio 2008
On Mar 15, 3:09=A0am, Mr Eiland <mreiland1...@yahoo.com> wrote:
Luis Lavena wrote in post #987573:
On Thu, Mar 17, 2011 at 2:23 AM, Mr Eiland <mreiland1978@yahoo.com> wrote:
Phillip Gawlowski wrote in post #987872:
On Thu, Mar 17, 2011 at 6:30 PM, Mr Eiland <mreiland1978@yahoo.com> wrote:
Phillip, until you stop with the strawmen, I'm going to ignore you from
[#379334] rubygems-update 1.6.1 Released — Eric Hodel <drbrain@...7.net>
rubygems-update version 1.6.1 has been released!
[#379356] Removing methods from an inherited class — Iñaki Baz Castillo <ibc@...>
Hi, if class A contains method "hello" and class B inherits from A, is
[#379362] printing regex results — "New C." <coding25@...>
How do you get Ruby to print the string that matches a certain regex
[#379378] posix-spawn 0.3.0 -- first public release (codename, "tigers blood") — Ryan Tomayko <rtomayko@...>
<https://github.com/rtomayko/posix-spawn>
Did you know about the "spoon" gem? It's a very simple binding of
On Fri, Mar 4, 2011 at 11:08 PM, Charles Oliver Nutter
[#379388] %s[ I think %s[] should build an array of symbols instead of a single symbol ] — Joey Zhou <yimutang@...>
I find %s[] builds a single symbol.
[#379391] UTF-8 support - still stuck — Thomas Luedeke <tluedeke@...>
OK, I appreciate the feedback on my last post regarding pattern matching
[#379406] What does "ARGF.class" mean? — Joey Zhou <yimutang@...>
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
From the source code, I see this:
[#379410] Ruby - Missed some core computer science world ? — Lucky Dev <lucky.developer@...>
I am doing ruby programming and been developing rails3 apps for some
Lucky Dev <lucky.developer@gmail.com> writes:
Robert
On Mon, Mar 7, 2011 at 3:28 PM, Mike Stephens <rubfor@recitel.net> wrote:
[#379423] How to get class of BasicObject ancestor (Ruby 1.9.2)? — Alexey Petrushin <axyd80@...>
There's no :class method on BasicObject, is there any way to get class
...or even simpler: just open up BasicObject and monkeypatch a class
[#379429] RCAP 0.4 Released — Farrel Lifson <farrel.lifson@...>
The Common Alerting Protocol is a lightweight standard to facilitate
[#379430] (ArgumentError) - in `initialize': wrong number of arguments (4 for 0) — Micah Wolfe <52w7te9ara@...>
Greetings all,
Greetings,
On Fri, Mar 11, 2011 at 11:37 AM, Micah Wolfe <52w7te9ara@snkmail.com> wrote:
Am 11.03.2011 20:53, schrieb Hassan Schroeder:
I think it's more likely he meant to put this question on the other thread
Andrew Wagner wrote in post #986975:
On Sun, Mar 13, 2011 at 9:51 AM, Micah Wolfe <52w7te9ara@snkmail.com> wrote:
[#379441] class cannot find module — Catsquotl <catsquotl@...>
Hi,
[#379449] Class Variables in EigenClass — JP Billaud <jp.billaud@...>
I am using Ruby 1.8.7 and I bumped into a weird behavior regarding
Actually it seems that for some reasons the @@test class variables ended
[#379455] mysql -- cannot connect (can in Perl) — "John P." <jlpoole56@...>
My goal: to allow database connections to a remote database from Google
I believe that mysql2 requires that you have installed a full instance
[#379467] Checking if two files are the same — "New C." <coding25@...>
I have a got a few folders which may have same files under different
On Mon, Mar 7, 2011 at 11:48 AM, New C. <coding25@yahoo.com> wrote:
[#379469] basic programming question, help please — Kaye Ng <sbstn26@...>
class Square
The class method in Ruby is represented using self.<method name> or <class
On Mon, Mar 7, 2011 at 5:31 PM, Gary Wright <gwtmp01@mac.com> wrote:
On Tue, Mar 8, 2011 at 10:01 AM, Eric Christopherson <
[#379478] Hamming Distance — Martin Hansen <mail@...>
What is the fastest way to calculate the Hamming Distance between two
[#379487] http post and authorization header for twitter — boo boo <s.w.timko@...>
I am trying to send an authorization header to the twitter api
Thanks for the reply! So i tried that code and got this error: "Failed
[#379493] gem to deal with config file / program options — Shadowfirebird <shadowfirebird@...>
Hi all,
[#379496] Forms not seen by Mechanize (US Bank login) — Phil Henley <dantes990@...>
I'm writing a script to login to my bank. Here's how the login
[#379511] cant find header file ruby.h — pradeep koppaka <bulls66@...>
hi I am trying to install passenger gem. But it is throwing the
[#379523] rb-appscript installation on MAC OS 10.6.3 (Snow Leopard) — Saurabh Gupta <saurabhguptacse@...>
Hello,
[#379524] Duplicate methods removal in Ruby's TODO ? — David Unric <dunric29a@...>
Hi,
I just think some methods should add a trailing exclamation mark, which
On Tue, Mar 8, 2011 at 1:30 PM, David Unric <dunric29a@gmail.com> wrote:
Robert Klemme wrote in post #986190:
Josh Cheek <josh.cheek@gmail.com> wrote:
[#379568] OS X 10.6 + ruby-1.9.2-p180.tar — "Charles S." <charles@...>
In OS X 10.6.6, I downloaded ruby-1.9.2-p180.tar and performed a
[#379572] Unexpected problem: hash[key] << value — Joey Zhou <yimutang@...>
# ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
[#379583] Posting XML — JesseQA <uscengineer@...>
Hi everyone. A newbie with ruby/xml so I am not sure where my trouble
[#379594] Most simple usage of zlib or pr-zlib — Nicholas Wieland <ngw@...>
HI *, I'm trying to unzip a file programmatically, and having lots of
[#379597] Comparison between C++ and Ruby Variables — "Mayank K." <mayank.kohaley@...>
I have blogged about the comparison between c++ and ruby variables and
On Wed, Mar 9, 2011 at 1:12 PM, Mayank K. <mayank.kohaley@gmail.com> wrote:
On Wed, Mar 9, 2011 at 6:25 PM, Phillip Gawlowski <
On Wednesday, March 9, 2011 3:05:13 PM UTC+1, Mayank Kohaley wrote:
[#379623] Touch Typing Tutor What do you think of my code? — Justin brainy <justin.domingue@...>
Hello! I'm new to Ruby, but I spent some time with C. I would like to
[#379625] RMagick Install Woes ;_; — Pierre Pepe <paniaguagsxr@...>
Running Win7 64 bit
[#379643] delete one line of file — Joyce Lima <jojosl@...>
I'm doing one work school, sorry don't write english very good, I'm
[#379647] can't run script/console from ubuntu upgrade 9.10 -> 10.04 — Anshu Agr <arun@...>
I just upgraded my ubuntu from 9.10 to 10.04,
[#379649] sleepy_penguin 2.0.0 - Linux I/O events for Ruby — Eric Wong <normalperson@...>
sleepy_penguin provides access to newer, Linux-only system calls to wait
[#379660] HTTP response 302 — Amruta Maniyar <amruta911@...>
Hello Friends,
[#379673] problem with compilation — Ma Sz <magda.szlagor@...>
I'm totally newbie at Ruby. What is wrong whit this code
[#379686] What do you use with Ruby for GUI programming and why? — Robert <sigzero@...>
Is there a push to one toolkit or the other?
> Is there a push to one toolkit or the other?
I use Shoes. I'm biased; I'm one of the maintainers.
> I use Shoes. I'm biased; I'm one of the maintainers.
> Or is that a stupid thing to say?
Shoes is far and away the easiest and most pleasant way to get a GUI that I've seen - in any language. I'm a bit worried about having to drop back to 1.9.1, and I sure miss the Linux installer. But I absolutely have to try Green Shoes, though.
Hi
[#379707] universal symbol — vahag vardanyan <vahagvardanyan@...>
HI
[#379728] Is an elsif loop possible? — Devin Rawlek <waffles008@...>
Hi Everyone,
[#379735] Problem in script help (shoes) — Lark Work <lars_werkman@...>
heey, i have a problem with my script could some one please look at it
[#379755] send() with a block? — 7stud -- <bbxx789_05ss@...>
Why don't the ruby docs say that send() can take a block?
On Sat, Mar 12, 2011 at 8:45 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
On Sun, 13 Mar 2011 06:01:31 +0900, Sean O'Halpin wrote:
Peter Zotov wrote in post #987115:
On Sun, 13 Mar 2011 23:26:01 +0900, Brian Candler wrote:
Peter Zotov wrote in post #987191:
Or to put it another way:
On Sun, Mar 13, 2011 at 11:00 AM, Brian Candler <b.candler@pobox.com> wrote:
On Sat, Mar 12, 2011 at 2:45 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
[#379767] Bless Matz and his teammates in Japan — Joey Zhou <yimutang@...>
Wish them and their families all in safety.
[#379807] best search method — Dave Lilley <dglnz2@...>
I've got a small contact mysql database and need to do a soundex type of
Excerpts from Dave Lilley's message of Mon Mar 14 08:58:23 +0000 2011:
[#379810] Unespected result of define_method with "for" and "each" — lucapette <lucapette@...>
Hi everyone,
[#379815] Watir - How to access an element which is of this kind of format — "balaji t." <balaji_tunuguntla@...>
Hi all,
[#379836] Doubts about Ruby and JRuby — Giuseppe luigi Punzi ruiz <glpunzi@...>
Hi all,
[#379845] Ruby jobs — Toby Gambill <toby.gambill@...>
All=20
In article
A brilliant breakdown, Doc. Thank you.
> I have several great jobs around the country for ruby developers please contact me on my cell if you would like to hear more about these positions
All I do apologize for the quick knee jerk posting, I am looking for the pa=
[#379846] Understanding YAML and this practice in general — Fily Salas <fs_tigre@...>
Hi,
[#379889] SHA1 Decryption!! — Gormare Kalss <gormare@...>
Hello! I hope that no one will be offended by this question!! Ive been
On 15/03/11 18:07, Gormare Kalss wrote:
Matthew Bloch wrote in post #987597:
On Tue, Mar 15, 2011 at 11:38 AM, Gormare Kalss <gormare@hotmail.com> wrote:
Ben Bleything wrote in post #987607:
On Tue, Mar 15, 2011 at 1:38 PM, Brian Candler <b.candler@pobox.com> wrote:
[#379899] Proposal: require to return path to loaded file — Alex Young <alex@...>
If you're doing anything at all involved with $LOAD_PATH, it can be a
[#379900] JRuby 1.6.0 released — Thomas E Enebo <tom.enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.6.0.
Awesome! Great job guys.
Does this release mean that it is generally safe to use 1.9 style code with
On Mar 16, 2011, at 5:33 PM, Chuck Remes wrote:
That environment variable would be RUBYOPT
[#379915] NoMethodError#message takes very long — Adiel Mittmann <adiel@...>
Hello.
On Mar 15, 2011, at 8:25 PM, Adiel Mittmann wrote:
[#379936] The future of the character-encodings library — Nikolai Weibull <now@...>
Hi!
Eric, could you please reply to all in the future? I have =E2=80=9Cskip=E2=
[#379945] TCPSocket: how to realize that the other endpoint has closed the connection? — Iñaki Baz Castillo <ibc@...>
Hi, I open a TCP connection with a server:
It's possible that your first send() is stuck in a buffer. See if
On Thu, Mar 17, 2011 at 3:38 AM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
After the server closes its side of the socket, there must be some
[#379948] How to View Output - Stop App — Rob Gu <flyingv786@...>
Greetings, total noob question I'm sure. I'm trying to run a simple
[#379973] taking content from arrays to open a .3ds file — stephanie borg <borg.stef@...>
This is part of my program. what it is intented to do is get the first
hello,
What it's outputing is :
[#379976] raindrops 0.5.0 - TCP/UNIX listen queue stats for Linux — Eric Wong <normalperson@...>
Raindrops is a real-time stats toolkit to show statistics for Rack HTTP
Polishing up the last (0.5.0) release
Hi Eric,
Ben Bleything <ben@bleything.net> wrote:
[#379998] Inserting hash value slows down as table gets larger — Philip Rhoades <phil@...>
People,
I suspect is it the memory related to object creation for Array.new(2){ =
Dave Baldwin wrote in post #987924:
Brian,
> The other thought I had was putting the data into a sqlite3 db - I will
[#380007] Replacing elements in an array? — Jen <jen.bottom@...>
Hello,
[#380008] What is p's real behavior? — Yu-Hsuan Lai <raincolee@...>
I read the RDoc and it says:
[#380035] "10 Minutes to Your First Ruby Application" Deconstructed! — "Shangz B." <shangbaby@...>
Hello and warm wishes to everyone who reads my post :)
[#380037] matching a word in any number of characters — Chad Perrin <code@...>
I have need of some code to match any of a number of words in any number
> I have need of some code to match any of a number of words in any =
On Fri, Mar 18, 2011 at 05:15:08PM +0900, Ryan Davis wrote:
> Your opening made you come off like a jackass with
On Fri, Mar 18, 2011 at 05:59:20PM +0900, Andrea Dallera wrote:
[#380053] Array range values assignment — Ruby Fan <sweensonti@...>
a = ["A","A","A","A","A", "A","A","A","A","A"]
[#380074] Method Call from inside a file. — Tridib Bandopadhyay <tridib04@...>
I coded a new method within gc.c file defining as--
[#380076] Fwd: Using value from variable in .times method? — Jen <jen.bottom@...>
[#380085] A question about Ruby 1.9's "external encoding" — Albert Schlef <albertschlef@...>
I have the following program:
On 03/20/2011 01:38 AM, Albert Schlef wrote:
Robert K. wrote in post #988404:
On 20.03.2011 14:19, Brian Candler wrote:
Robert K. wrote in post #988429:
On Sun, Mar 20, 2011 at 6:39 PM, Brian Candler <b.candler@pobox.com> wrote:
On 21.03.2011 16:00, Robert Klemme wrote:
On Wed, Mar 23, 2011 at 12:24 AM, Markus Fischer <markus@fischer.name> wrot=
[#380090] newbie understanding blocks — Neubyr Neubyr <neubyr@...>
I am learning Ruby and having some difficulty understanding blocks. I
[#380103] Name generator | I need feedback — "Justin D." <justin.domingue@...>
Hello!
Thanks a lot anurag! Your answer is exactly what I wanted =)
[#380116] The best practices to learn Ruby — Fily Salas <fs_tigre@...>
Hi,
I specifically run a project about teaching Ruby: http://hackety-hack.com/
[#380149] scope of assignments with lambda — Fearless Fool <r@...>
This isn't a question -- it's just a comment that I find it awesome and
Fearless Fool wrote in post #988575:
[#380156] Run CGI scripts in own webserver — Kevin Kevin <kevin_de_valck@...>
Hello,
[#380157] Search files on windows shares — Tee Dubb <teedubb@...>
Did some googling and didn't see much on this topic, any ideas?
[#380160] fxri for windows? — Michael Smith <smiley.mikey@...>
Hi,
[#380190] Difference between for and someclass.each do |var| — "Tyrel R." <tyrel@...>
Hello everyone,
[#380196] summing values in a hash? — Jen <jen.bottom@...>
Hi,
On Tue, Mar 22, 2011 at 12:57 PM, Jen <jen.bottom@gmail.com> wrote:
On Tue, Mar 22, 2011 at 2:01 PM, Adam Prescott <mentionuse@gmail.com> wrote:
[#380205] How could I make the Ruby 1.9 string ignore the invalid utf-8 byte sequence in split? — Stanley Xu <wenhao.xu@...>
Dear buddies,
Sorry, I just mis-sent the half-typed mail by a short-cut in gmail.
[#380220] Ruby corrupts after a period of time — Chip Burke <cburke@...>
I have recently upgraded from Ruby 1.8.7 to 1.9.2p180 on Fedora. After a
Ryan Davis wrote in post #988782:
On Thu, Mar 24, 2011 at 1:58 PM, Chip Burke <cburke@innova-partners.com> wrote:
unknown wrote in post #989053:
Some more news. I built a clean Fedora 13 x86_64 box last night to test
On Fri, Mar 25, 2011 at 10:43 AM, Chip Burke <cburke@innova-partners.com> wrote:
[#380232] How to use String.split to split a mixed encoding string(part encoded in gbk, part encoded in utf-8) — Stanley Xu <wenhao.xu@...>
Dear Buddies,
[#380236] Dynamically calling a certain set of methods — Vicente Bosch Campos <vbosch@...>
Hi,
You can save yourself some CPU cycles by pre-compiling the list of
[#380241] Nil can't be coerced into Fixnum (TypeError) — "Mayank K." <mayank.kohaley@...>
I am trying to execute the following code and it seems like the array is
[#380262] Converting PHP to Ruby — "Jack W." <jack.whitman403@...>
Hi all,
If you'd like, here's an updated code with real variable names and some
[#380276] iteration question — felix chang <funal.zhang@...>
Dear all:
[#380299] Can I use MacRuby without knowing Objective-C — Fily Salas <fs_tigre@...>
Hi,
[#380300] logging 1.5.0 — Tim Pease <tim.pease@...>
logging version 1.5.0
[#380306] shortcut for add unless nil ? — Iain Barnett <iainspeed@...>
Hi,
You could do something like this (untested):
On Fri, Mar 25, 2011 at 7:02 AM, Iain Barnett <iainspeed@gmail.com> wrote:
On Fri, Mar 25, 2011 at 7:52 AM, Robert Klemme
On Fri, Mar 25, 2011 at 4:42 PM, Iain Barnett <iainspeed@gmail.com> wrote:
...personally i think it would be nice to be able to define new operators
On 25.03.2011 20:06, serialhex wrote:
An alternative for the original poster's ENV variables potentially
On Sat, Mar 26, 2011 at 07:21:25PM +0900, Robert Klemme wrote:
[#380325] Regexp, matching only the content within parentheses — Emil Kampp <ekampp@...>
Hi.
perl's regexes have a recursive feature, which can solve your problem.
On Fri, Mar 25, 2011 at 2:58 AM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
[#380338] mkmf have_func usage — Iain Barnett <iainspeed@...>
Hi,
[#380341] break from select — Venkat Surabhi <surabhiamar.mech@...>
Hi,
Hi Venkat,
[#380353] Pid of the other end of a popen3? — Alex Young <alex@...>
Is it possible to get the pid of a process at the other end of an IO
[#380359] How to get the value of a singleton class? — Joey Zhou <yimutang@...>
Here is a sample code:
On Fri, Mar 25, 2011 at 1:23 PM, Joey Zhou <yimutang@gmail.com> wrote:
Robert Dober wrote in post #989182:
On Sat, Mar 26, 2011 at 12:31 AM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
On Sat, Mar 26, 2011 at 4:44 AM, Robert Dober <robert.dober@gmail.com> wrot=
On Sat, Mar 26, 2011 at 1:15 PM, Aaron D. Gifford <astounding@gmail.com> wrote:
[#380361] Do I need to upgrade to the latest version of Ruby — Fily Salas <fs_tigre@...>
Hi,
[#380364] NArray install fail with DevKit on Win — Chris Lervag <chris.lervag@...>
Hi All
> Attempting to install narray however failed (pasting the command prompt
[#380368] Dynamic classes — PsiPro <arjesins@...>
So I am working on some metaprograming and have some questions about
Vicente Bosch Campos wrote in post #989219:
I understand how it works at the moment. Still if you are doing =
On 26.03.2011 15:38, Vicente Bosch Campos wrote:
[#380401] How to "find" new lines — Damir Sigur <damir@...>
I am new to ruby, and was trying to make a small code which would check
[#380423] Re: gem list --remote --details gives "ERROR: While executing gem ... (NoMethodError)" — Markus Fischer <markus@...>
I probably should have added the version of gem ...
Hi,
I guess we should bring this conversation back around to the heart of the
[#380429] critique please — Charles Oppenheimer <choppen5@...>
Folks, the first ruby I've written that I actually needed (I shortened
[#380430] Clearer errors in 1.9's minitest — spiralofhope <spiralofhope_rubyml@...>
Hello!
[#380451] trying to require nokogiri — Ted Flethuseo <flethuseo@...>
Hi everyone,
[#380492] amalgalite 1.1.1 Released — Jeremy Hinegardner <jeremy@...>
[#380500] win32ole outlook run macro — zak <u.gotzes@...>
Hi,
[#380511] with block in ruby — Mario Ruiz <tcblues@...>
is there any way in ruby to do something like:
[#380520] A two-minute Ruby flavoured survey to help shape a new service. — "Mic P." <micpringle@...>
Please take a few seconds to fill out the following survey ...
On Tue, Mar 29, 2011 at 03:46:17AM +0900, Mic P. wrote:
well this is a forum so why not have the questions entered here since
Stu wrote in post #989698:
On Tue, Mar 29, 2011 at 9:34 AM, Mic P. <micpringle@gmail.com> wrote:
[#380536] YARV bytecode switch loop — Carter Cheng <cartercheng@...>
Hello,
[#380558] Why can a floating point number be used as an array index? — Jeff Dik <s450r1@...>
Why can a floating point number be used as an array index? Anybody
On Wed, Mar 30, 2011 at 03:35:21AM +0900, Jeff Dik wrote:
It may do integer truncation, but we need to think of what an Array
On Tue, Mar 29, 2011 at 10:38 PM, <me@kmwhite.net> wrote:
[#380573] Encoding issues when parsing HTML in 1.9 — ctdev <ctdev421@...>
Hi, I'm having some encoding problems while parsing HTML with Nokogiri
[#380575] Getting an Error with local variable — "Cheryl M." <cherylminor85@...>
class String
now im getting the error:
> multiple values for the block paramater(0 for 1)
On Wed, Mar 30, 2011 at 5:00 AM, Haruka YAGNI <hyagni@gmail.com> wrote:
[#380586] functional paradigm taking over — Robert Klemme <shortcutter@...>
Hi,
Although a Ruby fan, I must say I'm spending all my time looking at
On Wed, Mar 30, 2011 at 06:38:19PM +0900, Mike Stephens wrote:
On Wed, Mar 30, 2011 at 4:49 PM, Chad Perrin <code@apotheon.net> wrote:
On Thu, Mar 31, 2011 at 12:19:25AM +0900, Robert Klemme wrote:
On Thu, Mar 31, 2011 at 1:24 AM, Chad Perrin <code@apotheon.net> wrote:
On Thu, Mar 31, 2011 at 12:30:07PM +0900, Phillip Gawlowski wrote:
Chad Perrin wrote in post #990130:
On Thu, Mar 31, 2011 at 5:08 AM, Mike Stephens <rubfor@recitel.net> wrote:
Josh Cheek wrote in post #990579:
On Sun, Apr 3, 2011 at 7:29 AM, Mike Stephens <rubfor@recitel.net> wrote:
On 03.04.2011 09:48, Phillip Gawlowski wrote:
On Sun, Apr 3, 2011 at 1:00 PM, Robert Klemme
*Let's not pay too much attention to the code snobs on here. I've yet to
On Sun, Apr 3, 2011 at 2:17 PM, Everett L Williams II
Phillip Gawlowski wrote in post #990664:
On Sun, Apr 3, 2011 at 1:44 PM, Mike Stephens <rubfor@recitel.net> wrote:
On Sun, Apr 3, 2011 at 1:18 PM, Phillip Gawlowski
On Sun, Apr 03, 2011 at 10:13:29PM +0900, Martin DeMello wrote:
On Mon, Apr 4, 2011 at 1:30 AM, Chad Perrin <code@apotheon.net> wrote:
This thread has been touching upon three issues - functional languages
On Mon, Apr 4, 2011 at 11:05 AM, Mike Stephens <rubfor@recitel.net> wrote:
*Mike,*
On Mon, Apr 04, 2011 at 08:31:08PM +0900, Everett L Williams II wrote:
Chad Perrin wrote:
On Fri, Apr 08, 2011 at 12:51:35AM +0900, Everett L Williams II wrote:
On Thu, Apr 7, 2011 at 10:51 AM, Everett L Williams II
> But, as I have said, I have seen some absolutely
> I've seen some absolutely amazing things done with befunge! Networked
On Mon, Apr 04, 2011 at 09:29:13PM +0900, Johnny Morrice wrote:
> I have not seen "befunge" as a euphemism for brainfuck before. Is
On Tue, Apr 05, 2011 at 12:42:20AM +0900, Johnny Morrice wrote:
On Mon, Apr 4, 2011 at 8:07 PM, Chad Perrin <code@apotheon.net> wrote:
Aren't all programs languages as the program describes a particular problem
On Tue, Apr 12, 2011 at 8:18 AM, Kevin <darkintent@gmail.com> wrote:
No I'm not confusing them, all programs provide the vocabulary (Means of
On Tue, Apr 12, 2011 at 04:47:17PM +0900, Kevin wrote:
Why don't you actually go take a look at the definition of language,
On Wed, Apr 13, 2011 at 12:53 AM, Kevin <darkintent@gmail.com> wrote:
That is all well and good. But does that fact make the definitions I am
On Wed, Apr 13, 2011 at 8:38 AM, Kevin <darkintent@gmail.com> wrote:
@Phillip: Yes they are applicable, jargon does not supersede the rest of the
On Wed, Apr 13, 2011 at 4:59 PM, Kevin <darkintent@gmail.com> wrote:
No a jargon or slang does not put aside the language it exists inside of.
On Wed, Apr 13, 2011 at 03:38:23PM +0900, Kevin wrote:
Ah yes, the old "Oh look specific context" therefore stop reading
What we've seen here is some people - but not all - have a fixed frame
On Tue, Apr 12, 2011 at 09:31:34PM +0900, Mike Stephens wrote:
[#380607] Net::HTTP.get_response - No Response — Jeff Bowen <ja_bowen@...>
This was working but stopped. I've made no upgrades to my system.
[#380623] string/array slices — Patrick Tyler <patrick.a.tyler@...>
Hello,
Patrick Tyler wrote in post #990031:
I might add, that *feature* is clearly a mistake in the ruby language
[#380642] numerical ruby? — serialhex <serialhex@...>
does anybody know of any good, high-speed numerical ruby libraries, kind of
ruby and 'high speed' are sort of antithetical terms.
[#380643] How can I generate new variables? — "Kyle X." <haebooty@...>
Hello, this is not so much a sketchup question as a Ruby one that I
Kyle X. wrote in post #990090:
[#380648] whats the best gui you can get for ruby — Austin Vetter Austin <stnvttr@...>
I do not like shoes i have all ready tried it .
[#380656] Automating simple web forms — Eric Christopherson <echristopherson@...>
What would be the best headless web testing/automation library to use,
Excerpts from Eric Christopherson's message of Thu Mar 31 04:06:32 +0200 2011:
[#380665] Troubles with autotest and rspec2 — Tony Arcieri <tony.arcieri@...>
I'm trying to use autotest in conjunction with RSpec 2. Almost everything
[#380684] Dereferencing instance variables vs local variables/methods — "Josep M. Bach" <josep.m.bach@...>
Hello,
Josep M. Bach wrote in post #990178:
[#380689] how to refine the code to avoid using fork on windows? — Ethan Huo <firewall888@...>
here is the thing, i need to move a previous ruby program from Linux to
On 3/31/2011 09:18, Ethan Huo wrote:
Jeremy Bopp wrote in post #990214:
On 31 March 2011 16:49, Ethan Huo <firewall888@hotmail.com> wrote:
[#380710] Simple array.each do |x| question — "Kyle X." <haebooty@...>
Hello, I am new to ruby and cannot understand why this code is not
Hi
Roger Braun wrote in post #990270:
attribute is a method, so try z.attribut('id')
Thank you all for your responses. I have a second part question. I
[#380716] Announce: ruby-perl gem released — Andrea Campi <andrea.campi@...>
Hi all,
Re: extconf.rb spitting out SH Makefile on windows?
On Mar 20, 2:49=A0am, Mr Eiland <mreiland1...@yahoo.com> wrote: > > > 1) Install RubyInstaller. RubyGems is already bundled > > 2) Download DevKit. Installation is a manual process for now, > > contributions are welcome to provide a real installer. > > 3) There is no step 3, gem install will trigger the gem compilation > > without polluting your normal environment. > > Fair enough, I installed in that order based upon everything I had read, > but I don't claim to be an authority. =A0In particular the documentation > for DevKit left me with the impression that the environment had to be > loaded up every time you wanted to use it. =A0It's been long enough that = I > can't remember exactly where it was documented, so lets just call it a > misunderstanding on my part. > Please, wiki is open, introduce your edits to make it more easy to understand for newcomers. Let us know on our mailing list once you do it: http://groups.google.com/group/rubyinstaller The page is here: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit If something is not clear, we would like to correct it. > > Dude, chill out, MS EULA forbids you to bundle Visual Studio with any > > tool. > > We're talking past each other. > > What I meant is the Ruby installer doesn't bundle gcc or Visual Studio, > so the idea that it's built with gcc because Visual Studio doesn't allow > 3rd party distribution is fallacious. > > I could *maybe* see your point if the installer came bundled with > everything needed to build the gems that are compiled, but it doesn't. Not everybody needs a compiler bundled. Not every needs to install gems or compile extensions to use Ruby, why increase installers 20MB (GCC) or 2GB (Visual Studio + PSDK) for something you don't want? I believe I have stated this in the wiki in relation to this and other tools: https://github.com/oneclick/rubyinstaller/wiki/FAQ#bundled_short http://groups.google.com/group/rubyinstaller/msg/34dd829ebe0e4567 > Once you've installed Ruby on Windows, you now get to go download > another piece of software, so it becomes a matter of choice. =A0DevKit, o= r > *Microsoft* Visual C++ Express. > Over the past 5 years I've been actively working with Ruby for Windows and 4 years since I took over One-Click Installer, *many* have proposed make Ruby agnostic of the toolchain used to build extensions. But the truth is that nobody decided to do it, everybody complains and is a hard task. We are talking about changing an utterly non-OOP unstructured and commentless tool named 'mkmf'. Is a daunting task, specially since pretty much all extensions base on that tool to compile and introduce something like Pythons' distutil could introduce many many regressions. Instead of that, I decided to focus my efforts in reduce the complications while sticking to only one toolchain. Luckily for us Ruby is written in C, but if any of the parts of the language was written in C++ and exported, that will be impossible to deal with due GCC vs Visual Studio C++ different ABIs Again, the free/xfree malloc and mismatch of CRT you already know. Having all those drawbacks I think you will value what you can get now compared to previous Ruby for Windows situation which was the strict dependency on Visual C 6.0 You can search the web or read my my blog about that: http://blog.mmediasys= .com/ > > Windows !=3D Visual Studio. There are other languages beyond C or C# an= d > > of course there are other compilers beyond Microsoft one. > > Which is another shitty response. =A0We're talking about C development on > a Windows OS. =A0The de facto standard is Visual Studio, in much the same > way that there are other compilers on Unix, but the de facto standard is > gcc, and you can't really talk yourself past that point. > Again man, I believe I treated you with respect all this time. Calling shitty to responses you don't like is plainly aggressive and idiotic. Before Windows NT codebase there were different compilers for Windows, not just Visual Studio, seems you can't see beyond that point either. What you call "defacto" standard is what you want be your standard. Visual Studio Express not only complicates the compilation nature of Ruby and it's dependencies but also can't be automated to the point we use to deliver RubyInstaller. Please, I encourage you do the same thing we do with RubyInstaller project and how we build all the dependencies with Visual Studio and let me know. Excluding for a second that Visual Studio express lacks advance optimizations like PGO only found in paid version, which is a restrictive point for someone that works with Open Source Software want to contribute back but is not paid by it. Heck, over the past years there has been ZERO emails from Microsoft encouraging me use their tools, and pretty much everybody knows my email address. > > This is an old discussion about MinGW versus Visual Studio for Ruby > > for Windows, and you've reach to it 3 years later. > > Exactly, which is why I won't bother with Ruby on Windows anymore. =A0It'= s > unnecessarily difficult, and the community has already decided it isn't > important enough to change that. =A0That isn't a threat, it's me removing > obstacles between my clients and their solutions. > To change that, work is required, clearly you're not interested in work on it. How you can get engagement from others if not even you are committed to it? If you want dinner served, go to a restaurant. I believe you're coming from a different mindset in relation to development, but Open Source works by actions, not by words. You can write down the most beautiful haiku but is pointless if you can provide a code that solves the problem. > > But don't come here to criticizes the work done by others. > > I can, and I will. =A0If that hurts your feelings in any way, grow a > thicker skin. > You're not providing constructive criticism. Your words can't be backed by your work, and that is how things roll in Open Source. But again, this whole discussion is moot since clearly you've repeatedly said don't care about Ruby for Windows, so why bother answering? Seems you're the one can't move forward. > > As for fixing it, fixing it means not asking someone on windows to learn > the gcc toolchain just to build an extension. =A0The express versions are > free to download, asking the user to download an MS compiler or the gcc > compiler should be a no brainer. > If you consider it needs to be fixed, please, fix it and showed to us. > Standardize on a version of the Express compilers and work with the > rubygem maintainers to let gem authors offer different installs for > Windows. =A0Suddenly, the user doesn't have to install a dev environment > just to install a ruby gem, the complexity is pushed off to the gem > maintainers, where it should be. =A0Windows is not Unix, stop pretending > it is, and do things the Windows way when in Windows. > MinGW is not Unix, is Minimalistic GNU for Windows and is GNU tools for Windows, is not emulating anything. It uses same libraries and similar headers than Visual Studio (ported to GCC syntax) > update mkfm to SUPPORT WINDOWS, and that means more than simply using > dlltools and then spitting out a Makefile. =A0Piggyback off of CMake if > you have to. > If by Windows you mean Visual Studio, see the mswin32 builds from garbagecollect: http://www.garbagecollect.jp/ruby/mswin32/ Use that, use Visual Studio with it and be happy. As for Ruby and RubyInstaller: Patches are welcome. Everybody is a critic but no one is willing to put code where their mouth is. Show us -- with real code -- that all that we managed to achieve today is possible with Visual Studio Express, that it can be automated and that usage can be simplified. And I'm willing to take the chance of doing a RubyInstaller based on Visual Studio. And no, is not up to me to do it, you seem very interested in state that I'm wrong and you're right, so is up to you. As for the RubyInside article, ego on a side, see who is being quoted in it. -- Luis Lavena