Michael G. Schwern

Results 37 issues of Michael G. Schwern

Using CircularAvatars and a 1x1 black default.png (to make it effectively invisible) I got: Exception in thread "Animation Thread" java.lang.RuntimeException: The PImage used with mask() must be the same size...

Sorry if this isn't the appropriate place to report code_swarm issues. This fork is more active than the mainline on Google Code so I figure I'll report here. When visualizing...

Unlike schema migrations, data migrations are easy to test but require a bit of special setup. This adds a spec file to the generator. * Loads the migration. * Sets...

Usually when resetting a database there is no data, but we use data migrations to create table partitions so we need to make sure they run even in development. (Having...

It seems `klass.define_method(...)` does not work in Ruby 2.4.4. It works in Ruby 2.5.5. Work around it using `klass.class_exec { define_method(...) }`. Thank you for this wonderful module! If it...

# Summary `Bot.server(id)` does not load a server's channels. While `Server.new` expects channels to be in the data. `Server#process_channels` is private leaving the Bot with no obvious way to set...

info needed
caching

# Summary Demonstrate proper bot shutdown procedure in the examples. @z64 [told me I was not correctly shutting down my bot](https://github.com/discordrb/discordrb/pull/716#issuecomment-621525294), but I'd followed the examples and [wiki](https://github.com/discordrb/discordrb/wiki/Basic-bot-creation) (which has...

documentation

EditorConfig provides basic project editor configuration standards. It covers the basics of indention, line endings, character set, and whitespace trimming. It makes it easier to follow project standards. Supported editors...

code-style

We have some spec files which are isolated by their metadata. For example, specs for services which touch real APIs using test accounts. We want them to be completely isolated...

The Rails/Output cop is flagging `p` and `puts` inside migrations and generators saying I should use the logger instead. `Rails.logger` does not appear to be a drop in replacement for...