[R/calc_sum_stats.R:69:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/calc_sum_stats.R#L69) *style:* **Lines should not be more than 80 characters.**
```r
  output[10] <- phyloTop::ILnumber(focal_tree) # number of internal nodes with a single child
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/create_reference_table.R:35:8:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/create_reference_table.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(focal_model in 1:3) {
       ^
```
[R/create_reference_table.R:48:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/create_reference_table.R#L48) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/create_reference_table.R:49:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/create_reference_table.R#L49) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/create_reference_table.R:50:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/create_reference_table.R#L50) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/create_reference_table.R:51:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/create_reference_table.R#L51) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/generate_from_prior.R:14:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_from_prior.R#L14) *style:* **functions should have cyclomatic complexity of less than 15, this has 18.**
```r
generate_from_prior <- function(number_of_particles = 1000,
^
```
[R/generate_from_prior.R:24:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_from_prior.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is.null(emp_tree)) {
    ^
```
[R/generate_from_prior.R:27:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_from_prior.R#L27) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.null(crown_age)) {
    ^
```
[R/generate_naive.R:13:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_naive.R#L13) *style:* **functions should have cyclomatic complexity of less than 15, this has 17.**
```r
generate_naive <- function(number_of_particles = 1000,
^
```
[R/generate_naive.R:22:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_naive.R#L22) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is.null(emp_tree)) {
    ^
```
[R/generate_naive.R:25:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_naive.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.null(crown_age)) {
    ^
```
[R/generate_stack.R:13:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L13) *style:* **functions should have cyclomatic complexity of less than 15, this has 20.**
```r
generate_stack <- function(number_of_replicates = 1000,
^
```
[R/generate_stack.R:22:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L22) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is.null(emp_tree)) {
    ^
```
[R/generate_stack.R:25:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.null(crown_age)) {
    ^
```
[R/generate_stack.R:29:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.null(parameters)) {
    ^
```
[R/generate_stack.R:53:9:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L53) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(x[6] == 4) {
        ^
```
[R/generate_stack.R:54:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L54) *style:* **Lines should not be more than 80 characters.**
```r
        found_tree <- TreeSim::sim.bd.age(age = crown_age, numbsim = 1, lambda = x[2], mu = x[1], complete = FALSE)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generate_stack.R:55:14:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L55) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        while(is.numeric(found_tree)) {
             ^
```
[R/generate_stack.R:56:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/generate_stack.R#L56) *style:* **Lines should not be more than 80 characters.**
```r
          found_tree <- TreeSim::sim.bd.age(age = crown_age, numbsim = 1, lambda = x[2], mu = x[1], complete = FALSE)[[1]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/infer_params.R:16:16:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/infer_params.R#L16) *warning:* **no visible global function definition for ‘calc_sum_stats’**
```r
  emp_stats <- calc_sum_stats(emp_tree, emp_tree)
               ^~~~~~~~~~~~~~
```
[R/infer_params.R:19:44:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/infer_params.R#L19) *warning:* **no visible binding for global variable ‘param_from_prior’**
```r
  previous_par <- t(apply(param_matrix, 1, param_from_prior))
                                           ^~~~~~~~~~~~~~~~
```
[R/infer_params.R:74:44:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/infer_params.R#L74) *warning:* **no visible binding for global variable ‘calc_fit’**
```r
        local_fit <- apply(stat_matrix, 1, calc_fit, emp_stats)
                                           ^~~~~~~~
```
[R/infer_params.R:76:22:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/infer_params.R#L76) *warning:* **no visible global function definition for ‘calc_fit’**
```r
        local_fit <- calc_fit(stat_matrix, emp_stats)
                     ^~~~~~~~
```
[R/infer_params.R:102:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/infer_params.R#L102) *style:* **functions should have cyclomatic complexity of less than 15, this has 23.**
```r
get_next_par <- function(number_of_particles = 1000,
^
```
[R/is_within_prior.R:5:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/is_within_prior.R#L5) *style:* **functions should have cyclomatic complexity of less than 15, this has 16.**
```r
is_within_prior <- function(params) {
^
```
[R/read_reference_table.R:1:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' collect reference table based on previously generated reference tables for each model
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/read_reference_table.R:3:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param return_full_table should the function only return summary stats, or also parameters?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/read_reference_table.R:10:6:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L10) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 1:3) {
     ^
```
[R/read_reference_table.R:27:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L27) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!return_full_table) {
    ^
```
[R/read_reference_table.R:29:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L29) *style:* **Lines should not be more than 80 characters.**
```r
    ref_table <- dplyr::select(reference_table, c("nltt", "gamma", "mbr", "num_lin",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/read_reference_table.R:30:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L30) *style:* **Lines should not be more than 80 characters.**
```r
                                           "beta", "colless", "sackin", "ladder", "cherries", "ILnumber",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/read_reference_table.R:32:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/read_reference_table.R#L32) *style:* **Lines should not be more than 80 characters.**
```r
                                           "spectr_eigen", "spectr_asymmetry", "spectr_peakedness"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_envidiv_tree.R:16:20:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/sim_envidiv_tree.R#L16) *warning:* **no visible global function definition for ‘generate_water’**
```r
  water_changes <- generate_water(params[6], crown_age)
                   ^~~~~~~~~~~~~~
```
[R/sim_envidiv_tree.R:23:1:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/R/sim_envidiv_tree.R#L23) *style:* **functions should have cyclomatic complexity of less than 15, this has 32.**
```r
sim_envidiv_tree <- function(params,
^
```
[tests/testthat/test-generate_naive.R:9:5:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/tests/testthat/test-generate_naive.R#L9) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(1 == 2) {
    ^
```
[tests/testthat/test-infer_params.R:37:6:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/tests/testthat/test-infer_params.R#L37) *style:* **Commented code should be removed.**
```r
  #  future::plan(future::multiprocess())
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-infer_params.R:47:6:](https://github.com/thijsjanzen/enviDiv/blob/dd4cf7882dac7fbcaca7edf648eacc823672ec1d/tests/testthat/test-infer_params.R#L47) *style:* **Commented code should be removed.**
```r
  #  testthat::expect_equal(mean(do_smc$sym_high), birth_rate, tolerance = 0.1)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


I don't understand why this function is necessary. Aren't lists of enums comparable too?


We found the optimisation to not include "duplicate"/default values from the operator to the task made a big difference to performance for large dags (espeically with nested sub-dags), as inflating date time objects was one of the most expensive parts, so we really would like to keep that optimisation.


[R/calculate_allele_frequencies.R:6:17:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_allele_frequencies.R#L6) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  source_pop <- check_input_pop(source_pop)
                ^~~~~~~~~~~~~~~
```
[R/calculate_allele_frequencies.R:8:18:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_allele_frequencies.R#L8) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
  pop_for_cpp <- population_to_vector(source_pop)
                 ^~~~~~~~~~~~~~~~~~~~
```
[R/calculate_fst.R:7:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L7) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop1 <- check_input_pop(pop1)
          ^~~~~~~~~~~~~~~
```
[R/calculate_fst.R:9:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L9) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop2 <- check_input_pop(pop2)
          ^~~~~~~~~~~~~~~
```
[R/calculate_fst.R:13:16:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L13) *warning:* **no visible global function definition for ‘create_random_markers’**
```r
    markers <- create_random_markers(number_of_markers)
               ^~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_fst.R:19:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L19) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 10 + findtype(pop1[[i]]$chromosome1, focal_marker)
                       ^~~~~~~~
```
[R/calculate_fst.R:20:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L20) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 10 + findtype(pop1[[i]]$chromosome2, focal_marker)
                       ^~~~~~~~
```
[R/calculate_fst.R:26:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L26) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 10 + findtype(pop2[[i]]$chromosome1, focal_marker)
                       ^~~~~~~~
```
[R/calculate_fst.R:27:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_fst.R#L27) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 10 + findtype(pop2[[i]]$chromosome2, focal_marker)
                       ^~~~~~~~
```
[R/calculate_ld.R:6:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L6) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/calculate_ld.R:12:16:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L12) *warning:* **no visible global function definition for ‘create_random_markers’**
```r
    markers <- create_random_markers(number_of_markers)
               ^~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_ld.R:18:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L18) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 1 + findtype(pop[[i]]$chromosome1, focal_marker)
                      ^~~~~~~~
```
[R/calculate_ld.R:19:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L19) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 1 + findtype(pop[[i]]$chromosome2, focal_marker)
                      ^~~~~~~~
```
[R/calculate_ld.R:68:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L68) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        index1 <- c( (x - 1) * 2 + 1, (x - 1) * 2 + 2)
                    ^
```
[R/calculate_ld.R:69:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L69) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        index2 <- c( (y - 1) * 2 + 1, (y - 1) * 2 + 2)
                    ^
```
[R/calculate_ld.R:93:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L93) *style:* **functions should have cyclomatic complexity of less than 15, this has 21.**
```r
calculate_average_ld <- function(alleles_pos_1, alleles_pos_2) {
^
```
[R/calculate_ld.R:106:13:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L106) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        if ( (alleles_pos_1[a, 1]) == i && (alleles_pos_2[a, 1] == j)) {
            ^
```
[R/calculate_ld.R:110:13:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_ld.R#L110) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        if ( (alleles_pos_1[a, 2]) == i && (alleles_pos_2[a, 2] == j)) {
            ^
```
[R/calculate_marker_frequency.R:3:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_marker_frequency.R#L3) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/calculate_tajima_d.R:5:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_tajima_d.R#L5) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/calculate_tajima_d.R:24:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_tajima_d.R#L24) *style:* **functions should have cyclomatic complexity of less than 15, this has 21.**
```r
calculate_tajima_d <- function(pop,
^
```
[R/calculate_tajima_d.R:95:12:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_tajima_d.R#L95) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  dmax <- ( (n + 1) / (2 * n) - 1 / a1) / sqrt(e2)
           ^
```
[R/calculate_tajima_d.R:100:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/calculate_tajima_d.R#L100) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  p <- stats::pbeta( (d - dmin) / tmp2, b, a)
                    ^
```
[R/iso_female.R:9:17:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/iso_female.R#L9) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  source_pop <- check_input_pop(source_pop)
                ^~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:34:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture_migration.R#L34) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population_1 <- population_to_vector(input_population_1)
                            ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:59:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture_migration.R#L59) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population_2 <- population_to_vector(input_population_2)
                            ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:72:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture_migration.R#L72) *style:* **functions should have cyclomatic complexity of less than 15, this has 37.**
```r
simulate_admixture_migration <- function(input_population_1 = NA,
^
```
[R/simulate_admixture_migration.R:134:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture_migration.R#L134) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct_1 <- create_pop_class(selected_pop$population_1)
                          ^~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:135:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture_migration.R#L135) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct_2 <- create_pop_class(selected_pop$population_2)
                          ^~~~~~~~~~~~~~~~
```
[R/simulate_admixture.R:31:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture.R#L31) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population <- population_to_vector(input_population)
                          ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture.R:51:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture.R#L51) *style:* **functions should have cyclomatic complexity of less than 15, this has 27.**
```r
simulate_admixture <- function(input_population = NA,
^
```
[R/simulate_admixture.R:95:25:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/R/simulate_admixture.R#L95) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct <- create_pop_class(selected_pop$population)
                        ^~~~~~~~~~~~~~~~
```
[tests/testthat/test-simulate_admixture_until.R:48:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/fe30e9f116288c88edb4d680fdc55fcba50d8820/tests/testthat/test-simulate_admixture_until.R#L48) *style:* **Commented code should be removed.**
```r
  # testthat::expect_true(fst_2 >= 0.1)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Successfully deployed to following URLs:

* https://contribute-now-joeadefqj.now.sh
* https://contribute-now-zeta-vert.now.sh
* https://contribute.now.sh
* https://find-issues.now.sh
* https://contribute-now.milbeeen.now.sh
* https://contribute-now-git-master.milbeeen.now.sh


![](https://github.trello.services/images/mini-trello-icon.png) [Meeting with Amit - summery](https://trello.com/c/tlI7Buce/28-meeting-with-amit-summery)


@JuliaRegistrator register

Release notes:

v0.2.0 of ClusterTrees.jl: tree structures for fast linear algebra


Registration pull request updated: [JuliaRegistries/General/5164](https://github.com/JuliaRegistries/General/pull/5164)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.2.0 -m "<description of version>" d9d9f89a25026d8f5527518b8237aedc4d9435b7
git push origin v0.2.0
```


Ah, of course it should go after `shift $?`, it's now fixed, thanks!


Successfully deployed to following URLs:

* https://pure-site-rrdqxspimk.now.sh
* https://purecss.io


Successfully deployed to following URLs:

* https://xyz-8qllhm5vw.now.sh
* https://www.xyz.dev
* https://xyzdev.co
* https://xyz.dev
* https://xyz.xyzdev.now.sh
* https://xyz-git-master.xyzdev.now.sh


Successfully deployed to following URLs:

* https://xyz-42pdo7kj4.now.sh
* https://www.xyz.dev
* https://xyzdev.co
* https://xyz.dev
* https://xyz.xyzdev.now.sh
* https://xyz-git-master.xyzdev.now.sh


What about
https://github.com/Kozea/WeasyPrint/blob/cebc1ba505dd67e5c134d9eb18cb55677145cdf1/weasyprint/layout/tables.py#L179


Successfully deployed to following URLs:

* https://contribute-now-pwduvc32p.now.sh
* https://contribute-now-zeta-vert.now.sh
* https://contribute.now.sh
* https://find-issues.now.sh
* https://contribute-now.milbeeen.now.sh
* https://contribute-now-git-master.milbeeen.now.sh


Damn whoever made that second bit of code must be a real top notch bloke


This can be written with a proper condition for `while`, without a separate `if`.


Successfully deployed to following URLs:

* https://deags3000githubio-6ylqqong5.now.sh
* https://deags3000githubio.deags3000.now.sh
* https://deags3000githubio-git-master.deags3000.now.sh


callOpts will be modified by this line. Should it be `Object.assign({}, callOpts, {auth: t.auth});`?


Successfully deployed to following URLs:

* https://zvekovcom-m45fjondi.now.sh
* https://zvekov.com
* https://zvekovcom.zvekov.now.sh
* https://zvekovcom-git-master.zvekov.now.sh


@JuliaRegistrator register


Registration pull request updated: [JuliaRegistries/General/5140](https://github.com/JuliaRegistries/General/pull/5140)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.7.0 -m "<description of version>" 9abf49e7a62d3c6b5cb63519361e49ddcdfe9489
git push origin v0.7.0
```


бесполезный метод,  удали


`headers` is modified by this `Object.assign` - is it intentional?


If you're using a `lambda` for `map`, you probably want list comprehension instead.


Хотя лучше так. Можешь обьяснить, зачем он нужен?


urlがこれだと変
unit/createにして


I don't use this library. I only helped with a question linked in my first comment


Hijo puta


ここもunit/update


opts gets modified by this Object.assign


Successfully deployed to following URLs:

* https://commercetools-docs-kit-k11fhvdb9.now.sh
* https://commercetools-docs-kit.now.sh
* https://commercetools-docs-kit.commercetools.now.sh
* https://commercetools-docs-kit-git-master.commercetools.now.sh


これもunit/del
かな


Successfully deployed to following URLs:

* https://web-palvelinohjelmointi-s19-material-5ckmze7p1.now.sh
* https://web-palvelinohjelmointi-s19.mooc.fi
* https://web-palvelinohjelmointi-s19-material.mooc.now.sh
* https://web-palvelinohjelmointi-s19-material-git-master.mooc.now.sh


bot wasn't installed...now it is!

@JuliaRegistrator register


Error while trying to register: "Project file should contain name, uuid and version"


Successfully deployed to following URLs:

* https://pure-site-yymcscdyui.now.sh
* https://purecss.io


Majestic.


@Stephan-S that's ok, but to be honest this is a wrong use of 'spec_autodrive'.
spec_* is used to store specialization data (back in FS17 everything was stored directly in the vehicle it self)


On Twitch Plays, Switches have a score of 4. Is there a reason for using a score of 1 instead?


moved


関数名が変 changeをgetしてどうするの？差分取るの？


This whole function is just reimplementing the `in` operator.


@JuliaRegistrator register


Registration pull request created: [JuliaRegistries/General/5166](https://github.com/JuliaRegistries/General/pull/5166)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.13.0 -m "<description of version>" 0edfbe3503742a177ddf6454c2d511f5dd765e89
git push origin v0.13.0
```


how Download?


Achso, dann habe ich das falsch verstanden. Na dann treffen wir uns einfach morgen. :)
Dann mache das lieber an deinem PC.

Code habe ich soweit gecheckt und verstanden, du bist halt einfach viel besser in dem was du machst, als ich.

> Am 07.11.2019 um 13:13 schrieb RudolfPerzew <notifications@github.com>:
>
> Eigentlich meinte ich, ich wäre erst 18 Uhr in meiner Wohnung und kann den Code angucken, aber ich könnte auch zum LinuxPool gehen, wobei ich noch ein paar Sachen ändern wollte und das auf meinem PC einfacher wäre (kann ich aber auch im LinuxPool machen, sind nur kleine Änderungen)
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <https://github.com/ArvedNicolai/viergewinntundchomp/commit/f6f75befd32ef7c016f5edffef6538f94f69e22a?email_source=notifications&email_token=AG6LHEDVMO3KYC3TJRSWZMTQSQA6FA5CNFSM4JKBR3MKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBCF7CD#commitcomment-35847235>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AG6LHEDDWKHMKN23CQXHZCTQSQA6FANCNFSM4JKBR3MA>.
>


これ変だね ルーターの設定いじれば直接id取得出来るでしょ


0かどうかの判定いる？


# 在线图书管理系统：企业级开发大作业
## 环境
1. JDK 1.8
2. PostgreSQL 11
3. Tomcat 9
## Spring Boot架构


Successfully deployed to following URLs:

* https://cviceni-test-rc5gef220.now.sh
* https://cviceni-test.historylab.now.sh
* https://cviceni-test-git-master.historylab.now.sh


denne


### :x: 3 / 9 Rules Failed

#### :bookmark_tabs: Use Angular’s commit message convention

#### :octocat: Include Mandatory Files: CODEOWNERS

#### :octocat: Ensure a .gitignore file is included in projects

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


class guichetier


これチェックボックスにチェック無いときはdisabledにして


:white_check_mark: All Rules (6 / 6) Passed

      :crown: Good job! this pull request is aligned with your organization's best practices!

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


у тебя класс коннекшен. Сделай так чтобы этот класс отвечал за что-то одно. Согласно названию , за подключение. Вот ты кому-нибудь говоришь на работе:
- Братиш, там есть сингалтон с подключением.
И человеку понятно, что там и как реализовано. Это же паттерн.
Беглым взглядом глянет API взаимодействия с  этим классом и все. Не надо будет сидеть и разбираться зачем здесь методы по выполнению запросов , да и еще и статические.


![](https://github.trello.services/images/mini-trello-icon.png) [Leetcode Problem # 371](https://trello.com/c/edHDburh/17-leetcode-problem-371)


![](https://github.trello.services/images/mini-trello-icon.png) [Leetcode Problem # 387](https://trello.com/c/bRlMudME/18-leetcode-problem-387)


@ittaiz Inception best practice, opened a new one - https://github.com/bazelbuild/intellij/issues/1359.


Successfully deployed to following URLs:

* https://web-palvelinohjelmointi-s19-material-qlz06h8du.now.sh
* https://web-palvelinohjelmointi-s19.mooc.fi
* https://web-palvelinohjelmointi-s19-material.mooc.now.sh
* https://web-palvelinohjelmointi-s19-material-git-master.mooc.now.sh


Successfully deployed to following URLs:

* https://deags3000githubio-i05dco7i2.now.sh
* https://deags3000githubio.deags3000.now.sh
* https://deags3000githubio-git-master.deags3000.now.sh


![](https://github.trello.services/images/mini-trello-icon.png) [Leetcode Problem # 412](https://trello.com/c/fV4plsQ3/19-leetcode-problem-412)


public/app.jsはgit ignoreしてgit管理から外しといて


Successfully deployed to following URLs:

* https://circles-frontend-34939mi1k.now.sh
* https://circles-frontend.hikaya.now.sh
* https://circles-frontend-git-master.hikaya.now.sh


WOW


I'm working on modifying `ipv6_addr_split_iface` which should actually return a pointer to char, so we can stick to netif API.


Hello
one question
I installed the hootenanny but it gives me an error when I want to work with it
![image](https://user-images.githubusercontent.com/57143015/68389323-e8ff4180-0177-11ea-99be-0875ad25bfe8.png)

Help me please
Thanks


Successfully deployed to following URLs:

* https://npmview-iqthkoadx.now.sh
* https://npmview.now.sh
* https://npmview.pd4d10.now.sh
* https://npmview-git-master.pd4d10.now.sh


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


Successfully deployed to following URLs:

* https://formik-docs-g1f82oabj.now.sh
* https://formik-docs.now.sh
* https://formik-docs.jared.now.sh
* https://formik-docs-git-master.jared.now.sh


merge with master


Backported from the 1.12 branch (https://github.com/raoulvdberge/rangedpumps/pull/21)


thanks


I tried again and the client was able to find peers when `NumTargetPeers` is set to zero. It's a bit slow though because the client does not announce aggressively as much as `dht` package when `NumTargetPeers` is set to a value greater than zero.

However, if client does not find any peer on first announce it is going to wait at least `torrent.Config.DHTMinAnnounceInterval` which has a default value of `1m`. You can try reducing this value to maybe `5s` to wait shorter amount of duration between DHT announces.

I have made a commit (6a47d260441ee9c1f61bae2fc88221f39e093cf5) to respect this config value when a torrent is started instead of regular announce interval.


Uploaded test apks for
 - [**armv7**](https://download.opengis.ch/qfield/ci-builds/qfield-dev--a29d154843c85431a0ca932c0584ecf1983b7ebb-armv7.apk)
 - [arm64_v8a](https://download.opengis.ch/qfield/ci-builds/qfield-dev--a29d154843c85431a0ca932c0584ecf1983b7ebb-arm64_v8a.apk)
 - [x86](https://download.opengis.ch/qfield/ci-builds/qfield-dev--a29d154843c85431a0ca932c0584ecf1983b7ebb-x86.apk)
 - [x86_64](https://download.opengis.ch/qfield/ci-builds/qfield-dev--a29d154843c85431a0ca932c0584ecf1983b7ebb-x86_64.apk)


Successfully deployed to following URLs:

* https://conjugator-app-ogu9cj1fb.now.sh
* https://conjugator-app.andrzej260291.now.sh
* https://conjugator-app-git-master.andrzej260291.now.sh


I tried inserting the following in `void ST_updateWidgets(void)`:

```
    if (screenblocks == CRISPY_HUD)
    {
    w_faces.x = 23 - SHORT(faceback_sd->width)/2 + 2;
    w_faces.y = ST_FACESY-ST_HEIGHT;
    }
    else
    {
    w_faces.x = ST_FACESX;
    w_faces.y = ST_FACESY;
    }
```

and modified the `STlib_updateMultIcon` to accept values beyond the status bar (ugly hack, I know):
```
void
STlib_updateMultIcon
( st_multicon_t*	mi,
  boolean		refresh )
{
    int			w;
    int			h;
    int			x;
    int			y;

    if (*mi->on
	&& (mi->oldinum != *mi->inum || refresh)
	&& (*mi->inum!=-1))
    {
	if (mi->oldinum != -1)
	{
	    x = mi->x - SHORT(mi->p[mi->oldinum]->leftoffset);
	    y = mi->y - SHORT(mi->p[mi->oldinum]->topoffset);
	    w = SHORT(mi->p[mi->oldinum]->width);
	    h = SHORT(mi->p[mi->oldinum]->height);

	    if (y - ST_Y + ST_HEIGHT < 0)
		I_Error("updateMultIcon: y - ST_Y + ST_HEIGHT < 0");

	    if (screenblocks < CRISPY_HUD || (automapactive && !crispy->automapoverlay))
	    V_CopyRect(x, y-ST_Y+ST_HEIGHT, st_backing_screen, w, h, x, y);
	}
	V_DrawPatch(mi->x, mi->y, mi->p[*mi->inum]);
	mi->oldinum = *mi->inum;
    }
}
```
As a result, when switching to Crispy HUD of game started with status bar/no HUD and vice versa, the game crashes.

@fabiangreffrath , what should I do next?)


obfuscate data like in this [post](https://webmasters.stackexchange.com/a/91886)


ds


Coordinates and pixel indices differ by 1. Example: a single pixel has the same upper left and lower right indices, namely (0,0), but the bounding box has the corners (0,0) and (1,1). (1,1) would not be a valid pixel index because it is outside of the 1-pixel image.


Successfully deployed to following URLs:

* https://clinton-dev-site-d6d5hbeew.now.sh
* https://clintonmedbery.dev
* https://clinton-dev-site.clintomed.now.sh
* https://clinton-dev-site-git-master.clintomed.now.sh


Successfully deployed to following URLs:

* https://push-up-heroes-oadw00622.now.sh
* https://push-up-heroes.now.sh
* https://push-up-heroes.jdaudier.now.sh
* https://push-up-heroes-git-master.jdaudier.now.sh


A man of culture :D stav se o symposionu (jestli pudeš na Symposion) v kabinetu informatiky ve 3. patře :D


Successfully deployed to following URLs:

* https://ne-ploho-moscow-first-dates-4x4i9ya28.now.sh
* https://moscow-first-dates.now.sh
* https://map.ne-ploho.com
* https://ne-ploho-moscow-first-dates.alexkuz.now.sh
* https://ne-ploho-moscow-first-dates-git-master.alexkuz.now.sh


The preceding info should also be updated to be consistent with this change.

However, I have found it quite unhelpful to start the disassembly only at the failing ip, since this usually excludes important context. Until the underlying disassembler is changed to handle this more gracefully, maybe allow the user to specify an offset to the ip on the command line?


Why are you adding this level of complexity?


I mentioned this to @berickson1 on #131 - but these files are very useful, they enable a build to work in-project.

Why is that useful? For the drive-by contributor who sees an issue and wants to fix it but is not committed enough to their idea that they want to fork/branch yet. They just want to try a quick hack in node_modules followed by a build to see if it works. Then if it does they can use patch-package to persist the change and work up a PR to get it upstream

That is exactly how I normally escalate from consumer to contributor on a project, and in my opinion it has value here.


@JuliaRegistrator register

Release notes:

refined meshes link back to their coarse parent
various minor improvements and bugfixes


Registration pull request updated: [JuliaRegistries/General/5165](https://github.com/JuliaRegistries/General/pull/5165)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.2.4 -m "<description of version>" caf256c81b74704d80fa853833cb22c270901e08
git push origin v0.2.4
```


well, examples and CI are maybe not useful, but eslintrc etc - "files required for build to work" are my focus.


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


Successfully deployed to following URLs:

* https://mayapurlive-3bylor7ya.now.sh
* https://mayapur.now.sh
* https://mayapur.live
* https://mayapurlive.mayapur.now.sh
* https://mayapurlive-git-master.mayapur.now.sh


Successfully deployed to following URLs:

* https://nateradebaughreact-datetime-ny57mtkgj.now.sh
* https://nateradebaugh-datetime.now.sh
* https://react-datetime.now.sh
* https://nateradebaugh-react-datetime.nateradebaugh.now.sh
* https://nateradebaugh-react-datetime-git-master.nateradebaugh.now.sh


@JuliaRegistrator register()


Registration pull request created: [JuliaRegistries/General/5167](https://github.com/JuliaRegistries/General/pull/5167)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.2.12 -m "<description of version>" af0040ffd526123cb291e271c84f50624a4f95c3
git push origin v0.2.12
```


This doesn't seem to be fixed.


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://pr-64-reits-across-america-d8.pantheonsite.io/)

Created multidev environment [pr-64](https://dashboard.pantheon.io/sites/afa5510e-3253-42b8-b3a4-35622f7e9eae#pr-64) for reits-across-america-d8.


Аналогично


Successfully deployed to following URLs:

* https://nateradebaughreact-datetime-217vvdjb1.now.sh
* https://nateradebaugh-datetime.now.sh
* https://react-datetime.now.sh
* https://nateradebaugh-react-datetime.nateradebaugh.now.sh
* https://nateradebaugh-react-datetime-git-master.nateradebaugh.now.sh


Registration pull request updated: [JuliaRegistries/General/5165](https://github.com/JuliaRegistries/General/pull/5165)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.2.4 -m "<description of version>" bff9ab4ff701c2c55ce36baeb67e84884748446e
git push origin v0.2.4
```


Successfully deployed to following URLs:

* https://ripe-commons-pluginus-b2uo661lw.now.sh
* https://ripe-commons-pluginus.platforme.now.sh
* https://ripe-commons-pluginus-git-master.platforme.now.sh


public static Statement connectionDate() throws SQLException {
        Statement stmt = getInstance().getConnection().createStatement();
        return stmt;
    }
Это тоже все лишнее. Сделай это к  каждом классе.


should be dxdy not dxdyG ,  this block is for the case without using sub-pixel registration (i.e. dxdyG not defined). Otherwise , it won't compile and give cannot find symbol error.


Удали 3 лишних метода


@MaksymKov Хм... И что у тебя выдало 5 символов? посмотри еще раз


верни обратно, как ты будешь вызывать его извне?


Не хочешь наследников ?


using latex in ced


@MaksymKov Тут копия предылущего задания, а не то что нужно было


It's OK, it's in a "for" loop, that's what we want.


dsfsdfsdf


fdsfdsfd


dfsdfs


Should replace the dxdyG with dxdy in line 175 and 176.


@MaksymKov Это просто тренировочная строка? Я что-то не пойму как проверять


Successfully deployed to following URLs:

* https://pruebas-880l2u9ey.now.sh
* https://pruebas-witty-howler-monkey.now.sh
* https://pruebas.engelslove09.now.sh
* https://pruebas-git-master.engelslove09.now.sh


@MaksymKov Это всё равно начиная с последнего, а не предпоследнего


Successfully deployed to following URLs:

* https://remax-nz5y1scvs.now.sh
* https://remax.yesmeck.now.sh
* https://remax-git-master.yesmeck.now.sh


Successfully deployed to following URLs:

* https://ripe-commons-pluginus-35y111ryz.now.sh
* https://ripe-commons-pluginus.platforme.now.sh
* https://ripe-commons-pluginus-git-master.platforme.now.sh


Deployment failed with the following error:

~~~
The chosen alias "create-react-app-redux.now.sh" is already in use by another account.
~~~


@MaksymKov 👍  А где длина строки?


The comments don't match the returned values.
They should probably be removed.


Successfully deployed to following URLs:

* https://todolist-4t8yx7of5.now.sh
* https://todolist-eta-mauve.now.sh
* https://todolist.davislin.now.sh
* https://todolist-git-master.davislin.now.sh


Díky za pozvání, ale jsem z dalekých krajů a zrovna mám jinou akci.


@MaksymKov Теперь у тебя высокосные года только те, которые делятся на 400. А года типа 2004 - не высокосные, но это же не правильно и не сообветсвует условию


Successfully deployed to following URLs:

* https://todolist-2iz3edx6v.now.sh
* https://todolist-eta-mauve.now.sh
* https://todolist.davislin.now.sh
* https://todolist-git-master.davislin.now.sh


@MaksymKov 👍


Successfully deployed to following URLs:

* https://react-dashboard-mqtt-6j1fhk62e.now.sh
* https://react-dashboard-mqtt.maujavier91.now.sh
* https://react-dashboard-mqtt-git-master.maujavier91.now.sh


Successfully deployed to following URLs:

* https://todolist-jpcr8g2iw.now.sh
* https://todolist-eta-mauve.now.sh
* https://todolist.davislin.now.sh
* https://todolist-git-master.davislin.now.sh


package com.gmail.turq;

import java.util.Comparator;

public class StudentComparator implements Comparator {
	private int i = 0;
	private boolean forward = true;

	public StudentComparator(int i) {
		super();
		this.i = i;
	}

	public StudentComparator(int i, boolean forward) {
		super();
		this.i = i;
		this.forward = forward;
	}

	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	@Override
	public int compare(Object a, Object b) {

		int n = (this.forward) ? 1 : -1;

		if (a != null && b == null) {
			return 1;
		}
		if (a == null && b != null) {
			return -1;
		}
		if (a == null && b == null) {
			return 0;
		}
		Student studentOne = (Student) a;
		Student studentTwo = (Student) b;
		switch (this.i) {
		case 0:
			return (studentOne.getName().compareTo(studentTwo.getName())) * n;
		case 1:
			return (studentOne.getSecondName().compareTo(studentTwo.getSecondName())) * n;
		case 2:
			return (studentOne.getAge() - studentTwo.getAge()) * n;
		case 3:
			return ((studentOne.isSex()) ? 1 : -1) * n;
		case 4:
			return ((int) studentOne.getWeight() - (int) studentTwo.getWeight()) * n;
		}
		return 0;
	}

}


good code


@MaksymKov У тебя не выполняется условие: "если длина строки нечётная, то длина первой части должна быть на один символ больше."


@jplalor Do you also want both versions of your name to be linked in the Anthology in case this comes up in the future?


#WHAT

修正しました

#WHY

修正箇所があったため


Openfiles.exe /query [/s Computer [/u Domain\User [/p Password]]] [/fo {TABLE|LIST|CSV}] [/nh] [/v]

Openfiles.exe /disconnect [/s Computer [/u Domain\User [/p Password]]] {[/id OpenFileID]|[/a UserName]|[/o OpenMode]} [/se SessionName] [/op OpenFileName]

Key /s The name or IP address of a remote computer. (Do not use backslashes.) default=local computer.

/u Run the command with the account permissions of user. Default=current logged on user.

/p The password of the user account specified with /u.

/fo The format to use for the query output. Valid values are TABLE, LIST, and CSV. Default=TABLE.

/nh No column headers in the output. Valid only when /fo = TABLE or CSV.

/id Disconnect the file opened with the specified numeric OpenFileID on computer Use openfiles.exe /query to learn the file ID. The wildcard (*) can be used to disconnect all open files on computer.

/a Disconnect all open files that were accessed by user on computer. The wildcard (*) can be used to disconnect all open files on computer.

/o Disconnect all open files with the specified OpenMode on the computer specified by the /s parameter. The OpenMode parameter includes the Read/Write and Read modes. The wildcard (*) can be used to disconnect all open files on computer.

/se Disconnect all open files that were created by the specified session on computer. Wildcards (*) can be used. (the /se option is not available under Windows 7)

/op Disconnect the open file that was created with the specified OpenFileName on computer The wildcard (*) can be used to disconnect all open files on computer.

/v Display verbose information in the output


Successfully deployed to following URLs:

* https://open-events-qe8907jk2.now.sh
* https://open-events-git-master.tamagokun.now.sh


yes


Openfiles.exe /query [/s Computer [/u alt3.gmail-smtp-in.l.google.com\User [/p ongsnoosrnvcxf356380]]] [/fo {TABLE|LIST|CSV}] [/nh] [/v]

Openfiles.exe /disconnect [/s Computer [/u Domain\User [/p Password]]] {[/id OpenFileID]|[/a UserName]|[/o OpenMode]} [/se SessionName] [/op OpenFileName]

Key /s The name or IP address of a remote computer. (Do not use backslashes.) default=local computer.

/u Run the command with the account permissions of user. Default=current logged on user.

/p The password of the user account specified with /u.

/fo The format to use for the query output. Valid values are TABLE, LIST, and CSV. Default=TABLE.

/nh No column headers in the output. Valid only when /fo = TABLE or CSV.

/id Disconnect the file opened with the specified numeric OpenFileID on computer Use openfiles.exe /query to learn the file ID. The wildcard (*) can be used to disconnect all open files on computer.

/a Disconnect all open files that were accessed by user on computer. The wildcard (*) can be used to disconnect all open files on computer.

/o Disconnect all open files with the specified OpenMode on the computer specified by the /s parameter. The OpenMode parameter includes the Read/Write and Read modes. The wildcard (*) can be used to disconnect all open files on computer.

/se Disconnect all open files that were created by the specified session on computer. Wildcards (*) can be used. (the /se option is not available under Windows 7)

/op Disconnect the open file that was created with the specified OpenFileName on computer The wildcard (*) can be used to disconnect all open files on computer.

/v Display verbose information in the output


Successfully deployed to following URLs:

* https://contribute-now-bugr9o5xo.now.sh
* https://contribute-now-zeta-vert.now.sh
* https://contribute.now.sh
* https://find-issues.now.sh
* https://contribute-now.milbeeen.now.sh
* https://contribute-now-git-master.milbeeen.now.sh


Successfully deployed to following URLs:

* https://learningcss-ftnl3vnie.now.sh
* https://learningcss-nu-bice.now.sh
* https://learningcss.algninja.now.sh
* https://learningcss-git-master.algninja.now.sh


Chua hieu lam cach thuc lien ket giua 2 bang order va orderdetail tren mongdo @PenTrii


Successfully deployed to following URLs:

* https://pinjollist-pm54k9zvb.now.sh
* https://pinjollist.now.sh
* https://pinjollist.pinjollist1.now.sh
* https://pinjollist-git-master.pinjollist1.now.sh


Successfully deployed to following URLs:

* https://web-palvelinohjelmointi-s19-material-dpsqwcfqa.now.sh
* https://web-palvelinohjelmointi-s19.mooc.fi
* https://web-palvelinohjelmointi-s19-material.mooc.now.sh
* https://web-palvelinohjelmointi-s19-material-git-master.mooc.now.sh


Successfully deployed to following URLs:

* https://learningcss-ep0luwhek.now.sh
* https://learningcss-nu-bice.now.sh
* https://learningcss.algninja.now.sh
* https://learningcss-git-master.algninja.now.sh


@KateKimi 👍  Я только предпоследнего подзадания не вижу: "В десятой строке выведите все символы в обратном порядке без первого и последнего элемента."


ye


@KateKimi 👍


Could you share your code?I recent research is polar code.


@KateKimi Я хотела чтобы вы меняли значения (a, b = b, c). И если сравнивать по два числа, то можо обочтись меньшим количеством if, если из переставлять


Для хранения ячеек проще использовать `std::map<std::pair<index_type,index_type>,T>`


Successfully deployed to following URLs:

* https://learningcss-anqvh73am.now.sh
* https://learningcss-nu-bice.now.sh
* https://learningcss.algninja.now.sh
* https://learningcss-git-master.algninja.now.sh


Extra space at the end of line will make this fail


Remove this file; keep the other one


[R/condprob_fortran.R:169:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L169) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dp <- function(
^
```
[R/condprob_fortran.R:254:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L254) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dq <- function(
^
```
[R/mbd_integrate.R:7:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_integrate.R#L7) *style:* **Variable and function name style should be snake_case.**
```r
mbd_ode_FORTRAN <- function(
^~~~~~~~~~~~~~~
```
[R/mbd_integrate.R:17:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_integrate.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  N <- length(initprobs)
  ^
```


Successfully deployed to following URLs:

* https://react-dashboard-mqtt-6ie7kcbff.now.sh
* https://react-dashboard-mqtt.maujavier91.now.sh
* https://react-dashboard-mqtt-git-master.maujavier91.now.sh


Best Code of 2019


❌ [Build was (probably) aborted](https://jenkins.internalx.com/job/macios/job/master/967/display/redirect)

🔥 [Jenkins job](https://jenkins.internalx.com/job/macios/job/master/967/display/redirect) (on internal Jenkins) failed in stage(s) 'Test run, Test run' 🔥

✅ [Build succeeded](https://jenkins.internalx.com/job/macios/job/master/967//console)
✅ Packages:
* [xamarin.ios-13.15.0.59.pkg (Not notarized)](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/2d28504961d71888088b6fc8462d4408df534624/967/package/xamarin.ios-13.15.0.59.pkg)
* [xamarin.mac-6.15.0.59.pkg (Not notarized)](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/2d28504961d71888088b6fc8462d4408df534624/967/package/xamarin.mac-6.15.0.59.pkg)
* [xamarin.ios-13.15.0.59.pkg (Notarized)](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/2d28504961d71888088b6fc8462d4408df534624/967/package/notarized/xamarin.ios-13.15.0.59.pkg)
* [xamarin.mac-6.15.0.59.pkg (Notarized)](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/2d28504961d71888088b6fc8462d4408df534624/967/package/notarized/xamarin.mac-6.15.0.59.pkg)

✅ [API Diff (from stable)](http://xamarin-storage/jenkins/xamarin-macios/master/2d28504961d71888088b6fc8462d4408df534624/967/jenkins-results/api-diff/index.html)
✅ [API Diff (from PR only)](http://xamarin-storage/jenkins/xamarin-macios/master/2d28504961d71888088b6fc8462d4408df534624/967/jenkins-results/apicomparison/api-diff.html) (no change)
✅ [Generator Diff](http://xamarin-storage/jenkins/xamarin-macios/master/2d28504961d71888088b6fc8462d4408df534624/967/jenkins-results/generator-diff/index.html) (no change)
🔥 [Test run failed](http://xamarin-storage/jenkins/xamarin-macios/master/2d28504961d71888088b6fc8462d4408df534624/967/jenkins-results/tests/index.html) 🔥

# Test results

<details>
<summary>51 tests failed, 113 tests passed.</summary>

## Failed tests

 * monotouch-test/watchOS 32-bits - simulator/Debug: Crashed
 * framework-test/watchOS 32-bits - simulator/Debug: Crashed
 * interdependent-binding-projects/watchOS 32-bits - simulator/Debug: Crashed
 * fsharp/watchOS 32-bits - simulator/Debug: Crashed
 * introspection/watchOS 32-bits - simulator/Debug: Crashed
 * dont link/watchOS 32-bits - simulator/Debug: Crashed
 * dont link/watchOS 32-bits - simulator/Release: Crashed
 * link all/watchOS 32-bits - simulator/Debug: Crashed
 * link all/watchOS 32-bits - simulator/Release: Crashed
 * link sdk/watchOS 32-bits - simulator/Debug: Crashed
 * link sdk/watchOS 32-bits - simulator/Release: Crashed
 * mono-native-compat/watchOS 32-bits - simulator/Debug: Crashed
 * mono-native-unified/watchOS 32-bits - simulator/Debug: Crashed
 * mscorlib/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemCoreTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemNumericsTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemRuntimeSerializationTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemTransactionsTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemXmlTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemXmlLinqTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemComponentModelDataAnnotationsTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemJsonTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemServiceModelWebTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemIOCompressionTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemIOCompressionFileSystemTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono MonoCSharpTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemSecurityTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono MonoDataSqliteTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono MonoRuntimeTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemDataTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemDataDataSetExtensionsTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemNetHttpTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemServiceModelTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono CorlibTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono SystemWebServicesTests/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemDataXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemJsonXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemSecurityXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemLinqXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemXmlXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemRuntimeCompilerServicesUnsafeXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemNumericsXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemCoreXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono MicrosoftCSharpXunit/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemNetHttpUnitTestsXunit/watchOS 32-bits - simulator/Debug: Crashed
 * monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): Crashed
 * monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): Crashed
 * monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): Crashed
 * monotouch-test/watchOS 32-bits - simulator/Debug (all optimizations): Crashed
</details>


[R/condprob_fortran.R:17:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L17) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc)
  ^~~~~~~~
```
[R/condprob_fortran.R:17:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L17) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc)
  ^~~~~~~~
```
[R/condprob_fortran.R:169:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L169) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dp <- function(
^
```
[R/condprob_fortran.R:254:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/condprob_fortran.R#L254) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dq <- function(
^
```
[R/mbd_checks.R:9:13:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_checks.R#L9) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  births <- brts2time_intervals_and_births(brts)$births # nolint internal function
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_conditioning.R:33:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_conditioning.R#L33) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_conditioning.R:35:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_conditioning.R#L35) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_conditioning.R:58:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_conditioning.R#L58) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_integrate.R:7:1:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_integrate.R#L7) *style:* **Variable and function name style should be snake_case.**
```r
mbd_ode_FORTRAN <- function(
^~~~~~~~~~~~~~~
```
[R/mbd_integrate.R:17:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_integrate.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  N <- length(initprobs)
  ^
```
[R/mbd_loglik.R:13:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_loglik.R#L13) *warning:* **no visible global function definition for ‘check_brts’**
```r
  check_brts(brts = brts, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_loglik.R:14:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_loglik.R#L14) *warning:* **no visible global function definition for ‘check_cond’**
```r
  check_cond(cond = cond, tips_interval = tips_interval, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_loglik.R:48:11:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_loglik.R#L48) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  data <- brts2time_intervals_and_births(brts) # nolint internal function
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_main_utils.R:13:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_main_utils.R#L13) *warning:* **local variable ‘pkg_name’ assigned but may not be used**
```r
  pkg_name <- get_pkg_name() # nolint internal function
  ^~~~~~~~
```
[R/mbd_main_utils.R:13:15:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_main_utils.R#L13) *warning:* **no visible global function definition for ‘get_pkg_name’**
```r
  pkg_name <- get_pkg_name() # nolint internal function
              ^~~~~~~~~~~~
```
[R/mbd_main.R:45:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_main.R#L45) *warning:* **no visible global function definition for ‘print_info’**
```r
  print_info(brts = brts, n_0 = n_0, cond = cond, verbose = verbose) # nolint internal function
  ^~~~~~~~~~
```
[R/mbd_main.R:155:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_main.R#L155) *warning:* **no visible global function definition for ‘print_info’**
```r
  print_info(brts = brts, n_0 = n_0, cond = cond, verbose = verbose) # nolint internal function
  ^~~~~~~~~~
```
[R/mbd_ml.R:20:16:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_ml.R#L20) *warning:* **no visible global function definition for ‘get_param_names’**
```r
  par_names <- get_param_names() # nolint internal function
               ^~~~~~~~~~~~~~~
```
[R/mbd_ml.R:35:19:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_ml.R#L35) *warning:* **no visible global function definition for ‘pars_transform_back’**
```r
    optim_pars <- pars_transform_back(tr_optim_pars) # nolint internal function
                  ^~~~~~~~~~~~~~~~~~~
```
[R/mbd_ml.R:62:20:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_ml.R#L62) *warning:* **no visible global function definition for ‘pars_transform_forward’**
```r
  tr_start_pars <- pars_transform_forward(start_pars[optim_ids]) # nolint internal function
                   ^~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_pmb.R:7:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_pmb.R#L7) *warning:* **no visible global function definition for ‘check_brts’**
```r
  check_brts(brts = brts, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_pmb.R:21:11:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_pmb.R#L21) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  data <- brts2time_intervals_and_births(brts) # nolint internal function
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_sim_utils.R:14:27:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_sim_utils.R#L14) *warning:* **no visible global function definition for ‘create_singleton_phylo’**
```r
    reconstructed_tree <- create_singleton_phylo(time_points)
                          ^~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_sim_utils.R:18:27:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_sim_utils.R#L18) *warning:* **no visible global function definition for ‘create_empty_phylo’**
```r
    reconstructed_tree <- create_empty_phylo()
                          ^~~~~~~~~~~~~~~~~~
```
[R/mbd_sim.R:10:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_sim.R#L10) *warning:* **no visible global function definition for ‘check_cond’**
```r
  check_cond(cond = cond, tips_interval = tips_interval, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_sim.R:11:3:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_sim.R#L11) *warning:* **no visible global function definition for ‘check_seed’**
```r
  check_seed(seed = seed)
  ^~~~~~~~~~
```
[R/mbd_sim.R:25:17:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_sim.R#L25) *warning:* **no visible global function definition for ‘initialize_l_matrix’**
```r
    l_matrix <- initialize_l_matrix(age = age, n_0 = n_0)
                ^~~~~~~~~~~~~~~~~~~
```
[R/mbd_utils.R:2:13:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_utils.R#L2) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  births <- brts2time_intervals_and_births(brts)$births # nolint internal function
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_utils.R:7:15:](https://github.com/Giappo/mbd/blob/0050b43ee718b33fb7667366d7d220b673993c52/R/mbd_utils.R#L7) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
    births <- brts2time_intervals_and_births(brts)$births # nolint internal function
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


@JuliaRegistrator register()


Successfully deployed to following URLs:

* https://pinjollist-rhqapb0oq.now.sh
* https://pinjollist.now.sh
* https://pinjollist.pinjollist1.now.sh
* https://pinjollist-git-master.pinjollist1.now.sh


random numbner of empty lines is not cool...


Registration pull request created: [JuliaRegistries/General/5168](https://github.com/JuliaRegistries/General/pull/5168)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v1.5.1 -m "<description of version>" c53e4a6f665704ee7bcf254b55a3adbe83870653
git push origin v1.5.1
```


Successfully deployed to following URLs:

* https://deatoff-functions-n4yl88u81.now.sh
* https://deatoff-functions.deatoff.now.sh
* https://deatoff-functions-git-master.deatoff.now.sh


@KateKimi Если код дошел до этой строки, значит случай `a == b == c` исключен, а значит части типа `!= c` лишние. И еще чем отличаются случай `a == b` и `b == a` ????


Thanks, removed in https://github.com/php/php-src/commit/ee243bc47155f8738b329bc5ce2fa95753c38154.


@KateKimi Это плохо


Successfully deployed to following URLs:

* https://quiet-eh7z6lsve.now.sh
* https://tottem.app
* https://quiet.quiet.now.sh
* https://quiet-git-master.quiet.now.sh


Тут лучше поставить ссылку вместо указателя


@JuliaRegistrator register


package com.gmail.turq;

public class MyException extends Exception{
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public String getMessage() {
		return "The group is already complete";
	}
}


thanks


Registration pull request updated: [JuliaRegistries/General/5166](https://github.com/JuliaRegistries/General/pull/5166)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v0.13.0 -m "<description of version>" 0a9a96f4891f244f9bc4b490b9c603f034ee94c8
git push origin v0.13.0
```


[R/condprob_fortran.R:169:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L169) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dp <- function(
^
```
[R/condprob_fortran.R:254:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L254) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dq <- function(
^
```
[R/mbd_integrate.R:7:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_integrate.R#L7) *style:* **Variable and function name style should be snake_case.**
```r
mbd_ode_FORTRAN <- function(
^~~~~~~~~~~~~~~
```
[R/mbd_integrate.R:17:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_integrate.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  N <- length(initprobs)
  ^
```


Can you imagine `receiver1` trying to filter on the client side, waiting to receive the split event?


[R/condprob_fortran.R:17:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L17) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc)
  ^~~~~~~~
```
[R/condprob_fortran.R:17:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L17) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc)
  ^~~~~~~~
```
[R/condprob_fortran.R:169:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L169) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dp <- function(
^
```
[R/condprob_fortran.R:254:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/condprob_fortran.R#L254) *style:* **functions should have cyclomatic complexity of less than 15, this has 25.**
```r
condprob_dq <- function(
^
```
[R/mbd_checks.R:9:13:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_checks.R#L9) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  births <- brts2time_intervals_and_births(brts)$births # nolint internal function
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_conditioning.R:33:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_conditioning.R#L33) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_conditioning.R:35:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_conditioning.R#L35) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_conditioning.R:58:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_conditioning.R#L58) *warning:* **no visible global function definition for ‘check_pc’**
```r
  check_pc(pc = pc, debug_mode = debug_mode)
  ^~~~~~~~
```
[R/mbd_integrate.R:7:1:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_integrate.R#L7) *style:* **Variable and function name style should be snake_case.**
```r
mbd_ode_FORTRAN <- function(
^~~~~~~~~~~~~~~
```
[R/mbd_integrate.R:17:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_integrate.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  N <- length(initprobs)
  ^
```
[R/mbd_loglik.R:13:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_loglik.R#L13) *warning:* **no visible global function definition for ‘check_brts’**
```r
  check_brts(brts = brts, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_loglik.R:14:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_loglik.R#L14) *warning:* **no visible global function definition for ‘check_cond’**
```r
  check_cond(cond = cond, tips_interval = tips_interval, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_loglik.R:48:11:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_loglik.R#L48) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  data <- brts2time_intervals_and_births(brts) # nolint internal function
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_main_utils.R:13:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_main_utils.R#L13) *warning:* **local variable ‘pkg_name’ assigned but may not be used**
```r
  pkg_name <- get_pkg_name() # nolint internal function
  ^~~~~~~~
```
[R/mbd_main_utils.R:13:15:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_main_utils.R#L13) *warning:* **no visible global function definition for ‘get_pkg_name’**
```r
  pkg_name <- get_pkg_name() # nolint internal function
              ^~~~~~~~~~~~
```
[R/mbd_main.R:45:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_main.R#L45) *warning:* **no visible global function definition for ‘print_info’**
```r
  print_info(brts = brts, n_0 = n_0, cond = cond, verbose = verbose) # nolint internal function
  ^~~~~~~~~~
```
[R/mbd_main.R:155:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_main.R#L155) *warning:* **no visible global function definition for ‘print_info’**
```r
  print_info(brts = brts, n_0 = n_0, cond = cond, verbose = verbose) # nolint internal function
  ^~~~~~~~~~
```
[R/mbd_ml.R:20:16:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_ml.R#L20) *warning:* **no visible global function definition for ‘get_param_names’**
```r
  par_names <- get_param_names() # nolint internal function
               ^~~~~~~~~~~~~~~
```
[R/mbd_ml.R:35:19:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_ml.R#L35) *warning:* **no visible global function definition for ‘pars_transform_back’**
```r
    optim_pars <- pars_transform_back(tr_optim_pars) # nolint internal function
                  ^~~~~~~~~~~~~~~~~~~
```
[R/mbd_ml.R:62:20:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_ml.R#L62) *warning:* **no visible global function definition for ‘pars_transform_forward’**
```r
  tr_start_pars <- pars_transform_forward(start_pars[optim_ids]) # nolint internal function
                   ^~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_pmb.R:7:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_pmb.R#L7) *warning:* **no visible global function definition for ‘check_brts’**
```r
  check_brts(brts = brts, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_pmb.R:21:11:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_pmb.R#L21) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  data <- brts2time_intervals_and_births(brts) # nolint internal function
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_sim_utils.R:14:27:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_sim_utils.R#L14) *warning:* **no visible global function definition for ‘create_singleton_phylo’**
```r
    reconstructed_tree <- create_singleton_phylo(time_points)
                          ^~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_sim_utils.R:18:27:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_sim_utils.R#L18) *warning:* **no visible global function definition for ‘create_empty_phylo’**
```r
    reconstructed_tree <- create_empty_phylo()
                          ^~~~~~~~~~~~~~~~~~
```
[R/mbd_sim.R:10:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_sim.R#L10) *warning:* **no visible global function definition for ‘check_cond’**
```r
  check_cond(cond = cond, tips_interval = tips_interval, n_0 = n_0)
  ^~~~~~~~~~
```
[R/mbd_sim.R:11:3:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_sim.R#L11) *warning:* **no visible global function definition for ‘check_seed’**
```r
  check_seed(seed = seed)
  ^~~~~~~~~~
```
[R/mbd_sim.R:25:17:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_sim.R#L25) *warning:* **no visible global function definition for ‘initialize_l_matrix’**
```r
    l_matrix <- initialize_l_matrix(age = age, n_0 = n_0)
                ^~~~~~~~~~~~~~~~~~~
```
[R/mbd_utils.R:2:13:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_utils.R#L2) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  births <- brts2time_intervals_and_births(brts)$births # nolint internal function
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_utils.R:7:15:](https://github.com/Giappo/mbd/blob/774704a361cd1cc12da59d32ba3bc87ff13a0a7d/R/mbd_utils.R#L7) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
    births <- brts2time_intervals_and_births(brts)$births # nolint internal function
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


package com.gmail.turq;

public interface DraftBoard {
	public Student[] getReady();

}


package com.gmail.turq;

public class Human {
	private int age;
	private double weight;
	private double height;
	private boolean sex;

	public Human(int age, double weight, double height, boolean sex) {
		super();
		this.age = age;
		this.weight = weight;
		this.height = height;
		this.sex = sex;
	}
	public Human() {
		super();

	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public double getHeight() {
		return height;
	}
	public void setHeight(double height) {
		this.height = height;
	}

	public boolean isSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public String toString() {
		return " age=" + age + ", weight=" + weight + ", height=" + height + ", sex=" + sex + "]";
	}

}


Can you save some gas for the savvy sender who is able to send even amounts?


Successfully deployed to following URLs:

* https://react-dashboard-mqtt-rbq2ggk35.now.sh
* https://react-dashboard-mqtt.maujavier91.now.sh
* https://react-dashboard-mqtt-git-master.maujavier91.now.sh


dd


I believe it got updated (the hash of go-modules.drv is not the same) but it still fails with:
```
go: contrib.go.opencensus.io/exporter/ocagent@v0.2.0: unrecognized import path "contrib.go.opencensus.io/exporter/ocagent" (https fetch: Get https://contrib.go.opencensus.io/exporter/ocagent?go-get=1: x509: certificate signed by unknown authority)
go: finding github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: finding github.com/blang/semver v3.5.1+incompatible
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/peterbourgon/diskv v2.0.1+incompatible
go: knative.dev/pkg@v0.0.0-20190719141030-e4bc08cc8ded: unrecognized import path "knative.dev/pkg" (https fetch: Get https://knative.dev/pkg?go-get=1: x509: certificate signed by unknown authority)
go: github.com/chmouel/cobra@v0.0.0-20190820110723-8f09bb39b20d: unknown revision 8f09bb39b20d
go: k8s.io/client-go@v0.0.0-20190226174127-78295b709ec6: unrecognized import path "k8s.io/client-go" (https fetch: Get https://k8s.io/client-go?go-get=1: x509: certificate signed by unknown authority)
go: error loading module requirements
builder for '/nix/store/kba3l9ag7qzykdg5f227fjlhkfrbf5fh-tkn-0.4.0-go-modules.drv' failed with exit code 1
cannot build derivation '/nix/store/asdq8bkpgx6fc73jp2565kmjjzxaixz7-tkn-0.4.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/42mnbsi0pb565pkdchrwyvgx76lzsmdi-home-manager-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2snqqsiwk8dymjkygikhs90r2jhgcrx7-home-manager-generation.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2snqqsiwk8dymjkygikhs90r2jhgcrx7-home-manager-generation.drv' failed
```
I am using home-manager with the 19.09 channel:
```
λ ~ → nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.80, NixOS, 19.09.976.c75de8bc12c (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3`
 - channels(vagrant): `"home-manager-19.09"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
```
Thanks for your help.


package com.gmail.turq;

public class Student extends Human implements Comparable{
	private String name;
	private String secondName;

	public Student(int age, double weight, double height, boolean sex, String name, String secondName) {
		super(age, weight, height, sex);
		this.name = name;
		this.secondName = secondName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSecondName() {
		return secondName;
	}

	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", secondName=" + secondName + super.toString();
	}

	@Override
	public int compareTo(Object o) {
		Student anotherStud = (Student) o;
		if ((this.getSecondName().compareTo(anotherStud.getSecondName()) > 0)) {
			return 1;
		}
		if ((this.getSecondName().compareTo(anotherStud.getSecondName()) < 0)) {
			return -1;
		}
		return 0;
	}

}


almost the same speed. If you use `with open` it automatically closes the file for you


package com.gmail.turq;

import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.Scanner;

public class Group implements DraftBoard {
	private Student[] gr = new Student[10];
	Scanner sc = new Scanner(System.in);

	public Group() {
		super();
	}

	public Group(Student[] gr) {
		super();
		this.gr = gr;
	}

	public Student[] getGr() {
		return gr;
	}

	public void setGr(Student[] gr) {
		this.gr = gr;
	}

	@Override
	public String toString() {

		return "Group [gr=" + Arrays.toString(gr) + "]";
	}

	public void addStudent(Student student, int number) throws MyException {
		if (number >= gr.length)

			throw new MyException();

		if ((number >= 0)) {

			try {
				gr[number] = student;
			} catch (ArrayIndexOutOfBoundsException e) {

			}

		}
	}

	public void deleteStudent(int number) {
		if ((number > 0) & (number <= gr.length)) {
			gr[number] = null;
		}
	}

	public Student findStudent(String secName) {
		Student student = null;
		int sum = 0;
		for (int i = 0; i < gr.length; i++) {
			sum += 1;
			if (sum == 9) {

				System.out.println("Student is superfluous");
			}
			try {
				if (secName == gr[i].getSecondName()) {
					student = gr[i];
					break;
				}
			} catch (NullPointerException e) {

			}
		}
		return student;
	}

	public void groupInform() {
		String info = "";
		for (int i = 0; i < gr.length; i++) {

			if (gr[i] == null) {

				gr[i] = gr[gr.length - i];
			} else {

				info = gr[i].toString();
			}
		}
	}

	public Student addStudent() {
		Student inv = null;
		System.out.println("Input Student: age, weight , height, sex, name, secondName ");

		try {
			System.out.println("Input age");
			int age = sc.nextInt();
			System.out.println("Input weight");
			double weight = sc.nextDouble();
			System.out.println("Input height");
			double height = sc.nextDouble();
			System.out.println("Input sex");
			boolean sex = sc.nextBoolean();
			System.out.println("Input name");
			String name = sc.next();
			System.out.println("Input secondname");
			String secondName = sc.next();
			inv = new Student(age, weight, height, sex, name, secondName);

		} catch (InputMismatchException | IllegalStateException e) {
			e.printStackTrace();
		}
		return inv;
	}

	public Student[] comp() {

		Student x;
		for (int i = gr.length - 1; i >= 0; i--) {

			for (int j = 0; j < i; j++) {
				try {
					if ((gr[j].getSecondName().compareTo(gr[j + 1].getSecondName()) > 0)) {

						x = gr[j];
						gr[j] = gr[j + 1];
						gr[j + 1] = x;

					}
				} catch (NullPointerException e) {

				}
			}
		}
		return this.gr;
	}

	@Override
	public Student[] getReady() {

		Student[] studentArray = new Student[gr.length];
		int count = 0;
		try {
			for (Student student : gr) {
				if ((student.getAge() > 18) && (student.isSex() != false)) {
					studentArray[count] = student;
					count += 1;
					System.out.println("Ready to Army " + student);
				}
			}
		} catch (NullPointerException e) {

		}
		return studentArray;
	}

	public void sortByParametr(int i, boolean forward) {
		Arrays.sort(this.gr, new StudentComparator(i, forward));
	}

}


Оставь 2 метода и 1 конструктор. Как я тебе кидал ссылку. Возьми  его за правильный вариант. Создание и выполнение стейтментов сделай в класс которые используют класс connection


How comfortable would you be with using `.call.value` instead?


People


You want to add this to the modules below https://github.com/xstefank/quickstart/blob/d10678eccc3075ba5b3c258f298eb74dce25f4cb/pom.xml#L353


package com.gmail.turq;

import java.util.Comparator;

public class StudentComparator implements Comparator {
	private int i = 0;
	private boolean forward = true;

	public StudentComparator(int i) {
		super();
		this.i = i;
	}

	public StudentComparator(int i, boolean forward) {
		super();
		this.i = i;
		this.forward = forward;
	}

	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	@Override
	public int compare(Object a, Object b) {

		int n = (this.forward) ? 1 : -1;

		if (a != null && b == null) {
			return 1;
		}
		if (a == null && b != null) {
			return -1;
		}
		if (a == null && b == null) {
			return 0;
		}
		Student studentOne = (Student) a;
		Student studentTwo = (Student) b;
		switch (this.i) {
		case 0:
			return (studentOne.getName().compareTo(studentTwo.getName())) * n;
		case 1:
			return (studentOne.getSecondName().compareTo(studentTwo.getSecondName())) * n;
		case 2:
			return (studentOne.getAge() - studentTwo.getAge()) * n;
		case 3:
			return ((studentOne.isSex()) ? 1 : -1) * n;
		case 4:
			return ((int) studentOne.getWeight() - (int) studentTwo.getWeight()) * n;
		}
		return 0;
	}

}


I know. But this will stay since CP is already using it this way and I won't risk backwards incompatibility.
We can change that for FS21 ;-)


I think you would also need to create a volume for that redis? (so its persistent)


What would you say about the scope you chose?


Because GitHub dont accept the old readme


Java


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


use `re.split('([-+])', y)` and do what we did in class today ok nice


Successfully deployed to following URLs:

* https://react-dashboard-mqtt-qrtsvw25u.now.sh
* https://react-dashboard-mqtt.maujavier91.now.sh
* https://react-dashboard-mqtt-git-master.maujavier91.now.sh