Moncef Belyamani

Results 127 comments of Moncef Belyamani

FWIW, I just tried Ruby 1.9.3, 2.3.1, 2.3.3, and 2.4.0, and in all those versions, the argument version was faster than the block version.

I don't follow. ARRAY is not mutated. If you call `ARRAY.sort_by(&:length)`, and then call `ARRAY` again, you get the original ARRAY. You can verify this by adding `.freeze` to the...

The code example in this repo also does the same thing: it defines the array to be used in the samples as a constant: https://github.com/JuanitoFatas/fast-ruby/blob/master/code/enumerable/sort-vs-sort_by.rb

Example CSV files are available in the Ohana API repo here: https://github.com/codeforamerica/ohana-api/tree/master/data/sample-csv The Ohana API Wiki also has [instructions for creating the CSV files](https://github.com/codeforamerica/ohana-api/wiki/Populating-the-Postgres-database-from-the-Human-Services-Data-Specification-%28HSDS%29-compliant-CSV-files), including all the columns in each...

Note that the sole purpose of the datapackage.json is to provide documentation about the CSV files, but since the spec is already documented, I personally consider the datapackage.json to be...

@dblandin I'm running into the same issue. The last doc you pointed to doesn't mention parallelism. It would be great if you could add docs for parallelism and Circle CI...

Doing a quick search for alternatives in the GitHub Actions marketplace, I found [reviewdog](https://github.com/marketplace/actions/run-rubocop-with-reviewdog#rubocop_version), and they offer the following options for setting the rubocop version, which sound very reasonable: -...

Thanks @klyonrad. I didn't see that issue! Maybe the more people make noise, the more they'll listen?

I'm self-taught as well, and I don't use or think in those terms either. I follow patterns and best practices established by the community, such as those mentioned in this...