[#32009] merging nokogiri to ext/ — Aaron Patterson <aaron@...>
I would like to merge nokogiri to ext for the 1.9.3 release. I spoke to
Hello,
Hello,
On Thu, Sep 2, 2010 at 5:34 AM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
Hi,
On Sep 4, 2010, at 3:19 PM, Benoit Daloze wrote:
On Sat, Sep 4, 2010 at 4:30 PM, James Edward Gray II
On Sun, Sep 5, 2010 at 9:19 PM, <brabuhr@gmail.com> wrote:
On Sep 5, 2010, at 12:28 PM, Giuseppe Bilotta wrote:
On Mon, Sep 06, 2010 at 05:02:09AM +0900, Joshua Ballanco wrote:
> Supposedly there are REXML tests that are maintained outside of Ruby,
Hi,
2010/9/3 NARUSE, Yui <naruse@airemix.jp>:
On Fri, Sep 03, 2010 at 04:27:07PM +0900, NARUSE, Yui wrote:
Hi,
On Sun, Sep 05, 2010 at 12:17:03AM +0900, Yusuke ENDOH wrote:
Hi,
On Fri, Sep 03, 2010 at 02:34:09PM +0900, NARUSE, Yui wrote:
Hi,
Currently, we're discussing three different topics:
On Thu, Sep 09, 2010 at 01:40:34AM +0900, Yusuke ENDOH wrote:
Hello,
Hi,
On Thu, Sep 09, 2010 at 12:33:07PM +0900, Yusuke ENDOH wrote:
Hi,
On Thu, Sep 09, 2010 at 10:13:31PM +0900, Yusuke ENDOH wrote:
As an alternate approach:
2010/9/10 James Cox <james@imaj.es>:
[#32056] [Ruby 1.8-Bug#3788][Open] URI cannot parse IPv6 addresses propertly — Adam Majer <redmine@...>
Bug #3788: URI cannot parse IPv6 addresses propertly
Issue #3788 has been updated by Adam Majer.
2010/9/8 Adam Majer <redmine@ruby-lang.org>:
[#32110] Ruby 2.0 Wiki/Wish-list? — Joshua Ballanco <jballanc@...>
Hi all,
2010/9/8 Joshua Ballanco <jballanc@gmail.com>:
On Sep 7, 2010, at 5:21 PM, NARUSE, Yui wrote:
Hi,
On Sep 8, 2010, at 12:37 AM, Yukihiro Matsumoto wrote:
Hi,
On Sep 8, 2010, at 2:00 AM, Yukihiro Matsumoto wrote:
Hi,
> -- "def" returns a lambda instead of nil
> So, for example, a few things I've wanted for a long time:
I really miss those features:
Hi,
On Thu, Sep 9, 2010 at 4:20 AM, "Martin J. D=C3=BCrst"
[#32135] [Ruby-Bug#3802][Open] freeaddrinfo not found in WS2_32.dll — Thomas Volkmar Worm <redmine@...>
Bug #3802: freeaddrinfo not found in WS2_32.dll
Issue #3802 has been updated by Usaku NAKAMURA.
Hi,
Hello,
On Tue, Oct 12, 2010 at 11:44 PM, U.Nakamura <usa@garbagecollect.jp> wrote:
2010/10/13 Luis Lavena <luislavena@gmail.com>:
[#32154] Making custom_lambda() work — Magnus Holm <judofyr@...>
A tiny suggestion for how we could make it possible to call lambdas
On Wed, Sep 8, 2010 at 18:21, Magnus Holm <judofyr@gmail.com> wrote:
On Sep 8, 2010, at 9:57 AM, Nikolai Weibull wrote:
On Wed, Sep 8, 2010 at 18:57, Nikolai Weibull <now@bitwi.se> wrote:
[#32156] Can we convert the standard library to gems? — James Edward Gray II <james@...>
Taken from the bundle Nokogiri thread:
On 2010-09-09 01:45:43 +0900, James Edward Gray II wrote:
On Sep 8, 2010, at 12:03 PM, Marcus Rueckert wrote:
On 2010-09-09 02:54:26 +0900, James Edward Gray II wrote:
On Sep 8, 2010, at 3:26 PM, Marcus Rueckert wrote:
On 2010-09-09 06:11:15 +0900, James Edward Gray II wrote:
On Thu, Sep 09, 2010 at 05:26:54AM +0900, Marcus Rueckert wrote:
On 10/09/10 at 02:41 +0900, Aaron Patterson wrote:
On Fri, Sep 10, 2010 at 1:54 AM, Lucas Nussbaum
ok, this is not exactly on topic, but I'm using Debian and Ubuntu a
Hi Elise,
Hi,
On Thu, Sep 09, 2010 at 02:06:50AM +0900, Yusuke ENDOH wrote:
Hi,
I'm off today so sorry if I missed some mails.
Urabe,
(2010/09/10 23:48), James Cox wrote:
I'm at an airport back to my home so in short,
On Sun, Sep 12, 2010 at 6:51 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wr=
(2010/09/13 3:54), James Cox wrote:
On Tue, Sep 14, 2010 at 12:37 PM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
How difficult to make myself understood in English.
On Wed, Sep 15, 2010 at 1:43 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wr=
Hi,
On Wed, Sep 15, 2010 at 12:07 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
On 2010-09-16 01:42:39 +0900, James Cox wrote:
On Wed, Sep 15, 2010 at 1:35 PM, Marcus Rueckert <darix@opensu.se> wrote:
On 2010-09-16 03:36:56 +0900, James Cox wrote:
On Wednesday, September 15, 2010, Marcus Rueckert <darix@opensu.se> wrote:
On 16/09/10 at 11:02 +0900, James Cox wrote:
On Thu, Sep 16, 2010 at 1:59 AM, Lucas Nussbaum
On Thu, Sep 16, 2010 at 10:41 AM, James Tucker <jftucker@gmail.com> wrote:
On 2010-09-16 03:36:56 +0900, James Cox wrote:
On Thu, Sep 16, 2010 at 11:44 AM, Marcus Rueckert <darix@opensu.se> wrote:
On Wed, Sep 8, 2010 at 10:45 AM, James Edward Gray II
On Thu, Sep 9, 2010 at 1:41 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
[#32165] [Ruby 1.9-Bug#3805][Open] Ruby generated gem specifications for bundled projects are incorrect — Luis Lavena <redmine@...>
Bug #3805: Ruby generated gem specifications for bundled projects are inc=
[#32200] Ruby 2.0 Wish-list? — Rocky Bernstein <rockyb@...>
Any plans for error messages in languages other than English?
[#32248] Replacing stdlib Date with C version — Jeremy Evans <code@...>
I've recently been working on a replacement for the stdlib Date class,
Hi,
On 09/10 07:23, Nobuyoshi Nakada wrote:
Hi,
[#32351] Cross-compilation bugs and seek for help — Luis Lavena <luislavena@...>
Hello,
It might be off topic though I have to mention this anyway. This is not for
[#32353] [Ruby 1.9-Bug#3825][Open] ENV.delete raise Exception on Windows — Heesob Park <redmine@...>
Bug #3825: ENV.delete raise Exception on Windows
[#32453] Why doesn’t Enumerable define a #last method? — Nikolai Weibull <now@...>
Hi!
(2010/09/17 19:19), Nikolai Weibull wrote:
On Fri, Sep 17, 2010 at 13:00, Urabe Shyouhei <shyouhei@ruby-lang.org> wrot=
On 17 September 2010 12:19, Nikolai Weibull <now@bitwi.se> wrote:
[#32454] [Ruby 1.9-Feature#3845][Open] "in" infix operator — Yusuke Endoh <redmine@...>
Feature #3845: "in" infix operator
On 17 September 2010 12:30, Yusuke Endoh <redmine@ruby-lang.org> wrote:
Hi,
On Wed, Sep 22, 2010 at 1:48 AM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
Hi,
Hello Yusuke,
[#32465] [Ruby-Feature#3848][Open] Using http basic authentication for FTP with Open URI — Jérémy Lecour <redmine@...>
Feature #3848: Using http basic authentication for FTP with Open URI
On Sep 17, 2010, at 2:02 PM, J=E9r=E9my Lecour wrote:
On Sat, Sep 18, 2010 at 13:19, James Edward Gray II
On Sep 26, 2010, at 8:44 PM, mathew wrote:
On Sun, Sep 26, 2010 at 20:57, James Edward Gray II
[#32469] ruby.lib vs VC++ — Phlip <phlip2005@...>
Here's a nice sample program to illustrate my problem:
[#32478] [Ruby-Feature#3851][Open] Ruby 1.9.2p0 crash on filename with '[' — Jon Lambert <redmine@...>
Feature #3851: Ruby 1.9.2p0 crash on filename with '['
[#32506] [Ruby 1.9-Bug#3863][Open] [BUG] unknown type 0x22 (0xc given) — Jay Borenstein <redmine@...>
Bug #3863: [BUG] unknown type 0x22 (0xc given)
[#32529] [Ruby 1.9-Bug#3869][Open] Logger#log does not handle or escape new-line characters. — Hal Brodigan <redmine@...>
Bug #3869: Logger#log does not handle or escape new-line characters.
[#32565] RUBY_PLATFORM on MinGW64 (was: List of possible casting issues under LLP64) — wanabe <s.wanabe@...>
Hello,
On Sat, Sep 25, 2010 at 7:52 PM, wanabe <s.wanabe@gmail.com> wrote:
[#32585] Proposal for Optional Static Typing for Ruby — Martin Pilkington <pilky@...>
Hi,
Hi
Hi,
Hi Matz
Martin,
Hi,
On Sep 28, 2010, at 12:35 PM, Loren Segal wrote:
On Sep 28, 2010, at 2:47 PM, Loren Segal wrote:
Hi Loren, Joshua
Hi All,
It strikes me that much of the premise behind this thread is misguided =
Eleanor,
On 29 Sep 2010, at 16:03, Loren Segal wrote:
Hi Ellie,
Hi,
On Sep 29, 2010, at 12:33 AM, Bill Kelly wrote:
[#32614] Long lines in mails sent from Mail.app (Was: Re: Parameter and Return Interface Specification) — Nikolai Weibull <now@...>
On Tue, Sep 28, 2010 at 14:20, Asher <asher@ridiculouspower.com> wrote:
[#32634] [Ruby 1.9-Bug#3889][Open] Incorrectly detected i686-w64-mingw32 as x64-mingw — Luis Lavena <redmine@...>
Bug #3889: Incorrectly detected i686-w64-mingw32 as x64-mingw
Issue #3889 has been updated by Usaku NAKAMURA.
Issue #3889 has been updated by Shyouhei Urabe.
On Tue, Oct 05, 2010 at 02:03:23PM +0900, Shyouhei Urabe wrote:
Issue #3889 has been updated by Luis Lavena.
[ruby-core:32596] Parameter and Return Interface Specification (Was Re: Re: Proposal for Optional Static Typing for Ruby)
What about designing a Ruby-esque a way of specifying parameter and =
return interfaces?
I think that this would mean
* differentiating call interfaces based on runtime parameter typing
* specifying expectations for parameters and promises for returns
The first would be a simple way of creating complex DSL-style interfaces =
from a splat-type method interface.=20
The second would be an interface for querying methods to see if they =
return an object compatible with expectations.
Presumably these would not be determined at runtime, but would rather be =
specified by code. For instance (not a thoroughly considered exampled):
# method signature( string, :symbol, <any object>, { key =3D> data } )
def some_method
parameters_define do=20
parameter_set do
parameter String, Symbol
parameter String, Symbol
parameter Object
parameter Hash
end
end
return_responds_to :method
...
return return_object
end
I think that while Ruby is not inclined toward parse-time typing =
checking, runtime interface inquiry is most appropriate. It seems to me =
that the more we move toward integrating Ruby, the more we will need to =
treat Ruby not as a language with source/runtime programs, but as an =
active environment that we can at any point investigate as to state (the =
more we can treat Ruby elements as always-present, the more we are =
programming an ecology of organic objects rather than interfacing with a =
program). I am thinking something like (obviously way down the road) a =
fully-integrated IRB environment that pertains to daily OS operations as =
much as coding for application purposes. I think that Apple's =
development of Cocoa parallels Ruby in many ways in this senses, =
particularly in the use of singleton/factory patterns as controllers for =
class methods and singleton instances. It seems a small step from either =
instance to consider networks of runtime applications that can =
arbitrarily interface with one another in terms determined at runtime.=20=
It might be difficult at this point (where users are primarily human) to =
think about uses for such runtime interfacing, but I think 1. such uses =
will appear more as it is easier/more flexible to do so and 2. the more =
meta-programming becomes possible, the more it becomes possible to write =
automated/intelligent programs that act/interact in terms dependent on =
their environment.=20
This is by no means a solution/proposal at this point, but maybe enough =
to get some thoughts running?
Asher
On Sep 28, 2010, at 7:52 AM, Asher wrote:
> Martin,
>=20
> With respect, I think you're considering this backwards, attempting to =
adjust Ruby in order to address how you're used to dealing with =
language.=20
>=20
> As I see it, one of the major advantages of Ruby is its flexibility, =
insofar as it figures out for you many details (such as implicit =
typing). One of the major disadvantages of Ruby is that it has to figure =
out all of these details. In other words, attempting to satisfy both the =
advantages and disadvantages of typing in this way is likely to do =
little other than amplify the disadvantages of Ruby (primarily the =
underlying weight of the VM) as well as the disadvantages of typing =
(having to specify details everywhere, having to update details in =
multiple places for minor changes, etc.)
>=20
> So you say "reliable, powerful tools" - why does this correspond to =
typing in any way?=20
>=20
> I think instead we should be asking what "powerful" and "reliable" =
mean in a programming context where typing is not the primary emphasis. =
What is a hardened Ruby program? I think this is worth asking, but I =
don't think it's a question whose answer is barred by way of any =
relation to typing.=20
>=20
> Some languages (PHP?) have dealt with this by using "type hints", but =
I think this simply encourages the wrong approach, emphasizing explicit =
typing over patterns that are not type-reliant. For instance (as many =
web pages/blogs will attest), a common pattern for Ruby-newbies is first =
Class checking, and second method response checking. While there are =
(rare) appropriate applications for these tests, most of the time they =
are misplaced and are symptoms of a view of language that comes from =
somewhere other than Ruby.=20
>=20
> Perhaps we would be better served by talking about what sorts of tools =
we desire. "Reliable" is obvious enough, but what of "powerful"? How are =
we to define this aspect of tools, particularly regarding Ruby =
specifically?=20
>=20
> So some questions:=20
>=20
> 1. What tools should exist?
>=20
> 2. Which of these tools don't yet exist or should exist with better =
implementations?
>=20
> 3. What is the inherent relation of these tools to typing?
>=20
> I think that much of what we are dealing with here is what I would =
call a distinction between meta-programming languages and =
memory-programming languages. Ruby is not a memory-oriented programming =
language, but a meta- oriented programming language. The functionality =
of Ruby has far more to do with contingent context elaborated at a =
run-point in the program context than it does with the mapping of code =
structures to computer (memory) structures. In other words, the =
brilliance of Ruby is that the code is not about how the computer works, =
but is about how the objects work (which require no inherent relation to =
the computer itself or to their particular mode of storage in memory). =
This seems to me to deal first and foremost with "getting away" from =
types while nevertheless retaining the underlying benefits that types =
provide (albeit mostly invisibly).=20
>=20
> Best,
> Asher
>=20
>=20
> On Sep 28, 2010, at 6:53 AM, Martin Pilkington wrote:
>=20
>> Hi Matz
>>=20
>> Thanks for the reply. I full agree with you (and Alan Kay) that =
typing can be a pain, though due to benefits in more accurate and =
effective tools there are advantages to it. If there was a way to easily =
and reliably get tools as powerful as languages with static typing =
without the need for the typing then I'd be all for it as I love using =
duck typed languages and the freedom they give.
>>=20
>> I did consider structural typing and it could be a route to go down. =
Ultimately I'm just wanting a better way for me and others to build =
reliable, powerful tools for Ruby, regardless of how that is approached. =
I did hit a snag when considering structural typing though, which may be =
due to my relative inexperience with structural typing, so you might be =
able to help with a solution.=20
>>=20
>> Obviously structural typing is great at easily working out whether =
two objects are technically interchangeable, whether or not they =
conceptually are. However, while you can say that a String object is =
simply one that has methods +, <<, concat, length, split, sub etc, it's =
somewhat harder to say what the argument and return types of those =
methods are (of course that is a somewhat bad example given that the =
return values/types are given for the very base classes and their =
methods, but you get the idea). This is ultimately the main reason for =
me wanting some degree of pre-runtime typing (the return types more than =
the arguments) and I can't see any way to calculate these types without =
type inference, which itself I see snags with.
>>=20
>> I'm just wondering if you have any thoughts about getting this method =
type information? I could just be overlooking something that a fresh =
(and far more experienced with Ruby) pair of eyes can see, but I'm just =
struggling a bit with reliable ways to get the type info needed.
>>=20
>> Thanks
>>=20
>> Martin
>>=20
>>=20
>> On 27 Sep 2010, at 4:29PM, Yukihiro Matsumoto wrote:
>>=20
>>> Hi,
>>>=20
>>> In message "Re: [ruby-core:32585] Proposal for Optional Static =
Typing for Ruby"
>>> on Mon, 27 Sep 2010 20:58:51 +0900, Martin Pilkington =
<pilky@mcubedsw.com> writes:
>>>=20
>>> |I know this is my first post on this list and that I'm relatively =
new to the Ruby community, and that this can be a somewhat controversial =
topic (as I've found by asking about it on the #ruby-lang channel).=20
>>>=20
>>> Short response:
>>>=20
>>> "I'm not against types, but I don't know of any type systems that
>>> aren't a complete pain, so I still like dynamic typing." - Alan Kay
>>>=20
>>> Static typing surely has its benefit, but on the other hand, Ruby =
the
>>> language strongly encourages duck typing, so that its type system
>>> should not hinder duck typing. As a result, the type checking =
should
>>> be based on structural types, not nominal types. I don't think your
>>> proposal cares about duck typing or considered structural type
>>> conformance.
>>>=20
>>> Although I like your <type> notation, that reminds me the scheme
>>> object system, iff we don't have to write them often. I don't think =
I
>>> could stand to write <type> everywhere.
>>>=20
>>> matz.
>>>=20
>>=20
>>=20
>=20
>=20