I hereby claim:
- I am bdubaut on github.
- I am bdubaut (https://keybase.io/bdubaut) on keybase.
- I have a public key ASCV396UGHTEXiMFamvk4eW6IzmuB9K6qOoe1LAx5_xASgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
FROM elixir:1.5.3-alpine | |
WORKDIR /app | |
ADD . /app | |
# Install hex & rebar | |
RUN mix local.hex --force && \ | |
mix local.rebar --force && \ | |
mix hex.info |
# Selecting only column values instead of the whole table | |
# One column | |
MyObject.select_map(:column_name) # > [value1, value2, ...] | |
# Multiple columns | |
MyObject.select_map([:column1, :column2]) # > [[value1, value2], [value 3, value4], ...] | |
# And you can have `.where` statements before | |
MyObject.where(something: true).select_map(:column_name) # > [value1, value2, ...] |
It's hard to quarrel with that ancient justification of the free press: "America's right to know." It seems almost cruel to ask, ingeniously, "America's right to know what, please? Science? Mathematics? Economics? Foreign languages?"
None of those things, of course. In fact, one might well suppose that the popular feeling is that Americans are a lot better off without any of that tripe.
There is a cult of ignorance in the United States, and there always has been. The strain of anti-intellectualism has been a constant thread winding its way throughout political and cultural life, nurtured by the false notion that democracy means that "my ignorance is just as good as your knowledge."
Politicians have routinely striven to speak the language of Shakespeare and Milton as ungrammaticaly as possible in order to avoid offending their audiences by appearing to have gone to school. Thus, Adlai Stevenson, who incautiously allowed intelligence and learning and wit to peep out of his speeches, found the American people