[#3907] Obtaining mode information on an IO object — Jos Backus <jos@...>

The attached patch implements IO#mode. This method returns the mode the IO

17 messages 2004/12/06
[#3909] Re: [patch] Obtaining mode information on an IO object — nobu.nokada@... 2004/12/07

Hi,

[#3910] Re: [patch] Obtaining mode information on an IO object — Jos Backus <jos@...> 2004/12/07

On Tue, Dec 07, 2004 at 09:25:13AM +0900, nobu.nokada@softhome.net wrote:

[#3925] Re: [patch] Obtaining mode information on an IO object — James Britt <ruby@...> 2004/12/09

Jos Backus wrote:

[#4009] cgi.rb -- more GET/POST stuff — mde@...26.com

First of all, I think it would be great, as Eustaquio suggests, to

17 messages 2004/12/23
[#4016] Re: [PATCH] cgi.rb -- more GET/POST stuff — Francis Hwang <sera@...> 2004/12/24

GETs and POSTs are defined to be fairly different actions. I'd read

[#4027] Allowing custom number literal suffixes? — Florian Gro<florgro@...>

Moin!

35 messages 2004/12/27
[#4070] Re: Allowing custom number literal suffixes? — nobu.nokada@... 2005/01/02

Hi,

[#4072] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/02

[#4079] Re: Allowing custom number literal suffixes? — Florian Gro<florgro@...> 2005/01/03

Mathieu Bouchard wrote:

[#4081] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/03

[#4082] Re: Allowing custom number literal suffixes? — Florian Gro<florgro@...> 2005/01/03

Mathieu Bouchard wrote:

[#4084] Re: Allowing custom number literal suffixes? — Brent Roman <brent@...> 2005/01/04

I'm not sure I would advocate making Ruby's grammar even more

[#4086] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/04

[#4033] Garbage collection trouble — Christian Neukirchen <chneukirchen@...>

Hello,

13 messages 2004/12/27

Re: [PATCH] cgi.rb -- more GET/POST stuff

From: "Eust痃uio Rangel de Oliveira Jr." <eustaquiorangel@...>
Date: 2004-12-25 22:29:47 UTC
List: ruby-core #4026
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello there.

| I understand wanting to help out people migrating to Ruby, but they are
| going to encounter a number of things that are just plain different (at
| least I hope that's the case).
| In general, I find arguments by language comparison unpersuasive; saying
| that PHP allows for something is not terribly compelling.  PHP allows
| for all sorts of things I hope never to see in Ruby.

Yeah, I think that *comparison* between languages sucks, because it
leads you to nowhere but just a huge discussion.

But using a language to *give an example* to a thing proposed to the
other one (that could not be a such horrible thing just because it's on
the first language and not on the second) can be very helpful. ;-)

It's not the same as saying that Java have static typing and I want it
on Ruby. ;-)

| Allowing multiple param hashes is perhaps a reasonable option, provided
| that the default hash adheres to whatever RFC (or equivalent) applies.

Yeah, my point is, even if we can check where that parameters came from,
it's easy and helpful to provide access to them on a easy way. If I'm
presuming I'm dealing with a FORM, I can ask the POST parameters about
the values.

| For example, if I try to mix post and get (so to speak; browsers only do
| one or the other), and make a post request, and inspect the default
| params hash (as apposed to post_params or get_params), I would not
| expect to see any so-called query string data in there.

Exactly.

| Those who like the option of mixing the two would still have the choice,
| distasteful as that may be.

And in the case of the cgi.rb, gives compatility to what is already
written. Leave the "all parameters" there, but fills the other ones also.

| Probably something that belongs in a 'php.rb' module. )

PHP.rb? Are you being sarcastic? ;-)
Not such a change like that. Just put the POST and GET values on their
places. :-)

Best regards,

- ----------------------------
Eust痃uio "TaQ" Rangel
eustaquiorangel@yahoo.com
http://beam.to/taq
Usu疵io GNU/Linux no. 224050
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBzen/b6UiZnhJiLsRAk3mAKCkdg5RIuwVquXc26v9Atr/EQRUOwCgv20K
+k/gE08IRvSN6baAMYK9Ix0=
=L4ME
-----END PGP SIGNATURE-----

In This Thread