Patrik Wenger

Results 47 issues of Patrik Wenger

I just watched Destin's video. Pretty cool how you explained Boid's algorithm. I got curious and had a look at boid.js. This TODO caught my attention even though the function...

I'm in a Ruby script (with `ft=ruby`) and I wanna run it in a REPL. I have `g:neoterm_repl_ruby='pry'`. I run `:TREPLSendFile`. A terminal is opened but with a normal shell,...

bug

I frequently develop in an SSH session, with no GUI. I set `g:ruby_doc_command` to `www-browser` but it doesn't work. It's probably because it uses `silent` and redirections to `/dev/null` here:...

I get this warning on Ruby 2.7.1: ``` ~/.gem/ruby/2.7.1/gems/rbgccxml-1.1.0/lib/rbgccxml/nodes/type.rb:13: warning: deprecated Object#=~ is called on RbGCCXML::Method; it always returns nil ```

Crystal supports the use of keywords as arguments in method definitions (by using an external argument name) and also `fun` declarations (by just using it, using an external argument name...

bug

## Describe the bug Inserting records with blob attributes works using `my_relation.command(:create).call(records)` but it fails with `my_relation.multi_insert(records)`. ## To Reproduce ```ruby require 'logger' require 'securerandom' require 'rom' require 'rom-sql' require...

bug
help wanted

I have this DB: ``` sqlite3 current_cases.sqlite3 ".schema" CREATE TABLE `current_cases` (`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT, `path` varchar(255) NOT NULL UNIQUE, `object` blob NOT NULL); ``` The table...

bug

I expect the SNMP-GET request not to block: ```ruby require 'bundler/setup' require 'snmp' require 'async' require 'async/io' require 'async/io/udp_socket' OID_SYSNAME = "1.3.6.1.2.1.1.5.0" OID_SYSLOCATION = "1.3.6.1.2.1.1.6.0" module SNMP include Async::IO end...

Nothing happens when I `viq` or `viQ` inside a quoted string. vim-textobj-user and vim-textobj-quote are installed. I'm using NeoVim v0.6.1. My config: ```vim Plug 'kana/vim-textobj-user' Plug 'preservim/vim-textobj-quote' " ... augroup...

I'm on Ruby 3.1.1 and Async 2.0.1, Ubuntu 20.04. The following script hangs after the first Ctrl+C, but only if both sleeping tasks are active: ```ruby #!/usr/bin/env ruby require 'async'...

bug