Ermolaev Andrey
Ermolaev Andrey
I benchmarked `dry-types` and `activemodel` and noticed that `dry-types` has low perfomance, and I dip inside code rails https://github.com/rails/rails/blob/main/activemodel/lib/active_model/type/helpers/time_value.rb#L72 https://github.com/rails/rails/blob/main/activemodel/lib/active_model/type/date.rb#L30 rails use regexp for frequent case
## To Reproduce ```ruby Types::Params::Integer.optional[''] # => raise invalid value for Integer(): "" Types::Optional::Params::Integer[''] # => nil Types::Params::Date.optional[''] # => raise invalid date Dry::Types["optional.params.date"] # => Nothing registered with the...
## Describe the bug `UserSchema.info` raised an error if schema has `.maybe` ## To Reproduce ```ruby UserSchema = Dry::Schema.JSON do optional(:age).maybe(:integer) end UserSchema.info ``` ``` undefined method `visit_not' for #...
http://backports.debian.org/Instructions/
```ruby limiter = Kredis.limiter "mylimit", limit: 3, expires_in: 5.seconds 7.times { pp [limiter.poke, limiter.exceeded?] } [1, false] [2, false] [3, true] [4, true] [5, true] [6, true] [7, true] ```
`Code: 121. DB::Exception: Unsupported JOIN keys in StorageJoin. Type: 8: While executing Join. (UNSUPPORTED_JOIN_KEYS) (version 23.10.6.60 (official build))` this query **work in 23.8**, 23.10 - 23.12 not work ```sql SELECT...
**Describe the bug** if enabled `fork_worker` after 1000 (by default) request, app is getting very slow 1. `ab -k -n 50000 -c 100 http://127.0.0.1:3000/` => `Requests per second: 7540.16 [#/sec]...