pdgonzalez872 / apta_seeding Goto Github PK
View Code? Open in Web Editor NEWAPTA Seeding Clone written in Elixir
APTA Seeding Clone written in Elixir
Eprof ouput:
mix profile.eprof lib/apta_seeding/seeding_manager.ex | xclip -selection c
here is the gist:
https://gist.github.com/pdgonzalez872/938b077eb0773db92ba70621a65b25b9
Heroku Scheduler?
Issue when fetching FutureTournment (live page) and we don't have the player or team in the db.
** (Ecto.InvalidChangesetError) could not perform insert because changeset is invalid.
Applied changes
%{name: "Tyler Fraser - Paulo Gonzalez"}
Params
%{"name" => "Tyler Fraser - Paulo Gonzalez"}
Errors
%{
player_1_id: [{"can't be blank", [validation: :required]}],
player_2_id: [{"can't be blank", [validation: :required]}]
}
Changeset
#Ecto.Changeset<
action: :insert,
changes: %{name: "Tyler Fraser - Paulo Gonzalez"},
errors: [
player_1_id: {"can't be blank", [validation: :required]},
player_2_id: {"can't be blank", [validation: :required]}
],
data: #AptaSeeding.Data.Team<>,
valid?: false
>
MIX_ENV=test mix ecto.reset && psql apta_seeding_dev < only_data.sql --username=postgres
since we have that data already. After that, we reset the db again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.