https://www.youtube.com/watch?v=PD_mjIiRxuo sierikas. Zurich, Switzerland
This file contains hidden or 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
| Life of your developers | |
| Dev receives a feature request | |
| Add calculator to app | |
| Dev designs the solution | |
| Your average dev | |
| - Calculator.Form | |
| - Calculator.FormController | |
| - calculate | |
| - add | |
| - subtract |
This file contains hidden or 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
| # Dependencies ================================================================= | |
| err_unless_executable () { | |
| if ! [ -x "$(command -v $1)" ]; then | |
| echo "Program '$1' is required. Please install it and make it available in your \$PATH. Aborting." >&2 | |
| exit 1 | |
| fi | |
| } | |
| # TODO: can we expect curl these deps to be installed in all target machines? |
This file contains hidden or 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
| # This is a debugging tool for flaky ruby/rack (rails) browser tests not properly | |
| # waiting for potentially slow server responses (eg. with Capybara). Its a Rack | |
| # middleware that adds a delay to every response, thus making the problem | |
| # evident. | |
| # | |
| # In Rails, add the following to the end of your Application class definition in | |
| # `config/application.rb`, AND REMOVE AFTER DEBUGGING!!! | |
| # | |
| # # TODO: REMOVE!! | |
| # require("slow_requests_for_debugging") |
This file contains hidden or 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
| Recruitment interview ideas | |
| =========================== | |
| You | |
| --- | |
| One interesting challenge | |
| difficult feature? | |
| difficult bug? | |
| Any personal projects? |
This file contains hidden or 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
| create or replace function value_or_raise( | |
| anyelement, | |
| if boolean, | |
| else_raise text | |
| ) | |
| returns anyelement | |
| language plpgsql | |
| immutable | |
| as $function$ |
This file contains hidden or 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
| --------------------------------------- | |
| -- SQL Training 2/4 hands-on session -- | |
| --------------------------------------- | |
| -- Customers | |
| drop table if exists customers cascade; | |
| create table customers ( | |
| id serial primary key, | |
| name text not null | |
| ); |
OlderNewer