General

Profile

bdewater (Bart de Water)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

01/12/2026

08:10 PM Ruby Misc #21833: Switch default hash from SipHash13 to XXH3?
FWIW
- https://github.com/Nicoshev/rapidhash claims to be even faster and passes the SMHasher tests
- Since Rust 1.36 they switched from SipHash13 to https://github.com/rust-lang/hashbrown for hashmaps
bdewater (Bart de Water)

01/02/2025

03:52 PM Ruby Bug #20997 (Closed): YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
I tried upgrading our Rails app from Ruby 3.3.6 to 3.4.1 and our test suite failed with the following panic error on our Linux CI runners. In case it matters, we use https://runs-on.com/ instead of GitHub's runners and the AMI name is `r... bdewater (Bart de Water)

11/28/2022

05:04 PM Ruby Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
I like `dup` as the method name šŸ‘
tomstuart (Tom Stuart) wrote in #note-9:
> Perhaps another way of putting this is that I’d estimate most Ruby programmers rarely call `Object#dup` in the course of their work, whereas I would expect ...
bdewater (Bart de Water)

11/12/2022

11:14 PM Ruby Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Feature #19000] Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object] (bdewater)
* There seems to be consensus for the need of the feature, but not on what the method name should be. The pro...
bdewater (Bart de Water)

10/21/2022

03:05 PM Ruby Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
Example from Sorbet which uses `with` as well:
``` ruby
class Point < T::Struct
const :x, Numeric
const :y, Numeric
end
# An immutable instance
Origin = Point.new(x: 0, y: 0)
right = Origin.with(x: 1.0)
up = Origin.with(...
bdewater (Bart de Water)

10/19/2022

07:47 PM Ruby Feature #19071: Add Time#deconstruct, #deconstruct_keys, and #to_h
My first reaction seeing the example usage: they seem more for `Date` than `Time`, but I can see this being useful for both :) bdewater (Bart de Water)

03/16/2021

10:16 AM Ruby Revision da6341b7 (git): [ruby/openssl] User lower case cipher names for maximum compatibility
We ran into some Linux-based systems not accepting the upper case variant
https://github.com/ruby/openssl/commit/7bc49121d5
bdewater (Bart de Water)

06/29/2020

04:25 AM Ruby Revision 3621a7de (git): Avoid deprecated OpenSSL::Digest constants
bdewater (Bart de Water)

05/13/2020

06:47 AM Ruby Revision c85789f9 (git): [ruby/openssl] Look up cipher by name instead of constant
https://github.com/ruby/openssl/commit/b08ae7e73d bdewater (Bart de Water)
06:47 AM Ruby Revision a7145c3d (git): [ruby/openssl] Fix signing example to not use Digest instance
https://github.com/ruby/openssl/commit/033fb4fbe4 bdewater (Bart de Water)

Also available in: Atom