Daniel Gleason
Daniel Gleason
I was able to resolve this by simply calling: pythoncom.CoInitialize() and pythoncom.CoUninistialize() manually without the context manager
>  Did you ever figure out this issue?
I'm using mysql, the latest gem version, and rails 5.2.3 ruby version 2.6.3.
I would if I can find the solution first. I think it's just this line: add_index :friendships, [:friendable_id, :friend_id], unique: true, algorithm: :concurrently Do you know what I need to...
Entire migration: ``` # This migration comes from has_friendship_engine (originally 4) if ActiveRecord.gem_version >= Gem::Version.new('5.0') class AddUniqueIndexToFriendships < ActiveRecord::Migration[4.2]; end else class AddUniqueIndexToFriendships < ActiveRecord::Migration; end end AddUniqueIndexToFriendships.class_eval do disable_ddl_transaction!...
Would it be default, copy, or in place?
Looks like :concurrently is simply only for Postgres databases actually. I think I could just use :inplace for now. But from what I can tell, :concurrently actually speeds up your...
I just installed postgres and it worked fine. I'm not really attached to mysql, it was just easiest to install.
Don't we need to tell trueskill how many wins, or losses a specific player has? How do I do this when performing the rating recalculation?
trueskill.Rating(mu=25.000, sigma=8.333) trueskill.Rating(mu=25.000, sigma=8.333) trueskill.Rating(mu=29.396, sigma=7.171) trueskill.Rating(mu=20.604, sigma=7.171) def start(self): trueskill.TrueSkill(backend='scipy').cdf r1 = Rating() r2 = Rating() t1 = [r1] t2 = [r2] print(r1) print(r2) (new_r1,), (new_r2,) = rate([t1, t2])...