Victor Maslov

Results 62 issues of Victor Maslov

Just spent an hour or more installing different debugging tools until found the cause of my error.

https://github.com/aderyabin/sniffer/commit/989decb621cf0a2ba1c8107ddc91bd387f968cad#r90484803

Since the "[Help Docs](https://github.com/xibyte/jsketcher/blob/main/web/docs/index.md)" link is broken I'm trying to figure out how to use it rather via trial and error. For example, I want to design a triangular nut...

BTW, maybe also add them to assertions count in the end report because it has surprised me few minutes ago that my test suite has more tests than assertions.

The `String#match` is doing funny things ```none irb(main):023:0> "vg?1".match "vg?1" => nil irb(main):024:0> "g?1".match "g?1" => # ``` here https://github.com/rubycdp/ferrum/blob/7ae00e7ce557c765f9dfcd75b5875cdc1cc186dd/lib/ferrum/network/intercepted_request.rb#L33 and since you send regex on url and not vice...

I need to rotate this image around the center of the circle with known coordinates ![temp](https://user-images.githubusercontent.com/2870363/236895406-4619a96b-1233-49b9-82c2-ce73219805a8.png) ``` [x,y,angle] [398, 290, -2.4995608216061647] ``` ```ruby img.rotate(angle * 180 / Math::PI, idx: x,...

bug

```ruby Vips::Image.new_from_buffer("GIF89a\x01\x00\x01\x00\x00\xff\x00,\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x00;", "").to_enum ``` FFI::NullPointerError: invalid memory read at address=0x0000000000000000 MacOS, ruby 2.3.8, ruby-vips-2.1.4, vips-8.11.3 I suppose I took it from here http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever

bug

```none $ bundle exec irb -rrubyXL irb> t = File.binread "temp.xlsx" => "PK\x03\x04\x14... irb> RubyXL::Parser.parse_buffer t => # RubyXL::Parser.parse_buffer t Traceback (most recent call last): ... 4: from .../rubyXL-3.4.25/lib/rubyXL/objects/ooxml_object.rb:116:in `parse'...

I believe it's useless https://github.com/bblimke/webmock/blob/63940ac95345968cf435820a62102d913441862c/lib/webmock/request_stub.rb#L94-L96 and it conflicts with the new Ruby method `#then`. I've just got caught on it here: ```ruby p( stub_request(mtd, url).then do |_| with_any_query ? _.with(query:...

Because if I for some reason pass an empty array to `histogram` the error is cryptic: ```none gems/2.4.0/gems/unicode_plot-0.0.5/lib/unicode_plot/histogram.rb:12:in `histogram': undefined method `-' for nil:NilClass (NoMethodError) from main.rb:85:in `block in '...

bug