[#394253] gtk2 install error — CC Chen <lists@...>
Hi,
[#394259] return_bang 1.1 Released — Eric Hodel <drbrain@...7.net>
home :: https://github.com/drbrain/return_bang
[#394281] Can someone throw me a bone — Bob Baird <lists@...>
Hi all,
[#394290] openSUSE fan? — Jos Poortvliet <jos@...>
Heya Ruby and Rails hackers!
[#394310] fibonacci and defining variables — "Christopher D." <lists@...>
I was doing an example on Fibonacci sequences and this confused me a
[#394311] using hash as database? Secure databases with ruby? — ruby rocks <lists@...>
I am new to programming and am learning ruby as my first language. I
On Tue, Apr 3, 2012 at 10:30 AM, ruby rocks <lists@ruby-forum.com> wrote:
Hassan Schroeder wrote in post #1054862:
Florian Gilcher wrote in post #1054875:
On Tue, Apr 3, 2012 at 1:14 PM, ruby rocks <lists@ruby-forum.com> wrote:
Hassan Schroeder wrote in post #1054884:
[#394324] RegEx for a string between two symbols — "Christopher D." <lists@...>
I'm looking to build a dictionary application. One part that I am having
Hi,
Jan E. wrote in post #1054912:
[#394334] Ruby on Windows... — Hal Fulton <rubyhacker@...>
It's been a long time since I did anything on Windows... I'm now
[#394369] Terminated Object Error. Help Needed — Tridib Bandopadhyay <lists@...>
Here is my sample code:-
[#394375] Call for comments - Structure — Hal Fulton <rubyhacker@...>
Greetings, fellow Rubyists...
Hal Fulton wrote in post #1055070:
W dniu 5 kwietnia 2012 14:21 użytkownik Robert Klemme
On Thu, Apr 5, 2012 at 4:33 PM, Bartosz Dziewoki <matma.rex@gmail.com> wrote:
2012/4/5 Robert Klemme <shortcutter@googlemail.com>
On Thu, Apr 5, 2012 at 5:18 PM, Hal Fulton <rubyhacker@gmail.com> wrote:
On Thu, Apr 5, 2012 at 5:00 PM, Robert Klemme <shortcutter@googlemail.com>wrote:
[#394381] For beginners: Rubeque.com, interactive Ruby coding practice — "S. W." <lists@...>
I stumbled across this site recently and found it very useful for
[#394384] Not a Memory Leak but Stale Objects - clears with GC.start — Tom Moulton <lists@...>
I have a long running process.
[#394386] Want to get exact match from sentence — Lucky Nl <lists@...>
Hi friends,
[#394390] Design pattern question — James French <James.French@...>
Hi group,
James French wrote in post #1055131:
On Thu, Apr 5, 2012 at 4:25 PM, James French
W dniu 5 kwietnia 2012 21:27 użytkownik Steve Klabnik
> Abstract classes are sometimes useful (although rarely). For example,
[#394425] Google Group Mirror Broken — Thomas Sawyer <lists@...>
Looks like, sometime in February, posts started to go missing from the
[#394435] Add a GUI to your Ruby Script — "Eric C." <lists@...>
Hi:
[#394440] Advise on learning Ruby — "Taz798 U." <lists@...>
Hello,
[#394457] Best way of implementing controllers for m:n model relation (Car->Parts) — Thomas Tschofenig <lists@...>
Hello,
[#394469] Group Status — Intransition <transfire@...>
The Google Group mirror now appears to be 100% dead.
-----BEGIN PGP SIGNED MESSAGE-----
[#394471] How to pull out specific part of a variable and set to another variable? — "Charlie B." <lists@...>
I have a variable that is a long string. The variable looks like this:
Here's a possible approach
2012/4/9 Iachetti Federico Mart匤 <iachetti.federico@gmail.com>:
[#394492] New to Ruby, tutorial gives wrong example. — Roger McDonald <lists@...>
I am just starting with Ruby with intention to learn and perhaps use it
You maxe a spelling mistake in the method name initialize.
i just realized that i made (maxe) a spelling mistake too ;)
[#394499] need to match words from setence — Lucky Nl <lists@...>
Hi friends,
Hmm include method will match substring too.This is not i want .I want
[#394519] Copy all files in a directory — "Charlie B." <lists@...>
Still new to Ruby and feel silly having to ask such a simple question,
[#394533] A Beginner's Question about Metaprogramming — Phil Stone <lists@...>
Hey guys, have a question about Ruby programming and found this forum
Thanks for the help!
[#394538] less absolutely horrible way to make sure array 1 only contains elements from array 2? — ruby ismyname <lists@...>
@selections = []
[#394565] Possible to spawn windows explorer to select files/directories? — "Charlie B." <lists@...>
I have a script that I would like to be able to spawn a windows shell so
[#394580] conditionally use greater than or less than — phil rosenstein <lists@...>
what is the best way to do this in ruby?
[#394587] ruby v.1.8.6. Expand array class, make combinations — Ronnie Aa <lists@...>
Hi,
[#394592] Upgrading to Ruby 1.9 - Should I? Is it painful? — Oren Shani <lists@...>
Hi All,
Oren Shani wrote in post #1056125:
W dniu 16 kwietnia 2012 22:05 użytkownik Brian Candler
[#394604] request for feature: nested methods should be private on nesting method — botp <botpena@...>
Hi ,
[#394616] How to test if array element exists? — Soul Surf <lists@...>
I'm new to Ruby and just want to test if an array element exists. Here's
[#394631] Arguments with Funktion — "roboter Y." <lists@...>
i want a ruby program, is have 2 Arguments(a,b) ,which output the Prime
[#394641] GC on two C extension objects — Mike Owens <mikeowens@...>
I am running into a problem with to C extension objects and I'm not sure
[#394642] how to avoid escaping special chars after backslah in string — Lucky Nl <lists@...>
Hi friends,
so what's your ideal syntax here?
Roger Pack wrote in post #1056378:
On Fri, Apr 13, 2012 at 8:21 PM, Lucky Nl <lists@ruby-forum.com> wrote:
On 04/13/2012 09:01 PM, Roger Pack wrote:
" \\imp ".match(/
Well, you cannot change the fact that backslashes are escape characters
[#394643] unable to do "down" range? — Roger Pack <lists@...>
Hello.
Hi,
Roger and Jan,
[#394658] Why doesn't Fixnum#to_d exist? — Mark Campbell <nitrodist@...>
http://stdlib.rubyonrails.org/libdoc/bigdecimal/rdoc/index.html
It does exist, but it's in a separate file - bigdecimal/util or utils,
Yes, that file has the String#to_d, Float#to_d and Rational#to_d.
>irb
On Sat, Apr 14, 2012 at 07:23:34AM +0900, Mark Campbell wrote:
On Sat, Apr 14, 2012 at 11:45 AM, Chad Perrin <code@apotheon.net> wrote:
[#394675] Operator overloading of the subscript operator — Ralph Shnelvar <ralphs@...32.com>
I understand that operators (e.g. +, -, *, []) are nothing more than method names so that
Hi,
Jan,
On Sat, Apr 14, 2012 at 10:48 AM, Ralph Shnelvar <ralphs@dos32.com> wrote:
W dniu 15 kwietnia 2012 18:41 użytkownik Eric Christopherson
Ralph Shnelvar wrote in post #1056506:
On Sat, Apr 14, 2012 at 5:03 PM, Jan E. <lists@ruby-forum.com> wrote:
[#394698] Great Ruby Apps/Libraries — Trans <transfire@...>
Other then Rails, what do you think the greatest Ruby app/library/gem is?
[#394713] Problem With Ruby.. — "Tucketdog J." <lists@...>
Specs: XCode 4.3.2, Mac OS X 10.7.3, RVM 1.12.3 (stable).
[#394717] insert text after line "whatever" — fox foxmaster <lists@...>
Hi all,
[#394732] C extensions: disable GC for a Ruby object and enable GC later for it — Iñaki Baz Castillo <ibc@...>
Hi, I do know this is very commented subject but I don't understand it clearly:
On Mon, Apr 16, 2012 at 9:31 PM, I単aki Baz Castillo <ibc@aliax.net> wrote:
[#394751] Does the ruby ECC binding not include ec_point_mul? — roobie doo <lists@...>
It doesn't appear to after looking at the documentation, but I want to
[#394753] GVL lock and unlock — Iñaki Baz Castillo <ibc@...>
Hi, I'm coding a Ruby wrapper for libuv (the event-driven library used
On Tue, Apr 17, 2012 at 3:15 AM, Iki Baz Castillo <ibc@aliax.net> wrote:
[#394766] A current version of Why's (Poignant) Guide to Ruby as PDF? — Joshua Muheim <lists@...>
Hey guys
[#394767] Capital Cyrillic letter in Ruby class name (UTF-8) — Vladimir Kerimov <lists@...>
Hi matz,
Here Документ is only a local variable.
It could be funny, but it is make us use method at the place where we
[#394788] extconf.rb and checking for C++ headers — "Darryl L. Pierce" <mcpierce@...>
I'm extending our project [1] with some native extensions. Our code is
in 1.8 you need to add
[#394789] I am in ruby GUI toolkit hell — roobie doo <lists@...>
I have ruby installed, 1.9.3
[#394797] C extension: How to get a block passed to a method? — Iñaki Baz Castillo <ibc@...>
Hi, let's imagine the following Ruby code:
[#394803] Why must I know whether I extend a class or a module? — Marc Heiler <lists@...>
Hi.
On Wednesday, April 18, 2012 1:13:17 PM UTC-4, Marc Heiler wrote:
W dniu 19 kwietnia 2012 07:59 użytkownik Intransition
On Thursday, April 19, 2012 1:18:05 PM UTC-4, Bartosz Dziewoナгki wrote:
On 20 April 2012 13:53, Intransition <transfire@gmail.com> wrote:
[#394812] Converting CSV — cristian cristian <lists@...>
Hello all!
Well, parsing the file and processing its content is certainly more
Jan E. wrote in post #1057244:
[#394828] Breaking large Ruby script into multiple files — Thomas Luedeke <lists@...>
On large Fortran projects, I'm accustomed to breaking them up into
[#394834] Which graphical/gui library is used for ruby? — gmspro gmspro <lists@...>
Is it opengl?
[#394838] When are numbers NOT Magic? Example. — Greg Willits <lists@...>
A risky and lengthy post, I'm hoping you'll indulge me on. Stack
[#394851] Berlin calling. — Marco Vismara <lists@...>
Hello everybody,
[#394853] How can i make the colorful font with black background for puts? — gmspro gmspro <lists@...>
puts 'Hello World."
How can i set the text color to light green? Not the 32 only.
[#394865] finding duplicates in an array and its index number — newto ruby <lists@...>
Hi,
[#394897] Google Group is Back — Intransition <transfire@...>
Well, like some sort of psychotic girlfriend, the Ruby-Talk Google Group is
[#394911] mruby - More info? — "Aaron D. Gifford" <astounding@...>
Where can I find more info. about mruby?
[#394923] What does '||=' mean? — Soichi Ishida <lists@...>
Well, as stated in the subject, what does '||=' mean?
[#394947] Why openssl on windows produces error but not on centos to read pkcs12 — Nauman Thanvi <lists@...>
Hi,
On Sun, Apr 22, 2012 at 9:35 AM, Nauman Thanvi <lists@ruby-forum.com> wrote:
Nauman Thanvi wrote in post #1057798:
[#394964] To developers of Ruby: Feeble documentation - weakness of Ruby and the Ruby on Rails (2nd edition) — Sergey Ezhov <lists@...>
Directly I apologize for my English - I used the automatic translator.
I think you are a bit confused.
On Mon, Apr 23, 2012 at 5:11 AM, Brian Candler <lists@ruby-forum.com> wrote:
On Mon, Apr 23, 2012 at 9:17 PM, Ryan Davis <ryand-ruby@zenspider.com>wrote:
http://api.rubyonrails.org/ - disgusting documentation! There are no
[#394969] gem-packed script with DATA section does not work — Wybo Dekker <wybo@...4all.nl>
The attached minimal gem contains a script that reads "Hello World!"
DATA points to the contents after the __END__ directive of the executable
On 2012-04-23 11:39, Xavier Noria wrote:
Ryan Davis писал 23.04.2012 22:58:
On 2012-04-23 22:57, Peter Zotov wrote:
I you don't need the BEGIN block nor constants, I think you could just use some ordirary heredocs or some other conventional Ruby idiom.
On 2012-04-24 10:53, Xavier Noria wrote:
On Tue, Apr 24, 2012 at 11:01 AM, Wybo Dekker <wybo@xs4all.nl> wrote:
On 2012-04-24 11:08, Robert Klemme wrote:
On Tue, Apr 24, 2012 at 2:59 PM, Wybo Dekker <wybo@xs4all.nl> wrote:
Please can some one show me how to stop getting emails from
[#394979] Join this code reading study group - already 20+ members — Adam Akhtar <lists@...>
If you're like me you want to get into the habit of reading source code
Ryan Davis wrote in post #1058025:
[#395011] problem with SystemStackError — Ralf Mueller <ralf.mueller@...>
Hi!
[#395014] New to Ruby, need install advice — "Rohit S." <lists@...>
I'm hoping I can get some advice on Ruby installs, as I sit a bit
[#395024] -BEGINNERS- Where do I Start? — "Thought M." <lists@...>
Hello World....... I am very new to code but have been glancing at it
[#395035] if if if statment — fox foxmaster <lists@...>
Hi all,
Hi I will attache the code since it gets format when I paste in paste
[#395055] matching substrings — Clay Tzoucalis <lists@...>
I need a little help with an assignment. Following is the code I am
I understand that. I am looking more for where to start,in attempt to
[#395063] Method Missing as Filter — "Christopher D." <lists@...>
Let's say I have a model called User. User has two attributes or table
On Wed, Apr 25, 2012 at 4:13 PM, Christopher D. <lists@ruby-forum.com> wrote:
[#395072] A question of style — Michel Demazure <lists@...>
When you write something like
On Thu, Apr 26, 2012 at 1:33 PM, Michel Demazure <lists@ruby-forum.com> wrote:
[#395084] net::smtp carriage returns — "Tim L." <lists@...>
I'm new to ruby and trying to build a script that logs into a cisco pix
[#395085] Wrappng up my Text Game! Need Help! — Jared Hobbs <lists@...>
Hi, everyone. This is my first post!
Okay guys, again, I thank you for helping me!
Hmmm, you guys got any other suggestions that could handle user input?
[#395090] running a command line argument from rudy — "Christopher D." <lists@...>
Straight up. I have to use windows @ work but I still require some
On Thu, Apr 26, 2012 at 1:07 PM, Christopher D. <lists@ruby-forum.com> wrote:
Martin DeMello wrote in post #1058543:
[#395099] ruby/shoes GUI - sqlite, how to isert a variable key in table? — "Danilo L." <lists@...>
Hello, I am struggling to insert a variable into a table, for example:
Hi Danilo, How are you enjoying shoooes?
From what I've read[1], sqlite will coerce values into the declared
Michel wrote in post #1058590:
On Fri, Apr 27, 2012 at 9:35 AM, Danilo L. <lists@ruby-forum.com> wrote:
[#395113] why does this return 255 bits instead of 256 (and general bit byte hex string array crypt mayhem :P) — instance_variable ok <lists@...>
So I am doing something that requires me to manipulate things on the bit
why does a 32 character long string have a length (and bytesize) of 64
Remember, when you convert an integer to a string (#to_s) that leading
[#395126] Global variable for spaces per tab? — Intransition <transfire@...>
Is there any global variable in Ruby for specifying how tabs ("\t") should
On Sat, Apr 28, 2012 at 05:22:47AM +0900, Ryan Davis wrote:
[#395151] list local_variables in a def by means of a method — Ronnie Aa <lists@...>
Hello,
You can't. The "listvar" method has a different scope than "one" or
[#395161] What is the meaning of rb_thread_interrupted() ? — Iñaki Baz Castillo <ibc@...>
Hi, I'm coding a Ruby C extension and would like to know the meaning
I単aki Baz Castillo <ibc@aliax.net> wrote:
Eric Wong писал 29.04.2012 12:02:
Peter Zotov <whitequark@whitequark.org> wrote:
[#395178] I need some advice for a project I am working on — Joe Dirt <lists@...>
Hi,
[#395193] delete character from array — Ok Ok <lists@...>
Here is my question...
Yes that was exactly it. I have one more question maybe you can help me
This is a little blunt, but may be what you need:
Chris Morris wrote in post #1058975:
On Mon, Apr 30, 2012 at 7:11 PM, Brian Candler <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1059013:
[#395204] Getting the associated exception instance after using rb_protect() — Iñaki Baz Castillo <ibc@...>
Hi, by using rb_protect() I can get an integer "exception" which I can
2012/4/30 Iki Baz Castillo <ibc@aliax.net>:
2012/4/30 Martin Boテ殕et <martin.bosslet@googlemail.com>:
[#395210] Writing a file to txt, how can I put a new line? — "Christopher D." <lists@...>
I would like to create an error log for a application I have made. Here
You might want to look at puts. Or maybe one of the logging libraries that
To developers of Ruby: Feeble documentation - weakness of Ruby and the Ruby on Rails (2nd edition)
Directly I apologize for my English - I used the automatic translator.
If there is a possibility, find the person, knowing Russian better, it
will translate you correctly the text.
Address to developers of Ruby and Ruby on Rails:
(If someone has a possibility to communicate directly with developers of
these systems (Ruby and Ruby on Rails), please, hand over them this
information.)
Hi
It would be desirable to express the subjective judgement on a problem
of popularity of Ruby and the Ruby on Rails in particular. It is very
beautiful and laconic language, very powerful language.
I studied it according to the book, it was necessary to read 2 times up
to the end to understand all details. And I not for nothing spent the
time. It is very powerful tool for development. The same it is possible
to tell and about the Ruby on Rails. Agree that it not the simplest
systems that here so from the first everything to understand. I am the
professional programmer with more than 20-year experience, studied many
systems and programming languages - Pascal, C, C ++, Java, Prolog,
Delphi, PHP, developed different systems. Don't think that I am a school
student any. Knowing all this languages, I after all delighted with
Ruby!
And here, by the way, about PHP. I learned it an experimental way, with
site use www.php.net. Here in than all charm of this site - there is ALL
and directly! There is as the language syntax description, and the
description of all functions in case of what if it is function, that is
links to the similar functions accompanying. Everything is easy and
simple - the person gradually learns more and more, plunges into this
environment more and more development. Any puzzles and guesses. For me
the study of PHP was simple and fast.
And so I have a question. Why, possessing so powerful possibilities,
Ruby and Ruby on Rails still possess such feeble documentation? After
all this most important in popularity of ANY system - existence of GOOD
documentation when to the person always is where to address for the
reference information instead of to build own guesses, not to rummage in
source codes. To rummage in source codes is programming for the sake of
programming, and after all people simply want to use the tool.
To receive quickly necessary information on system is already a success
half, in my judgement. Not enough description of functions, is necessary
still that the person could see similar functions that could follow as
on a chain. You look on documentation on the same www.php.net also look
at Ruby and Ruby on Rails documentation. In yours documentation
(http://www.ruby-doc.org/core-1.9.3/), for example, I couldn't find the
description of method_missing, but in other source (http://apidock.com/)
it is. Unless it is impossible to create a normal site with
documentation where there would be all and directly? Why the person
shall guess, rummage about something in source codes? About Ruby on
Rails documentation (http://api.rubyonrails.org/) I generally am silent
- there is no description many methods if there is a description, not
clearly what it can accept parameters and that they mean, there is no
description of
classes, their correlations.
You developed such fine system, a magnificent programming language,
excellent framework, so why you can't develop normal, distinct
documentation? In it popularity of PHP and weakness of Ruby, only in it.
There would be same good documentation, then long ago Ruby would walk
ahead Planet (Earth) at all - ("To be number one"). It seems to me long
ago already it is time to supply team of developers team of developers
of DOCUMENTATION. After all the maturity of any product is characterized
just by convenient and extensive documentation, including.
I think that many are stopped just by this moment in study when people
face that simply can't move easily further in study and use of these
systems - Ruby and the Ruby on Rails.
And once again thanks for so excellent tools!
Yours faithfully, Sergey
===
Обращение к разработчикам Ruby и Ruby on Rails:
Здравствуйте
Хочется высказать свое субъективное мнение на проблему популярности Ruby
и Ruby on Rails в частности. Это очень красивый и лаконичный язык, очень
мощный язык. Я его изучил по книге, пришлось прочитать 2 раза, чтобы до
конца уяснить все детали. И я не зря потратил свое время. Это очень
мощный инструмент для разработки. То же самое можно сказать и про Ruby
on Rails. Согласитесь, что это не самые простые системы, чтобы вот так с
первого раза все понять. Я профессиональный программист с более чем
20-летним опытом работы, изучил немало систем и языков программирования
- Pascal, C, C++, Java, Prolog, Delphi, PHP, разрабатывал различные
системы. Не думайте, что я школьник какой-нибудь. Зная все эти языки, я
все-таки в восторге от Ruby!
И вот, кстати, о PHP. Его я выучил экспериментальным путем, с
использованием сайта www.php.net. Вот в чем вся прелесть этого сайта -
там есть ВСЕ и сразу! Там есть как описание синтаксиса языка, так и
описание всех функций, при чем если это функция, то есть ссылки на
похожие функции, сопутствующие. Все легко и просто - человек постепенно
все больше и больше узнает, все больше погружается в эту среду
разработки. Никаких головоломок и догадок. Для меня изучение PHP было
простым и быстрым.
Так вот у меня вопрос. Почему, обладая столь мощными возможностями, Ruby
и Ruby on Rails до сих пор обладают такой слабой документацией? Ведь это
самое главное в популярности ЛЮБОЙ системы - наличие ХОРОШЕЙ
документации, когда человеку всегда есть куда обратиться за справочной
информацией, а не строить собственные догадки, не рыться в исходниках.
Рыться в исходниках - это программирование ради программирования, а ведь
люди просто хотят использовать инструмент. Получить быстро нужную
информацию о системе - это уже половина успеха, я считаю. Мало описания
функций, надо еще чтобы человек мог видеть похожие функции, чтобы мог
следовать как по цепочке.
Вы посмотрите на документацию на том же www.php.net и посмотрите на
документацию Ruby и Ruby on Rails. В вашей документации
(http://www.ruby-doc.org/core-1.9.3/), например, я не смог найти
описание method_missing, зато в другом источнике (http://apidock.com/)
оно есть.
Разве нельзя создать нормальный сайт с документацией, где было бы все и
сразу? Почему человек должен о чем-то догадываться, рыться в исходниках?
Про документацию Ruby on Rails (http://api.rubyonrails.org/) я вообще
молчу - нет описания многих методов, если есть описание, то не понятно
какие он может принимать параметры и что они означают, нет описания
классов, их взаимосвязей.
Вы разработали такую прекрасную систему, великолепный язык
программирования, превосходный фреймворк, так почему вы не можете
разработать нормальную, внятную документацию? В этом популярность PHP и
слабость Ruby, только в этом. Была бы такая же хорошая документация,
тогда давно бы Ruby шагал впереди планеты всей. Мне кажется давно уже
пора снабдить команду разработчиков командой разработчиков ДОКУМЕНТАЦИИ.
Ведь зрелость любого продукта характеризуется как раз удобной и обширной
документацией, в том числе.
Я думаю, что многих останавливает как раз этот момент в изучении, когда
люди сталкиваются с тем, что просто не могут легко двигаться дальше в
изучении и использовании этих систем - Ruby и Ruby on Rails.
И еще раз спасибо за столь превосходные инструменты!
С Уважением, Сергей
---
--
Posted via http://www.ruby-forum.com/.