[#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: W3C Standards Compliant
Use of expletives on a public mailing list is pretty sub-optimal
vocabulary, wouldn't you agree? Since when are companies like Google and
DICE (never heard of DICE) our technological masters? Chips are for
eating, not carrying on our shoulders. In a free society, if a citizen's
main grievance is a general lack of adherence to adhoc lexical standards
with regards to unregulated public communications, they are doing rather
well in my opinion. Am I wrong in saying that commercial operations can
do what they please and if people don't like it they can vote with their
feet and/ or wallets?
Additionally, it is all very well to claim the high ground of standards
compliance with plain white pages containing minimal content, and zero
stylistic formatting, however generally speaking the public at large
have moved on and prefer to see things like colour, animation, pictures,
movies, as well as new and interesting interfaces, rather than pages
designed primarily for a non sentient audience. My brain, for instance,
appears to have no trouble parsing an ampersand.
Sam
On 10/03/11 11:25, Robert Maas, http://tinyurl.com/uh3t wrote:
>> From: jzakiya<jzak...@mail.com>
>> I was checking various websites using this W3C validator:
>> http://validator.w3.org
>>
> In recent months I've been meaning to ask, and this seems an
> appropriate time: Virtually every Web site I've look at, except my
> own on my Unix shell site, and *even* my own PHP output on free
> hosting sites that ad advertisements before or after my
> PHP-generated valid syntax, fails validation. Google is an
> egretious example, the 800 pound gorilla that can do any F**KING
> thing it wants any time it F**KING time it wants because nobody has
> the power to correct it. Also, every job-search Web site I've
> examined so-far (DICE, Monster.Com, craigslist, hotjobs, etc.)
> fails validation. If I *ever* encounter a Web site I didn't create
> myself which passes validation I'm surprised. I've created a Web
> page documenting some of this horridly non-validating HTTP output
> that pretends to be HTML or XHTML:
> http://www.rawbw.com/~rem/NewPub/jobSearch.html
>
> In the apparent war between W3C and the vast majority of commercial
> Websites, who is correct?
>
> Is W3C correct, and all these Websites are broken?
>
> Or are these Websites just fine, and W3C is being pedantic or even
> anal retentive?
>
> Off and on during the past several years I've developed a
> non-validating generic SGML/XML parser. The only legal syntax it
> doesn't understand is SGML null-end-tags, because their syntax
> conflicts with XML's use of self-closing tags.
>
> In the course of trying to use it to parse output from Yahoo,
> Google, and other major Websites, I've needed to modify my parser
> to accept lots of INVALID syntax. The most common cases are:
> - URLs and other property values that aren't enclosed in quotes.
> - Bare ampersands in query strings of URLs not expressed as&
> - Bare brockets as text not expressed as< or>
> - Scripts (usually JavaScript) that aren't contained within comments.
> I thought I had covered all such broken syntax, allowing it to be
> gracefully parsed to create a DOM (parse tree). But last night
> while parsing a job ad downloaded from dice.com I found an open
> brocket immediately followed by a space character, which my parser
> doesn't currently handle, so I need to fake some "plausable" parse
> for the invalid syntax. Here are the original dice URL and the URL
> for applying the W3C validator to it:
>
> http://seeker.dice.com/jobsearch/servlet/JobSearch?op=302&dockey=xml/9/d/9d2e5198c1866bf1fe49cb0e9aa302aa@endecaindex&source=19&FREE_TEXT=PHP&rating=99
> = http://tinyurl.com/4kq8s9d
> (ad for job for Ruby on Rails
> Position ID: 10203112000007802
> Dice ID: 10106525)
>
> http://validator.w3.org/check?uri=http%3A%2F%2Fseeker.dice.com%2Fjobsearch%2Fservlet%2FJobSearch%3Fop%3D302%26dockey%3Dxml%2F9%2Fd%2F9d2e5198c1866bf1fe49cb0e9aa302aa@endecaindex%26source%3D19%26FREE_TEXT%3DPHP%26rating%3D99&charset=%28detect+automatically%29&doctype=Inline&group=0
> = http://tinyurl.com/5ucbcxe
> (179 Errors, 99 warnings)
> ..
> 9. Warning Line 172, Column 18: character "<" is the first character
> of a delimiter but occurred as data
> for (i = 1; i<= 3; i++) {
> 10. Warning Line 179, Column 66: cannot generate system identifier for
> general entity "dockey"
> .. "/jobsearch/servlet/JobSearch?op=306&dockey=xml/9/d/9d2e5198c1866bf1fe49cb0e9...
> ..
> 248. Warning Line 1203, Column 149: character "<" is the first
> character of a delimiter but occurred as data
> .. United States specializing in audit< http://www.deloitte.com/dtt/section_no...
>
>
>> and just wanted to congratulate the ruby home site as passing:
>> www.ruby-lang.org
>>
> Indeed, I checked it just now, and it still passes. It's ironic
> that the Ruby language Web site passes, but an advertiser for job
> for Ruby on rails breaks HTML worse than any other Web page I've
> ever encountered. Too bad the Ruby folks don't enforce standards on
> their users.
>
>
>> In comparison, those slackers over at www.python.org show 1 error
>> and 1 warning on their site. :-)
>>
> Not an egregious error at all:
> 1. Error Line 196, Column 30: value of attribute "method" cannot be
> "POST"; must be one of "get", "post"
> <form method="POST" action="/3kpoll">
> Should be easy to fix if somebody can get the attention of the Web
> author/manager there.
>
>
>> Here are some other sites that pass 100%:
>> www.msn.com
>> www.firefox.com
>> www.mozilla.com
>>
> Those three confirmedm firefox&mozilla as expected but msn rather a
> pleasant surprise, but:
>
>
>> www.oasis-open.org
>>
> Error found while checking this document as XHTML 1.0 Transitional!
> Result: 1 Error, 1 warning(s)
> Address: http://www.oasis-open.org/home/index.php__________
> 1. Warning Line 242, Column 40: character "&" is the first character
> of a delimiter but occurred as data
> .. Conference Proceedings& Webcast Available</a></div> <div
> Another stupid failure-to-convert from text to HTML text, easily
> fixed if somebody can get the attention of the Web author/manager
> there.
>
>
>> And a shocker, www.openoffice.org has 4 ERRORS! (as of July 7, 2009)
>>
> It's gotten worse since then:
> Errors found while checking this document as XHTML 1.0 Transitional!
> Result: 10 Errors, 3 warning(s)
>
>
>> Also, some prominent sites that have errors:
>> www.gmail.com
>> www.yahoo.com
>> www.google.com
>>
> Yeah, I noticed those already myself. Even worse, JavaScript isn't
> available here (VT100 term on FreeBSD Unix) so gmail doesn't work
> at all here, because it absolutely requires JavaScript. Facebook
> likewise, except at least it recognizes te problem and redirects me
> to an error page right at the top. Correction: The last twenty
> times I tried over the past several years, it redirected me to
> "We're not cool enough to support your web browser."
> But when I tried it just now, for the very first time ever I get a
> login form in lynx. Unfortunately I've never been able to get a
> FaceBook account, even from a public-access Microsoft-IE, so I
> can't test FaceBook login from here. MySpace by comparison worked
> fine the last time I tried it from lynx.
>
>
>> But maybe it would be a nice see Merb, Ramaze, Sinatra or....
>> used to write a little web app to track and list W3C
>> (non)conformance of sites (if such a project doesn't already
>> exist), Let's out the bad and hail the good!
>>
> I have IMO a better idea: If and when http://TinyURL.Com/NewEco
> gets enough users, I plan to actually *pay* users (not cash, just
> labor credits, i.e. funny money that can be used to pay for metered
> WebSite usage and/or hire others to do contract work) to report
> good/bad Web sites (to keep my database up to date) and to pester
> managers of bad Web sites to fix their egregious HTML or English
> mistakes. The first targets of intense pestering would most likely
> be Google.Com, Yahoo.Com, DICE.Com, and Monster.Com. But pestering
> by random nobodies wouldn't convince those big Web sites to fix
> their mistakes, so I would use http://TinyURL.Com/RLLink to locate
> chains of people (as in "seven degrees of freedom") from we who are
> complaining to they who need to pay attention to our complaints. If
> the WebMasters' best friends start complaining to the WebMasters
> that the Web sites is so grossly bad that *they* (best friends of
> the WebMasters) are getting pestered and begged to please pester
> the actual WebMaster, maybe they (WebMasters) finally pay attention
> to our complaints.
>
> Which brings me back to my current problem with dice.com: The
> reason I'm currently working on building software to harvest job
> ads from job-search Web sites and filter them to eliminate jobs for
> which the user is not qualified, is not just because it'd be useful
> to me personally, but also because I believe that will be so useful
> to the 25% of adult population that are either unemployed or
> underemployed or "no longer in the workforce" or otherwise not
> employed to their desires, that users will start flocking to
> http://TinyURL.Com/NewEco in order to get access to job-ad
> filtering, and will find the service worth the labor-cost needed to
> use it, hence will build up user base of people willing to do work
> for me in exchange for using my service, such work including
> finding chains of people from here to bad WebMasters and pestering
> through such chains to friends of the bad WebMasters.
>
> Note: I'm opposed to harassing innocent people. But in any free
> society I believe we have a right to "redress of grievience" by
> petitionning our de jure (goverment) masters and also by
> petitionning our de facto (technological, business) masters such as
> Google and DICE. If our masters claim that our petitions for
> redress of grievance is "harassing" to them, they are mistaken, and
> should "mend their ways" rather than "shoot the messenger".
>
> I hope that http://TinyURL.Com/NewEco + http://TinyURL.Com/RLLink
> will provide a cybernetic means for effective redress of grievience.
>
>