General

Profile

vjoel (Joel VanderWerf)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

09/01/2014

05:46 PM Ruby Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
Fails with gcc-4.8.2 also.
~~~
$ make check
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -W...
vjoel (Joel VanderWerf)

04/17/2014

07:12 PM Ruby Bug #9754: Ruby refuses to run source with Mutex locks though there is no hazard..
A Mutex is not reentrant.
This deadlocks:
m = Mutex.new
m.lock
m.synchronize {}
So does this:
m = Mutex.new
m.synchronize {m.synchronize {}}
But Monitor is reentrant, so the following does not deadlo...
vjoel (Joel VanderWerf)

11/19/2013

07:04 AM Ruby Feature #9121: [PATCH] Remove rbtree implementation of SortedSet due to performance regression
As noted at https://github.com/ruby/ruby/pull/451#issuecomment-28741490:
These benchmarks miss the point of using rbtree, which is to pay a small insertion cost to keep the structure sorted so that ordered lookups are fast. If you onl...
vjoel (Joel VanderWerf)

06/25/2013

07:46 AM Ruby Feature #6373: public #self
Another argument against `#identity`: it is used by several libraries for something completely different. For example, in narray:
~~~ruby
>> NMatrix.float(2,2).identity
=> NMatrixfloat2,2:
[ [ 1.0, 0.0 ],
[ 0.0, 1.0 ] ]
~~~
...
vjoel (Joel VanderWerf)

05/07/2013

02:43 PM Ruby Bug #8374 (Closed): race condition when two threads require a gem
=begin
Requiring a gem with a C extension seems to be not threadsafe.
Any one of the require lines below will frequently (but not always) cause an error like the following:
/usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/k...
vjoel (Joel VanderWerf)

03/27/2013

08:06 AM Ruby Feature #8128: New primitives for Rinda::TupleSpace
You are right: it is best to leave these extensions out of trunk. I can maintain them separately.
However, some clarifications:
* the proposed #take_all and #replace_all operations do *not* block. They are like #read_all in that re...
vjoel (Joel VanderWerf)

03/20/2013

08:00 AM Ruby Feature #8128 (Rejected): New primitives for Rinda::TupleSpace
=begin
= New primitives for Rinda::TupleSpace
This issue proposes adding two new primitives to TupleSpace for atomic bulk operations:
== 1. TupleSpace#replace_all
=== What it does
Calling
replace_all(tuple, new_tuple,...
vjoel (Joel VanderWerf)
02:21 AM Ruby Bug #8125 (Closed): lost-tuple bug and fix for Rinda::TupleSpaceProxy.take
=begin
Rinda::TupleSpaceProxy prevents tuple loss during #take by exposing a "port" object on the client that the remote side (the tuplespace server) pushes to, instead of relying on the method return value. Pushing to the port fails ...
vjoel (Joel VanderWerf)

03/19/2013

06:13 AM Ruby Feature #8119 (Closed): more efficient version of Rinda::TupleSpaceProxy.take
=begin
The purpose of Rinda::TupleSpaceProxy is to avoid losing tuples when a client disconnects during a #take call. This is implemented by sending the result value ((*twice*)): first by pushing it to a client-side array, second by r...
vjoel (Joel VanderWerf)

07/07/2011

04:15 PM Ruby Feature #4985: Add %S[] support for making a list of symbols
Wondering idly if the following could be parsed...
:[foo bar]
Eh, maybe it's too inconsistent with % notation anyway.
vjoel (Joel VanderWerf)

Also available in: Atom