Victor Maslov

Results 70 issues of Victor Maslov

```ruby require "vips" mask = Array.new(10){ |i| Array.new(10){ |j| 1 / Math::hypot(i-4.5, j-4.5) } } hm = Vips::Image.new_from_file("PlayerSpawnsHeatMap.png").extract_band(0) hm.conv(mask, precision: :integer).to_a.flatten.sort.uniq p hm.cast(:int).conv(mask, precision: :approximate).to_a.flatten.sort.uniq p hm.cast(:int).conv(mask, precision: :approximate).to_a.flatten.sort.uniq ```...

bug

```none SyntaxError (/Users/nakilon/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/infoboxer-0.4.0/lib/infoboxer/tree/table.rb:35: syntax error, unexpected ']') rows[1..] ``` There was a big commit recently introducing lots of modern features. But `.gemspec` says: ```ruby s.required_ruby_version = '>= 2.1.0' ``` Either...

bug

I wonder how do I use it to get the Wiktionary data. For example an Etymology section for "Russian". ```ruby Infoboxer.wiktionary.get("Russian").sections.first.sections("Etymology").text => "{der:en|ML.|-} (11th century) {m:la|Russiānus}, the adjective of {m:la|Russia},...

I've spent two days on editing the 4 hours long screencast recording and now when I export the file there are two kinds of sound glitches everywhere. I thought they...

But consider the project https://github.com/rubycdp/ferrum

Trying the "webmock/minitest". Here is the test code: ``` assert_raises DirectLink::ErrorNotFound do DirectLink.imgur "https://imgur.com/a/wwwwwww" end ``` As I remember the "You can stub this request with ..." has to be...

I have a [repo](https://github.com/Nakilon/stalker-maps) that is almost two years old and its README did not need fancy formatting so I made it .txt But I accidentally discovered that since some...

**To Reproduce** ```none $ git clone [email protected]:oetiker/rrdtool-1.x.git $ cd rrdtool-1.x/bindings/ruby/ $ ruby extconf.rb checking for rrd_create() in -lrrd... yes creating Makefile $ make compiling main.c main.c:8:10: fatal error: 'rrd_tool.h' file...

В README есть информация о том, как документацию собирать, но не ясно, как правильно ее смотреть. Потому что если, например, открыть `ru/overview/index.html`, то из всех ссылок на разделы работает только...