[#23657] [Bug #1550] String#lstrip! raises RuntimeError on Frozen String Despite Making No Changes — Run Paint Run Run <redmine@...>
Bug #1550: String#lstrip! raises RuntimeError on Frozen String Despite Making No Changes
Hi,
On Jun 1, 2009, at 5:07 PM, Yukihiro Matsumoto wrote:
Hi,
Issue #1550 has been updated by Yukihiro Matsumoto.
This change seems to break the build on my machine:
[#23683] [Bug #1560] multi core operations are slower on trunk (possible regression) — David Cuadrado <redmine@...>
Bug #1560: multi core operations are slower on trunk (possible regression)
[#23700] Standard Ruby bytecode — Ioannis Nousias <s0238762@...>
I came across this post:
[#23717] [Bug #1573] $0 behaves unexpectedly — Morris Brodersen <redmine@...>
Bug #1573: $0 behaves unexpectedly
[#23727] [Bug #1580] TestIOScanF failure in windows — Roger Pack <redmine@...>
Bug #1580: TestIOScanF failure in windows
[#23729] [Bug #1583] Time + String no Longer Raises TypeError? — Run Paint Run Run <redmine@...>
Bug #1583: Time + String no Longer Raises TypeError?
Issue #1583 has been updated by Akira Tanaka.
Hi,
Excerpts from Yukihiro Matsumoto's message of Sun Jun 07 17:07:06 +0300 2009:
[#23738] Ducktyping interface — Yehuda Katz <wycats@...>
Matz,
[#23753] [Bug #1587] Problem with string sharing — Quet Zal <redmine@...>
Bug #1587: Problem with string sharing
[#23770] [Bug #1595] rake unusable on windows install — Robert Gonzalez <redmine@...>
Bug #1595: rake unusable on windows install
[#23815] inheriting socket in child process on native Windows — "Knutaf" <knutaf@...>
Hello,
> This works on Linux by persisting socket.fileno from the parent process a=
Well, I'm already not exactly using pure Ruby, since I'm wrapping
> Besides that, I think using WSADuplicateSocket will suffer from the
I tried that with both the HANDLE value and with an fd value that I
> I tried that with both the HANDLE value and with an fd value that I
[#23842] request for updated ri/rdoc on 1.8.7 branch — Roger Pack <rogerdpack@...>
would it be possible to get a newer version of ri/rdoc installed on
[#23845] [Bug #1627] Kernel.require Should Canonicalise Paths — Run Paint Run Run <redmine@...>
Bug #1627: Kernel.require Should Canonicalise Paths
[#23849] [Bug #1629] [Segfault] z = Zlib::GzipReader.new segfaults — Markus Fischer <redmine@...>
Bug #1629: [Segfault] z = Zlib::GzipReader.new segfaults
[#23850] instance_eval no longer yielding self in ruby 1.9 — apeiros <apeiros@...>
Hi folks
Hi,
Am 16.06.2009 um 22:12 schrieb Yusuke ENDOH:
Am 17.06.2009 um 00:01 schrieb Florian Gilcher:
[#23869] [Bug #1640] [PATCH] Documentation for the Rational Class — Run Paint Run Run <redmine@...>
Bug #1640: [PATCH] Documentation for the Rational Class
[#23878] trouble registering and logging in to the issue tracking system — Knutaf H <knutaf@...>
Hi,
[#23883] Merging recent Ruby threading improvements — Joe Damato <ice799@...>
Hi ruby-core and CC'ed friends -
[#23934] [Bug #1661] RegExp mismatch — Adam Carheden <redmine@...>
Bug #1661: RegExp mismatch
[#23950] [Bug #1668] Error installing ruby gems for 1.9.1 on windows vista — Kristian Mandrup <redmine@...>
Bug #1668: Error installing ruby gems for 1.9.1 on windows vista
[#23977] [ANN] meeting log of RubyDeveloperKaigi20090622 — "Yugui (Yuki Sonoda)" <yugui@...>
Hi,
Thanks for the update. :-)
On Jun 23, 2009, at 4:23 AM, Run Paint Run Run wrote:
James Gray wrote:
Sorry for late response,
On Tue, Jul 7, 2009 at 12:12 AM, NARUSE, Yui<naruse@airemix.jp> wrote:
On Mon, Jul 6, 2009 at 10:18 PM, Luis Lavena<luislavena@gmail.com> wrote:
Charles Oliver Nutter wrote:
I agree pretty much across the board. I was actually hoping that
Charles Oliver Nutter wrote:
2009/6/23 Yugui (Yuki Sonoda) <yugui@yugui.jp>
2009/6/23 Yugui (Yuki Sonoda) <yugui@yugui.jp>:
On Wed, Jul 1, 2009 at 3:20 PM, Charles Oliver
[#23986] possible bug with windows `` they don't set $? — Roger Pack <rogerdpack@...>
Looks like a bug? [1.8 or 1.9]
[#23988] [Bug #1680] URI.encode does not encode '+' (by default) — Xuân Baldauf <redmine@...>
Bug #1680: URI.encode does not encode '+' (by default)
[#23997] [Bug #1681] Integer#chr Should Infer Encoding of Given Codepoint — Run Paint Run Run <redmine@...>
Bug #1681: Integer#chr Should Infer Encoding of Given Codepoint
Hi,
>> This seems needlessly verbose given that Ruby already knows
[#24007] [Bug #1684] ruby/rubyw.rc still say 1.9.1 — Roger Pack <redmine@...>
Bug #1684: ruby/rubyw.rc still say 1.9.1
[#24010] [Bug #1685] Some windows unicode path issues remain — B Kelly <redmine@...>
Bug #1685: Some windows unicode path issues remain
Issue #1685 has been updated by B Kelly.
Issue #1685 has been updated by Yuki Sonoda.
Yuki Sonoda wrote:
Hi,
Hello,
U.Nakamura wrote:
Hello,
U.Nakamura wrote:
Hello,
Hi,
Hello,
Hi,
Hello,
[#24025] [Bug #1688] Zlib raises a buffer error when inflating some kinds of data — Luis Lavena <redmine@...>
Bug #1688: Zlib raises a buffer error when inflating some kinds of data
Issue #1688 has been updated by Roger Pack.
On Thu, Jun 25, 2009 at 10:28 AM, Roger Pack<redmine@ruby-lang.org> wrote:
[#24032] [Bug #1690] backticks don't set $? in windows — Roger Pack <redmine@...>
Bug #1690: backticks don't set $? in windows
[#24033] [Bug #1691] ruby --help doesn't display the "skip rubygems" option — Roger Pack <redmine@...>
Bug #1691: ruby --help doesn't display the "skip rubygems" option
[#24050] 1.9.2 Should Pass RubySpec Before Release — Run Paint Run Run <runrun@...>
I humbly suggest that a prerequisite of 1.9.2 being released is that
[#24058] [Bug #1696] http downloads are unuseably slow — Steven Hartland <redmine@...>
Bug #1696: http downloads are unuseably slow
Issue #1696 has been updated by Steven Hartland.
Net/HTTP in 1.9.2dev is already working as you described with two
In article <4a464441bf3f7_13bd3907d016634@redmine.ruby-lang.org>,
Excerpts from Tanaka Akira's message of Mon Jun 29 21:17:58 +0300 2009:
On Jun 29, 2009, at 1:38 PM, Eero Saynatkari wrote:
[#24063] [Feature #1697] Object#<=> — Marc-Andre Lafortune <redmine@...>
Feature #1697: Object#<=>
Issue #1697 has been updated by Rick DeNatale.
Excerpts from Luiz Angelo Daros de Luca's message of Sun Jun 28 16:22:45 +0300 2009:
[#24069] [ANN] RubyInstaller: Building installers story and news — Luis Lavena <luislavena@...>
Hey guys,
> We have preview1!!!
[#24099] [Bug #1708] require 'complex' Causes Unexpected Behaviour — Run Paint Run Run <redmine@...>
Bug #1708: require 'complex' Causes Unexpected Behaviour
[ruby-core:24016] Re: [ANN] meeting log of RubyDeveloperKaigi20090622
> It's a kind of amalgamation of boolean flip-flops and
> Enumerbale#partition. The name appears to be in doubt. IMO, 'gather'
> is too similar to 'collect', and to a slightly lesser extent,
> 'select'. 'chunk' or 'chunk_by' seems to capture the intent of the
> method better. (I disagree with the suggestion that the block could
> return certain underscore-prefixed symbols to control the method's
> operation; it seems inelegant).
partition_by perhaps?
A few related attempts have been:
rails' group_by [1]
>> (1..10).group_by{|n| n & 2}
=> {0=>[1, 4, 5, 8, 9], 2=>[2, 3, 6, 7, 10]}
and
enumerable_mapper gem's:
>> (1..10).grouped_by{|n| n & 2}
=> [[0, [1, 4, 5, 8, 9]], [2, [2, 3, 6, 7, 10]]]
The output of the latter is a little more of what I had expected the
"gather" method to do, too, something that includes the values
(1..10).chunk_by {|n| n & 2 }
#=> [0, [1]] # 1 & 2 = 0
# [1, [[2, 3]] # 2 & 2 = 3 & 2 = 1
# [0, [[4, 5]] # 4 & 2 = 5 & 2 = 0
# [1, [[6, 7]] # 6 & 2 = 7 & 2 = 1
# [0, [[8, 9]] # 8 & 2 = 9 & 2 = 0
# [1, [[10]] # 10 & 2 = 1
otherwise you lose your gathered values which might not be as useful.
>> * SQLite as a standard library
>> * [ruby-dev:38463]
That might be quite useful, but why is the question. To make it more
available to users, since it comes by default [i.e. the equivalent of
bundling the sqlite headers along with ruby and including a sqlite
gem]?
I have a few suggestions for core change too, that might be
considered...guess I'll throw them all out here now since we're in the
Ruby RCR mood...
1) allow for better multi line comments
history: currently there is not easy way to do multi line comments
except by adding many #'s to the beginning of each line, or adding a
somewhat [to me] jarring
begin code
=begin
some code
=end
continue code
So the request is for prettier multi line comments. Most people on
ruby talk call me crazy for wanting this, but I just cringe every time
I have to do it in Ruby.
The possible options would be to introduce a new multi-line comment
delineator [like /* */] or perhaps modify the =begin syntax to allow
for it to not be at the beginning of a new line
=begin
some code
=end
more code.
I'm not one of those with a cool enough editor to do the multi line
comments for me [and many aren't], so such an addition would result in
cleaner looking multi line comments--at least to me.
2) default BasicSocket.do_not_reverse_lookup to true.
background: Currently ruby socket code defaults to always doing a
reverse DNS lookup
when it can [ex: once per incoming UDP packet].
This causes "surprising" pauses when the lookup fails, because the DNS
waits 15s to timeout, before passing the packet back to the
program--the (possibly random) pause is unexpected.
to see this in action: http://betterlogic.com/roger/?p=1646
comment out the do_not_reverse_lookup on the receiver and change the
sender to send to IP127.0.0.255 and watch the "slow for now reason"
packets come in.
The example works great [no pauses] if you set
BasicSocket.do_not_reverse_lookup to
true, and is much less surprising. This isn't the first time I've been
bit by ruby's internal DNS lookups, and others have similarly been bit
by this, and it always causes confusion. It also decreases the
network traffic overhead, etc.
A followup suggestion would be to deprecate do_not_reverse_lookup and
in its place create reverse_lookup so that you don't have to use as
many double negatives. [2]
3) with ruby in "-d" or "-v" mode (debug, verbose) don't swallow any
lines from the exception backtrace given when a program exits because
of uncaught exception. Those swallowed lines are sometimes useful,
and it is inconvenient to not be able to get at them easily. So I'd
suggest that if ruby's in verbose mode, they not be swallowed.
Thoughts?
4) (the controversial one). Have load 'rubyscriptname' behave the same
as require 'libraryname' in terms of extension guessing. It's
surprising to me when require doesn't require extension but load does,
because require and load typically both end up being used against .rb
files, so when I go from one to the other, I'm forced to include
extension. It's confusing for newbies (and surprising for me).
Just thought I'd get those off my chest.
Thoughts?
-=roger
[1] http://allgems.faithpromotingstories.org/gems/doc/activesupport/2.3.2/classes/Enumerable.html#M000948
[2] http://www.ruby-forum.com/topic/184011#new