Genshin Impact: Albedo vs Mona crafting talent, who is better?
In Genshin Impact, you can craft materials of a given rank from three
materials of the rank just below, eg. you can craft one gold book from
three blue books.
Albedo has a talent where crafting a weapon ascension material has a 10% chance
of giving double the output. Mona has a talent where crafting a weapon ascension
material has a 25% chance of refunding a portion of the input materials.
Setting session variables in an RSpec Rails request spec
You are writing a spec with type: :request, i.e. an integration spec instead
of a controller spec. Integration specs are wrappers around Rails'
ActionDispatch::IntegrationTest class. I usually write controller tests using
this instead of type: :controller, mainly because it exercises more of the
request and response handling stack. So instead of writing something like
get :index to start the request, you would write get books_path or similar.
One of the issues with using type: :request is that you lose the ability to
This is always an annoying process, especially when you are setting up a new
computer. I assume you are using macOS + homebrew. I also assume that you want
to run an older version of MySQL (although the instructions should be adaptable).
$ brew install email@example.com # change the version if needed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters