А с чего ты решил что будут ломать?


Any reason this cannot be named `SignupController` (or just `Signup`?


:smile: thank you @philmmanjaro with both array work.. another tip for me :wink:


it's already a uintptr_t, why are you casting it?


Don't forget to `catch`


I would like to see if we can figure out the right values for the covariance matrices because -1's screw up the Kalman filter.


At this point, there is no easy way of doing this. Compiling the commproto library first will at least spare us the headache of clr .


@adamsitnik, I made requested fixes: https://github.com/PerfDotNet/BenchmarkDotNet/commit/dfcc984e12007d2234f6fffebcfcc6357bac1a2b


Controllers shouldn't really know implementation details, and `localStorage` is definitely an implementation detail. Maybe use a `localStorage` factory — or even better, the `CartFactory` uses the `localStorage` factory.


This style makes sense.


Cool! I've already merged swift-3.0 into master, want to issue a PR or merge into master manually?


Ну а на кой ещё туда лазить? Всем любопытствующим я могу дамп и на гите выложить)) В общем нет никакой практической пользы утаивать доступы к базе - потому и не стал расточительно тратить время на сокрытие этих данных )


TODO? Looks you did it? :-)


You need to figure this one out. Look it up in the docs and add a comment here. But I think by commenting this out you've made it so IO will never start.


Another thing — when a user signs up, it's not the responsibility of the controller to make sure that the signed-in user's cart gets merged in. What if the user signs up through some alternative means / from another state? This kind of logic definitely belongs to the `AuthService.signup` method.


Since we have this
```
 my $cds_seq = defined($tr->{_variation_effect_feature_cache}) ? $tr->{_variation_effect_feature_cache}->{translateable_seq} : $tr->translateable_seq;
```
should it also be like
```
my $three_prime_utr = defined($tr->{_variation_effect_feature_cache}) ? $tr->{_variation_effect_feature_cache}->{three_prime_utr} : $tr->three_prime_utr;
```
?


fixes #7


oh nvm it's here.
TODO: replace 7 and 1 by cpp names.


[R/ABC_SMC.R:2:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
getRandomVals <- function(max_val)  {
^~~~~~~~~~~~~
```
[R/ABC_SMC.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L15) *style:* **Variable and function names should be all lowercase.**
```r
getFromPrevious <- function(inds, ws, disps, filts, comps)  {
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigma,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L37) *style:* **Variable and function names should be all lowercase.**
```r
normalizeWeights <- function(x) {
^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:71:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L71) *style:* **Variable and function names should be all lowercase.**
```r
calculateDistance <- function(rich, even, div, opt_diff, obs, sd_vals)  {
^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:75:40:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L75) *style:* **Put spaces around all infix operators.**
```r
  fit_optima <- (opt_diff / sd_vals[4])^2;
                                      ~^~
```
[R/ABC_SMC.R:83:21:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L83) *style:* **Variable and function names should be all lowercase.**
```r
ABC_SMC <- function(numParticles, species_fallout, taxa, esppres, n_traits,
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:85:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L85) *style:* **lines should not be more than 80 characters.**
```r
                    abundances, frequencies, stopRate, Ord, continue_from_file = TRUE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:85:46:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L85) *style:* **Variable and function names should be all lowercase.**
```r
                    abundances, frequencies, stopRate, Ord, continue_from_file = TRUE,
                                             ^~~~~~~~
```
[R/ABC_SMC.R:90:18:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  disp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:91:18:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L91) *style:* **Variable and function names should be all lowercase.**
```r
  filt_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:92:18:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L92) *style:* **Variable and function names should be all lowercase.**
```r
  comp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:94:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:95:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  rich_vec <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:96:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  eve_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:97:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  div_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:98:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  opt_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:104:21:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:105:26:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L105) *style:* **Variable and function names should be all lowercase.**
```r
  next_weights <- rep(1, numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:106:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L106) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:113:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L113) *style:* **lines should not be more than 80 characters.**
```r
    cat("Found previous output, continuing from that output\n"); flush.console();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:136:5:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L136) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:137:28:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L137) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:137:28:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L137) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:12:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:29:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:149:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L149) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:149:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L149) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:151:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L151) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights,
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:153:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L153) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:181:20:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L181) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:181:20:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L181) *warning:* **no visible global function definition for ‘strippedDbFd’**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:182:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L182) *style:* **lines should not be more than 80 characters.**
```r
      FRic <- FD_output$FRic # FRic = functional richness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:183:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L183) *style:* **lines should not be more than 80 characters.**
```r
      FEve <- FD_output$FEve # FEve = functional evenness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:184:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L184) *style:* **lines should not be more than 80 characters.**
```r
      FDiv <- FD_output$FDiv # FDiv = functional diversity (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L188) *style:* **Use two spaces to indent, never tabs.**
```r
	  } else {
^
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L189) *style:* **Use two spaces to indent, never tabs.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
^
```
[R/ABC_SMC.R:190:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L190) *style:* **Use two spaces to indent, never tabs.**
```r
	                          collapse = NULL), header = F)
^
```
[R/ABC_SMC.R:191:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L191) *style:* **Use two spaces to indent, never tabs.**
```r
	  }
^
```
[R/ABC_SMC.R:193:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L193) *style:* **lines should not be more than 80 characters.**
```r
      # calculate distance of trait mean simulated community from that of observed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:196:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L196) *style:* **lines should not be more than 80 characters.**
```r
      # (inverse) fit of model: euclidian distance of FD and trait mean values of
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:198:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L198) *style:* **lines should not be more than 80 characters.**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:198:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L198) *style:* **Variable and function names should be all lowercase.**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
             ^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:198:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L198) *warning:* **no visible global function definition for ‘calculateDistance’**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
             ^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:202:9:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L202) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:202:27:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L202) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
        next_disp[numberAccepted] <- params[1]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:204:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L204) *style:* **Variable and function names should be all lowercase.**
```r
        next_filt[numberAccepted] <- params[2]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:205:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L205) *style:* **Variable and function names should be all lowercase.**
```r
        next_comp[numberAccepted] <- params[3]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:207:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L207) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] <- fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:18:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        rich_vec[numberAccepted] <- FRic[[1]]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        eve_vec[numberAccepted] <- FEve[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        div_vec[numberAccepted] <- FDiv[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:211:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        opt_vec[numberAccepted] <- mean_optimum;
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:24:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] = 1
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:40:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L214) *style:* **Use <-, not =, for assignment.**
```r
          next_weights[numberAccepted] = 1
                                       ^
```
[R/ABC_SMC.R:216:24:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] =
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:40:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L216) *style:* **Use <-, not =, for assignment.**
```r
          next_weights[numberAccepted] =
                                       ^
```
[R/ABC_SMC.R:217:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, disp_vals, filt_vals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:221:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L221) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
            ^
```
[R/ABC_SMC.R:221:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:221:34:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
                                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:227:21:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L227) *style:* **Put spaces around all infix operators.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                   ~^~
```
[R/ABC_SMC.R:227:22:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                     ^~~~~~~~
```
[R/ABC_SMC.R:229:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L229) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
            ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:229:38:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L229) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:247:54:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L247) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:250:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L250) *style:* **lines should not be more than 80 characters.**
```r
    cat(" ", mean(disp_vals), mean(filt_vals), mean(comp_vals), "\t", "accept rate = ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:251:9:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), "\n")
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:251:32:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L251) *style:* **Put spaces around all infix operators.**
```r
        numberAccepted / (tried-1), "\n")
                              ~^~
```
[R/ABC_SMC.R:254:27:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L254) *style:* **Commas should always have a space after.**
```r
    next_weights <- rep(1,numParticles)
                          ^
```
[R/ABC_SMC.R:254:27:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L254) *style:* **Variable and function names should be all lowercase.**
```r
    next_weights <- rep(1,numParticles)
                          ^~~~~~~~~~~~
```
[R/ABC_SMC.R:255:20:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L255) *style:* **Variable and function names should be all lowercase.**
```r
    next_disp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:256:20:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    next_filt <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:257:20:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    next_comp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:264:61:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L264) *style:* **Put spaces around all infix operators.**
```r
    d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
                                                           ~^~
```
[R/ABC_SMC.R:268:63:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L268) *style:* **Put spaces around all infix operators.**
```r
      d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                             ~^~
```
[R/ABC_SMC.R:271:15:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L271) *style:* **Put spaces around all infix operators.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
             ~^~~
```
[R/ABC_SMC.R:272:44:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/ABC_SMC.R#L272) *style:* **Put spaces around all infix operators.**
```r
	                          collapse = NULL), header = F)
                                          ~^
```
[R/generateArtificialData.R:4:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
generate.Artificial.Data <- function(n_species, n_traits, n_communities,
^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:6:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	pool_richness <- n_species
^
```
[R/generateArtificialData.R:8:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
^
```
[R/generateArtificialData.R:9:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	                                    mean = 0, sd = 1), 3),
^
```
[R/generateArtificialData.R:9:23:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L9) *style:* **Put spaces around all infix operators.**
```r
	pool_richness <- n_species
                     ~^~~
```
[R/generateArtificialData.R:10:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	                       ncol = n_traits, nrow = pool_richness)
^
```
[R/generateArtificialData.R:11:21:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                   ~^~~
```
[R/generateArtificialData.R:11:47:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                             ~^~
```
[R/generateArtificialData.R:11:49:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L11) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                ^
```
[R/generateArtificialData.R:11:64:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                              ~^~
```
[R/generateArtificialData.R:12:50:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                ~^~
```
[R/generateArtificialData.R:12:58:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                        ~^~
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:pool_richness) {
^
```
[R/generateArtificialData.R:13:37:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                   ~^~
```
[R/generateArtificialData.R:13:54:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                                    ~^~
```
[R/generateArtificialData.R:14:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	  column1[i] <- paste("species", i, sep = "")
^
```
[R/generateArtificialData.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- rep(NA, (n_traits + 1))
^
```
[R/generateArtificialData.R:16:12:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L16) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:pool_richness) {
           ^
```
[R/generateArtificialData.R:17:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_traits + 1) {
^
```
[R/generateArtificialData.R:17:22:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L17) *style:* **Put spaces around all infix operators.**
```r
	  column1[i] <- paste("species", i, sep = "")
                    ~^~~
```
[R/generateArtificialData.R:18:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
^
```
[R/generateArtificialData.R:19:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:19:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L19) *style:* **Put spaces around all infix operators.**
```r
	row1 <- rep(NA, (n_traits + 1))
            ~^~~
```
[R/generateArtificialData.R:19:25:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	row1 <- rep(NA, (n_traits + 1))
                        ^
```
[R/generateArtificialData.R:20:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	row1[1] <- "species"
^
```
[R/generateArtificialData.R:20:12:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L20) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_traits + 1) {
           ^
```
[R/generateArtificialData.R:21:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
^
```
[R/generateArtificialData.R:21:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                 ~^~~
```
[R/generateArtificialData.R:21:37:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                    ^
```
[R/generateArtificialData.R:21:40:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                      ~^~
```
[R/generateArtificialData.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df <- as.data.frame(columns)
^
```
[R/generateArtificialData.R:23:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	names(traits_pool_df) <- row1
^
```
[R/generateArtificialData.R:23:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L23) *style:* **Put spaces around all infix operators.**
```r
	row1[1] <- "species"
               ~^~~
```
[R/generateArtificialData.R:24:17:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
               ~^~~
```
[R/generateArtificialData.R:24:61:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                           ~^~
```
[R/generateArtificialData.R:24:63:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                              ^
```
[R/generateArtificialData.R:25:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
^
```
[R/generateArtificialData.R:25:24:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L25) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df <- as.data.frame(columns)
                      ~^~~
```
[R/generateArtificialData.R:26:31:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L26) *style:* **Put spaces around all infix operators.**
```r
	names(traits_pool_df) <- row1
                             ~^~~
```
[R/generateArtificialData.R:28:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
^
```
[R/generateArtificialData.R:28:26:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                        ~^~~
```
[R/generateArtificialData.R:28:43:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L28) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                          ^
```
[R/generateArtificialData.R:28:58:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                                        ~^~
```
[R/generateArtificialData.R:30:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^
```
[R/generateArtificialData.R:31:19:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                 ~^~~
```
[R/generateArtificialData.R:31:24:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                      ~^~
```
[R/generateArtificialData.R:31:51:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                 ~^~
```
[R/generateArtificialData.R:31:59:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                         ~^~
```
[R/generateArtificialData.R:32:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values < 0)] <- 0
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **lines should not be more than 80 characters.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:33:25:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                       ~^~~
```
[R/generateArtificialData.R:33:34:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                 ^
```
[R/generateArtificialData.R:33:61:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                           ~^~
```
[R/generateArtificialData.R:33:69:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                    ^~
```
[R/generateArtificialData.R:33:74:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                        ~^~
```
[R/generateArtificialData.R:33:76:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                           ^
```
[R/generateArtificialData.R:33:89:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                                ~^~
```
[R/generateArtificialData.R:34:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_communities){
^
```
[R/generateArtificialData.R:35:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
	  if(mechanism_random == T){
^
```
[R/generateArtificialData.R:35:47:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                             ~^~
```
[R/generateArtificialData.R:35:65:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                                               ~^~~
```
[R/generateArtificialData.R:36:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L36) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:36:47:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L36) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values < 0)] <- 0
                                             ~^
```
[R/generateArtificialData.R:37:12:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L37) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_communities){
           ^
```
[R/generateArtificialData.R:38:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L38) *style:* **Use two spaces to indent, never tabs.**
```r
	  }else{
^
```
[R/generateArtificialData.R:38:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  if(mechanism_random == T){
            ^
```
[R/generateArtificialData.R:39:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
^
```
[R/generateArtificialData.R:39:29:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L39) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:40:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- c()
^
```
[R/generateArtificialData.R:41:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(j in 1:n_traits){
^
```
[R/generateArtificialData.R:42:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L42) *style:* **Use two spaces to indent, never tabs.**
```r
	      for(k in 1:pool_richness){
^
```
[R/generateArtificialData.R:42:24:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                      ~^~~
```
[R/generateArtificialData.R:42:48:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                                              ~^~
```
[R/generateArtificialData.R:43:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L43) *style:* **Use two spaces to indent, never tabs.**
```r
		      l <- (j - 1) * pool_richness + k
^~
```
[R/generateArtificialData.R:44:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L44) *style:* **Use two spaces to indent, never tabs.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
^~
```
[R/generateArtificialData.R:44:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(j in 1:n_traits){
               ^
```
[R/generateArtificialData.R:45:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
	      }
^
```
[R/generateArtificialData.R:45:18:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L45) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      for(k in 1:pool_richness){
                 ^
```
[R/generateArtificialData.R:46:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:46:25:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                       ~^~~
```
[R/generateArtificialData.R:46:28:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		      l <- (j - 1) * pool_richness + k
                           ^
```
[R/generateArtificialData.R:46:31:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                             ~^~
```
[R/generateArtificialData.R:46:36:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                                  ~^
```
[R/generateArtificialData.R:47:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
^
```
[R/generateArtificialData.R:47:44:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L47) *style:* **Put spaces around all infix operators.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
                                          ~^~~
```
[R/generateArtificialData.R:48:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
^
```
[R/generateArtificialData.R:49:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L49) *style:* **Use two spaces to indent, never tabs.**
```r
	    trait_distances_onedimen <- c()
^
```
[R/generateArtificialData.R:50:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L50) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(m in 1:pool_richness){
^
```
[R/generateArtificialData.R:50:31:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                             ~^~~
```
[R/generateArtificialData.R:50:65:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                                                               ~^~
```
[R/generateArtificialData.R:51:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^
```
[R/generateArtificialData.R:51:30:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L51) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                            ~^~~
```
[R/generateArtificialData.R:51:49:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L51) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                                               ~^~
```
[R/generateArtificialData.R:52:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L52) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:53:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L53) *style:* **Use two spaces to indent, never tabs.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
^
```
[R/generateArtificialData.R:53:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L53) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(m in 1:pool_richness){
               ^
```
[R/generateArtificialData.R:54:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L54) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:54:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L54) *style:* **lines should not be more than 80 characters.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:54:43:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L54) *style:* **Put spaces around all infix operators.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
                                         ~^~~
```
[R/generateArtificialData.R:54:77:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L54) *style:* **Put spaces around all infix operators.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
                                                                           ~^~
```
[R/generateArtificialData.R:56:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L56) *style:* **lines should not be more than 80 characters.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:56:27:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                         ~^~~
```
[R/generateArtificialData.R:56:31:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L56) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                              ^
```
[R/generateArtificialData.R:56:57:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                                                       ~^~
```
[R/generateArtificialData.R:56:90:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                                                                                ~^~
```
[R/generateArtificialData.R:57:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L57) *style:* **Use two spaces to indent, never tabs.**
```r
	  comm_spec_matrix[i, c(present_species)] <- 1
^
```
[R/generateArtificialData.R:57:29:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L57) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:58:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L58) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:59:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L59) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix
^
```
[R/generateArtificialData.R:60:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L60) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
^
```
[R/generateArtificialData.R:62:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L62) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
^
```
[R/generateArtificialData.R:63:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L63) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
^
```
[R/generateArtificialData.R:63:11:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L63) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
          ^
```
[R/generateArtificialData.R:63:58:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L63) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
                                                        ~^~~
```
[R/generateArtificialData.R:65:14:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L65) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
            ~^~~
```
[R/generateArtificialData.R:65:62:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L65) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
                                                            ~^~~
```
[R/generateArtificialData.R:66:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L66) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
^
```
[R/generateArtificialData.R:66:11:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
          ^
```
[R/generateArtificialData.R:66:58:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L66) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
                                                        ~^~~
```
[R/generateArtificialData.R:67:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L67) *style:* **Use two spaces to indent, never tabs.**
```r
	names(comm_spec_matrix) <- row1
^
```
[R/generateArtificialData.R:69:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L69) *style:* **Use two spaces to indent, never tabs.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
^
```
[R/generateArtificialData.R:69:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L69) *style:* **lines should not be more than 80 characters.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:69:26:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L69) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
                        ~^~~
```
[R/generateArtificialData.R:70:33:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L70) *style:* **Put spaces around all infix operators.**
```r
	names(comm_spec_matrix) <- row1
                               ~^~~
```
[R/generateArtificialData.R:72:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L72) *style:* **Use two spaces to indent, never tabs.**
```r
	names(plots) <- traits_pool_df[, 1]
^
```
[R/generateArtificialData.R:72:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L72) *style:* **lines should not be more than 80 characters.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:72:15:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L72) *style:* **Put spaces around all infix operators.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
             ~^~~
```
[R/generateArtificialData.R:74:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L74) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
^
```
[R/generateArtificialData.R:75:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L75) *style:* **Use two spaces to indent, never tabs.**
```r
	                traits_pool_df[ ,c(2:ncol(traits_pool_df))])
^
```
[R/generateArtificialData.R:75:22:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L75) *style:* **Put spaces around all infix operators.**
```r
	names(plots) <- traits_pool_df[, 1]
                    ~^~~
```
[R/generateArtificialData.R:77:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L77) *style:* **Use two spaces to indent, never tabs.**
```r
	for (i in 2:ncol(traits_pool_df)) {
^
```
[R/generateArtificialData.R:77:53:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L77) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
                                                   ~^~~
```
[R/generateArtificialData.R:79:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L79) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:80:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L80) *style:* **Use two spaces to indent, never tabs.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
^
```
[R/generateArtificialData.R:80:13:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L80) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for (i in 2:ncol(traits_pool_df)) {
            ^
```
[R/generateArtificialData.R:82:1:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L82) *style:* **Use two spaces to indent, never tabs.**
```r
	return(output)
^
```
[R/generateArtificialData.R:83:16:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
              ~^~~
```
[R/generateArtificialData.R:83:32:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
                              ~^~
```
[R/generateArtificialData.R:83:61:](https://github.com/thijsjanzen/STEPCAM/blob/a2b88270fc877ad4bebdf56de9d41b25e2e4fe6f/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
                                                           ~^~
```


If this code sequence occurs more than once it needs to be a function.


todo: names


I gave up on that.
And NCurses/Curses clears the screen.

On Mon, Sep 19, 2016 at 2:41 PM, JoinRajuncraftNow <notifications@github.com
> wrote:

> Ever heard of ncurses? Its conio.h but for linux. Well, as far as I know.
> It might be easier/faster/smaller than what you are currently doing.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/JoinRajuncraftNow/Projects/commit/2833ac719fbf9e5ba9ae3c5dd0281adaee091909#commitcomment-19083175>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AQMOnQHUZCQBqI_vlYulHDdp8aNld130ks5qrtdcgaJpZM4KAogs>
> .
>


Find out why the name differs. There's always a reason.


I would make sure your editor automatically adds a newline to the end of file (if not present) on save. It's a common convention and makes for annoying diffs when some team members do have it and others don't. The reason for it has to do with easier concatenation / use through Unix commands.


itt csak egy fajl van, szoval ugysem szamit (egyebkent nekem a gcc mindketto eseten ugyanugy optimalizalt)
felreertes ne essek, nem akarok annyira belekotni, csak felek hogy valaki, aki most tanul eloszor c-t, belezavarodik ebbe (laboron mar volt ra pelda), foleg, hogy mas nyelvekben altalaban mast jelent a `static`, es ha jol tudom meg eloadason sem volt rola szo (ha egyaltalan lesz)


As you already do this predicate search here, why are you repeating the same search at lines 322 and 469? Is this predicate not recursive and thus searching the whole expression? In the current form you are doing a recursive search for the whole subexpression inside each recursion step of the expression, probably not bad for small things but imagine a matrix or list of a few thousand elements... If the predicate does a full search then calling it again for any subpart of expression should return false if the full expression returned false, or did I misunderstand something?


Is there a windows version of ncurses?


You could have a function:
set_bit(address, register, bit)
because this patter of these lines of code is all over the drivier.


This seems contradictory; `fetchAll` but also with a specific `productId`? It sounds like you intend to fetch not all reviews, but rather all reviews for a given product. That should be a query (e.g. `GET /api/reviews?productId=123`) which you can build in Angular using the params option.


129956421-Scalable-Sizing-HTRad-Heat-Crash (RKStrand) - x86_64-MacOS-10.9-clang: OK (2326 of 2333 tests passed, 3 test warnings)

 * 10 tests had: AUD diffs.
 * 10 tests had: ERR diffs.
 * 7 tests had: Table big diffs.

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.7%25-yellow.svg)


Happy to see you working on this again man. Looking forward to all the changes you have planned out.


If you dont make the wrapper happy it will turn into a managed version of commproto and not a wrapper


Great improvement in redundancies. Nice work.


True.


Hi @kaluax & @elimentz,

i added the pull request to https://github.com/ixudra/curl/pull/21


https://github.com/AOSP-JF-MM/platform_system_core/commit/74edcea90e31a3795e58aa1b2bbe96032f0bcd61 I fixed init in a different way but i saw that Steve made this changes on his devices like here https://github.com/CyanogenMod/android_device_oneplus_oneplus3/commit/c4821556530ff2aadb02e9ca22bb4f443e90001d so i suppose it's working, and don't think it's the root cause of our issue, props are settled correctly for GSM devices


Where can a suitable DTB file be had to manually patch systems until fixed? I've been unsuccessful in locating sun8i-h3-orangepi-pc.dtb .


We can't make the wrapper happy, we would instead be making a copied, mutated, version of CommProto.


`ProductsCtrl probably shouldn't have these categories hard-coded. Three possibilities, each better than the last:

1. Make some kind of `app.value` containing all the categories hard-coded, and inject it.
2. Make some kind of `app.factory` which *fetches* the categories from the server, and use that promise in your controllers.
3. Make some kind of `app.factory` which *fetches* the categories from the server, and make any controller that needs them inject via a `resolve`.

The server can probably produce an array of categories simply by inspecting the Sequelize model ENUM. I don't know offhand where it can get that data but I am 100% sure it's possible.


In other words, we would have to copy the commproto lib over to wrapper library and use that to modify the source.


Nice


Worried this will add a lot of headers as it's repeated throughout the code. The ConfigureClientView event runs once and the PrepareApiData runs (from what I've seen) around 3 times. That's 4 sets total of Twitter headers and 4 sets of open graph.


wtf


@jimmidyson Is this necessary?  This means we have to use java 1.8 to build?  Can we use 1.7?  If not, can we build with 1.8 and use 1.7 at runtime?


Code review for slider component -
@aaronkaka @wyseguyonline @JasonLantz @umahaea @StommePoes


I don't want that, nor do i want to modify commproto just for the wrapper.


Consider registering this as an actual `angular.filter`. Clean up the controller a bit and makes it reusable, plus makes the template slightly more elegant looking.


[Your benchmark job](https://github.com/JuliaLang/julia/commit/f30c9499b62e4959d8265b1e22401702f073aa15#commitcomment-19082011) has completed - possible performance regressions were detected. A full report can be found [here](https://github.com/JuliaCI/BaseBenchmarkReports/blob/468360870dcdecc687e2ce749e313a8d6e074e97/f30c949_vs_e781d08/report.md). cc @jrevels


Been a while...  to note...  that I recall what is here gets the timers started correctly...  It looked as if the error was actually occuring elsewhere...  not sure if it was indirectly related to chances made...  ie a value changed use or something else that got uncovered.


2.6, 2.7 are very special and not easy to support, thus I'd include them. Also, 3.3 is our lowest 3.x. -> I'd recommend to only not test 3.4 explicitly.

But we can enable fast-failures, so the overall test fails as soon as the first non-allowed job fails.


Little did he know that this would become then best code editor out there!


The complexity of this method again underscores the value of a `CartFactory`.


new Room[3][30] ? Тебе нужно объединить результат от трех API.  Представь, что ты ищешь квартиру и перед тем, как обзваниваешь, выписываешь все  из трех газет на один лист бумаги.


From a quick read I believe that it's (hashed as) just a pseudo-random string that only depends on the output name. For example, if you put `echo /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9` instead of `echo ${placeholder "out"}`, it should always result into the same hash and derivation. Such approach seems unlikely to cause trouble *unless*/until an adversary can control (part of) the derivation text.


Нет. Мы обсуждали, зечем нужен `respond_to_missing?` — он должен чётко говорить `trrue` если такой метод есть, и `false` в другом случае.


LGTM
Ship it !
Gumma !!!!!!!!


[自助理賠管理端.xlsx](https://github.com/hayageek/jquery-upload-file/files/479140/default.xlsx)


Hey Taichi,
Very good work on these exercises 👍, you crushed it. I should have advanced python finished by the end of the week. See you in class Wednesday!


The path is wrong so this causes an eval error.

Also this `.bin // { outputs = ["bin"]; };` hack is no longer needed.


@davsclaus  Can you please pass on Camel code CS template?


operator


OK. I just scanned the file, but you know the logic. Just making sure.


echo "# hello-world" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/hajirahlove/hello-world.git
git push -u origin master


This patch is the same as [this commit by @md-5](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/spigot/commits/21fe7077d9140e0f9db01587a39c2ffec29e3ec8).


I have not removed comments in this file because I will be making modifications to them later, and I wanted to keep the commented-out code for reference.
They will be removed in a later commit.


.text()は確かinnerHTMLを表示させるものでは？
.val()が使えた気がします…


Hi RJ,
Very good work on these exercises 👍, you crushed it. Nice error catching in your code.  A nice one-liner for the sort_last exercise that uses a lambda:
    s=sorted(tuples,key=lambda t: t[1] )

I should have advanced python finished by the end of the week. See you in class Wednesday!


Ahh broke my script!

Thanks anyway, makes more sense. :+1:


Pantalla


已经修复


Hi Johnathan,
Very good work on these exercises 👍, you crushed it. Nice error catching in your code. I should have advanced python finished by the end of the week. See you in class Wednesday!


How does this work regarding hashing? I'm further excited as I hope the same could be reused for self-references with the intentional store.


Wrong URL


hello, why there are two device descriptor for only one device --- if the wLength is 8 then USB_DeviceDescriptorB  otherwise USB_DeviceDescriptor?
and, according to **USB Interface Association Descriptor Device Class Code and Use Model**in July23, 2003, if Interface Association Descriptor is used, then the device class code must be 0xEF, but in USB_DeviceDescriptor the code is 0x00.


@xning I'm planing to call it "Procslink". What do you think?


Hello. I've been trying to get the cloudformation to work for a while.  I followed the instructions and ran the template but everytime i get a timeout error on the last wait condition.  Is there a newer template I can use or can you provide some more details. Thank you!


@xning Note that the code under ipc/ is formal code, while zookeeper/ is only a demo


+# cqliulei.github.io
+This is my blog


added a short POST command for the firing from the client.  If one of you
could look at it and see how close it is to being right that would be
cool.  I think it makes sense but I haven't looked at HTTP as much as you
guys lol

On Sun, Sep 18, 2016 at 7:14 PM, Emmanuel Armstrong <
emmanuelrarmstrong@gmail.com> wrote:

> Working on the read and update_board() methods now.  Doing some reading up
> on the docs for http to make sure I fully understand the best way to
> receive the coords and get the right responses
>
> On Sun, Sep 18, 2016 at 3:08 PM, dssquared <notifications@github.com>
> wrote:
>
>> I don't think we will be able to use the socket library for http, I am
>> looking at a few http libraries but need learn how to use them,
>> experimenting now. Someone else can start working on the board maintenance
>> like read_board() or update_board() in the server.py. These methods will
>> receive a string or chars of x,y coords, read_board() can return a string
>> or char for hit miss or sunk to be passed to another method.
>>
>>
>> On Sun, Sep 18, 2016 at 2:26 PM, David Schwehr <dpschwehr@gmail.com>
>> wrote:
>>
>> > I got some syntax errors fixed in server.py and it will run, but with
>> the
>> > while(1) infinite loop you have to go into the task manager to kill the
>> > process since you have to run it from the command line to send in
>> > arguments. We wont have to worry about it once the client stuff is more
>> > complete to where the client will close the connection and the server
>> wont
>> > get stuck in a loop.
>> >
>> >
>> > On Sun, Sep 18, 2016 at 2:23 PM, David Schwehr <dpschwehr@gmail.com>
>> > wrote:
>> >
>> >> I got the file reading to the 2d array working.......kinda. There is an
>> >> additional element on each row of the array to hold the new line char.
>> This
>> >> was the easiest without having to read a line from the text file,
>> strip the
>> >> /n, then change the string into chars, then put it in the array. Maybe
>> >> later use the numpy library to make this nicer? I just wanted to get it
>> >> working so we can move on and get more done. I left the variable for
>> the
>> >> width at 10 so we can still use this to check for a shot out of bounds.
>> >>
>> >> On Sun, Sep 18, 2016 at 1:28 PM, David Schwehr <dpschwehr@gmail.com>
>> >> wrote:
>> >>
>> >>> I got reading the file and filling the array to work but I can't omitt
>> >>> the newline character. Supossedly there is a strip('/n') that should
>> work
>> >>> with reading a file line by line but we need to read char by char. If
>> you
>> >>> were able to leave out the /n than that is farther than I got.
>> >>>
>> >>> On Sun, Sep 18, 2016 at 1:24 PM, Emmanuel-Armstrong <
>> >>> notifications@github.com> wrote:
>> >>>
>> >>>> Oh crap I just realized, I've done some work on the file reading and
>> >>>> writing but I totally forgot to push it up to git! I'll see if I have
>> >>>> any
>> >>>> more than you and if so I'll push up what I have when I get home from
>> >>>> work
>> >>>> in a couple hours. Sorry about that!
>> >>>>
>> >>>>
>> >>>> On Sep 18, 2016 12:53 PM, "dssquared" <notifications@github.com>
>> wrote:
>> >>>>
>> >>>> > I've started working with reading in the board file and filling the
>> >>>> array,
>> >>>> > about half success now. Once the board array is filled we can start
>> >>>> working
>> >>>> > on the rest. Not sure if we want to make a nother text file for the
>> >>>> client
>> >>>> > to keep track of the board since the client is re-invoked each
>> time.
>> >>>> Can't
>> >>>> > really use an array since the program is restarted each time but
>> >>>> writing to
>> >>>> > a file from an array could be a pain. I will finish the server side
>> >>>> > creating the board array first, might use a list within a list.
>> >>>> > What do you guys want to work on or feel comfortable about working
>> on?
>> >>>> >
>> >>>> > David
>> >>>> >
>> >>>> > On Sat, Sep 17, 2016 at 6:35 PM, David Schwehr <
>> dpschwehr@gmail.com>
>> >>>> > wrote:
>> >>>> >
>> >>>> > > Just checked, the address for localhost is correct, the port
>> >>>> numbers and
>> >>>> > > ip being set from command line arguments is already implemented
>> and
>> >>>> I
>> >>>> > > checked the connection already. I was going to play around with
>> >>>> different
>> >>>> > > ways of making the board and http stuff next. I put a board.txt
>> >>>> file in
>> >>>> > the
>> >>>> > > folder too to use to test reading the file and creating an array
>> or
>> >>>> list
>> >>>> > of
>> >>>> > > lists for the board.
>> >>>> > > Remember to git pull before working on anything to make sure you
>> >>>> have the
>> >>>> > > most recent version.
>> >>>> > > I will be working on it some tonight and spending most the day
>> on it
>> >>>> > > tomorrow.
>> >>>> > >
>> >>>> > > On Sat, Sep 17, 2016 at 6:30 PM, David Schwehr <
>> dpschwehr@gmail.com
>> >>>> >
>> >>>> > > wrote:
>> >>>> > >
>> >>>> > >> Right now the server is on 127.0.0.1( i may have the address
>> wrong
>> >>>> but
>> >>>> > it
>> >>>> > >> should be the address of localhost, which is the same no matter
>> >>>> what
>> >>>> > >> machine it is running on) just to run it on your local machine
>> to
>> >>>> test,
>> >>>> > it
>> >>>> > >> will be changed to the ip address of the machine it is running
>> on
>> >>>> when
>> >>>> > they
>> >>>> > >> grade it.
>> >>>> > >>
>> >>>> > >> On Sat, Sep 17, 2016 at 6:26 PM, David Schwehr <
>> >>>> dpschwehr@gmail.com>
>> >>>> > >> wrote:
>> >>>> > >>
>> >>>> > >>> It is getting the fire commands from the command line
>> arguments,
>> >>>> that
>> >>>> > is
>> >>>> > >>> why the client is being invoked every play. The connection is
>> made
>> >>>> > with the
>> >>>> > >>> port number and IP address passed in from the command line
>> >>>> arguments. I
>> >>>> > >>> have already wrote the code for the connection using the socket
>> >>>> > library.
>> >>>> > >>> Thev ariables for the x and y coords passed from the command
>> line
>> >>>> are
>> >>>> > >>> working just as you had them in your test.py, I added it to the
>> >>>> > client.py
>> >>>> > >>> file already. These variable will be used in the methods that
>> >>>> send the
>> >>>> > http
>> >>>> > >>> message. The http and passing in the variable I think will be
>> the
>> >>>> easy
>> >>>> > >>> part, some of it is done and it works. The time consuming part
>> is
>> >>>> > going to
>> >>>> > >>> be writing the code to maintain the board and "serving" the
>> >>>> display of
>> >>>> > the
>> >>>> > >>> board.
>> >>>> > >>> Tracking sunk ships will work as you suggested and this will be
>> >>>> put in
>> >>>> > a
>> >>>> > >>> method called from read_board or process_reply or done inside
>> of
>> >>>> > >>> process_reply.
>> >>>> > >>>
>> >>>> > >>> On Sat, Sep 17, 2016 at 6:10 PM, tyler-sassaman <
>> >>>> > >>> notifications@github.com> wrote:
>> >>>> > >>>
>> >>>> > >>>> I was thinking about tracking sunk ships. Just a thought, but
>> >>>> what if
>> >>>> > >>>> we had a global variable for each ship (carrier = 5), and
>> every
>> >>>> time
>> >>>> > we hit
>> >>>> > >>>> that type of ship we decrement that value, and compare it to
>> 0.
>> >>>> so if
>> >>>> > >>>> carrier gets to 0 then it has been hit 5 times which is the
>> same
>> >>>> > thing as
>> >>>> > >>>> being sunk.
>> >>>> > >>>>
>> >>>> > >>>> —
>> >>>> > >>>> You are receiving this because you authored the thread.
>> >>>> > >>>> Reply to this email directly, view it on GitHub
>> >>>> > >>>> <https://github.com/dssquared/Networks_Lab1/commit/
>> >>>> > 7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19068085>,
>> >>>> > >>>> or mute the thread
>> >>>> > >>>> <https://github.com/notifications/unsubscribe-auth/AE8DG_y6g
>> >>>> kDXIV5_
>> >>>> > YwVT263okb39zDjcks5qrIFygaJpZM4J_dYG>
>> >>>> > >>>> .
>> >>>> > >>>>
>> >>>> > >>>
>> >>>> > >>>
>> >>>> > >>
>> >>>> > >
>> >>>> >
>> >>>> > —
>> >>>> > You are receiving this because you commented.
>> >>>> > Reply to this email directly, view it on GitHub
>> >>>> > <https://github.com/dssquared/Networks_Lab1/commit/7f5b3dc1b
>> >>>> a8a89d303ffa5a927903a77492af920#commitcomment-19071806>,
>> >>>> > or mute the thread
>> >>>> > <https://github.com/notifications/unsubscribe-auth/ANiCOS9eO
>> >>>> _caF6oZivfhC4W6aceQXCnFks5qrYi_gaJpZM4J_dYG>
>> >>>>
>> >>>> > .
>> >>>> >
>> >>>>
>> >>>> —
>> >>>> You are receiving this because you authored the thread.
>> >>>> Reply to this email directly, view it on GitHub
>> >>>> <https://github.com/dssquared/Networks_Lab1/commit/7f5b3dc1b
>> a8a89d303ffa5a927903a77492af920#commitcomment-19071958>,
>> >>>> or mute the thread
>> >>>> <https://github.com/notifications/unsubscribe-auth/AE8DG5F6y
>> cythOV16iTCINZqZXSNnY3Fks5qrZAFgaJpZM4J_dYG>
>> >>>> .
>> >>>>
>> >>>
>> >>>
>> >>
>> >
>>
>> —
>> You are receiving this because you commented.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/dssquared/Networks_Lab1/commit/7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19072275>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/ANiCOcgGOv7D1uxZO5mlvcDpj0kmG9ODks5qragygaJpZM4J_dYG>
>> .
>>
>
>


What I feel is this exception is thrown if the place don't have photos, still they might have place id


hey @Martinusbe im trying to figure out this cam issue with n so im gonna build tesla to test but it doesnt even get 4 minutes in for me... you seen this before? http://hastebin.com/kifubupeso.pas


와~~~~~~~~


RE: 05a-python.md
cc: @lucdemortier @reshamametis @aramnath @gfsoileau @julialintern @galvin-mj

Hello @rshap91

Nice work on the Python problems! Here are some comments:
- Q2: There is no concept of order for Python sets. Checking membership in a set is much faster than in a list, because set elements are hashable. On the other hand a list is better if you have to step through each element of the list, one by one.
- Q6: for `front_back(a, b)`, don't forget `from math import ceil`.
- Q7, `front_x(words)`: You assume that all the strings in `words` only contain alphabetical characters, but this is not guaranteed. Thus, if I apply your function to the list `['xa','ax','-a']`, I obtain `['-a', 'xa', 'ax']`, which is incorrect.
- Q8: The aim here was to find the team with the smallest difference between goals for and against it. The answer is Aston_Villa, for which the difference is 1. You should have taken the absolute value of the difference :)

👍


<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="colorPrimary">#00BCD4</color>
    <color name="colorPrimaryDark">#0097A7</color>
    <color name="colorAccent">#795548</color>
</resources>


Hi Sir,

I am getting below error how could i resolve this.

FATAL EXCEPTION: main
                                                                                Process: farmers.collection.com.milkcollect, PID: 2884
                                                                                java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setLayerType(int, android.graphics.Paint)' on a null object reference
                                                                                at com.daprlabs.cardstack.SwipeDeck.addNextCard(SwipeDeck.java:215)
                                                                                at com.daprlabs.cardstack.SwipeDeck.onLayout(SwipeDeck.java:175)
                                                                                at android.view.View.layout(View.java:16630)
                                                                                at android.view.ViewGroup.layout(ViewGroup.java:5437)
                                                                                at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
                                                                                at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
                                                                                at android.view.View.layout(View.java:16630)
                                                                                at android.view.ViewGroup.layout(ViewGroup.java:5437)
                                                                                at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
                                                                                at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
                                                                                at android.view.View.layout(View.java:16630)
                                                                                at android.view.ViewGroup.layout(ViewGroup.java:5437)
                                                                                at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
                                                                                at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
                                                                                at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
                                                                                at android.view.View.layout(View.java:16630)
                                                                                at android.view.ViewGroup.layout(ViewGroup.java:5437)
                                                                                at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
                                                                                at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
                                                                                at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
                                                                                at android.view.View.layout(View.java:16630)
                                                                                at android.view.ViewGroup.layout(ViewGroup.java:5437)
                                                                                at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
                                                                                at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
                                                                                at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
                                                                                at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
                                                                                at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
                                                                                at android.view.Choreographer.doCallbacks(Choreographer.java:670)
                                                                                at android.view.Choreographer.doFrame(Choreographer.java:606)
                                                                                at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
                                                                                at android.os.Handler.handleCallback(Handler.java:739)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                at android.os.Looper.loop(Looper.java:148)
                                                                                at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                                                at java.lang.reflect.Method.invoke(Native Method)
                                                                                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)


No need for breaking line here.


more relevent information,please refer to http://halyph.com/blog/2015/04/06/java-full-stack-web-framework


Please point out the valid value as well. :)


also i havent tested but i was getting fcing on gallery this may fix it https://github.com/Hydra-OS/device_oneplus_oneplus3/commit/80e6708326139f41ea3d823bf7671b01ba4b39b5 the sdcardfs part.i  had it on my m rom when it was enabled


Hey Wendy,
Nice Work with the linear algebra exercises 👍. Pls review 2.4 & 3.1


As far as I can see, your code changes have nothing to do with to do notification.


这里提示一下~resize事件最好做下降频处理


Ok.


我现在不知道为什么都不行了。。。
在电脑上测试可以登录，一放到路由器上就不行
路由器上提示[challenge] timeout, retrying...
然后检查网线也是正常的，交换机上和路由器上的灯都是亮的
想问问到底什么情况会有[challenge] timeout, retrying...的提示
我只试出来网线断了有这个提示


creo que deberia haber agregado la carpeta include a los ignore... en fin. Tengo en error de memory access que seguramente se deba a que no inicialice bien el array doble :( tengo muchas dudas aun de como hacerlo bien..


Hey Anna,
I don't see any of your answers, only print statements. Could you correct and resubmit?

Thanks!


It could be nice to settle on some meta comment tag like `// TODO: Remove this and that from server` it will help us to search for those comments and things  to do in the future:)


Maybe this one will grow on me, but I think I prefer a squarer look. Maybe `border-radius: 3px` would be ok compromise?


``` SparkSaslClient saslClient =  aesEnable ? new SparkAesSaslClient(appId, secretKeyHolder, encrypt):saslClient = new SparkSaslClient(appId, secretKeyHolder, encrypt);``` or creating a new method to initialize ```saslClient```.


If you accept my previous suggestion, you can remove these lines.


RE: 05b-python_advanced.md
cc: @lucdemortier @reshamametis @aramnath @gfsoileau @julialintern @galvin-mj

Hello @rshap91

Nice work with advanced Python!

👍


Not needed breaking line.


Angry, naive!


Done sir


Hey David,
Excellent work, you crushed it 👍 Thanks for taking the time to do the bonus exercises.


可以


add change commit


aaaa


Add a new debug log here.


I filled the AWS keys and created the thing with devEUI and it says Error: Connection refused: Not authorized.
Could you please tell me why?
Thank you


Wrong place for this dependency.


Removing the library provided intrinsic functions cleared the way for more organization in `cpu.h`.


LOL


Resume


Use "Bugo" name, please :)


This was intended for restoring the configuration file in case of `./cryptest.sh compat` or `./cryptest.sh orig`, but it seemed like more hassles than it was worth. If changes are being tested, then we risk whacking the proposed changes.


House keeping.


RE: 06-linear_algebra.md
cc: @lucdemortier @reshamametis @aramnath @gfsoileau @julialintern @galvin-mj

Hello @rshap91

You don't show us the results of your matrix and vector calculations, but the Python code looks correct!


Fallout from the CVE.


Cool change brah!


The icons needed more space between so a ` ` was needed.


ok


alo


approved.


顶楼上


hi


Почему 100 ? У тебя есть точное значение. У тебя будет возвращать 100 комнат с null
null
null
null
null


@davidaurelio Not sure I understand. You mean `require('...')` is actually a thing?

I'm just curious why `require('..')` and `require('.')` are not supported.
Are we expected to use the parent dirname instead?

For example, to import `parent_dir/index.js` from `parent_dir/sibling.js`:
`require('../parent_dir')` instead of `require('.')`?


remember to `catch`. Also, does this make sense as a UI-Router `resolve`? If you prefer to fetch in the state, maybe add some kind of loading indication which is turned off once this promise settles?


VERY VERY PRETTY!!


Uh, what? Notepad?


Can this be moved to the beginning of the "_soundVersion <= SCI_VERSION_0_LATE" block ealier in the function?


тут можно аккуратнее. сильно аккуратнее, будем честны!


i would agree with edits of system/core.

hmmm...i am now building (50%) and i will check whats going on.also video recording needs some edits.i need log to work on it so that i build...


Why do you have a controller that is shared between all products and one product? It's almost never a good idea to reuse the same controller for two different views as you end up with weird if-else logic. However if the intent is to show show all products on a single product page this is maybe ok…


Also `catch`.


You'd call something like `CartFactory.addToCart`, which would handle the more complex logic coordinating `localStorage` and other implementation details.


Anyway, I'll change the tests to use ophidian::geometry::make, to make it clear that it works for different geometries.


might want to centralize logic with a `localStorage` factory.


:ship: :it:

Looks alright to me.


The commit on core repo is from AOSP, they merged it on N (it was there even in the first preview if i remember well)


EMS (brianlball) - x86_64-Linux-Ubuntu-14.04-clang-3.5: OK (2294 of 2474 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-warnings-yellow.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-92.72%25-yellow.svg)


Alert… :-P

Better ways of doing modals. ;-)


EV Range = Exposure Compensation × Step size
So -12 × 0.166667 you get - 2.0
So -6 = 1.0 ev
 0.166667 is the default Qualcomm step size for ev


This assumes there is a `Session.user`. Might want to have a more defensive implementation.


This factory mixes concerns; you have both products API logic and local cart logic.


first commit


It's probably not strictly necessary, but Java 1.7 was EOL a long time ago now so would recommend running with Java 1.8. Why do you want to run with Java 1.7?


You can use @boolean and drop the other metadata


Doesn't this look awfully familiar to an existing haskell function with the signature `(a -> Bool) -> [a] -> [a]`? ;)


@boolean


Igazad van, légyszíves, be tudnál küldeni egy PR-t a `static`-ok kitörlésére? :blush:


Might these `product`s work well as element directives?


@boolean ?


Why?
Since the headsUpChild is null on L anyway, we don't even pass the first if in addRemoteInput.


Might these `product`s work as an element directive?


@dollar2048, спасибо за ценную информацию! в следующий раз обязательно так попробуем :)


Thanks, I am to blame should try and pay closer attention next time.