This is Pufe's solution to Matt Parker's Maths Puzzles #3 as mentioned on video https://youtu.be/JaXo_i3ktwM
It's a simple ruby program to test every letter combination and find out how many scrabble hands have exactly 46 points total
This is Pufe's solution to Matt Parker's Maths Puzzles #3 as mentioned on video https://youtu.be/JaXo_i3ktwM
It's a simple ruby program to test every letter combination and find out how many scrabble hands have exactly 46 points total
To use hstore in Ecto schemas you have to create own Ecto type. To do this, follow these steps:
extensions: [{MyApp.HStoreExtension, nil}],
, for example
config :my_app, MyApp.Repo,
adapter: Ecto.Adapters.Postgres,